Commit Graph
216 Commits
Author SHA1 Message Date
James Valleroy 925fbe6cd2 Fix group management issues. 2015-07-13 19:50:59 +05:30
James Valleroy 32bb08c269 Also add admin users to posixGroup for sudo privileges. 2015-07-13 19:50:59 +05:30
James Valleroy 6ca38ba665 Switch LDAP groups from groupOfUniqueNames to groupOfNames, to work with libpam-ldapd. 2015-07-13 19:50:59 +05:30
James Valleroy d65d2c4725 Fix group deletion. 2015-07-13 19:50:58 +05:30
James Valleroy 0eb3d35b5b Add group management to user editing form. 2015-07-13 19:50:58 +05:30
James Valleroy 197c95a7bf Add actions for LDAP group management. 2015-07-13 19:50:58 +05:30
James Valleroy 2adf14b8b7 Remove POSIX users. 2015-07-13 19:50:58 +05:30
James Valleroy d672e24ac4 Add posixAccount class for LDAP users. 2015-07-13 19:50:58 +05:30
James Valleroy 1f2dc5e730 Update LDAP admin group when renaming/deleting users. 2015-07-13 19:50:58 +05:30
James Valleroy f4835b4515 Add new LDAP users to admin group. 2015-07-13 19:50:58 +05:30
James Valleroy 70e0c4f61a ikiwiki: Enable HTTP auth using LDAP. 2015-07-13 19:50:58 +05:30
Sunil Mohan Adapa 0335ee9c32 deluge: Further improvements to actions
- Perform disable even when the service is not running.

- Improve checking if deluge is enabled.
2015-06-28 11:17:17 +05:30
Sunil Mohan Adapa 2f56a516de ikiwiki: Minor styling and fix
- Minor styling update in service description.

- Fix a minor issue that a2query outputs on STDERR when the
  configuration is disabled.
2015-06-28 11:15:52 +05:30
Sunil Mohan Adapa 21e12b3c1f deluge: Perform setup operations during enable
We should use on_install setups as sparingly as possible.  We don't get
callbacks in cases where package is already installed.  Until we
implement our versioned setup mechanism, doing some idempotent setup()
during enable() is much safer.
2015-06-26 18:52:26 +05:30
James Valleroy 2871519322 deluge: enable/disable refactoring 2015-06-26 17:34:38 +05:30
James Valleroy 5712c3d9ea deluge: Also disable the service when stopping. 2015-06-26 17:34:38 +05:30
James Valleroy fd73bcd734 deluge: Run setup and enable after install. 2015-06-26 17:34:38 +05:30
James Valleroy 9c717246ee deluge: Install apache conf file during Plinth install. 2015-06-26 17:34:37 +05:30
James Valleroy 9d6ceaa0ff ikiwiki: Use a2query to check if enabled. 2015-06-26 17:34:37 +05:30
James Valleroy be14b49c83 ikiwiki: Install conf files during Plinth install. 2015-06-26 17:34:37 +05:30
James Valleroy 045dae59f7 ikiwiki: Enable during setup. 2015-06-26 17:34:37 +05:30
Sunil Mohan Adapa f91be5a4f9 ldap: Store password hashes instead of plain text 2015-06-26 00:30:48 +05:30
Sunil Mohan Adapa 82090af423 ldap: Minor styling fixes 2015-06-25 23:40:24 +05:30
James Valleroy 3a3009c111 ldap: Switch to SASL authentication.
Assume that root is able to modify user directory entries.
2015-06-12 15:49:41 +05:30
James Valleroy 73a03c3b39 xmpp: Merge actions into single file. 2015-06-12 15:49:41 +05:30
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