Daniel Steglich
1a3d7a3d00
only validate form fileds if the form is enabled at all
2015-03-09 22:36:21 +01:00
Daniel Steglich
9f8281f9dc
do not change values of dropdown element, but change selection
2015-03-09 22:35:51 +01:00
Daniel Steglich
6bb73467a6
improved helptext
2015-03-09 22:06:21 +01:00
Daniel Steglich
9f6d9487bd
use ssl for freedns
2015-03-09 21:57:34 +01:00
Daniel Steglich
4356a2cff3
fixed typo
2015-03-09 21:53:12 +01:00
Daniel Steglich
fa076edda4
fixed indention
2015-03-09 21:44:25 +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
15a6c49922
only show fields according to dropdown menu when entering form first tim (after enable checkbox was selected)
2015-03-07 00:03:00 +01:00
Daniel Steglich
e5ddfe0906
added hint for free dns service
2015-03-06 23:41:30 +01:00
Daniel Steglich
808062da11
added some comments
2015-03-06 23:30:24 +01:00
Daniel Steglich
ce057ebd22
need to remove unused parameters according to dropdown box selection
2015-03-06 23:27:45 +01:00
Daniel Steglich
21c4326a1d
do not clear server and URL values when changing dropdown menu but check if one of them is filled when validate the form
2015-03-06 23:18:50 +01:00
Daniel Steglich
3b0a070283
configure the form according to last configured values when loading the formular
2015-03-06 23:10:36 +01:00
Daniel Steglich
379815d92b
fixed dropdown box based deletion of unused params
2015-03-06 23:06:17 +01:00
Daniel Steglich
a57f86315e
added freedns provider
2015-03-06 22:04:42 +01:00
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
7d44f0c4e4
do not delete GnuDIP Server address if dropdown box changes and check/uncheck HTTP Basic auth according to update URL provider template
2015-03-06 21:21:19 +01:00
Daniel Steglich
45960542bb
less than 80 characters per line
2015-03-05 22:03:55 +01:00
Daniel Steglich
94991b9bb6
changed form manipulation from plain javascript to jquerry and removed javascript from python file
2015-03-05 21:48:30 +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
21f0aeef1c
fixed indention
2015-03-05 13:20:46 +01:00
Daniel Steglich
746b077557
fixed typo
2015-03-05 13:15:44 +01:00
Daniel Steglich
a615cbe243
fixed form validation: at least dynamicdns_server or dynamicdns_update_url needs to be configured
2015-03-04 22:40:50 +01:00
Daniel Steglich
2c63aaeb06
moved helper texts to variables
2015-03-04 22:35:03 +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
f1c1d812e9
updated javascript disabled helper message
2015-03-03 23:05:34 +01:00
Daniel Steglich
8bcea1fdae
do not show single quotes arround the update URL
2015-03-03 22:46:32 +01:00
Daniel Steglich
b6d5e4286b
started adding help text variables
2015-03-03 22:44:14 +01:00
Daniel Steglich
e6ee17cfbd
fixed variables
2015-03-03 22:36:02 +01:00
Daniel Steglich
145028d518
added function to replace vars from update URL
2015-03-03 22:35:28 +01:00
Daniel Steglich
bc7ed8dec9
changed syntax of variables
2015-03-03 22:01:00 +01:00
Daniel Steglich
3e75e65fc5
added concrete URL's for noip and selfhost.bz
2015-03-03 21:59:10 +01:00
Daniel Steglich
3178405a6e
fixed javascript after field renaming
2015-03-03 21:46:33 +01:00
Daniel Steglich
df0d1304b7
made the latest changes pep8 compatible
2015-03-03 21:42:54 +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
7e218b06ed
added dynamic form fields and fixed support for users without javascript support
2015-03-02 20:57:50 +01:00
Daniel Steglich
ffcfccb20f
beautyfied and refactored code
2015-03-02 20:56:46 +01:00
Daniel Steglich
874d0bea18
first version of java script based dynamic provider selection
2015-02-28 23:18:05 +01:00