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
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
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
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
Huong Nguyen [Mon, 26 Apr 2021 08:48:17 +0000 (15:48 +0700)]
MDL-71252 completion: Behat failure
Eloy Lafuente (stronk7) [Mon, 26 Apr 2021 08:44:59 +0000 (10:44 +0200)]
Merge branch 'MDL-70446-master' of https://github.com/sammarshallou/moodle
Jun Pataleta [Mon, 26 Apr 2021 07:55:11 +0000 (15:55 +0800)]
Merge branch 'MDL-71252-master' of git://github.com/HuongNV13/moodle
Sara Arjona [Mon, 26 Apr 2021 07:50:40 +0000 (09:50 +0200)]
Merge branch 'MDL-71370-master-test' of git://github.com/junpataleta/moodle
Huong Nguyen [Wed, 21 Apr 2021 07:32:40 +0000 (14:32 +0700)]
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)
Shamim Rezaie [Wed, 14 Apr 2021 19:27:00 +0000 (05:27 +1000)]
MDL-71410 core: Introduce override_customdata()
The get_custom_data() method now calls obtain_dynamic_data() because
$this->customdata can be dynamic now.
Paul Holden [Fri, 23 Apr 2021 20:43:11 +0000 (21:43 +0100)]
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.
Jun Pataleta [Thu, 22 Apr 2021 14:41:03 +0000 (22:41 +0800)]
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.
AMOS bot [Sat, 24 Apr 2021 00:07:56 +0000 (00:07 +0000)]
Automatically generated installer lang files
Paul Holden [Fri, 23 Apr 2021 11:47:55 +0000 (12:47 +0100)]
MDL-71416 report_log: user context header should show users name.
Co-Authored-By: Luca Bösch <luca.boesch@bfh.ch>
Sara Arjona [Fri, 23 Apr 2021 11:16:01 +0000 (13:16 +0200)]
Merge branch 'MDL-71144-master' of git://github.com/rezaies/moodle
Sara Arjona [Fri, 23 Apr 2021 08:46:53 +0000 (10:46 +0200)]
weekly release 4.0dev
Sara Arjona [Fri, 23 Apr 2021 08:46:51 +0000 (10:46 +0200)]
NOBUG: Fixed SVG browser compatibility
Mathew May [Tue, 20 Apr 2021 07:47:41 +0000 (15:47 +0800)]
MDL-71329 tool_moodlenet: Check to see if we get errors before curl
Jun Pataleta [Fri, 23 Apr 2021 04:41:15 +0000 (12:41 +0800)]
Merge branch 'MDL-71171_master' of git://github.com/mdjnelson/moodle
Mark Nelson [Mon, 22 Mar 2021 14:55:20 +0000 (22:55 +0800)]
MDL-71171 customfield_text: ensure we set defaults properly
abgreeve [Fri, 23 Apr 2021 04:19:51 +0000 (12:19 +0800)]
Merge branch 'MDL-70818-master-4' of git://github.com/rezaies/moodle
Andrew Nicols [Fri, 23 Apr 2021 03:56:47 +0000 (11:56 +0800)]
Merge branch 'MDL-70903-master' of git://github.com/roland04/moodle
Andrew Nicols [Fri, 23 Apr 2021 03:52:21 +0000 (11:52 +0800)]
Merge branch 'master-MDL-71376' of https://github.com/rjnl/moodle
Shamim Rezaie [Mon, 8 Mar 2021 04:32:31 +0000 (15:32 +1100)]
MDL-70818 mod_workshop: implement activity_dates for the workshop module
Shamim Rezaie [Mon, 8 Mar 2021 04:15:24 +0000 (15:15 +1100)]
MDL-70818 mod_workshop: cache workshop times in modinfo for performance
Shamim Rezaie [Sun, 7 Mar 2021 16:33:13 +0000 (03:33 +1100)]
MDL-70818 mod_scorm: implement activity_dates for the scorm module
Shamim Rezaie [Fri, 26 Feb 2021 10:36:36 +0000 (21:36 +1100)]
MDL-70818 mod_forum: implement activity_dates for the forum module
Shamim Rezaie [Fri, 26 Feb 2021 09:53:44 +0000 (20:53 +1100)]
MDL-70818 mod_forum: cache forum times in modinfo for performance
Shamim Rezaie [Fri, 26 Feb 2021 05:06:58 +0000 (16:06 +1100)]
MDL-70818 mod_feedback: implement activity_dates for the feedback module
Shamim Rezaie [Thu, 25 Feb 2021 15:51:46 +0000 (02:51 +1100)]
MDL-70818 mod_data: implement activity_dates for the database module
Andrew Nicols [Fri, 23 Apr 2021 03:42:00 +0000 (11:42 +0800)]
Merge branch 'MDL-71394-master' of git://github.com/marinaglancy/moodle
Andrew Nicols [Fri, 23 Apr 2021 03:26:53 +0000 (11:26 +0800)]
Merge branch 'MDL-70970' of git://github.com/paulholden/moodle
Andrew Nicols [Fri, 23 Apr 2021 03:12:15 +0000 (11:12 +0800)]
Merge branch 'MDL-70902-master' of git://github.com/dravek/moodle
Sara Arjona [Thu, 22 Apr 2021 16:13:04 +0000 (18:13 +0200)]
Merge branch 'MDL-57831' of git://github.com/paulholden/moodle
Paul Holden [Thu, 22 Apr 2021 15:11:02 +0000 (16:11 +0100)]
MDL-57831 tool_monitor: update Behat tests for message preferences.
Ferran Recio [Mon, 19 Apr 2021 10:01:36 +0000 (12:01 +0200)]
MDL-70909 behat: context freeze and not freeze steps
Sara Arjona [Thu, 22 Apr 2021 11:56:37 +0000 (13:56 +0200)]
Merge branch 'MDL-71136_master' of https://github.com/TomoTsuyuki/moodle
Ferran Recio [Tue, 16 Feb 2021 16:08:51 +0000 (17:08 +0100)]
MDL-70909 core: add cannotmatchanyrows to capabilities join
Sara Arjona [Thu, 22 Apr 2021 11:16:23 +0000 (13:16 +0200)]
Merge branch 'MDL-71400-master' of git://github.com/mihailges/moodle
Shamim Rezaie [Tue, 30 Mar 2021 16:28:49 +0000 (03:28 +1100)]
MDL-71144 mod_scorm: Deprecate scorm_get_completion_state()
Shamim Rezaie [Tue, 30 Mar 2021 16:02:50 +0000 (03:02 +1100)]
MDL-71144 mod_quiz: custom_completion should not use deprecated function
This commit also removes an unnecessary DB query.
Shamim Rezaie [Tue, 30 Mar 2021 14:06:11 +0000 (01:06 +1100)]
MDL-71144 mod_quiz: Deprecate quiz_get_completion_state()