moodle.git
23 months agoMerge branch 'MDL-53778' of https://github.com/stronk7/moodle
Andrew Nicols [Thu, 27 Jun 2019 00:35:56 +0000 (08:35 +0800)]
Merge branch 'MDL-53778' of https://github.com/stronk7/moodle

23 months agoMerge branch 'MDL-59502-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 23:25:13 +0000 (01:25 +0200)]
Merge branch 'MDL-59502-master' of git://github.com/aanabit/moodle

23 months agoMerge branch 'MDL-57632-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 23:23:09 +0000 (01:23 +0200)]
Merge branch 'MDL-57632-master' of git://github.com/sarjona/moodle

23 months agoMDL-53778 quiz: ensure completion deps are fulfilled by behat
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 22:36:54 +0000 (00:36 +0200)]
MDL-53778 quiz: ensure completion deps are fulfilled by behat

Behat backgrounds and scenarios must observe the new
interdependencies between quiz completion settings.

This commits just applies that to the tests missing it.

23 months agoMDL-53778 quiz: ensure completion deps are fulfilled by generator uses
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 22:01:43 +0000 (00:01 +0200)]
MDL-53778 quiz: ensure completion deps are fulfilled by generator uses

There are some mod_quiz generator issues where the new chain
of dependencies between completion settings was not being observed.

This patch just ensures that the now 3 chained settings are
enabled together (or new quiz options logic will proceed to
disable them).

23 months agoMerge branch 'MDL-66003-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 21:04:18 +0000 (23:04 +0200)]
Merge branch 'MDL-66003-master-enfix' of git://github.com/mudrd8mz/moodle

23 months agoMerge branch 'MDL-65996' of git://github.com/stronk7/moodle
Sara Arjona [Wed, 26 Jun 2019 17:16:07 +0000 (19:16 +0200)]
Merge branch 'MDL-65996' of git://github.com/stronk7/moodle

23 months agoMerge branch 'MDL-60088' of git://github.com/Chocolate-lightning/moodle
Sara Arjona [Wed, 26 Jun 2019 16:10:58 +0000 (18:10 +0200)]
Merge branch 'MDL-60088' of git://github.com/Chocolate-lightning/moodle

23 months agoMerge branch 'MDL-59525' of git://github.com/Chocolate-lightning/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 15:57:23 +0000 (17:57 +0200)]
Merge branch 'MDL-59525' of git://github.com/Chocolate-lightning/moodle

23 months agoMerge branch 'MDL-57617' of git://github.com/Chocolate-lightning/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 15:55:15 +0000 (17:55 +0200)]
Merge branch 'MDL-57617' of git://github.com/Chocolate-lightning/moodle

23 months agoMerge branch 'MDL-53778' of https://github.com/anieminen/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 15:49:53 +0000 (17:49 +0200)]
Merge branch 'MDL-53778' of https://github.com/anieminen/moodle

23 months agoMerge branch 'MDL-65249-master-fix' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 26 Jun 2019 08:28:08 +0000 (10:28 +0200)]
Merge branch 'MDL-65249-master-fix' of https://github.com/snake/moodle

23 months agoMDL-65249 session: use redis host constant in unit tests
Jake Dallimore [Wed, 26 Jun 2019 08:07:49 +0000 (16:07 +0800)]
MDL-65249 session: use redis host constant in unit tests

23 months agoMerge branch 'MDL-65249-redis-catch-exception-after-retry-master' of https://github...
Jake Dallimore [Wed, 26 Jun 2019 06:48:03 +0000 (14:48 +0800)]
Merge branch 'MDL-65249-redis-catch-exception-after-retry-master' of https://github.com/ilya-catalyst/moodle

23 months agoMerge branch 'MDL-60978-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Wed, 26 Jun 2019 05:16:36 +0000 (13:16 +0800)]
Merge branch 'MDL-60978-master' of git://github.com/andrewnicols/moodle

23 months agoMerge branch 'MDL-65181' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 25 Jun 2019 22:37:56 +0000 (00:37 +0200)]
Merge branch 'MDL-65181' of https://github.com/paulholden/moodle

