814 Commits

Author SHA1 Message Date
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
Joseph Nuthalpati
2e28408f4b
syncthing: initial attempt at integrating Syncthing 2017-03-23 15:01:13 +05:30
Sunil Mohan Adapa
f82136e559
users: Show and consume messages in user edit & password change 2017-02-15 21:08:39 +05:30
Sunil Mohan Adapa
05908d1680
openvpn: Handle shortcut properly when enabling/disabling 2017-02-15 21:08:18 +05:30
Rahul De
ad0b235dd7
users: Restrict groups and active user control to admins
- Only admins can now edit the groups of any user

- Only admins can mark any user as active or not

- Refactored all occurrences of admin checks to its own utility function
2017-02-15 21:07:54 +05:30
Sunil Mohan Adapa
7465aafe89
openvpn: Fix i18n and minor refactoring
- Remove hard coded link
2017-02-15 21:07:43 +05:30
Sunil Mohan Adapa
dd5ab7612e
Minor refactoring and lint fixes
- Rename AdminMiddleware to AdminRequiredMiddleware to be consistent
  with stronghold/Django terminology

- Simplify .gitignore pattern

- Format single line docstrings as per PEP8.

- Add missing docstrings.

- Restrict lines to 79 characters.
2017-02-15 21:07:27 +05:30
lispyclouds
f54a9d89dd
Fix accidental debugging print 2017-02-15 21:07:08 +05:30
lispyclouds
b0321d7d29
openvpn: Allow non-admin users to download their own profiles
- This adds OpenVPN icon

- This enables the OpenVPN app on the index page.

- This allows only admins to create the certs for OpenVPN and admins and
  non admins can not download their own profiles via the app icon.
2017-02-15 21:05:48 +05:30