Commit Graph
3541 Commits
Author SHA1 Message Date
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 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 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 0bb2dd51d8 Minor styling changes in first boot module 2014-10-20 00:22:47 +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 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
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
Sunil Mohan Adapa b157c474fe Remove outdated and not-working Santiago module 2014-10-01 13:36:26 +05:30
Sunil Mohan Adapa c9d8bb9d00 Require and use Python3 2014-10-01 11:31:51 +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 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
fonfon 7bb9c84863 Fixed ImportError when running plinth as daemonized python package 2014-09-03 04:43:08 +02:00
Sunil Mohan Adapa f4edfdedc6 Fix first boot middleware for new module structure 2014-08-31 13:17:37 +05:30
Sunil Mohan Adapa b82fb629f0 Remove use of python_root in cfg and use relative path 2014-08-31 13:08:45 +05:30
Sunil Mohan Adapa 33f8015835 Make the help module read documentation directory from config 2014-08-31 13:07:00 +05:30
Sunil Mohan Adapa 06a50c6985 Use open().read() instead of slurp() 2014-08-30 22:17:07 +05:30
Sunil Mohan Adapa 7e3d8ce54b Use os.mkdirs instead of custom method 2014-08-30 20:50:55 +05:30
Sunil Mohan Adapa ff288cf2cf Convert module/enabled files to regular files 2014-08-29 23:38:06 +05:30
Sunil Mohan Adapa 65fa648d9f Reorganize python sources into 'plinth' package 2014-08-29 12:57:27 +05:30