Commit graph

101461 commits

Author SHA1 Message Date
Luca Bösch
7758387005 MDL-71244 enrol_manual: Add bootstrap classes to buttons 2021-04-27 17:27:53 +02:00
Sara Arjona
89c919813e Merge branch 'MDL-71403-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-27 16:02:02 +02:00
Ferran Recio
17ee80ca64 MDL-70909 mod_h5pactivity: fix reports on freeze context 2021-04-27 15:35:39 +02:00
Sara Arjona
5b315fa595 on-demand release 3.11dev+ 2021-04-27 15:15:26 +02:00
Jun Pataleta
00dfc98251 Merge branch 'MDL-71410-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-04-27 12:36:29 +08:00
Shamim Rezaie
b315affbd4 MDL-71410 core: Prevent recursively calling getters 2021-04-27 14:34:09 +10:00
Shamim Rezaie
d8806cc8aa MDL-71410 mod_quiz: implement activity_dates for the quiz module 2021-04-27 14:34:09 +10:00
Shamim Rezaie
d89d984048 MDL-71410 mod_quiz: Cache quiz times in modinfo for performance
We update the dates with user/group overrides. The calculation of
the override in the quiz module is different from the assignment
module as the quiz_overrides table des not have a sortorder column.
See quiz_update_effective_access().
2021-04-27 14:34:09 +10:00
Shamim Rezaie
e8caa2d2a2 MDL-71410 mod_quiz: Cache user and group overrides 2021-04-27 14:34:07 +10:00
Shamim Rezaie
9bf74e7e85 MDL-71410 mod_lesson: implement activity_dates for the lesson module 2021-04-27 14:33:49 +10:00
Shamim Rezaie
5f9ca816f4 MDL-71410 mod_lesson: Cache lesson times in modinfo for performance
We update the dates with user/group overrides. The calculation of
the override in the lesson module is different from the assignment
module as the lesson_overrides table des not have a sortorder column.
See lesson::update_effective_access().
2021-04-27 14:33:49 +10:00
Shamim Rezaie
04e6d285d8 MDL-71410 mod_lesson: Cache user and group overrides 2021-04-27 14:33:47 +10:00
Shamim Rezaie
b700f690ab MDL-71410 mod_assign: implement activity_dates for the assignment module 2021-04-27 14:33:28 +10:00
Shamim Rezaie
279def66dc MDL-71410 mod_assign: Cache assign times in modinfo for performance
We update the dates with user/group overrides
2021-04-27 14:33:27 +10:00
Shamim Rezaie
7b54f5b2e6 MDL-71410 mod_assign: Cache user and group overrides 2021-04-27 14:33:26 +10:00
Shamim Rezaie
8408cb1050 MDL-71410 core: Introduce override_customdata()
The get_custom_data() method now calls obtain_dynamic_data() because
$this->customdata can be dynamic now.
2021-04-27 14:32:54 +10:00
Jun Pataleta
623a3d9d1e Merge branch 'MDL-71252-311' of git://github.com/HuongNV13/moodle into MOODLE_311_STABLE 2021-04-27 10:40:55 +08:00
Huong Nguyen
93d00d6777 MDL-71252 completion: PHPUnit failure 2021-04-27 08:43:16 +07:00
Adrian Greeve
dd9ca2ee93 Merge branch 'MDL-71329-311' of https://github.com/Chocolate-lightning/moodle into MOODLE_311_STABLE 2021-04-27 09:36:33 +08:00
Víctor Déniz
57a6625dab Merge branch 'MDL-65687-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-27 01:12:30 +01:00
Víctor Déniz
5cb1ae3c07 Merge branch 'MDL-71003-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-27 00:36:28 +01:00
Víctor Déniz
5ffa79f8d8 Merge branch 'MDL-71441-311' of git://github.com/bmbrands/moodle into MOODLE_311_STABLE 2021-04-27 00:04:56 +01:00
Sara Arjona
d37145a52f Merge branch 'MDL-70917-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-26 15:18:04 +02:00
Bas Brands
b1db156ec0 MDL-71441 core_user: add profilefield social to standard plugins list 2021-04-26 14:43:55 +02:00
Jun Pataleta
69f6e1e188 MDL-71252 completion: Fix Behat test for manual completion display
Adjusting the test since the manual completion button is now being
hidden from the course homepage when completion is disabled.
2021-04-26 19:53:59 +08:00
Sara Arjona
523e57fb14 Merge branch 'MDL-71416-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-26 12:35:40 +02:00
Sara Arjona
6a5b32a584 Merge branch 'MDL-71392-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-26 11:52:54 +02:00
Jun Pataleta
2d576c3b41 Merge branch 'MDL-71252-311' of git://github.com/HuongNV13/moodle into MOODLE_311_STABLE 2021-04-26 17:02:31 +08:00
Huong Nguyen
195ac89d7d MDL-71252 completion: Behat failure 2021-04-26 15:59:26 +07:00
Eloy Lafuente (stronk7)
51536c7cea Merge branch 'MDL-70446-m311' of https://github.com/sammarshallou/moodle into MOODLE_311_STABLE 2021-04-26 10:45:07 +02:00
Jun Pataleta
88a5780f09 Merge branch 'MDL-71252-311' of git://github.com/HuongNV13/moodle into MOODLE_311_STABLE 2021-04-26 15:55:04 +08:00
Sara Arjona
7b62b266fe Merge branch 'MDL-71370-311-test' of git://github.com/junpataleta/moodle into MOODLE_311_STABLE 2021-04-26 09:50:47 +02:00
Huong Nguyen
d3dc55b4d5 MDL-71252 completion: Avoid showing the 'Mark as done' button
The following activites will be applied:
 - Label
 - File (Force download/Open/In pop-up)
 - URL (Open/In pop-up)
