21888 Commits

Author SHA1 Message Date
Adrian Greeve
f494e9e6c0 Merge branch 'MDL-67351-master_required_setting' of https://github.com/catalyst/moodle 2020-01-30 08:11:33 +08:00
Andrew Madden
4a63a5b875 MDL-67351 quiz: Change advanced quiz settings types to use flags.
Change all 'with_advanced' setting types in quiz/settings to their
regular counterparts and apply the 'advanced' admin flag to them
instead. Settings that extend with_advanced setting types are
unchanged.
2020-01-30 10:50:59 +11:00
Andrew Madden
b5d1151574 MDL-67351 quiz: Move quiz form defaults logic out of form.
By including the mod_form:apply_admin_defaults() method in the quiz
moodle_form, each element does not need to set default and advanced
states individually.
2020-01-30 10:50:01 +11:00
Tim Hunt
a33e0b4d84 MDL-67830 quiz: notice in grade details redirect script 2020-01-29 18:34:39 +00:00
Jun Pataleta
4ef4e10194 Merge branch 'MDL-67626_master' of git://github.com/adpe/moodle 2020-01-29 21:36:12 +08:00
Eloy Lafuente (stronk7)
14de866897 Merge branch 'MDL-67722-master' of git://github.com/mickhawkins/moodle 2020-01-28 20:13:08 +01:00
Shamim Rezaie
974db580df MDL-67721 mod_forum: See 'view grade' button on single discussion forums 2020-01-28 05:02:05 +11:00
Eloy Lafuente (stronk7)
84ba4b8feb Merge branch 'MDL-51225-master' of git://github.com/junpataleta/moodle 2020-01-23 11:13:33 +01:00
Jun Pataleta
dfa6dcd80c MDL-51225 mod_forum: Revert @javascript tag removal
Put back the removed  @javascript tag to prevent random goutte
fails.
2020-01-23 15:26:56 +08:00
Jun Pataleta
21b0f581e1 Merge branch 'MDL-67115' of https://github.com/stronk7/moodle 2020-01-23 15:12:56 +08:00
Jun Pataleta
32113d7a9b Merge branch 'MDL-65952' of https://github.com/fabiendallet/moodle 2020-01-23 15:11:02 +08:00
Jun Pataleta
1e38b94c8e Merge branch 'MDL-66897-master-1' of git://github.com/mihailges/moodle 2020-01-22 23:17:14 +08:00
Adrian Greeve
dbeca9f5ca Merge branch 'MDL-67424-master' of git://github.com/rezaies/moodle 2020-01-22 13:56:33 +08:00
Mihail Geshoski
9f9a3ddebe MDL-66897 mod_assign: Properly display error messages in quick grading 2020-01-22 13:37:07 +08:00
Adrian Greeve
f40115043c Merge branch 'MDL-67438' of https://github.com/stronk7/moodle 2020-01-22 13:29:01 +08:00
Adrian Greeve
66a8939518 Merge branch 'MDL-67653' of https://github.com/timhunt/moodle 2020-01-22 11:02:35 +08:00
Eloy Lafuente (stronk7)
703f2b625b Merge branch 'MDL-51225-master' of git://github.com/junpataleta/moodle 2020-01-21 23:33:19 +01:00
Eloy Lafuente (stronk7)
a445417935 Merge branch 'MDL-66220-master' of git://github.com/junpataleta/moodle 2020-01-20 22:33:45 +01:00
Eloy Lafuente (stronk7)
70bc6d5e0c Merge branch 'MDL-67724-master' of git://github.com/junpataleta/moodle 2020-01-20 10:53:18 +01:00
Jun Pataleta
34cdacbfff Merge branch 'MDL-66883-master' of git://github.com/bmbrands/moodle 2020-01-20 16:36:40 +08:00
Adrian Greeve
5a775f5703 Merge branch 'MDL-66761-master' of git://github.com/mickhawkins/moodle 2020-01-20 14:40:19 +08:00
Adrian Greeve
d29c986d9d Merge branch 'MDL-62815_mod_lti' of git://github.com/davosmith/moodle 2020-01-20 09:53:27 +08:00
Eloy Lafuente (stronk7)
ee439d017e MDL-67115 core: php74 params order for implode()/join()
Passing parameters to implode() in reverse order is deprecated, use
implode($glue, $parts) instead of implode($parts, $glue).

This commit corresponds to phpunit and manual detections, core files.
2020-01-19 18:47:07 +01:00
Adrian Perez
cec13638b6 MDL-67626 assign: fix view full/view summary control in IE 2020-01-18 14:15:24 +01:00
fdallet
f6cd1cc153 MDL-65952 mod_scorm: Fix unwanted changes to require status 2020-01-17 17:19:55 +01:00
Eloy Lafuente (stronk7)
a5e3c4e5f3 MDL-67438 wiki: Formating changes (file doc block + whitespace fixes)
Also:
- change 2 variable/property names, both internal.
- format empty function.

