moodle.git
2 years agoMerge branch 'MDL-63135-master' of git://github.com/rezaies/moodle
David Monllao [Wed, 19 Sep 2018 11:12:40 +0000 (13:12 +0200)]
Merge branch 'MDL-63135-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 22:26:25 +0000 (00:26 +0200)]
Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-63116-master-1' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 21:26:51 +0000 (23:26 +0200)]
Merge branch 'MDL-63116-master-1' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-59227' of https://github.com/rlorenzo/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 21:11:34 +0000 (23:11 +0200)]
Merge branch 'MDL-59227' of https://github.com/rlorenzo/moodle

2 years agoMDL-61908 privacy: Fix heading in data privacy pages
Mihail Geshoski [Thu, 13 Sep 2018 06:44:26 +0000 (14:44 +0800)]
MDL-61908 privacy: Fix heading in data privacy pages

2 years agoMerge branch 'MDL-63109-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 15:50:13 +0000 (17:50 +0200)]
Merge branch 'MDL-63109-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-63138-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:39:58 +0000 (16:39 +0200)]
Merge branch 'MDL-63138-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-63139-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:36:55 +0000 (16:36 +0200)]
Merge branch 'MDL-63139-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-63117-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:32:58 +0000 (16:32 +0200)]
Merge branch 'MDL-63117-master' of git://github.com/rezaies/moodle

2 years agoMDL-23545 qformat_xml: don't allow irrelevant DB differences to break tests
Tim Hunt [Tue, 18 Sep 2018 12:52:51 +0000 (13:52 +0100)]
MDL-23545 qformat_xml: don't allow irrelevant DB differences to break tests

Also slightly improve formatting of the exported file.

2 years agoMerge branch 'MDL-63333_master' of git://github.com/markn86/moodle
David Monllao [Tue, 18 Sep 2018 10:17:46 +0000 (12:17 +0200)]
Merge branch 'MDL-63333_master' of git://github.com/markn86/moodle

2 years agoMDL-63109 privacy: Add behat tests
Mihail Geshoski [Tue, 18 Sep 2018 07:06:23 +0000 (15:06 +0800)]
MDL-63109 privacy: Add behat tests

2 years agoMerge branch 'm36_MDL-63319_MySQL_MSSQL_Rename_Field_Reserved_Word' of https://github...
Jun Pataleta [Tue, 18 Sep 2018 06:10:11 +0000 (14:10 +0800)]
Merge branch 'm36_MDL-63319_MySQL_MSSQL_Rename_Field_Reserved_Word' of https://github.com/scara/moodle

2 years agoMDL-63109 privacy: Fix the initialisation of the policy acceptance modal
Mihail Geshoski [Thu, 30 Aug 2018 05:48:00 +0000 (13:48 +0800)]
MDL-63109 privacy: Fix the initialisation of the policy acceptance modal

2 years agoMerge branch 'MDL-23545-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Tue, 18 Sep 2018 02:07:56 +0000 (10:07 +0800)]
Merge branch 'MDL-23545-master-fix' of git://github.com/junpataleta/moodle

2 years agoMDL-23545 question_format: Replace tabs with spaces in upgrade.txt
Jun Pataleta [Tue, 18 Sep 2018 02:04:03 +0000 (10:04 +0800)]
MDL-23545 question_format: Replace tabs with spaces in upgrade.txt

2 years agoMerge branch 'wip-MDL-23545-master' of https://github.com/Beedell/moodle
Jun Pataleta [Tue, 18 Sep 2018 01:47:38 +0000 (09:47 +0800)]
Merge branch 'wip-MDL-23545-master' of https://github.com/Beedell/moodle

2 years agoMDL-59227 course: add (copy) to duplicated modules
Rohan Khajuria [Mon, 10 Sep 2018 22:02:00 +0000 (15:02 -0700)]
MDL-59227 course: add (copy) to duplicated modules

