moodle.git
2 years agoMerge branch 'MDL-70066-master' of git://github.com/lameze/moodle
Andrew Nicols [Thu, 5 Nov 2020 02:00:33 +0000 (10:00 +0800)]
Merge branch 'MDL-70066-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-70100-master' of git://github.com/bmbrands/moodle into master
Eloy Lafuente (stronk7) [Wed, 4 Nov 2020 21:39:24 +0000 (22:39 +0100)]
Merge branch 'MDL-70100-master' of git://github.com/bmbrands/moodle into master

2 years agoMerge branch 'MDL-70112' of https://github.com/timhunt/moodle
Víctor Déniz [Wed, 4 Nov 2020 19:17:04 +0000 (19:17 +0000)]
Merge branch 'MDL-70112' of https://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-70114-master' of git://github.com/bmbrands/moodle
Sara Arjona [Wed, 4 Nov 2020 19:14:50 +0000 (20:14 +0100)]
Merge branch 'MDL-70114-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-68749-master-2' of git://github.com/mickhawkins/moodle
Víctor Déniz [Wed, 4 Nov 2020 15:17:03 +0000 (15:17 +0000)]
Merge branch 'MDL-68749-master-2' of git://github.com/mickhawkins/moodle

2 years agoMerge branch 'MDL-70119-master' of git://github.com/ferranrecio/moodle
Sara Arjona [Wed, 4 Nov 2020 14:19:28 +0000 (15:19 +0100)]
Merge branch 'MDL-70119-master' of git://github.com/ferranrecio/moodle

2 years agoMDL-70114 mod_data: add border for to textarea
Bas Brands [Wed, 4 Nov 2020 13:21:57 +0000 (13:21 +0000)]
MDL-70114 mod_data: add border for to textarea

2 years agoMDL-70119 core_badges: fix tab names
Ferran Recio [Wed, 4 Nov 2020 11:48:09 +0000 (12:48 +0100)]
MDL-70119 core_badges: fix tab names

2 years agoMDL-70066 badges: change usages of array_key_exists to isset
Simey Lameze [Thu, 29 Oct 2020 23:17:43 +0000 (07:17 +0800)]
MDL-70066 badges: change usages of array_key_exists to isset

2 years agoMerge branch 'MDL-70093-master' of https://github.com/golenkovm/moodle
Jake Dallimore [Wed, 4 Nov 2020 01:00:05 +0000 (09:00 +0800)]
Merge branch 'MDL-70093-master' of https://github.com/golenkovm/moodle

2 years agoMDL-70112 drag-drop qtypes: fix form preview
Tim Hunt [Tue, 3 Nov 2020 21:25:51 +0000 (21:25 +0000)]
MDL-70112 drag-drop qtypes: fix form preview

2 years agoMDL-67837 backup: Add unit tests
Mihail Geshoski [Tue, 22 Sep 2020 08:09:59 +0000 (16:09 +0800)]
MDL-67837 backup: Add unit tests

2 years agoMDL-67837 backup: Verify caps before unenrolling users on course restore
Mihail Geshoski [Tue, 22 Sep 2020 08:09:35 +0000 (16:09 +0800)]
MDL-67837 backup: Verify caps before unenrolling users on course restore

2 years agoMDL-69844 user: Fix no email in download_participants_table
andreasschenkel [Mon, 12 Oct 2020 09:06:12 +0000 (11:06 +0200)]
MDL-69844 user: Fix no email in download_participants_table

Only include eMail in download_participants_table
if selected in showuseridentity
($identityfieldsselect)

2 years agoMDL-67015 mod_data: Prevent users adding entries to other groups
Juan Leyva [Mon, 28 Sep 2020 16:55:25 +0000 (18:55 +0200)]
MDL-67015 mod_data: Prevent users adding entries to other groups

