1865 Commits

Author SHA1 Message Date
James Valleroy
d2950d9c5f
users: Display error message if unable to set SSH keys 2016-08-23 21:37:41 +05:30
Алексей Докучаев
b8f3502a6f Translated using Weblate (Russian)
Currently translated at 100.0% (637 of 637 strings)
2016-08-23 09:22:44 +02:00
Luis A. Arizmendi
f90aa8cabb Translated using Weblate (Spanish)
Currently translated at 100.0% (637 of 637 strings)
2016-08-22 12:46:04 +02:00
Luis A. Arizmendi
8ed20aed4a Translated using Weblate (Spanish)
Currently translated at 100.0% (637 of 637 strings)
2016-08-20 11:06:49 +02:00
Sunil Mohan Adapa
49e6d940be
Merge remote-tracking branch 'weblate/master' 2016-08-20 09:59:59 +05:30
John Doe
ddc7c9c118 Translated using Weblate (French)
Currently translated at 99.6% (634 of 636 strings)
2016-08-20 06:20:54 +02:00
Sunil Mohan Adapa
f52fa3cb4f
Update translations to fix weblate errors 2016-08-20 09:46:56 +05:30
Sunil Mohan Adapa
130b5273e4
letsencrypt: Replace a Unicode char with ASCII
Although there is nothing wrong with the generated POT file and the
encoding is properly set to UTF-8, Weblate failed with following error:

We have not been able to update the source file for the resource
django.pot of the project FreedomBox UI.

The URL we used to update the source file from was
https://raw.githubusercontent.com/freedombox/Plinth/master/plinth/locale/django.pot.

The exact error we encountered was:

'ascii' codec can't encode character u'\u2019' in position 31271:
ordinal not in range(128)
2016-08-20 09:40:30 +05:30
Luis A. Arizmendi
64499a31b8 Translated using Weblate (Spanish)
Currently translated at 100.0% (636 of 636 strings)
2016-08-19 14:39:34 +02:00
John Doe
b134a1c2f8 Translated using Weblate (Turkish)
Currently translated at 100.0% (636 of 636 strings)
2016-08-18 21:16:59 +02:00
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 v0.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
James Valleroy
66a1e5c72b
Fetch latest manual 2016-08-12 17:35:35 -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
James Valleroy
e1fc563a29
Update required Django version in INSTALL and requirements.txt
Update changelog
2016-08-11 18:40:35 -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
Sunil Mohan Adapa
f19ad2b2cb
Bump required version of Django to 1.10
Since Debian testing now has Django 1.10.  There is no necessity to
support older versions of Django.  The fix for showing menu items does
depend on a small feature that is introduced in Django 1.10:
django.setup(set_prefix=True) and FORCE_SCRIPT_NAME.
2016-08-11 18:02:41 -04:00
Hemanth Kumar Veeranki
42e44ec689
Fixed issue with lost menus in Django 1.10 2016-08-11 18:02:36 -04:00
James Valleroy
aad39e4001
Update changelog 2016-08-11 17:22:43 -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
395155d306
snapshot: Use augeas for modifying fstab 2016-08-08 22:22:04 +05:30
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
James Valleroy
2befa18c33
Switch to official vagrant box 2016-08-05 21:13:14 -04: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
dd709066f7
Update HACKING file with Vagrant information 2016-08-03 22:19:57 +05:30
Sunil Mohan Adapa
bdd903e0ca
Minor updates to Vagrantfile
- Add license header

- Let setup.py decide the Python interpreter to use

- Don't make a copy of the project directory making it easier to
  re-provision.

- Show a message on how to proceed after bringing up the VM
2016-08-03 22:18:38 +05:30
James Valleroy
eed0babb13
Add Vagrantfile. 2016-08-03 19:54:12 +05:30
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