Commit graph

104207 commits

Author SHA1 Message Date
Andrew Nicols
b710e57ebd Merge branch 'MDL-73766-master' of https://github.com/lucaboesch/moodle 2022-02-08 10:54:44 +08:00
Peter Dias
675b7eb234 MDL-73373 report: Disable module level report options 2022-02-08 09:04:04 +08:00
Peter Dias
81492f900f MDL-73373 roles: Enable tertiary navigation in module context 2022-02-08 09:04:04 +08:00
Víctor Déniz
1a42a95e8d Merge branch 'MDL-73279' of https://github.com/call-learning/moodle 2022-02-07 18:13:20 +00:00
Eloy Lafuente (stronk7)
c5e2a4ded0 Merge branch 'MDL-73601-master' of https://github.com/aanabit/moodle 2022-02-07 12:01:19 +01:00
Mikel Martín
268157743f MDL-73116 reportbuilder: Use triggerElement parameter to return focus 2022-02-07 11:33:35 +01:00
Mikel Martín
8b535c297b MDL-73116 core: Add triggerElement parameter to saveCancel dialogue
triggerElement parameter is used to return the focus after modal is hidden
2022-02-07 11:33:35 +01:00
Eloy Lafuente (stronk7)
43280530b6 MDL-73716 phpunit: remove old simpletest static members
And replace them by phpunit @covers annotations including
all the classes declared or extended in the removed members.

It's not awesome coverage, but better than nothing.
2022-02-07 10:42:17 +01:00
Shamim Rezaie
9efbb2346a Merge branch 'MDL-73684-master' of https://github.com/marinaglancy/moodle 2022-02-07 18:40:39 +11:00
Luca Bösch
c5df2d0c58 MDL-73766 theme_boost: have login page use loginto string 2022-02-07 07:54:31 +01:00
Andrew Nicols
d4d0e14fef Merge branch 'MDL-73697-master' of https://github.com/ferranrecio/moodle 2022-02-07 14:23:31 +08:00
Shamim Rezaie
7a1488120e Merge branch 'MDL-73644-master' of https://github.com/lameze/moodle 2022-02-07 16:41:26 +11:00
Shamim Rezaie
7c8aaa6df2 Merge branch 'MDL-73480-master' of https://github.com/bmbrands/moodle 2022-02-07 16:36:39 +11:00
Andrew Nicols
8c08634b69 Merge branch 'MDL-73659' of https://github.com/stronk7/moodle 2022-02-07 13:34:01 +08:00
Simey Lameze
5396814489 MDL-73644 core: link confirm module CL to related JSDoc 2022-02-07 13:26:47 +08:00
Huong Nguyen
02f622c247 MDL-73784 usertours: Update tour steps to use Moodle langstring 2022-02-07 10:57:16 +07:00
Huong Nguyen
4c097bc6c0 MDL-73784 usertours: Support multiple PIXICON placeholder 2022-02-07 10:49:52 +07:00
Huong Nguyen
681df03204 MDL-73784 usertours: Make End tour button's label translatable
We can use the Moodle language format for End tour button's label now
2022-02-07 10:49:51 +07:00
Huong Nguyen
d9d068699c MDL-73784 usertours: Deprecation of the step::get_string_from_input
Modified code to just simply call helper::get_string_from_input() rather than duplicating the code
2022-02-07 09:45:31 +07:00
Huong Nguyen
21caea1f9a MDL-73784 usertours: Improve the tours maching
- Introduce some new constants like MY, MYCOURSES, FRONTPAGE_MY...
 - The Tour now can detect the URL match is pointing to Dashboard (/my/) or My Course (/my/courses.php) correctly
2022-02-07 09:39:46 +07:00
Andrew Nicols
2d39b5bb39 Merge branch 'master_MDL-73666-questionimagebug' of https://github.com/catalyst/moodle-MDL-70329 2022-02-07 10:12:20 +08:00
Andrew Nicols
bb20aefc8d Merge branch 'MDL-71712-master' of https://github.com/aanabit/moodle 2022-02-07 09:53:09 +08:00
Marc-Alexandre Ghaly
66115d7f0b MDL-73666 core_question: Question bank usage and comment modal fix
Fix for question bank modals not showing question images.
2022-02-07 08:37:05 +11:00
David Mudrák
38e05ba09f MDL-73748 admin: Check for available updates daily on random time
It's been a mistake to make every Moodle site out there to check for
available update every two hours, on the hour. We are experiencing
server load peaks that are harder and harder to deal with.

The patch addresses this by (1) checking for available updates just once
a day and (2) distributing the checking times randomly around the clock.
2022-02-06 22:02:34 +01:00
Eloy Lafuente (stronk7)
7a0d024e60 MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper
All restore_date_test, api_test, rule_test, plugin_test,
manager_test, helper_test testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to:

