1006 Commits

Author SHA1 Message Date
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
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
5b71ce815c cat on a empty string will block the script 2015-02-24 08:05:54 +00:00
Daniel Steglich
fa3b5ae9e6 create config dir if not exist 2015-02-23 20:03:36 +00:00
fonfon
855755263d Merge pull request #105 from SunilMohanAdapa/owncloud-apache-reload
owncloud: Do Apache reload instead of restart
2015-02-23 14:39:12 +01: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
fonfon
16fb4c2f3c Merge pull request #86 from BobGirard/unit-tests-1
Updated: Unit tests (#1)
2015-02-23 14:32:41 +01: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
c0587fd9df reduce retry conuter to avoid UI blocking time 2015-02-23 12:41:28 +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
82fbbe1fec upgrades: Handle upgrade interval other than 1 day properly
- We must assume that apart from Plinth there will be user or user-agent
  changes to the configuration files.  In this case the value may be set
  something other than '1' day.
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
Bob Girard
15161e10b1 Eliminate renaming plinth.config file for tests
- Instead of renaming plinth.config, make a copy and run all feasible
  tests on the copy, then delete the copy.
2015-02-13 11:33:35 -07:00
Sunil Mohan Adapa
771581a75f owncloud: Do Apache reload instead of restart
Restarting Apache breaks existing connections.  This includes the connection
on which the Plinth's user has made the ownCloud enable/disable request.  This
leads to an almost certain 'Connection Interupted' message to the client when
changes to ownCloud are submitted.

On the other hand, 'reload' is sufficient and 'restart' is not required.  It is
also faster and recommended by 'a2enconf' and 'a2disconf' commands.
2015-02-11 10:48:41 +05:30
Sunil Mohan Adapa
9ab948012e copying: Reflow text 2015-02-11 10:28:29 +05:30
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
980405470d Added 2015 to copyright note 2015-02-11 10:28:29 +05:30
fonfon
a8cde77d5f system configuration: make domain optional 2015-02-11 10:28:29 +05:30