Commit graph

4109 commits

Author SHA1 Message Date
Ilya Tregubov
0e979b85cc Merge branch 'MDL-72042-master' of git://github.com/sarjona/moodle 2021-09-22 13:34:28 +02:00
Jun Pataleta
e6e32acd21 Merge branch 'MDL-58939-master' of git://github.com/sarjona/moodle 2021-09-21 10:38:11 +08:00
Amaia Anabitarte
7958fa72e1 MDL-72356 core_course: auto enrol admins when adding a new course 2021-09-20 13:09:29 +02:00
Sara Arjona
128ebcc4b0 MDL-58939 repository: Remove picasa repository
Picasa is discontinued since 2016 so repository_picasa has been
removed from core Moodle.
2021-09-17 10:46:09 +02:00
Sara Arjona
ba06999e48 MDL-58939 portfolio: Remove picasa portfolio
Picasa is discontinued since 2016 so portfolio_picasa has been
removed from core Moodle.
2021-09-17 10:45:12 +02:00
Sara Arjona
a0d3e32aa9 MDL-72042 media: Remove SWF media player
The Flash Player was deprecated in 2017 and officially discontinued
on 31 December 2020, so media_swf player has been completely
removed from Moodle core.
2021-09-17 10:39:17 +02:00
Ilya Tregubov
5ea3545115 weekly release 4.0dev 2021-09-17 08:58:30 +02:00
Eloy Lafuente (stronk7)
2d65b1eb52 Merge branch 'MDL-72115-master' of git://github.com/sarjona/moodle 2021-09-14 22:42:15 +02:00
Sara Arjona
3f2f2e85bb MDL-72115 course: Rename Miscellaneous category
The "Miscellaneous" course category has been renamed to Category 1.
Besides, the description field has been set from FORMAT_MOODLE to
FORMAT_HTML.
2021-09-13 08:36:17 +02:00
Sara Arjona
f471a7d23a MDL-71473 message: Remove jabber output notification
Jabber is not widely used these days so message_jabber has been removed
from Moodle core.
2021-09-13 08:32:47 +02:00
Eloy Lafuente (stronk7)
1d700796ca weekly release 4.0dev 2021-09-11 12:12:12 +02:00
Sara Arjona
c6d11f0f6c MDL-72041 qformat: Remove WebCT question format
WebCT was acquired by Blackboard in 2006, so qformat_webct has been
completely removed from Moodle core.
2021-09-02 16:16:55 +02:00
Sara Arjona
443a980aea weekly release 4.0dev 2021-09-02 11:51:22 +02:00
Andrew Nicols
206023c15f weekly release 4.0dev 2021-08-27 12:00:08 +08:00
Peter Dias
dfefc86393 MDL-72032 core: Add roles to items
- Part of: MDL-69588
2021-08-23 17:47:22 +08:00
Peter Dias
f4d3606a2e MDL-71901 core: Allow blocks to specify their own nav
- Part of: MDL-69588
2021-08-23 17:47:01 +08:00
Peter Dias
0c76a848ea MDL-71148 core_navigation: Templates to generate user menu
- Part of: MDL-69588
2021-08-23 17:46:36 +08:00
Ilya Tregubov
1464843a25 weekly release 4.0dev 2021-08-20 13:24:29 +02:00
Ilya Tregubov
036800d99d weekly release 4.0dev 2021-08-12 16:50:14 +02:00
Víctor Déniz
0d0e66d37c weekly release 4.0dev 2021-08-05 16:27:17 +01:00
Paul Holden
542f2927f7 MDL-70794 reportbuilder: register new core sub-system.
In addition to housekeeping for the new sub-system, define our
table schema to be used in later persistents.
2021-07-28 16:40:50 +01:00
Ilya Tregubov
dc437b5171 weekly release 4.0dev 2021-07-28 16:48:19 +02:00
Ilya Tregubov
8c0853d026 weekly release 4.0dev 2021-07-23 11:30:58 +02:00
abgreeve
8453fe0ddb weekly release 4.0dev 2021-07-16 10:16:35 +08:00
Eloy Lafuente (stronk7)
c357779722 weekly release 4.0dev 2021-07-08 23:43:55 +02:00
Ilya Tregubov
3610f1ee3b weekly release 4.0dev 2021-07-01 16:41:59 +02:00
Eloy Lafuente (stronk7)
a747fd3055 weekly release 4.0dev 2021-06-24 23:03:06 +02:00
Víctor Déniz
338b60f43b weekly release 4.0dev 2021-06-17 14:54:50 +01:00
abgreeve
9533e8ddf5 weekly release 4.0dev 2021-06-11 13:52:09 +08:00
Andrew Nicols
7782eeb55e Merge branch 'MDL-65637-master' of git://github.com/peterRd/moodle 2021-06-09 13:22:49 +08:00
Sara Arjona
5f91cbb611 MDL-71135 course: core_course_get_state external method 2021-06-04 16:43:28 +02:00
Eloy Lafuente (stronk7)
411150a424 weekly release 4.0dev 2021-06-03 23:56:05 +02:00
Eloy Lafuente (stronk7)
0f5e9aa759 Merge branch 'master-MDL-71438_v2' of https://github.com/golenkovm/moodle 2021-06-02 23:51:52 +02:00
Mikhail Golenkov
ee3c6ad3ac MDL-71438 blocks: Add index on mdl_user_preferences.name 2021-06-02 22:10:37 +10:00
Peter Dias
8e71f6b1f1 MDL-65637 core_oauth2: Introduce a new custom linkedin oauth2 client 2021-06-02 08:11:38 +08:00
Sara Arjona
30b8ad51f4 weekly release 4.0dev 2021-05-27 17:45:06 +02:00
Sara Arjona
efb3d4e7a7 weekly release 4.0dev 2021-05-20 11:09:00 +02:00
Sara Arjona
0b69b37f04 weekly release 4.0dev 2021-05-14 11:06:18 +02:00
Sara Arjona
3da88a7664 weekly release 4.0dev 2021-05-11 12:42:28 +02:00
Eloy Lafuente (stronk7)
ad8b3d2ba9 weekly release 4.0dev 2021-05-07 16:54:26 +02:00
Sara Arjona
1c9837a557 weekly release 4.0dev 2021-05-04 13:27:45 +02:00
Ilya Tregubov
430746d3a2 MDL-66431 core: Remove activity chooser user preference.
This commit removes activity chooser user preference and
course preference page. Separate dropdowns to activity and
resource is also removed.
2021-05-01 16:21:59 +02:00
Víctor Déniz
0a986fdf13 weekly release 4.0dev 2021-04-30 12:54:01 +01:00
Sara Arjona
a5f0b354e7 weekly release 4.0dev 2021-04-27 15:14:50 +02:00
Jun Pataleta
fca42002f7 MDL-71370 course: Make showcompletionconditions nullable
* When completion tracking is not enabled for the course, it does not
make sense for the course's showcompletionconditions setting to
be set according to the default value indicated by the
"moodlecourse | showcompletionconditions" admin setting. Setting
showcompletionconditions as enabled when completion tracking is disabled
makes even less sense. So in such a case, we should not be setting a
default value for showcompletionconditions and allow it to be null.

