2219 Commits

Author SHA1 Message Date
Jun Pataleta
e885801e58 Merge branch 'MDL-69061-master' of https://github.com/junpataleta/moodle 2022-01-11 11:56:52 +08:00
Adam Pawełczak
f4783dbb0a MDL-69061 core: Fix admin path replacement with path to $CFG->admin 2022-01-11 11:32:26 +08:00
Jun Pataleta
7c710d6c6e Merge branch 'MDL-73487-master' of git://github.com/mihailges/moodle 2022-01-07 11:02:01 +08:00
Jun Pataleta
0dcfa504a0 Merge branch 'MDL-68773-clear-adhoc-tasks' of https://github.com/Peterburnett/moodle 2022-01-05 18:47:01 +08:00
Adrian Greeve
0a04ebde11 MDL-72930 navigation: Remove duplicated navigation boxes.
Some pages have settings that really aren't required anymore.
These have been removed and a function has been aded so that other
developers can turn off the navigation overflow if they want.
2022-01-04 15:58:52 +08:00
abgreeve
f0ecd475d0 MDL-72930 navigation: Update the reports helper navigation.
This allows injected navigation nodes into the reports to be
shown in the report selector.
2022-01-04 15:58:52 +08:00
abgreeve
ffdf385547 MDL-72930 navigation: Update to the participants page navigation.
This adds the ability for the participants page to display injected
navigation nodes in the users navigation node.
2022-01-04 15:58:52 +08:00
abgreeve
060e5dedee MDL-72930 navigation: Change over old code to use new static methods.
This removes the old and less good methods for retrieving an array
for use with a url_select and uses the newer better ones instead.
2022-01-04 15:58:52 +08:00
abgreeve
f17b124b7b MDL-72930 navigation: Creation of new secondary nav methods
This adds new static methods for general use when dealing with
third party navigation nodes that have been added via callbacks.
2022-01-04 15:58:52 +08:00
Mihail Geshoski
cb9e513ee5 MDL-73487 navigation: Remove outcomes from course admin overflow nodes 2022-01-04 14:57:06 +08:00
Peter Burnett
28d6333f47 MDL-68773 backup: Allow completed async backup + restore tasks to clear 2022-01-04 10:57:58 +10:00
Eloy Lafuente (stronk7)
0b577477e3 Merge branch 'MDL-73420-master' of https://github.com/marinaglancy/moodle 2021-12-29 09:03:37 +01:00
Sara Arjona
a82631ffc2 Merge branch 'MDL-73237' of https://github.com/paulholden/moodle 2021-12-28 15:58:27 +01:00
Sara Arjona
430eddb721 Merge branch 'MDL-73207-cronspec' of https://github.com/brendanheywood/moodle 2021-12-28 15:43:13 +01:00
Sara Arjona
0fc33251bf Merge branch 'MDL-72904-master-dec21' of https://github.com/peterRd/moodle 2021-12-27 08:47:50 +01:00
Peter Dias
96dd6c9c94 MDL-72904 core_badges: Introduce tertiary navigation for badges 2021-12-23 21:02:01 +08:00
Simey Lameze
be018b7c42 MDL-72845 core: add services and support link to help popover 2021-12-22 19:46:49 +08:00
Jun Pataleta
e9bd499fb1 Merge branch 'MDL-72867-master' of https://github.com/HuongNV13/moodle 2021-12-21 11:23:09 +08:00
Marina Glancy
24db1f29fe MDL-73420 core: make static cache compatible with PHP8.1 2021-12-20 17:07:05 +01:00
Huong Nguyen
8c336899a9 MDL-72867 Navigations: User menu improvements 2021-12-15 13:54:45 +07:00
Andrew Nicols
873000b23b Merge branch 'MDL-73329' of https://github.com/paulholden/moodle 2021-12-15 09:34:34 +08:00
Sara Arjona
29649e2d6f Merge branch 'MDL-73231' of https://github.com/Chocolate-lightning/moodle 2021-12-13 16:31:43 +01:00
Mathew May
54e098c5a5 MDL-73231 my: Allow my courses to be a homepage 2021-12-13 22:43:28 +08:00
Peter Dias
a2d8ac6eea MDL-72413 core: Introduce new header component to render standard items
New activity header to render common module items in a centralised location.
2021-12-13 09:49:34 +08:00
Paul Holden
becf3bd15c MDL-73329 admin: improve detection of the admin search page.
After a query has been performed, the individual tab content
(it's settings links) isn't rendered to the page. In this case
we should redirect the user back to initial page without the
query parameter, in order for the tab content to load.
2021-12-10 14:00:38 +00:00
Andrew Nicols
097098735a Merge branch 'MDL-73060' of https://github.com/paulholden/moodle 2021-12-10 11:12:14 +08:00
Paul Holden
d8afa1b4e4 MDL-73060 webservice: fix logged config for first enabled protocol.
Resolves PHP notice from 1dfa86b4.
2021-12-09 10:41:49 +00:00
Jun Pataleta
107bcc143c Merge branch 'MDL-72090-master' of git://github.com/abgreeve/moodle 2021-12-09 11:17:32 +08:00
abgreeve
d02274137a MDL-72090 navigation: Create an overflow menu for course admin.
This adds a select menu for navigation on course administration
 pages such as import, export, course copy, and course reset.
2021-12-09 11:13:35 +08:00
Ilya Tregubov
4de7faf7f1 Merge branch 'master_MDL-72553_qbank_quiz' of https://github.com/catalyst/moodle-MDL-70329 2021-12-08 09:58:00 +02:00
Matt Porritt
556e2f1aec MDL-72553 qbank_customfields: Add custom fields for question types
Custom fields can now be added to question types.
Site administrators can configure the custom fields and
filed types available. Teachers and question creators can
then use these fields for extra question metadata when
creating questions. Question creators can control if
the fields are displayed to students when they are
taking a quiz or not.
This features uses the core Moodle custom field API.

Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Marc-Alexandre Ghaly <marc-alexandreghaly@catalyst-ca.net>
2021-12-07 18:32:41 +11:00
Andrew Nicols
47a81d8844 Merge branch 'MDL-72796_fix-retry-delay-for-redis-session-cache' of https://github.com/ziegenberg/moodle 2021-12-07 10:51:56 +08:00
Paul Holden
5701326429 MDL-73237 check: detect same role overrides in different contexts.
Prevents DML debugging from duplicate values in first field, also
fixes `context` class namespace and removes undefined `localrole`
property of $role object.
2021-12-06 16:23:17 +00:00
Brendan Heywood
a113af2446 MDL-73207 cron: Fixed cronspec field order bug 2021-12-06 17:52:40 +11:00
Shamim Rezaie
4a9e6036fd Merge branch 'MDL-73245-master' of https://github.com/cameron1729/moodle 2021-12-06 17:08:11 +11:00
Cameron Ball
f71fced168 MDL-73245 cache: Fix bug with session lock debugging
When session lock debugging and read only sessions deubgging are both
enabled, session lock debugging becomes moot. This patch causes
the session lock deubgging code to exit early if read only sessions
debugging is enabled.
2021-12-06 12:15:53 +08:00
Daniel Ziegenberg
371b490a1f
MDL-72796 caching: fix retry delay for redis session cache
The random retry delay for redis session cache was calculated as
rand(100000, 500000) giving an effective retry delay of 100 seconds
to 500 seconds. That's off by a factor of a thousand! Using Redis as a
session cache and when the connection hangs, you can get random
"cannot obtain session lock" errors because it's waiting up to
500 seconds (or about 8.33 minutes) for a Redis connection.
This sets the delay to the originally intended 100ms to 500ms.
(see MDL-59866).

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2021-12-05 17:03:56 +01:00
Ilya Tregubov
689bf6fc1e Merge branch 'MDL-72112-master' of https://github.com/aanabit/moodle 2021-12-03 15:11:01 +02:00
Sara Arjona
9e4f2a45f8 MDL-72112 admin_presets: Add admin_presets tool 2021-12-03 11:11:37 +01:00
Peter Dias
e0d7dbd022 MDL-72875 course: Introduce tertiary nav in participants
- Introduce tertiary nav in the participants page
2021-12-02 13:09:12 +08:00
Sara Arjona
ecfded8d31 MDL-72112 plugininfo: Add new get_enabled_plugin method
Apart from adding the new get_enabled_plugin($pluginname) method to the
core_plugininfo\base class, and overwritting it for filter, a bug in
enable_plugin in filter, introduced in MDL-72720, has been fixed too.
2021-11-30 13:14:26 +01:00
Mathew May
b983003e2e MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
Ilya Tregubov
f6feaad138 Merge branch 'MDL-72456-master' of https://github.com/ferranrecio/moodle 2021-11-25 20:25:19 +02:00
laurentdavid
65212c538b MDL-70658 mod_bigbluebutton: Include version 2021091407 into core
This commit includes a copy of the bigbluebuttonbn activity module from:
- branch: tags/v2.5-alpha.2^0
- commit:
2021-11-24 12:27:27 +00:00
Ferran Recio
73cfbea3ee MDL-72456 theme_boost: style drawers 2021-11-23 12:51:11 +01:00
Sara Arjona
4c1ccf5ed3 Merge branch 'MDL-72934-master' of https://github.com/peterRd/moodle 2021-11-23 10:52:11 +08:00
Safat Shahin
0805e387b7 MDL-72076 bulk actions ui: Implement bulk actions in qbank API
This implementation will introduce bulk actions qbank
plugins which can grab the selected question and perform
actions according to the selected option from dropdown
in the base view.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
2021-11-22 11:35:21 +11:00
Sara Arjona
dc0e7a45df Merge branch 'MDL-70721-master' of git://github.com/rezaies/moodle 2021-11-18 15:18:51 +01:00
Peter Dias
12ded633b4 MDL-72934 core_navigation: Early return if no nodes to be rendered.
Do not export any items for templates if the nodecollection does not
have any children.
2021-11-18 11:17:00 +08:00
Peter Dias
a7a5f6626a MDL-72816 navigation: Make sure a secondary node is active
- Clone nodes shared between nav trees before utilising it.
2021-11-17 15:55:24 +08:00