Flotter Totte
ccac1a53d8
Update version.php
9 years ago
Flotter Totte
7df2e2ad13
Merge pull request #75 from sudile/fix-statusselect
Fix: yes/no options in instance status dropdown switched
9 years ago
Flotter Totte
6c13e4a223
Merge pull request #68 from sudile/dev-notifications
Notification improvements
9 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
3f7eceab1a
Fix: yes/no options in instance status dropdown switched
9 years ago
Johannes Burk
efbd37dd7f
Use Messaging API instead of email_to_user() function
10 years ago
Flotter Totte
51ac6b73a3
Japanese language
9 years ago
Flotter Totte
abe7fef218
Delete enrol_apply.php
9 years ago
Flotter Totte
6e54bc1b4b
Japanese language
9 years ago
Flotter Totte
8b8bbca87c
Merge pull request #67 from sudile/dev-improvetable
Improve manage table (select menu for actions and toggle all checkbox)
9 years ago
Johannes Burk
8cb9ea0dfc
Improve manage table (select menu for actions and toggle all checkbox)
10 years ago
Flotter Totte
4ef1f20436
Update version.php
10 years ago
Flotter Totte
decd96843d
Merge pull request #66 from sudile/dev-refactor
Refactor code
10 years ago
Johannes Burk
fbb31ec2a0
Format code (code checker)
10 years ago
Johannes Burk
a986b87d73
File comments adjusted
10 years ago
Johannes Burk
0211dbfd10
Optimize apply_form
10 years ago
Johannes Burk
4235cb06b0
Fixes
10 years ago
Johannes Burk
256c3e1b67
Use renderer for edit page.
10 years ago
Johannes Burk
cec7f27c29
Optimize sending application notification to teachers and managers.
10 years ago
Johannes Burk
7c38a66258
Optimize user notifications for confirm, wait, cancel actions.
10 years ago
Johannes Burk
165ffcfe34
Fix: Wrong param type (PARAM_TEXT changed to PARAM_RAW for admin_setting_confightmleditor fields)
10 years ago
Johannes Burk
d44a738a17
Remove event triggering, it is already done by the enrol_user method
10 years ago
Johannes Burk
b9f4434f06
Move all functions inside class
10 years ago
Johannes Burk
51cf0cbf55
Optimize notification mail sending
10 years ago
Johannes Burk
762ed28d56
Optimize confirm, wait and cancel enrolments functions.
10 years ago
Johannes Burk
7bc73894ad
Optimize manage action handling
10 years ago
Johannes Burk
e082e52567
Fix: Even confirmed applications were showed on admin mange page.
10 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.
10 years ago
Johannes Burk
990afdf853
Remove unnecessary log action (already done in unenrolment method).
Add file description
10 years ago
Johannes Burk
960bbbdc3d
Remove unused code inherited from enrol_self plugin
10 years ago
Johannes Burk
d4a946624f
Rename enrol_self to enrol_apply
10 years ago
Johannes Burk
c89c845a0e
Do not allow manual enrolment and unenrolment, remove corresponding code.
10 years ago
Johannes Burk
efb639cee5
Fix indention
10 years ago
Johannes Burk
310a13e957
Remove unused capability 'apply:unenrolapply'
10 years ago
Johannes Burk
55d7a07709
Refactor settings
10 years ago
Johannes Burk
6c4261404d
Refactoring...
10 years ago
Johannes Burk
39dc5a568c
Move output code to renderer
10 years ago
Johannes Burk
d2f1347812
Use html_writer for HTML generation
10 years ago
Johannes Burk
a01b669a5f
Use table_sql for manage table generation.
10 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
10 years ago
Johannes Burk
f4bb716a64
Indention convert to spaces
10 years ago
Flotter Totte
6d66ce971c
Merge pull request #61 from sudile/fix-maxenrolments
Fix: Error message when trying to apply for an course when send mail …
10 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
10 years ago
Flotter Totte
7cc449f9bf
Update version.php
10 years ago
Flotter Totte
85e9dadd0b
Merge pull request #58 from sudile/fix-upgrade
Fix: error on update due to missing return true in upgrade function
10 years ago
Johannes Burk
78c56ae194
Fix: error on update due to missing return true in upgrade function
fixes #57
10 years ago
Flotter Totte
0509506d24
Update version.php
10 years ago
Flotter Totte
94a86a9df9
Merge pull request #50 from sudile/dev-fixdefaults
Fix: Adopt global instance defaults for new course instance.
10 years ago
Flotter Totte
ba6affd51c
Merge pull request #51 from sudile/dev-notifyperinstance
Add teacher notification setting (sendmailtoteacher) per instance.
10 years ago
Flotter Totte
eeaf727a02
Merge pull request #52 from sudile/fix-instancename
Fix: Use correct instance name.
10 years ago