Commit Graph
5099 Commits
Author SHA1 Message Date
James Valleroy 304e2aea62 Add form for enabling automatic upgrades. 2015-01-28 19:50:26 +00:00
James Valleroy 80eff7fd6e Add upgrades module that can run unattended-upgrades. 2015-01-28 19:50:26 +00:00
Bob Girard c72c03890c Add detailed test coverage console report
* Add a detailed console report to the 'test_coverage' command output
* Expand the precision of all coverage percentages to two decimal places
* Print the location of the HTML coverage report at the end of the console report
2015-01-25 10:52:44 +05:30
Sunil Mohan Adapa da9faa5e02 Don't load Debian backup files as module configuration
When modules were removed, Debian packaging also had to remove them to
avoid errors.  When Debian guidelines are following and correspoding deb
helper is used, it creates .dpkg-* files in the module configuration
directory.  Plinth tries to load these which causes problems.  We should
consider loading files with a known extension in future.
2015-01-25 01:50:31 +05:30
Sunil Mohan Adapa 3fcbb36a21 Serve /usr/share/javscript on /javascript
Since the links to javascript libraries have been removed in favor of
using javscript-common, it is no longer possible to run Plinth stand
alone without a reverse proxy that also serves /javscript.  This patch
fixes that.  Now /javascirpt is also available when Plinth is running
stand alone.
2015-01-25 01:50:31 +05:30
Sunil Mohan Adapa 2b85416aa2 users: Use deluser instead userdel for deleting POSIX users 2015-01-25 01:45:51 +05:30
Sunil Mohan Adapa c2b806cf0d users: Rename a POSIX user when Plinth user is renamed 2015-01-25 01:45:51 +05:30
Sunil Mohan Adapa a3de3ae277 users: Handle errors better during POSIX user operations
- If during an action, user does not exist ignore.

- If during an action, return a non-zero exist status.

- Catch an errors during actions as exceptions.

- Display a message that corresponding POSIX operation failed.
2015-01-25 01:45:51 +05:30
Sunil Mohan Adapa d27cd02193 users: Add posix user messages to other user management forms
- Slightly modify the message in user update form
2015-01-25 01:45:43 +05:30
Sunil Mohan Adapa baa9205852 Fix issue with styling of error messages with bootstrap3 2015-01-25 01:17:58 +05:30
James Valleroy 2da8619248 Show if user is also a POSIX user in edit user form. 2015-01-20 12:37:16 +05:30
James Valleroy 45b5ce8de9 When enabling/disabling Django user, also enable/disable the corresponding POSIX user. 2015-01-20 12:37:04 +05:30
James Valleroy eeced1c213 When updating a user's password, also update the POSIX user's password, when needed. 2015-01-20 12:36:50 +05:30
James Valleroy 46dd2225f7 Delete posix user when deleting plinth user. 2015-01-20 12:36:02 +05:30
James Valleroy f3ea867e07 Add option when adding a new user, to also create a POSIX user.
Conflicts:
	plinth/modules/users/views.py
