Commit graph

100821 commits

Author SHA1 Message Date
Sara Arjona
2e877cd448 Merge branch 'MDL-70763-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-28 12:36:30 +02:00
Ruslan Kabalin
66e8f7a3d4 MDL-71051 core_user: fix issues and address review issues 2021-04-28 11:49:28 +02:00
Marina Glancy
b597b491ec MDL-71051 core_user: create user profile field form is now modal form 2021-04-28 11:49:28 +02:00
Marina Glancy
ac494c7d91 MDL-71051 core_user: move user profile edit field form to classes 2021-04-28 11:49:27 +02:00
Marina Glancy
abb2c72b26 MDL-71051 core_user: editing user profiles - modal form, template 2021-04-28 11:49:27 +02:00
Marina Glancy
bc74e13322 MDL-71051 core_user: move edit profile category form to classes 2021-04-28 11:49:27 +02:00
Marina Glancy
10bf851874 MDL-71051 core_user: use user profile generator in all tests 2021-04-28 11:49:27 +02:00
Marina Glancy
5ac934b1fd MDL-71051 core_user: fix mistakes in phpdocs, deprecated unused func 2021-04-28 11:49:27 +02:00
Marina Glancy
3c9e54eafa MDL-71051 core_user: always use API when working with profile fields 2021-04-28 11:49:27 +02:00
Mihail Geshoski
a4bd04e892 MDL-71470 repository_googledocs: Update unit tests 2021-04-28 16:29:33 +08:00
Sara Arjona
7fae164d47 Merge branch 'MDL-71244-311' of git://github.com/lucaboesch/moodle into MOODLE_311_STABLE 2021-04-28 09:17:34 +02:00
Jun Pataleta
e197cf24d8 Merge branch 'MDL-71330-311' of https://github.com/dcai/moodle into MOODLE_311_STABLE 2021-04-28 13:41:52 +08:00
Dongsheng Cai
f628b3d1bd MDL-71330 mod_chat: Implement the activity dates functionality 2021-04-28 15:34:02 +10:00
Mihail Geshoski
dbd4620365 MDL-71470 repository_googledocs: Use file name in the source attribute
Instead of using the file title when generating the source attribute,
we should be using only the name of the Google Drive file in order to
avoid having the original extension within the filename after the file
is imported and added into Moodle.
2021-04-28 12:56:46 +08:00
Andrew Nicols
e3fb7862d7 Merge branch 'MDL-71168-311' of git://github.com/paulholden/moodle into MOODLE_311_STABLE 2021-04-28 10:50:02 +08:00
Andrew Nicols
2f1e3eada4 MDL-70909 mod_h5pactivity: Whitespace fix 2021-04-28 10:26:24 +08:00
Andrew Nicols
66131d9307 Merge branch 'MDL-70909-311' of git://github.com/ferranrecio/moodle into MOODLE_311_STABLE 2021-04-28 10:25:44 +08:00
Andrew Nicols
6645cb3396 Merge branch 'MDL-71386-311' of git://github.com/NoelDeMartin/moodle into MOODLE_311_STABLE 2021-04-28 10:15:42 +08:00
Andrew Nicols
1d7bbdfc08 Merge branch 'MDL-71389-311' of git://github.com/marinaglancy/moodle into MOODLE_311_STABLE 2021-04-28 09:49:48 +08:00
Eloy Lafuente (stronk7)
f6062a0bf8 MDL-56609 phpunit: Fix bogus expectation on DST changes day
Current test works ok every day of the year but the day of
DST begin changes (last Sunday of March currently).

That day, 01:00 Europe/London simply doesn't exist, because
the time is moved forward by 60 minutes.

Hence the expectation for the next cron execution is not 1 "normal"
day (24h) but 1 less hour.

Note this only happens for the current test on DST begins, the
opposite change (DST ends), happening the last Sunday of October
is not affected, because, at all effects, 01:00 is a perfectly normal
and existing hour.
2021-04-27 18:30:56 +02:00
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