Nick Daly
e656e3ee47
Merge pull request #82 from SunilMohanAdapa/django-routing
...
Use Django dispatcher instead of CherryPy dispatcher
2014-07-07 00:37:02 +00: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
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
Nick Daly
a01ef055be
Org mode whitespace fixes.
2014-06-01 12:27:22 -05:00
Nick Daly
3b9983d1b3
Spellchecked.
2014-05-31 15:04:55 -05:00
Nick Daly
66f93e42e5
Merged with upstream.
2014-05-31 14:56:20 -05:00
Nick Daly
a45aad5ed7
Wrote Plinth's design document.
...
This specs out the system and covers control flow through a user's interaction.
2014-05-31 14:55:24 -05:00
Nick Daly
9cf6ca9f47
Spelling fix and added some awesome whitespace!
2014-05-31 14:54:43 -05:00
Nick Daly
b9607e87d9
Merge pull request #79 from SunilMohanAdapa/misc-cleanup
...
Misc cleanup
2014-05-27 00:55:18 +00:00
Nick Daly
205eebe649
Merge pull request #78 from SunilMohanAdapa/bootstrap-cleanup
...
Bootstrap cleanup
2014-05-27 00:55:10 +00:00
Nick Daly
4669e10d6c
Merge pull request #77 from SunilMohanAdapa/template-cleanup
...
Template cleanup
2014-05-27 00:54:59 +00:00
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
f602865d05
Remove wrong dependency on libpython2.7
...
python2.7 is what we should depend on. libpython2.7-stdlib a dependency
for python2.7 contains all the standard libraries. libpython2.7, I believe, is
required only for using python modules written in C.
2014-05-13 12:38:13 +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
be842a5baa
Remove dependency on unused augeas
...
We can introduce it later again when it actually being used.
2014-05-13 12:13:54 +05:30