* When the course is edited and completion tracking is enabled, this
also would set the "Show completion conditions" field to default to the
value set in the "moodlecourse | showcompletionconditions" admin
setting.
2021-04-24 19:07:42 +08:00
Sara Arjona
146a38dc45 weekly release 4.0dev 2021-04-23 10:46:53 +02:00
Simey Lameze
5b0282847e MDL-71156 core: machinery to recover orphaned calendar events
The machinery to fix orphaned calendar events that were broken by MDL-67494.

The solution consists of:

1) Upgrade step that checks if this site has executed the problematic upgrade steps and
   if positive, it will schedule a new run for calendar_fix_orphaned_events adhoc task.

2) Adhoc task that will self-spawn calling the recovery machinery, running until
   all the orphaned calendar events are fixed. It also sets the maximum runtime of
   60 seconds. It is also possible to override that number by specifing the desired
   number setting the ->calendareventsmaxseconds in your config.php

3) CLI script that will look for all the calendar events which userids
   where broken by a wrong upgrade step, affecting to Moodle 3.9.5
   and up.

   It performs checks to both:
     a) Detect if the site was affected (ran the wrong upgrade step).
     b) Look for orphaned calendar events, categorising them as:
       - standard: site / category / course / group / user events
       - subscription: events created via subscriptions.
       - action: normal action events, created to show common important dates.
       - override: user and group override events, particular, that some activities support.
       - custom: other events, not being any of the above, common or particular.

   By specifying it (--fix) try to recover as many broken events (missing userid) as
   possible. Standard, subscription, action, override events in core are fully supported but
   override or custom events should be fixed by each plugin as far as there isn't any standard
   API (plugin-wise) to launch a rebuild of the calendar events.

4) Unit tests and helper functions to generate calendar events. We have decided to
   keep the tests simple, testing only true and false and not using data generators because
   the code is purely to recover the calendar events and won't turn into an API or something
   and also due to the urgency of this issue.
   The helpers have been created in calendar/tests/helpers.php since there are no data generators
   for calendar.
2021-04-22 10:28:52 +08:00
Sara Arjona
e29b256438 weekly release 4.0dev 2021-04-20 15:51:10 +02:00
Peter Burnett
71ffad7ea6 MDL-71031 webservices: Extended gradecategory creation API
This adds a new webservice that creates gradecategories as a batch,
and deprecates the old single creation call, which is superseded.
It also patches a few small issues in the single WS, for any integrations
currently relying on that webservice.
2021-04-18 11:52:07 +02:00
Sara Arjona
0fd37bf5d8 weekly release 4.0dev 2021-04-16 17:03:25 +02:00