moodle.git
10 months agoon-demand release 3.10beta+
Eloy Lafuente (stronk7) [Tue, 3 Nov 2020 11:23:48 +0000 (12:23 +0100)]
on-demand release 3.10beta+

10 months agoMerge branch 'MDL-70059-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE
Andrew Nicols [Tue, 3 Nov 2020 04:05:19 +0000 (12:05 +0800)]
Merge branch 'MDL-70059-310' of git://github.com/sarjona/moodle into MOODLE_310_STABLE

10 months agoMerge branch 'MDL-70033-310-2' of git://github.com/mickhawkins/moodle into MOODLE_310...
Jun Pataleta [Tue, 3 Nov 2020 04:01:33 +0000 (12:01 +0800)]
Merge branch 'MDL-70033-310-2' of git://github.com/mickhawkins/moodle into MOODLE_310_STABLE

10 months 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

10 months 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>
10 months 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

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

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

10 months 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.

10 months agoMerge branch 'MDL-70073-310' of git://github.com/peterRd/moodle into MOODLE_310_STABLE
Jake Dallimore [Mon, 2 Nov 2020 05:57:35 +0000 (13:57 +0800)]
Merge branch 'MDL-70073-310' of git://github.com/peterRd/moodle into MOODLE_310_STABLE

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

10 months agoMDL-70073 badges: Fix the backpack-add to match current master
Peter Dias [Sun, 1 Nov 2020 14:33:28 +0000 (22:33 +0800)]
MDL-70073 badges: Fix the backpack-add to match current master

10 months 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>
10 months 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

10 months 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)

10 months 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.

10 months agoon-demand release 3.10beta+
Eloy Lafuente (stronk7) [Fri, 30 Oct 2020 12:49:20 +0000 (13:49 +0100)]
on-demand release 3.10beta+

10 months agoMerge branch 'MDL-68167-310' of git://github.com/rezaies/moodle into MOODLE_310_STABLE
Jun Pataleta [Fri, 30 Oct 2020 05:16:55 +0000 (13:16 +0800)]
Merge branch 'MDL-68167-310' of git://github.com/rezaies/moodle into MOODLE_310_STABLE

10 months 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

10 months 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

10 months 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

10 months 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.

10 months 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

10 months 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.

10 months 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

10 months 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.

10 months 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

10 months 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.

10 months 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

10 months agoMerge branch 'MDL-69390-310' of git://github.com/bmbrands/moodle into MDL-69390-310...
Shamim Rezaie [Fri, 30 Oct 2020 03:59:34 +0000 (14:59 +1100)]
Merge branch 'MDL-69390-310' of git://github.com/bmbrands/moodle into MDL-69390-310-test

10 months agoMerge branch 'MDL-69156_310' of https://github.com/ffhs/moodle into MOODLE_310_STABLE
Andrew Nicols [Fri, 30 Oct 2020 03:52:07 +0000 (11:52 +0800)]
Merge branch 'MDL-69156_310' of https://github.com/ffhs/moodle into MOODLE_310_STABLE

10 months agoMerge branch 'MDL-70032-310-2' of git://github.com/junpataleta/moodle into MOODLE_310...
Víctor Déniz [Thu, 29 Oct 2020 22:25:50 +0000 (22:25 +0000)]
Merge branch 'MDL-70032-310-2' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE

10 months 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.

10 months 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

10 months 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.

10 months 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.

10 months agoMerge branch 'MDL-68722-310' of https://github.com/matt-catalyst/moodle into MOODLE_3...
Andrew Nicols [Thu, 29 Oct 2020 06:03:15 +0000 (14:03 +0800)]
Merge branch 'MDL-68722-310' of https://github.com/matt-catalyst/moodle into MOODLE_310_STABLE

10 months agoMerge branch 'MDL-69716-310' of git://github.com/aanabit/moodle into MOODLE_310_STABLE
Jake Dallimore [Thu, 29 Oct 2020 04:40:06 +0000 (12:40 +0800)]
Merge branch 'MDL-69716-310' of git://github.com/aanabit/moodle into MOODLE_310_STABLE

10 months agoMerge branch 'MDL-70041-310' of git://github.com/mihailges/moodle into MOODLE_310_STABLE
Jake Dallimore [Thu, 29 Oct 2020 03:49:20 +0000 (11:49 +0800)]
Merge branch 'MDL-70041-310' of git://github.com/mihailges/moodle into MOODLE_310_STABLE

10 months agoMerge branch 'm310_MDL-70042_Progress_Bar_Upgrade_Message_Popup' of https://github...
Adrian Greeve [Thu, 29 Oct 2020 00:33:33 +0000 (08:33 +0800)]
Merge branch 'm310_MDL-70042_Progress_Bar_Upgrade_Message_Popup' of https://github.com/scara/moodle into MOODLE_310_STABLE

10 months 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

10 months 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

