168 Commits

Author SHA1 Message Date
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
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
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
Sunil Mohan Adapa
76f49916a3 Convert add/edit user sidebars to templates 2014-05-05 23:58:47 +05:30
Sunil Mohan Adapa
8ddd98ade0 Convert OpenID sidebar to template 2014-05-05 23:58:14 +05:30
Sunil Mohan Adapa
6d83ad3c00 Convert right sidebar menus to templates 2014-05-05 23:10:51 +05:30
Sunil Mohan Adapa
8e8ac77661 Convert pagekite introduction page to templates 2014-05-05 23:10:39 +05:30
Sunil Mohan Adapa
4b44741c68 Remove unnecessary layer of abstraction over template rendering 2014-05-05 00:08:58 +05:30
James Valleroy
064ea93f84 Update link to jwchat. 2014-05-01 19:38:28 -04:00
Nick Daly
9b3543c764 Allow services to be both internal and external again.
Reverting part of 887518ce on Sunil's advice:

    An assumption made for the sake of simple API is that all
    externally available services are also available internally. They
    are not mutually exclusive.

    Your change will enable a service only if it is not externally
    available. For example, HTTPS is externally available. It will no
    longer be made internally available. Which is not right.

    We should either revert this line or introduce a way to mark all
    the services as internal as well and write code handle that
    properly.
2014-04-28 22:50:45 -05:00
Nick Daly
0cf051bd69 Remove unused import. 2014-04-28 21:27:00 -05:00
Nick Daly
887518ce88 Be explicit about running commands as the superuser.
superuser=True is a surprising default.  Not happy-rainbow-surprising
but more dropping-a-large-rock-on-your-foot surprising.
2014-04-28 20:12:20 -05:00
Nick Daly
bf3286b736 Merge: Sunil's firewall branch (follow up commits). 2014-04-28 19:59:06 -05:00
Sunil Mohan Adapa
3ef1ed83ce Add support for zones in firewall service 2014-04-27 18:16:32 +05:30
Nick Daly
9350052e59 Merge: Sunil's firewall branch. 2014-04-23 19:26:57 -05:00
Nick Daly
3c2a5be9af Merge: Sunil's exec commits. 2014-04-23 19:21:52 -05:00
Nick Daly
66d0114d8f Merge pull request #72 from petterreinholdtsen/owncloud-autoconfig
Merged: Pere's add code to enable owncloud by default using PostgreSQL.
2014-04-20 20:38:44 +00:00
Sunil Mohan Adapa
f77ceedc94 Make XMPP work with service framework
- This allows firewall to manage ports automatically
2014-04-18 12:55:32 +05:30
Sunil Mohan Adapa
f7dd63c0a6 Make ownCloud work with service framework
- This allows firewall to manage ports automatically
2014-04-18 12:54:42 +05:30
Sunil Mohan Adapa
32144e96ef Basic firewall sevice based on FirewallD
- Ports are allowed in default zone as soon as a service is enabled
- Ports are disabled when all services depending on the port are disabled
- Shows current enabled state of services and their each of thier ports
2014-04-18 12:53:27 +05:30
Nick Daly
bd5f5c390a Merge pull request #66 from jvalleroy/xmpp-hostname
Update XMPP and mDNS when changing hostname
2014-04-18 01:28:21 +00:00
Sunil Mohan Adapa
3fe40c223c Minor i18n fixes for pagekite 2014-04-10 10:33:21 +05:30
Sunil Mohan Adapa
5a5ff04f8e Dont use exec() in router module 2014-04-10 10:26:52 +05:30