Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Machina Callida
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
callidus
Machina Callida
Commits
aa35072d
Commit
aa35072d
authored
Jun 19, 2020
by
Konstantin Schulz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated H5P standalone to the latest version (2.1.3)
parent
64467d43
Pipeline
#12042
passed with stages
in 3 minutes and 39 seconds
Changes
349
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
349 changed files
with
49156 additions
and
26767 deletions
+49156
-26767
mc_backend/mcserver/app/services/textService.py
mc_backend/mcserver/app/services/textService.py
+2
-2
mc_backend/tests.py
mc_backend/tests.py
+1
-1
mc_frontend/README.md
mc_frontend/README.md
+1
-1
mc_frontend/package-lock.json
mc_frontend/package-lock.json
+87
-0
mc_frontend/package.json
mc_frontend/package.json
+2
-0
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
+16
-11
mc_frontend/src/app/exercise-list/exercise-list.page.ts
mc_frontend/src/app/exercise-list/exercise-list.page.ts
+9
-3
mc_frontend/src/app/exercise.service.spec.ts
mc_frontend/src/app/exercise.service.spec.ts
+4
-15
mc_frontend/src/app/exercise.service.ts
mc_frontend/src/app/exercise.service.ts
+28
-15
mc_frontend/src/app/exercise/exercise.page.html
mc_frontend/src/app/exercise/exercise.page.html
+14
-9
mc_frontend/src/app/helper.service.ts
mc_frontend/src/app/helper.service.ts
+2
-0
mc_frontend/src/app/models/enum.ts
mc_frontend/src/app/models/enum.ts
+5
-0
mc_frontend/src/app/models/eventRegistry.ts
mc_frontend/src/app/models/eventRegistry.ts
+22
-0
mc_frontend/src/app/models/h5p-standalone.class.ts
mc_frontend/src/app/models/h5p-standalone.class.ts
+264
-0
mc_frontend/src/app/models/h5pEventDispatcherMock.ts
mc_frontend/src/app/models/h5pEventDispatcherMock.ts
+0
-30
mc_frontend/src/app/models/mockMC.ts
mc_frontend/src/app/models/mockMC.ts
+1
-1
mc_frontend/src/app/preview/preview.page.spec.ts
mc_frontend/src/app/preview/preview.page.spec.ts
+15
-5
mc_frontend/src/app/preview/preview.page.ts
mc_frontend/src/app/preview/preview.page.ts
+3
-3
mc_frontend/src/app/test/test.page.spec.ts
mc_frontend/src/app/test/test.page.spec.ts
+21
-17
mc_frontend/src/app/test/test.page.ts
mc_frontend/src/app/test/test.page.ts
+8
-7
mc_frontend/src/assets/dist/fonts/h5p-core-18.eot
mc_frontend/src/assets/dist/fonts/h5p-core-18.eot
+0
-0
mc_frontend/src/assets/dist/fonts/h5p-core-18.svg
mc_frontend/src/assets/dist/fonts/h5p-core-18.svg
+0
-52
mc_frontend/src/assets/dist/fonts/h5p-core-18.ttf
mc_frontend/src/assets/dist/fonts/h5p-core-18.ttf
+0
-0
mc_frontend/src/assets/dist/fonts/h5p-core-18.woff
mc_frontend/src/assets/dist/fonts/h5p-core-18.woff
+0
-0
mc_frontend/src/assets/dist/js/h5p-standalone-frame.js
mc_frontend/src/assets/dist/js/h5p-standalone-frame.js
+0
-12647
mc_frontend/src/assets/dist/js/h5p-standalone-frame.min.js
mc_frontend/src/assets/dist/js/h5p-standalone-frame.min.js
+0
-1
mc_frontend/src/assets/dist/js/h5p-standalone-main.js
mc_frontend/src/assets/dist/js/h5p-standalone-main.js
+0
-13914
mc_frontend/src/assets/dist/js/h5p-standalone-main.min.js
mc_frontend/src/assets/dist/js/h5p-standalone-main.min.js
+0
-1
mc_frontend/src/assets/h5p-standalone-master/.circleci/config.yml
...end/src/assets/h5p-standalone-master/.circleci/config.yml
+12
-0
mc_frontend/src/assets/h5p-standalone-master/.eslintrc.json
mc_frontend/src/assets/h5p-standalone-master/.eslintrc.json
+24
-0
mc_frontend/src/assets/h5p-standalone-master/.github/workflows/cypress.yml
...ssets/h5p-standalone-master/.github/workflows/cypress.yml
+16
-0
mc_frontend/src/assets/h5p-standalone-master/.gitignore
mc_frontend/src/assets/h5p-standalone-master/.gitignore
+3
-0
mc_frontend/src/assets/h5p-standalone-master/CHANGELOG.md
mc_frontend/src/assets/h5p-standalone-master/CHANGELOG.md
+27
-0
mc_frontend/src/assets/h5p-standalone-master/LICENSE
mc_frontend/src/assets/h5p-standalone-master/LICENSE
+22
-0
mc_frontend/src/assets/h5p-standalone-master/README.md
mc_frontend/src/assets/h5p-standalone-master/README.md
+85
-0
mc_frontend/src/assets/h5p-standalone-master/cypress.json
mc_frontend/src/assets/h5p-standalone-master/cypress.json
+1
-0
mc_frontend/src/assets/h5p-standalone-master/cypress/integration/external_libraries.spec.js
...one-master/cypress/integration/external_libraries.spec.js
+16
-0
mc_frontend/src/assets/h5p-standalone-master/cypress/integration/multiple.spec.js
...5p-standalone-master/cypress/integration/multiple.spec.js
+14
-0
mc_frontend/src/assets/h5p-standalone-master/cypress/integration/single.spec.js
.../h5p-standalone-master/cypress/integration/single.spec.js
+16
-0
mc_frontend/src/assets/h5p-standalone-master/cypress/support/commands.js
.../assets/h5p-standalone-master/cypress/support/commands.js
+25
-0
mc_frontend/src/assets/h5p-standalone-master/cypress/support/index.js
...src/assets/h5p-standalone-master/cypress/support/index.js
+20
-0
mc_frontend/src/assets/h5p-standalone-master/dist/fonts/h5p-core-23.eot
...c/assets/h5p-standalone-master/dist/fonts/h5p-core-23.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/dist/fonts/h5p-core-23.svg
...c/assets/h5p-standalone-master/dist/fonts/h5p-core-23.svg
+62
-0
mc_frontend/src/assets/h5p-standalone-master/dist/fonts/h5p-core-23.ttf
...c/assets/h5p-standalone-master/dist/fonts/h5p-core-23.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/dist/fonts/h5p-core-23.woff
.../assets/h5p-standalone-master/dist/fonts/h5p-core-23.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/dist/frame.bundle.js
...end/src/assets/h5p-standalone-master/dist/frame.bundle.js
+3
-0
mc_frontend/src/assets/h5p-standalone-master/dist/frame.js.map
...ontend/src/assets/h5p-standalone-master/dist/frame.js.map
+1
-0
mc_frontend/src/assets/h5p-standalone-master/dist/main.bundle.js
...tend/src/assets/h5p-standalone-master/dist/main.bundle.js
+3
-0
mc_frontend/src/assets/h5p-standalone-master/dist/main.js.map
...rontend/src/assets/h5p-standalone-master/dist/main.js.map
+1
-0
mc_frontend/src/assets/h5p-standalone-master/dist/styles/h5p-admin.css
...rc/assets/h5p-standalone-master/dist/styles/h5p-admin.css
+17
-0
mc_frontend/src/assets/h5p-standalone-master/dist/styles/h5p-confirmation-dialog.css
...standalone-master/dist/styles/h5p-confirmation-dialog.css
+66
-1
mc_frontend/src/assets/h5p-standalone-master/dist/styles/h5p-core-button.css
...ets/h5p-standalone-master/dist/styles/h5p-core-button.css
+0
-0
mc_frontend/src/assets/h5p-standalone-master/dist/styles/h5p.css
...tend/src/assets/h5p-standalone-master/dist/styles/h5p.css
+151
-25
mc_frontend/src/assets/h5p-standalone-master/package.json
mc_frontend/src/assets/h5p-standalone-master/package.json
+48
-0
mc_frontend/src/assets/h5p-standalone-master/src/js/frame.js
mc_frontend/src/assets/h5p-standalone-master/src/js/frame.js
+10
-0
mc_frontend/src/assets/h5p-standalone-master/src/js/h5p-integration.js
...rc/assets/h5p-standalone-master/src/js/h5p-integration.js
+76
-0
mc_frontend/src/assets/h5p-standalone-master/src/js/h5p-standalone.class.js
...sets/h5p-standalone-master/src/js/h5p-standalone.class.js
+221
-0
mc_frontend/src/assets/h5p-standalone-master/src/js/h5p-standalone.class.ts
...sets/h5p-standalone-master/src/js/h5p-standalone.class.ts
+266
-0
mc_frontend/src/assets/h5p-standalone-master/src/js/index.js
mc_frontend/src/assets/h5p-standalone-master/src/js/index.js
+10
-0
mc_frontend/src/assets/h5p-standalone-master/test/external_libraries.html
...assets/h5p-standalone-master/test/external_libraries.html
+23
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/Drop-1.0/css/drop-theme-arrows-bounce.min.css
...l_workspace/Drop-1.0/css/drop-theme-arrows-bounce.min.css
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/Drop-1.0/js/drop.min.js
...dalone-master/test/full_workspace/Drop-1.0/js/drop.min.js
+7
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/Drop-1.0/library.json
...andalone-master/test/full_workspace/Drop-1.0/library.json
+28
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/FontAwesome.otf
...aster/test/full_workspace/FontAwesome-4.5/FontAwesome.otf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/fontawesome-webfont.eot
...st/full_workspace/FontAwesome-4.5/fontawesome-webfont.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/fontawesome-webfont.svg
...st/full_workspace/FontAwesome-4.5/fontawesome-webfont.svg
+655
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/fontawesome-webfont.ttf
...st/full_workspace/FontAwesome-4.5/fontawesome-webfont.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/fontawesome-webfont.woff
...t/full_workspace/FontAwesome-4.5/fontawesome-webfont.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/fontawesome-webfont.woff2
.../full_workspace/FontAwesome-4.5/fontawesome-webfont.woff2
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/h5p-font-awesome.min.css
...t/full_workspace/FontAwesome-4.5/h5p-font-awesome.min.css
+4
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/FontAwesome-4.5/library.json
...e-master/test/full_workspace/FontAwesome-4.5/library.json
+16
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.eot
...aster/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.svg
...aster/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.svg
+93
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.ttf
...aster/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.woff
...ster/test/full_workspace/H5P.FontIcons-1.0/fonts/h5p.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.FontIcons-1.0/library.json
...master/test/full_workspace/H5P.FontIcons-1.0/library.json
+14
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.FontIcons-1.0/styles/h5p-font-icons.css
...ull_workspace/H5P.FontIcons-1.0/styles/h5p-font-icons.css
+10
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-help-dialog.css
...ull_workspace/H5P.JoubelUI-1.3/css/joubel-help-dialog.css
+67
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-icon.css
.../test/full_workspace/H5P.JoubelUI-1.3/css/joubel-icon.css
+152
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-message-dialog.css
..._workspace/H5P.JoubelUI-1.3/css/joubel-message-dialog.css
+25
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-progress-circle.css
...workspace/H5P.JoubelUI-1.3/css/joubel-progress-circle.css
+56
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-progressbar.css
...ull_workspace/H5P.JoubelUI-1.3/css/joubel-progressbar.css
+38
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-score-bar.css
.../full_workspace/H5P.JoubelUI-1.3/css/joubel-score-bar.css
+159
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-simple-rounded-button.css
...ace/H5P.JoubelUI-1.3/css/joubel-simple-rounded-button.css
+28
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-slider.css
...est/full_workspace/H5P.JoubelUI-1.3/css/joubel-slider.css
+29
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-speech-bubble.css
...l_workspace/H5P.JoubelUI-1.3/css/joubel-speech-bubble.css
+50
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-tip.css
...r/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-tip.css
+56
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-ui.css
...er/test/full_workspace/H5P.JoubelUI-1.3/css/joubel-ui.css
+96
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.eot
...ter/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.svg
...ter/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.svg
+30
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.ttf
...ter/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.woff
...er/test/full_workspace/H5P.JoubelUI-1.3/fonts/joubel.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-help-dialog.js
.../full_workspace/H5P.JoubelUI-1.3/js/joubel-help-dialog.js
+93
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-message-dialog.js
...ll_workspace/H5P.JoubelUI-1.3/js/joubel-message-dialog.js
+38
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-progress-circle.js
...l_workspace/H5P.JoubelUI-1.3/js/joubel-progress-circle.js
+159
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-progressbar.js
.../full_workspace/H5P.JoubelUI-1.3/js/joubel-progressbar.js
+190
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-score-bar.js
...st/full_workspace/H5P.JoubelUI-1.3/js/joubel-score-bar.js
+225
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-simple-rounded-button.js
...space/H5P.JoubelUI-1.3/js/joubel-simple-rounded-button.js
+32
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-slider.js
.../test/full_workspace/H5P.JoubelUI-1.3/js/joubel-slider.js
+96
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-speech-bubble.js
...ull_workspace/H5P.JoubelUI-1.3/js/joubel-speech-bubble.js
+356
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-throbber.js
...est/full_workspace/H5P.JoubelUI-1.3/js/joubel-throbber.js
+19
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-tip.js
...ter/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-tip.js
+106
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-ui.js
...ster/test/full_workspace/H5P.JoubelUI-1.3/js/joubel-ui.js
+183
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.JoubelUI-1.3/library.json
...-master/test/full_workspace/H5P.JoubelUI-1.3/library.json
+107
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/images/minus-one.svg
...test/full_workspace/H5P.Question-1.4/images/minus-one.svg
+20
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/images/plus-one.svg
.../test/full_workspace/H5P.Question-1.4/images/plus-one.svg
+21
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/library.json
...-master/test/full_workspace/H5P.Question-1.4/library.json
+45
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/scripts/explainer.js
...test/full_workspace/H5P.Question-1.4/scripts/explainer.js
+84
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/scripts/question.js
.../test/full_workspace/H5P.Question-1.4/scripts/question.js
+1700
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/scripts/score-points.js
...t/full_workspace/H5P.Question-1.4/scripts/score-points.js
+72
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/styles/explainer.css
...test/full_workspace/H5P.Question-1.4/styles/explainer.css
+80
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Question-1.4/styles/question.css
.../test/full_workspace/H5P.Question-1.4/styles/question.css
+342
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Transition-1.0/library.json
...aster/test/full_workspace/H5P.Transition-1.0/library.json
+16
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.Transition-1.0/transition.js
...ster/test/full_workspace/H5P.Transition-1.0/transition.js
+158
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/icon.svg
...one-master/test/full_workspace/H5P.TrueFalse-1.6/icon.svg
+47
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/af.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/af.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/ar.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/ar.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/bs.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/bs.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/ca.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/ca.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/cs.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/cs.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/da.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/da.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/de.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/de.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/el.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/el.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/es.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/es.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/et.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/et.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/eu.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/eu.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/fi.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/fi.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/fr.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/fr.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/he.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/he.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/hu.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/hu.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/it.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/it.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/ja.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/ja.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/ko.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/ko.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/nb.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/nb.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/nl.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/nl.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/nn.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/nn.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/pl.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/pl.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/pt.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/pt.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/ro.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/ro.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/ru.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/ru.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/sr.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/sr.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/sv.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/sv.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/tr.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/tr.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/uk.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/uk.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/vi.json
...er/test/full_workspace/H5P.TrueFalse-1.6/language/vi.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/zh-hans.json
...st/full_workspace/H5P.TrueFalse-1.6/language/zh-hans.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/language/zh-hant.json
...st/full_workspace/H5P.TrueFalse-1.6/language/zh-hant.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/library.json
...master/test/full_workspace/H5P.TrueFalse-1.6/library.json
+68
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/presave.js
...e-master/test/full_workspace/H5P.TrueFalse-1.6/presave.js
+26
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/scripts/h5p-true-false-answer-group.js
.../H5P.TrueFalse-1.6/scripts/h5p-true-false-answer-group.js
+186
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/scripts/h5p-true-false-answer.js
...kspace/H5P.TrueFalse-1.6/scripts/h5p-true-false-answer.js
+233
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/scripts/h5p-true-false.js
...ull_workspace/H5P.TrueFalse-1.6/scripts/h5p-true-false.js
+483
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/semantics.json
...ster/test/full_workspace/H5P.TrueFalse-1.6/semantics.json
+309
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/styles/h5p-true-false.css
...ull_workspace/H5P.TrueFalse-1.6/styles/h5p-true-false.css
+87
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P.TrueFalse-1.6/upgrades.js
...-master/test/full_workspace/H5P.TrueFalse-1.6/upgrades.js
+42
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5PEditor.RadioGroup-1.1/library.json
...test/full_workspace/H5PEditor.RadioGroup-1.1/library.json
+23
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5PEditor.RadioGroup-1.1/radio-group.css
...t/full_workspace/H5PEditor.RadioGroup-1.1/radio-group.css
+10
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5PEditor.RadioGroup-1.1/radio-group.js
...st/full_workspace/H5PEditor.RadioGroup-1.1/radio-group.js
+117
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5PEditor.ShowWhen-1.0/h5p-show-when.css
...t/full_workspace/H5PEditor.ShowWhen-1.0/h5p-show-when.css
+3
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5PEditor.ShowWhen-1.0/h5p-show-when.js
...st/full_workspace/H5PEditor.ShowWhen-1.0/h5p-show-when.js
+153
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5PEditor.ShowWhen-1.0/library.json
...r/test/full_workspace/H5PEditor.ShowWhen-1.0/library.json
+20
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/H5P_CONTENT_HERE.txt
...tandalone-master/test/full_workspace/H5P_CONTENT_HERE.txt
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/Tether-1.0/library.json
...dalone-master/test/full_workspace/Tether-1.0/library.json
+21
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/Tether-1.0/scripts/tether.min.js
...ster/test/full_workspace/Tether-1.0/scripts/tether.min.js
+4
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/Tether-1.0/styles/tether.min.css
...ster/test/full_workspace/Tether-1.0/styles/tether.min.css
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/content/content.json
...tandalone-master/test/full_workspace/content/content.json
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/full_workspace/h5p.json
...assets/h5p-standalone-master/test/full_workspace/h5p.json
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/h5p/content/content.json
...ssets/h5p-standalone-master/test/h5p/content/content.json
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/h5p/h5p.json
...ontend/src/assets/h5p-standalone-master/test/h5p/h5p.json
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/Drop-1.0/css/drop-theme-arrows-bounce.min.css
...t/libraries/Drop-1.0/css/drop-theme-arrows-bounce.min.css
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/Drop-1.0/js/drop.min.js
...-standalone-master/test/libraries/Drop-1.0/js/drop.min.js
+7
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/Drop-1.0/library.json
...5p-standalone-master/test/libraries/Drop-1.0/library.json
+28
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/FontAwesome.otf
...one-master/test/libraries/FontAwesome-4.5/FontAwesome.otf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/fontawesome-webfont.eot
...er/test/libraries/FontAwesome-4.5/fontawesome-webfont.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/fontawesome-webfont.svg
...er/test/libraries/FontAwesome-4.5/fontawesome-webfont.svg
+655
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/fontawesome-webfont.ttf
...er/test/libraries/FontAwesome-4.5/fontawesome-webfont.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/fontawesome-webfont.woff
...r/test/libraries/FontAwesome-4.5/fontawesome-webfont.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/fontawesome-webfont.woff2
.../test/libraries/FontAwesome-4.5/fontawesome-webfont.woff2
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/h5p-font-awesome.min.css
...r/test/libraries/FontAwesome-4.5/h5p-font-awesome.min.css
+4
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/FontAwesome-4.5/library.json
...dalone-master/test/libraries/FontAwesome-4.5/library.json
+16
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.eot
...one-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.svg
...one-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.svg
+93
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.ttf
...one-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.woff
...ne-master/test/libraries/H5P.FontIcons-1.0/fonts/h5p.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.FontIcons-1.0/library.json
...lone-master/test/libraries/H5P.FontIcons-1.0/library.json
+14
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.FontIcons-1.0/styles/h5p-font-icons.css
...est/libraries/H5P.FontIcons-1.0/styles/h5p-font-icons.css
+10
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-help-dialog.css
...est/libraries/H5P.JoubelUI-1.3/css/joubel-help-dialog.css
+67
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-icon.css
...aster/test/libraries/H5P.JoubelUI-1.3/css/joubel-icon.css
+152
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-message-dialog.css
.../libraries/H5P.JoubelUI-1.3/css/joubel-message-dialog.css
+25
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-progress-circle.css
...libraries/H5P.JoubelUI-1.3/css/joubel-progress-circle.css
+56
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-progressbar.css
...est/libraries/H5P.JoubelUI-1.3/css/joubel-progressbar.css
+38
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-score-bar.css
.../test/libraries/H5P.JoubelUI-1.3/css/joubel-score-bar.css
+159
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-simple-rounded-button.css
...ies/H5P.JoubelUI-1.3/css/joubel-simple-rounded-button.css
+28
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-slider.css
...ter/test/libraries/H5P.JoubelUI-1.3/css/joubel-slider.css
+29
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-speech-bubble.css
...t/libraries/H5P.JoubelUI-1.3/css/joubel-speech-bubble.css
+50
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-tip.css
...master/test/libraries/H5P.JoubelUI-1.3/css/joubel-tip.css
+56
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-ui.css
...-master/test/libraries/H5P.JoubelUI-1.3/css/joubel-ui.css
+96
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.eot
...e-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.svg
...e-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.svg
+30
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.ttf
...e-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.woff
...-master/test/libraries/H5P.JoubelUI-1.3/fonts/joubel.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-help-dialog.js
.../test/libraries/H5P.JoubelUI-1.3/js/joubel-help-dialog.js
+93
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-message-dialog.js
...st/libraries/H5P.JoubelUI-1.3/js/joubel-message-dialog.js
+38
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-progress-circle.js
...t/libraries/H5P.JoubelUI-1.3/js/joubel-progress-circle.js
+159
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-progressbar.js
.../test/libraries/H5P.JoubelUI-1.3/js/joubel-progressbar.js
+190
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-score-bar.js
...er/test/libraries/H5P.JoubelUI-1.3/js/joubel-score-bar.js
+225
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-simple-rounded-button.js
...aries/H5P.JoubelUI-1.3/js/joubel-simple-rounded-button.js
+32
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-slider.js
...aster/test/libraries/H5P.JoubelUI-1.3/js/joubel-slider.js
+96
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-speech-bubble.js
...est/libraries/H5P.JoubelUI-1.3/js/joubel-speech-bubble.js
+356
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-throbber.js
...ter/test/libraries/H5P.JoubelUI-1.3/js/joubel-throbber.js
+19
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-tip.js
...e-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-tip.js
+106
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-ui.js
...ne-master/test/libraries/H5P.JoubelUI-1.3/js/joubel-ui.js
+183
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.JoubelUI-1.3/library.json
...alone-master/test/libraries/H5P.JoubelUI-1.3/library.json
+107
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/images/minus-one.svg
...ster/test/libraries/H5P.Question-1.4/images/minus-one.svg
+20
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/images/plus-one.svg
...aster/test/libraries/H5P.Question-1.4/images/plus-one.svg
+21
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/library.json
...alone-master/test/libraries/H5P.Question-1.4/library.json
+45
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/scripts/explainer.js
...ster/test/libraries/H5P.Question-1.4/scripts/explainer.js
+84
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/scripts/question.js
...aster/test/libraries/H5P.Question-1.4/scripts/question.js
+1700
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/scripts/score-points.js
...r/test/libraries/H5P.Question-1.4/scripts/score-points.js
+72
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/styles/explainer.css
...ster/test/libraries/H5P.Question-1.4/styles/explainer.css
+80
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Question-1.4/styles/question.css
...aster/test/libraries/H5P.Question-1.4/styles/question.css
+342
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Transition-1.0/library.json
...one-master/test/libraries/H5P.Transition-1.0/library.json
+16
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.Transition-1.0/transition.js
...ne-master/test/libraries/H5P.Transition-1.0/transition.js
+158
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/icon.svg
...andalone-master/test/libraries/H5P.TrueFalse-1.6/icon.svg
+47
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/af.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/af.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/ar.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/ar.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/bs.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/bs.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/ca.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/ca.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/cs.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/cs.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/da.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/da.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/de.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/de.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/el.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/el.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/es.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/es.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/et.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/et.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/eu.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/eu.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/fi.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/fi.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/fr.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/fr.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/he.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/he.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/hu.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/hu.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/it.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/it.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/ja.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/ja.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/ko.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/ko.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/nb.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/nb.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/nl.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/nl.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/nn.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/nn.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/pl.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/pl.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/pt.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/pt.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/ro.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/ro.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/ru.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/ru.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/sr.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/sr.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/sv.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/sv.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/tr.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/tr.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/uk.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/uk.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/vi.json
...-master/test/libraries/H5P.TrueFalse-1.6/language/vi.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/zh-hans.json
...er/test/libraries/H5P.TrueFalse-1.6/language/zh-hans.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/language/zh-hant.json
...er/test/libraries/H5P.TrueFalse-1.6/language/zh-hant.json
+147
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/library.json
...lone-master/test/libraries/H5P.TrueFalse-1.6/library.json
+68
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/presave.js
...dalone-master/test/libraries/H5P.TrueFalse-1.6/presave.js
+26
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/scripts/h5p-true-false-answer-group.js
.../H5P.TrueFalse-1.6/scripts/h5p-true-false-answer-group.js
+186
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/scripts/h5p-true-false-answer.js
...raries/H5P.TrueFalse-1.6/scripts/h5p-true-false-answer.js
+233
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/scripts/h5p-true-false.js
...est/libraries/H5P.TrueFalse-1.6/scripts/h5p-true-false.js
+483
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/semantics.json
...ne-master/test/libraries/H5P.TrueFalse-1.6/semantics.json
+309
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/styles/h5p-true-false.css
...est/libraries/H5P.TrueFalse-1.6/styles/h5p-true-false.css
+87
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P.TrueFalse-1.6/upgrades.js
...alone-master/test/libraries/H5P.TrueFalse-1.6/upgrades.js
+42
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5PEditor.RadioGroup-1.1/library.json
...ster/test/libraries/H5PEditor.RadioGroup-1.1/library.json
+23
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5PEditor.RadioGroup-1.1/radio-group.css
...r/test/libraries/H5PEditor.RadioGroup-1.1/radio-group.css
+10
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5PEditor.RadioGroup-1.1/radio-group.js
...er/test/libraries/H5PEditor.RadioGroup-1.1/radio-group.js
+117
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5PEditor.ShowWhen-1.0/h5p-show-when.css
...r/test/libraries/H5PEditor.ShowWhen-1.0/h5p-show-when.css
+3
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5PEditor.ShowWhen-1.0/h5p-show-when.js
...er/test/libraries/H5PEditor.ShowWhen-1.0/h5p-show-when.js
+153
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5PEditor.ShowWhen-1.0/library.json
...master/test/libraries/H5PEditor.ShowWhen-1.0/library.json
+20
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/H5P_CONTENT_HERE.txt
...h5p-standalone-master/test/libraries/H5P_CONTENT_HERE.txt
+0
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/Tether-1.0/library.json
...-standalone-master/test/libraries/Tether-1.0/library.json
+21
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/Tether-1.0/scripts/tether.min.js
...ne-master/test/libraries/Tether-1.0/scripts/tether.min.js
+4
-0
mc_frontend/src/assets/h5p-standalone-master/test/libraries/Tether-1.0/styles/tether.min.css
...ne-master/test/libraries/Tether-1.0/styles/tether.min.css
+1
-0
mc_frontend/src/assets/h5p-standalone-master/test/multiple.html
...ntend/src/assets/h5p-standalone-master/test/multiple.html
+34
-0
mc_frontend/src/assets/h5p-standalone-master/test/single.html
...rontend/src/assets/h5p-standalone-master/test/single.html
+23
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.eot
...ts/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.eot
+0
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.svg
...ts/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.svg
+62
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.ttf
...ts/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.ttf
+0
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.woff
...s/h5p-standalone-master/vendor/h5p/fonts/h5p-core-23.woff
+0
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/images/h5p.svg
...rc/assets/h5p-standalone-master/vendor/h5p/images/h5p.svg
+16
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/images/throbber.gif
...sets/h5p-standalone-master/vendor/h5p/images/throbber.gif
+0
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-action-bar.js
...ets/h5p-standalone-master/vendor/h5p/js/h5p-action-bar.js
+100
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-confirmation-dialog.js
...tandalone-master/vendor/h5p/js/h5p-confirmation-dialog.js
+410
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-content-type.js
...s/h5p-standalone-master/vendor/h5p/js/h5p-content-type.js
+41
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-content-upgrade-process.js
...alone-master/vendor/h5p/js/h5p-content-upgrade-process.js
+313
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-content-upgrade-worker.js
...dalone-master/vendor/h5p/js/h5p-content-upgrade-worker.js
+63
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-content-upgrade.js
...5p-standalone-master/vendor/h5p/js/h5p-content-upgrade.js
+445
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-data-view.js
...sets/h5p-standalone-master/vendor/h5p/js/h5p-data-view.js
+442
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-display-options.js
...5p-standalone-master/vendor/h5p/js/h5p-display-options.js
+54
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-embed.js
...c/assets/h5p-standalone-master/vendor/h5p/js/h5p-embed.js
+75
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-event-dispatcher.js
...p-standalone-master/vendor/h5p/js/h5p-event-dispatcher.js
+258
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-library-details.js
...5p-standalone-master/vendor/h5p/js/h5p-library-details.js
+297
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-library-list.js
...s/h5p-standalone-master/vendor/h5p/js/h5p-library-list.js
+140
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-resizer.js
...assets/h5p-standalone-master/vendor/h5p/js/h5p-resizer.js
+131
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-utils.js
...c/assets/h5p-standalone-master/vendor/h5p/js/h5p-utils.js
+506
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-version.js
...assets/h5p-standalone-master/vendor/h5p/js/h5p-version.js
+40
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-x-api-event.js
...ts/h5p-standalone-master/vendor/h5p/js/h5p-x-api-event.js
+331
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p-x-api.js
...c/assets/h5p-standalone-master/vendor/h5p/js/h5p-x-api.js
+119
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/h5p.js
...end/src/assets/h5p-standalone-master/vendor/h5p/js/h5p.js
+2857
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/jquery.js
.../src/assets/h5p-standalone-master/vendor/h5p/js/jquery.js
+20
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/request-queue.js
...sets/h5p-standalone-master/vendor/h5p/js/request-queue.js
+436
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/js/settings/h5p-disable-hub.js
...andalone-master/vendor/h5p/js/settings/h5p-disable-hub.js
+68
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/styles/h5p-admin.css
...ets/h5p-standalone-master/vendor/h5p/styles/h5p-admin.css
+358
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/styles/h5p-confirmation-dialog.css
...lone-master/vendor/h5p/styles/h5p-confirmation-dialog.css
+183
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/styles/h5p-core-button.css
...p-standalone-master/vendor/h5p/styles/h5p-core-button.css
+60
-0
mc_frontend/src/assets/h5p-standalone-master/vendor/h5p/styles/h5p.css
...rc/assets/h5p-standalone-master/vendor/h5p/styles/h5p.css
+584
-0
mc_frontend/src/assets/h5p-standalone-master/webpack.common.js
...ontend/src/assets/h5p-standalone-master/webpack.common.js
+73
-0
mc_frontend/src/assets/h5p-standalone-master/webpack.config.js
...ontend/src/assets/h5p-standalone-master/webpack.config.js
+3
-0
mc_frontend/src/assets/h5p-standalone-master/webpack.dev.js
mc_frontend/src/assets/h5p-standalone-master/webpack.dev.js
+14
-0
mc_frontend/src/assets/h5p-standalone-master/webpack.prod.js
mc_frontend/src/assets/h5p-standalone-master/webpack.prod.js
+6
-0
mc_frontend/src/assets/h5p-standalone-master/yarn.lock
mc_frontend/src/assets/h5p-standalone-master/yarn.lock
+5772
-0
mc_frontend/src/assets/vendor/h5p-integration.js
mc_frontend/src/assets/vendor/h5p-integration.js
+75
-0
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.eot
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.eot
+0
-0
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.svg
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.svg
+62
-0
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.ttf
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.ttf
+0
-0
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.woff
mc_frontend/src/assets/vendor/h5p/fonts/h5p-core-23.woff
+0
-0
mc_frontend/src/assets/vendor/h5p/images/h5p.svg
mc_frontend/src/assets/vendor/h5p/images/h5p.svg
+16
-0
mc_frontend/src/assets/vendor/h5p/images/throbber.gif
mc_frontend/src/assets/vendor/h5p/images/throbber.gif
+0
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-action-bar.js
mc_frontend/src/assets/vendor/h5p/js/h5p-action-bar.js
+100
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-confirmation-dialog.js
...ntend/src/assets/vendor/h5p/js/h5p-confirmation-dialog.js
+410
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-content-type.js
mc_frontend/src/assets/vendor/h5p/js/h5p-content-type.js
+41
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-content-upgrade-process.js
...d/src/assets/vendor/h5p/js/h5p-content-upgrade-process.js
+313
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-content-upgrade-worker.js
...nd/src/assets/vendor/h5p/js/h5p-content-upgrade-worker.js
+63
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-content-upgrade.js
mc_frontend/src/assets/vendor/h5p/js/h5p-content-upgrade.js
+445
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-data-view.js
mc_frontend/src/assets/vendor/h5p/js/h5p-data-view.js
+442
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-display-options.js
mc_frontend/src/assets/vendor/h5p/js/h5p-display-options.js
+54
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-embed.js
mc_frontend/src/assets/vendor/h5p/js/h5p-embed.js
+75
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-event-dispatcher.js
mc_frontend/src/assets/vendor/h5p/js/h5p-event-dispatcher.js
+258
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-library-details.js
mc_frontend/src/assets/vendor/h5p/js/h5p-library-details.js
+297
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-library-list.js
mc_frontend/src/assets/vendor/h5p/js/h5p-library-list.js
+140
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-resizer.js
mc_frontend/src/assets/vendor/h5p/js/h5p-resizer.js
+131
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-utils.js
mc_frontend/src/assets/vendor/h5p/js/h5p-utils.js
+506
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-version.js
mc_frontend/src/assets/vendor/h5p/js/h5p-version.js
+40
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-x-api-event.js
mc_frontend/src/assets/vendor/h5p/js/h5p-x-api-event.js
+331
-0
mc_frontend/src/assets/vendor/h5p/js/h5p-x-api.js
mc_frontend/src/assets/vendor/h5p/js/h5p-x-api.js
+119
-0
mc_frontend/src/assets/vendor/h5p/js/h5p.js
mc_frontend/src/assets/vendor/h5p/js/h5p.js
+2857
-0
mc_frontend/src/assets/vendor/h5p/js/jquery.js
mc_frontend/src/assets/vendor/h5p/js/jquery.js
+20
-0
mc_frontend/src/assets/vendor/h5p/js/request-queue.js
mc_frontend/src/assets/vendor/h5p/js/request-queue.js
+436
-0
mc_frontend/src/assets/vendor/h5p/js/settings/h5p-disable-hub.js
...tend/src/assets/vendor/h5p/js/settings/h5p-disable-hub.js
+68
-0
mc_frontend/src/assets/vendor/h5p/styles/h5p-admin.css
mc_frontend/src/assets/vendor/h5p/styles/h5p-admin.css
+358
-0
mc_frontend/src/assets/vendor/h5p/styles/h5p-confirmation-dialog.css
.../src/assets/vendor/h5p/styles/h5p-confirmation-dialog.css
+183
-0
mc_frontend/src/assets/vendor/h5p/styles/h5p-core-button.css
mc_frontend/src/assets/vendor/h5p/styles/h5p-core-button.css
+60
-0
mc_frontend/src/assets/vendor/h5p/styles/h5p.css
mc_frontend/src/assets/vendor/h5p/styles/h5p.css
+584
-0
mc_frontend/src/configMC.ts
mc_frontend/src/configMC.ts
+0
-1
mc_frontend/src/index.html
mc_frontend/src/index.html
+1
-1
mc_frontend/src/karma.conf.js
mc_frontend/src/karma.conf.js
+1
-2
mc_frontend/src/tsconfig.app.json
mc_frontend/src/tsconfig.app.json
+1
-1
mc_frontend/tslint.json
mc_frontend/tslint.json
+1
-1
No files found.
mc_backend/mcserver/app/services/textService.py
View file @
aa35072d
...
...
@@ -81,10 +81,10 @@ class TextService:
return
text_with_gaps
@
staticmethod
def
get_solutions_by_index
(
exercise
:
Exercise
,
solution_indices
:
List
[
int
]
=
None
)
->
List
[
Solution
]:
def
get_solutions_by_index
(
exercise
:
Exercise
,
solution_indices
:
List
[
int
])
->
List
[
Solution
]:
""" If available, makes use of the solution indices to return only the wanted solutions. """
available_solutions
:
List
[
Solution
]
=
[
Solution
.
from_dict
(
x
)
for
x
in
json
.
loads
(
exercise
.
solutions
)]
if
solution_indices
is
None
:
if
not
solution_indices
:
return
available_solutions
return
[
available_solutions
[
i
]
for
i
in
solution_indices
]
if
len
(
solution_indices
)
>
0
else
[]
...
...
mc_backend/tests.py
View file @
aa35072d
...
...
@@ -973,7 +973,7 @@ class CommonTestCase(unittest.TestCase):
def
test_get_solutions_by_index
(
self
):
""" If available, makes use of the solution indices to return only the wanted solutions. """
solutions
:
List
[
Solution
]
=
TextService
.
get_solutions_by_index
(
Mocks
.
exercise
)
solutions
:
List
[
Solution
]
=
TextService
.
get_solutions_by_index
(
Mocks
.
exercise
,
[]
)
self
.
assertEqual
(
len
(
solutions
),
1
)
def
test_get_treebank_annotations
(
self
):
...
...
mc_frontend/README.md
View file @
aa35072d
...
...
@@ -19,5 +19,5 @@ Use the `--host 0.0.0.0 --disable-host-check` flag for `ng serve` if you want to
## Other
For all other kinds of configuration, use
`src/configMC.ts`
.
# Testing
To test the application and check the code coverage, run
`npm run test`
.
To test the application and check the code coverage, run
`npm run test
-ci
`
.
To write new tests or debug existing ones, use
`npm run test-debug`
.
mc_frontend/package-lock.json
View file @
aa35072d
...
...
@@ -3801,6 +3801,11 @@
"@types/jasmine": "*"
}
},
"@types/json-schema": {
"version": "7.0.5",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz",
"integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ=="
},
"@types/minimatch": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
...
...
@@ -8748,6 +8753,78 @@
"resolve-cwd": "^2.0.0"
}
},
"imports-loader": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/imports-loader/-/imports-loader-1.0.0.tgz",
"integrity": "sha512-gCS5kUte6B8oOduQsKP292ugVRK33Wjcapn7ZctetcYnRbZhRlF5i2cUhx7Anqqg4lM7G9DGedAbnchPhPlpVg==",
"requires": {
"loader-utils": "^2.0.0",
"schema-utils": "^2.7.0",
"source-map": "^0.6.1",
"strip-comments": "^2.0.1"
},
"dependencies": {
"ajv": {
"version": "6.12.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz",
"integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==",
"requires": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
}
},
"emojis-list": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
"integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"json5": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz",
"integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==",
"requires": {
"minimist": "^1.2.5"
}
},
"loader-utils": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
"integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
},
"schema-utils": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz",
"integrity": "sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==",
"requires": {
"@types/json-schema": "^7.0.4",
"ajv": "^6.12.2",
"ajv-keywords": "^3.4.1"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
}
}
},
"imurmurhash": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
...
...
@@ -13409,6 +13486,11 @@
"ansi-regex": "^2.0.0"
}
},
"strip-comments": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/strip-comments/-/strip-comments-2.0.1.tgz",
"integrity": "sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw=="
},
"strip-eof": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
...
...
@@ -13837,6 +13919,11 @@
"resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
"integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw=="
},
"toposort-class": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/toposort-class/-/toposort-class-1.0.1.tgz",
"integrity": "sha1-f/0feMi+KMO6Rc1OGj9e4ZO9mYg="
},
"tough-cookie": {
"version": "2.4.3",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
...
...
mc_frontend/package.json
View file @
aa35072d
...
...
@@ -42,7 +42,9 @@
"cordova-plugin-statusbar"
:
"^2.4.3"
,
"cordova-plugin-whitelist"
:
"^1.3.4"
,
"core-js"
:
"^3.6.4"
,
"imports-loader"
:
"^1.0.0"
,
"rxjs"
:
"^6.5.4"
,
"toposort-class"
:
"^1.0.1"
,
"tslib"
:
"^1.11.1"
,
"webpack"
:
"^4.42.0"
,
"zone.js"
:
"^0.10.2"
...
...
mc_frontend/src/app/exercise-list/exercise-list.page.spec.ts
View file @
aa35072d
...
...
@@ -49,9 +49,13 @@ describe('ExerciseListPage', () => {
fixture
.
detectChanges
();
});
it
(
'
should create
'
,
()
=>
{
it
(
'
should create
'
,
(
done
)
=>
{
expect
(
exerciseListPage
).
toBeTruthy
();
expect
(
exerciseListPage
.
getExerciseList
).
toHaveBeenCalled
();
getExerciseListSpy
.
and
.
callFake
(()
=>
Promise
.
reject
());
exerciseListPage
.
ngOnInit
().
then
(()
=>
{},
()
=>
{
done
();
});
});
it
(
'
should filter exercises
'
,
()
=>
{
...
...
@@ -72,20 +76,21 @@ describe('ExerciseListPage', () => {
spyOn
(
exerciseListPage
.
storage
,
'
get
'
).
withArgs
(
configMC
.
localStorageKeyUpdateInfo
).
and
.
returnValue
(
Promise
.
resolve
(
JSON
.
stringify
(
new
UpdateInfo
({
exerciseList
:
0
}))));
exerciseListPage
.
getExerciseList
().
then
(()
=>
{
},
()
=>
{
},
async
()
=>
{
expect
(
requestSpy
).
toHaveBeenCalledTimes
(
1
);
exerciseListPage
.
vocService
.
currentReferenceVocabulary
=
VocabularyMC
.
Agldt
;
exerciseListPage
.
helperService
.
applicationState
.
next
(
new
ApplicationState
({
exerciseList
:
[]}));
requestSpy
.
and
.
returnValue
(
Promise
.
resolve
([]));
exerciseListPage
.
getExerciseList
().
then
(()
=>
{
expect
(
exerciseListPage
.
availableExercises
.
length
).
toBe
(
0
);
exerciseListPage
.
helperService
.
applicationState
.
next
(
exerciseListPage
.
helperService
.
deepCopy
(
MockMC
.
applicationState
));
requestSpy
.
and
.
returnValue
(
Promise
.
resolve
([
new
ExerciseMC
()]));
exerciseListPage
.
getExerciseList
().
then
(()
=>
{
expect
(
exerciseListPage
.
availableExercises
.
length
).
toBe
(
1
);
done
();
});
});
await
exerciseListPage
.
getExerciseList
();
expect
(
exerciseListPage
.
availableExercises
.
length
).
toBe
(
0
);
exerciseListPage
.
helperService
.
applicationState
.
next
(
exerciseListPage
.
helperService
.
deepCopy
(
MockMC
.
applicationState
));
requestSpy
.
and
.
returnValue
(
Promise
.
resolve
([
new
ExerciseMC
()]));
await
exerciseListPage
.
getExerciseList
();
expect
(
exerciseListPage
.
availableExercises
.
length
).
toBe
(
1
);
exerciseListPage
.
availableExercises
=
[];
await
exerciseListPage
.
getExerciseList
(
true
);
expect
(
exerciseListPage
.
availableExercises
.
length
).
toBe
(
1
);
done
();
});
});
...
...
mc_frontend/src/app/exercise-list/exercise-list.page.ts
View file @
aa35072d
...
...
@@ -120,9 +120,15 @@ export class ExerciseListPage implements OnInit {
return
exercise
.
matching_degree
?
Math
.
round
(
exercise
.
matching_degree
).
toString
()
:
''
;
}
ngOnInit
():
void
{
this
.
vocService
.
currentReferenceVocabulary
=
null
;
this
.
getExerciseList
().
then
();
ngOnInit
():
Promise
<
void
>
{
return
new
Promise
<
void
>
(((
resolve
,
reject
)
=>
{
this
.
vocService
.
currentReferenceVocabulary
=
null
;
this
.
getExerciseList
().
then
(()
=>
{
return
resolve
();
},
()
=>
{
return
reject
();
});
}));
}
public
processExercises
():
void
{
...
...
mc_frontend/src/app/exercise.service.spec.ts
View file @
aa35072d
...
...
@@ -33,21 +33,10 @@ describe('ExerciseService', () => {
it
(
'
should initialize H5P
'
,
(
done
)
=>
{
let
h5pCalled
=
false
;
const
h5p
=
{
jQuery
:
()
=>
{
h5pCalled
=
true
;
return
{
empty
:
()
=>
{
return
{
h5p
:
(
selector
:
string
)
=>
{
}
};
}
};
},
off
:
()
=>
{
}
};
spyOn
(
exerciseService
.
helperService
,
'
getH5P
'
).
and
.
returnValue
(
h5p
);
spyOn
(
exerciseService
,
'
createH5Pstandalone
'
).
and
.
callFake
(()
=>
new
Promise
(
resolve
=>
{
h5pCalled
=
true
;
return
resolve
();
}));
exerciseService
.
initH5P
(
''
).
then
(()
=>
{
expect
(
h5pCalled
).
toBe
(
true
);
done
();
...
...
mc_frontend/src/app/exercise.service.ts
View file @
aa35072d
...
...
@@ -3,6 +3,10 @@ import {Injectable} from '@angular/core';
import
configMC
from
'
../configMC
'
;
import
{
HelperService
}
from
'
./helper.service
'
;
import
{
ExercisePart
}
from
'
./models/exercisePart
'
;
import
{
Options
}
from
'
./models/h5p-standalone.class
'
;
import
{
EventMC
}
from
'
./models/enum
'
;
declare
var
H5PStandalone
:
any
;
@
Injectable
({
providedIn
:
'
root
'
...
...
@@ -17,11 +21,12 @@ export class ExerciseService {
set
currentExerciseIndex
(
value
:
number
)
{
this
.
_currentExerciseIndex
=
value
;
this
.
currentExercisePartIndex
=
[...
Array
(
this
.
currentExerciseParts
.
length
).
keys
()].
find
(
i
=>
this
.
currentExerciseParts
[
i
].
startIndex
<=
this
.
currentExerciseIndex
&&
(
!
this
.
currentExerciseParts
[
i
+
1
]
||
this
.
currentExerciseParts
[
i
+
1
].
startIndex
>
this
.
currentExerciseIndex
));
i
=>
this
.
currentExerciseParts
[
i
].
startIndex
<=
this
.
currentExerciseIndex
&&
(
!
this
.
currentExerciseParts
[
i
+
1
]
||
this
.
currentExerciseParts
[
i
+
1
].
startIndex
>
this
.
currentExerciseIndex
));
const
cepi
:
number
=
this
.
currentExercisePartIndex
;
this
.
currentExerciseName
=
this
.
currentExercisePartIndex
?
this
.
currentExerciseParts
[
cepi
].
exercises
[
this
.
currentExerciseIndex
-
this
.
currentExerciseParts
[
cepi
].
startIndex
]
:
''
;
this
.
currentExerciseParts
[
cepi
].
exercises
[
this
.
currentExerciseIndex
-
this
.
currentExerciseParts
[
cepi
].
startIndex
]
:
''
;
}
public
currentExerciseName
:
string
;
...
...
@@ -30,7 +35,7 @@ export class ExerciseService {
public
excludeOOV
=
false
;
public
fillBlanksString
=
'
fill_blanks
'
;
public
h5pContainerString
=
'
.h5p-container
'
;
public
h5pIframeString
=
'
#h5p-iframe-1
'
;
public
h5pIframeString
=
'
.h5p-iframe
'
;
public
kwicGraphs
:
string
;
public
vocListString
=
'
voc_list
'
;
...
...
@@ -48,18 +53,26 @@ export class ExerciseService {
s4
()
+
'
-
'
+
s4
()
+
s4
()
+
s4
();
}
createH5Pstandalone
(
el
:
HTMLElement
,
h5pLocation
:
string
):
Promise
<
void
>
{
return
new
H5PStandalone
.
H5P
(
el
,
h5pLocation
);
}
initH5P
(
exerciseTypePath
:
string
):
Promise
<
void
>
{
return
new
Promise
(
resolve
=>
{
// dirty hack to get H5P going without explicit button click on the new page
setTimeout
(()
=>
{
// noinspection TypeScriptValidateJSTypes
this
.
helperService
.
getH5P
().
jQuery
(
this
.
h5pContainerString
).
empty
().
h5p
({
frameJs
:
'
assets/dist/js/h5p-standalone-frame.min.js
'
,
frameCss
:
'
assets/dist/styles/h5p.css
'
,
h5pContent
:
'
assets/h5p/
'
+
exerciseTypePath
});
return
resolve
();
},
50
);
return
new
Promise
((
resolve
,
reject
)
=>
{
const
el
:
HTMLDivElement
=
document
.
querySelector
(
this
.
h5pContainerString
);
const
h5pLocation
=
'
assets/h5p/
'
+
exerciseTypePath
;
const
options
:
Options
=
{
frameCss
:
'
assets/h5p-standalone-master/dist/styles/h5p.css
'
,
frameJs
:
'
assets/h5p-standalone-master/dist/frame.bundle.js
'
,
preventH5PInit
:
false
};
this
.
createH5Pstandalone
(
el
,
h5pLocation
).
then
(()
=>
{
// dirty hack to wait for all the H5P elements being added to the DOM
setTimeout
(()
=>
{
this
.
helperService
.
events
.
trigger
(
EventMC
.
h5pCreated
,
{
data
:
{
library
:
exerciseTypePath
}});
return
resolve
();
},
150
);
});
});
}
...
...
mc_frontend/src/app/exercise/exercise.page.html
View file @
aa35072d
<ion-header>
<ion-toolbar>
<div
class=
"toolbar-left"
>
<ion-title>
{{ 'EXERCISE' | translate }}
</ion-title>
</div>
<div
class=
"toolbar-right"
>
<ion-spinner
*ngIf=
"helperService.openRequests.length"
></ion-spinner>
<button
(click)=
"helperService.goToHomePage(navCtrl)"
>
<ion-icon
name=
"home"
></ion-icon>
</button>
</div>
<ion-buttons
slot=
"start"
>
<div
class=
"home-logo"
>
<a
(click)=
"helperService.goToHomePage(navCtrl)"
>
<img
src=
"assets/imgs/logo.png"
width=
"32px"
height=
"32px"
alt=
"CALLIDUS Logo"
>
</a>
</div>
</ion-buttons>
<ion-spinner
*ngIf=
"helperService.openRequests.length"
></ion-spinner>
<ion-title>
{{ 'EXERCISE' | translate }}
</ion-title>
<ion-buttons
slot=
"end"
>
<ion-menu-button
autoHide=
"false"
>
<ion-icon
name=
"menu"
></ion-icon>
</ion-menu-button>
</ion-buttons>
</ion-toolbar>
</ion-header>
...
...
mc_frontend/src/app/helper.service.ts
View file @
aa35072d
...
...
@@ -11,6 +11,7 @@ import {Language} from 'src/app/models/language';
import
{
ReplaySubject
}
from
'
rxjs
'
;
import
{
TextData
}
from
'
./models/textData
'
;
import
configMC
from
'
../configMC
'
;
import
EventRegistry
from
'
./models/eventRegistry
'
;
declare
var
H5P
:
any
;
// dirty hack to prevent H5P access errors after resize events
...
...
@@ -85,6 +86,7 @@ export class HelperService {
vocative
:
DependencyValue
.
vocative
,
xcomp
:
DependencyValue
.
clausalComplement
,
};
public
events
:
EventRegistry
=
new
EventRegistry
();
public
isIE11
:
boolean
=
!!
(
window
as
any
).
MSInputMethodContext
&&
!!
(
document
as
any
).
documentMode
;
public
isDevMode
=
[
'
localhost
'
].
indexOf
(
window
.
location
.
hostname
)
>
-
1
;
// set this to "false" for simulated production mode
public
isVocabularyCheck
=
false
;
...
...
mc_frontend/src/app/models/enum.ts
View file @
aa35072d
...
...
@@ -90,6 +90,11 @@ export enum DependencyTranslation {
vocative
=
'
DEPENDENCY_VOCATIVE
'
as
any
,
}
export
enum
EventMC
{
h5pCreated
=
'
h5pCreated
'
as
any
,
xAPI
=
'
xAPI
'
as
any
,
}
export
enum
ExerciseType
{
cloze
=
'
cloze
'
as
any
,
kwic
=
'
kwic
'
as
any
,
...
...
mc_frontend/src/app/models/eventRegistry.ts
0 → 100644
View file @
aa35072d
import
{
EventMC
}
from
'
./enum
'
;
export
default
class
EventRegistry
{
listeners
:
{
[
eventName
:
string
]:
any
[]
}
=
{};
public
off
(
eventName
:
EventMC
)
{
this
.
listeners
[
eventName
]
=
[];
}
public
on
(
eventName
:
EventMC
,
callback
:
any
)
{
if
(
!
this
.
listeners
[
eventName
])
{
this
.
listeners
[
eventName
]
=
[];
}
this
.
listeners
[
eventName
].
push
(
callback
);
}
public
trigger
(
eventName
:
EventMC
,
event
:
any
)
{
if
(
this
.
listeners
[
eventName
])
{
this
.
listeners
[
eventName
].
forEach
(
value
=>
value
(
event
));
}
}
}
mc_frontend/src/app/models/h5p-standalone.class.ts
0 → 100644
View file @
aa35072d
import
Toposort
from
'
toposort-class
'
;
declare
var
H5P
:
any
;
declare
var
H5PIntegration
:
any
;
export
interface
Options
{
id
?:
string
;
frameCss
:
string
;
frameJs
:
string
;
preventH5PInit
:
boolean
;
}
interface
Library
{
machineName
:
string
;
minorVersion
:
string
;
majorVersion
:
string
;
dependencies
:
LibraryRef
[];
preloadedCss
:
string
[];
preloadedJs
:
string
[];
}
interface
LibraryRef
{
machineName
:
string
;
minorVersion
:
string
;
majorVersion
:
string
;
}
interface
H5Pjson
{
mainLibrary
:
string
;
preloadedDependencies
:
LibraryRef
[];
}
export
default
class
H5PStandaloneClass
{
id
:
string
;
librariesPath
:
string
;
path
:
string
;
h5p
:
H5Pjson
;
mainLibrary
:
Library
;