21868 Commits

Author SHA1 Message Date
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
Eloy Lafuente (stronk7)
1b987615d9 Merge branch 'MDL-67533-master' of git://github.com/junpataleta/moodle 2020-01-08 16:31:25 +01:00
Davo Smith
b791ed15e2 MDL-62815 mod_lti: fix error when clicking 'Select content' option 2020-01-08 09:46:41 +00:00
Davo Smith
dcb0f01f58 MDL-62815 mod_lti: fix javascript error + bump version number 2020-01-08 09:46:38 +00:00
Davo Smith
3a69044fb3 MDL-62815 mod_lti: fix logic around content button and launch container 2020-01-08 09:45:06 +00:00
Jun Pataleta
b93c99aa54 MDL-62815 mod_lti: Conditionally execute JS related to tool type 2020-01-08 09:45:05 +00:00
Davo Smith
477e87170b MDL-62815 mod_lti: adjust new capabilities
MDL-62815 mod_lti: improve lang strings + use clonepermissionsfrom

MDL-62815 mod_lti: prevent changing from manual instance without cap
2020-01-08 09:45:05 +00:00
yair.spielmann
e3b82acdc1 MDL-62815 mod_lti: Capabilities for adding default and preconfigured 2020-01-08 09:45:05 +00:00
Jun Pataleta
85770120f6 MDL-67533 mod_forum: Remove duplicate Re in experimental view subject 2020-01-08 16:29:20 +08:00
Jun Pataleta
010a253a23 MDL-35971 mod_forum: Add proper discussion list table description 2020-01-08 15:37:42 +08:00
Andrew Nicols
d0c026b563 MDL-67544 mod_forum: Ensure that private reply checkbox has unique id 2020-01-08 15:26:03 +08:00
Tim Hunt
74f3415483 MDL-67631 quiz editing: add random dialogue should offer all numbers 2020-01-07 13:59:39 +00:00
Andrew Nicols
7bb70ad19b Merge branch 'MDL-65849-master' of git://github.com/rezaies/moodle 2020-01-07 13:17:08 +08:00
Andrew Nicols
032fbdc746 Merge branch 'MDL-66938-master' of https://github.com/grabs/moodle 2020-01-07 12:40:52 +08:00
Andrew Nicols
e3bc4eb7a9 MDL-67114 mod_wiki: Whitespace fix 2020-01-07 11:04:41 +08:00
Andrew Nicols
1429ca06a4 Merge branch 'MDL-67114' of https://github.com/stronk7/moodle 2020-01-07 09:37:05 +08:00
Andrew Nicols
8092e7cfa2 MDL-67544 mod_forum: Add missing label for discussion move 2020-01-06 15:01:08 +08:00
Andrew Nicols
3cefa1b733 MDL-67544 mod_forum: Add missing menuitem roles 2020-01-06 15:01:08 +08:00
Andrew Nicols
10999d33e5 MDL-67544 mod_forum: Correct aria-labelledby node 2020-01-06 15:01:07 +08:00
Andrew Nicols
17133749ab MDL-67544 mod_forum: Correct aria-controls to point to valid node 2020-01-06 15:01:07 +08:00
Andrew Nicols
72622f240e MDL-67544 mod_forum: Add missing aria label for grade search 2020-01-06 15:01:07 +08:00