Towards getting it fully phpcs compliant. Note this does not
fix the missing (in all methods) phpdoc blocks.
2020-01-17 12:34:30 +01:00
Jun Pataleta
1ed7527b4c MDL-67724 mod_glossary: Improve Behat test
Improve the "Glossary entries are not always editable" scenario by:
* No need to use the @javascript tag
* The maxediting time can be set to a lower value to
reduce the overall wait time.
2020-01-17 17:49:58 +08:00
Michael Hawkins
66fa0c91ff MDL-67722 mod_forum: Reduce wait time on time limit expires behat test 2020-01-17 15:44:15 +08:00
Jun Pataleta
7cce925f9b MDL-51225 mod_forum: Use can_view_post to determine whether to show post
Use \mod_forum\local\managers\capability::can_view_post() to
consistently determine whether a forum post will be rendered in the
recent activity block.
This helps the recent activity block to provide a more consistent
behaviour with the forum's discussion view itself.
2020-01-17 14:44:26 +08:00
Jun Pataleta
e68e49da01 MDL-51225 mod_forum: Create behat tests for forum recent activity 2020-01-17 14:44:22 +08:00
Michael Hawkins
5588922265 MDL-66761 forumreport_summary: Added groups filter behat testing 2020-01-17 10:34:07 +08:00
Michael Hawkins
a967e56d2e MDL-66761 mod_forum: Behat support group ID in bulk discussion adding 2020-01-17 10:34:06 +08:00
Jun Pataleta
61a90c4510 MDL-51225 mod_forum: New behat step for creating question discussion 2020-01-17 10:25:22 +08:00
Jun Pataleta
3dfc8be974 MDL-66220 mod_forum: Prevent from replying to a post the user can't see 2020-01-16 14:32:20 +08:00
Jun Pataleta
49801df749 MDL-66220 mod_forum: Cache result of forum_user_can_see_post()
* Cache the result of this function to avoid doing multiple DB calls
for the same post when loading posts in a discussion.
2020-01-16 14:32:20 +08:00
Jun Pataleta
bf7a6ff4d7 MDL-66220 mod_forum: Additional unit test for can_reply_to_post 2020-01-16 14:32:20 +08:00
Eloy Lafuente (stronk7)
1fe94722ae Merge branch 'MDL-67631' of git://github.com/timhunt/moodle 2020-01-16 00:29:09 +01:00
Eloy Lafuente (stronk7)
caa722a04b Merge branch 'MDL-67625-master' of git://github.com/lucaboesch/moodle 2020-01-16 00:26:13 +01:00
Shamim Rezaie
ff25eb0fb0 MDL-67424 mod_forum: error on complete report when no rating or grade 2020-01-16 03:16:58 +11:00
Sara Arjona
f6fe70d075 Merge branch 'MDL-65573-master-2' of git://github.com/peterRd/moodle 2020-01-14 12:20:00 +01:00
Andrew Nicols
ea990a38eb Merge branch 'MDL-35971-master' of git://github.com/junpataleta/moodle 2020-01-14 08:23:56 +08:00
Peter
18cd2efd44 MDL-65573 mod_forum: Set userid properly after split
* Set the discussion's userid properly when splitting a discussion.
* Update step to correct existing incorrect records.
2020-01-14 07:34:18 +08:00
Eloy Lafuente (stronk7)
41fed86e18 Merge branch 'MDL-65987-master' of git://github.com/andrewnicols/moodle 2020-01-13 18:28:35 +01:00
Tim Hunt
76a49e4a1e MDL-67653 questions: prevent the flag flickering as the page loads 2020-01-10 14:27:42 +00:00
Luca Bösch
d4bca909c2 MDL-67625 quiz: only section titles should be large when editing. 2020-01-09 17:23:20 +01:00
Mario Wehr
a3a1b61b03 MDL-67204 assign task: Use lastruntime from task_scheduled 2020-01-09 17:09:22 +01:00
Jun Pataleta
16f2eaec8a Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle 2020-01-09 15:22:27 +08:00
Andrew Nicols
3b1c8dfd67 MDL-67544f= mod_forum: Correct "for" attribute on private checkbox 2020-01-09 14:55:52 +08:00
Andrew Nicols
350edf7567 MDL-67544 mod_forum: Ensure post actions menu id is unique 2020-01-09 14:08:12 +08:00
Eloy Lafuente (stronk7)
fd25850a8d Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle 2020-01-08 16:35:39 +01:00