Commit Graph
2272 Commits
Author SHA1 Message Date
Joseph Nuthalpati 5ad180fcc9 Add Tahoe-LAFS module
- Created basic plinth app which starts an introducer and a storage
  node on the FreedomBox.
- Prompt user to set a domain name before creating Tahoe-LAFS nodes.
- Support adding and removing of introducers to the storage node.
- Serve Tahoe-LAFS from a different port.
- Start all nodes and introducers at system startup.
- Add utility class YAMLFile with test cases.
2017-06-10 09:38:57 -04:00
Johannes Keyser 62aa3ce26a disks: delete existing test file, if necessary 2017-06-07 22:24:15 -04:00
Johannes Keyser 8ae6fbbd4c help: only show help pages if user is logged in 2017-06-07 22:22:08 -04:00
Johannes Keyser 249403a6dd diagnostics: Disable button if app/service is not running
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-06-06 08:55:24 +05:30
Joseph Nuthalpati 995365f3df Add SSO using auth_pubtkt for 3 web apps
- Install mod_auth_pubtkt and generate public/private key-pair.

- Redirect user to login page if no cookie is presented.

- Add check for authenticated user for login page.

- Temporarily switched to DSA because of a bug in mod_auth_pubtkt
  which causes it to accept only DSA and not RSA. Also had to use SHA1
  instead of SHA256.

- Enabled SSO for Syncthing, Repro and TT-RSS.

- Using tokens to authorize by user groups.

- Generate keys during first boot.
2017-06-03 10:29:42 -04:00
Johannes Keyser 5ee8e9397d help: Add Debian release to about page. 2017-05-29 20:00:52 -04:00
Johannes Keyser cc5e49433a disks: restrict precision of reported available space on root partition 2017-05-26 12:07:12 -04:00
kvaghel1 6830d26508 Adds line break in frontpage shortcut label 2017-05-24 06:42:07 -04:00
James Valleroy 4893ddc423 ejabberd: Remove unnecessary imports 2017-05-19 21:24:38 -04:00
Johannes Keyser ed0ab1ab64 ejabberd: add option to enable/disable Message Archive Management 2017-05-19 20:42:52 -04:00
James Valleroy 89ceb98273 first_boot: Remove Networks button, add link to text 2017-05-16 00:23:14 -04:00
Johannes Keyser 62c46b4186 first_boot: erase network graph and warning on WiFi passwords 2017-05-16 00:23:11 -04:00
Johannes Keyser b6ce07d962 first_boot: no exclamation mark in button 2017-05-16 00:23:09 -04:00
Johannes Keyser ee0679fc5a first_boot: less casual language 2017-05-16 00:23:06 -04:00
Johannes Keyser 2ad579dbb2 first_boot: de-bloat first welcome screen, #830 2017-05-16 00:23:00 -04:00
Joseph Nuthalpati f395450266 Bugfix for #841
Removed Diaspora's dependency on the apps module
2017-05-11 19:29:44 -04:00
Johannes Keyser 2b0cf1b987 disks: add missing import json 2017-05-08 20:59:51 -04:00
James Valleroy 2f13946517 diaspora: Update menu use to match other modules
- Remove extra global line to avoid warning.

- Fix comment and indentation.
2017-05-06 07:44:26 -04:00
Joseph Nuthalpati 3a6dc03ee9 Diaspora: Checking whether domain name is setup before certain actions 2017-05-06 07:25:47 -04:00
Joseph Nuthalpati 5ffcf42278 diaspora: Templates to setup domain name 2017-05-06 07:25:42 -04:00
Joseph Nuthalpati 742fe48a29 diaspora: Disabled SSL
Created a custom command in Plinth to disable ssl for the diaspora pod
on the freedombox.
2017-05-06 07:25:37 -04:00
Joseph Nuthalpati d269a0a645 diaspora: Completed debconf configuration for Diaspora. 2017-05-06 07:25:34 -04:00
Joseph Nuthalpati 01e97e7369 diaspora: Initial setup
Completed initial setup of diaspora on Plinth. Default configuration pending.
2017-05-06 07:25:27 -04:00
Sunil Mohan Adapa ee7cc98fee apps, system: Remove modules and merge into main
- Remove apps and system modules and merge their views into main views.

- Move main_menu from cfg into menu.py.

- Remove dependencies of other modules on apps and system modules.

