Commit Graph

26 Commits

Author SHA1 Message Date
cahrens
e6f15bf611 Send notification to admin when a user enters 'pending' state.
Also fixes a bug where message was not sent to user when entering 'denied'
state unless the user was previously in 'granted'.

Send notification to admin when a user enters 'pending' state.

Pylint cleanup.
2013-08-06 16:26:33 -04:00
cahrens
55f2cbc92f Split up event notification, make sorting on username work. 2013-08-06 15:58:55 -04:00
Diana Huang
c867be7961 Limit the rate of logins. 2013-08-02 11:23:59 -04:00
cahrens
23894d20f8 E-mail notifications to users when course creator status changes. 2013-07-29 09:49:37 -04:00
cahrens
60d60de2c4 Use format for strings instead of %. 2013-07-25 12:21:17 -04:00
cahrens
5168a080ff Don't add users marked with is_staff to course creation table. 2013-07-22 14:45:22 -04:00
cahrens
4ecceb292e Add tests for changing table status without staff permissions. 2013-07-12 09:30:36 -04:00
cahrens
9b2c384666 Add post callback to request course creator status. 2013-07-11 13:53:56 -04:00
cahrens
135d10d4c5 Fix unicode return value. 2013-07-10 17:26:55 -04:00
cahrens
f911c96dcb Pass course_creator_status to index.html. 2013-07-10 16:19:49 -04:00
cahrens
1fd0451124 pylint cleanup 2013-07-09 14:33:27 -04:00
cahrens
ee2d874fdc Remove extra blank lines. 2013-07-09 13:12:15 -04:00
cahrens
283e2b2e60 Don't store abbreviations for state. 2013-07-09 13:07:38 -04:00
cahrens
01557b26be Move call into authz methods out of model class. 2013-07-09 12:47:54 -04:00
cahrens
99584aab23 pep8 cleanup 2013-07-09 11:08:27 -04:00
cahrens
6a49980582 Add tests for permissions. 2013-07-09 11:02:59 -04:00
cahrens
5cd90d58f5 Clarify documentation. 2013-07-09 10:33:37 -04:00
cahrens
5a3a03c0d4 Change user to foreign key (tracks deletions). 2013-07-09 10:23:38 -04:00
cahrens
23ffa2a616 Show note field, update filterable. 2013-07-08 16:55:32 -04:00
cahrens
73f4b1c676 Overloading methods does not work with variable names changed. 2013-07-08 16:43:30 -04:00
cahrens
69a998780a Remove test case moved to test_admin. 2013-07-08 16:10:43 -04:00
cahrens
28115af488 The course creator view adds granted users course creator status.
Includes unit tests and modifications to authz.py.
2013-07-08 16:08:06 -04:00
cahrens
5e8e3353ca Pylint/pep8 cleanup. 2013-07-08 16:07:02 -04:00
cahrens
f1f6acb5c7 Updates to admin table view.
Also hooks up the granted and deny events to the course creator group.
2013-07-03 17:07:06 -04:00
cahrens
2970f24245 Initial admin table view. 2013-07-03 09:24:02 -04:00
cahrens
72999e8417 Initial model. 2013-06-28 12:19:51 -04:00