191 Commits

Author SHA1 Message Date
James Valleroy
27e19b4373 users: Change LDAP user password. 2015-06-12 15:49:41 +05:30
James Valleroy
f16ea84f1d users: Delete LDAP user. 2015-06-12 15:49:41 +05:30
James Valleroy
9f371d9a13 users: Rename LDAP user. 2015-06-12 15:49:41 +05:30
James Valleroy
219c3f4b06 users: Show if user is also an LDAP user. 2015-06-12 15:49:41 +05:30
James Valleroy
aece3d7ee0 Use ldapadd instead of slapadd. 2015-06-12 15:49:41 +05:30
James Valleroy
b2cd67c78b xmpp: Add option to use LDAP for authentication. 2015-06-12 15:49:41 +05:30
James Valleroy
910ff97c62 users: Add option to create LDAP user. 2015-06-12 15:49:41 +05:30
Sunil Mohan Adapa
19301e541e roundcube: New app for web based email client 2015-06-07 17:41:51 -04:00
Sunil Mohan Adapa
56c732ab10 privoxy: New web proxy application 2015-05-27 22:46:57 +05:30
Sunil Mohan Adapa
f2b4dca4eb actions: Add more action utilities
- Utilities for enabling, disabling, restarting and getting enabled
  status of a service.

- Currently they are based on systemd but they can be extended to work
  with sysvinit also.

- Enable and disable also synchronize state with sysvinit.
2015-05-27 22:45:18 +05:30
Sunil Mohan Adapa
393095db4e xmpp: Remove special handling for empty arguments
- As tested in the updated test case, subprocess module can send empty
  arguments properly to the invoked commands.  No special handling is
  necessary.
2015-05-26 16:10:54 +05:30
James Valleroy
128aa42873 xmpp: Enable jwchat apache conf after install. 2015-05-24 17:25:54 +05:30
James Valleroy
ca61649105 xmpp: Preseed debconf values before ejabberd and jwchat packages are installed. 2015-05-24 17:25:54 +05:30
James Valleroy
333599ba24 Merge remote-tracking branch 'sunil/deluge-systemd' 2015-05-16 15:56:27 -04:00
James Valleroy
44b045fef7 Merge remote-tracking branch 'fonfon/pagekite-augeas-new' 2015-05-16 10:35:58 -04:00
Sunil Mohan Adapa
939f330816 deluge: Auto start deluge-web using systemd 2015-05-10 14:57:20 +05:30
Sunil Mohan Adapa
a6fa7abbad deluge: Minor fixes and styling
- Updated comments

- Start the daemon before enabling Apache configuration.

- Warn the user about editing the Apache configuration for Deluge.

- Other minor updates.
2015-05-10 13:44:33 +05:30
Sunil Mohan Adapa
6a57dc78f3 deluge: Make starting/stopping daemon safer
- Match the daemon using uid, name and a pidfile for a safer match.

- Make start process idempotent.
2015-05-10 13:40:15 +05:30
Sunil Mohan Adapa
51e6aa3df6 deluge: Rename from bittorrent to deluge
- There could be multiple applications for the same functions.  Although
  in the interface we should we show generic names like 'BitTorrent', we
  could use specific names in the backend.