23 months agoMerge branch 'MDL-65797-Master' of https://github.com/tuanngocnguyen/moodle
Eloy Lafuente (stronk7) [Tue, 25 Jun 2019 22:31:39 +0000 (00:31 +0200)]
Merge branch 'MDL-65797-Master' of https://github.com/tuanngocnguyen/moodle

23 months agoMDL-66003 lang: Use the updated strings in the tests
David Mudrák [Tue, 25 Jun 2019 16:05:03 +0000 (18:05 +0200)]
MDL-66003 lang: Use the updated strings in the tests

23 months agoMDL-66003 lang: Import fixed English strings (en_fix)
Helen Foster [Tue, 25 Jun 2019 15:54:39 +0000 (17:54 +0200)]
MDL-66003 lang: Import fixed English strings (en_fix)

Significant string changes:

* moodleorghubname,core_admin and
  sitemustberegistered,message_airnotifier - 'Moodle.net' changed to
  'Moodle'

* registration_help,core_admin and registermoochtips,core_hub - removed
  erroneous 'access to Moodle.net our course sharing platform'

* trackingtype_help,mod_forum and formnotavailable,core_grading and
  showgrades_help,core and rolewarning_help,core_rating -
  'Administration block' changed to 'Actions menu or admin block',
  'navigation block' changed to 'navigation drawer or block'

23 months agoMDL-53778 quiz settings: Ensure that disabled checkboxes have value 0
Arto Nieminen [Fri, 7 Jun 2019 07:27:47 +0000 (10:27 +0300)]
MDL-53778 quiz settings: Ensure that disabled checkboxes have value 0

23 months agoMDL-65249 Session: Throw exception if number of attempts exceeded.
Ilya Tregubov [Wed, 3 Apr 2019 05:47:52 +0000 (16:47 +1100)]
MDL-65249 Session: Throw exception if number of attempts exceeded.

23 months agoMerge branch 'MD-64901-master-fix' of https://github.com/andrewnicols/moodle
Jake Dallimore [Tue, 25 Jun 2019 01:36:05 +0000 (09:36 +0800)]
Merge branch 'MD-64901-master-fix' of https://github.com/andrewnicols/moodle

23 months agoMDL-64901 block_myoverview: Correct CSS selector in behat
Andrew Nicols [Tue, 25 Jun 2019 01:16:58 +0000 (09:16 +0800)]
MDL-64901 block_myoverview: Correct CSS selector in behat

23 months agoMerge branch 'MDL-64340-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Mon, 24 Jun 2019 22:53:52 +0000 (00:53 +0200)]
Merge branch 'MDL-64340-master' of git://github.com/rezaies/moodle

23 months agoMerge branch 'MDL-65922-master' of https://github.com/dmitriim/moodle
Eloy Lafuente (stronk7) [Mon, 24 Jun 2019 22:35:28 +0000 (00:35 +0200)]
Merge branch 'MDL-65922-master' of https://github.com/dmitriim/moodle

23 months agoMerge branch 'MDL-65893-master' of https://github.com/nicoroeser/moodle
Jake Dallimore [Mon, 24 Jun 2019 03:41:37 +0000 (11:41 +0800)]
Merge branch 'MDL-65893-master' of https://github.com/nicoroeser/moodle

23 months agoMerge branch 'MDL-64998' of git://github.com/Chocolate-lightning/moodle
Andrew Nicols [Mon, 24 Jun 2019 00:16:14 +0000 (08:16 +0800)]
Merge branch 'MDL-64998' of git://github.com/Chocolate-lightning/moodle

23 months agoMDL-64998 libraries: Remove references to lessphpc
Mathew May [Fri, 24 May 2019 04:04:15 +0000 (12:04 +0800)]
MDL-64998 libraries: Remove references to lessphpc

23 months agoMerge branch 'MDL-64901-37_block_myoverview_layout_settings' of https://github.com...
Andrew Nicols [Sun, 23 Jun 2019 22:44:11 +0000 (06:44 +0800)]
Merge branch 'MDL-64901-37_block_myoverview_layout_settings' of https://github.com/tomdickman/moodle

23 months agoMDL-65996 exceptions: Make exception handler early-errors compliant
Eloy Lafuente (stronk7) [Sat, 22 Jun 2019 09:38:43 +0000 (11:38 +0200)]
MDL-65996 exceptions: Make exception handler early-errors compliant