10 months agoMerge branch 'MDL-69390-310' of git://github.com/bmbrands/moodle into MOODLE_310_STABLE
Jun Pataleta [Wed, 28 Oct 2020 14:44:08 +0000 (22:44 +0800)]
Merge branch 'MDL-69390-310' of git://github.com/bmbrands/moodle into MOODLE_310_STABLE

11 months 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

11 months agoMerge branch 'MDL-69815-310' of git://github.com/andrewnicols/moodle into MOODLE_310_...
Jun Pataleta [Wed, 28 Oct 2020 06:19:23 +0000 (14:19 +0800)]
Merge branch 'MDL-69815-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE

11 months agoMerge branch 'MDL-70004-310' of git://github.com/junpataleta/moodle into MOODLE_310_S...
Andrew Nicols [Wed, 28 Oct 2020 05:14:12 +0000 (13:14 +0800)]
Merge branch 'MDL-70004-310' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE

11 months agoMerge branch 'MDL-64723-310' of git://github.com/paulholden/moodle into MOODLE_310_STABLE
Jake Dallimore [Wed, 28 Oct 2020 04:10:47 +0000 (12:10 +0800)]
Merge branch 'MDL-64723-310' of git://github.com/paulholden/moodle into MOODLE_310_STABLE

11 months 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

11 months agoMerge branch 'MDL-65792-310' of git://github.com/bmbrands/moodle into MOODLE_310_STABLE
Jake Dallimore [Wed, 28 Oct 2020 04:00:16 +0000 (12:00 +0800)]
Merge branch 'MDL-65792-310' of git://github.com/bmbrands/moodle into MOODLE_310_STABLE

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

11 months 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)

11 months agoMerge branch 'MDL-69998-310-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_31...
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 23:42:05 +0000 (00:42 +0100)]
Merge branch 'MDL-69998-310-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE

11 months agoMoodle release 3.10beta v3.10.0-beta
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 22:48:46 +0000 (23:48 +0100)]
Moodle release 3.10beta

11 months agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 22:48:45 +0000 (23:48 +0100)]
NOBUG: Fixed file access permissions

11 months agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Tue, 27 Oct 2020 22:48:43 +0000 (23:48 +0100)]
NOBUG: Fixed SVG browser compatibility

11 months 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

11 months 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

11 months 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

11 months 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)

11 months agoMerge branch 'MDL-69166-310-4' of git://github.com/rezaies/moodle into MOODLE_310_STABLE
Andrew Nicols [Tue, 27 Oct 2020 08:35:58 +0000 (16:35 +0800)]
Merge branch 'MDL-69166-310-4' of git://github.com/rezaies/moodle into MOODLE_310_STABLE

11 months 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

11 months agoMDL-69166 core: Fix missing lang strings
Shamim Rezaie [Tue, 27 Oct 2020 07:15:09 +0000 (18:15 +1100)]
MDL-69166 core: Fix missing lang strings

11 months agoMerge branch 'MDL-69166-310-4' of git://github.com/rezaies/moodle into MOODLE_310_STABLE
Andrew Nicols [Tue, 27 Oct 2020 04:59:25 +0000 (12:59 +0800)]
Merge branch 'MDL-69166-310-4' of git://github.com/rezaies/moodle into MOODLE_310_STABLE

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months 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

11 months agoMDL-69166 core_payment: Show cost on the modal when no gateway is chosen
Shamim Rezaie [Thu, 1 Oct 2020 14:53:54 +0000 (00:53 +1000)]
MDL-69166 core_payment: Show cost on the modal when no gateway is chosen

11 months agoMDL-69166 core_payment: improvements to api, small fixes
Marina Glancy [Wed, 30 Sep 2020 17:21:30 +0000 (19:21 +0200)]
MDL-69166 core_payment: improvements to api, small fixes

11 months agoMDL-69166 core_payment: add payment accounts
Marina Glancy [Tue, 29 Sep 2020 17:27:37 +0000 (19:27 +0200)]
MDL-69166 core_payment: add payment accounts

11 months agoMDL-69166 enrol_fee: Show a warning when no currency is supported
Shamim Rezaie [Wed, 30 Sep 2020 03:24:43 +0000 (13:24 +1000)]
MDL-69166 enrol_fee: Show a warning when no currency is supported

11 months agoMDL-69166 enrol_fee: Prevent adding instance if no currency is supported
Shamim Rezaie [Wed, 30 Sep 2020 01:48:58 +0000 (11:48 +1000)]
MDL-69166 enrol_fee: Prevent adding instance if no currency is supported

11 months agoMDL-69166 pg_paypal: only prevent closing during autorisation
Shamim Rezaie [Tue, 29 Sep 2020 11:33:16 +0000 (21:33 +1000)]
MDL-69166 pg_paypal: only prevent closing during autorisation

11 months agoMDL-69166 core-payment: Autoselect gateway when there is only one
Shamim Rezaie [Tue, 29 Sep 2020 11:32:13 +0000 (21:32 +1000)]
MDL-69166 core-payment: Autoselect gateway when there is only one