- There is already a bittorrent client: Transmission.
2015-05-10 10:08:06 +05:30
James Valleroy
55a8b445ad Add BitTorrent module (deluge-web). 2015-05-07 19:37:58 +05:30
fonfon
0ffaaa3da7 Use JSON as pagekite action-script arguments
This allows to safe some conversions
2015-05-04 10:20:37 +02:00
fonfon
4561c3bcd9 Removed quote-checking functionality from pagekite
actions.py doesn't use shlex.quote anymore so I don't
have to check for accidentially quoted things anymore.
2015-05-03 19:27:12 +02:00
fonfon
7af92d9e65 Updated unit- and doctests 2015-05-03 19:27:12 +02:00
fonfon
7a4486fadf pagekite: restart service when config is changed
so the changed config gets applied immediately, and
not only after enabling/disabling the service manually.
2015-05-03 16:53:47 +02:00
fonfon
ef08f40447 minor layout cleanup 2015-05-03 15:28:45 +02:00
fonfon
3cc0cb74a6 Prevent adding existing or predefined services
and improved form error handling
2015-05-03 09:44:46 +02:00
fonfon
b3da314560 use util.service_is_running for tor also 2015-05-03 09:44:46 +02:00
fonfon
3f2c9ff2c8 cleaned up actions and configuration form 2015-05-03 09:44:46 +02:00
fonfon
99bfda3b69 removed default frontend stuff from actions
it's all handled via get-frontend and set-frontend now.
and there are now some doctests in actions/pagekite_util.py
2015-05-03 09:44:46 +02:00
fonfon
bab54aa26d removed old configobj pagekite action 2015-05-03 09:44:46 +02:00
fonfon
b96c89b0ab make pagekite login-required;
restart pagekite after adding/deleting a service so the changes take
effect;
improved warnings in the UI
2015-05-03 09:44:46 +02:00
fonfon
0b2b8ba51a Removing a service limited to removing 1 service
before it could happen that more services were removed
2015-05-03 09:44:46 +02:00
fonfon
d5d9e2df2e renamed variables for consistency
there are only 'service' and 'service_string' now, no more 'params'
2015-05-03 09:44:46 +02:00
fonfon
c04897be8b Moved pagekit url creation to pagekite module
plus some minor cleanup
2015-05-03 09:44:46 +02:00
fonfon
1fc0064fd0 refactoring pagekite: configuration form works
splitting the services to a separate page is not yet finished
2015-05-03 09:44:46 +02:00
fonfon
cf96797040 pagekite action: Use augeas pagekite lens
And allow setting any server as pagekite frontend.
2015-05-03 09:44:45 +02:00
James Valleroy
d185e88022 transmission: minor comment updates 2015-05-01 19:38:49 -04:00
Sunil Mohan Adapa
69adf1cfc5 transmission: Run from behind Apache
- Introduce Apache configuration for plinth.

- Remove Transmission service file for firewalld.

- Enable transmission on install.

- Enable/disable Apache configuration on Transmission on enable/disable.

- Remove IP address whilelisting as 127.0.0.1 is the default setting and
  is sufficient for Apache to reverse proxy.

- Update UI URL.
2015-05-01 19:00:56 +05:30
Sunil Mohan Adapa
f94d0d5414 transmission: New module for BitTorrent downloads 2015-05-01 18:52:17 +05:30
Sunil Mohan Adapa
4e42486822 ikiwiki: Data in /var/lib & setup after install
- It is conventional to store application data in /var/lib/APPDIR
  instead of /var/APPDIR.  Change ikiwiki data folder to
  /var/lib/ikiwiki.

- After installing and before enabling and setting up basic
  configuration, performing any operation such as 'create' wiki/blog
  lead to silent errors.  Do avoid this situation, perform a separate
  setup() operation soon after the package is installed.
2015-04-18 21:09:44 +05:30
Sunil Mohan Adapa
cc97304925 ikiwiki: Don't error out when listing before setup
- After a ikiwiki module is installed but not yet enabled, visting the
  'manage' page throws an error.  Fix this.
2015-04-18 21:07:08 +05:30
James Valleroy
35dcde00de ikiwiki: Create admin account for new wiki/blog. 2015-04-13 20:43:07 +05:30
James Valleroy
18234850ff ikiwiki: Add delete command for wikis and blogs. 2015-04-13 20:43:07 +05:30
James Valleroy
1464ff3184 ikiwiki: Create and manage wikis/blogs. 2015-04-13 20:43:07 +05:30
James Valleroy
fbce204180 Add ikiwiki module with initial setup and option to enable site. 2015-04-13 20:43:07 +05:30
Sunil Mohan Adapa
a4b33e07c8 xmpp: List all configured vhosts during user registration
Try to make the terminology a bit more consistent by renaming server ->
vhost and server -> domainname according to the situation.
2015-03-30 01:52:31 +05:30
James Valleroy
dae7abd00f Use domainname as ejabberd host.
Only use hostname when domainname is blank.
2015-03-30 01:52:31 +05:30
Sunil Mohan Adapa
2028a63deb mumble: Add new module for installing, enabling/disabling 2015-03-28 16:02:39 -04:00
James Valleroy
af94194b7a Merge remote-tracking branch 'steglicd/dynamicdns' 2015-03-26 16:02:07 -04:00
Daniel Steglich
4977258f78 use global wget options in addition to specific wget options 2015-03-26 18:45:17 +01:00