Arnaud Trouvé
b38cf7b56c
Set timestart on enrolment confirmation
7 years ago
Arnaud Trouvé
3bed3f1f47
fix #71 : allow to tweak role manually
8 years ago
Arnaud Trouvé
932773ff7b
fix #70 : Prevent to unenrol a user with a pending application
8 years ago
Flotter Totte
372f6d7caf
Add info about max enrolled users on enrol screen
Konstantin (CMD): Add info about max enrolled users on enrol screen.
8 years ago
Johannes Burk
3d278703ab
Change notification settings and behaviour.
* Replace global 'sendmailtoteacher' setting (checkbox) by 'notifycoursebased' (checkbox):
default for new instances
* Replace global 'sendmailtomanager' setting (checkbox) by 'notifyglobal' (multi-select):
user based selection (users with 'manageapplications' capability in system context)
* Replace instance notification setting (checkbox) by user based selection (multi-select):
enrolled users with 'manageapplications' capability in course context
* Upgrade process:
* if 'sendmailtoteacher' was true, set 'notifycoursebased' true
* if 'sendmailtomanager' was true, set 'notifyglobal' to
"Everyone who can 'Manage apply enrolment'", "Nobody" otherwise
* if instance based notification setting was set to true,
set new user based setting to "Everyone who can 'Manage apply enrolment'", "Nobody" otherwise
9 years ago
Johannes Burk
efbd37dd7f
Use Messaging API instead of email_to_user() function
9 years ago
Johannes Burk
fbb31ec2a0
Format code (code checker)
9 years ago
Johannes Burk
a986b87d73
File comments adjusted
9 years ago
Johannes Burk
4235cb06b0
Fixes
9 years ago
Johannes Burk
cec7f27c29
Optimize sending application notification to teachers and managers.
9 years ago
Johannes Burk
7c38a66258
Optimize user notifications for confirm, wait, cancel actions.
9 years ago
Johannes Burk
d44a738a17
Remove event triggering, it is already done by the enrol_user method
9 years ago
Johannes Burk
b9f4434f06
Move all functions inside class
9 years ago
Johannes Burk
51cf0cbf55
Optimize notification mail sending
9 years ago
Johannes Burk
762ed28d56
Optimize confirm, wait and cancel enrolments functions.
9 years ago
Johannes Burk
0e5b8f8b8b
Refactor capabilities
Change name of enrol/apply:manage to enrol/apply:manageapplications to avoid confusion with reserved enrol/xxx:manage for manual enrolment status changes (see also allow_manage() method).
Remove unnecessary enrol/apply:enrol capability (plugin does not allow manual enrolment of other users)
Add description comments.
9 years ago
Johannes Burk
c89c845a0e
Do not allow manual enrolment and unenrolment, remove corresponding code.
9 years ago
Johannes Burk
efb639cee5
Fix indention
9 years ago
Johannes Burk
55d7a07709
Refactor settings
9 years ago
Johannes Burk
6c4261404d
Refactoring...
9 years ago
Johannes Burk
a01b669a5f
Use table_sql for manage table generation.
9 years ago
Johannes Burk
9bf08acb8e
Refactor: combine manage.php and apply.php to manage.php,
rename locallib.php to apply_form.php and containing class
from enrol_apply_enrol_form to enrol_apply_apply_form
refactor code in manage.php
9 years ago
Johannes Burk
f4bb716a64
Indention convert to spaces
9 years ago
Johannes Burk
857e30b294
Fix: Error message when trying to apply for an course when send mail to teacher is set on.
fixes #59
9 years ago
Johannes Burk
871cff063d
Store user comment for enrolment application in database to display it in the apply table.
Create enrol_apply_applicationinfo table
9 years ago
Johannes Burk
25a19cf32c
Add teacher notification setting (sendmailtoteacher) per instance.
9 years ago
Johannes Burk
d4cafeeaaf
Fix: Adopt global instance defaults for new course instance.
9 years ago
Flottertotte
04b58642f1
further bugfixes
9 years ago
Johannes Burk
e2fc1900d0
Add waiting list feature.
9 years ago
Daniel Neis Araujo
bd03f5001f
filter by enrolid/enrol plugin on getAllEnrolment
9 years ago
Johannes Burk
6551baa2b7
Fix: use of capabilities from other enrolment plugins (manual, self) instead of enrol_apply capabilities.
9 years ago
Flottertotte
e0ba1e63a9
fixed bug
fixed bug when profile fields are switched off
9 years ago
Gilles-Philippe Leblanc
245f672d9d
Fix notification message type: success instead of error
10 years ago
Flottertotte
9d44f1d287
Some bugfixes
Some bugfixes
10 years ago
Carlos Shirasawa (Shiro)
c30f7abbb7
Fixing with full info
10 years ago
Carlos Shirasawa (Shiro)
39c04e0ced
Fixing deprecated functions
10 years ago
Flottertotte
d311304059
Further adjustments
10 years ago
Flottertotte
e14c9b66aa
lang b ug
small changes to make lang work
10 years ago
Flottertotte
2e89a98b64
Add fields
10 years ago
Flottertotte
d137d8e346
Revert "for revert"
This reverts commit 9c2fccea01
.
10 years ago
Flottertotte
9c2fccea01
for revert
10 years ago
Flottertotte
b5a4643f35
Enrolment page part
10 years ago
Flotter Totte
489048b69e
Update lib.php
Setup navigation items (by Scott Karren)
Override function can_hide_show_instance(). (by ewallah)
10 years ago
lainme
9d9102ada5
send email as site supporter
10 years ago
lainme
1e9b70a1c3
fix no email content when plain email enabled
10 years ago
jordifontseca
876548ee4a
Parse course fullname with format_string()
so that filters are applied (such as multilingual filter).
10 years ago
jordifontseca
699177ae61
Improved notifications for teachers and managers
Added option to send email to managers as well as teachers.
The email message now contains a link to manage applications (the link allows teachers to manage all applications in a course, while managers see all applications in all courses).
10 years ago
Flottertotte
a952ab653a
Add more placeholders
Added more placeholders to confirmation/ cancellation email
11 years ago
Johannes Burk
3cd9c557ab
Replaced deprecated function get_context_instance() with context_XXX::instance()
11 years ago
Johannes Burk
29dc19c854
changed capabilities used for checking and icons
11 years ago