Commit graph

91442 commits

Author SHA1 Message Date
Shamim Rezaie
2c6d5bf004 MDL-64521 groups: add more unit tests
These tests were created for MDL-64526, just before MDL-64521 came along
and removed the buggy code. These are good tests, so they are being
kept.
2019-01-22 16:43:38 +00:00
Tim Hunt
11cf3ecc56 MDL-64521 grouplib: reduce memory use in groups_get_all_groups
This avoids loading multiple copies of g.* when $withmembers is true
2019-01-22 16:43:36 +00:00
Sara Arjona
3ebff5cc76 Merge branch 'MDL-63480-35' of git://github.com/mihailges/moodle into MOODLE_35_STABLE 2019-01-22 15:19:14 +01:00
Justus Dieckmann
609203ada6 MDL-58256 group: prevents users to be added to a group twice 2019-01-22 13:05:34 +01:00
eWallah
b50e1b2450 MDL-64633 behat: fix FormatterNotFoundException when updating steps. 2019-01-22 11:35:36 +01:00
Jun Pataleta
6649b4f560 MDL-63706 tool_task: Remove run_task_now.feature
This test cannot be run on Behat anymore as the "Run now" feature
depends on $CFG->pathtophp. Even if it's set, the task executed via
"Run now" will be executed for the installed site itself and not on the
Behat test site.

