72 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
0a553fc797 Simplify navigation icon styling 2014-11-23 14:24:03 +05:30
Sunil Mohan Adapa
0ec7774a2a Use fluid container for navbar 2014-11-23 14:21:10 +05:30
Sunil Mohan Adapa
4c01690fb5 Bootstrap change .label-important -> .label-danger 2014-11-23 14:19:52 +05:30
Sunil Mohan Adapa
205d3bb8c0 Use bootstap styles for non-full-width tables 2014-11-23 14:19:02 +05:30
Sunil Mohan Adapa
e15966a772 Add missing paragraph closing tag in tor template 2014-11-23 14:16:10 +05:30
Sunil Mohan Adapa
86ce7cdf25 Use globe glyphicon for pagekite 2014-11-23 14:15:45 +05:30
Sunil Mohan Adapa
b9d4688913 Use fire glyphicon for firewall 2014-11-23 14:15:23 +05:30
Sunil Mohan Adapa
86c1307dc1 Remove incorrect and unnecessary class .glyphicon-white
Glyph icons automatically take the text color and don't need to be set
an explict color.  Bootstrap 3 does not have the class .glyphicon-white.
2014-11-23 14:14:57 +05:30
Sunil Mohan Adapa
265953adc6 Bootstrap change .btn-large -> .btn-lg 2014-11-23 14:10:01 +05:30
Sunil Mohan Adapa
6a1f96d7c2 Bootstrap change .btn-primary -> .btn .btn-primary
Only then the full intended style will apply.  This is a change from
Bootstrap 2 to Bootstrap 3.
2014-11-23 14:08:13 +05:30
fonfon
b4df883eee adapted login form size; fixed wrong path of bootstrap.min.js 2014-11-11 22:39:23 +01:00
fonfon
2945c03a79 adapted tor html table size and added minor validation fixes 2014-11-11 19:31:29 +01:00
fonfon
f0582e7a94 replaced bootstrap2 by bootstrap3 2014-11-11 19:06:47 +01:00
Sunil Mohan Adapa
9a88174ab4 Don't show configuration error when Tor HS is not available
When we configure a Tor hidden service and haven't yet run Tor at least
once, then Tor hidden service hostname and private key are not
available.  This situation requires running Tor atleast once and is not
a configuration error.  When Tor runs, it see the hidden service
configuration and creates the Hidden service information.
2014-11-11 21:56:29 +05:30
James Valleroy
a7afba8583 Show info about installing Tor if it is not already installed. 2014-11-10 22:17:49 -05:00
James Valleroy
28cc7f14c7 Handle errors with Tor HS configuration. 2014-11-10 21:42:40 -05:00
Sunil Mohan Adapa
8f2c8480b4 Release 0.4.1 2014-10-21 19:15:01 +05:30
Sunil Mohan Adapa
0bb2dd51d8 Minor styling changes in first boot module 2014-10-20 00:22:47 +05:30
Sunil Mohan Adapa
4637bba3eb Print debug message about static directories served 2014-10-20 00:22:33 +05:30
Sunil Mohan Adapa
71b27be720 Minor updates to Tor service 2014-10-20 00:22:19 +05:30
James Valleroy
4e493c1ac5 Add Tor form to enable/disable hidden service. 2014-10-20 00:20:32 +05:30
James Valleroy
cf52bf5029 Display Tor hidden service configuration on Tor page.
Currently assumes that there is no more than 1 hidden service.
2014-10-20 00:19:42 +05:30
James Valleroy
bc08be681e Reorganize Tor module template. 2014-10-20 00:19:31 +05:30
James Valleroy
25c4e292a6 Move basic Tor info to sidebar. 2014-10-20 00:19:17 +05:30
fonfon
94040e402a refactored first boot module; user is now logged in automatically after an account is created 2014-10-20 00:15:49 +05:30
fonfon
e7964a183f login page: auto-focus username input field 2014-10-20 00:15:27 +05:30
fonfon
7794893947 added tor actions: is-running, start, stop; display tor status at tor app page (enabling/disabling will be integrated later) 2014-10-20 00:14:35 +05:30
fonfon
699a3ac0dc fixed static_dir of modules; omit hidden files in modules_enabled directory 2014-10-20 00:14:09 +05:30
Sunil Mohan Adapa
b793dc984a Release 0.4 2014-10-12 19:35:38 +05:30
Sunil Mohan Adapa
fc2fdc4d27 Turn modules into proper Django applications 2014-10-04 13:43:22 +05:30
Sunil Mohan Adapa
cc549fff61 Load modules using explict paths instead of config file name 2014-10-04 13:41:27 +05:30
Sunil Mohan Adapa
0cb93f98dc Convert plinth/modules to a namespace package (PEP 420)
- This will allow packages outside plinth to add modules to plinth
2014-10-04 13:41:26 +05:30
Sunil Mohan Adapa
9e0d08e49d Move enabled modules list to configuration directory 2014-10-04 13:41:26 +05:30
Sunil Mohan Adapa
c6a05f341f Remove box key related code from first boot
- Box key is not being used currently
2014-10-04 13:41:26 +05:30
fonfon
ea982bf73e call django.setup before syncdb for django 1.7 compatibility 2014-10-01 19:18:27 +02:00
Sunil Mohan Adapa
b157c474fe Remove outdated and not-working Santiago module 2014-10-01 13:36:26 +05:30
Sunil Mohan Adapa
ea3d72175d Make actions work with Python3 2014-10-01 12:08:39 +05:30
Sunil Mohan Adapa
c9d8bb9d00 Require and use Python3 2014-10-01 11:31:51 +05:30
Sunil Mohan Adapa
5630a96b77 Use isinstance() instead of callable() 2014-09-19 19:10:50 +05:30
Sunil Mohan Adapa
20dab06ea3 Eliminate implicit relative imports
Convert to either absolute imports or explicit relative imports
2014-09-19 19:09:49 +05:30
fonfon
53adac652b introduced signals for pre/post-module-loading 2014-09-12 22:26:35 +02:00
Sunil Mohan Adapa
770e4c00fd Merge remote-tracking branch 'fonfon/dev' 2014-09-11 19:16:13 +05:30
fonfon
43a614fca5 plinth should be run via './bin/plinth' now 2014-09-11 12:23:52 +02:00
Sunil Mohan Adapa
42d05bfe1f Use Django models to store variables
- Remove dependency on withsqlite and use Django models.
  This avoids depending on a module that is not available in PyPi.
  Withsqlite does not have Python3 support. It does not work when
  we choose a different database backend. Atleast partly duplicates
  what Django models are meant for.

- Check and update database schema on every run so that
  newly added modules can add tables and old ones can update.
2014-09-10 12:35:35 +05:30
fonfon
837d2d1d10 removed one relative import 2014-09-09 21:05:20 +02:00
fonfon
d661b64a33 fixed static dir of plinth-modules 2014-09-09 16:20:35 +02:00
fonfon
f2d8267ef1 Merge remote-tracking branch 'upstream/master' into dev 2014-09-09 15:00:30 +02:00
James Valleroy
fd01cc84fe Update module-manager to use enabled folder with regular files. 2014-09-07 16:06:19 +00:00
fonfon
e1440a5ee5 formatting strings: %s automatically applies the str() method 2014-09-03 04:56:31 +02:00
fonfon
d27c3f69d1 renamed get_group to get_or_create_group 2014-09-03 04:52:34 +02:00