2015-01-20 12:35:15 +05:30
James Valleroy 1a081bfab0 Create POSIX user during firstboot. Closes #31. 2015-01-20 12:28:53 +05:30
Daniel Steglich 411abfe954 use start-stop-daemon to avoid hanging web page if ez-ipupdate tool is blocking 2015-01-15 21:30:25 +00:00
Daniel Steglich 4ca76b9c76 some helptext adjustments 2015-01-15 19:33:11 +00:00
Sunil Mohan Adapa 4581785519 Release 0.4.4 v0.4.4 2015-01-13 13:07:30 +05:30
Sunil Mohan Adapa f6b2d1e44b Don't generate TODO list from build/ and debian/ dirs 2015-01-13 13:00:40 +05:30
Sunil Mohan Adapa b179331f49 Remove empty header and footer documentation files
These cause lintain warning during Debian package building.  They
currently don't serve any purpose as they are empty.  They can be
re-added when they have some content.
2015-01-13 12:25:26 +05:30
Sunil Mohan Adapa 76717a6f08 Remove style.css to avoid unsafe links
Documentation shown inside Plinth is not effected by this as it includes
its own styling.  Documentation that is opened by user directly from
/usr/share/doc/plinth is effected.
2015-01-13 12:25:26 +05:30
Sunil Mohan Adapa b5bfb388e9 Remove symlinks to javascript libraries 2015-01-13 12:25:17 +05:30
Daniel Steglich d2fdf1d403 fixed an issue where first update after initial configuration will not work because the cronjob does not recognize the ip change 2015-01-05 21:14:07 +00:00
Daniel Steglich 91cc161f96 fixed indention 2015-01-05 20:48:45 +00:00
Daniel Steglich 9fbe9754f6 refactored configuration action to avoid multiple start/stop calls of the action script when the configuration changes 2015-01-05 17:29:12 +00:00
Daniel Steglich 6b6e7f695f improved robustness of update script in case of connection trouble (wget may hang a long time if DNS fails or route is unavailable) 2015-01-05 17:08:15 +00:00
Daniel Steglich cb52d7fcf0 do not report errors on first run 2015-01-05 16:20:28 +00:00
Daniel Steglich c0f4b8205e fixed pep8 errors reported by flake8 2015-01-05 16:12:24 +00:00
Sunil Mohan Adapa fca04b2673 Release 0.4.3 v0.4.3 2015-01-05 20:46:24 +05:30
Daniel Steglich 5925fb830f Merge branch 'dynamicdns' of https://github.com/steglicd/Plinth into dynamicdns 2015-01-05 13:54:49 +01:00
Daniel Steglich ae4bdc0970 pep8 guideline adaption 2015-01-05 13:54:13 +01:00
Daniel Steglich a26316436c fixed endention 2015-01-05 12:34:56 +00:00
Daniel Steglich 920b51d606 do not load bootstrap template filters if not needed 2015-01-05 12:28:17 +00:00
Daniel Steglich e91aa7fa44 removed obsolete install options because installation process is done by package framework now 2015-01-05 11:33:28 +00:00
Daniel Steglich c31161a056 Merge branch 'dynamicdns' of https://github.com/steglicd/Plinth into dynamicdns
use package framework for installing ez-ipupdate
2015-01-05 11:22:13 +00:00
Daniel Steglich 4978c64bb3 use package framework for installing ez-ipupdate 2015-01-05 11:22:07 +00:00
Daniel Steglich 4306e4c770 changed menu entry name to a more fancy string 2015-01-05 00:29:03 +01:00
Daniel Steglich 6c214c915c Merge remote-tracking branch 'upstream/master' into dynamicdns 2015-01-04 23:52:14 +01:00
fonfon 0cbdd5cf51 bugfix: changing user password didn't work
We manually have to call the form.save() method in form_valid().
Plus tiny cleanups like using SetPasswordForm instead of
AdminPasswordChangeForm.
Note: this allows any logged-in user to change all other user passwords.
2015-01-04 23:32:32 +01:00
Daniel Steglich a2ffb64996 fixed status update if nothing was done 2015-01-04 22:24:32 +00:00
Daniel Steglich 69c043fefb fixed reading uptime from system 2015-01-04 23:16:46 +01:00
Sunil Mohan Adapa 2015b52798 Release 0.4.2 v0.4.2 2015-01-05 02:38:48 +05:30
Daniel Steglich 7cb98f2122 added install command to action script 2015-01-04 22:04:40 +01:00
Daniel Steglich 08b0f37527 fixed pep8 issue 2015-01-04 20:00:05 +01:00
Daniel Steglich 69bb4f1b36 fixed file permissions 2015-01-04 19:58:07 +01:00
fonfon e905d1a8f2 packagekit: use TemplateView instead of FormView
For the installation procedure a TemplateView is sufficient, and the user
won't be able to edit any form-data on the client-side.
2015-01-05 00:27:45 +05:30
Sunil Mohan Adapa b3e8e53c73 Use package framework for installing ejabberd and jwchat 2015-01-05 00:27:45 +05:30
Daniel Steglich a6de17f4d9 fixed file permissions 2015-01-04 19:57:14 +01:00
Daniel Steglich 0f66b22a4a refactored naming from dynamicDNS to lowercase dynamicdns 2015-01-04 18:53:39 +00:00