Some errors can happen really early in Moodle bootstrap/warmup
(basically when executing setup.php stuff, before general libraries
are loaded and available).

That's called "early errors" and there are good parts within
setuplib.php that must be able to run without any dependency
other than vanilla php code.

It seems that, along the years, some dependencies have been
added (calls to debugging(), to s()....) and they worked mostly
ok because early errors are rare.

This commit just makes all those dependencies conditional so,
if an early error is detected... the exception handler will
return real information about he error happening and not
handler own errors (like it's happening now).

23 months agoMDL-57632 core_media: final deprecation core_media_manager::setup
Sara Arjona [Mon, 17 Jun 2019 15:22:58 +0000 (17:22 +0200)]
MDL-57632 core_media: final deprecation core_media_manager::setup

23 months agoMDL-60088 travis: add dist:trusty to travis
Mathew May [Fri, 21 Jun 2019 01:36:23 +0000 (09:36 +0800)]
MDL-60088 travis: add dist:trusty to travis

We are doing this because travis changed its default release to xenial.
So this is a stop gap and we will add xenial support moving forward.

23 months agoMDL-60978 travis: Re-enable Redis session tests
Andrew Nicols [Tue, 18 Jun 2019 04:51:02 +0000 (12:51 +0800)]
MDL-60978 travis: Re-enable Redis session tests

23 months agoMDL-60978 session: Run redis tests in isolation
Andrew Nicols [Tue, 18 Jun 2019 04:12:20 +0000 (12:12 +0800)]
MDL-60978 session: Run redis tests in isolation

23 months agoMDL-60978 testing: Support ability to run phpunit in isolated process
Andrew Nicols [Tue, 18 Jun 2019 04:12:03 +0000 (12:12 +0800)]
MDL-60978 testing: Support ability to run phpunit in isolated process

23 months agoMDL-64998 libraries: Remove PHP LESSc
Mathew May [Fri, 15 Mar 2019 03:54:15 +0000 (11:54 +0800)]
MDL-64998 libraries: Remove PHP LESSc

23 months agoMDL-59525 libraries: Throw errors on functions deprecated in 3.4
Mathew May [Fri, 14 Jun 2019 06:20:00 +0000 (14:20 +0800)]
MDL-59525 libraries: Throw errors on functions deprecated in 3.4

23 months agoMDL-57617 Libraries: Throw errors on functions deprecated in 3.3
Mathew May [Fri, 14 Jun 2019 01:36:55 +0000 (09:36 +0800)]
MDL-57617 Libraries: Throw errors on functions deprecated in 3.3

23 months agoMDL-65922 core: add grade_item_updated event
Dmitrii Metelkin [Thu, 13 Jun 2019 23:23:11 +0000 (09:23 +1000)]
MDL-65922 core: add grade_item_updated event

23 months agoMDL-64340 mod_quiz: not display "add random question" when no permission
Shamim Rezaie [Thu, 20 Jun 2019 20:06:23 +0000 (06:06 +1000)]
MDL-64340 mod_quiz: not display "add random question" when no permission

23 months agoMDL-59502 Global Search: deprecate add_documents 4 arg implementation
Amaia Anabitarte [Mon, 17 Jun 2019 16:35:01 +0000 (18:35 +0200)]
MDL-59502 Global Search: deprecate add_documents 4 arg implementation

In MDL-59039 we introduced changes to add_documents and should return an extra $partial boolean.
We still supported implementations returning 4 elements since then,
but  this issue is about removing this 4 returned elements compatibility.

23 months agoweekly release 3.8dev
Eloy Lafuente (stronk7) [Thu, 20 Jun 2019 15:42:54 +0000 (17:42 +0200)]
weekly release 3.8dev

23 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
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

23 months agoMerge branch 'MDL-65759' of git://github.com/Chocolate-lightning/moodle
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

23 months agoMerge branch 'MDL-65084' of https://github.com/NeillM/moodle
Jake Dallimore [Thu, 20 Jun 2019 01:37:05 +0000 (09:37 +0800)]
Merge branch 'MDL-65084' of https://github.com/NeillM/moodle

23 months agoMerge branch 'MDL-65883-master' of git://github.com/lameze/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

23 months agoMDL-65759 library: Add patch #115 for php-css-parser
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

23 months agoMDL-65759 library: Update php-css-parser to 8.3.0
Mathew May [Thu, 13 Jun 2019 00:40:23 +0000 (08:40 +0800)]
MDL-65759 library: Update php-css-parser to 8.3.0

23 months agoMerge branch 'MDL-61319-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Thu, 20 Jun 2019 00:09:24 +0000 (08:09 +0800)]
Merge branch 'MDL-61319-master' of git://github.com/bmbrands/moodle

23 months agoMerge branch 'MDL-65646-master' of git://github.com/andrewnicols/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

23 months agoMerge branch 'MDL-65770' of git://github.com/Chocolate-lightning/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

23 months agoMerge branch 'MDL-64975-master' of https://github.com/nicoroeser/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

23 months agoMerge branch 'MDL-57487-master' of git://github.com/sarjona/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

23 months agoMerge branch 'MDL-65151-master' of git://github.com/aanabit/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

23 months agoMerge branch 'MDL-65910-master' of git://github.com/junpataleta/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

23 months agoMerge branch 'MDL-65752' of git://github.com/Chocolate-lightning/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

23 months agoMerge branch 'MDL-65665-master-2' of git://github.com/mihailges/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

23 months agoMerge branch 'MDL-65666-master' of git://github.com/rezaies/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

23 months agoMerge branch 'MDL-65806-master' of https://github.com/sammarshallou/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

23 months agoMerge branch 'MDL-65864' of git://github.com/timhunt/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

23 months agoMerge branch 'MDL-55821-master' of git://github.com/damyon/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

23 months agoMDL-65084 recent items: Handle deleted courses
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()

23 months agoMDL-65084 recent items: Test handling of deleted courses
Neill Magill [Mon, 1 Apr 2019 10:36:20 +0000 (11:36 +0100)]
MDL-65084 recent items: Test handling of deleted courses

23 months agoMerge branch 'MDL-65904-master' of git://github.com/merrill-oakland/moodle
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

23 months agoMDL-65883 mod_quiz: replace all hardcoded urls to proper params
Simey Lameze [Wed, 19 Jun 2019 04:28:53 +0000 (12:28 +0800)]
MDL-65883 mod_quiz: replace all hardcoded urls to proper params

23 months agoMDL-65883 mod_quiz: change attemptlib_test to use data generators
Simey Lameze [Tue, 11 Jun 2019 13:40:34 +0000 (21:40 +0800)]
MDL-65883 mod_quiz: change attemptlib_test to use data generators

23 months agoMDL-61319 themes: prevent using @extend rules for complex classes
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.

23 months agoMerge branch 'MDL-65840' of https://github.com/mkassaei/moodle
Andrew Nicols [Tue, 18 Jun 2019 01:43:52 +0000 (09:43 +0800)]
Merge branch 'MDL-65840' of https://github.com/mkassaei/moodle

23 months agoMerge branch 'MDL-65469' of git://github.com/stronk7/moodle
Andrew Nicols [Tue, 18 Jun 2019 01:17:35 +0000 (09:17 +0800)]
Merge branch 'MDL-65469' of git://github.com/stronk7/moodle

23 months agoAutomatically generated installer lang files
AMOS bot [Tue, 18 Jun 2019 00:08:29 +0000 (00:08 +0000)]
Automatically generated installer lang files

23 months agoMerge branch 'MDL-65869-master' of git://github.com/aanabit/moodle
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

23 months agoMerge branch 'MDL-64383-master' of git://github.com/damyon/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

23 months agoMDL-65469 mod_forum: Check for existence before operating
Eloy Lafuente (stronk7) [Mon, 17 Jun 2019 15:14:55 +0000 (17:14 +0200)]
MDL-65469 mod_forum: Check for existence before operating

23 months agoMerge branch 'MDL-65469-master' of git://github.com/peterRd/moodle
Andrew Nicols [Mon, 17 Jun 2019 06:18:40 +0000 (14:18 +0800)]
Merge branch 'MDL-65469-master' of git://github.com/peterRd/moodle

23 months agoMDL-65469 mod_forum: Use the formchange checker initializer
Peter [Mon, 17 Jun 2019 03:57:02 +0000 (11:57 +0800)]
MDL-65469 mod_forum: Use the formchange checker initializer

23 months agoMDL-65469 core: Expose formchecker to initialize current form state
Peter [Fri, 10 May 2019 02:47:44 +0000 (10:47 +0800)]
MDL-65469 core: Expose formchecker to initialize current form state

23 months agoMerge branch 'MDL-65888-master' of git://github.com/mudrd8mz/moodle
Andrew Nicols [Mon, 17 Jun 2019 02:48:34 +0000 (10:48 +0800)]
Merge branch 'MDL-65888-master' of git://github.com/mudrd8mz/moodle

2 years agoAutomatically generated installer lang files
AMOS bot [Sat, 15 Jun 2019 00:08:06 +0000 (00:08 +0000)]
Automatically generated installer lang files

2 years agoMDL-57487 course: final deprecation external::get_activities_overview
Sara Arjona [Wed, 12 Jun 2019 19:14:18 +0000 (21:14 +0200)]
MDL-57487 course: final deprecation external::get_activities_overview

2 years agoMDL-57487 mod_scorm: deprecate strings used in xxx_print_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

2 years agoMDL-57487 mod_scorm: final deprecation 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

2 years agoMDL-57487 mod_quiz: deprecate strings used in 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

2 years agoMDL-57487 mod_quiz: final deprecation 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

2 years agoMDL-57487 mod_lesson: deprecate strings used in 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

2 years agoMDL-57487 mod_lesson: final deprecation 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

2 years agoMDL-57487 mod_forum: deprecate strings used in 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

2 years agoMDL-57487 mod_forum: final deprecation 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

2 years agoMDL-57487 mod_choice: deprecate strings used in xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 17:50:02 +0000 (19:50 +0200)]
MDL-57487 mod_choice: deprecate strings used in xxx_print_overview