2 years agoMDL-69046 core_contentbank: Escape quotes when showing name
Amaia Anabitarte [Tue, 15 Sep 2020 13:33:57 +0000 (15:33 +0200)]
MDL-69046 core_contentbank: Escape quotes when showing name

2 years agoMDL-69378 tool_uploadcourse: fix enrolment methods uploads
Ferran Recio [Wed, 19 Aug 2020 16:16:46 +0000 (18:16 +0200)]
MDL-69378 tool_uploadcourse: fix enrolment methods uploads

2 years agoMDL-56310 restore: Confirm user has permission to change capabilities
Peter Dias [Wed, 9 Sep 2020 05:50:21 +0000 (13:50 +0800)]
MDL-56310 restore: Confirm user has permission to change capabilities

2 years agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Tue, 3 Nov 2020 11:21:06 +0000 (12:21 +0100)]
weekly release 4.0dev

2 years agoMDL-68749 theme: Fix bootstrap toggle switches in RTL layout
Michael Hawkins [Tue, 3 Nov 2020 06:47:58 +0000 (14:47 +0800)]
MDL-68749 theme: Fix bootstrap toggle switches in RTL layout

Co-authored-by: Bas Brands <bas@moodle.com>
2 years agoMerge branch 'MDL-70059-master' of git://github.com/sarjona/moodle
Andrew Nicols [Tue, 3 Nov 2020 04:03:49 +0000 (12:03 +0800)]
Merge branch 'MDL-70059-master' of git://github.com/sarjona/moodle

2 years agoMerge branch 'MDL-70033-master-2' of git://github.com/mickhawkins/moodle
Jun Pataleta [Tue, 3 Nov 2020 04:02:08 +0000 (12:02 +0800)]
Merge branch 'MDL-70033-master-2' of git://github.com/mickhawkins/moodle

2 years agoMDL-70033 course: Update download content event handling for Classic
Michael Hawkins [Tue, 27 Oct 2020 10:51:28 +0000 (18:51 +0800)]
MDL-70033 course: Update download content event handling for Classic

2 years agoMDL-70033 core: Update tree.js event handlers to replace stopPropagation
Michael Hawkins [Tue, 27 Oct 2020 10:47:01 +0000 (18:47 +0800)]
MDL-70033 core: Update tree.js event handlers to replace stopPropagation

Also added support to allow links to override action keys (enter/space)

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2 years agoMerge branch 'MDL-70081-master' of git://github.com/jleyva/moodle into master
Eloy Lafuente (stronk7) [Tue, 3 Nov 2020 00:24:45 +0000 (01:24 +0100)]
Merge branch 'MDL-70081-master' of git://github.com/jleyva/moodle into master

2 years agoMerge branch 'MDL-69975' of https://github.com/stronk7/moodle
Jun Pataleta [Mon, 2 Nov 2020 16:00:44 +0000 (00:00 +0800)]
Merge branch 'MDL-69975' of https://github.com/stronk7/moodle

2 years agoMerge branch 'MDL-69973' of https://github.com/stronk7/moodle
Sara Arjona [Mon, 2 Nov 2020 14:44:41 +0000 (15:44 +0100)]
Merge branch 'MDL-69973' of https://github.com/stronk7/moodle

2 years agoMDL-70100 theme_boost: quiztimer zindex fix
Bas Brands [Mon, 2 Nov 2020 11:29:23 +0000 (11:29 +0000)]
MDL-70100 theme_boost: quiztimer zindex fix

2 years agoMDL-70059 core_badges: avoid duplicate key error
Sara Arjona [Thu, 29 Oct 2020 17:25:16 +0000 (18:25 +0100)]
MDL-70059 core_badges: avoid duplicate key error

When 2 or more backpack were created without credentials,
a "Duplicate key value violates unique constraint" error
was raised because externalbackpackid was not taking the
correct value.
Other improvements have been done to the code too in order
to make it more readable.