2 years agoMerge branch 'MDL-63279_master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:56:37 +0000 (23:56 +0200)]
Merge branch 'MDL-63279_master' of https://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-58781_master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:39:35 +0000 (23:39 +0200)]
Merge branch 'MDL-58781_master' of https://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-63009-master' of git://github.com/mickhawkins/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:30:13 +0000 (23:30 +0200)]
Merge branch 'MDL-63009-master' of git://github.com/mickhawkins/moodle

2 years agoMerge branch 'MDL-63184-master-2' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:10:39 +0000 (23:10 +0200)]
Merge branch 'MDL-63184-master-2' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-63371' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:09:20 +0000 (23:09 +0200)]
Merge branch 'MDL-63371' of git://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-63354-master' of https://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:05:31 +0000 (23:05 +0200)]
Merge branch 'MDL-63354-master' of https://github.com/HuongNV13/moodle

2 years agoMDL-63184 tool_dataprivacy: Ensure PO roles have correct capability
Jun Pataleta [Mon, 20 Aug 2018 06:36:28 +0000 (14:36 +0800)]
MDL-63184 tool_dataprivacy: Ensure PO roles have correct capability

2 years agoMerge branch 'MDL-62554-master' of git://github.com/junpataleta/moodle
David Monllao [Mon, 17 Sep 2018 11:44:49 +0000 (13:44 +0200)]
Merge branch 'MDL-62554-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-63215-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 08:40:41 +0000 (10:40 +0200)]
Merge branch 'MDL-63215-master' of https://github.com/lucaboesch/moodle

2 years agoMerge branch 'MDL-63379-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 07:54:31 +0000 (09:54 +0200)]
Merge branch 'MDL-63379-master' of git://github.com/junpataleta/moodle

2 years agoMDL-63379 user: Fix Behat tests for participants filtering
Jun Pataleta [Mon, 17 Sep 2018 03:25:37 +0000 (11:25 +0800)]
MDL-63379 user: Fix Behat tests for participants filtering

2 years agoMDL-63333 core: removed unused setting 'messaginghidereadnotifications'
Mark Nelson [Tue, 11 Sep 2018 04:57:30 +0000 (12:57 +0800)]
MDL-63333 core: removed unused setting 'messaginghidereadnotifications'

2 years agoMDL-63116 privacy: Add bulk actions to the privacy request table
Mihail Geshoski [Mon, 10 Sep 2018 07:33:02 +0000 (15:33 +0800)]
MDL-63116 privacy: Add bulk actions to the privacy request table

2 years agoMDL-63116 privacy: Add behat tests
Mihail Geshoski [Tue, 4 Sep 2018 05:08:12 +0000 (13:08 +0800)]
MDL-63116 privacy: Add behat tests

2 years agoMDL-63116 privacy: Add unit tests
Mihail Geshoski [Fri, 24 Aug 2018 07:47:55 +0000 (15:47 +0800)]
MDL-63116 privacy: Add unit tests

2 years agoMDL-63215 block_rss_client: Escaping tags in RSS entries
Michelle Melton [Mon, 27 Aug 2018 19:06:48 +0000 (21:06 +0200)]
MDL-63215 block_rss_client: Escaping tags in RSS entries

2 years agoMDL-63319 ddl: Added getRenameFieldSQL() coverage
Matteo Scaramuccia [Thu, 13 Sep 2018 19:59:03 +0000 (21:59 +0200)]
MDL-63319 ddl: Added getRenameFieldSQL() coverage

2 years agoMDL-63319 ddl: Improved rename_field() coverage
Matteo Scaramuccia [Thu, 13 Sep 2018 19:55:17 +0000 (21:55 +0200)]
MDL-63319 ddl: Improved rename_field() coverage

DB API should allow to rename fields, including renaming
those columns named using a reserved word.

2 years agoMDL-63319 ddl: MSSQL should rename reserved words
Matteo Scaramuccia [Sat, 8 Sep 2018 22:19:08 +0000 (00:19 +0200)]
MDL-63319 ddl: MSSQL should rename reserved words

2 years agoMDL-63319 ddl: MySQL should rename reserved words
Matteo Scaramuccia [Sun, 9 Sep 2018 05:38:34 +0000 (07:38 +0200)]
MDL-63319 ddl: MySQL should rename reserved words

