fonfon
50f657fbc5
tiny docstring, import and trailing slash change
2014-07-10 04:33:12 +00:00
fonfon
a82a83576f
use djangos named URLs and url-reverse instead of manually constructing urls
2014-07-10 03:44:52 +00:00
Sunil Mohan Adapa
6186be4421
Move xmpp module to python logging
2014-07-05 21:28:06 +02:00
Sunil Mohan Adapa
eba3021765
Move users module to python logging
2014-07-05 21:28:00 +02:00
Sunil Mohan Adapa
588e3a62bd
Move pagekite module to python logging
2014-07-05 21:27:53 +02:00
Sunil Mohan Adapa
b4183618c1
Move firewall module to python logging
2014-07-05 21:27:46 +02:00
Sunil Mohan Adapa
8d477fceb7
Move config module to python logging
2014-07-05 21:27:34 +02:00
Sunil Mohan Adapa
ae02192009
Remove unused filedict module
2014-06-28 13:23:32 +02:00
Sunil Mohan Adapa
cff0f1bdf6
Use Django auth framework instead of custom one
...
- Store users using Django user/group/permission model
- Database is data/plinth.sqlite3 instead of data/user.sqlite3
- Use Django auth context processors in templates
2014-06-28 13:11:34 +02:00
Sunil Mohan Adapa
fb2f91d4b4
Merge login_nav template with base template
2014-06-24 11:40:49 +02:00
Sunil Mohan Adapa
f4fe85ae28
Refactor global code in configuration module
2014-06-23 12:22:46 +02:00
Sunil Mohan Adapa
b76a74e684
Use Django messages module for showing messages
2014-06-22 11:49:39 +02:00
Sunil Mohan Adapa
58d13e3ed8
Use Django dispatcher instead of CherryPy dispatcher
...
This commit is big because anything small breaks the code.
- Django dispatcher is based on regular expressions and does not need a tree structure
- Reduces a lot of unnecessary dependencies among modules
- Use Django sessions middlewear instead of CherryPy sessions
- Introduce dependency based modules instead of numeric load order
- Remove PagePlugin and simply use Django views
- Eliminate page rendering wrappers in favor of Django context processors
- Use custom auth for now until replaced by Django auth middlewear
- Use Django templated 404 and 500 error pages
2014-06-12 23:33:25 +05:30
Sunil Mohan Adapa
26faa82fd4
Fix minor grammatic error in firewall status page
2014-06-12 23:18:51 +05:30
Sunil Mohan Adapa
1ec92ee346
Add Django urlpattern files for each module
...
This is in anticipation of the routing changes to come. The changes themselves do nothing.
2014-06-12 23:17:00 +05:30
Sunil Mohan Adapa
3e32715a55
Don't take unnecessary kwargs in exposed methods
2014-06-06 20:37:48 +05:30
Sunil Mohan Adapa
ef493ae243
Use new-style classes everywhere
2014-06-06 18:21:54 +05:30
Sunil Mohan Adapa
37206f1e83
Move all modules from 'modules/installed' to 'modules' directory
2014-06-06 12:14:17 +05:30
Sunil Mohan Adapa
912c5022ca
Module is a directory instead of file
...
- Move enabled module symlinks to 'modules/enabled' directory.
- Make all modules properly importable
- Import modules instead of their symlinks
2014-06-06 12:01:08 +05:30
Sunil Mohan Adapa
8d5e976b84
Move system/config to separate module
2014-06-03 19:51:21 +05:30
Sunil Mohan Adapa
58109eff5f
Don't allow firstboot after completion of firstboot
...
Without this it would be possible to run firstboot at any time and create fresh
plinth accounts
2014-06-01 23:35:12 +05:30
Sunil Mohan Adapa
64fa4189a9
Redirect to /apps instead of /router after login and firstboot
2014-06-01 23:35:11 +05:30
Sunil Mohan Adapa
ef01d89b0b
Move users to separate module
2014-06-01 23:35:11 +05:30
Sunil Mohan Adapa
1aaa930a1f
Move expert_mode to separate module
...
- Move one level up in menu
2014-06-01 23:35:11 +05:30
Sunil Mohan Adapa
eb403b129b
Move Packages to separate module
2014-06-01 23:35:11 +05:30
Sunil Mohan Adapa
889bd16f1e
Move diagnostics to separate module
2014-06-01 23:35:11 +05:30
Sunil Mohan Adapa
f0e710a3d8
Move PageKite to separate module and present in Apps
...
- Remove Router section
2014-06-01 23:35:11 +05:30
Sunil Mohan Adapa
034745e91f
Move ownCloud to separate module
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
1b4364b045
Move firewall to separate module
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
2aec96d96c
Move first_boot to separate module
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
11a3cecf0a
Move XMPP to separate module and present under Apps
...
- Remove Services section
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
7c878ba1b4
Move Tor to separate module and present under Apps
...
- Remove Privacy section
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
faf9cb937e
Remove WAN stub
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
cb26256bb3
Remove OpenID stub
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
57487ab2d3
Remove Router stubs
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
de250e5e63
Remove Privacy stubs
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
1625a99cc2
Remove Sharing stubs
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
59572610ee
Remove defunct link to forms API module
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
22760ceb50
Remove Photos stub
2014-06-01 23:35:10 +05:30
Sunil Mohan Adapa
7f24e3ce2b
Remove hard coded list of timezones in favor system time zones
...
- Setting the system to a timezone that does not exist in system is bad
- The timezone list will get outdated frequently
- Duplicating a large list that already maintained elsewhere
2014-05-13 13:15:54 +05:30
Sunil Mohan Adapa
defcb43883
Use json instead of simplejson library to avoid extra depedency
...
Simplejson is an externally mainainted version of json library available in
Python 2.6 and up. It supports Python 2.5 which were are not targetting.
It also boasts better speed which is not at all a factor for us.
2014-05-13 12:28:39 +05:30
Sunil Mohan Adapa
d2a6e2332d
Fix minor styling issue in router setup page
2014-05-12 23:31:07 +05:30
Sunil Mohan Adapa
391d6298c4
Update firewall page styling
2014-05-12 23:28:15 +05:30
Sunil Mohan Adapa
18464c963d
Fix issue with packages form when submitting unchecked options
2014-05-12 12:59:18 +05:30
Sunil Mohan Adapa
18908f72ea
Make form messages dismissable
2014-05-12 12:56:42 +05:30
Sunil Mohan Adapa
54a3a34072
Remove custom written form code in favor of Django forms
2014-05-12 12:23:32 +05:30
Sunil Mohan Adapa
ee9df9bfb7
Convert login page to Django forms
2014-05-12 12:21:55 +05:30
Sunil Mohan Adapa
a7e0a5284d
Add license headers to the newly added template files
2014-05-11 21:33:18 +05:30
Sunil Mohan Adapa
b50a99b1e4
Convert firstboot pages to Django forms
2014-05-11 21:24:36 +05:30
Sunil Mohan Adapa
5461694b10
Convert router pages to Django forms
2014-05-11 19:43:55 +05:30