987 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
7b68dd55f2
upgrades: Run status operations as non-root
Current check whether the package manager is busy and getting the
unattended upgrades log requires root.  This will not allow Plinth to
run as non-root.  Fix this by moving the operations to actions script.
2016-08-16 18:51:37 -04:00
Sunil Mohan Adapa
afdea208ec
transmission: Read configuration as super user
Due to permission restrictions on the configuration file (due to stored
password), it is not possible to read it as plinth user.  Read it using
sudo instead.
2016-08-16 18:39:38 -04:00
Sunil Mohan Adapa
522db2ce4c
dynamicdns: Allow Plinth to run as non-root
When invoking actions, invoke them using sudo so that Plinth itself can
run as non-root.  Most operations require superuser previlage.  Those
that don't require superuser should not be part of the action script and
can be moved to Plinth main.
2016-08-16 18:20:32 -04:00
Dietmar
91414ba113 Translated using Weblate (German)
Currently translated at 98.2% (625 of 636 strings)
2016-08-16 18:33:35 +02:00
Sunil Mohan Adapa
b7cbc56f8a
users: Fix checking restricted usernames
When editing an existing user, error is being thrown due to restricted
usernames check.  This is due to the username matching existing
username.

Also:

- Raise the validation error on the field instead of the entire form.

- Send error code along with validation error message.

- End the validation error message with a full stop for consistency.
2016-08-16 12:31:52 -04:00
Petter Reinholdtsen
5b4db1277f Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (636 of 636 strings)
2016-08-15 23:44:03 +02:00
James Valleroy
4e1ef764cb
Release 0.10.0 2016-08-12 18:16:09 -04:00
James Valleroy
68f67c0e79
Fix variable in translation so it can build 2016-08-12 17:58:07 -04:00
Masoud Abkenar
40aa545828 Translated using Weblate (Persian)
Currently translated at 49.5% (315 of 636 strings)
2016-08-12 22:34:55 +02:00
Sunil Mohan Adapa
fff0a6c562
users: Fix editing users without SSH keys
When SSH keys are not available for a user, the current user edit form
errors out.  Fix this by ignoring ssh key load errors.
2016-08-12 16:10:32 -04:00
Masoud Abkenar
3a864cd203 Translated using Weblate (Persian)
Currently translated at 36.3% (231 of 636 strings)
2016-08-12 16:21:42 +02:00
Sunil Mohan Adapa
e719966c4b
users: Refactor valid user name checking for reuse
- Supress output from getent

- More accurate message
2016-08-12 19:32:19 +05:30
James Valleroy
c8c6bc377b
users: Add list of restricted usernammes
List is derived from optional services installed.
2016-08-12 18:48:16 +05:30
James Valleroy
3a69958165
users: Avoid username conflicts with system users
When creating or renaming a user, check if the new username is in use by
any system user.
2016-08-12 18:47:52 +05:30
James Valleroy
ec68446eec
Update all translations with latest messages 2016-08-11 20:03:49 -04:00
Sunil Mohan Adapa
18996b5c56
Import urlresolvers from django.urls
In Django 1.10, django.core.urlresolvers is available from
django.urls. Use it.
2016-08-11 18:03:00 -04:00
Sunil Mohan Adapa
2f1fe8af22
Remove unused setting LOGOUT_URL
Django 1.10 officially does not use the setting LOGOUT_URL anymore.
Django stronghold incorrectly uses it as a URL rather than named url.
2016-08-11 18:02:56 -04:00
Sunil Mohan Adapa
09ba42aa7c
Replace render_to_response() with render()
In Django 1.10, render_to_response no longer has context_instance
argument.  It's use is not recommended anyway.  Replace it with render()
method.
2016-08-11 18:02:52 -04:00
Sunil Mohan Adapa
0856d7b090
Work around script prefix problem in stronghold 2016-08-11 18:02:48 -04:00
Hemanth Kumar Veeranki
42e44ec689
Fixed issue with lost menus in Django 1.10 2016-08-11 18:02:36 -04:00
Sunil Mohan Adapa
74ffc8d323
networks: Fix incorrect access of DNS settings
Network manager's libnm throws a critical message for when accessing DNS
entries from IPv4 configuration when there are none available.  See the
number of entries available before accessing them.
2016-08-11 17:11:27 -04:00
Sunil Mohan Adapa
fee14b1764
networks: Remove the IP address hack fully 2016-08-11 17:11:23 -04:00
nikhil rayaprolu
43e070972a
networks: Remove hack for fetching IP address 2016-08-11 17:11:17 -04:00
Rom1
5d926915a6 Translated using Weblate (French)
Currently translated at 96.0% (560 of 583 strings)
2016-08-08 18:52:57 +02:00
Sunil Mohan Adapa
d615709b8a
snapshot: Improved messages and minor refactoring
- Make the default snapshot detection slightly more robust and refactor.

