Commit graph

503 commits

Author SHA1 Message Date
thomasmars
491ed24c0b Tweaks to make randomization work.
HFP-56
2016-10-14 16:48:03 +02:00
thomasmars
6d4a915de1 Merge branch 'master' into randomize-questions
# Conflicts:
#	js/questionset.js
2016-10-14 16:14:37 +02:00
Timothy Lim
d19a8d52fc Randomize questions and update buttons [HFP-56]
Show and hide navigational buttons

Add functionality to save content state

Clean up code [HFP-59]

Randomize on initialization

Tidy up [HFP-56]
2016-10-10 11:36:07 +02:00
Tom Arild Jakobsen
b2f6dec79d Merge branch 'master' of github.com:h5p/h5p-question-set 2016-10-10 11:21:22 +02:00
Tom Arild Jakobsen
02f98007cc Add getMaxScore and deprecate totalScore 2016-10-10 11:21:06 +02:00
Tom Arild Jakobsen
85bdfabb85 Update gitignore 2016-10-10 11:18:19 +02:00
thomasmars
e510b662ed Restore at last page if in solution mode
HFP-9
2016-10-07 13:38:39 +02:00
Pål Jørgensen
f7c772b212 Merge branch 'master' of github.com:h5p/h5p-question-set 2016-10-06 21:47:54 +02:00
Pål Jørgensen
ebd2314a5c Added H5P.TrueFalse to QS [HFP-6] 2016-10-06 21:47:40 +02:00
thomasmars
46ca884681 Disable navigation bar visuals and functions when backward navigation is disabled.
HFP-8
2016-10-04 14:18:50 +02:00
thomasmars
55d66eb469 Fixed not setting progress when it is undefined.
HFP-9
2016-10-04 11:59:26 +02:00
thomasmars
751ee5f597 Removed debug line
HFP-8
2016-10-04 11:53:04 +02:00
thomasmars
1cafbf09f4 Added aria-disabled attribute to dots when they are disabled
HFP-8
2016-10-04 11:43:12 +02:00
thomasmars
84c8751238 Fixed undefined answers in previous state.
HFP-9
2016-10-03 13:19:25 +02:00
thomasmars
601ae585e1 Disable backwards navigation.
Show dots, but they have no action when backward navigation is disabled.
Always show/enable full navigation in solution mode.
Only show forward button when a question has been answered.
Remove navigation button if question has been answered, then retried within the question's logic.
HFP-8
2016-10-03 13:06:01 +02:00
Paal Joergensen
747e9dcb1a Merge branch 'master' of github.com:h5p/h5p-question-set 2016-09-30 12:47:40 +02:00
Håkon Ellingsen
d5eb0f50ed HFP-24: Only add skip button when it is wanted 2016-09-28 11:10:32 +02:00
thomasmars
a601a1014c Implemented save content user state in Question Set.
Set progress from previousState.
Set subContent data from previousState.
Toggle dots if they have been answered in previous state.
Implemented current state API call.
HFP-9
2016-09-26 15:19:53 +02:00
thomasmars
b50b2518e2 Added translations
HFP-5
2016-09-26 13:50:03 +02:00
thomasmars
49c1da3627 Added option for disabling backward navigation
HFP-5
2016-09-26 11:45:15 +02:00
thomasmars
b3eccc98de Merge branch 'stable' 2016-09-23 13:37:31 +02:00
thomasmars
0ae6550303 Merge branch 'release' into stable 2016-09-23 11:51:55 +02:00
thomasmars
64cc55c0ef Updated dependencies to support MC in VerticalTabs HFJ-2166 2016-09-15 12:36:48 +02:00
thomasmars
668796dddb Merge branch 'master' into release 2016-09-12 10:56:44 +02:00
thomasmars
e2aa9d5a6b Bumped Blanks, MultiChoice and Video dependency. 2016-09-12 09:41:39 +02:00
Paal Joergensen
0836bcceb7 Merge branch 'master' of github.com:h5p/h5p-question-set 2016-09-12 08:12:02 +02:00
thomasmars
0849080488 Bump minor for release
DragQuestion version has changed, must be updatable.
2016-09-11 16:53:34 +02:00
Paal Joergensen
bfa29df4c6 Bumped h5p-drag-n-bar and all dependent libraries 2016-09-05 14:37:20 +02:00
Frode Petterson
149a622d46 Merge branch 'stable' 2016-08-02 13:49:14 +02:00
Frode Petterson
7f54b93b51 Merge branch 'release' into stable 2016-08-02 13:45:15 +02:00
Frode Petterson
bafc286b75 Bumped patch version 2016-07-29 14:38:03 +02:00
Frode Petterson
e03e6e74f6 Merge branch 'master' into release 2016-07-27 12:40:01 +02:00
Frode Petterson
b7a991fc3c Remove current blue dot on endGame
HVP-222
2016-07-26 14:31:29 +02:00
Frode Petterson
9c981e94c6 Syntax fixes for French 2016-07-05 13:05:42 +02:00
Frode Petterson
182c8ffd0b Merge branch 'master' of github.com:h5p/h5p-question-set 2016-07-05 09:51:07 +02:00
Frode Petterson
da540afb82 Announce results when finsihed
HFJ-2042
2016-07-05 09:50:41 +02:00
Frode Petterson
30b6ce0399 Merge pull request #5 from isa-realia/patch-1
Update fr.json
2016-07-04 16:49:29 +02:00
isa-realia
467e80e39a Update some strings
- replace "réessayer" with "recommencer" which is better
2016-07-04 16:24:49 +02:00
isa-realia
5969a8f514 Update fr.json
- Added some translations and modiied some others
- Added french translations for the "default" strings
2016-07-04 15:34:56 +02:00
Frode Petterson
587f488276 Bugfix unanswered toggles answered state
HFJ-2040
2016-07-04 13:05:38 +02:00
Frode Petterson
0203402821 Fixed positioning of progress dots
HFJ-2040
2016-07-04 12:09:11 +02:00
Frode Petterson
71f92ff664 Prevent stealing focus when page loads
HFJ-2040
2016-07-04 11:54:28 +02:00
Frode Petterson
5391fec861 Turns out navigation was a better fit
HFJ-2040
2016-07-04 11:42:56 +02:00
Frode Petterson
7071366b2d Use menu instead of navigation
Use keyboard to navigate menu.
HFJ-2040
2016-07-04 11:29:28 +02:00
Thomas Marstrander
6c82013c84 Improved how navigation dots are read.
HFJ-2040
2016-06-30 09:47:24 +02:00
Thomas Marstrander
bc5668a4a0 Accessible navigation line.
Made readspeakers abel to announce all visible elements of the navigation line, i.e. answered/unanswered, current, and number.
HFJ-2040
2016-06-28 15:07:05 +02:00
Thomas Marstrander
917a8ed3c4 Reset individual questions on retry.
Remove finish button if a question is reset.
Remove dot styling if a question is reset.
HFJ-2044
2016-06-28 12:29:15 +02:00
Thomas Marstrander
7bcd2472ba Read feedback when changing question.
Do not read feedback when showing all solutions.
HFJ-2043
2016-06-27 15:42:31 +02:00
Thomas Marstrander
45af3ef06e Make sure to show announcer when changing it, since resetTask hides it.
HFJ-2041
2016-06-27 11:59:36 +02:00
Thomas Marstrander
653d12a85e Make readspeakers announce current question of total when changing question.
HFJ-2041
2016-06-27 11:43:00 +02:00