2 years agoMerge branch 'MDL-70073-master' of git://github.com/peterRd/moodle
Jake Dallimore [Mon, 2 Nov 2020 05:57:21 +0000 (13:57 +0800)]
Merge branch 'MDL-70073-master' of git://github.com/peterRd/moodle

2 years agoMDL-70093 dataformat_pdf: Fix row height calculation with high cells
Mikhail Golenkov [Mon, 2 Nov 2020 03:46:17 +0000 (14:46 +1100)]
MDL-70093 dataformat_pdf: Fix row height calculation with high cells

2 years agoMDL-70073 badges: Fix the master upgrade savepoint
Peter Dias [Mon, 2 Nov 2020 02:17:30 +0000 (10:17 +0800)]
MDL-70073 badges: Fix the master upgrade savepoint

2 years agoMerge branch 'MDL-70074-add-authendpoint' of https://github.com/cengage/moodle
Jun Pataleta [Mon, 2 Nov 2020 02:04:24 +0000 (10:04 +0800)]
Merge branch 'MDL-70074-add-authendpoint' of https://github.com/cengage/moodle

2 years agoMDL-69975 core: Fix paths longer than 260 chars on windows
Brendan Heywood [Wed, 28 Oct 2020 05:08:11 +0000 (16:08 +1100)]
MDL-69975 core: Fix paths longer than 260 chars on windows

Also, ensure that remove_dir() only processes directories,
because sometimes it was being called by shutdown managers
with files, leading to PHP warnings.

Co-authored-by: Eloy Lafuente (stronk7) <stronk7@moodle.org>
Co-authored-by: Jun Pataleta <jun@moodle.com>
2 years agoMDL-70081 airnotifier: Add missing device type in token registration
Juan Leyva [Sat, 31 Oct 2020 12:07:30 +0000 (13:07 +0100)]
MDL-70081 airnotifier: Add missing device type in token registration

2 years agoMDL-70074 mod_lti: add authorization_endpoint
Claude Vervoort [Fri, 30 Oct 2020 19:57:15 +0000 (15:57 -0400)]
MDL-70074 mod_lti: add authorization_endpoint

2 years agoMDL-69973 xmldb: Ensure all reports use fresh metadata (not cached)
Eloy Lafuente (stronk7) [Sun, 18 Oct 2020 09:59:59 +0000 (11:59 +0200)]
MDL-69973 xmldb: Ensure all reports use fresh metadata (not cached)

2 years agoMDL-69973 xmldb: Fix problem with MariaDB >= 10.2.7 metadata defaults
Eloy Lafuente (stronk7) [Sun, 18 Oct 2020 09:53:37 +0000 (11:53 +0200)]
MDL-69973 xmldb: Fix problem with MariaDB >= 10.2.7 metadata defaults

With MariaDB 10.2.7 the driver was incorrectly returning '' (empty
string) as default for all the columns having null (meaning, no
default).

Also, cover the case in unit tests, it seems that we were already
testing other defaults but not the null case.

