Eloy Lafuente (stronk7) [Thu, 20 Jun 2019 15:42:50 +0000 (17:42 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 20 Jun 2019 09:41:00 +0000 (11:41 +0200)]
Merge branch 'MDL-65759' of git://github.com/Chocolate-lightning/moodle
Jake Dallimore [Thu, 20 Jun 2019 01:37:05 +0000 (09:37 +0800)]
Merge branch 'MDL-65084' of https://github.com/NeillM/moodle
Jake Dallimore [Thu, 20 Jun 2019 01:12:46 +0000 (09:12 +0800)]
Merge branch 'MDL-65883-master' of git://github.com/lameze/moodle
Mathew May [Thu, 13 Jun 2019 03:21:42 +0000 (11:21 +0800)]
MDL-65759 library: Add patch #115 for php-css-parser
Patch taken from Sabberworm/PHP-CSS-Parser#115 as specified in
moodle_readme.txt
Mathew May [Thu, 13 Jun 2019 00:40:23 +0000 (08:40 +0800)]
MDL-65759 library: Update php-css-parser to 8.3.0
Andrew Nicols [Thu, 20 Jun 2019 00:09:24 +0000 (08:09 +0800)]
Merge branch 'MDL-61319-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 22:29:56 +0000 (00:29 +0200)]
Merge branch 'MDL-65646-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 22:26:06 +0000 (00:26 +0200)]
Merge branch 'MDL-65770' of git://github.com/Chocolate-lightning/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 22:10:46 +0000 (00:10 +0200)]
Merge branch 'MDL-64975-master' of https://github.com/nicoroeser/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 21:05:50 +0000 (23:05 +0200)]
Merge branch 'MDL-57487-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 20:52:32 +0000 (22:52 +0200)]
Merge branch 'MDL-65151-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 18:54:28 +0000 (20:54 +0200)]
Merge branch 'MDL-65910-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 18:49:43 +0000 (20:49 +0200)]
Merge branch 'MDL-65752' of git://github.com/Chocolate-lightning/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 18:29:09 +0000 (20:29 +0200)]
Merge branch 'MDL-65665-master-2' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 16:37:56 +0000 (18:37 +0200)]
Merge branch 'MDL-65666-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 16:27:05 +0000 (18:27 +0200)]
Merge branch 'MDL-65806-master' of https://github.com/sammarshallou/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 16:08:19 +0000 (18:08 +0200)]
Merge branch 'MDL-65864' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 19 Jun 2019 16:05:10 +0000 (18:05 +0200)]
Merge branch 'MDL-55821-master' of git://github.com/damyon/moodle
Neill Magill [Mon, 1 Apr 2019 10:39:06 +0000 (11:39 +0100)]
MDL-65084 recent items: Handle deleted courses
The method should not cause errors when a course with activities
that the user has visited no longer exists.
Ensuring that we only get records for courses still in the database
will stop any course not found erros from get_fast_modinfo()
Neill Magill [Mon, 1 Apr 2019 10:36:20 +0000 (11:36 +0100)]
MDL-65084 recent items: Test handling of deleted courses
Jake Dallimore [Wed, 19 Jun 2019 06:56:11 +0000 (14:56 +0800)]
Merge branch 'MDL-65904-master' of git://github.com/merrill-oakland/moodle
Simey Lameze [Wed, 19 Jun 2019 04:28:53 +0000 (12:28 +0800)]
MDL-65883 mod_quiz: replace all hardcoded urls to proper params
Simey Lameze [Tue, 11 Jun 2019 13:40:34 +0000 (21:40 +0800)]
MDL-65883 mod_quiz: change attemptlib_test to use data generators
Bas Brands [Tue, 21 May 2019 15:07:31 +0000 (17:07 +0200)]
MDL-61319 themes: prevent using @extend rules for complex classes
* the settings and navigation blocks scss extended .fa which caused
issues with native fontawesome classes like fa-pull-left.
Andrew Nicols [Tue, 18 Jun 2019 01:43:52 +0000 (09:43 +0800)]
Merge branch 'MDL-65840' of https://github.com/mkassaei/moodle
Andrew Nicols [Tue, 18 Jun 2019 01:17:35 +0000 (09:17 +0800)]
Merge branch 'MDL-65469' of git://github.com/stronk7/moodle
AMOS bot [Tue, 18 Jun 2019 00:08:29 +0000 (00:08 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Mon, 17 Jun 2019 22:14:03 +0000 (00:14 +0200)]
Merge branch 'MDL-65869-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Mon, 17 Jun 2019 21:02:41 +0000 (23:02 +0200)]
Merge branch 'MDL-64383-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Mon, 17 Jun 2019 15:14:55 +0000 (17:14 +0200)]
MDL-65469 mod_forum: Check for existence before operating
Andrew Nicols [Mon, 17 Jun 2019 06:18:40 +0000 (14:18 +0800)]
Merge branch 'MDL-65469-master' of git://github.com/peterRd/moodle
Peter [Mon, 17 Jun 2019 03:57:02 +0000 (11:57 +0800)]
MDL-65469 mod_forum: Use the formchange checker initializer
Peter [Fri, 10 May 2019 02:47:44 +0000 (10:47 +0800)]
MDL-65469 core: Expose formchecker to initialize current form state
Andrew Nicols [Mon, 17 Jun 2019 02:48:34 +0000 (10:48 +0800)]
Merge branch 'MDL-65888-master' of git://github.com/mudrd8mz/moodle
AMOS bot [Sat, 15 Jun 2019 00:08:06 +0000 (00:08 +0000)]
Automatically generated installer lang files
Sara Arjona [Wed, 12 Jun 2019 19:14:18 +0000 (21:14 +0200)]
MDL-57487 course: final deprecation external::get_activities_overview
Sara Arjona [Wed, 12 Jun 2019 18:28:09 +0000 (20:28 +0200)]
MDL-57487 mod_scorm: deprecate strings used in xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 18:27:41 +0000 (20:27 +0200)]
MDL-57487 mod_scorm: final deprecation xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 18:22:24 +0000 (20:22 +0200)]
MDL-57487 mod_quiz: deprecate strings used in xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 18:21:39 +0000 (20:21 +0200)]
MDL-57487 mod_quiz: final deprecation xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 18:14:30 +0000 (20:14 +0200)]
MDL-57487 mod_lesson: deprecate strings used in xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 18:13:52 +0000 (20:13 +0200)]
MDL-57487 mod_lesson: final deprecation xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 18:04:10 +0000 (20:04 +0200)]
MDL-57487 mod_forum: deprecate strings used in xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 18:03:32 +0000 (20:03 +0200)]
MDL-57487 mod_forum: final deprecation xxx_print_overview
Apart from deprecating forum_print_overview, the following method
has been also deprecated because it's not used anymore:
- forum_filter_user_groups_discussions
Sara Arjona [Wed, 12 Jun 2019 17:50:02 +0000 (19:50 +0200)]
MDL-57487 mod_choice: deprecate strings used in xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 17:48:47 +0000 (19:48 +0200)]
MDL-57487 mod_choice: final deprecation xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 17:41:33 +0000 (19:41 +0200)]
MDL-57487 mod_choice: final string deprecation for skipresultgraph
The final skipresultgraph should be done in 3.4 because it was
deprecated in 3.0 in MDL-49811.
Sara Arjona [Wed, 12 Jun 2019 17:40:33 +0000 (19:40 +0200)]
MDL-57487 mod_chat: final deprecation xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 17:39:37 +0000 (19:39 +0200)]
MDL-57487 mod_assign: deprecate strings used in xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 17:38:27 +0000 (19:38 +0200)]
MDL-57487 mod_assign: final deprecation xxx_print_overview
Apart from deprecating assign_print_overview , the following methods
have been also deprecated because they are not used anymore:
- assign_get_mysubmission_details_for_print_overview
- assign_get_grade_details_for_print_overview
Nicolas Roeser [Mon, 8 Apr 2019 11:58:30 +0000 (13:58 +0200)]
MDL-64975 moodlelib: fix float formatting if decsep is ~ (tilde)
Commit
637da99edbd7258fae20374ed8c890a167f40d30 has introduced changes
for removing trailing zeroes from the output of function format_float.
Due to a small omission, the function causes a PHP warning when the
string decsep is set to a tilde character ('~'). This is rarely the
case.
The bug lies in using PHP function preg_replace with a string that
contains external input (in this case, including decsep), but without
escaping it for PCRE processing.
This commit fixes the function to also support a tilde character in
string decsep. It also adds tests for having tilde as decimal separator.
Thanks-To: Jake Dallimore <jake@moodle.com>
M Kassaei [Fri, 7 Jun 2019 13:02:10 +0000 (14:02 +0100)]
MDL-65840 qtype_ddmarker: coordinates of cirle shape
The coordinates of a circle shape are not allowed to be smaller than its radius.
By default, set the coordinates to be the same as the radius.
Amaia Anabitarte [Tue, 4 Jun 2019 15:09:52 +0000 (17:09 +0200)]
MDL-65151 core_course: Final deprecation of section_edit_controls()
Amaia Anabitarte [Wed, 12 Jun 2019 15:11:44 +0000 (17:11 +0200)]
MDL-65869 behat: Moving @app behat tests from core to moodlemobileapp
As described in MDL-65869 we are moving @app behat tests to
https://github.com/moodlehq/moodle-local_moodlemobileapp to be easier to maintain
and be sure are working with different mobile versions.
So we are not deprecating tests from core, just removing them because will be
in a different location.
Jun Pataleta [Thu, 13 Jun 2019 10:20:21 +0000 (18:20 +0800)]
MDL-65910 report_stats: Add stattype query condition for consistency
Mihail Geshoski [Mon, 10 Jun 2019 09:14:45 +0000 (17:14 +0800)]
MDL-65665 forum: WS does not respect subscribe on reply user preference
Mihail Geshoski [Mon, 10 Jun 2019 09:14:14 +0000 (17:14 +0800)]
MDL-65665 forum: Add unit test
Simey Lameze [Tue, 11 Jun 2019 01:29:46 +0000 (09:29 +0800)]
MDL-65883 mod_quiz: fix quiz navigation buttons href
Tim Hunt [Thu, 6 Jun 2019 18:41:34 +0000 (19:41 +0100)]
MDL-65864 question engine: fix re-saving a new usage
Before this fix, test_repeated_usage_saving_new_usage was failing but
test_repeated_usage_saving_existing_usage was passing. Now the
behaviour is consistent and they both pass.
Eloy Lafuente (stronk7) [Thu, 13 Jun 2019 16:15:31 +0000 (18:15 +0200)]
weekly release 3.8dev
Eloy Lafuente (stronk7) [Thu, 13 Jun 2019 16:15:28 +0000 (18:15 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Adrian Greeve [Thu, 13 Jun 2019 05:34:27 +0000 (13:34 +0800)]
MDL-58439 admin: Fix missing page context.
Andrew Nicols [Thu, 13 Jun 2019 03:44:29 +0000 (11:44 +0800)]
Merge branch 'MDL-65814-master' of git://github.com/junpataleta/moodle
Adrian Greeve [Thu, 13 Jun 2019 03:36:37 +0000 (11:36 +0800)]
Merge branch 'MDL-58439-admin-no-guest' of https://github.com/brendanheywood/moodle
Jun Pataleta [Thu, 13 Jun 2019 02:29:04 +0000 (10:29 +0800)]
Merge branch 'MDL-55997-master' of git://github.com/peterRd/moodle
Adrian Greeve [Thu, 13 Jun 2019 02:25:21 +0000 (10:25 +0800)]
Merge branch 'MDL-65369_master' of https://github.com/marxjohnson/moodle
Jun Pataleta [Thu, 13 Jun 2019 01:48:32 +0000 (09:48 +0800)]
Merge branch 'MDL-65622-master' of https://github.com/dmitriim/moodle
Adrian Greeve [Thu, 13 Jun 2019 01:17:06 +0000 (09:17 +0800)]
Merge branch 'MDL-65492' of https://github.com/timhunt/moodle
Adrian Greeve [Thu, 13 Jun 2019 01:06:14 +0000 (09:06 +0800)]
Merge branch 'MDL-65671-master' of git://github.com/lameze/moodle
Shamim Rezaie [Wed, 12 Jun 2019 03:47:54 +0000 (13:47 +1000)]
MDL-65666 mod_forum: Highlight unread posts count in the discussion list
Mathew May [Thu, 13 Jun 2019 05:25:35 +0000 (13:25 +0800)]
MDL-65770 tool_policy: Add Moodle changes for guest policy popup
Andrew Nicols [Tue, 12 Feb 2019 14:03:12 +0000 (22:03 +0800)]
MDL-65646 core: Move component storage to json
Mathew May [Thu, 13 Jun 2019 03:52:14 +0000 (11:52 +0800)]
MDL-65770 tool_policy: Update guest policy popup
Jun Pataleta [Fri, 31 May 2019 06:10:53 +0000 (14:10 +0800)]
MDL-65814 block_timeline: Bring back item counts for action events
Peter [Wed, 22 May 2019 10:51:49 +0000 (18:51 +0800)]
MDL-55997 core_reports: modify user stats query to fix duplicate rows
Eloy Lafuente (stronk7) [Wed, 12 Jun 2019 17:43:52 +0000 (19:43 +0200)]
Merge branch 'MDL-64484' of https://github.com/paulholden/moodle
Eric Merrill [Wed, 12 Jun 2019 17:05:40 +0000 (13:05 -0400)]
MDL-65904 theme: Compile fallback css in the correct order
Paul Holden [Wed, 12 Jun 2019 15:55:44 +0000 (16:55 +0100)]
MDL-64484 user: cross-DB compatible profile field ordering.
Tim Hunt [Fri, 3 May 2019 12:02:08 +0000 (13:02 +0100)]
MDL-65492 cache admin: make it easier to purge a cache repeatedly
This can be a big time-saver, e.g. during development.
Tim Hunt [Fri, 3 May 2019 11:40:15 +0000 (12:40 +0100)]
MDL-65492 cache admin: make the code easier to understand
Mark Johnson [Tue, 16 Apr 2019 17:31:51 +0000 (18:31 +0100)]
MDL-65369 events: Include changed course settings in course_updated
Simey Lameze [Thu, 6 Jun 2019 07:13:56 +0000 (15:13 +0800)]
MDL-65671 calendar: add event listener to three month block
Simey Lameze [Thu, 6 Jun 2019 06:08:43 +0000 (14:08 +0800)]
MDL-65671 calendar: tidy up calendar header
Simey Lameze [Thu, 6 Jun 2019 03:18:34 +0000 (11:18 +0800)]
MDL-65671 calendar: remove course selector label from exporters
Simey Lameze [Mon, 10 Jun 2019 04:56:52 +0000 (12:56 +0800)]
MDL-65671 calendar: add listener to day link in month view
Jun Pataleta [Wed, 12 Jun 2019 05:58:51 +0000 (13:58 +0800)]
Merge branch 'MDL-65803-master' of git://github.com/peterRd/moodle
Andrew Nicols [Wed, 12 Jun 2019 04:33:34 +0000 (12:33 +0800)]
Merge branch 'MDL-65703-master' of git://github.com/lameze/moodle
Peter [Fri, 31 May 2019 01:18:21 +0000 (09:18 +0800)]
MDL-65803 recentlyaccesseditems: Restrict response to valid courses.
* Additional hooks to cleanup data when a course or module is deleted
* Augmented unit tests to cover the situation when a course is deleted
* Upgrade step to cleanup existing data
Andrew Nicols [Wed, 12 Jun 2019 02:20:15 +0000 (10:20 +0800)]
Merge branch 'MDL-65829_master' of git://github.com/dmonllao/moodle
Andrew Nicols [Wed, 12 Jun 2019 01:45:36 +0000 (09:45 +0800)]
Merge branch 'MDL-65754' of git://github.com/Chocolate-lightning/moodle
Mathew May [Wed, 12 Jun 2019 01:38:39 +0000 (09:38 +0800)]
MDL-65754 mod_feedback: Remove unused v1 recaptcha
Mathew May [Wed, 12 Jun 2019 01:35:54 +0000 (09:35 +0800)]
MDL-65754 auth_email: Remove unused v1 recaptcha
Mathew May [Wed, 12 Jun 2019 00:58:26 +0000 (08:58 +0800)]
MDL-65752 lib: Update html2text to 4.2.1
Andrew Nicols [Wed, 12 Jun 2019 00:56:28 +0000 (08:56 +0800)]
Merge branch 'MDL-64484' of https://github.com/paulholden/moodle
Andrew Nicols [Wed, 12 Jun 2019 00:47:55 +0000 (08:47 +0800)]
Merge branch 'MDL-65509-master' of git://github.com/rezaies/moodle
sam marshall [Thu, 30 May 2019 15:19:57 +0000 (16:19 +0100)]
MDL-65806 Search: Solr does not find words in italic
David Mudrák [Tue, 11 Jun 2019 07:45:21 +0000 (09:45 +0200)]
MDL-65888 forum: Do not send notifications to unconfirmed users
Under certain conditions, users marked as not confirmed yet may be
returned as forum notification recipients. Such users are considered as
inactive though and the delivery adhoc task cannot be run as these
users, throwing an exception.
The solution is to make sure that fetch_subscribed_users() does not
include unconfirmed users, similarly to what was done for suspended
users and nologin users.
The added unit test also checks for deleted users. But these should
never be returned as subscribed because we consider enrolled users only
and deleted users are filtered out implicitly.
Adrian Greeve [Tue, 11 Jun 2019 05:30:04 +0000 (13:30 +0800)]
Merge branch 'MDL-63878-master' of git://github.com/damyon/moodle
Andrew Nicols [Tue, 11 Jun 2019 04:07:40 +0000 (12:07 +0800)]
Merge branch 'MDL-65779-master' of git://github.com/peterRd/moodle