Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDFBRA-76 - Opsætning af next.js og graphQl modules i dpl-cms #1631

Merged
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
aef2582
Added the modules:
Dresse Oct 4, 2024
f2f0960
Added initial configuration for the new modules such as setting up
Dresse Oct 4, 2024
eaa2842
Added the creating of a new user with the role "graphql_consumer"
Dresse Oct 4, 2024
21decae
Make it possible for anonymous users to call the graphql endpoint.
Dresse Oct 4, 2024
553cd49
Added the generated graphql schema in .json and .sdl format.
Dresse Oct 4, 2024
a5cbd3f
Merge branch 'develop' into DDFBRA-76-opsaetning-af-next-js-og-graph-…
Dresse Oct 5, 2024
0675389
Added missing configuration updates after merging with develop branch
Dresse Oct 6, 2024
b792b57
Added initial oauth2 configuration.
Dresse Oct 7, 2024
1ae5275
Merge branch 'develop' into DDFBRA-76-opsaetning-af-next-js-og-graph-…
Dresse Oct 7, 2024
d2f701d
Added updated openapi.json specification.
Dresse Oct 7, 2024
a5a74de
Added new patch for openapi module. The patch fixes an issue where the
Dresse Oct 11, 2024
b8769b1
Added the updated openapi.json file as well as the updated API SDK fi…
Dresse Oct 11, 2024
659e48d
Merge branch 'develop' into DDFBRA-76-opsaetning-af-next-js-og-graph-…
Dresse Oct 11, 2024
9016caf
Removed next, next_graphql and simple_oauth modules as they were
Dresse Oct 14, 2024
e8d9acd
Updated the openapi.json and generated an updated cms-api package.
Dresse Oct 14, 2024
4dc2df1
Removed unneeded openapi patch and also removed the generated dpl-go …
Dresse Oct 15, 2024
715253d
Removed anonymous graphql permissions.
Dresse Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ tasks:
- task dev:cli -- drush user:create patron --password="test"
- task dev:cli -- drush user:role:add 'patron' patron

- task dev:cli -- drush user:create graphql_consumer --password="test"
- task dev:cli -- drush user:role:add 'graphql_consumer' graphql_consumer
Comment on lines +227 to +228
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only happens locally, right? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes :)


dev:import-profile-translations:
desc: Import our custom profile translations. This is done automatically on deploy.
cmds:
Expand Down
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@
"composer/installers": "1.12.0",
"cweagans/composer-patches": "1.7.3",
"danskernesdigitalebibliotek/cms-api": "*",
"danskernesdigitalebibliotek/dpl-design-system": "2024.41.0",
"danskernesdigitalebibliotek/dpl-react": "2024.41.0",
"danskernesdigitalebibliotek/dpl-design-system": "^2024.41",
"danskernesdigitalebibliotek/dpl-react": "^2024.41",
"danskernesdigitalebibliotek/fbs-client": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"deoliveiralucas/array-keys-case-transform": "^1.1",
Expand Down Expand Up @@ -128,6 +128,8 @@
"drupal/gin": "^3.0@RC",
"drupal/gin_login": "^2.1",
"drupal/gin_toolbar": "^1.0@RC",
"drupal/graphql": "^4.9",
"drupal/graphql_compose": "^2.2",
"drupal/handy_cache_tags": "^1.4",
"drupal/health_check": "^3.1",
"drupal/honeypot": "^2.1",
Expand All @@ -141,6 +143,7 @@
"drupal/metatag": "^2.0",
"drupal/multiple_fields_remove_button": "^2.2",
"drupal/multivalue_form_element": "^1.0@beta",
"drupal/next": "^1.6",
"drupal/openapi": "^2.1",
"drupal/openapi_rest": "^2.0@RC",
"drupal/openapi_ui_swagger": "^1.0",
Expand Down Expand Up @@ -336,7 +339,8 @@
"3251587: Change logging from stdout to stderr": "https://www.drupal.org/files/issues/2021-11-29/jsonlog-change-stdout-to-stderr-3251587-3.patch"
},
"drupal/openapi": {
"3313521: OpenAPI security field does not validate": "https://git.drupalcode.org/project/openapi/-/commit/4964cf725242040ddfb0c591b6044ee1fa5912ef.patch"
"3313521: OpenAPI security field does not validate": "https://git.drupalcode.org/project/openapi/-/commit/4964cf725242040ddfb0c591b6044ee1fa5912ef.patch",
"3480050: Update oauth2 security definitions to match openapi v2 specification": "https://www.drupal.org/files/issues/2024-10-11/openapi-add-oauth2-accesscode-flow-3480050-3.patch"
},
"drupal/openapi_rest": {
"3171530 + 3116760: Add support for parameter and response descriptions": "patches/openapi-parameter-response-descriptions-14-3.patch",
Expand Down
Loading
Loading