2 years agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Fri, 30 Oct 2020 12:48:48 +0000 (13:48 +0100)]
weekly release 4.0dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install...
Eloy Lafuente (stronk7) [Fri, 30 Oct 2020 12:48:46 +0000 (13:48 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install into master

2 years agoMerge branch 'MDL-68167-master' of git://github.com/rezaies/moodle
Jun Pataleta [Fri, 30 Oct 2020 05:17:02 +0000 (13:17 +0800)]
Merge branch 'MDL-68167-master' of git://github.com/rezaies/moodle

2 years agoMDL-68167 lib: autocomplete focos should not be removed on blur
Shamim Rezaie [Thu, 29 Oct 2020 15:54:38 +0000 (02:54 +1100)]
MDL-68167 lib: autocomplete focos should not be removed on blur

See https://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-rearrangeable.html

2 years agoMDL-68167 lib: Do not set aria-expanded if it should not be set
Shamim Rezaie [Thu, 29 Oct 2020 17:59:40 +0000 (04:59 +1100)]
MDL-68167 lib: Do not set aria-expanded if it should not be set

2 years agoMDL-68167 user: Fix missing label for participants filter input fields
Shamim Rezaie [Thu, 29 Oct 2020 17:51:08 +0000 (04:51 +1100)]
MDL-68167 user: Fix missing label for participants filter input fields

2 years agoMDL-68167 lib: Clear single-select autocomplete elements with keyboard
Shamim Rezaie [Thu, 29 Oct 2020 13:39:05 +0000 (00:39 +1100)]
MDL-68167 lib: Clear single-select autocomplete elements with keyboard

Following MDL-57680, it should be possible to clear the selected option
using keyboard as well.

2 years agoMDL-68167 user: Fix a hardcoded string to be read from lang pack
Shamim Rezaie [Tue, 28 Jul 2020 17:51:48 +0000 (03:51 +1000)]
MDL-68167 user: Fix a hardcoded string to be read from lang pack

2 years agoMDL-68167 lib: Fix label for autocomplete selection/suggestion box
Shamim Rezaie [Tue, 28 Jul 2020 16:45:30 +0000 (02:45 +1000)]
MDL-68167 lib: Fix label for autocomplete selection/suggestion box

The content of the autocomplete selection div is purged by javascript
so we have to move its label outside of it. aria-labeledby is the way
to go.

Each time the suggestion box is expanded, autocomplete js renders the
autocomplete suggestions template. So the label cannot be outside the
suggestions ul.

2 years agoMDL-68167 user: filter elements should listen to accessibleChange event
Shamim Rezaie [Tue, 28 Jul 2020 14:22:39 +0000 (00:22 +1000)]
MDL-68167 user: filter elements should listen to accessibleChange event

2 years agoMDL-68167 lib: The accessibleChange custom event now supports bubbling
Shamim Rezaie [Tue, 28 Jul 2020 08:26:22 +0000 (18:26 +1000)]
MDL-68167 lib: The accessibleChange custom event now supports bubbling

The change event bubbles so the accessibleChange shoud bubble as well.

2 years agoMDL-68167 theme_boost: make focus outline accessible for autocompletes
Shamim Rezaie [Mon, 27 Jul 2020 06:26:11 +0000 (16:26 +1000)]
MDL-68167 theme_boost: make focus outline accessible for autocompletes

2 years agoMerge branch 'MDL-69156_master' of https://github.com/ffhs/moodle
Andrew Nicols [Fri, 30 Oct 2020 03:51:48 +0000 (11:51 +0800)]
Merge branch 'MDL-69156_master' of https://github.com/ffhs/moodle

2 years agoMDL-68167 lib: Autocomplete selection to use listbox aria role
Shamim Rezaie [Mon, 27 Jul 2020 03:36:25 +0000 (13:36 +1000)]
MDL-68167 lib: Autocomplete selection to use listbox aria role

The aria-selected state cannot be used for the listitem role. The
autocomplete widget highly uses the aria-selected state internally.

2 years agoMDL-68167 user: Improve keyboard navigation on autocomplete fields
Shamim Rezaie [Mon, 27 Jul 2020 00:12:48 +0000 (10:12 +1000)]
MDL-68167 user: Improve keyboard navigation on autocomplete fields

2 years agoMerge branch 'MDL-69390-master' of git://github.com/bmbrands/moodle into MDL-69390...
Shamim Rezaie [Fri, 30 Oct 2020 03:37:25 +0000 (14:37 +1100)]
Merge branch 'MDL-69390-master' of git://github.com/bmbrands/moodle into MDL-69390-master-test

2 years agoAutomatically generated installer lang files
AMOS bot [Fri, 30 Oct 2020 00:09:45 +0000 (00:09 +0000)]
Automatically generated installer lang files

2 years agoMerge branch 'MDL-70032-master-2' of git://github.com/junpataleta/moodle
Víctor Déniz [Thu, 29 Oct 2020 22:27:17 +0000 (22:27 +0000)]
Merge branch 'MDL-70032-master-2' of git://github.com/junpataleta/moodle

2 years agoMDL-69156 backup: correct behaviour of course copy idnumber field.
Paul Holden [Thu, 24 Sep 2020 22:14:06 +0000 (23:14 +0100)]
MDL-69156 backup: correct behaviour of course copy idnumber field.

When a given user doesn't have the capability to change the idnumber
field during course copy, freeze the field value.

2 years agoMDL-69156 course_copy: set defaults for idnumber when not permitted
Adrian Perez [Sat, 27 Jun 2020 08:22:36 +0000 (10:22 +0200)]
MDL-69156 course_copy: set defaults for idnumber when not permitted

2 years agoMDL-70032 qtype_multichoice: Use custom partial named selector
Jun Pataleta [Thu, 29 Oct 2020 07:59:29 +0000 (15:59 +0800)]
MDL-70032 qtype_multichoice: Use custom partial named selector

* With the removal of the label element, Behat now has to click on the
answer text. In order to achieve this, the custom partial named selector
"qtype_multichoice > Answer" was now added and have replaced the
instances where the label of the answer's checkbox/radio button is
being clicked.

2 years agoMDL-70032 qtype_multichoice: Fix answer labelling
Jun Pataleta [Thu, 29 Oct 2020 07:36:15 +0000 (15:36 +0800)]
MDL-70032 qtype_multichoice: Fix answer labelling

* Discard the use of the label element in order to be able to render
multiple choice answers as they are and have these act as the radio
button/checkbox' label through the aria-labelledby attribute.
* New JS module qtype_multichoice/answers that listens for click events
on the answer text container and selects the appropriate answer radio
button/checkbox.

2 years agoMerge branch 'MDL-68722-master' of https://github.com/matt-catalyst/moodle
Andrew Nicols [Thu, 29 Oct 2020 06:02:59 +0000 (14:02 +0800)]
Merge branch 'MDL-68722-master' of https://github.com/matt-catalyst/moodle

2 years agoMerge branch 'MDL-69716-master' of git://github.com/aanabit/moodle
Jake Dallimore [Thu, 29 Oct 2020 04:39:48 +0000 (12:39 +0800)]
Merge branch 'MDL-69716-master' of git://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-70041-master' of git://github.com/mihailges/moodle
Jake Dallimore [Thu, 29 Oct 2020 03:48:58 +0000 (11:48 +0800)]
Merge branch 'MDL-70041-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'm40_MDL-70042_Progress_Bar_Upgrade_Message_Popup' of https://github...
Adrian Greeve [Thu, 29 Oct 2020 00:34:27 +0000 (08:34 +0800)]
Merge branch 'm40_MDL-70042_Progress_Bar_Upgrade_Message_Popup' of https://github.com/scara/moodle

2 years agoMDL-70042 message_popup: Trivial savepoint comment cleanup
Matteo Scaramuccia [Wed, 28 Oct 2020 21:44:07 +0000 (22:44 +0100)]
MDL-70042 message_popup: Trivial savepoint comment cleanup

2 years agoMDL-70042 message_popup: progress bar on upgrade only when necessary
Matteo Scaramuccia [Wed, 28 Oct 2020 21:41:48 +0000 (22:41 +0100)]
MDL-70042 message_popup: progress bar on upgrade only when necessary

2 years agoMerge branch 'MDL-69390-master' of git://github.com/bmbrands/moodle
Jun Pataleta [Wed, 28 Oct 2020 14:44:15 +0000 (22:44 +0800)]
Merge branch 'MDL-69390-master' of git://github.com/bmbrands/moodle

2 years agoMDL-69390 theme_boost: dropdown menu accessibility
Bas Brands [Thu, 1 Oct 2020 11:37:47 +0000 (13:37 +0200)]
MDL-69390 theme_boost: dropdown menu accessibility

- display a dot before the active element
- use the active colour for the hover colour

2 years agoMerge branch 'MDL-69815-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 28 Oct 2020 06:19:32 +0000 (14:19 +0800)]
Merge branch 'MDL-69815-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-70004-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Wed, 28 Oct 2020 05:10:14 +0000 (13:10 +0800)]
Merge branch 'MDL-70004-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-64723' of git://github.com/paulholden/moodle
Jake Dallimore [Wed, 28 Oct 2020 04:10:29 +0000 (12:10 +0800)]
Merge branch 'MDL-64723' of git://github.com/paulholden/moodle

2 years agoMerge branch 'MDL-65792-master' of git://github.com/bmbrands/moodle
Jake Dallimore [Wed, 28 Oct 2020 03:59:44 +0000 (11:59 +0800)]
Merge branch 'MDL-65792-master' of git://github.com/bmbrands/moodle

2 years agoMDL-70041 filepicker: Make sure the user has a recently used license
Mihail Geshoski [Wed, 28 Oct 2020 03:48:33 +0000 (11:48 +0800)]
MDL-70041 filepicker: Make sure the user has a recently used license

2 years agoMerge branch 'MDL-70010' of https://github.com/stronk7/moodle
Jake Dallimore [Wed, 28 Oct 2020 03:07:19 +0000 (11:07 +0800)]
Merge branch 'MDL-70010' of https://github.com/stronk7/moodle

2 years agoMDL-69815 core: Bump Node to v14.15.0 (LTS/Fermium)
Andrew Nicols [Wed, 28 Oct 2020 01:27:15 +0000 (09:27 +0800)]
MDL-69815 core: Bump Node to v14.15.0 (LTS/Fermium)

2 years agoMerge branch 'MDL-69998-master-enfix' of git://github.com/mudrd8mz/moodle into master
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 23:41:53 +0000 (00:41 +0100)]
Merge branch 'MDL-69998-master-enfix' of git://github.com/mudrd8mz/moodle into master

2 years agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 22:47:26 +0000 (23:47 +0100)]
weekly release 4.0dev

