127 Commits

Author SHA1 Message Date
Nick Daly
9350052e59 Merge: Sunil's firewall branch. 2014-04-23 19:26:57 -05:00
Nick Daly
3c2a5be9af Merge: Sunil's exec commits. 2014-04-23 19:21:52 -05:00
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
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
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
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
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
James Valleroy
186f610708 Add tor information page. 2014-03-26 23:27:59 -04:00
James Valleroy
974a0146f2 When changing hostname, also update ejabberd and jwchat. 2014-03-26 18:50:55 -04: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
Sunil Mohan Adapa
0482507e04 Minor style update for PageKite UI 2014-03-24 00:08:19 +05:30
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
288e4bb6ca Place page specific js after jquery so that jquery can be used 2014-03-23 18:50:41 +05:30
James Valleroy
15070aefb6 Add link to jwchat. 2014-03-20 22:49:03 -04: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
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
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
James Valleroy
c9d58ee73d Combined module management actions into a single file, so it should be easier to add new optional modules. 2014-01-31 21:44:32 -05:00
James Valleroy
411785eb3f Make module manager work for any available modules. 2014-01-31 19:48:40 -05:00
James Valleroy
7c6f1e72fa simple form for enabling/disabling owncloud module 2014-01-27 22:42:06 -05:00
Nick Daly
2f98202312 Added some module-level documentation.
Of course, only stage 0 (#1: Hello!) is written.  The rest will come
next.
2013-12-26 22:39:55 -06:00
Nick Daly
0ec794aaa7 Merge pull request #56 from jvalleroy/remove_old_user_db
Remove old user stuff
2013-11-24 20:43:35 -08:00
Nick Daly
16c994b787 Cleaned up missed references to privilegedactions. 2013-11-24 22:07:13 -06:00
Nick Daly
e23650232b Merged async actions. 2013-11-24 18:46:16 -06:00
Nick Daly
6567dc1758 Renamed privilegedactions to actions. 2013-11-24 18:29:27 -06:00
James Valleroy
2eb4f8bf1a Fix add/edit links in users module. 2013-11-20 21:37:03 -05:00
James Valleroy
030675b900 Remove old cfg.users_dir. Remove old UserStore class. 2013-11-20 21:29:28 -05:00
James Valleroy
880e9bd76a Set default paths in auth_page module to begin with server_dir. 2013-11-16 13:21:27 -05:00
James Valleroy
42ab442930 Cosmetic changes to owncloud page. 2013-11-16 07:14:00 -05:00
James Valleroy
ea0f5b8102 Earlier I removed some flexibility from XMPP/Owncloud config forms to get things working. Restoring code that will make it easier to add new parameters in the future. 2013-11-16 07:05:27 -05:00
James Valleroy
6c15728426 Change Owncloud config form to use FormPlugin methods. 2013-11-16 00:10:06 -05:00
James Valleroy
ee8ee9f41f Merge branch 'improve-apps-page' into bugfixes 2013-11-15 23:37:36 -05:00
James Valleroy
579ae89477 Change XMPP server config form to use FormPlugin methods. This works with POST form method. 2013-11-15 23:36:45 -05:00
James Valleroy
4111fca8eb Move owncloud into its own module. 2013-11-14 22:21:17 -05:00
James Valleroy
63508b6bba Fix some bugs in xmpp module. 2013-11-14 19:15:45 -05:00
Nick Daly
7f3b1a62c8 Added fixme. 2013-11-12 22:05:03 -06:00
Nick Daly
22cce897bc Made security.mdwn a little more explicit wrt bcrypt. 2013-11-12 21:13:02 -06:00
James Valleroy
2f7b56e6a9 No need to have avoid timing side-channel attack in user_add. We're just going to tell you if the user already exists anyway. 2013-11-11 07:34:27 -06:00
James Valleroy
96edae33ed Remove time.clock line in auth module. It wasn't being used. 2013-11-11 07:34:27 -06:00
James Valleroy
292bedebe6 Use POST instead of GET for forms. It seems like it's working now. 2013-11-11 07:34:27 -06:00
James Valleroy
25974bad85 Modify firstboot and user_add forms to use add_user function. 2013-11-11 07:34:27 -06:00