Flotter Totte
decd96843d
Merge pull request #66 from sudile/dev-refactor
Refactor code
9 years ago
Johannes Burk
fbb31ec2a0
Format code (code checker)
9 years ago
Johannes Burk
a986b87d73
File comments adjusted
9 years ago
Johannes Burk
0211dbfd10
Optimize apply_form
9 years ago
Johannes Burk
4235cb06b0
Fixes
9 years ago
Johannes Burk
256c3e1b67
Use renderer for edit page.
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
165ffcfe34
Fix: Wrong param type (PARAM_TEXT changed to PARAM_RAW for admin_setting_confightmleditor fields)
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
7bc73894ad
Optimize manage action handling
9 years ago
Johannes Burk
e082e52567
Fix: Even confirmed applications were showed on admin mange page.
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
990afdf853
Remove unnecessary log action (already done in unenrolment method).
Add file description
9 years ago
Johannes Burk
960bbbdc3d
Remove unused code inherited from enrol_self plugin
9 years ago
Johannes Burk
d4a946624f
Rename enrol_self to enrol_apply
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
310a13e957
Remove unused capability 'apply:unenrolapply'
9 years ago
Johannes Burk
55d7a07709
Refactor settings
9 years ago
Johannes Burk
6c4261404d
Refactoring...
9 years ago
Johannes Burk
39dc5a568c
Move output code to renderer
9 years ago
Johannes Burk
d2f1347812
Use html_writer for HTML generation
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
Flotter Totte
6d66ce971c
Merge pull request #61 from sudile/fix-maxenrolments
Fix: Error message when trying to apply for an course when send mail …
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
Flotter Totte
7cc449f9bf
Update version.php
9 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
9 years ago
Johannes Burk
78c56ae194
Fix: error on update due to missing return true in upgrade function
fixes #57
9 years ago
Flotter Totte
0509506d24
Update version.php
9 years ago
Flotter Totte
94a86a9df9
Merge pull request #50 from sudile/dev-fixdefaults
Fix: Adopt global instance defaults for new course instance.
9 years ago
Flotter Totte
ba6affd51c
Merge pull request #51 from sudile/dev-notifyperinstance
Add teacher notification setting (sendmailtoteacher) per instance.
9 years ago
Flotter Totte
eeaf727a02
Merge pull request #52 from sudile/fix-instancename
Fix: Use correct instance name.
9 years ago
Flotter Totte
f84bf99ffd
Merge pull request #54 from sudile/dev-storecomment
Store user comment
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
4284d33c51
Fix: Use correct instance name.
fixes #35
https://github.com/emeneo/moodle-enrol_apply/issues/35
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
Flotter Totte
900a5eb142
Merge pull request #49 from sudile/dev-waitinglist
Add waiting list feature.
9 years ago
Johannes Burk
e2fc1900d0
Add waiting list feature.
9 years ago
Flotter Totte
a9aaf9a72c
Merge pull request #47 from sudile/dev-fixenrolid
Rename array for user enrolments from enrolid to userenrolments.
9 years ago
Flotter Totte
0a2b0881e4
Merge pull request #48 from sudile/dev-buttonnaming
Change wording for confirm/cancel enrolment buttons.
9 years ago
Johannes Burk
20c4918884
Change wording for confirm/cancel enrolment buttons.
Change for de, en and en_us language.
9 years ago
Johannes Burk
2fafb9a464
Rename array for user enrolments from enrolid to userenrolments.
This avoids irritations with the id for the enrol plugin instance and
fix's the 'Invalid array parameter detected' warning.
9 years ago