2 years agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 22:47:26 +0000 (23:47 +0100)]
NOBUG: Fixed file access permissions

2 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 22:47:24 +0000 (23:47 +0100)]
NOBUG: Fixed SVG browser compatibility

2 years agoMDL-68722 atto_equation: fix for form elements with special characters
Matt Clarkson [Fri, 23 Oct 2020 03:06:36 +0000 (16:06 +1300)]
MDL-68722 atto_equation: fix for form elements with special characters

Element id's containing characters such as ':' would break the tab
selector in bootstrap.

This specifically affects the essay question type.

2 years agoMDL-69166 enrol_fee: fix behat string from fee to enrolment by payment
Sara Arjona [Tue, 27 Oct 2020 13:37:25 +0000 (14:37 +0100)]
MDL-69166 enrol_fee: fix behat string from fee to enrolment by payment

2 years agoMDL-69166 enrol_fee: define default value to currency setting
Sara Arjona [Tue, 27 Oct 2020 11:58:02 +0000 (12:58 +0100)]
MDL-69166 enrol_fee: define default value to currency setting

2 years agoMDL-69998 lang: Fix reworded strings in Behat test scenarios
David Mudrák [Mon, 26 Oct 2020 09:13:36 +0000 (10:13 +0100)]
MDL-69998 lang: Fix reworded strings in Behat test scenarios