2 years agoMDL-23545 question: XML import/export add category description
John Beedell [Fri, 3 Aug 2018 08:53:54 +0000 (09:53 +0100)]
MDL-23545 question: XML import/export add category description

2 years agoMDL-63371 question: USE_RAW_DATA case in check_qt_var_name_restrictions
Tim Hunt [Fri, 14 Sep 2018 15:02:08 +0000 (16:02 +0100)]
MDL-63371 question: USE_RAW_DATA case in check_qt_var_name_restrictions

2 years agoMDL-63279 messaging: Add admin setting for toggling site-wide messaging
Amaia Anabitarte [Wed, 5 Sep 2018 17:17:23 +0000 (18:17 +0100)]
MDL-63279 messaging: Add admin setting for toggling site-wide messaging

2 years agoMDL-58781 mod_feedback: Inconsistency in analysis exported to excel
Amaia Anabitarte [Thu, 9 Aug 2018 15:01:39 +0000 (16:01 +0100)]
MDL-58781 mod_feedback: Inconsistency in analysis exported to excel

2 years agoweekly release 3.6dev
Eloy Lafuente (stronk7) [Fri, 14 Sep 2018 09:06:32 +0000 (11:06 +0200)]
weekly release 3.6dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Fri, 14 Sep 2018 09:06:29 +0000 (11:06 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMDL-63354 Group: Rollover text on long group names is not consistent
Huong Nguyen [Thu, 13 Sep 2018 07:15:52 +0000 (14:15 +0700)]
MDL-63354 Group: Rollover text on long group names is not consistent

2 years agoMDL-61169 iplookup: Change to another block still remaining to SF
Eloy Lafuente (stronk7) [Thu, 13 Sep 2018 17:01:09 +0000 (19:01 +0200)]
MDL-61169 iplookup: Change to another block still remaining to SF

2 years agoMerge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 13 Sep 2018 08:17:02 +0000 (16:17 +0800)]
Merge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-51177 atto_html: Check isHTML before hiding editor
Andrew Nicols [Thu, 13 Sep 2018 07:32:20 +0000 (15:32 +0800)]
MDL-51177 atto_html: Check isHTML before hiding editor

2 years agoMDL-62554 tool_dataprivacy: Integration review fixes
Jun Pataleta [Tue, 11 Sep 2018 08:57:40 +0000 (16:57 +0800)]
MDL-62554 tool_dataprivacy: Integration review fixes

2 years agoMerge branch 'MDL-60630-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 12 Sep 2018 21:14:54 +0000 (23:14 +0200)]
Merge branch 'MDL-60630-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-60630 cachestore: Remove memcache plugin
Andrew Nicols [Thu, 2 Aug 2018 02:23:14 +0000 (10:23 +0800)]
MDL-60630 cachestore: Remove memcache plugin

2 years agoMDL-63009 tool_dataprivacy: Added site name/link to request emails
Michael Hawkins [Wed, 12 Sep 2018 09:26:03 +0000 (17:26 +0800)]
MDL-63009 tool_dataprivacy: Added site name/link to request emails

2 years agoMerge branch 'MDL-63329-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 12 Sep 2018 08:19:19 +0000 (10:19 +0200)]
Merge branch 'MDL-63329-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'mdl63321-master' of https://github.com/tlock/moodle
Jun Pataleta [Wed, 12 Sep 2018 07:34:59 +0000 (15:34 +0800)]
Merge branch 'mdl63321-master' of https://github.com/tlock/moodle

2 years agoMerge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 12 Sep 2018 05:30:39 +0000 (13:30 +0800)]
Merge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-51177 core: Ignore built files in stylelint
Andrew Nicols [Wed, 12 Sep 2018 04:36:19 +0000 (12:36 +0800)]
MDL-51177 core: Ignore built files in stylelint

2 years agoMDL-51177 atto_html: Import htmlplus functionality
Andrew Nicols [Wed, 5 Sep 2018 02:11:35 +0000 (10:11 +0800)]
MDL-51177 atto_html: Import htmlplus functionality

