413 Commits

Author SHA1 Message Date
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
Johannes Keyser
6b5698f673
datetime: Rewrote action timezone-change in Python
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-30 09:23:59 +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
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
Sunil Mohan Adapa
6a91945219
actions: Make subparsers mandatory for service action too
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-10 11:54:32 +05:30
Johannes Keyser
634afef1c9
actions: Make subparsers mandatory, fixes calls without arguments
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-10 11:54:23 +05:30
Sunil Mohan Adapa
c46cba8134
disks: Workaround issue in parted during resize
Currently, if parted is given --script option it still asks for
confirmation during resize when the partition is mounted.  Implement a
workaround to the problem by first trying the proper way and then
trying a workaround described in
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1270203

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-08 14:51:39 -04:00
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
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
dc0f3151b1
openvpn: Set unique subject property on each cert generation
Just to be sure of the ability to generate the certificate even on
modifications.
2017-03-29 21:49:50 +05:30
Hemanth Kumar Veeranki
04cadbc82f
openvpn: Prevent failures when regenerating user certificate
Set unique_subject attribute to no in index.txt.attr file.  This
allows regenerating a certificate for a user.

Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-03-29 21:33:58 +05:30
Sunil Mohan Adapa
f9bd2542a7
openvpn: Apply empty file check to private key also
When downloading user's profile, if user's private key is empty,
regenerate user's key.

Minor styling fixes too.
2017-03-27 21:58:32 +05:30
Hemanth Kumar Veeranki
fcd2499092
openvpn: When user certificate is empty, regenerate it
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-03-27 21:57:56 +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
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
2e28408f4b
syncthing: initial attempt at integrating Syncthing 2017-03-23 15:01:13 +05:30
Sunil Mohan Adapa
7f948d1111
tor: Simplify upstream bridges action code
- There is no need for separate subcommand as arguments can be passed in
  even when they have special characters such as \n in them.

- Enable obfs3 and scramblesuit transports also.  Since it is easy to
  support them and bridges site still provides them.  scramblesuit is
  also a nice alternative to obfs4.

- Minor refactoring/fixes.
2017-01-29 11:21:03 +05:30
James Valleroy
31f95cfb12
tor: Support obfs4 for upstream bridges
Refactor augeas lens for readability.
2017-01-29 11:19:34 +05:30
James Valleroy
5483d30151
tor: Don't allow relay to be enabled while using upstream bridges 2017-01-29 11:19:01 +05:30
James Valleroy
165e880329
tor: Move restart logic into plinth module 2017-01-29 11:18:42 +05:30
James Valleroy
6430ebbc71
tor: Re-use loaded augeas 2017-01-29 11:18:31 +05:30
James Valleroy
09b58a8b99
tor: Add option to use upstream bridges 2017-01-29 11:17:41 +05:30
James Valleroy
1aa767e6bd
users: Move part of LDAP setup to first-run
LDAP admin and basic structure setup requires running slapd. Move this
to first-run so we don't have to start slapd during setup. This should
avoid issues when running setup in a chroot.
2017-01-18 18:40:03 -05:00
Sunil Mohan Adapa
fb8ac3b748
infinoted: Minor updates to action
- No need to have /etc/default/infinoted file.  It is not used in the
  systemd service.

- Enable directory sync plugin so that plaing text files are always
  available on server.

- Enable automatic save every 60 seconds with autosave plugin.

- Enhanced logging by enabling logging plugin.

- Remove double quotes in system user name.
2017-01-18 10:36:36 +05:30
James Valleroy
cd12f5d2b3
infinoted: Add new module for collaborative editing 2017-01-18 10:35:06 +05:30
Swapnil Gupta
bb70c43923
jsxc: Add setup
Fix routes.
2017-01-09 11:50:35 -05:00
James Valleroy
85b87268b4
tor: Fix various issues related to plinth instance
- Remove extra newlines added to torrc.
- Remove comments added in random places to torrc.
- Enable tor instance during setup.
- Fix restarts to use tor instance.
- Revert change to augeas lens to attempt handling +.
- Add support for hyphens in values to augeas lens.
- Increment module version so setup can run again.
2017-01-08 15:36:59 -05:00
mridulnagpal
658e52f6cd
tor: Remove +SocksPort line from instance torrc
Not supported by augeas tor lens.
2017-01-08 14:55:42 -05:00
mridulnagpal
7afd5dd32d
tor: Disable tor service (replaced by tor@plinth) 2017-01-08 14:55:40 -05:00
mridulnagpal
fdac901181
tor: Run tor-instance-create during setup 2017-01-08 14:55:37 -05:00
mridulnagpal
9f2521ce76
tor: Use plinth instance 2017-01-08 14:55:31 -05:00
James Valleroy
8f8d0e8901
bind: Minor fixes and style updates 2017-01-06 18:44:44 -05:00
mridulnagpal
d4b0809db0
bind: Replace config in setup 2017-01-06 18:17:29 -05:00
mridulnagpal
e0abdbd0e9
bind: Add validator 2017-01-06 18:17:27 -05:00
mridulnagpal
0312c41415
bind: Added DNS servers setting 2017-01-06 18:17:25 -05:00
mridulnagpal
d986d58250
bind: Add enable DNSSEC 2017-01-06 18:17:22 -05:00
mridulnagpal
8c0d8e9db2
bind: forwarding works fine now 2017-01-06 18:17:19 -05:00
mridulnagpal
95265426a9
bind: Move setup to action script 2017-01-06 18:17:17 -05:00
mridulnagpal
aded0f6be0
bind: Remove icon 2017-01-06 18:17:14 -05:00
mridulnagpal
4a73cbcf3c
bind: Run setup 2017-01-06 18:17:11 -05:00
mridulnagpal
da408d3381
bind: Add basic config 2017-01-06 18:17:06 -05:00
James Valleroy
533118c7f5
Refactor minetest server config
Only load augeas once to read the config.
2016-12-23 10:49:27 -05:00
mridulnagpal
7361f870b7
corrected script 2016-12-23 10:49:24 -05:00