Backport of MDL-60514.
2019-01-22 17:14:21 +08:00
Toni Barberà Melià
365435182e MDL-63706 tasks: added new config parameter. changes in cron execution
Backport of MDL-60514.
2019-01-22 17:14:21 +08:00
Sara Arjona
279ec1f986 Merge branch 'MDL-64486-35' of git://github.com/peterRd/moodle into MOODLE_35_STABLE 2019-01-22 08:23:31 +01:00
Michael Hawkins
b52735e2b4 MDL-63892 mod_forum: Updating lib unit test 2019-01-22 13:55:10 +08:00
Michael Hawkins
ee95b9c319 MDL-63892 mod_forum: Fix last post details in forum view 2019-01-22 13:55:10 +08:00
Michael Hawkins
81e8a74a7b MDL-63892 mod_forum: Correction to timestamp added to edit strings 2019-01-22 13:55:10 +08:00
Peter
5a76a51e3a MDL-32096 core_report: Remove duplicate filters in reports
* Remove duplicate filters from activity completion and course completion report pages
2019-01-22 13:41:31 +08:00
Damyon Wiese
152e59f56d MDL-63628 accessibility: Trigger file links with keyboard 2019-01-22 08:41:01 +08:00
AMOS bot
d41a75ffad Automatically generated installer lang files 2019-01-22 00:10:06 +00:00
David Mudrák
f9d389f45b MDL-64553 message: Add index for the notifications.useridfrom field
The useridfrom would normally be a foreign key to the users table. But
it can also contain some extra negative values with special semantics
(-10 or -20 for no-reply or support user). Therefore we can't make it a
foreign key and the index must be created explicitly.
2019-01-21 13:31:17 +01:00
Jake Dallimore
284b7c820e Merge branch 'MDL-28445-35' of git://github.com/peterRd/moodle into MOODLE_35_STABLE 2019-01-21 15:59:10 +08:00
Jun Pataleta
6a09040e4d MDL-62666 course: Only set the groups setting to true when necessary
* Plus update the comment to be more descriptive.
2019-01-21 14:43:19 +08:00
Andrew Hancox
46bd72dc4f MDL-62666 course: Ignore restore_general_groups on activity duplication 2019-01-21 14:43:19 +08:00
Mihail Geshoski
1f3fd18541 MDL-63480 reports: Fix name filters in completion reports 2019-01-21 09:24:52 +08:00
Jake Dallimore
247b70b0de Merge branch 'MDL-60972-35_delete_section_files' of https://github.com/awagner/moodle into MOODLE_35_STABLE 2019-01-21 09:03:46 +08:00
Tim Hunt
61319327b1 MDL-64590 questions: wrong comments shown in the state history table 2019-01-18 18:06:58 +00:00
Sara Arjona
1237fe9140 MDL-64629 theme_clean: Remove underscore near the help icon 2019-01-18 14:33:06 +01:00
Sara Arjona
e489ebbb0b Merge branch 'MDL-62968-35' of git://github.com/mickhawkins/moodle into MOODLE_35_STABLE 2019-01-18 12:40:07 +01:00
Amaia Anabitarte
15c3d7e208 MDL-64385 user: Case insensitive comparison for email domains 2019-01-18 10:12:18 +01:00
Marcus Boon
c1aa2c28c2 MDL-64599 phpunit: Fix typo in arraydataset 2019-01-18 07:10:20 +10:00
Tim Hunt
901c95587f MDL-63870 quiz: new preview should abandon, not finish, current attempt 2019-01-17 17:55:41 +00:00
Eloy Lafuente (stronk7)
b39f7194a8 weekly release 3.5.4+ 2019-01-17 17:47:58 +01:00
Andreas Wagner
9ebaea25f6 MDL-60972 core_course: delete section files, when section is deleted. 2019-01-17 08:18:34 +01:00
Peter
a67284cb47 MDL-28445 mod_glossary: Use compound strings as opposed to anglicised
* Use compound strings on buttons to help with proper translations
* Updated behat tests
2019-01-17 10:59:13 +08:00
Eloy Lafuente (stronk7)
f14ed54861 Merge branch 'MDL-63103-m35' of https://github.com/NeillM/moodle into MOODLE_35_STABLE 2019-01-16 19:02:36 +01:00
Sara Arjona
e618ee9fb5 Merge branch 'MDL-63916-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2019-01-16 15:33:57 +01:00
Eloy Lafuente (stronk7)
b4ce080632 Merge branch 'MDL-63607-35' of git://github.com/andrewnicols/moodle into MOODLE_35_STABLE 2019-01-16 00:37:21 +01:00
Sara Arjona
a660a74f7a Merge branch 'MDL-64346-35' of git://github.com/abgreeve/moodle into MOODLE_35_STABLE 2019-01-15 15:38:40 +01:00
Adrian Greeve
017578d64f MDL-64346 mod_resource: Fix problems with # in file name. 2019-01-15 14:30:35 +01:00
Sara Arjona
e37c1f7ed0 Merge branch 'MDL-62439-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE 2019-01-15 12:02:37 +01:00
Sara Arjona
57768467dc Merge branch 'MDL-63881-35' of https://github.com/lucaboesch/moodle into MOODLE_35_STABLE 2019-01-15 11:39:26 +01:00
Andrew Nicols
b562767744 MDL-52132 core_question: Comment is different if format has changed 2019-01-15 18:57:42 +11:00
Shamim Rezaie
95f2f79218 MDL-52132 qbehaviour_manualgraded: unit test for changing comment format 2019-01-15 18:57:41 +11:00
Eloy Lafuente (stronk7)
021143d5cc Merge branch 'MDL-63677-35' of git://github.com/sarjona/moodle into MOODLE_35_STABLE 2019-01-14 23:04:07 +01:00
Sara Arjona
fcd19e1faf Merge branch 'MDL-60082-35' of git://github.com/damyon/moodle into MOODLE_35_STABLE 2019-01-14 12:28:30 +01:00
Shamim Rezaie
c9d4bb2d53 MDL-64551 core_question: Fix double ampersand escaping in tag button 2019-01-14 18:24:12 +11:00
Eloy Lafuente (stronk7)
4c6ae316d8 Moodle release 3.5.4 2019-01-12 13:25:56 +01:00
Tim Hunt
8b1bf65b22 MDL-64465 qtypes: fix incorrect context passed to format_string 2019-01-11 10:52:49 +00:00
Tim Hunt
6f60c7a6f2 MDL-64464 drag-drop qtypes: allow <span lang=".."> id draggables
This is for accessibility, so that screen readers can read the drag
items with correct pronunciation.
2019-01-11 10:52:34 +00:00
Tim Hunt
8c6a45020e MDL-61441 accesslib: get_users_by_capability groups perf improvement 2019-01-11 10:52:17 +00:00
Sara Arjona
38f65afecf MDL-63677 core_user: Avoid redirection during signup
Purge cache just for the current user to avoid redirection when 2
simultaneous users try to sign up at the same time and some policy
has to be agreed.
The 'createduser' invalidation event has been removed also because
is not used any more.
Thanks John Azinheira for spotting it!
2019-01-11 10:26:14 +01:00
Neill Magill
cd05eba738 MDL-63103 filebrowser: Speed up finding activities with files
Before this change the query examined at every course_module record in
the context table.

With this change we use the course_modules table to more efficiently
find all the activities in the course, which means that many less
records in the context table need to be examined.
2019-01-11 09:06:06 +00:00
VinhLe
4b1a578e2e MDL-64469 Question bank: Change link questions in category question.
Make it easier to navigate from the category list to the questions in a category.
2019-01-11 11:31:11 +07:00
VinhLe
22497d9d74 MDL-64031 enrol_manual: Fix hard-coded list of user fields
Respect get_extra_user_fields() in PHP code
2019-01-11 11:25:43 +07:00
Luca Bösch
1e90a547e9 MDL-63881 tool_dataprivacy: 'Contact the privacy officer' profile link. 2019-01-10 22:15:35 +01:00