2 years agoMDL-69998 lang: Import fixed English strings (en_fix)
Helen Foster [Mon, 26 Oct 2020 08:53:27 +0000 (09:53 +0100)]
MDL-69998 lang: Import fixed English strings (en_fix)

2 years agoMerge branch 'MDL-69166-master-4' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 27 Oct 2020 08:35:48 +0000 (16:35 +0800)]
Merge branch 'MDL-69166-master-4' of git://github.com/rezaies/moodle

2 years agoMDL-65792 mod_forum: show release time on timed posts
Bas Brands [Wed, 14 Oct 2020 11:24:14 +0000 (13:24 +0200)]
MDL-65792 mod_forum: show release time on timed posts

2 years agoMDL-69166 core: Fix missing lang strings
Shamim Rezaie [Tue, 27 Oct 2020 07:13:34 +0000 (18:13 +1100)]
MDL-69166 core: Fix missing lang strings

2 years agoMDL-69166 core: Fix upgrade step savepoint
Andrew Nicols [Tue, 27 Oct 2020 05:12:59 +0000 (13:12 +0800)]
MDL-69166 core: Fix upgrade step savepoint

2 years agoMerge branch 'MDL-69166-master-4' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 27 Oct 2020 04:47:50 +0000 (12:47 +0800)]
Merge branch 'MDL-69166-master-4' of git://github.com/rezaies/moodle

