Ilya Tregubov [Tue, 30 Mar 2021 12:03:34 +0000 (14:03 +0200)]
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.
Víctor Déniz [Fri, 30 Apr 2021 11:54:01 +0000 (12:54 +0100)]
weekly release 4.0dev
Jun Pataleta [Fri, 30 Apr 2021 06:18:41 +0000 (14:18 +0800)]
Merge branch 'MDL-71051-master' of git://github.com/abgreeve/moodle
Adrian Greeve [Fri, 30 Apr 2021 05:00:21 +0000 (13:00 +0800)]
MDL-71051 profilefield_datetime: Fix to missing required param.
The define_after_data method was looking for a required_param
when it should have been an optional parameter. This was causing
error messages when creating a new datetime field.
Adrian Greeve [Fri, 30 Apr 2021 03:19:02 +0000 (11:19 +0800)]
Merge branch 'MDL-71481' of git://github.com/paulholden/moodle
Jun Pataleta [Fri, 30 Apr 2021 03:07:57 +0000 (11:07 +0800)]
Merge branch 'MDL-71486-master' of git://github.com/HuongNV13/moodle
Jun Pataleta [Fri, 30 Apr 2021 02:34:11 +0000 (10:34 +0800)]
Merge branch 'MDL-70947-master' of git://github.com/HuongNV13/moodle
Sara Arjona [Thu, 29 Apr 2021 15:49:43 +0000 (17:49 +0200)]
Merge branch 'MDL-60331-master_take3' of git://github.com/lucaboesch/moodle
Sara Arjona [Thu, 29 Apr 2021 15:27:20 +0000 (17:27 +0200)]
Merge branch 'MDL-71162-master-2' of git://github.com/mickhawkins/moodle
Jun Pataleta [Thu, 29 Apr 2021 10:05:09 +0000 (18:05 +0800)]
Merge branch 'MDL-71455-master' of https://github.com/dcai/moodle
Paul Holden [Thu, 29 Apr 2021 07:24:15 +0000 (08:24 +0100)]
MDL-71481 repository_flickr_public: return more file data.
A HTTP HEAD request is required to get the image filesize.
The remaining data can be obtained from existing calls to
the Flickr API.
Huong Nguyen [Thu, 1 Apr 2021 07:11:19 +0000 (14:11 +0700)]
MDL-70947 File upload: Upload protection
Interacts badly with double-submit protection, and not all uploads protected
Huong Nguyen [Thu, 29 Apr 2021 07:42:49 +0000 (14:42 +0700)]
MDL-71486 course: Notice when in site home/course page
Adrian Greeve [Thu, 29 Apr 2021 07:40:51 +0000 (15:40 +0800)]
Merge branch 'MDL-71141-master' of git://github.com/ferranrecio/moodle
Sara Arjona [Thu, 29 Apr 2021 07:21:39 +0000 (09:21 +0200)]
Merge branch 'MDL-71016' of git://github.com/paulholden/moodle
Jun Pataleta [Thu, 29 Apr 2021 07:04:11 +0000 (15:04 +0800)]
Merge branch 'MDL-70863-master' of git://github.com/jleyva/moodle
Adrian Greeve [Thu, 29 Apr 2021 06:42:35 +0000 (14:42 +0800)]
Merge branch 'MDL-71235-master' of https://github.com/dcai/moodle
Adrian Greeve [Thu, 29 Apr 2021 06:27:06 +0000 (14:27 +0800)]
Merge branch 'MDL-71470-master' of git://github.com/mihailges/moodle
Andrew Nicols [Thu, 29 Apr 2021 05:49:59 +0000 (13:49 +0800)]
Merge branch 'MDL-70965-master' of git://github.com/marinaglancy/moodle
Dongsheng Cai [Tue, 20 Apr 2021 10:41:53 +0000 (20:41 +1000)]
MDL-71235 webservices: add activity completion data to web services
Andrew Nicols [Thu, 29 Apr 2021 02:18:01 +0000 (10:18 +0800)]
Merge branch 'MDL-70897-master' of git://github.com/kabalin/moodle
Dongsheng Cai [Tue, 27 Apr 2021 07:52:01 +0000 (17:52 +1000)]
MDL-71455 core_backup: fix course completion options when backup/restore
Andrew Nicols [Thu, 29 Apr 2021 01:34:18 +0000 (09:34 +0800)]
Merge branch 'MDL-56609' of https://github.com/stronk7/moodle
Adrian Greeve [Thu, 29 Apr 2021 01:27:07 +0000 (09:27 +0800)]
Merge branch 'MDL-71051-master-2' of git://github.com/marinaglancy/moodle
Paul Holden [Mon, 1 Mar 2021 21:47:01 +0000 (21:47 +0000)]
MDL-71016 gradeexport_xml: ensure user/grade idnumbers are encoded.
Víctor Déniz [Wed, 28 Apr 2021 17:54:41 +0000 (18:54 +0100)]
Merge branch 'MDL-71200' of git://github.com/paulholden/moodle
Michael Hawkins [Tue, 27 Apr 2021 08:19:31 +0000 (16:19 +0800)]
MDL-71162 mod_assign: Update and improve completion behat testing
Michael Hawkins [Wed, 21 Apr 2021 09:31:05 +0000 (17:31 +0800)]
MDL-71162 mod_resource: Improve behat testing for completion conditions
Michael Hawkins [Wed, 21 Apr 2021 09:09:52 +0000 (17:09 +0800)]
MDL-71162 mod_label: Improve behat testing for completion conditions
Michael Hawkins [Wed, 21 Apr 2021 08:47:47 +0000 (16:47 +0800)]
MDL-71162 mod_imscp: Add behat testing for completion conditions
Michael Hawkins [Wed, 21 Apr 2021 08:41:01 +0000 (16:41 +0800)]
MDL-71162 mod_h5pactivity: Add behat testing for completion conditions
Michael Hawkins [Wed, 21 Apr 2021 06:52:37 +0000 (14:52 +0800)]
MDL-71162 mod_folder: Add behat testing for completion conditions
Michael Hawkins [Wed, 21 Apr 2021 06:51:52 +0000 (14:51 +0800)]
MDL-71162 mod_chat: Add behat testing for completion conditions
Michael Hawkins [Wed, 21 Apr 2021 05:51:42 +0000 (13:51 +0800)]
MDL-71162 mod_quiz: Improve behat testing for completion conditions
Michael Hawkins [Tue, 20 Apr 2021 10:41:46 +0000 (18:41 +0800)]
MDL-71162 mod_survey: Improve behat testing for completion conditions
Michael Hawkins [Tue, 20 Apr 2021 09:05:25 +0000 (17:05 +0800)]
MDL-71162 mod_scorm: Add behat testing for completion conditions
Michael Hawkins [Mon, 19 Apr 2021 16:32:37 +0000 (00:32 +0800)]
MDL-71162 mod_glossary: Add behat testing for completion conditions
Michael Hawkins [Tue, 20 Apr 2021 04:43:14 +0000 (12:43 +0800)]
MDL-71162 mod_wiki: Improve behat testing for completion conditions
Michael Hawkins [Thu, 22 Apr 2021 06:30:36 +0000 (14:30 +0800)]
MDL-71162 mod_wiki: Ensure completion conditions displayed on all tabs
Michael Hawkins [Tue, 20 Apr 2021 04:40:54 +0000 (12:40 +0800)]
MDL-71162 mod_book: Add behat testing for completion conditions
Michael Hawkins [Mon, 19 Apr 2021 09:36:27 +0000 (17:36 +0800)]
MDL-71162 mod_forum: Add behat testing for completion conditions
Michael Hawkins [Fri, 16 Apr 2021 16:52:42 +0000 (00:52 +0800)]
MDL-71162 mod_feedback: Add behat testing for completion conditions
Michael Hawkins [Fri, 16 Apr 2021 16:19:36 +0000 (00:19 +0800)]
MDL-71162 mod_data: Add behat testing for completion conditions
Michael Hawkins [Thu, 22 Apr 2021 02:03:40 +0000 (10:03 +0800)]
MDL-71162 mod_data: Ensure completion conditions displayed on all tabs
Michael Hawkins [Fri, 16 Apr 2021 12:15:46 +0000 (20:15 +0800)]
MDL-71162 mod_choice: Updated completion behat to use latest rules
Michael Hawkins [Fri, 16 Apr 2021 11:40:09 +0000 (19:40 +0800)]
MDL-71162 mod_lesson: Add behat testing for completion conditions
Luca Bösch [Wed, 31 Mar 2021 13:33:57 +0000 (15:33 +0200)]
MDL-60331 questions: prevent double escaping question categories.
Sara Arjona [Wed, 28 Apr 2021 11:06:07 +0000 (13:06 +0200)]
Merge branch 'MDL-70979' of git://github.com/paulholden/moodle
Sara Arjona [Wed, 28 Apr 2021 10:58:15 +0000 (12:58 +0200)]
Merge branch 'MDL-71127' of git://github.com/paulholden/moodle
Marina Glancy [Wed, 28 Apr 2021 10:42:07 +0000 (12:42 +0200)]
MDL-70965 core_dml: php8 related changes:
1. pg_connection_status(false) fails on PHP8 because the argument is not a stream
2. skipeed the unittest that expected that pg_query() does not show an error if the resource is invalid
see also MDL-71482
Srdjan [Wed, 10 Mar 2021 01:34:31 +0000 (11:34 +1000)]
MDL-70965 core_dml: read_slave - mock db handles as resources
So they comply with the type hints.
Sara Arjona [Wed, 28 Apr 2021 10:36:23 +0000 (12:36 +0200)]
Merge branch 'MDL-70763' of git://github.com/paulholden/moodle
Ruslan Kabalin [Mon, 29 Mar 2021 20:28:25 +0000 (21:28 +0100)]
MDL-71051 core_user: fix issues and address review issues
Marina Glancy [Sat, 20 Mar 2021 11:49:11 +0000 (12:49 +0100)]
MDL-71051 core_user: create user profile field form is now modal form
Marina Glancy [Wed, 24 Mar 2021 11:28:27 +0000 (12:28 +0100)]
MDL-71051 core_user: move user profile edit field form to classes
Marina Glancy [Wed, 24 Mar 2021 10:39:56 +0000 (11:39 +0100)]
MDL-71051 core_user: editing user profiles - modal form, template
Marina Glancy [Wed, 24 Mar 2021 10:39:01 +0000 (11:39 +0100)]
MDL-71051 core_user: move edit profile category form to classes
Marina Glancy [Fri, 19 Mar 2021 20:40:41 +0000 (21:40 +0100)]
MDL-71051 core_user: use user profile generator in all tests
Marina Glancy [Wed, 24 Mar 2021 11:28:10 +0000 (12:28 +0100)]
MDL-71051 core_user: fix mistakes in phpdocs, deprecated unused func
Marina Glancy [Thu, 4 Mar 2021 15:34:41 +0000 (16:34 +0100)]
MDL-71051 core_user: always use API when working with profile fields
Mihail Geshoski [Wed, 28 Apr 2021 08:29:33 +0000 (16:29 +0800)]
MDL-71470 repository_googledocs: Update unit tests
Mihail Geshoski [Wed, 28 Apr 2021 04:56:46 +0000 (12:56 +0800)]
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.
Sara Arjona [Wed, 28 Apr 2021 07:17:28 +0000 (09:17 +0200)]
Merge branch 'MDL-71244-master' of git://github.com/lucaboesch/moodle
Jun Pataleta [Wed, 28 Apr 2021 05:41:57 +0000 (13:41 +0800)]
Merge branch 'MDL-71330-master' of https://github.com/dcai/moodle
Dongsheng Cai [Tue, 20 Apr 2021 04:29:22 +0000 (14:29 +1000)]
MDL-71330 mod_chat: Implement the activity dates functionality
Andrew Nicols [Wed, 28 Apr 2021 02:48:02 +0000 (10:48 +0800)]
Merge branch 'MDL-71168' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 28 Apr 2021 02:45:08 +0000 (10:45 +0800)]
Merge branch 'MDL-70372-master-oldstrings' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Wed, 28 Apr 2021 02:25:36 +0000 (10:25 +0800)]
MDL-70909 mod_h5pactivity: Whitespace fix
Andrew Nicols [Wed, 28 Apr 2021 02:20:03 +0000 (10:20 +0800)]
Merge branch 'MDL-70909-master' of git://github.com/ferranrecio/moodle
Andrew Nicols [Wed, 28 Apr 2021 02:05:28 +0000 (10:05 +0800)]
Merge branch 'MDL-71386-master' of git://github.com/NoelDeMartin/moodle
Andrew Nicols [Wed, 28 Apr 2021 01:14:48 +0000 (09:14 +0800)]
Merge branch 'MDL-71389-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Sun, 28 Mar 2021 12:01:22 +0000 (14:01 +0200)]
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.
Luca Bösch [Tue, 30 Mar 2021 14:49:17 +0000 (16:49 +0200)]
MDL-71244 enrol_manual: Add bootstrap classes to buttons
Sara Arjona [Tue, 27 Apr 2021 14:01:55 +0000 (16:01 +0200)]
Merge branch 'MDL-71403' of git://github.com/paulholden/moodle
Ferran Recio [Tue, 16 Feb 2021 16:09:31 +0000 (17:09 +0100)]
MDL-70909 mod_h5pactivity: fix reports on freeze context
Sara Arjona [Tue, 27 Apr 2021 13:14:50 +0000 (15:14 +0200)]
weekly release 4.0dev
Sara Arjona [Tue, 27 Apr 2021 13:14:48 +0000 (15:14 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Tue, 27 Apr 2021 04:36:24 +0000 (12:36 +0800)]
Merge branch 'MDL-71410-master' of git://github.com/rezaies/moodle
Shamim Rezaie [Sun, 18 Apr 2021 21:19:10 +0000 (07:19 +1000)]
MDL-71410 core: Prevent recursively calling getters
Shamim Rezaie [Sun, 7 Mar 2021 15:52:04 +0000 (02:52 +1100)]
MDL-71410 mod_quiz: implement activity_dates for the quiz module
Shamim Rezaie [Wed, 14 Apr 2021 22:08:36 +0000 (08:08 +1000)]
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().
Shamim Rezaie [Sun, 25 Apr 2021 16:44:25 +0000 (02:44 +1000)]
MDL-71410 mod_quiz: Cache user and group overrides
Shamim Rezaie [Fri, 5 Mar 2021 12:37:23 +0000 (23:37 +1100)]
MDL-71410 mod_lesson: implement activity_dates for the lesson module
Shamim Rezaie [Fri, 5 Mar 2021 11:29:12 +0000 (22:29 +1100)]
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().
Shamim Rezaie [Sat, 24 Apr 2021 18:19:24 +0000 (04:19 +1000)]
MDL-71410 mod_lesson: Cache user and group overrides
Shamim Rezaie [Thu, 25 Feb 2021 07:56:58 +0000 (18:56 +1100)]
MDL-71410 mod_assign: implement activity_dates for the assignment module
Shamim Rezaie [Wed, 14 Apr 2021 19:55:09 +0000 (05:55 +1000)]
MDL-71410 mod_assign: Cache assign times in modinfo for performance
We update the dates with user/group overrides
Shamim Rezaie [Fri, 23 Apr 2021 11:07:39 +0000 (21:07 +1000)]
MDL-71410 mod_assign: Cache user and group overrides
Jun Pataleta [Tue, 27 Apr 2021 02:41:03 +0000 (10:41 +0800)]
Merge branch 'MDL-71252-master' of git://github.com/HuongNV13/moodle
Huong Nguyen [Tue, 27 Apr 2021 01:42:37 +0000 (08:42 +0700)]
MDL-71252 completion: PHPUnit failure
Adrian Greeve [Tue, 27 Apr 2021 01:36:56 +0000 (09:36 +0800)]
Merge branch 'MDL-71329' of https://github.com/Chocolate-lightning/moodle
Víctor Déniz [Mon, 26 Apr 2021 23:51:43 +0000 (00:51 +0100)]
Merge branch 'MDL-65687' of git://github.com/paulholden/moodle
Víctor Déniz [Mon, 26 Apr 2021 23:38:11 +0000 (00:38 +0100)]
Merge branch 'MDL-71003' of git://github.com/paulholden/moodle
Víctor Déniz [Mon, 26 Apr 2021 22:50:22 +0000 (23:50 +0100)]
Merge branch 'MDL-71441-master' of git://github.com/bmbrands/moodle
Sara Arjona [Mon, 26 Apr 2021 13:17:59 +0000 (15:17 +0200)]
Merge branch 'MDL-70917' of git://github.com/paulholden/moodle
Bas Brands [Mon, 26 Apr 2021 09:59:55 +0000 (11:59 +0200)]
MDL-71441 core_user: add profilefield social to standard plugins list
Jun Pataleta [Mon, 26 Apr 2021 11:51:11 +0000 (19:51 +0800)]
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.
Sara Arjona [Mon, 26 Apr 2021 10:35:34 +0000 (12:35 +0200)]
Merge branch 'MDL-71416' of git://github.com/paulholden/moodle
Sara Arjona [Mon, 26 Apr 2021 09:52:46 +0000 (11:52 +0200)]
Merge branch 'MDL-71392' of git://github.com/paulholden/moodle
Jun Pataleta [Mon, 26 Apr 2021 09:02:46 +0000 (17:02 +0800)]
Merge branch 'MDL-71252-master' of git://github.com/HuongNV13/moodle