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
Daniel Steglich
2c36160237
removed debug output
2015-03-26 13:33:50 +01:00
Daniel Steglich
66e9b00567
built in string substitution of bash shell does not work with dash. avoid this incompatibility.
2015-03-25 21:47:50 +01:00
Daniel Steglich
c4fa908dd7
local vars are only possible inside of functions
2015-03-25 21:13:08 +01:00
Daniel Steglich
b4b3bb83f4
updated help message
2015-03-25 21:11:03 +01:00
Daniel Steglich
b4eba95759
fixed missing bracket in awk command
2015-03-25 21:04:01 +01:00
Daniel Steglich
22033aaea5
fixed some syntax errors after last changes
2015-03-25 19:43:22 +01:00
Daniel Steglich
3d8228ce38
made the bash script code shellcheck compatible, replaced obsolete statements
2015-03-25 19:28:43 +01:00
Daniel Steglich
09c541ea5c
fixed missing whitespace
2015-03-25 17:30:05 +01:00
Daniel Steglich
c59fcf0d29
fixed status return string of updateurl
2015-03-09 23:30:45 +01:00
Daniel Steglich
41352912a3
copyright notice added
2015-03-09 22:58:51 +01:00
Sunil Mohan Adapa
2dd303e9ac
owncloud: Make setup more robust to repeatition
...
Create postgresql user and set password in two steps instead of one. This
ensures that if a user already exists for some reason (setup already run), then
re-running will simply set a new password and generates a new configuration.
Otherwise, the user creation setup having failed because of existing user will
also fail to set new password and the generated configuration is not usable.
2015-03-08 13:23:36 +05:30
Sunil Mohan Adapa
d8ba09eb74
owncloud: Minor cleanup in action file
2015-03-08 13:23:36 +05:30
Sunil Mohan Adapa
57094d9820
owncloud: Check for database configuration to treat as enabled
...
- Newer version of owncloud package enable the Apache2 owncloud configuration
by default. This happens eventhough database configuraiton is not available.
Plinth only checks for Apache2 owncloud configuration as enabled to determine
if owncloud is enabled and hence falsely shows the owncloud is enabled.
- Newer version of owncloud also create a /etc/owncloud/config.php with simple
instance identifier set. So merely checking if the files exists is not of
much use.
- This patch checks if the dbtype variable is configured in config.php or
autoconfig.php along with Apache2 owncloud configuration to determine if
owncloud is enabled.
- The same logic is used to determine if autoconfig.php must be generated.
2015-03-08 13:22:35 +05:30
Daniel Steglich
98506f0fdd
improved check of current IP, registered at DNS server
2015-03-06 21:46:57 +01:00
Daniel Steglich
7d30480117
improved ipurl check
2015-03-06 21:41:57 +01:00
Daniel Steglich
6acc4cc44f
only do a update if DNS entry is outdated
2015-03-06 21:34:57 +01:00
Daniel Steglich
e42b8e5015
covered empty server arguments and made parameter comparsion more easy
2015-03-05 14:03:11 +01:00
Daniel Steglich
eab3ac2cfc
added comments
2015-03-04 22:22:30 +01:00
Daniel Steglich
1075665a90
fixed indention
2015-03-04 10:28:28 +00:00
Daniel Steglich
ad1d94f6a6
changed success/failure storage after update is done via update URL
2015-03-04 10:17:48 +00:00
Daniel Steglich
68bd749164
sorround update URL with double qoutes
2015-03-04 10:01:48 +00:00
Daniel Steglich
5c5134f233
store successful update events to be displayed on status page
2015-03-04 09:18:53 +00:00
Daniel Steglich
8bcea1fdae
do not show single quotes arround the update URL
2015-03-03 22:46:32 +01:00
Daniel Steglich
145028d518
added function to replace vars from update URL
2015-03-03 22:35:28 +01:00
Daniel Steglich
81ad2019b1
use global defined string variables
2015-03-03 21:18:31 +01:00
Daniel Steglich
875c24e213
added comment lines
2015-03-03 21:14:55 +01:00
Daniel Steglich
b782f36b28
consistent use of dollar bracket to assign variables from system call
2015-03-03 21:10:04 +01:00
Daniel Steglich
f611614c14
consistent use of curly brackets
2015-03-03 21:07:07 +01:00
Daniel Steglich
a2e8a0ec8a
prepared update URL functionality (implemented new parameters)
2015-03-02 23:39:28 +01:00
Daniel Steglich
ffcfccb20f
beautyfied and refactored code
2015-03-02 20:56:46 +01:00
Daniel Steglich
5b71ce815c
cat on a empty string will block the script
2015-02-24 08:05:54 +00:00