6087 Commits

Author SHA1 Message Date
James Valleroy
2fc5760af4
Release v20.19 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.19
2020-11-30 19:09:18 -05:00
James Valleroy
3b25004970
debian: Add python3-openssl as build dependency for tests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-30 19:00:58 -05:00
James Valleroy
6bff26dc78
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-30 18:34:46 -05:00
James Valleroy
69f30d831d
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-30 17:27:30 -05:00
Oymate
0d06a8055a
Translated using Weblate (Bengali)
Currently translated at 0.4% (7 of 1405 strings)
2020-11-30 23:24:53 +01:00
ikmaak
5bf451323c
Translated using Weblate (Dutch)
Currently translated at 92.5% (1300 of 1405 strings)
2020-11-30 23:24:52 +01:00
Veiko Aasa
fcc4a933d2
Samba: UI: Show toggle buttons and share names
Closes #1989

I checked that all Samba tests pass.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil: Minor indentation and styling fixes in template]
[sunil: Prevent multiple HTML attributes with same name in case of vfat]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-30 13:27:50 -08:00
ikmaak
89715c51de
Translated using Weblate (Dutch)
Currently translated at 90.4% (1271 of 1405 strings)
2020-11-30 01:29:06 +01:00
Fioddor Superconcentrado
c33d0a0b32
Translated using Weblate (Spanish)
Currently translated at 99.9% (1404 of 1405 strings)
2020-11-30 01:29:06 +01:00
ikmaak
f59c6a5ba8
Translated using Weblate (German)
Currently translated at 98.7% (1388 of 1405 strings)
2020-11-30 01:29:05 +01:00
James Valleroy
c5e0c68bec
sso: Add test to generate ticket
Related to
https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/1957

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Fix name of the fixture method copied from other code]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-29 15:07:51 -08:00
James Valleroy
d794b575e1
upgrades: Fix sources list for dist upgrade from buster
- Check apt sources list regardless of whether we are upgrading to
stable or testing.

- Replace stable code name with new stable code name.

- When testing, also replace "stable" with code name to be tested.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-28 21:29:14 -08:00
ikmaak
4f92e985d3
Translated using Weblate (Dutch)
Currently translated at 88.2% (1240 of 1405 strings)
2020-11-27 13:29:04 +01:00
James Valleroy
3455e72cbf
upgrades: Print steps in dist-upgrade
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-25 21:32:27 -08:00
James Valleroy
6c801f117f
upgrades: Use apt_hold contextmanager
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-25 21:32:23 -08:00
James Valleroy
5750373ea0
upgrades: Hold freedombox package during dist upgrade
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-25 21:32:18 -08:00
James Valleroy
890ab87589
upgrades: Fix flag name in info message
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-25 21:31:45 -08:00
James Valleroy
f968ac6023
upgrades: Add progress page for initial update
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-25 21:18:02 -08:00
James Valleroy
8b02c2bf3a
upgrades: Add first boot step to run initial update
Closes: #1708.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-25 21:17:55 -08:00
Joseph Nuthalapati
377010b078
openvpn: Deny access to users not in group "vpn"
A new function called `user_group_view` has been added to
restrict access to only users in the groups "vpn" and "admin".

Some changes are made in AdminRequiredMiddleware to handle this.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-25 13:15:22 -05:00
Joseph Nuthalapati
21326cfe46
openvpn: Add functional tests for user group "vpn"
This is the first functional test which tests the permissions of a
non-administrator user in a group.

Some changes had to be made in the form shown in users module for this
to work. The id of each checkbox in the "Permissions" section is now
predictable based on the name of the group. For example, the id of the
checkbox for the group "vpn" is `id_group_vpn`. Changes are also made in
`CheckboxSelectMultipleReadOnly` form class for consistency, though it
is not being used by this functional test.

Some utility functions for functional tests have been moved out of users
module to be usable by other app modules for testing group permissions.

One additional utility function to skip creating user if it already
exists has been added. Not using this function wouldn't break the test
but using it saves some time.

Changed password format string to use `S` instead of `w` to support
special characters in password.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-25 13:15:19 -05:00
Joseph Nuthalapati
7663b763f9
OpenVPN: Create user group "vpn"
A user in this user group will be able to download and use an .ovpn
profile to connect to the OpenVPN server on the FreedomBox.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-25 13:15:15 -05:00
ikmaak
8f98db9a69 Translated using Weblate (Dutch)
Currently translated at 86.1% (1211 of 1406 strings)
2020-11-25 17:26:26 +01:00
Fioddor Superconcentrado
5f6add64bd
snapshots: Translate snapshot types (field description)
Helps: #1938

