694 Commits

Author SHA1 Message Date
fonfon
64c1682b2c removed bootstrap2 static files 2014-11-11 22:32:41 +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
James Valleroy
e5de76401d Check if tor is installed before running some commands. 2014-11-10 21:22:21 -05:00
Sunil Mohan Adapa
8f2c8480b4 Release 0.4.1 v0.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
Sunil Mohan Adapa
84640560b5 Update actions/tor to Python3 and minor other updates
- Update to use Python3

- Use os.path.join to combine parts of path

- Fix documentation strings

- Use single quotes for regular strings merely for consistency

- Minor refactorings
2014-10-20 00:22:09 +05:30
James Valleroy
500cfd11e3 Add comment to mark end of Plinth Hidden Service configuration block. 2014-10-20 00:20:51 +05:30
James Valleroy
4e493c1ac5 Add Tor form to enable/disable hidden service. 2014-10-20 00:20:32 +05:30
James Valleroy
50797f9a92 Enable/disable Tor hidden service.
Currently only supports a single hidden service for HTTP/HTTPS.
2014-10-20 00:20:18 +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 v0.4 2014-10-12 19:35:38 +05:30
Sunil Mohan Adapa
ced66acb3b Update documentation with setuptools dependency, python3 (James Valleroy) 2014-10-12 19:33:57 +05:30
Sunil Mohan Adapa
5418542d56 Fix issue with plinth module not getting installed 2014-10-12 19:18:18 +05:30
Sunil Mohan Adapa
d704b3961e Fix issue with symlinks during recursive copy during install 2014-10-12 19:04:52 +05:30
Sunil Mohan Adapa
731c2535b7 Make setup.py sdist command work properly 2014-10-05 13:44:30 +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
22def21d6b Update documentation with Python3 dependency information 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
e7ed0c7c58 Update dependencies list in setup.py and INSTALL 2014-10-01 11:35:02 +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
Sunil Mohan Adapa
281b5cddec Merge remote-tracking branch 'fonfon/dev' 2014-09-16 22:19:39 +05:30
James Valleroy
ee80507ee1 Update xmpp-hostname-change for new ejabberd package. 2014-09-12 22:15:21 -04:00
James Valleroy
cd1b4a2371 Update xmpp-setup to work with ejabberd >= 14.07 2014-09-12 22:09:24 -04:00
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
dde2614beb use ./run instead of bin/plinth now for non-installed development 2014-09-11 15:34:35 +02:00
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