- Update tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-05-05 22:31:45 -04:00
Sunil Mohan Adapa 520347cc1b datetime: Show timezone properly when it not in expected list
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-05-05 20:49:43 -04:00
pycat 6f14f20ef1 Fix typos #551 2017-05-05 20:39:22 -04:00
pycat 307f4876ff Split RESESRVED_USERNAMES list #551
- Have each module declare its own reserved_usernames list
2017-05-05 20:39:18 -04:00
pycat a017a9bf4a Split rerserved usernames list - possible solution demostration #551
This commit contains an implementation only for module repro

- Loop through all the loaded modules
- Get each module reserved_username attribute
- Check the username against the reserved_username
2017-05-05 20:39:08 -04:00
Johannes Keyser 89146f64ce disks: Use information from lsblk for more accuracy
Closes #795.  On a Raspberry Pi, the root partition was show as being
mounted from /dev/root.  Use information from lsblk to more acurately
indentify the device as /dev/mmcblk0p2.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-05-01 17:01:40 +05:30
Johannes Keyser 68a0ed48fa datetime: Use timedatectl to get list of time zones
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-30 09:23:12 +05:30
morrme ad3420823d owncloud: Remove module (Closes: #818)
It is believed that ownCloud is unlikely to return to Debian in near future.
Removing module to ease maintenance.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-25 18:06:56 +05:30
morrme e63197ee2e openvpn: added line break to label
Fixes: https://github.com/freedombox/Plinth/issues/816
2017-04-23 23:09:26 +05:30
Johannes Keyser 76a63d102b setup: Disable install/upgrade when dpkg/apt is running
Show a warning message that a package manager is running. This prevents users
from getting an installation error just because another installation/upgrade is
running.

Closes: #625.
2017-04-19 16:50:00 +05:30
Soumya97 6a53dd015e context_processor: Cache whether user is admin (Closes: #781) 2017-04-18 16:01:48 +05:30
pycat 2406b144fa firewall: Fix 500 error when firewalld is not running (Closes: #748)
- Added one more condition to check whether the output is empty or not
2017-04-17 13:20:07 +05:30
Johannes Keyser fab423e652 syncthing: Fixed typos and clarity in description 2017-04-17 11:48:19 +05:30
Sahithi Yarlagadda 24851ca7ff syncthing: Added line break to title 2017-04-12 14:06:35 +05:30
Sunil Mohan Adapa d24e09199b disks: Minor fixes for partition expansion button
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-10 10:42:00 +05:30
Johannes Keyser 790db846a9 disks: Show disabled partition resize option
If no space is available. Closes #785.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-10 10:41:47 +05:30
Sunil Mohan Adapa 93c151ab2b matrixsynapse: Minor review changes
- Change the configuration minimally and more reliably.

- Rename the Apache configuration and add comments.

- Rename firewalld description file.

- Enable the matrixsynapse module by default.

- Improve category, description texts and warnings.

- Remove unused variable.

- Add missing docstrings.

- Minor styling updates.

- Fix i18n in templates.

- Fix showing description in main service view.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-05 12:58:45 +05:30
Rahul De 8b4cacd682 matrixsynapse: Add firewall rules to open port 8448
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-05 12:58:03 +05:30
Rahul De 044df8352d matrixsynapse: Add post install YAML edits
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-05 12:57:46 +05:30
Rahul De f550c7f68a matrixsynapse: Fix front page icon name
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-05 12:56:11 +05:30
Rahul De 20ecdbf088 matrixsynapse: Add new plinth module
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-05 12:55:51 +05:30
Sunil Mohan Adapa 4a3cf220c8 syncthing: Fixes issues with enabling and setup
- On enable, don't just run syncthing, actually enable it.

- Make setup step idempotent. Run setup during enable as it is
  idempotent.

- Perform user/group creation properly during setup.

- Provide better description.

- Modify the application label and icon for accuracy of the service
  provided.

- Fix problem with showing service in firewall.
2017-03-23 15:09:46 +05:30
Sunil Mohan Adapa 277cd45342 syncthing: Minor styling fixes 2017-03-23 15:09:26 +05:30
Joseph Nuthalpati 551bd7b92c syncthing: Fix showing running status in configuration page 2017-03-23 15:07:38 +05:30
Joseph Nuthalpati a5147cfe16 syncthing: Run service as system user 'syncthing'
- Enabled Apache LDAP authentication for Syncthing.
2017-03-23 15:07:25 +05:30
Joseph Nuthalpati 53645deebf syncthing: Made it a systemd service 2017-03-23 15:06:52 +05:30
Joseph Nuthalpati cef7e6ff60 syncthing: Added glyph icon and corrected description and URLs 2017-03-23 15:05:11 +05:30