2795 Commits

Author SHA1 Message Date
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
b1406f59d3 Remove unused templates err.html and two_col.html 2014-06-24 11:47:10 +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
d9bebe67f5 Remove unused misc utility methods 2014-06-23 00:07:00 +02:00
Sunil Mohan Adapa
b76a74e684 Use Django messages module for showing messages 2014-06-22 11:49:39 +02:00
Sunil Mohan Adapa
fc37293ac6 Update .gitignore 2014-06-21 11:44:43 +02:00
Sunil Mohan Adapa
78406f16e8 Refactor global code from plinth.py 2014-06-21 11:44:21 +02:00
Sunil Mohan Adapa
ab80dc34d6 Add option to run as non-daemon mode
- Pass on debug option with Django
- Cleanup option parsing
2014-06-19 17:50:41 +02:00
Nick Daly
af08066caf Merge pull request #81 from jvalleroy/firewalld-services-cleanup
Remove firewalld services, since they are part of firewalld now.
2014-06-19 03:47:37 +00:00
Nick Daly
4d0fa9c4f9 Merged Sunil's stub cleanup. 2014-06-18 22:39:24 -05:00
Sunil Mohan Adapa
db3b0ab9e6 Remove unused template rendering wrapper 2014-06-12 23:34:00 +05:30
Sunil Mohan Adapa
59c285bf65 Remove unused PagePlugin 2014-06-12 23:33:39 +05:30
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
657bb11bbc Add Django custom error handling pages for 404 and 500 errors 2014-06-12 23:20:49 +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
4e318ff434 Add a menu method to find menu items by URL 2014-06-12 23:17:53 +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
James Valleroy
946b92502d Remove firewalld services, since they are part of firewalld now. 2014-06-11 20:11:52 -04:00
Sunil Mohan Adapa
4aeea83e46 Set title to 'FreedomBox' instead of 'FreedomBox Dashboard' 2014-06-06 20:44:34 +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
a958798769 Remove unused Message utility class 2014-06-06 17:56:35 +05:30
Sunil Mohan Adapa
998b515fed Update LICENSE files for module reorganization 2014-06-06 12:50:05 +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