Issue Details (XML | Word | Printable)

Key: MDL-6160
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Imported
Votes: 15
Watchers: 6
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

email admin when course is requested

Created: 24/Jul/06 08:02 AM   Updated: 21/Jan/09 04:51 PM
Return to search
Component/s: Course
Affects Version/s: 1.6.1
Fix Version/s: 1.9.4

File Attachments: 1. Text File courserequestnotifications.patch.txt (6 kB)
2. File cron_course_pending.php (4 kB)

Environment: All

Participants: Bertold Altaner, Helen Foster, Howard Miller, Imported, James Barrett, Matt Campbell, Petr Skoda, Sven Laudel and Tim Hunt
Security Level: None
QA Assignee: Helen Foster
Resolved date: 14/Jan/09
Affected Branches: MOODLE_16_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
As the site admin, I would like to receive an email to notify me that a course has been requested so I know to look at the pending requests.



Ours is a small site, and I do not routinely go to the course creation page where I would see the message that a request was made.



The email does not need to include any details - a simple statement that a request has been made, so I know that I should deal with it.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
tjhunt committed 8 files to 'Moodle CVS' - 10/Dec/08 11:57 AM
course request: MDL-17575 and MDL-6160 further improvements:

1/ email notification when course requested
2/ course request capability so that we can limit who can request new course
3/ list of my pending course requests on the request form

Implemented in 1.9 by Petr Skoda, and reviewed and merged to HEAD by me.
MODIFY course/request.php   Rev. 1.20    (+30 -2 lines)
MODIFY course/request_form.php   Rev. 1.17    (+13 -1 lines)
MODIFY admin/settings/courses.php   Rev. 1.29    (+2 -1 lines)
MODIFY course/lib.php   Rev. 1.629    (+2 -2 lines)
MODIFY lang/en_utf8/role.php   Rev. 1.85    (+2 -1 lines)
MODIFY version.php   Rev. 1.915    (+1 -1 lines)
MODIFY lang/en_utf8/admin.php   Rev. 1.245    (+4 -0 lines)
MODIFY lib/db/access.php   Rev. 1.98    (+9 -1 lines)
tjhunt committed 8 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 10/Dec/08 11:57 AM
course request: MDL-17575 and MDL-6160 further improvements:

1/ email notification when course requested
2/ course request capability so that we can limit who can request new course
3/ list of my pending course requests on the request form

Implemented in 1.9 by Petr Skoda, and reviewed and merged to HEAD by me.
MODIFY course/lib.php   Rev. 1.538.2.64    (+2 -2 lines)
MODIFY lang/en_utf8/role.php   Rev. 1.47.2.18    (+2 -1 lines)
MODIFY lang/en_utf8/admin.php   Rev. 1.154.2.68    (+4 -0 lines)
MODIFY course/request.php   Rev. 1.14.2.2    (+20 -2 lines)
MODIFY course/request_form.php   Rev. 1.11.2.4    (+13 -1 lines)
MODIFY lib/db/access.php   Rev. 1.75.2.17    (+9 -1 lines)
MODIFY admin/settings/courses.php   Rev. 1.14.2.7    (+2 -1 lines)
MODIFY version.php   Rev. 1.563.2.340    (+1 -1 lines)
martignoni committed 2 files to 'Lang CVS' - 10/Dec/08 06:27 PM
New strings translated for MDL-17575 and MDL-6160
MODIFY fr_utf8/admin.php   Rev. 1.322    (+4 -1 lines)
MODIFY fr_utf8/role.php   Rev. 1.106    (+2 -1 lines)
tjhunt committed 5 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 08/Jan/09 04:05 PM
course requests: MDL-6160 clean up admin option for choosing who is notified.
MODIFY lib/moodlelib.php   Rev. 1.960.2.111    (+20 -1 lines)
MODIFY admin/settings/courses.php   Rev. 1.14.2.9    (+2 -2 lines)
MODIFY lang/en_utf8/admin.php   Rev. 1.154.2.76    (+2 -0 lines)
MODIFY course/request.php   Rev. 1.14.2.3    (+3 -2 lines)
MODIFY lib/adminlib.php   Rev. 1.153.2.58    (+68 -2 lines)
tjhunt committed 8 files to 'Moodle CVS' - 08/Jan/09 04:07 PM
course requests: MDL-6160 clean up admin option for choosing who is notified. Merged from MOODLE_19_STABLE.

Also, change the 'notifyloginfailures' setting to use the same sort of admin setting type.
MODIFY version.php   Rev. 1.951    (+1 -1 lines)
MODIFY lib/db/upgrade.php   Rev. 1.261    (+15 -1 lines)
MODIFY admin/settings/security.php   Rev. 1.32    (+2 -4 lines)
MODIFY course/request.php   Rev. 1.21    (+3 -3 lines)
MODIFY admin/settings/courses.php   Rev. 1.31    (+2 -2 lines)
MODIFY lang/en_utf8/admin.php   Rev. 1.255    (+2 -0 lines)
MODIFY lib/moodlelib.php   Rev. 1.1147    (+20 -9 lines)
MODIFY lib/adminlib.php   Rev. 1.296    (+68 -2 lines)
martignoni committed 1 file to 'Lang CVS' - 11/Jan/09 06:10 PM
MDL-6160 new strings
MODIFY fr_utf8/admin.php   Rev. 1.334    (+3 -1 lines)
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 12/Jan/09 03:42 PM
MDL-6160 Translated new strings for admin.
MDL-17853 Translated a new string for error messages.
MODIFY ja_utf8/error.php   Rev. 1.115    (+2 -2 lines)
MODIFY ja_utf8/README   Rev. 1.914    (+1 -1 lines)
MODIFY ja_utf8/admin.php   Rev. 1.332    (+3 -1 lines)
tjhunt committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 16/Jan/09 05:34 PM
adminlib: MDL-6160 mess up my lovely code just to keep PHP4 happy.

Thanks to Ashley Holman for noticing my mistake.
MODIFY lib/adminlib.php   Rev. 1.153.2.62    (+3 -3 lines)