493 Commits

Author SHA1 Message Date
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
Sunil Mohan Adapa
faeb0b6be0 Remove unused dependency bjsonrpc 2014-05-13 12:06:15 +05:30
Sunil Mohan Adapa
b2b24146ef Remove unused JS files 2014-05-13 01:10:40 +05:30
Sunil Mohan Adapa
994199f096 Cleanup menu generation using templates 2014-05-13 01:00:38 +05:30
Sunil Mohan Adapa
218fc37e8f Remove erroneous onload javascript
If a page needs to run javascript on load, it is easy to do so by attaching 
onload handlers or by using corresponing jQuery utilities. There is no need
to mess with templating.
2014-05-12 23:51:41 +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
d8441f8964 Move CSS embedded into pages to a separate file 2014-05-12 23:26:50 +05:30
Sunil Mohan Adapa
11e7dcdd07 Remove unused make steps for custom minifing CSS 2014-05-12 22:06:37 +05:30
Sunil Mohan Adapa
28dd1bf074 Remove bootstrap JS files and use debian package instead 2014-05-12 22:06:29 +05:30
Sunil Mohan Adapa
368e21c085 Remove bootstrap CSS files and use debian package instead
- Add depedency on libjs-twitter-bootstrap
2014-05-12 18:46:39 +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
94d0989503 Remove FormPlugin now that we use Django forms 2014-05-11 21:27:13 +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
Sunil Mohan Adapa
2500e37e89 Convert packages page to Django forms 2014-05-11 18:53:14 +05:30
Sunil Mohan Adapa
e5d43a87a2 Convert user pages to Django forms 2014-05-11 18:03:33 +05:30
Sunil Mohan Adapa
6ebfe23c4b Convert config page to Django form 2014-05-11 16:26:52 +05:30
Sunil Mohan Adapa
0bd1798baf Convert xmpp pages to Django forms 2014-05-11 16:26:16 +05:30
Sunil Mohan Adapa
cde500f2b7 Convert owncloud page to Django form 2014-05-11 13:14:49 +05:30
Sunil Mohan Adapa
ed26274d38 Convert wan page to Django forms 2014-05-11 12:32:59 +05:30
Sunil Mohan Adapa
c05c3ba3c8 Convert expert mode page into Django form
Also make expert mode a separate page rather than part of a mixture
of forms in configure page.
2014-05-11 12:10:27 +05:30
Sunil Mohan Adapa
fe56ef3761 Convert pagekite pages to use Django forms 2014-05-11 10:56:26 +05:30
Sunil Mohan Adapa
f097047b8b Introduce python-bootstrapform as dependency
Twitter Bootstrap provides good styling for forms. Our current
theme does not ouput forms in bootstrap styles although for
everything else, it does. The python-bootstrap from is a simple
Django helper application to render Django forms into bootstrap
theme.

Django forms themselves provide numerous advantages over the
current incomplete homegrown solution. It also has solutions for
problems such as CSRF attacks which the current application is
vulnerable to.
2014-05-11 10:41:34 +05:30
Sunil Mohan Adapa
c2328ba5e4 Fix a minor issue with help page template conversion 2014-05-11 08:30:43 +05:30
Sunil Mohan Adapa
a2efd8268d Add license headers to all new template files 2014-05-09 19:34:05 +05:30
Sunil Mohan Adapa
3cac717b25 Convert tor page to template 2014-05-08 11:16:52 +05:30
Sunil Mohan Adapa
c1383676d6 Convert privacy pages to templates 2014-05-08 11:09:27 +05:30
Sunil Mohan Adapa
ef7da7527d Convert sharing pages to templates 2014-05-08 11:04:43 +05:30
Sunil Mohan Adapa
4e4ca43b40 Convert file explorer page to template 2014-05-08 10:55:48 +05:30
Sunil Mohan Adapa
c50fe72587 Convert help pages to templates 2014-05-08 10:51:58 +05:30
Sunil Mohan Adapa
577dbb4fc5 Convert apps pages to templates 2014-05-08 10:44:53 +05:30
Sunil Mohan Adapa
25fe3c7ee8 Convert diagnostics pages to template 2014-05-08 10:13:38 +05:30
Sunil Mohan Adapa
eff6306f7d Convert system page to template 2014-05-08 09:12:14 +05:30
Sunil Mohan Adapa
1c338e538a Convert firewall page to template 2014-05-08 09:05:50 +05:30