2 years agoMDL-69166 core_payment: Add privacy implementation
Shamim Rezaie [Wed, 14 Oct 2020 06:38:14 +0000 (17:38 +1100)]
MDL-69166 core_payment: Add privacy implementation

2 years agoMDL-69166 core_payment: Use promises instead of callbacks
Shamim Rezaie [Sun, 18 Oct 2020 15:31:44 +0000 (02:31 +1100)]
MDL-69166 core_payment: Use promises instead of callbacks

2 years agoMDL-69166 core_payment: Addressing various integration points
Shamim Rezaie [Fri, 16 Oct 2020 17:43:25 +0000 (04:43 +1100)]
MDL-69166 core_payment: Addressing various integration points

- Add help for 'payment account' field in the enrol instance form
- Remove MOODLE_INTERNALs when not necessary
- Add $userid to deliver_order
- Check if provider classes implement the provider interface
- Rename get_cost to get_payable
- get_payable returns payable object
- Improve registerEventListeners and added init
- Rename payment\provider to payment\service_provider

2 years agoMDL-69166 core_payment: Rename componentid to itemid
Shamim Rezaie [Fri, 16 Oct 2020 18:05:54 +0000 (05:05 +1100)]
MDL-69166 core_payment: Rename componentid to itemid

2 years agoMDL-69166 core_payment: Renamed plugintype name from pg to paygw
Shamim Rezaie [Fri, 16 Oct 2020 15:45:36 +0000 (02:45 +1100)]
MDL-69166 core_payment: Renamed plugintype name from pg to paygw

2 years agoMDL-69166 core_payment: addressing integration review
Marina Glancy [Fri, 16 Oct 2020 14:46:12 +0000 (01:46 +1100)]
MDL-69166 core_payment: addressing integration review

2 years agoMDL-69166 core_payment: rename some functions
Marina Glancy [Wed, 7 Oct 2020 08:53:01 +0000 (19:53 +1100)]
MDL-69166 core_payment: rename some functions

2 years agoMDL-69166 Replace all upgrade steps with just "create_table" steps
Shamim Rezaie [Wed, 7 Oct 2020 10:56:13 +0000 (21:56 +1100)]
MDL-69166 Replace all upgrade steps with just "create_table" steps

2 years agoMDL-69559 course: Fix course download cap checks when creating courses
Michael Hawkins [Tue, 27 Oct 2020 03:40:46 +0000 (11:40 +0800)]
MDL-69559 course: Fix course download cap checks when creating courses

2 years agoMDL-69166 core_payment: Add paymentarea to the payment subsystem
Shamim Rezaie [Fri, 2 Oct 2020 10:23:53 +0000 (20:23 +1000)]
MDL-69166 core_payment: Add paymentarea to the payment subsystem

2 years agoMDL-69166 core_payment: archiving accounts, triggering events, tests
Marina Glancy [Fri, 2 Oct 2020 06:01:56 +0000 (16:01 +1000)]
MDL-69166 core_payment: archiving accounts, triggering events, tests