11 months agoMDL-69166 core_payment: payment gateways can have a surcharge
Shamim Rezaie [Tue, 30 Jun 2020 07:37:50 +0000 (17:37 +1000)]
MDL-69166 core_payment: payment gateways can have a surcharge

11 months agoMDL-69166 core_payment: show cost on the modal
Shamim Rezaie [Tue, 30 Jun 2020 07:14:38 +0000 (17:14 +1000)]
MDL-69166 core_payment: show cost on the modal

11 months agoMDL-69166 pg_paypal: capture payment directly
Shamim Rezaie [Fri, 17 Jan 2020 16:20:41 +0000 (03:20 +1100)]
MDL-69166 pg_paypal: capture payment directly

11 months agoMDL-69166 pg_paypal: New helper to get order details from PayPal
Shamim Rezaie [Fri, 17 Jan 2020 16:08:02 +0000 (03:08 +1100)]
MDL-69166 pg_paypal: New helper to get order details from PayPal

11 months agoMDL-69166 core_form: allow modals to prevent closing on accidental click
Marina Glancy [Fri, 17 Jan 2020 13:25:53 +0000 (00:25 +1100)]
MDL-69166 core_form: allow modals to prevent closing on accidental click

11 months agoMDL-69166 core_payment: ES6-ifying modal_gateways
Shamim Rezaie [Wed, 15 Jan 2020 13:22:05 +0000 (00:22 +1100)]
MDL-69166 core_payment: ES6-ifying modal_gateways

11 months agoMDL-69166 core_payment: Use a custom modal type for gateway selector
Shamim Rezaie [Wed, 15 Jan 2020 11:48:26 +0000 (22:48 +1100)]
MDL-69166 core_payment: Use a custom modal type for gateway selector

11 months agoMDL-69166 pg_paypal: Support multiple currencies on the same page
Shamim Rezaie [Wed, 15 Jan 2020 04:58:32 +0000 (15:58 +1100)]
MDL-69166 pg_paypal: Support multiple currencies on the same page

11 months agoMDL-69166 enrol_fee: use template for payment btn & properly format cost
Shamim Rezaie [Mon, 13 Jan 2020 17:37:01 +0000 (04:37 +1100)]
MDL-69166 enrol_fee: use template for payment btn & properly format cost

11 months agoMDL-69166 core_payment: es6-ify
Shamim Rezaie [Sun, 12 Jan 2020 14:31:44 +0000 (01:31 +1100)]
MDL-69166 core_payment: es6-ify

11 months agoMDL-69166 core_payment: add a callback for when payment is done
Shamim Rezaie [Sat, 11 Jan 2020 19:28:34 +0000 (06:28 +1100)]
MDL-69166 core_payment: add a callback for when payment is done

11 months agoMDL-69166 pg_paypal: Display PayPal buttons in a modal
Shamim Rezaie [Fri, 10 Jan 2020 18:34:47 +0000 (05:34 +1100)]
MDL-69166 pg_paypal: Display PayPal buttons in a modal

11 months agoMDL-69166 pg_paypal: handle paypal checkout callbacks
Shamim Rezaie [Fri, 10 Jan 2020 08:30:07 +0000 (19:30 +1100)]
MDL-69166 pg_paypal: handle paypal checkout callbacks

11 months agoMDL-69166 pg_paypal: Ability to connect to sandbox or live environment
Shamim Rezaie [Fri, 10 Jan 2020 07:59:58 +0000 (18:59 +1100)]
MDL-69166 pg_paypal: Ability to connect to sandbox or live environment

11 months agoMDL-69166 pg_paypal: Process after payment
Shamim Rezaie [Wed, 8 Jan 2020 17:06:44 +0000 (04:06 +1100)]
MDL-69166 pg_paypal: Process after payment

11 months agoMDL-69166 core_payment: Save general payment information
Shamim Rezaie [Wed, 8 Jan 2020 16:45:51 +0000 (03:45 +1100)]
MDL-69166 core_payment: Save general payment information

11 months agoMDL-69166 pg_paypal: paypal helper class to work with API
Shamim Rezaie [Wed, 8 Jan 2020 15:57:11 +0000 (02:57 +1100)]
MDL-69166 pg_paypal: paypal helper class to work with API

11 months agoMDL-69166 enrol_fee: Implement callback functions for payment subsystem
Shamim Rezaie [Wed, 8 Jan 2020 14:43:51 +0000 (01:43 +1100)]
MDL-69166 enrol_fee: Implement callback functions for payment subsystem

11 months agoMDL-69166 core_payment: helper methods to get cost and to deliver order
Shamim Rezaie [Wed, 8 Jan 2020 14:41:12 +0000 (01:41 +1100)]
MDL-69166 core_payment: helper methods to get cost and to deliver order

Also create the infrastructure to let components know when they have to
deliver what they sold. We are going to use namespace functions instead
of traditional callbacks.

11 months agoMDL-69166 enrol_fee: set a description for enrolment
Shamim Rezaie [Mon, 6 Jan 2020 08:48:08 +0000 (19:48 +1100)]
MDL-69166 enrol_fee: set a description for enrolment