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0EN59YCnOKQVr+iN4TS0H0OJzc
/eIEPNb+95l2L+M4ouTrBr8NiqBd4UtxWGECzhTnxg3rcnCZnXJaqritKz3g/sIF
+CEqLKNVDRFPWYZYkKxlmIjvn8L4KKlqK1Ckvv9/bLg+EcU73OWk21TUG29qFFoU
XclxcT36utVn1zibeyc0zZcFCjJkyVqjx4/DkR2Ie+jOllJ7AMX9K0LEayljwq1b
BEt33qxb1XmZQRjITybCmgV6LmDxobkCI4Qm/BSTdk2oKZT2Q8Lii64DUUSqboKS
wgmUh78X58A2eIi6jhB7LhEnTj4n6uGXi6MLgoSOOPvPubmIyuPGkjIm+JcSzDFi
q5TkSHc0Zufr/j8MwjGND8vurfahYcM49Tv9NIZYbtfdTK/4M+jBMqr/KN4qCu80
3qelayZCcHVFLPDyU9XqUg59z4Dq1nlCRNMiSCbCb0Nv2bccD3XYe0RFvQErz4gd
Z68mYy3dYbX2nGHS3D0XxskSIs+TOcQkoEKTLysRgeD0jOrb0HmXD/NmCxZ/pFBc
1IEBqnpNQpovWgLc/aEmOc5eCBMxf7ATjl1mBSXCJUOm0E3G5mXGlNQNY6/xBg3k
h+WlGID9BcixPUTr4w==
=WCr8
-----END PGP SIGNATURE-----
Merge tag 'v20.2' into debian/buster-backports
Release v20.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-13 19:40:21 -05:00
James Valleroy
8f63590882
Release v20.2 to unstable
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.2
2020-02-10 19:23:16 -05:00
James Valleroy
879927a290
doc: Fetch latest manual
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 19:22:39 -05:00
James Valleroy
85f40cba5b
locale: Update translation strings
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:36:45 -05:00
Sunil Mohan Adapa
9ef28c87c6
storage: In develop mode check for low disk space more frequently
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:42 -05:00
Sunil Mohan Adapa
db48e869a6
upgrades: Show notification when FreedomBox is updated
...
- Don't not show notification on first install/run.
- Shows notification when upgrading or downgrading.
- This also serves as an example of how to show more specific notifications when
upgraded to a newer version. Closes: 1637.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:33 -05:00
Sunil Mohan Adapa
5714fc6f51
storage: Show low disk space warning using notifications API
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:31 -05:00
Sunil Mohan Adapa
8529022f63
notification: Show a drop down from main navbar for notifications
...
Closes : #1042 .
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:28 -05:00
Sunil Mohan Adapa
afe179d91d
views: A view to dismiss notifications
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:25 -05:00
Sunil Mohan Adapa
2a8c8c42ca
notification: Add tests for notification API
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:21 -05:00
Sunil Mohan Adapa
8e0a94282f
notification: New API for showing better notifications
...
Closes : #867 .
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:19 -05:00
Sunil Mohan Adapa
5c514e91d3
models: Add model for storing notifications
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:16 -05:00
Sunil Mohan Adapa
f1c4b2235a
tests: Allow adding test templates
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:12 -05:00
Sunil Mohan Adapa
67ac86899a
log: Ability to log SQL queries (disabled by default)
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:04 -05:00
Sunil Mohan Adapa
4956a2a63a
web_framework: Set the timezone to UTC
...
This is needed to ensure that all the time/date values stored in the database
are UTC. A timezone change in the settings should not make the database values
inconsistent.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:01 -05:00
Sunil Mohan Adapa
9cf84286f4
glib: Introduce method to schedule an operation at regular intervals
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:12:58 -05:00
Sunil Mohan Adapa
2e534db168
glib: Create a new module to deal with all things glib
...
- Chmod -x dbus.py. It appears that the file was accidentally set to permissions
0o755 instead of 0o644.
glib module will contain:
- Code to deal with glib main loop.
- Use glib as a way to schedule timely events instead of creating long running
threads.
- Other mechanisms to help with asynchronous I/O until we start using asyncio.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:12:55 -05:00
Sunil Mohan Adapa
f150528379
help: Eliminate redundant HTML attribute in template
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:11:34 -05:00
Joseph Nuthalapati
9876c153ba
searx: Fix installation issue for 0.16.0
...
- The Debian package doesn't ship a gzip compressed settings file anymore.
- Tested both the cases - settings.yml.gz and settings.yml
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Create parent directory before simple copy of settings.yml]
[sunil: Use pathlib for simpler code]
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 22:18:15 -08:00
Michael Breidenbach
ffb4e141bb
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1235 of 1235 strings)
2020-02-10 06:50:53 +01:00
Michael Breidenbach
08c23fbc73
Translated using Weblate (German)
...
Currently translated at 100.0% (1235 of 1235 strings)
2020-02-10 06:50:51 +01:00
Joseph Nuthalapati
e35798212e
Translated using Weblate (Telugu)
...
Currently translated at 63.7% (787 of 1235 strings)
2020-02-10 06:50:46 +01:00
James Valleroy
abdcbd3f65
security: Drop PrivateUsers=yes from all service files
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 18:48:22 -08:00
James Valleroy
e5c80e8af3
matrixsynapse: Enable systemd sandboxing
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 18:48:07 -08:00
James Valleroy
4fc3d14ac3
bind: Add CapabilityBoundingSet and ReadWritePaths to service file
...
Change ProtectSystem to strict.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 18:47:38 -08:00
Veiko Aasa
c18be280f6
help: Fix anchor hidden under navbar
...
The solution idea is from
https://github.com/twbs/bootstrap/issues/1768#issuecomment-46519033
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 15:14:57 -08:00
James Valleroy
20a1c70fc2
security: Add Sandbox Coverage to report page
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Change label from 'Not Running' to 'Not running' for consistency]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 15:03:22 -08:00
Joseph Nuthalapati
a6b329fef4
vagrant: Allocate cpus equal to the no. of cores
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:58:54 -05:00
James Valleroy
8cec7893e7
users: Make help text translatable
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:18:12 -05:00
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