graphene-django/graphene_django
Kevin Lowe 0686ba0d6f Add ability to configure graphiql version.
Introduces 3 new settings that will be used when rendering the template:

GRAPHIQL_VERSION = Version number string
GRAPHIQL_VERSION_JS_SRI = String value of file hash for js file.
GRAPHIQL_VERSION_CSS_SRI = String value of file hash for css file.

Sets current default value of GraphIQL to 1.4.7

This is the minimum version that addresses and XSS vulnerability.

https://github.com/graphql/graphiql/blob/main/docs/security/2021-introspection-schema-xss.md
2022-11-14 11:18:12 -08:00
..
debug 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
filter 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
forms Fix broken UT due to pytest import error (#1368) 2022-11-14 13:56:18 +03:00
management 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
rest_framework Fix broken UT due to pytest import error (#1368) 2022-11-14 13:56:18 +03:00
static/graphene_django Add support to persist GraphQL headers in GraphiQL (#1209) 2022-09-24 17:41:14 +03:00
templates/graphene Add support to persist GraphQL headers in GraphiQL (#1209) 2022-09-24 17:41:14 +03:00
tests Fix broken UT due to pytest import error (#1368) 2022-11-14 13:56:18 +03:00
utils 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
__init__.py ☂️ v3.0.0 ☂️ (#1355) 2022-09-26 15:08:32 +03:00
compat.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
conftest.py Make tests order independent (#932) 2020-04-20 13:23:20 +01:00
constants.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
converter.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
fields.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
registry.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
settings.py Add ability to configure graphiql version. 2022-11-14 11:18:12 -08:00
types.py 👷 Add pre-commit (#1336) 2022-10-19 17:10:30 +03:00
views.py Add ability to configure graphiql version. 2022-11-14 11:18:12 -08:00