2021-04-26 14:25:31 +07:00
Paul Holden
8518751467 MDL-71434 mod_data: add form control class to template textarea. 2021-04-25 18:34:58 +01:00
Paul Holden
10d853a891 MDL-71403 message: Bootstrap controls for message preferences.
Replicates changes made to notification preferences in e41b3485.
The templates for each are similar enough than one can be used
from the other. Remove redundant styles for previous controls.
2021-04-25 16:43:11 +01:00
Jun Pataleta
469e492196 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:15:19 +08:00
Tim Schroeder
647c5ac8cd MDL-70110 assign: fixed ws get_submissions for groups 2021-04-24 12:10:48 +02:00
Paul Holden
95c8e10fcc MDL-71416 report_log: user context header should show users name.
Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch>
2021-04-23 20:24:28 +01:00
Sara Arjona
6f890af454 Merge branch 'MDL-71144-311' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-04-23 13:16:10 +02:00
Marina Glancy
66a7520a7b MDL-71397 mod_glossary: empty category is the same as all categories
In PHP8 empty string is not equal to zero
2021-04-23 11:46:12 +02:00
Sara Arjona
fe04d078a4 on-demand release 3.11dev+ 2021-04-23 10:47:17 +02:00
Sara Arjona
61b35eebfa NOBUG: Fixed SVG browser compatibility 2021-04-23 10:47:15 +02:00
Mathew May
37a80759ea MDL-71329 tool_moodlenet: Check to see if we get errors before curl 2021-04-23 15:48:31 +08:00
Jun Pataleta
c60671bdb2 Merge branch 'MDL-71171_311' of git://github.com/mdjnelson/moodle into MOODLE_311_STABLE 2021-04-23 12:41:10 +08:00
Mark Nelson
e98a902a7b MDL-71171 customfield_text: ensure we set defaults properly 2021-04-23 12:37:28 +08:00
abgreeve
bdad52f522 Merge branch 'MDL-70818-311-4' of git://github.com/rezaies/moodle into MOODLE_311_STABLE 2021-04-23 12:18:31 +08:00
Andrew Nicols
5319d41af0 Merge branch 'MDL-70903-311' of git://github.com/roland04/moodle into MOODLE_311_STABLE 2021-04-23 11:56:59 +08:00
Andrew Nicols
9d275ebbfd Merge branch 'MOODLE_311_STABLE-MDL-71376' of https://github.com/rjnl/moodle into MOODLE_311_STABLE 2021-04-23 11:52:31 +08:00
Shamim Rezaie
57926096b8 MDL-70818 mod_workshop: implement activity_dates for the workshop module 2021-04-23 13:47:51 +10:00
Shamim Rezaie
2d19fa0d5f MDL-70818 mod_workshop: cache workshop times in modinfo for performance 2021-04-23 13:47:51 +10:00