Sunil Mohan Adapa
dd5ab7612e
Minor refactoring and lint fixes
...
- Rename AdminMiddleware to AdminRequiredMiddleware to be consistent
with stronghold/Django terminology
- Simplify .gitignore pattern
- Format single line docstrings as per PEP8.
- Add missing docstrings.
- Restrict lines to 79 characters.
2017-02-15 21:07:27 +05:30
lispyclouds
79b27ea2ee
Make user edit and change password non-admin views
...
- This makes the user update and password change pages non admin so that
non admin users can access
2017-02-15 21:04:40 +05:30
lispyclouds
3b23f78bdc
Implement middleware for admin views
...
- Add AdminMiddleware to deny non admin users
- Add decorator to mark views as "non admin"
2017-02-15 20:57:52 +05:30
Sunil Mohan Adapa
56686b7148
firstboot: Rename views/urls to be non-numeric
2016-12-04 15:24:36 -05:00
Hemanth Kumar Veeranki
0332d4489e
Added code for modules to register for first_boot #529
2016-11-03 22:06:00 -04:00
Sunil Mohan Adapa
18996b5c56
Import urlresolvers from django.urls
...
In Django 1.10, django.core.urlresolvers is available from
django.urls. Use it.
2016-08-11 18:03:00 -04:00
Sunil Mohan Adapa
a69f419c3c
Make Django urlpatterns list of url()s
...
- Support for legacy pattern() mechanism will be removed in Django
1.10. Currently we see a warning for each Plinth module.
2015-12-05 09:33:23 -05:00
fonfon
824a9091c1
use django-stronghold for authentication handling (instead of @login_required)
2015-07-01 00:01:02 +05:30
Sunil Mohan Adapa
61fefcff01
Minor styling and doc updates related to module cleanup
2014-12-14 17:27:11 +05:30
Sunil Mohan Adapa
90203986f2
Remove modules 'expert_mode' and 'lib'.
...
The login/logout URLs are now in the 'users' module.
2014-12-14 17:26:05 +05:30
Sunil Mohan Adapa
3abc5e9212
Require logged-in user for user administration
2014-12-14 17:24:23 +05:30
Sunil Mohan Adapa
6612fffdb5
Update user module URLS
...
- It is more restish to have /user/1/delete rather than /user/delete/1.
- End all URLs with a slash.
2014-12-14 00:19:45 +05:30
fonfon
4b3b3c666a
Refactored 'users' module
...
- allows editing users (currently the groups and username)
- allows any logged-in user to change the passwords of any other users
- improved url highlighting of subsubmenu
2014-12-09 20:49:13 +01:00
fonfon
96a14e3d0d
moved 'in-app menu' from the sidebar to the top of the content; some template block renaming
2014-12-06 17:08:37 +05:30
Sunil Mohan Adapa
65fa648d9f
Reorganize python sources into 'plinth' package
2014-08-29 12:57:27 +05:30