2 years agoMerge branch 'MDL-63231-set-default-value-for-int-param-MOODLE_Master' of https:...
Jun Pataleta [Wed, 12 Sep 2018 02:00:01 +0000 (10:00 +0800)]
Merge branch 'MDL-63231-set-default-value-for-int-param-MOODLE_Master' of https://github.com/guillalva06/moodle

2 years agoMerge branch 'MDL-50314_master' of git://github.com/do-you-even-curl/moodle
Jun Pataleta [Wed, 12 Sep 2018 01:44:36 +0000 (09:44 +0800)]
Merge branch 'MDL-50314_master' of git://github.com/do-you-even-curl/moodle

2 years agoMDL-63329 core: Remove memcache session support
Andrew Nicols [Mon, 10 Sep 2018 01:50:08 +0000 (09:50 +0800)]
MDL-63329 core: Remove memcache session support

2 years agoMerge branch 'MDL-63130_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 11 Sep 2018 21:55:00 +0000 (23:55 +0200)]
Merge branch 'MDL-63130_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-63136-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 11 Sep 2018 21:52:02 +0000 (23:52 +0200)]
Merge branch 'MDL-63136-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-62528-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Tue, 11 Sep 2018 21:02:40 +0000 (23:02 +0200)]
Merge branch 'MDL-62528-master' of git://github.com/bmbrands/moodle

2 years agoMDL-63231 filepicker: Skype validation for null values
Guillermo Alvarez [Fri, 24 Aug 2018 17:40:06 +0000 (12:40 -0500)]
MDL-63231 filepicker: Skype validation for null values

In file_get_all_files_in_draftarea function an integer could get
a null value so it is necessary to execute this function only
when is called with a valid integer value.

2 years agoMerge branch 'wip-MDL-62520_MASTER' of https://github.com/jason-platts/moodle
Jun Pataleta [Mon, 10 Sep 2018 08:22:48 +0000 (16:22 +0800)]
Merge branch 'wip-MDL-62520_MASTER' of https://github.com/jason-platts/moodle

2 years agoMDL-62554 tool_dataprivacy: Bump version for new WS functions
Jun Pataleta [Mon, 10 Sep 2018 03:52:36 +0000 (11:52 +0800)]
MDL-62554 tool_dataprivacy: Bump version for new WS functions

2 years agoMDL-62554 tool_dataprivacy: Fix display of activity options
Jun Pataleta [Tue, 4 Sep 2018 08:52:08 +0000 (16:52 +0800)]
MDL-62554 tool_dataprivacy: Fix display of activity options

2 years agoMDL-62554 tool_dataprivacy: Fix template for Bootstrapbase compatibility
Jun Pataleta [Mon, 3 Sep 2018 03:10:53 +0000 (11:10 +0800)]
MDL-62554 tool_dataprivacy: Fix template for Bootstrapbase compatibility

2 years agoMDL-62554 tool_dataprivacy: Remove defaults form
Jun Pataleta [Fri, 31 Aug 2018 03:29:10 +0000 (11:29 +0800)]
MDL-62554 tool_dataprivacy: Remove defaults form

With the changes in this issue, this form is no longer being used.

2 years agoMDL-62554 tool_dataprivacy: Behat tests for managing registry defaults
Jun Pataleta [Fri, 31 Aug 2018 03:22:45 +0000 (11:22 +0800)]
MDL-62554 tool_dataprivacy: Behat tests for managing registry defaults

* Also new step definitions and generator for:
  - Creating categories and purposes
  - Assigning category and purpose to context instances.

2 years agoMDL-62554 tool_dataprivacy: Unit tests for new WS/API functions
Jun Pataleta [Fri, 31 Aug 2018 03:21:08 +0000 (11:21 +0800)]
MDL-62554 tool_dataprivacy: Unit tests for new WS/API functions

2 years agoMDL-62554 tool_dataprivacy: Fix fetching of default contexts
Jun Pataleta [Fri, 31 Aug 2018 09:06:57 +0000 (17:06 +0800)]
MDL-62554 tool_dataprivacy: Fix fetching of default contexts

