-
Notifications
You must be signed in to change notification settings - Fork 14
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
THR-6 H5P Editor authorization frontend changes #2775
Merged
marode-cap
merged 2 commits into
THR-18-dev-feature-h5p-editor
from
THR-6-h5p-editor-authorization
Aug 30, 2023
Merged
THR-6 H5P Editor authorization frontend changes #2775
marode-cap
merged 2 commits into
THR-18-dev-feature-h5p-editor
from
THR-6-h5p-editor-authorization
Aug 30, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Aug 29, 2023
marode-cap
added
waiting for review
Someone should review this ASAP
and removed
WIP
someone is working on that
labels
Aug 30, 2023
SevenWaysDP
reviewed
Aug 30, 2023
src/components/h5p/H5PEditor.vue
Outdated
@@ -31,14 +33,22 @@ export default defineComponent({ | |||
type: String, | |||
default: "new", | |||
}, | |||
parentType: { | |||
type: String, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
type: String, | |
type: Object as PropType<H5PContentParentType>, |
Can you try it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String as PropType<H5PContentParameterType>
works, so I've used that now
SevenWaysDP
approved these changes
Aug 30, 2023
casparneumann-cap
added a commit
that referenced
this pull request
Nov 16, 2023
* Thr 12 h5p editor player (#2540) * Create proxy for h5p editor in dev-environment * basic implementation h5p page * id variable and refactoring * added editor page * change and add routes * sonar issues fixed --------- Co-authored-by: Marvin Rode <marvin.rode@capgemini.com> * Thr 20 create UI elements (#2577) * Integrated H5P Webcomponents into Vue client * add script-src-elem to nginx config * add H5P_IMG_SRC_URLS to nginx config * THR-27: add language param to h5p endpoints (#2734) * add language param to h5p endpoints * generate client server * update h5p imports * THR-6 H5P Editor authorization frontend changes (#2775) * Generate API and include parent information * Vue prop types * add location h5p to csp rules * copy second index.html for h5p location ins csp rules * Update Dockerfile * Update nginx.conf.template * h5p editor: resolve overseen merge conflict termsofuse * delete deprecated code from nuxt removal * h5p editor: csp: remove unsafe inline * fix prettier problem * fix duplicate imports * csp error isolation: set default-src * * csp error isolation: revert and add unsafe-inline for script-src * csp error isolation: set script-src * * csp error isolation: no whitelist used * csp error isolation: set again default-src * * csp error isolation: set script-src * + unsafe inline & eval * csp error isolation: set back to original * csp error isolation: use hash for multiple choice * generate API * csp error isolation: exclude nonce & use unsafe-inline * disable eslint * Update API * resolve review comments * add es / uk languages * try nginx.template h5p fix * revert nginx.conf h5p change * Comment Out H5P CSP * Revert "Comment Out H5P CSP" This reverts commit 1008e2c. * H5pEditor Tests -> Setup Wrapper * initial test for verifying component setup * add test H5pPlayer * restructure H5pEditor Test * Create H5PEditor.page Test * fix routes * Create Test H5pPlayerPage * fix tests h5pPlayerPage --------- Co-authored-by: Majed Mak <132336669+MajedAlaitwniCap@users.noreply.github.com> Co-authored-by: Marvin Rode <marvin.rode@capgemini.com> Co-authored-by: Marvin Rode (Cap) <127723478+marode-cap@users.noreply.github.com> Co-authored-by: Andre Blome <andre-david.blome@capgemini.com> Co-authored-by: Caspar Neumann <caspar.neumann@capgemini.com> Co-authored-by: MajedAlaitwniCap <majed.alaitwni@capgemini.com> Co-authored-by: Cedric Evers <12080057+CeEv@users.noreply.github.com> Co-authored-by: Caspar Neumann <146704428+casparneumann-cap@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Short Description
Changes to H5P Editor components to facilitate authentication
Links to Ticket and related Pull-Requests
Changes
Data-security
Deployment
New Repos, NPM packages or vendor scripts
Screenshots of UI changes
Checklist before merging