- All restore_date_test cases have been put under xxx\backup
  level 2 (valid API) namespace.
2022-02-05 00:03:32 +01:00
Sara Arjona
6652ec135b on-demand release 4.0dev+ 2022-02-04 18:18:46 +01:00
Paul Holden
b8f9f6635c MDL-73669 behat: correctly deprecate step for using flat navigation. 2022-02-04 17:18:43 +01:00
Marina Glancy
15eb402228 MDL-73669 core_enrol: move deprecated behat steps to own file
Steps were initially deprecated in MDL-72090
2022-02-04 17:17:08 +01:00
Marina Glancy
c5c33d8eba MDL-73669 core_calendar: move deprecated behat steps to own file
Steps were initially deprecated in  MDL-72810
2022-02-04 17:17:08 +01:00
Marina Glancy
31751c2f32 MDL-73669 behat: allow multiple files with deprecated steps 2022-02-04 17:17:08 +01:00
Sara Arjona
de83532bfa MDL-71696 question: Fix random PHPUnit error with question order 2022-02-04 18:10:35 +02:00
Sara Arjona
9cc81bb7bf MDL-71696 question: Fix Oracle GROUP BY error - Round 2 2022-02-04 18:10:35 +02:00
Eloy Lafuente (stronk7)
3e071a5240 Merge branch 'MDL-71696-behat-oracle-fix' of https://github.com/sarjona/moodle 2022-02-04 18:10:35 +02:00
Sara Arjona
2a01259d85 MDL-71696 core_question: Fix Oracle GROUP BY error 2022-02-04 18:10:35 +02:00
Paul Holden
2e8a9623e5 MDL-73773 behat: correctly deprecate step for using flat navigation. 2022-02-04 11:59:36 +00:00
Laurent David
e1d255c95b MDL-73368 mod_bigbluebuttonbn: update activity icon
* Add the new icon (svg and png)
* Remove unused icon and font (the glyph was used once in the removed style)
2022-02-04 10:44:19 +01:00
Jun Pataleta
33208c84f3 Merge branch 'MDL-73651-master' of git://github.com/rezaies/moodle 2022-02-04 10:36:50 +08:00
Shamim Rezaie
a159527748 MDL-73651 calendar: search in localised module type names as well 2022-02-04 10:06:05 +11:00
Víctor Déniz
a5a3f87a76 Merge branch 'MDL-73514' of https://github.com/stronk7/moodle 2022-02-03 22:20:20 +00:00
Víctor Déniz
8890a730fc Merge branch 'MDL-73517' of https://github.com/stronk7/moodle 2022-02-03 22:02:39 +00:00
Víctor Déniz
6303c65b3f Merge branch 'MDL-73758-master' of https://github.com/snake/moodle 2022-02-03 21:45:50 +00:00
Eloy Lafuente (stronk7)
ecbdf3fbad Merge branch 'MDL-71696-fix-oracle' of https://github.com/sarjona/moodle 2022-02-03 22:38:28 +01:00
Víctor Déniz
29f699cef7 Merge branch 'MDL-73605' of https://github.com/paulholden/moodle 2022-02-03 21:29:09 +00:00
Eloy Lafuente (stronk7)
549cfc5efb Merge branch 'MDL-73765-master-twenty-three-minutes' of https://github.com/mudrd8mz/moodle 2022-02-03 22:27:02 +01:00
Sara Arjona
dc8b6a84a1 MDL-71696 question: Fix Oracle failures with ambiguous colum 2022-02-03 19:28:27 +01:00
David Mudrák
296f714916 MDL-73765 task: Fix calculation of random minute in the task schedule
The random minute was incorrectly set to a random value from the range
0 - 23 instead of 0 - 59 due to this copy & paste mistake.
2022-02-03 19:22:58 +01:00
Sara Arjona
1d0609bbdd MDL-71696 question: Align new tables with install/upgrade
Amended because, in all cases, install.xml wins and we
have make upgrade.php to match it...

But in the question_versions->status case, that needs to
be NOT_NULL, so upgrade was correct and install.xml has
been changed for it.

Note this has been changed without using the editor because
it has been detected that there are other changes in the xml
file that have been added manually, we'll create a "reconcile"
issue to fix that (mainly whitespace).

So, yes, please, always use the editor.
2022-02-03 16:32:04 +01:00
Ilya Tregubov
aafeca8f75 Merge branch 'MDL-73664-master' of https://github.com/aanabit/moodle 2022-02-03 16:37:55 +02:00
Eloy Lafuente (stronk7)
4f02047208 Merge branch 'MDL-73507-master' of https://github.com/lameze/moodle 2022-02-03 15:25:18 +01:00
Gareth Barnard
9636ca7e36 MDL-73719 themes: Redundant theme_reset_all_caches callback. 2022-02-03 15:11:00 +01:00