- Expand description to explain automatic snapshotting, etc.

- Show description even after setup.

- Show default snapshot as a bootstrap label.

- Message explaing how rollback can be undone.

- Minor updates to delete/rollback confirmation messages.

- Minor style refactoring
2016-08-08 22:21:31 +05:30
James Valleroy
5e18a648e1
snapshot: New module for disk snapshots
- Create and list filesystem snapshots. Hide "current" snapshot.

- Allow deleting snapshots, except for default subvolume.

- Allow rollback to a snapshot.
2016-08-08 22:21:21 +05:30
Hemanth Kumar Veeranki
62934e7edc Translated using Weblate (Telugu)
Currently translated at 63.8% (372 of 583 strings)
2016-08-06 13:02:04 +02:00
Petter Reinholdtsen
da57505e2a Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (583 of 583 strings)
2016-08-06 13:02:04 +02:00
Hemanth Kumar Veeranki
b232e5df3b Translated using Weblate (Telugu)
Currently translated at 62.6% (365 of 583 strings)
2016-08-03 18:53:50 +02:00
Sunil Mohan Adapa
69a7f847aa
Properly fix setup argument checking 2016-08-01 20:38:42 +05:30
Hemanth Kumar Veeranki
2deb8c1911 Translated using Weblate (Telugu)
Currently translated at 54.5% (318 of 583 strings)
2016-08-01 15:34:49 +02:00
Hemanth Kumar Veeranki
29d20265c1
Removed a small bug of running setup always 2016-08-01 18:58:00 +05:30
Sunil Mohan Adapa
9ba327f0dd
users: Fix issue with removing temp file 2016-07-31 15:06:20 +05:30
Hemanth Kumar Veeranki
60e808e9bb
Added option for plinth --setup
Now plinth --setup could take a list of modules to setup
2016-07-31 14:15:57 +05:30
Hemanth Kumar Veeranki
1414db64bf Translated using Weblate (Telugu)
Currently translated at 49.9% (291 of 583 strings)
2016-07-31 07:44:47 +02:00
Sunil Mohan Adapa
8e28afe160
users: Move dpkg reconfigure to action utils
In the hope that it will be useful to other actions.  Also delete the
named temporary file after configuration.
2016-07-31 10:58:07 +05:30
James Valleroy
956416ef37
Configure users module packages after installation
Preseeding settings with debconf won't have any effect if the packages
are already installed. Instead, provide an override database to
dpkg-reconfigure.
2016-07-30 08:49:22 +05:30
James Valleroy
438d5850f2
tor: Minor style changes to template 2016-07-28 18:44:59 -04:00
nikhil rayaprolu
f27615c748
tor status UI update 2016-07-28 18:36:36 -04:00
Sunil Mohan Adapa
942b23c3c3
dynamicdns: Change 'lookup' to 'look up'
The original patch Nikhil Rayaprolu had this correct.  I have
incorrectly changed it.  Fixing it.
2016-07-28 22:58:00 +05:30
Nikhil Rayaprolu
777dbbe2a7
dynamicdns: Improve label for IP Check URL 2016-07-28 22:51:29 +05:30
Hemanth Kumar Veeranki
30d58d0649 Translated using Weblate (Telugu)
Currently translated at 48.5% (283 of 583 strings)
2016-07-28 18:46:05 +02:00
Petter Reinholdtsen
6652afc090 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (583 of 583 strings)
2016-07-27 18:07:20 +02:00
Luis A. Arizmendi
ed39fb82f6 Translated using Weblate (Spanish)
Currently translated at 100.0% (583 of 583 strings)
2016-07-25 21:25:15 +02:00
James Valleroy
8a6b09381f
radicale: Minor fixes for access rights config
- Fix code style.

- Keep description and util functions at module level.

- Add license notice to forms file.

- Internationalize and make choice descriptions more informative.
2016-07-24 18:54:32 -04:00
Hemanth Kumar Veeranki
c050967c92
Created an action to set argument file
regrouped forms and views into forms.py and views.py
removed code from __init__ and added them as actions
2016-07-24 18:51:23 -04:00
Hemanth Kumar Veeranki
ba1211a48b
Added Basic Access Control for Radicale 2016-07-24 18:51:15 -04:00
nikhilrayaprolu
eca8b8d42e
checking for apache2 installation
- checking whether apache2 is configured or not before checking
  whether it is enabled

- changed python2 syntax to python3

- returning False
2016-07-24 10:41:02 -04:00
Caly
a7b2914990 Translated using Weblate (Swedish)
Currently translated at 40.4% (236 of 583 strings)
2016-07-24 15:28:29 +02:00
Nikhil Rayaprolu
c0dc3ec8ca
modified network tests 2016-07-24 09:26:40 -04:00