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

Several fixes. #57

Open
wants to merge 67 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
b8803b5
JI-3231 Fix limit xAPI trigger on change event
Feb 10, 2022
6e65a43
Bump
fnoks Feb 10, 2022
520eba0
Update node modules
fnoks Feb 10, 2022
3b527bf
Rename content type title
fnoks Feb 10, 2022
861727d
JI-3231 Bring back on-anykey to not change behaviour
fnoks Feb 10, 2022
5b64557
JI-3237 Remove Auto-check + add Check button
j0kerZ Feb 14, 2022
1cb2a47
JI-3237 Stop Ractive debug mode
j0kerZ Feb 14, 2022
790ccce
JI-3237 Remove highlight marks from report
j0kerZ Feb 14, 2022
0bfdca8
Add content type icon
fnoks Feb 15, 2022
424b88e
JI-2771 Add submit text (#2)
Languafe Feb 15, 2022
6ef9f75
Bump
fnoks Feb 15, 2022
11866a5
Merge branch 'master' into JI-3237-several-issues-in-complex-advanced…
j0kerZ Feb 15, 2022
99b3f63
JI-3237 Remove autocheck from language files
j0kerZ Feb 16, 2022
309911d
Fix invalid options in semantics
fnoks Feb 16, 2022
d7c8914
Merge pull request #1 from h5p/JI-3237-several-issues-in-complex-adva…
fnoks Feb 16, 2022
b59e4f1
Merge branch 'master' of github.com:h5p/h5p-advanced-blanks
fnoks Feb 16, 2022
8795024
Bump
fnoks Feb 16, 2022
ef9c9ab
Fix translation files
fnoks Feb 16, 2022
29b325c
JI-3249 Fix timer when user retry and attempt again
Feb 16, 2022
ad491a6
Merge pull request #3 from h5p/JI-3249-CFITB-reset-timer-on-retry
fnoks Feb 16, 2022
9f9fc11
Bump
fnoks Feb 16, 2022
b0ffbc9
JI-3292 Revert "JI-3237 Remove Auto-check + add Check button"
j0kerZ Feb 24, 2022
a0bd13f
JI-3292 Revert "JI-3237 Remove autocheck from language files"
j0kerZ Feb 24, 2022
46a13cf
JI-3292 Make autocheck only submit when fully filled
j0kerZ Feb 24, 2022
8eb1027
Merge pull request #4 from h5p/JI-3292-complex-fitb-get-back-auto-che…
icc Feb 28, 2022
c8776df
Bump
fnoks Mar 8, 2022
5b2f473
Merge branch 'release'
fnoks Mar 15, 2022
b57b471
Recursive bump H5P.Audio + Video
fnoks Apr 11, 2022
dde092f
Merge branch 'master' into release
fnoks Apr 11, 2022
82eeece
Merge branch 'release'
fnoks Apr 11, 2022
e75a1fc
Update dutch translation for submit button
fnoks May 3, 2022
a4ff00e
Merge branch 'release'
fnoks May 19, 2022
0f9d114
Bump terser from 4.8.0 to 4.8.1
dependabot[bot] Jul 21, 2022
44db056
Merge pull request #6 from h5p/dependabot/npm_and_yarn/terser-4.8.1
fnoks Aug 9, 2022
dbda151
Merge branch 'master' into release
fnoks Aug 19, 2022
bc2399a
Bump
fnoks Aug 19, 2022
be837a0
Update NPM
fnoks Sep 20, 2022
16672e3
Merge branch 'release'
fnoks Sep 20, 2022
a46be5a
Bump got and ava (#7)
dependabot[bot] Oct 10, 2022
25bbfdb
Bump loader-utils from 1.4.0 to 1.4.2 (#11)
dependabot[bot] Nov 18, 2022
71af3e7
Bump minimatch from 3.0.4 to 3.1.2 (#10)
dependabot[bot] Nov 18, 2022
22b0fb1
Bump ansi-regex from 4.1.0 to 6.0.1 (#8)
dependabot[bot] Nov 18, 2022
9557415
Merge branch 'master' into release
fnoks Nov 18, 2022
7e6d7f3
Bump
fnoks Nov 18, 2022
0ab6f0b
Merge branch 'release'
fnoks Nov 18, 2022
9f2fcab
Bump decode-uri-component from 0.2.0 to 0.2.2 (#12)
dependabot[bot] Dec 30, 2022
77b6362
Update node modules
fnoks Jan 6, 2023
107fb01
Merge branch 'master' into release
fnoks Jan 6, 2023
264f361
Bump
fnoks Jan 6, 2023
3194835
Merge branch 'release'
fnoks Jan 6, 2023
2862c53
Update ractive and dependencies
fnoks May 3, 2023
320d4c3
Bump @babel/traverse from 7.21.4 to 7.23.2 (#14)
dependabot[bot] Oct 19, 2023
b3fbdbe
Bump postcss from 8.4.23 to 8.4.31 (#13)
dependabot[bot] Oct 26, 2023
bff46ef
Merge branch 'master' into release
fnoks Dec 4, 2023
f2d417f
Bump
fnoks Dec 4, 2023
5dd4890
Merge branch 'release'
fnoks Dec 4, 2023
d3b1ce2
Avoid using dist.js since Drupal doesn't like it
fnoks Feb 23, 2024
d15a81a
Update NPM
fnoks Feb 23, 2024
d585d58
Bump patch version
fnoks Feb 23, 2024
58b5e36
Merge branch 'release'
fnoks Mar 25, 2024
e084f23
Bump braces from 3.0.2 to 3.0.3 (#16)
dependabot[bot] Jun 19, 2024
3480dcb
Bump webpack from 5.81.0 to 5.94.0
dependabot[bot] Aug 30, 2024
968e9b7
Merge pull request #17 from h5p/dependabot/npm_and_yarn/webpack-5.94.0
larsmagu Oct 17, 2024
ac1fbdf
JI-6913 Add reusable workflow for translation validation
Dec 20, 2024
0977fe9
Merge pull request #19 from h5p/JI-6913-Reusable-Workflow--Implement-…
larsmagu Jan 21, 2025
427fd27
Update NPMs
fnoks Jan 22, 2025
aa929bc
Bump
fnoks Jan 22, 2025
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
7 changes: 5 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"presets": ["latest"],
"plugins": ["transform-object-assign"]
"presets": ["@babel/preset-env"],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-object-assign"
]
}
14 changes: 14 additions & 0 deletions .github/workflows/ci-workflows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CI

on:
workflow_dispatch:
pull_request:
branches:
- master
types: [opened, synchronize] # Triggers on PR open and commits to PR

jobs:
ci:
uses: h5p/h5p-ci-workflows/.github/workflows/h5p-ci-workflow.yml@master
with:
run-translations: true
4 changes: 2 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
@@ -54,15 +54,15 @@ General todo:
Firefox 57:
Safari iOS 11 on iPhone and iPad:
✘ typing mode: error indicator overlaps with text @cancelled(18-06-29 17:02) not reproducable
- typing mode: when there's a popup, the reference element should be focussed (still needed?)
- typing mode: when there's a popup, the reference element should be focused (still needed?)
✔ typing mode: the color of correctly solved gaps are wrong (the text is much too light) @done(18-06-29 17:02)
✔ typing mode: the alignment of the (in)correct symbol is broken: it's too far up (minor issue) @done(18-06-29 17:02)
- typing mode: the cursor is visible on top of popups if they overlap (happens a lot)
Chrome / Samsung Internet on Android (Samsung Galaxy S7):
- typing mode: part of the cursor is visible on top of popups if they overlap (happens a lot, not as ugly as on iOS)
- clipping of popups (small amount, no content clipped) in certain cases
- highlight of text + textarea directly below --> no space between them
- popup and textarea / select should be focussed when popup is shown
- popup and textarea / select should be focused when popup is shown
Edge 41 + Internet Explorer 10/11:
- highlight blink animation doesn't work
- select mode: when selecting an option, all options in the list are displayed with the in/correct style (displayed only for a short time)
68 changes: 68 additions & 0 deletions icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions language/.en.json
Original file line number Diff line number Diff line change
@@ -23,9 +23,9 @@
{
"label": "Text with blanks",
"important": {
"description": "<ul><li>Blanks must be marked with __________ (three or more underscores).</li><li>Do not put the solutions into the text.</li></ul>"
},
"description": ""
"description": "<ul><li>Blanks must be marked with __________ (three or more underscores).</li><li>Do not put the solutions into the text.</li></ul>",
"example": "I have _________ wanted to visit Norway."
}
},
{
"label": "Blanks used in the text",
@@ -99,7 +99,7 @@
"fields": [
{
"label": "Snippet list",
"description": "Snippets are texts that can be reused in feedback texts by inserting @snippetname into the text.",
"description": "Snippets are texts that can be reused in feedback texts by inserting @snippetname into the it.",
"entity": "snippet",
"field": {
"label": "Snippet",
@@ -208,8 +208,7 @@
"label": "Enable \"Check\" button"
},
{
"label": "Show confirmation dialog on \"Check\"",
"description": "This option is not compatible with the \"Automatically check answers after input\" option"
"label": "Show confirmation dialog on \"Check\""
},
{
"label": "Show confirmation dialog on \"Retry\""
@@ -228,6 +227,10 @@
"label": "Text for \"Check\" button",
"default": "Check"
},
{
"label": "Text for \"Submit\" button",
"default": "Submit"
},
{
"label": "Text for \"Not filled out\" message",
"default": "Please fill in all blanks to view solution"
30 changes: 15 additions & 15 deletions language/af.json
Original file line number Diff line number Diff line change
@@ -6,6 +6,9 @@
{
"label": "Tipe",
"description": "Opsionele media wat bo die vraag vertoon word."
},
{
"label": "Disable image zooming for question image"
}
]
},
@@ -20,9 +23,9 @@
{
"label": "Teks met leë spasies",
"important": {
"description": "<ul><li>Spasies moet gemerk word met __________ (drie of meer onderstrepe).</li><li>Moenie die oplossings in die teks plaas nie.</li></ul>"
},
"description": ""
"description": "<ul><li>Spasies moet gemerk word met __________ (drie of meer onderstrepe).</li><li>Moenie die oplossings in die teks plaas nie.</li></ul>",
"example": "I have _________ wanted to visit Norway."
}
},
{
"label": "Oop spasies gebruik in die teks",
@@ -154,8 +157,7 @@
{
"label": "Die gebruiker tik die antwoorde in."
}
],
"default": "besig om te tik"
]
},
{
"label": "Alternatiewe beskikbaar vir keuse",
@@ -166,8 +168,7 @@
{
"label": "Die regte antwoorde van al die ander oop spasies"
}
],
"default": "alternatiewe"
]
},
{
"label": "Maksimum aantal alternatiewe beskikbaar vir ander oop spasies",
@@ -185,8 +186,7 @@
{
"label": "Beskou dit as 'n gereelde fout"
}
],
"default": "fout"
]
},
{
"label": "Hooflettergevoelig",
@@ -208,11 +208,7 @@
"label": "Aktiveer \"Toets\" knoppie"
},
{
"label": "Deaktiveer prentzoomfunksie vir vraagprent"
},
{
"label": "Wys bevestigingdialoog op \"Toets\"",
"description": "Hierdie keuses is nie versoenbaar met die opsie \"Gaan antwoorde outomaties na invoer na\" nie"
"label": "Wys bevestigingdialoog op \"Toets\""
},
{
"label": "Wys bevestigingdialoog op \"Probeer weer\""
@@ -231,6 +227,10 @@
"label": "Teks vir \"Toets\" knoppie",
"default": "Toets"
},
{
"label": "Text for \"Submit\" button",
"default": "Submit"
},
{
"label": "Teks vir \"Nie ingevul\" boodskap",
"default": "Vul asb. al die oop spasies in om die antwoord te sien"
@@ -291,4 +291,4 @@
"default": "Jy het :num uit :total punte gekry"
}
]
}
}
12 changes: 7 additions & 5 deletions language/de.json
Original file line number Diff line number Diff line change
@@ -25,8 +25,7 @@
"important": {
"description": "<ul><li>Lücken müssen mit __________ (drei oder mehr Unterstriche) gekennzeichnet werden.</li><li>Die Lösungen werden erst weiter unten in einem anderen Bereich eingegeben.</li></ul>",
"example": "Ich wollte _________ nach Norwegen fahren."
},
"description": ""
}
},
{
"label": "Lücken",
@@ -209,8 +208,7 @@
"label": "\"Überprüfen\"-Button anzeigen"
},
{
"label": "Bestätigungsdialog beim Klicken auf \"Überprüfen\" anzeigen",
"description": "Diese Option funktioniert nicht zusammen mit \"Antworten nach Eingabe automatisch prüfen\""
"label": "Bestätigungsdialog beim Klicken auf \"Überprüfen\" anzeigen"
},
{
"label": "Bestätigungsdialog beim Klicken auf \"Wiederholen\" anzeigen"
@@ -229,6 +227,10 @@
"label": "Beschriftung des \"Überprüfen\"-Buttons",
"default": "Überprüfen"
},
{
"label": "Text for \"Submit\" button",
"default": "Submit"
},
{
"label": "Text der \"Nicht ausgefüllt\"-Nachricht",
"default": "Bitte fülle alle Lücken aus, um die Lösung ansehen zu können"
@@ -289,4 +291,4 @@
"default": "Du hast :num von :total Punkten erreicht"
}
]
}
}
15 changes: 9 additions & 6 deletions language/es-mx.json
Original file line number Diff line number Diff line change
@@ -23,9 +23,9 @@
{
"label": "Texto con huecos",
"important": {
"description": "<ul><li>Los huecos deben ser marcados con __________ (tres o cuatro guiones bajos).</li><li>NO escriba las soluciones dentro del texto.</li></ul>"
},
"description": ""
"description": "<ul><li>Los huecos deben ser marcados con __________ (tres o cuatro guiones bajos).</li><li>NO escriba las soluciones dentro del texto.</li></ul>",
"example": "I have _________ wanted to visit Norway."
}
},
{
"label": "Huecos usados en el texto",
@@ -208,8 +208,7 @@
"label": "Habilitar botón \"Comprobar\""
},
{
"label": "Mostrar diálogo de confirmación en \"Comprobar\"",
"description": "Esta opción no es compatible con la opción de \"Automáticamente comprobar respuestas después de ingresadas\""
"label": "Mostrar diálogo de confirmación en \"Comprobar\""
},
{
"label": "Mostrar diálogo de confirmación en \"Reintentar\""
@@ -228,6 +227,10 @@
"label": "Texto para botón \"Comprobar\"",
"default": "Comprobar"
},
{
"label": "Text for \"Submit\" button",
"default": "Submit"
},
{
"label": "Texto para mensaje \"No completado\"",
"default": "Por favor llene todos los huecos para ver la solución"
@@ -288,4 +291,4 @@
"default": "Obtuvo :num de un total de :total puntos"
}
]
}
}
15 changes: 9 additions & 6 deletions language/es.json
Original file line number Diff line number Diff line change
@@ -23,9 +23,9 @@
{
"label": "Texto con huecos",
"important": {
"description": "<ul><li>Los huecos deben ser marcados con __________ (tres o cuatro guiones bajos).</li><li>NO escriba las soluciones dentro del texto.</li></ul>"
},
"description": ""
"description": "<ul><li>Los huecos deben ser marcados con __________ (tres o cuatro guiones bajos).</li><li>NO escriba las soluciones dentro del texto.</li></ul>",
"example": "I have _________ wanted to visit Norway."
}
},
{
"label": "Huecos usados en el texto",
@@ -208,8 +208,7 @@
"label": "Habilitar botón \"Comprobar\""
},
{
"label": "Mostrar diálogo de confirmación en \"Comprobar\"",
"description": "Esta opción no es compatible con la opción de \"Automáticamente comprobar respuestas después de ingresadas\""
"label": "Mostrar diálogo de confirmación en \"Comprobar\""
},
{
"label": "Mostrar diálogo de confirmación en \"Reintentar\""
@@ -228,6 +227,10 @@
"label": "Texto para botón \"Comprobar\"",
"default": "Comprobar"
},
{
"label": "Text for \"Submit\" button",
"default": "Submit"
},
{
"label": "Texto para mensaje \"No completado\"",
"default": "Por favor llene todos los huecos para ver la solución"
@@ -288,4 +291,4 @@
"default": "Obtuvo :num de un total de :total puntos"
}
]
}
}
Loading