Commit Graph

573 Commits (36269a8253ed833ddd9e3d648487f461c07c1ec1)

Author SHA1 Message Date
Timothy Lim 4f38f4d25b Change ordering of pool size check 2016-10-21 08:38:13 +02:00
Timothy Lim 3ac92b078b Replace 'arrow functions' with 'for loops' [HFP-57] 2016-10-20 15:46:15 +02:00
Timothy Lim 035b958254 Update language files for question pool
[HFP-57]
2016-10-20 13:55:20 +02:00
Timothy Lim 3285a8fa4a Add functionality to create question pools
[HFP-57]
2016-10-20 13:42:30 +02:00
thomasmars 024d46da38 Made truncated buttons look normal.
HFP-109
2016-10-20 11:13:18 +02:00
Timothy Lim 06060af419 Add safety check 2016-10-20 08:18:43 +02:00
Timothy Lim 453addfa47 Validate language json files 2016-10-19 15:31:17 +02:00
thomasmars 1b8abad544 Make sure the shuffled question order is properly mapped to the original order.
HFP-56
2016-10-19 15:28:31 +02:00
Timothy Lim c12d21d71d Merge branch 'randomize-questions' of https://github.com/h5p/h5p-question-set into randomize-questions 2016-10-19 08:52:11 +02:00
Timothy Lim 2ebe9ad987 Rename variables in randomize function
[HFP-56]
2016-10-19 08:50:35 +02:00
Timothy Lim 6fdeb26e0d Fix to allow disabling of backwards navigation 2016-10-19 08:22:21 +02:00
Timothy Lim d9e38ec994 Update semantics.json 2016-10-18 15:35:00 +02:00
Timothy Lim 207914b411 Update retrieval of previous content 2016-10-18 15:32:16 +02:00
Timothy Lim 96218e2a9b Update language files
[HFP-56]
2016-10-18 15:18:37 +02:00
Timothy Lim a9d5c9b9a3 Stop multiple classes being added to each question
[HFP-56]
2016-10-18 15:07:12 +02:00
Timothy Lim c16422f13d Add language fields
Replace TODOs
2016-10-18 09:27:45 +02:00
Timothy Lim b3dc56c796 Refactor button creation [HFP-56]
Add comments
2016-10-17 10:54:35 +02:00
Timothy Lim 46753e2b5e Refactor randomizing on initialization 2016-10-16 11:14:52 +02:00
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
Håkon Ellingsen b893070d84 HFP-29: Add new field to translations 2016-10-04 09:33:00 +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 36c5192c1d HFP-29: Add option to disable solution button 2016-09-28 11:28:53 +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