Eloy Lafuente (stronk7)
4f0b58714c
Merge branch 'MDL-70967-master' of git://github.com/marinaglancy/moodle
2021-03-10 23:39:25 +01:00
Sara Arjona
2c0038f7f9
Merge branch 'MDL-70287-master-3' of git://github.com/rezaies/moodle
2021-03-10 20:48:44 +01:00
sam marshall
987e55452f
MDL-45242 Course: Enrol feature supports custom profile fields
2021-03-10 10:57:11 +00:00
sam marshall
558cc1b85e
MDL-45242 Lib: Replace calls to deprecated functions
...
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Eloy Lafuente (stronk7)
8cf7878e18
Merge branch 'MDL-70424-auth-avoid-changes' of https://github.com/brendanheywood/moodle
2021-03-04 00:27:53 +01:00
Paul Holden
a251c260c4
MDL-70822 enrol: respect capability to view other users profile.
...
When retrieving courses of another user via web services, we should
respect the capability to view that users profile in a given course.
2021-03-02 23:44:24 +01:00
David Mudrák
0c9eaeff59
MDL-70964 lang: Use the fixed strings in tests
2021-02-25 16:20:58 +01:00
Shamim Rezaie
9317849257
MDL-70287 core_payment: Redirect user to the successurl after payment
2021-02-24 22:44:10 +11:00
Shamim Rezaie
51b73e431e
MDL-70287 core_payment: Add get_success_url to service_provider
2021-02-24 22:44:10 +11:00
Shamim Rezaie
03b9d60b8e
MDL-70287 core_payment: Improving existing and missing phpdocs
2021-02-24 22:42:03 +11:00
Brendan Heywood
300213ee2e
MDL-70424 auth: Avoid random changes to $CFG->auth
2021-02-23 11:40:57 +11:00
Marina Glancy
ef99a587d3
MDL-70967 enrol_meta: fix error in unittest
2021-02-22 18:04:14 +01:00
Andrew Nicols
74a86acc8d
MDL-66979 behat: Use tab to blur current focus
...
The focus should be on something, rather than removed.
The way in which focus removal works can lead to side effects.
2021-01-22 14:52:10 +08:00
Eloy Lafuente (stronk7)
77342b96fc
MDL-69308 upgrade: remove all the < 3.6.0 upgrade steps
...
This just deletes all the upgrade steps previous to 3.6.0. Some
small adjustments, like tweaking globals can also be applied
when needed.
Also includes an upgrade step to prevent upgrading from any
version < 2018120300 (v3.6.0) as anti-cheating measure.
Note that in this case, there wasn't any case of upgradelib
functions being used, hence we haven't to deprecate/remove
anything in codebase. When there is such a need, that is done
in separate commits (one for each function) and documented here.
See MDL-65809 commits for an example removing/deprecating a
good number of functions.
2021-01-13 19:11:19 +01:00
Jake Dallimore
814f60a438
Merge branch 'MDL-70459-master' of git://github.com/rezaies/moodle
2020-12-22 16:50:41 +08:00
Shamim Rezaie
22dfcb1029
MDL-70459 enrol_fee: Sort the list of currencies when displaying
2020-12-16 22:26:44 +11:00
Andrew Nicols
31402aa406
MDL-69107 user: Fix autocomplete usages
2020-12-16 07:50:56 +08:00
Víctor Déniz
8027c25085
Merge branch 'MDL-63683-master' of https://github.com/dravek/moodle
2020-12-09 12:48:34 +00:00
Ilya Tregubov
aa1691d811
MDL-69869 enrol: Fixing intendation for travis.
2020-12-08 09:15:15 +02:00
Ilya Tregubov
65a1d6e8e0
MDL-69869 enrol: Clean up - switch to [] from array().
2020-12-08 09:15:15 +02:00
Ilya Tregubov
e53bc6a1f8
MDL-69869 enrol: Add ability to get suspended users through
...
core_enrol_get_enrolled_users webservice.
2020-12-08 09:15:15 +02:00
David Matamoros
9b5eb38f55
MDL-63683 enrol: Fix plugin settings when no role has student archetype
2020-12-04 09:09:37 +01:00
Andrew Nicols
a57de96846
Merge branch 'MDL-63266-master' of git://github.com/peterRd/moodle
2020-11-26 12:46:11 +01:00
Adrian Greeve
3f5489e014
Merge branch 'MDL-56653_enrol_meta_edit_instance_validation' of https://github.com/vtos/moodle
2020-11-19 11:07:27 +08:00
Andrew Nicols
ba34d6e225
MDL-70148 behat: Update steps for keyboard
2020-11-17 15:14:43 +08:00
Peter Dias
487c6f67b5
MDL-63266 core: Final deprecation enrol/cli/sync.php
2020-11-16 23:11:17 +08:00
Vitaly
d7d1ed65a5
MDL-56653 enrol_meta: a single DB query in edit_instance_validation
...
The 'edit_instance_validation()' method checks for existing meta enrolment instances.
The fix replaces DB queries in a loop for each course with a single query for all courses.
Also, a new testing method 'test_edit_instance_validation_with_existing_courses()'
was added to /enrol/meta/tests/plugin_test.php to test if the new implementation
returns an error in case of trying to save the already linked courses in the 'customint1' field.
2020-11-12 15:14:44 +03:00
Mihail Geshoski
253af8711d
MDL-67837 backup: Add unit tests
2020-11-03 12:34:28 +01:00
Eloy Lafuente (stronk7)
d59487ded3
Merge branch 'MDL-69998-master-enfix' of git://github.com/mudrd8mz/moodle into master
2020-10-28 00:41:53 +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
Helen Foster
dd7a1d60e2
MDL-69998 lang: Import fixed English strings (en_fix)
2020-10-27 11:32:10 +01:00
Shamim Rezaie
ce7c648526
MDL-69166 core_payment: Add privacy implementation
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
Marina Glancy
9ad96a63a4
MDL-69166 core_payment: addressing integration review
2020-10-27 15:34:55 +11: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
9d773ee592
MDL-69166 enrol_fee: use template for payment btn & properly format cost
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
e88e3b87be
MDL-69166 enrol_fee: set a description for enrolment
2020-10-27 14:37:28 +11:00
Shamim Rezaie
8ef156b7dc
MDL-69166 core_payment: post to process payment
2020-10-27 08:37:08 +11:00
Shamim Rezaie
e9de430907
MDL-69166 core_payment: display the gateways modal
2020-10-27 08:37:08 +11:00
Shamim Rezaie
a580b33738
MDL-69166 enrol_fee: An enrolment plugin that supports payments
2020-10-27 08:37:08 +11:00