BTW, columns centered.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-25 11:25:13 -05:00
Fioddor Superconcentrado
a110c70b6f
bepasty: Apply translation to autogenerated comments.
Helps: #1938

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-25 11:25:10 -05:00
Fioddor Superconcentrado
20f0b25ff5
networks: Apply translation to a tooltip.
Helps: #1938
It also corrects the transliteration of another tooltip.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-25 11:25:07 -05:00
ikmaak
13c427ce96
Translated using Weblate (Dutch)
Currently translated at 84.7% (1191 of 1406 strings)
2020-11-25 12:29:02 +01:00
James Valleroy
45da955c31
Release v20.18.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.18.1
2020-11-23 18:38:07 -05:00
James Valleroy
18d7014854
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-23 18:37:10 -05:00
Hetgyl
2ca66a5389
Translated using Weblate (French)
Currently translated at 100.0% (1406 of 1406 strings)
2020-11-24 00:36:23 +01:00
Thomas Vincent
16009300fd
Translated using Weblate (French)
Currently translated at 100.0% (1406 of 1406 strings)
2020-11-24 00:36:23 +01:00
Thomas Vincent
4bf9bc82bc
Translated using Weblate (French)
Currently translated at 99.7% (1402 of 1406 strings)
2020-11-24 00:02:30 +01:00
Hetgyl
69d8fb9599
Translated using Weblate (French)
Currently translated at 99.7% (1402 of 1406 strings)
2020-11-24 00:02:30 +01:00
Thomas Vincent
6f66d2f9fc
Translated using Weblate (French)
Currently translated at 99.5% (1400 of 1406 strings)
2020-11-24 00:01:20 +01:00
Hetgyl
da9410eae7
Translated using Weblate (French)
Currently translated at 99.5% (1400 of 1406 strings)
2020-11-24 00:01:19 +01:00
James Valleroy
8ec02ab58c
Translated using Weblate (French)
Currently translated at 99.4% (1398 of 1406 strings)
2020-11-23 23:52:02 +01:00
Michael Breidenbach
f3567660de
Translated using Weblate (Swedish)
Currently translated at 100.0% (1406 of 1406 strings)
2020-11-23 23:49:27 +01:00
Burak Yavuz
eedd5e58a2
Translated using Weblate (Turkish)
Currently translated at 100.0% (1406 of 1406 strings)
2020-11-23 23:49:26 +01:00
ikmaak
8cdfd03507
Translated using Weblate (Dutch)
Currently translated at 83.2% (1171 of 1406 strings)
2020-11-23 23:49:26 +01:00
Diego Roversi
0d29fe340f
Translated using Weblate (Italian)
Currently translated at 55.7% (784 of 1406 strings)
2020-11-23 23:49:26 +01:00
Dietmar
0c151121b2
Translated using Weblate (Italian)
Currently translated at 55.7% (784 of 1406 strings)
2020-11-23 23:49:25 +01:00
Hetgyl
04413b4419
Translated using Weblate (French)
Currently translated at 99.4% (1398 of 1406 strings)
2020-11-23 23:49:25 +01:00
Thomas Vincent
25e5a2ef93
Translated using Weblate (French)
Currently translated at 99.4% (1398 of 1406 strings)
2020-11-23 23:49:25 +01:00
Fioddor Superconcentrado
1194be8010
Translated using Weblate (Spanish)
Currently translated at 99.5% (1400 of 1406 strings)
2020-11-23 23:49:24 +01:00
Dietmar
31cb18e62c
Translated using Weblate (German)
Currently translated at 98.7% (1388 of 1406 strings)
2020-11-23 23:49:24 +01:00
Joseph Nuthalapati
e81104aa86
sso: Fix regression in auth-pubtkt configuration
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-23 17:19:28 -05:00
Reg Me
f60c852f4f
Translated using Weblate (Dutch)
Currently translated at 80.7% (1136 of 1406 strings)
2020-11-22 19:51:05 +01:00
Petter Reinholdtsen
602deda0e6
Translated using Weblate (Norwegian Bokmål)
Currently translated at 83.6% (1176 of 1406 strings)
2020-11-18 06:35:16 +01:00
Thomas Vincent
a0726354a6
Translated using Weblate (French)
Currently translated at 98.7% (1389 of 1406 strings)
2020-11-18 06:35:15 +01:00
Hetgyl
a3f6b31c55
Translated using Weblate (French)
Currently translated at 98.7% (1389 of 1406 strings)
2020-11-18 06:35:15 +01:00