Amaia Anabitarte
9c7b226579
MDL-55778 enrol_self: New string for 'Notify before..' options
...
AMOS BEGIN
CPY [expirynotifyall,core_enrol],[expirynotifyall,enrol_self]
CPY [expirynotifyenroller,core_enrol],[expirynotifyenroller,enrol_self]
AMOS END
2018-07-24 18:41:00 +02:00
Farhan Karmali
fe5b5be1dd
MDL-61208 enrol: Standard enrol plugins should use tasks instead of cron
2018-04-10 09:16:17 +05:30
Farhan Karmali
ebaf979c94
MDL-60811 enrol_self: Add bulk action for self enrollment on users page
2018-04-03 19:29:44 +05:30
Farhan Karmali
4fd0bdb2b7
MDL-61236 enrol: Course welcome message to be sent from correct contact
2018-02-11 20:45:49 +05:30
Jun Pataleta
4047fccba7
MDL-59811 enrol: Move get_user_enrolment_actions logic to parent class
...
* These duplicated implementations can be simplified where the logic
can be moved to enrol_plugin::get_user_enrolment_actions() method
itself.
2017-10-09 10:29:02 +08:00
Jun Pataleta
00aba5ec9a
MDL-59756 enrol: Swap positions of edit and unenrol actions
2017-08-11 10:18:30 +08:00
Luca Bösch
da15576180
MDL-58928 enrol: delete and edit icon alt attribute
2017-07-31 17:31:07 +02:00
Jun Pataleta
fd0a43be1b
MDL-59369 enrol: Introduce data-action attribute for enrol action links
2017-07-26 09:44:33 +08:00
Damyon Wiese
ad056aa267
MDL-40759 icons: Better mapping of some icons
2017-03-17 15:52:18 +08:00
Damyon Wiese
2b931458ad
MDL-40759 plugins: Add font icon mapping to all plugins
2017-03-17 15:51:29 +08:00
Marina Glancy
92253b15b7
MDL-40838 backup: restore enrolment methods without users
2017-02-20 12:08:35 +08:00
Marina Glancy
bbf401bec6
MDL-57782 enrol_self: fix check when email needs to be sent
...
Thanks to Leandro for providing a fix
2017-01-27 14:24:10 +08:00
Simey Lameze
0ab8b33754
MDL-29110 enrol_self: improve send course welcome message setting
...
This commit change send course welcome message to a drop-down that now supports sending emails from:
- Course contact
- Enrolment key holder
- No reply address
Also moves part of the logic of handling send welcome email from to a new method get_welcome_email_contact() and unit test for this new method.
2016-10-26 09:38:09 +08:00
Damyon Wiese
f758951565
MDL-48362 enrol: Convert guest to standard enrolment ui
...
Also - provide automatic course navigation links when using the standard ui.
2016-02-29 14:33:06 +08:00
Damyon Wiese
51c736f037
MDL-48362 enrol: Auto generate the edit action icons when using the new ui
2016-02-29 14:00:31 +08:00
Damyon Wiese
60010fd614
MDL-48362 enrol: Use a standard UI and validation for enrolment plugins
...
Convert core enrolment plugins to use standard editing ui.
2016-02-29 12:31:41 +08:00
Mark Nelson
d950ba1b3c
MDL-52017 enrol_self: always check password before re-enabling
2015-12-03 19:26:22 +08:00
Bence Laky
933f0d966e
MDL-51578 enrol_self: Improved error message on late/early enrolments
2015-10-06 09:16:18 +01:00
David Monllao
012d14e892
MDL-50332 enrol_self: Setting form url for guests
...
Credit to Andrew Nicols.
2015-09-23 09:52:04 +08:00
David Monllao
8f338081cc
MDL-50332 enrol_self: Formatting unavailable instances error messages
...
Many thanks to Andrew Nicols as this patch is based on his
proposal. Thanks Andrew.
2015-09-21 15:39:42 +08:00
Mark Nelson
9c54a0abad
MDL-49232 enrol_self: display continue button
2015-04-29 18:04:28 -07:00
LE PERF Stephane
ab2fa7a768
MDL-49677 enrol_self: allow fullname and email in the welcome message
2015-04-02 09:42:20 +02:00
John Okely
cf6d62fc3f
MDL-47761 enrol: Show more detail for self-enrolment errors
...
Thanks to Mirko Otto for the solution
2015-01-06 10:19:18 +08:00
David Monllao
bc92aace89
MDL-22309 enrol_self: Fixing get_role_users usage
2014-11-27 11:32:58 +08:00
Daniel Neis Araujo
b5a289c4e8
MDL-46509 enrol: Require 'enrol/PLUGIN:config' capabilities to show/hide enrollment instances
2014-08-21 19:01:57 -03:00
Marina Glancy
d92e23cfe6
MDL-46338 enrol_self: Icon should indicate enrolment availability
2014-07-29 09:50:22 +08:00
Daniel Neis
ee9e079ddd
MDL-35864 Require 'enrol/PLUGIN:config' capabilities to delete enrol instances
2014-06-20 13:08:18 -03:00
Mark Nelson
f1f4f4fd7b
MDL-40909 core_enrol: removed 'enrol' add_to_log calls
...
Before each of these calls a call to enrol_user() is made, which
triggers the event 'user_enrolment_created'. Nothing more is needed.
2014-01-27 19:52:55 -08:00
sam marshall
3ef7279f26
MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
...
Exceptions (places where set_time_limit is still left) are:
Third-party libraries:
ADODB
PHPMailer
Moodle core:
PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Rajesh Taneja
735c3a7b4f
MDL-42536 enrol_self: Added groups/lib.php required file
2013-10-25 11:09:43 +08:00
Rajesh Taneja
2b503e40f2
MDL-31560 Messages: Deprecated generate_email_supportuser
...
generate_email_supportuser was not creating user which can
be used by messaging system. core_user::get_support_user()
should be used to get support_user record.
2013-09-13 16:13:26 +08:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c .
2013-08-21 13:42:30 +08:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Rajesh Taneja
be9bf94e4a
MDL-40126 Enrolments: Implemented two webservices to get enrolment instance info
...
1. core_enrol_get_course_enrolment_methods() which returns all enrolment method instances
which implement get_enrol_info()
2. enrol_self_get_instance_info() will return information about self enrolment instance.
2013-07-29 15:07:37 +08:00
Rajesh Taneja
cc1b501595
MDL-40127 Enrolments: Added status to instance info and removed displaying of enrolment form with notice
...
get_enrol_info will return status of enrolment instance, to notify webservice if enrolment is possible or not
If enrolment is not possible then don't show enrolment form
show_enrolme_link will use can_self_enrol to varify if enrolment link should be shown or not.
2013-07-02 14:35:33 +08:00
Rajesh Taneja
85d1c53af4
MDL-40127 Enrolments: Abstracted self_enrolment code so as to be used by webservices
2013-07-02 14:35:33 +08:00
Petr Škoda
8ef3d51470
MDL-39292 use consistent iconsmall in enrol instances UI
2013-04-27 12:28:54 +02:00
Frederic Massart
982f4bc40e
MDL-38301 usability: Fixed wrong icon size
2013-02-15 10:04:57 +08:00
Petr Škoda
d8f22c49b1
MDL-37716 standardise enrolment expiration code
2013-01-26 14:55:11 +01:00
Dan Poltawski
82420bbb91
Merge branch 'w02_MDL-37184_m25_editenrol' of git://github.com/skodak/moodle
2013-01-16 10:19:57 +08:00
Petr Škoda
e1fa177cf9
MDL-36514 add new option to prevent only new self enrolments
...
Hopefully this will resolve all confusion around the enrol->status flag in this plugin.
2013-01-12 16:03:08 +01:00
Petr Škoda
0aaea0d241
MDL-37184 refactor enrolment editing code to be shared by plugins
...
AMOS BEGIN
MOV [editenrolment,enrol_self],[editenrolment,core_enrol]
AMOS END
2013-01-12 15:47:04 +01:00
Petr Škoda
5d549ffc8c
MDL-37299 use progress_trace in enrol_manual and enrol_self sync
2012-12-29 21:50:32 +01:00
Petr Škoda
eac37ff46a
MDL-36431 fix multiple problems with self enrol defaults
...
This patch adds new method for retrieving of default properties of enrol_self instances and uses it both for automatic adding of instances and add instance form - this will guarantee both are using the same data in the future.
2012-11-07 18:57:14 +01:00
Petr Škoda
8a486fdb7d
MDL-35843 implement self enrolment expiry notification
2012-10-19 16:04:00 +08:00
Tim Hunt
9695ff811b
MDL-34657 user sorting: consistent sorting everywhere.
...
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.
Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
Petr Škoda
90bd89651e
MDL-35062 add configurable action on self enrolment expiration
2012-09-16 10:57:57 +02:00
Petr Škoda
7a7b8a1f19
MDL-35071 redesign enrol restore
...
Includes option to convert all enrolments to enrol_manual instances, support for mapping of custom fields and fixes for several other problems. This does not include support for custom enrol tables, it will be addressed in another issue.
2012-09-07 11:11:28 +02:00
Petr Škoda
d9669db9b3
MDL-35070 coding style cleanup in enrol_self
2012-08-26 16:02:38 +02:00
Petr Škoda
dd6b1f15cf
MDL-23875 add option to limit self-enrol to cohort members only
2012-08-26 15:56:01 +02:00