2 years agoMDL-57487 mod_choice: final deprecation 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

2 years agoMDL-57487 mod_choice: final string deprecation for skipresultgraph
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.

2 years agoMDL-57487 mod_chat: final deprecation xxx_print_overview
Sara Arjona [Wed, 12 Jun 2019 17:40:33 +0000 (19:40 +0200)]
MDL-57487 mod_chat: final deprecation xxx_print_overview

2 years agoMDL-57487 mod_assign: deprecate strings used in 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

2 years agoMDL-57487 mod_assign: final deprecation 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

2 years agoMDL-64975 moodlelib: fix float formatting if decsep is ~ (tilde)
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>

2 years agoMDL-65181 mod_data: show required field indicator for textarea fields.
Paul Holden [Mon, 3 Jun 2019 15:56:34 +0000 (16:56 +0100)]
MDL-65181 mod_data: show required field indicator for textarea fields.

2 years agoMDL-65893 webservice: format site name (handle language tags etc.)
Nicolas Roeser [Wed, 12 Jun 2019 08:11:28 +0000 (10:11 +0200)]
MDL-65893 webservice: format site name (handle language tags etc.)

Allow web service clients (like the Moodle App) to benefit from a
formatted (filtered) site name. Select the filtered (localized etc.)
string on server side, before it is sent to the web service client.

For example, this translates a site name which uses language tags in
curly braces when using the filter_multilang2 plugin.

Thanks-To: Juan Leyva <juan@moodle.com>
Thanks-To: Kathrin Osswald <kathrin.osswald@uni-ulm.de>

2 years agoMDL-65840 qtype_ddmarker: coordinates of cirle shape
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.

2 years agoMDL-65151 core_course: Final deprecation of section_edit_controls()
Amaia Anabitarte [Tue, 4 Jun 2019 15:09:52 +0000 (17:09 +0200)]
MDL-65151 core_course: Final deprecation of section_edit_controls()

2 years agoMDL-65869 behat: Moving @app behat tests from core to moodlemobileapp
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.

2 years agoMDL-65910 report_stats: Add stattype query condition for consistency
Jun Pataleta [Thu, 13 Jun 2019 10:20:21 +0000 (18:20 +0800)]
MDL-65910 report_stats: Add stattype query condition for consistency