771 Commits

Author SHA1 Message Date
Daniel Steglich
66a4083891 moved reconfiguration of dropdown display directly to the onchange function of the dropdown box as the code is not used elsewhere 2015-03-10 00:31:30 +01:00
Daniel Steglich
dfe35c9c97 improved helper text 2015-03-09 23:39:35 +01:00
Daniel Steglich
8269cfe97e removed duplicate code and avoid deleting form field config on reload 2015-03-09 23:33:09 +01:00
Daniel Steglich
2782406cae improved form validation (only request domain/user/pass if gnudip is selected to allow empty params on update URL), and stripped single qoutes from empty values to avoid showing them when form is loaded 2015-03-09 23:32:13 +01:00
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
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
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
f1c1d812e9 updated javascript disabled helper message 2015-03-03 23:05:34 +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
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
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
874d0bea18 first version of java script based dynamic provider selection 2015-02-28 23:18:05 +01:00
Daniel Steglich
f35ab6a3b4 added a checkbox to make the password visible 2015-02-28 15:30:10 +01:00
Daniel Steglich
76f9d087c9 removed second password field from configure form and validate the form completly within clean function of configure form 2015-02-24 08:16:02 +00:00
Daniel Steglich
2dbdc0c685 do form validation within clean function of the ConfigureForm class and not when applying the changes 2015-02-23 13:38:58 +00:00
Daniel Steglich
7ea9e1cf94 use different UI logo than XMPP 2015-02-23 12:51:41 +00:00
Daniel Steglich
17ffdd6fee made code more readable 2015-02-23 12:42:10 +00:00
Daniel Steglich
88358de59e made html templates more readable 2015-02-23 12:30:47 +00:00
Daniel Steglich
81c405cfa3 fixed typo within error message 2015-02-23 12:23:18 +00:00
Sunil Mohan Adapa
c3ac49e676 upgrades: Change menu item to 'Software Upgrades'
- This will be more familiar to the user due to similar messages on the
  desktops and mobiles.
2015-02-22 17:48:35 -05:00
Sunil Mohan Adapa
1f43be95a0 upgrades: Handle action errors using error codes
- This is more reliable than string parsing in the output.

- We will be using pythonic try/catches instead of if conditions.
2015-02-22 17:48:35 -05:00
Sunil Mohan Adapa
d33e60c74a upgrades: Minor styling fixes
- Remove emacs mode line as emacs automatically detect Python files
  based on the #! line.

- End comments with a '.'.

- Use single quotes instead of double quotes for string for consistensy.

- Update message to say that it take more than a minute to finish
  upgrades.  Some times it takes a lot more than that.
2015-02-22 17:48:34 -05:00
Sunil Mohan Adapa
a5473ae7f2 upgrades: Require CSRF token for starting upgrade process 2015-02-22 17:48:34 -05:00
fonfon
38ec7666ed Display Plinth version in Documentation / About
Users should see which Plinth version they use to make it easier to report
and reproduce bugs
2015-02-11 10:28:29 +05:30
fonfon
ef2bf32668 Made owncloud submit button more straightforward
As octogen pointed out on irc that's easy to miss that it's necessary
to click the submit button (and not just tick/untick the checkbox)
2015-02-11 10:28:29 +05:30
fonfon
a8cde77d5f system configuration: make domain optional 2015-02-11 10:28:29 +05:30