jmontoyaa
386f66d0c4
Show question feedback if not correct see BT#12611
8 years ago
jmontoyaa
41c164230f
Add setting "allow_quiz_question_feedback" requires DB change
...
- ALTER TABLE c_quiz_question ADD COLUMN feedback text;
See BT#12611
8 years ago
jmontoyaa
6150fe7d70
Exercise result UI changes
...
- Change feedback message color, centralized in one function.
- "notCorrectedYet" message centralized in one function
- Add message "Temporary score: %s open question(s) not corrected yet"
if open/oral questions in exercise
- Fix function name get_question_ribbon -> getTotalQuestionRibbon
- Rename function name (to camelCase)
- Create new function getQuestionRibbon
- Remove un used functions.
- Add new "rib-warning" class if questions is "Not reviewed yet" (oral, free)
see BT#12303
8 years ago
jmontoyaa
3d996d4760
Replace "0/10" to ""? / 10"
...
if score of open/oral question was not reviewed see BT#12303
8 years ago
Angel Fernando Quiroz Campos
a17717aee7
Improve code for Question::resizePicture - refs BT#12892
8 years ago
Angel Fernando Quiroz Campos
dde61135e0
Fix resize question image - refs BT#12892
...
See e5f386c719
8 years ago
jmontoyaa
03de0860c2
Minor - format code
8 years ago
jmontoyaa
318e00cf32
Minor - format code
8 years ago
Angel Fernando Quiroz Campos
827976e415
Fix #1792
8 years ago
jmontoyaa
e3cec9e067
Minor - format code, update docs
8 years ago
jmontoyaa
e69903c3f7
Minor - format code
8 years ago
Angel Fernando Quiroz Campos
1322a8caf5
Fix show question result when reading comprehension is failed #1896
8 years ago
Yannick Warnier
da4f463432
Fix result messages for READING_COMPREHENSION question type - refs #1896
8 years ago
Yannick Warnier
abfea6f87a
Hide question description in results of READING_COMPREHENSION question type and fix issue not showing results table - refs #1896
8 years ago
Yannick Warnier
af7e3a176a
Rename READING_SPEED question type to READING_COMPREHENSION for better semantic naming - refs #1896
8 years ago
Yannick Warnier
34cef4c3b7
Rename selectLevel() to getLevel() in question class
8 years ago
Yannick Warnier
c51267af0e
Revert previous commit - refs GH#1896
8 years ago
Yannick Warnier
4e0402753e
Update language variable to ReadingComprehension in question.class.php - refs GH#1896
8 years ago
Yannick Warnier
026707555d
Add basic implementation of READING_SPEED question. Mostly a copy of UNIQUE_ANSWER - refs GH#1896
8 years ago
Angel Fernando Quiroz Campos
547bdb5d83
Rename save_titles_as_html to save_titles_as_html - refs BT#1244
8 years ago
Angel Fernando Quiroz Campos
e7406cf633
Replace question_title_html with save_titles_like_html - refs BT#12441 BT#12538
8 years ago
jmontoyaa
e0903aa2b9
Minor - format code replace "TRUE" with "true"
8 years ago
Angel Fernando Quiroz Campos
f34970e21f
Allow save question titles with HTML - refs BT#12538
8 years ago
Alex Aragon
5687f738b3
fix add btb question
8 years ago
jmontoyaa
15dbabe801
Code improvement
...
edf2061989
8 years ago
Angel Fernando Quiroz Campos
edf2061989
Improve code readability on export question image
8 years ago
Angel Fernando Quiroz Campos
e77a1f2b3c
Fix export question image when copying question
8 years ago
Scrutinizer Auto-Fixer
e4fb96b1e4
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
8 years ago
jmontoyaa
e5f386c719
Hot spot improve code
...
- Remove use of globals
- New function getHotSpotFolderInCourse()
- resizePicture() function is private
- image resize is executed after the uploadPicture function
- format code
8 years ago
Alex Aragon
63214df8f1
fix btn convert answer
8 years ago
jmontoyaa
6dc440ad77
Change saved quiz filename to quiz-now().jpg see #1771
8 years ago
jmontoyaa
eeef962b57
Code improvements
...
- Format code
- add function visibility,
- replace FALSE to false
- spacing
8 years ago
Angel Fernando Quiroz Campos
f041d62f1c
Show annotation question on exercise results - refs BT#10892
8 years ago
Yannick Warnier
a7482979f9
Minor - Code style - Use "self" instead of classname within the class and remove spaces around :: operator
8 years ago
Angel Fernando Quiroz Campos
a1c4c6fe62
Adding Annotation question type - refs BT#10892
...
Work in progress
8 years ago
jmontoyaa
76c9db0d80
Minor - format code + update docs
8 years ago
jmontoyaa
e3a2809867
Fix #1675 duplicate function for MATCHING and MATCHING_DRAGGABLE
8 years ago
jmontoyaa
8c130aa8e6
Minor - format code
8 years ago
Angel Fernando Quiroz Campos
c89d59afc7
Use entities when inserting a new c_quiz_answer
8 years ago
jmontoyaa
ecf24659ef
Allow add question if force_edit_exercise_in_lp = true see BT#11315
9 years ago
Yannick Warnier
ba818ee23e
Refactoring: move main/exercice/ to main/exercise/ and related folders (except code for migration from 1.9 and 1.10)
9 years ago
Yannick Warnier
6bf1017ef9
Update Display::img() code to return an empty string in case no image path was provided
...
Avoid calls with empty parameters (suggested by #scrutinizer)
9 years ago
Angel Fernando Quiroz Campos
0ad4eaee3c
Scrutinizer Auto-Fixes ( #1170 )
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
9 years ago
jmontoyaa
4a3e2c04f0
Fix fatal error see #8176
9 years ago
Angel Fernando Quiroz Campos
72cd91d40f
Use RecordRTC or Wami adding audio on execises tool - refs BT#11060
9 years ago
jmontoyaa
940fbdd51c
Adding setting "exercise_enable_category_order" see BT#10052
...
Db changes:
// CREATE TABLE c_quiz_rel_category (iid BIGINT AUTO_INCREMENT NOT NULL, c_id INT NOT NULL, category_id INT NOT NULL, exercise_id INT NOT NULL, count_questions INT NOT NULL, PRIMARY KEY(iid));
// ALTER TABLE c_quiz ADD COLUMN question_selection_type INT;
9 years ago
Angel Fernando Quiroz Campos
488bf0aeb6
Fix style of button to convert multiple/unique answer - refs #8079
9 years ago
Yannick Warnier
b9fe27560b
Fix SQL queries related to fulltext search engine - refs CT#8013
9 years ago
Angel Fernando Quiroz Campos
defe150805
Fix id on answer list for hotspot question - refs #7705
9 years ago
Angel Fernando Quiroz Campos
f23878148f
Fixing d55a9e2
9 years ago