Veiko Aasa
274e8a74fd
users: Add unit tests for views
...
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:17:50 -05:00
Veiko Aasa
72f653f5e8
sso, users: Turn off autocapitalization on the username field
...
Set autocapitalization='none' and autocomplete='username' on the username field.
Latest Django version uses those attributes by default on the username field.
Closes #1207
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:17:47 -05:00
Veiko Aasa
bcadf26ffc
users: More precise username validation
...
- Username should match [a-zA-Z0-9_.@-], can't start with '-'
- Use Python pwd module to retrieve all users instead of getent command.
- Checking, that a username already exists or is reservered, is case insensitive
Created usernames are now compatible with openldap and nslcd. Didn't change
urlpatterns in case of an invalid username is already created by the admin.
Closes #1773
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:17:44 -05:00
Joseph Nuthalapati
494fcd155b
l10n: Add missing trimmed to blocktrans blocks
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-02-09 10:54:44 +05:30
Joseph Nuthalapati
447e5c3e38
l10n: Add blocktrans trimmed tag on a block
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-02-09 10:31:47 +05:30
Veiko Aasa
a75c1da683
service: Stop service not before but after disabling it
...
Services that have socket activation enabled (e.g avahi) could automatically
start again after they are stopped manually. This change disables service
before stopping it, preventing it from auto-starting again.
Closes #1772
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-08 14:45:14 -05:00
Luis A. Arizmendi
77a76eb40f
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (1235 of 1235 strings)
2020-02-02 18:50:23 +01:00
Ralf Barkow
fce13ec2d0
Translated using Weblate (German)
...
Currently translated at 93.0% (1149 of 1235 strings)
2020-02-02 18:50:16 +01:00
Veiko Aasa
0f16a0fbee
storage: Show disks if FreedomBox is running in an unprivileged container
...
- Get disks info from df command and add info from udisks, if available.
Before, it was other way round.
- Add a functional test that asserts root disk is available
- Remove unused key file_system_type from disks info
Closes #1765
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-02 09:40:12 -05:00
Allan Nordhøy
a0415bc110
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 84.5% (1043 of 1235 strings)
2020-01-31 14:50:21 +01:00
Thomas Vincent
cac952394f
Translated using Weblate (French)
...
Currently translated at 93.1% (1150 of 1235 strings)
2020-01-31 14:50:20 +01:00
Sunil Mohan Adapa
dfd4d40ed1
firewall: Show Run Diagnostics button in app
...
- Use AppView for firewall view so that diagnostics button shows up
automatically. Consistency with the rest of the apps. Allow new features to
AppView become useful.
- A status section is automatically added but can be removed when all the other
apps loose their status section.
- Does not change anything else.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-01-31 12:33:55 +02:00
Veiko Aasa
7cd5b11a49
users: Fix functional test delete user
...
Django messages can contain usernames, check instead user edit link.
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-30 14:24:04 -08:00
Veiko Aasa
8ef2c77891
diagnostics: Show firewall service status
...
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-30 14:10:31 -08:00
Joseph Nuthalapati
1068c32759
vagrant: Add alias for run --develop
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-30 13:41:16 -08:00
Joseph Nuthalapati
9769f48b89
tests: Use the latest version of geckodriver
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-30 13:39:22 -08:00
James Valleroy
3c1fc8cd94
Release v20.1~bpo10+1 to buster-backports
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.1bpo10+1
2020-01-30 07:15:53 -05:00
James Valleroy
a1f6502672
Release v20.1 to unstable
...
-----BEGIN PGP SIGNATURE-----
iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl4vlZIWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICGc/D/9RqXiYH6Cde3ogSyMEzT6W0EXG
iFBBzo4XOAlU95jn8NrB4a2yCIAieB6Mz8HJtOKnm5jC8WxDAivM7w9jZXMwR4wF
bIsoM3J+rkgX1OSQxvCHvqiSh2CJabLuuvw761BLi70JsflDMqSHoHKwxqqwQqru
eKPkvfdeKyILtRSlQB9oHWpa1eyH9zvO3oHbMG0K0L70eXgeANbB0bTdWB9BwHrE
fZ3s2gWs90T3ghQqaX7nzlz2rzXtpxqkA+jw6gZKxMB79OEBDnjY3/0zA8EJhFfb
7in/D2LRMldXK3jW/rZ3XTeKTjqNWbD99oLkJg6YD5yIlHIA8ZsEogoChoN9wo9l
8qM80IEGYXds0x492Ytn92/EOshMN5IV+3gA0G8VK0bK5AhRldFyQpywBb7eKJ+I
CEIOk2Xd+1n6FtKtuoZ/CpbqMWSqZsiHouAGy8rTloMzABRT3E0e09j4bhS/wxHl
Zm+huZXrI6nF6aJVXvbZzxuWPxL5YE/W6JRMie6SM+sMosHFoHxVEzAZqMNs6+e9
WH+y9kUdG/+ut/2sGmzDw+/KJcBB9ExxbJSj9InweeOvFFFvqBroGaUNfQYPxohv
4InGIgvrx/2ImA1D5RmzVB88duMtlJWgr7V6CM5r+2wGoCaRWVo7dNCz2s9u38yR
jLPE4pjVdQWgCKdXeg==
=AXLO
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl4yyNIWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICIm0D/0fO+/NZS89qykMC8OKKdtQlK6h
wzppRXle1ewcJRiuViB6QY3gYlmoOFMnxDz1hqVJHLvs+EDsXi64WywdhrJ3TLfU
7rmNnTTn9IqpSx8dqUnkmjqrn9+3xGjLBzRnmnGzQ96hu7Zrbbx8GKgzWccteg8B
bJcEX2Dx3lB84OeSMBrvx9vKgYvDnoMar9wOWWpDIn2oJ8khn2xCidQUd+YvckYU
IX4j4n8MTtGYRSUGl2/PZiN+bMvdYQTDHEBtpO7QDRPsLyKXtASEoMdiun7qyxOd
94mPg0c5OqH7RgWtqoQFu2DUU5avZ81jFCLSDzblTftCyp0clakA59LpsI8EZjL/
M4A2GYXUiVpIytu8sIRs0kOyEZoUpl1pMq9LZ2nb/LU+VhAAU4k3a27qnaKZnZ7r
wUJiEF8PFNsdRl+S7iVsEZn9LhW7PLtJFJ/guCxZ73BTqxUPlD8oGoOkFUKoKrgr
7YIkLD1Q87ZB5Ec+wt0TZ+H9mZ4Ue3QAwpEgXf7ocPzFhkGBjztzJxMOHQYcso9Y
2O8+qzMwVFUc87vVmspSm6P15MocwDcEES+RujNv2tIlHckz1sgBySI1PurXq98W
/gg+AaFsYBldVnhwLG0QkCPA0GWm+yBRVOiQRYJDrBtJsfd/63WFXBvgepKK/C6Z
hEbR53ujs9T6hfaFxA==
=42if
-----END PGP SIGNATURE-----
Merge tag 'v20.1' into debian/buster-backports
Release v20.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-30 07:15:12 -05:00
Veiko Aasa
932d2e17f9
networks: Support virtual Ethernet (veth) devices
...
Closes #1767
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil: Add comment and a cosmetic change]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-28 13:13:54 -08:00
James Valleroy
964051a849
Release v20.1 to unstable
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.1
2020-01-27 19:52:14 -05:00
James Valleroy
619ca6042f
debian: Update standards version to 4.5.0
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-27 19:41:10 -05:00
James Valleroy
4c6fa5c9e8
debian: Add Expat license to copyright
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-27 19:40:02 -05:00
James Valleroy
12a5b72ef5
debian: Rename TODO.Debian to TODO
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-27 19:37:18 -05:00
James Valleroy
bab4f10c88
doc: Fetch latest manual
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-27 19:22:45 -05:00
James Valleroy
57cab47ffc
locale: Update translation strings
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-27 18:55:04 -05:00
James Valleroy
a33db57993
functional_tests: Update geckodriver version to v0.26.0
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-27 14:59:36 -08:00
James Valleroy
a9ab05bde3
bind: Enable systemd sandbox options for bind9 service
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-27 14:56:51 -08:00
Veiko Aasa
b3b2b6fe84
gitweb: Fix functional tests if git user and email is not configured
...
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-27 14:41:16 -08:00
Veiko Aasa
3f5035c6d5
gitweb: Add link to the manual page
...
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-27 14:14:08 -08:00
James Valleroy
9c33567a54
networks: Update text for router setup
...
- Move router setup below connections
- Use default style for Update button
- Use box_name in templates
- Add 2nd example of router IP
- Minor updates to text
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 17:10:20 -05:00
Nektarios Katakis
ed6cd38c22
networks: save router config to kvstore
...
Closes : #1695
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 16:02:55 -05:00
Nektarios Katakis
33f5114241
networks: modify as first boot wizard step
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 16:02:52 -05:00
Nektarios Katakis
e771ca3b8e
networks: add first boot step for router config helper
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 16:02:50 -05:00
Nektarios Katakis
09545155a0
networks: add link to main page for router config form
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 16:02:47 -05:00
Nektarios Katakis
cabfcbc6ef
networks: create view & url for new form
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 16:02:45 -05:00
Nektarios Katakis
f3d2654a13
networks: form for configuring router
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 16:02:41 -05:00
Veiko Aasa
9d653d87ec
storage: Make external disk mounts accessible by other users
...
- samba app doesn't need anymore to change mount permissions
Fixes #1692 (in a different way)
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-26 07:32:04 -05:00
Joseph Nuthalapati
d2286ca093
functional-tests: Mark backups and security with @system
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:27:03 -08:00
Joseph Nuthalapati
f10d763e6e
functional-tests: Minor refactoring
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:26:55 -08:00
Joseph Nuthalapati
eab1e577b9
functional-tests: Avoid warnings about markers
...
Register all markers in pytest.ini
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:26:41 -08:00
Joseph Nuthalapati
26100b50c1
functional-tests: Avoid unnecessary trips to Home
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Check fo '/plinth/' instead of 'plinth' in URL checking for UI]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:25:32 -08:00
Joseph Nuthalapati
8b4ccceb6b
functional-tests: Make nav_to_module efficient
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:25:22 -08:00
Joseph Nuthalapati
98e0ccdda0
functional-tests: Add tag @service-discovery
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:25:15 -08:00
Joseph Nuthalapati
3df23a4aa0
functional-tests: Africa/Addis_Abada is gone?
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:25:07 -08:00
Joseph Nuthalapati
ce906b1fef
functional-tests: Login only once per session
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Fix fixture name for searx]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-01-25 19:24:01 -08:00
Veiko Aasa
420e3846a0
deluge: Fix installation failure on slow machine
...
Deluge setup now waits longer after first startup to make sure services
are fully started.
Fixes #1764
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-25 18:33:05 -05:00
Veiko Aasa
8e698987de
deluge: Allow to set a download directory
...
- add directory selection form to the app configuration page
- add debian-deluged user to the freedombox-share group
- storage: new validator parameter check-creatable
(because deluged is able to create subdirectories)
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-25 18:27:11 -05:00
Nektarios Katakis
e217a4c87e
Translated using Weblate (Greek)
...
Currently translated at 100.0% (1163 of 1163 strings)
2020-01-25 18:21:29 +01:00
Allan Nordhøy
52bae86a8a
Translated using Weblate (Swedish)
...
Currently translated at 99.5% (1157 of 1163 strings)
2020-01-25 18:21:27 +01:00
Allan Nordhøy
c5b0002888
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 89.5% (1041 of 1163 strings)
2020-01-25 18:21:27 +01:00