* We also need to handle default contexts for activities. If defaults
  for an activity is set, fetch that. If not, fetch the defaults for
  the context level.

2 years agoMDL-62554 tool_dataprivacy: Allow setting of activity defaults
Jun Pataleta [Fri, 31 Aug 2018 03:20:28 +0000 (11:20 +0800)]
MDL-62554 tool_dataprivacy: Allow setting of activity defaults

* Allow the setting of data registry defaults for activity modules.
* Rewrite the defaults page so that it uses templates.
* Use a tabbed layout for the defaults page that shows the default
  category and purpose per context level.
* New API and web service functions that enables the setting of the
  defaults.

2 years agoMDL-63321 block: Fix warning in Calendar month block after MDL-60587
Tim Lock [Fri, 7 Sep 2018 04:24:29 +0000 (13:54 +0930)]
MDL-63321 block: Fix warning in Calendar month block after MDL-60587

2 years agoAutomatically generated installer lang files
AMOS bot [Sat, 8 Sep 2018 00:07:23 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-50314 mod_quiz: removed hardcoded export columns
Tim Schroeder [Tue, 17 Jul 2018 10:54:06 +0000 (12:54 +0200)]
MDL-50314 mod_quiz: removed hardcoded export columns

* The columns 'institution', 'department' and 'email' are no longer
  automatically included in all quiz result exports.
* These columns can still be used, but have to be configured under
  'showuseridentity'.

2 years agoMDL-63136 mod_data: Check if the module is visible to the user
Shamim Rezaie [Thu, 6 Sep 2018 04:19:43 +0000 (14:19 +1000)]
MDL-63136 mod_data: Check if the module is visible to the user

2 years agoMDL-63136 mod_data: Add userid param to mod_data calendar callbacks
Shamim Rezaie [Mon, 20 Aug 2018 05:10:16 +0000 (15:10 +1000)]
MDL-63136 mod_data: Add userid param to mod_data calendar callbacks

2 years agoMDL-63139 mod_forum: Check if the module is visible to the user
Shamim Rezaie [Fri, 7 Sep 2018 06:55:19 +0000 (16:55 +1000)]
MDL-63139 mod_forum: Check if the module is visible to the user

2 years agoMDL-63139 mod_forum: Add userid param to mod_forum calendar callbacks
Shamim Rezaie [Fri, 7 Sep 2018 06:47:56 +0000 (16:47 +1000)]
MDL-63139 mod_forum: Add userid param to mod_forum calendar callbacks

2 years agoMDL-63138 mod_folder: Check if the module is visible to the user
Shamim Rezaie [Fri, 7 Sep 2018 04:55:28 +0000 (14:55 +1000)]
MDL-63138 mod_folder: Check if the module is visible to the user

2 years agoMDL-63138 mod_folder: Add userid param to mod_folder calendar callback
Shamim Rezaie [Fri, 7 Sep 2018 04:30:56 +0000 (14:30 +1000)]
MDL-63138 mod_folder: Add userid param to mod_folder calendar callback

2 years agoweekly release 3.6dev
Jun Pataleta [Fri, 7 Sep 2018 03:10:02 +0000 (11:10 +0800)]
weekly release 3.6dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 7 Sep 2018 03:09:47 +0000 (11:09 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMDL-63130 core_message: add unit test
Mark Nelson [Thu, 6 Sep 2018 10:12:21 +0000 (18:12 +0800)]
MDL-63130 core_message: add unit test

2 years agoMDL-63130 message: message_count_unread_message counts sent messages
Pavel Sokolov [Tue, 14 Aug 2018 14:18:55 +0000 (17:18 +0300)]
MDL-63130 message: message_count_unread_message counts sent messages

2 years agoMDL-63135 mod_choice: Check if the module is visible to the user
Shamim Rezaie [Thu, 6 Sep 2018 10:14:04 +0000 (20:14 +1000)]
MDL-63135 mod_choice: Check if the module is visible to the user

2 years agoMDL-63135 mod_choice: Add userid param to mod_choice calendar callback
Shamim Rezaie [Fri, 17 Aug 2018 06:06:24 +0000 (16:06 +1000)]
MDL-63135 mod_choice: Add userid param to mod_choice calendar callback

2 years agoMDL-63135 mod_choice: Added choice_get_user_response function
Shamim Rezaie [Fri, 17 Aug 2018 05:12:10 +0000 (15:12 +1000)]
MDL-63135 mod_choice: Added choice_get_user_response function

A new function to return choice answers records of a given user in a given choice activity.

2 years agoMDL-63117 mod_book: Check if the module is visible to the user
Shamim Rezaie [Thu, 6 Sep 2018 07:41:06 +0000 (17:41 +1000)]
MDL-63117 mod_book: Check if the module is visible to the user

2 years agoMDL-63117 mod_book: Add userid param to mod_book calendar callbacks
Shamim Rezaie [Tue, 14 Aug 2018 04:52:28 +0000 (14:52 +1000)]
MDL-63117 mod_book: Add userid param to mod_book calendar callbacks

2 years agoMDL-60820 workshop: Fix default value of submissiontypefile
David Mudrák [Wed, 5 Sep 2018 09:20:54 +0000 (11:20 +0200)]
MDL-60820 workshop: Fix default value of submissiontypefile

2 years agoMDL-62947 mod_feedback: fix feedback so it correctly uses forms API
Jake Dallimore [Thu, 26 Jul 2018 01:56:00 +0000 (09:56 +0800)]
MDL-62947 mod_feedback: fix feedback so it correctly uses forms API

Feedback code was doing the following, which is incompatible with the
sec-patched quickforms lib:
- appending '[0]' to non-group element names, meaning type checks in
getCleanType() were falling back to PARAM_RAW instead of PARAM_INT,
and meaning _findValue() was comparing elements it thought to be arrays
with scalar submit values (worked with eval() implementation as the 0th
element of a string was the character, but not working when patched).
- external unit tests incorrectly testing multichoice questions in the
process_page tests - patched lib highlighted failures.

It was also doing the following:
- actively setting null as default element values instead of 0 for
radio buttons and dropdowns (for 'not selected'). This is incompatible
with more recent quickforms lib (see MDL-63070).
- creating groups using addElement instead of addGroup - not recommended

This patch addresses the above.

2 years agoMDL-62947 core_form: fix remote code execution exploit in QuickForms
Jake Dallimore [Mon, 30 Jul 2018 06:14:54 +0000 (14:14 +0800)]
MDL-62947 core_form: fix remote code execution exploit in QuickForms

Applies the patch found upstream:
https://github.com/pear/HTML_QuickForm/commit/
d3a6d5c44dedf3c164c6c79198e4ef479bcedcd2 and make util methods static
for php7 compatibility.

2 years agoAutomatically generated installer lang files
AMOS bot [Wed, 5 Sep 2018 00:07:20 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-62748 course: maxsections is a limit
Damyon Wiese [Mon, 16 Jul 2018 07:58:49 +0000 (15:58 +0800)]
MDL-62748 course: maxsections is a limit

For course formats shipped with core, maxsections should be a limit to the number of sections
allowed in the course.

2 years agoMDL-62857 theme_boost: Better filtering on navbar / breadcrumbs
Mihail Geshoski [Mon, 20 Aug 2018 16:48:12 +0000 (18:48 +0200)]
MDL-62857 theme_boost: Better filtering on navbar / breadcrumbs

2 years agoMDL-62880 qtype_ddwtos: drop support for legacy import format
Tim Hunt [Mon, 9 Jul 2018 17:37:45 +0000 (18:37 +0100)]
MDL-62880 qtype_ddwtos: drop support for legacy import format

It was more than 8 years since we wrote in that format.

2 years agoMerge branch 'MDL-63249-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 4 Sep 2018 20:34:51 +0000 (22:34 +0200)]
Merge branch 'MDL-63249-master-enfix' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-60578-master' of git://github.com/jleyva/moodle
Jun Pataleta [Tue, 4 Sep 2018 13:18:02 +0000 (21:18 +0800)]
Merge branch 'MDL-60578-master' of git://github.com/jleyva/moodle