Nick Daly
9350052e59
Merge: Sunil's firewall branch.
v0.3.2
2014-04-23 19:26:57 -05:00
Nick Daly
3c2a5be9af
Merge: Sunil's exec commits.
2014-04-23 19:21:52 -05:00
Sunil Mohan Adapa
3984559fda
Add a first-run script to be run by freedombox-setup to setup initial state of firewall
2014-04-22 22:17:18 +05:30
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
Sunil Mohan Adapa
0f8050d031
Add a framework for working with services
...
- Basic information about each service is available for consumers
- Information about whether service is enabled or disabled is available
- Interested parties may listen to enabling/disabling of a service
- Information about some core services are made available
2014-04-18 12:50:14 +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
Nick Daly
c75f3efc90
Merge pull request #70 from SunilMohanAdapa/remove-contract
...
Remove dependency on improperly used and unmaintained contract module
2014-04-13 23:03:58 +00:00
James Valleroy
fe6803eb98
Don't need 2nd restart.
2014-04-12 17:26:43 -04:00
James Valleroy
415e89c02a
When changing XMPP hostname, make sure user accounts get copied to new database. We are back to 2 ejabberd restarts though.
2014-04-12 15:47:15 -04: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
Petter Reinholdtsen
d71d94f2d7
Add code to enable owncloud by default using PostgreSQL. Only need to specify the admin username and password to get going.
2014-04-05 21:39:05 +02:00
Sunil Mohan Adapa
2d39638020
Dont use exec() in plugin system
2014-04-05 16:08:41 +09:00
Sunil Mohan Adapa
c0ea7ee298
Dont use exec() in system/wan module
...
Also make the form submission actually work by adding hidden form
value and '/' at the end of form submission URL.
2014-04-05 15:38:19 +09:00
Sunil Mohan Adapa
2079b3639a
Dont use exec for importing templates
2014-04-05 14:52:51 +09:00
Sunil Mohan Adapa
afe345d01b
Cleanup system configuration module
...
- Add license header
- Fix pylint, pep8 and pyflakes warnings and errors
- Fix incorrect use of gettext._()
- Don't store hostname and timezone in Plinth storage. Instead use
values from probing the system
- Don't use exec()
- Other minor refactorings
2014-04-05 14:42:18 +09:00
Sunil Mohan Adapa
c3a8f3cb61
Ignore .py.bak files created when compiling templates
2014-04-05 14:22:28 +09:00
Sunil Mohan Adapa
77ac199348
Remove dependency on improperly used and unmaintained contract module
...
- contract module has not see a release since 2010
- Corresponding PEP has been deferred
- python-contract module in Debian is orphaned
- We are only using contract module in one method of one module
- That can be replaced with one line of check instead of depending on an
entire module
- The code using contract module does not work
- There is already replacement one line code that is actually working
2014-04-05 10:10:22 +05:30
James Valleroy
dadfb2220a
Rearrange xmpp hostname change scripts so we can only restart ejabberd once.
2014-04-01 21:17:38 -05:00
Nick Daly
890bc7ea99
Merge pull request #67 from jvalleroy/tor-info
...
Merge: JValleroy's Tor information page.
2014-03-29 14:55:46 +00:00
James Valleroy
186f610708
Add tor information page.
2014-03-26 23:27:59 -04:00
James Valleroy
2c41e63889
Restart avahi-daemon after changing hostname to update mdns.
2014-03-26 18:58:36 -04:00
James Valleroy
974a0146f2
When changing hostname, also update ejabberd and jwchat.
2014-03-26 18:50:55 -04:00
Nick Daly
e30a9b6a27
Merge pull request #63 from jvalleroy/split-apache-config
...
Split apache conf into 2 files, one for HTTP and one for SSL.
2014-03-25 03:05:05 +00:00
Nick Daly
be052c9969
Merge pull request #65 from jvalleroy/diagnostic-test
...
Merge: James's Diagnostics branch.
2014-03-25 00:48:54 +00:00
James Valleroy
67a5280073
Add license information and description for diagnostics module.
2014-03-24 20:46:51 -04:00
Nick Daly
6d6b5148cc
Merge pull request #62 from SunilMohanAdapa/master
...
Merge: Sunil's PageKite UI module.
2014-03-25 00:27:22 +00:00
James Valleroy
c349d875a6
Add diagnostic test which runs the freedombox testsuite and displays its result.
2014-03-24 20:17:28 -04:00
James Valleroy
f178b74055
Split apache conf into 2 files, one for HTTP and one for SSL.
2014-03-24 07:19:57 -04:00
Sunil Mohan Adapa
0482507e04
Minor style update for PageKite UI
2014-03-24 00:08:19 +05:30
Nick Daly
f79463ec56
Merge pull request #61 from jvalleroy/master
...
Add link to jwchat, and install owncloud without recommends.
2014-03-23 17:33:21 +00:00
Sunil Mohan Adapa
b30b2f5683
Fix PageKite module load order so loads after /router/setup
2014-03-23 19:49:59 +05:30
Sunil Mohan Adapa
8db3217f16
Implement module for configuring PageKite
2014-03-23 19:09:24 +05:30
Sunil Mohan Adapa
7ebeb44b22
Pass arguments to form parts as it is mean to
2014-03-23 18:56:51 +05:30
Sunil Mohan Adapa
288e4bb6ca
Place page specific js after jquery so that jquery can be used
2014-03-23 18:50:41 +05:30
Sunil Mohan Adapa
e49aa3df43
Add python-contract as dependency
2014-03-22 12:56:12 +05:30
Sunil Mohan Adapa
0d79d58b1d
Add python-passlib as dependency
2014-03-22 12:52:24 +05:30
Sunil Mohan Adapa
438b97e6d0
Fix error in handling exceptions during configuration read
2014-03-22 09:58:01 +05:30
James Valleroy
1b6208d0b8
Install owncloud without recommends.
2014-03-21 07:35:39 -04:00
James Valleroy
15070aefb6
Add link to jwchat.
2014-03-20 22:49:03 -04:00
Nick Daly
1af15f79b7
Merge upstream.
2014-03-13 12:18:34 -05:00
Nick Daly
a09aa90145
Only redirect Plinth requests to HTTPS.
...
Previously, we redirected all requests to HTTPS. Now, we redirect
only when the user tries to connect to the Plinth site.
2014-03-13 12:16:32 -05:00
Nick Daly
434a2a5833
Merge pull request #59 from jvalleroy/module-manager
...
Merge: James Valleroy's Plinth Module Manager
2014-03-02 23:24:22 +00:00
Nick Daly
2b4e17e425
Fix Lintian error: unsafe symlinks exist only while testing.
...
We only need these actions during test time, so create symlinks to
them before running the tests and remove them after testing:
- actions/echo: /bin/echo
- actions/id: /usr/bin/id
2014-03-02 16:20:46 -06:00
Nick Daly
c5ceae5819
Properly use bcrypt:
...
- Don't crypto: use a library provided time-independent comparison.
- Document details about max password length and other caveats.
2014-03-02 15:36:22 -06:00
Nick Daly
8e2284a643
Added notes to the first connection design.
2014-02-04 21:13:07 -06:00
James Valleroy
1e21712fa5
Instead of a separate page and form classes for ownCloud module, just need one class that does both.
2014-01-31 23:19:38 -05:00