fonfon
8d2e2be7fa
removed unused template forms.html
2014-12-02 12:54:04 +01:00
fonfon
e2a867901d
removed js_block: use page_js or app_js instead
2014-12-02 12:54:04 +01:00
James Valleroy
2751a8e848
Convert xmpp-register action to python.
2014-11-30 15:24:32 +05:30
James Valleroy
e324aa040e
Move ejabberd install info to template file.
2014-11-30 15:23:25 +05:30
James Valleroy
39e441e2b9
Add action to check if ejabberd is installed.
...
If not installed, show instructions on how to install it.
2014-11-30 15:23:25 +05:30
James Valleroy
ac0f0c9eba
Show error messages from xmpp-setup and xmpp-register.
...
Avoid causing plinth to show error page.
2014-11-30 15:23:25 +05:30
Sunil Mohan Adapa
1b6969a8a6
Rethink how proxied headers are handled
...
- Request Apache to send X-Forwarded-Proto header.
- Use X-Forwarded-Proto header to understand original protocol
requested.
- Use X-Forwarded-Host header to understand original host requested.
- Allow any incoming host header so that FreedomBox can have any
hostname and when user requests for Plint with that hostname, it
works.
- Don't depend on Apache to rewrite the Location: header. Instead use
the original host and original scheme to set proper Location: header.
2014-11-30 15:11:50 +05:30
Sunil Mohan Adapa
5b969d9d30
Explicitly write license headers for each source file
...
The package license (AGPL3+) implicitly indicates the license of each
file. However, it is desirable to have license headers in each file.
This is the case for many prominent projects like GNU project, Mozilla
etc.
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
51247dae13
Remove #! from actions.py as it is not meant to run independently
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
dad4eccbde
Remove copyright information in footer for cleaner apperance
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
fcc1330318
Relicense __main__.py to AGPLv3+
...
- There is no point in keeping this one single file as with different
license from the rest of the package. This change simplifies things.
- The file has been almost entirely been rewritten for Django, module
loading, CherryPy static directories etc.
- This change will be pushed with the consent of new authors: fonfon and
Me.
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa
678d159a32
Minor styling changes
2014-11-23 14:26:48 +05:30
Sunil Mohan Adapa
0afe018370
Add screen reader annotation to navigation
2014-11-23 14:24:48 +05:30
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