Tim Hunt
1622425260
MDL-70065 quiz: fix paging when adding questions from the bank
2020-10-29 20:25:53 +00:00
Eloy Lafuente (stronk7)
99680d1be4
weekly release 4.0dev
2020-10-27 23:47:26 +01:00
Eloy Lafuente (stronk7)
f9faf700aa
NOBUG: Fixed file access permissions
2020-10-27 23:47:26 +01:00
Eloy Lafuente (stronk7)
96c572c5f3
NOBUG: Fixed SVG browser compatibility
2020-10-27 23:47:24 +01:00
Sara Arjona
54d718b2b0
MDL-69166 enrol_fee: fix behat string from fee to enrolment by payment
2020-10-27 15:00:30 +01:00
Sara Arjona
5c422a03b9
MDL-69166 enrol_fee: define default value to currency setting
2020-10-27 15:00:11 +01:00
Andrew Nicols
533bcf9f7b
Merge branch 'MDL-69166-master-4' of git://github.com/rezaies/moodle
2020-10-27 16:35:48 +08:00
Shamim Rezaie
7676918e75
MDL-69166 core: Fix missing lang strings
2020-10-27 18:13:34 +11:00
Andrew Nicols
d5be288740
MDL-69166 core: Fix upgrade step savepoint
2020-10-27 13:12:59 +08:00
Andrew Nicols
931f36ce15
Merge branch 'MDL-69166-master-4' of git://github.com/rezaies/moodle
2020-10-27 12:47:50 +08:00
Shamim Rezaie
ce7c648526
MDL-69166 core_payment: Add privacy implementation
2020-10-27 15:34:56 +11:00
Shamim Rezaie
0ecce652b1
MDL-69166 core_payment: Use promises instead of callbacks
2020-10-27 15:34:56 +11:00
Shamim Rezaie
f5d94d6305
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
2020-10-27 15:34:56 +11:00
Shamim Rezaie
d5a9d6e520
MDL-69166 core_payment: Rename componentid to itemid
2020-10-27 15:34:56 +11:00
Shamim Rezaie
2d7feb7583
MDL-69166 core_payment: Renamed plugintype name from pg to paygw
2020-10-27 15:34:55 +11:00
Marina Glancy
9ad96a63a4
MDL-69166 core_payment: addressing integration review
2020-10-27 15:34:55 +11:00
Marina Glancy
71ccaf200d
MDL-69166 core_payment: rename some functions
2020-10-27 15:34:55 +11:00
Shamim Rezaie
410973cf10
MDL-69166 Replace all upgrade steps with just "create_table" steps
2020-10-27 15:34:54 +11:00
Michael Hawkins
4a81496e28
MDL-69559 course: Fix course download cap checks when creating courses
2020-10-27 12:04:42 +08:00
Shamim Rezaie
61766b3d11
MDL-69166 core_payment: Add paymentarea to the payment subsystem
2020-10-27 14:40:49 +11:00
Marina Glancy
409857a42f
MDL-69166 core_payment: archiving accounts, triggering events, tests
2020-10-27 14:40:49 +11:00
Shamim Rezaie
73527fa213
MDL-69166 core_payment: Show cost on the modal when no gateway is chosen
2020-10-27 14:40:49 +11:00
Marina Glancy
1d479dc0cf
MDL-69166 core_payment: improvements to api, small fixes
2020-10-27 14:40:49 +11:00
Marina Glancy
6ff3087fe6
MDL-69166 core_payment: add payment accounts
2020-10-27 14:40:49 +11:00
Shamim Rezaie
3c87455f4b
MDL-69166 enrol_fee: Show a warning when no currency is supported
2020-10-27 14:40:49 +11:00
Shamim Rezaie
22a949196d
MDL-69166 enrol_fee: Prevent adding instance if no currency is supported
2020-10-27 14:40:49 +11:00
Shamim Rezaie
d5958c420e
MDL-69166 pg_paypal: only prevent closing during autorisation
2020-10-27 14:40:49 +11:00
Shamim Rezaie
e25eb2c0e1
MDL-69166 core-payment: Autoselect gateway when there is only one
2020-10-27 14:40:49 +11:00
Shamim Rezaie
e3e83185ed
MDL-69166 core_payment: payment gateways can have a surcharge
2020-10-27 14:40:47 +11:00
Shamim Rezaie
11b2d9e9ac
MDL-69166 core_payment: show cost on the modal
2020-10-27 14:37:29 +11:00
Shamim Rezaie
950e69dd4c
MDL-69166 pg_paypal: capture payment directly
2020-10-27 14:37:29 +11:00
Shamim Rezaie
9e6630ab99
MDL-69166 pg_paypal: New helper to get order details from PayPal
2020-10-27 14:37:29 +11:00
Marina Glancy
7740c45de4
MDL-69166 core_form: allow modals to prevent closing on accidental click
2020-10-27 14:37:28 +11:00
Shamim Rezaie
fd187060ad
MDL-69166 core_payment: ES6-ifying modal_gateways
2020-10-27 14:37:28 +11:00
Shamim Rezaie
b23dcc37f2
MDL-69166 core_payment: Use a custom modal type for gateway selector
2020-10-27 14:37:28 +11:00
Shamim Rezaie
2bb44987a6
MDL-69166 pg_paypal: Support multiple currencies on the same page
2020-10-27 14:37:28 +11:00
Shamim Rezaie
9d773ee592
MDL-69166 enrol_fee: use template for payment btn & properly format cost
2020-10-27 14:37:28 +11:00
Shamim Rezaie
ad6df31745
MDL-69166 core_payment: es6-ify
2020-10-27 14:37:28 +11:00
Shamim Rezaie
b5507b8685
MDL-69166 core_payment: add a callback for when payment is done
2020-10-27 14:37:28 +11:00
Shamim Rezaie
8726d77517
MDL-69166 pg_paypal: Display PayPal buttons in a modal
2020-10-27 14:37:28 +11:00
Shamim Rezaie
c67e35521a
MDL-69166 pg_paypal: handle paypal checkout callbacks
2020-10-27 14:37:28 +11:00
Shamim Rezaie
330f492089
MDL-69166 pg_paypal: Ability to connect to sandbox or live environment
2020-10-27 14:37:28 +11:00
Shamim Rezaie
16099e4038
MDL-69166 pg_paypal: Process after payment
2020-10-27 14:37:28 +11:00
Shamim Rezaie
52ed1392f8
MDL-69166 core_payment: Save general payment information
2020-10-27 14:37:28 +11:00
Shamim Rezaie
fc37fb1eb2
MDL-69166 pg_paypal: paypal helper class to work with API
2020-10-27 14:37:28 +11:00
Shamim Rezaie
184d2d078a
MDL-69166 enrol_fee: Implement callback functions for payment subsystem
2020-10-27 14:37:28 +11:00
Shamim Rezaie
22c68a8197
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.
2020-10-27 14:37:28 +11:00
Shamim Rezaie
e88e3b87be
MDL-69166 enrol_fee: set a description for enrolment
2020-10-27 14:37:28 +11:00
Shamim Rezaie
03f20edbd5
MDL-69166 core_payment: send a purchase description to payment gateways
...
We truncate description to 127 chars as per PayPal requirement
2020-10-27 14:37:28 +11:00
Shamim Rezaie
7f988ff518
MDL-69166 pg_paypal: render PayPal buttons and set up transaction
...
We truncate brand_name to 127 chars as per PayPal requirement.
2020-10-27 14:37:25 +11:00