5116 Commits

Author SHA1 Message Date
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
Allan Nordhøy
79eb08b7fe
Translated using Weblate (Spanish)
Currently translated at 94.8% (1102 of 1163 strings)
2020-01-25 18:21:26 +01:00
nautilusx
8290c5e073
Translated using Weblate (German)
Currently translated at 100.0% (1163 of 1163 strings)
2020-01-25 18:21:25 +01:00
nautilusx
daadd9b758
Translated using Weblate (German)
Currently translated at 99.9% (1162 of 1163 strings)
2020-01-24 17:16:25 +01:00
Allan Nordhøy
ea9e482f55
Translated using Weblate (German)
Currently translated at 99.9% (1162 of 1163 strings)
2020-01-24 17:16:25 +01:00
Nektarios Katakis
e5d791fa5e
Translated using Weblate (Greek)
Currently translated at 100.0% (1163 of 1163 strings)
2020-01-23 00:37:36 +01:00
Dietmar
f12f3ab02a
Translated using Weblate (German)
Currently translated at 100.0% (1163 of 1163 strings)
2020-01-23 00:37:24 +01:00
Allan Nordhøy
ee97a510af
Translated using Weblate (Norwegian Bokmål)
Currently translated at 88.7% (1032 of 1163 strings)
2020-01-20 23:39:42 +01:00
James Valleroy
21ba450484
repro: Remove app
The repro app has been disabled for a long time. Its package has been
removed from Debian, and there is no sign of it returning soon.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 20:00:43 -05:00
James Valleroy
c8a5f3727f
restore: Remove app
The restore app has always been disabled, because node-restore package
is not available in Debian (RFP #804507). There hasn't been progress
towards packaging it since 2016.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 19:59:02 -05:00
Sunil Mohan Adapa
419559a86f
wireguard: Show public key even when connection is not active
When wireguard interface is not active 'wg show' does not provide any
information. In such case, get the public key by computing it from private key
by calling 'wg pubkey'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:55 -05:00
Sunil Mohan Adapa
f43d9a5469
wireguard: When a connection is edited, reactivate to apply changes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:53 -05:00
Sunil Mohan Adapa
318df8723a
wireguard: Enable/disable connections along with the app
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:51 -05:00
Sunil Mohan Adapa
0bc097f37d
wireguard: Implement enabling/disabling app using a stored flag
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:49 -05:00
Sunil Mohan Adapa
642d44aced
wireguard: Ensure tests work without latest network manager
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:46 -05:00
Sunil Mohan Adapa
43ad12c563
wireguard: Add validations in forms
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:44 -05:00
Sunil Mohan Adapa
69e418ada3
wireguard: Generate private key if needed when editing server
- Refactor code that edits the connection to server.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:41 -05:00
Sunil Mohan Adapa
2b9d278a95
wireguard: Update descriptions for client vs. server clarity
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:38 -05:00
Sunil Mohan Adapa
6e1b0a3642
wireguard: Handle client connections through network manager
- Any changes done directly using 'wg' command need to be redone after a reboot
  and disable/enable sequence. Let that duty be handled by network manager.

- Handle (none) values for keys and 0 values for latest handshake from 'wg'
  dump command output.

- Don't store public/private keys for wireguard in /var/lib. Let Network Manager
  deal with the storage of secrets.

- Create client connections in the 'external' zone.

- Show allowed IPs for each client in the main page.

- Show server connection public key only for clients. We use different key pairs
  when connecting to each of the servers.

- Separate out configuration information and status information in the show
  page.

- Allocate IP addresses to each of the clients.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:35 -05:00
Sunil Mohan Adapa
71c7ab4a9d
wireguard: Only use network manager for connections to servers
- Don't create network link. This don't persist across reboots and it is the job
  of Network Manager.

- Move NM settings code to regular plinth process instead of superuser.
  Permission for managing NM connections from the service daemon is granted by
  PolKit.

- Use interface name to identify the connection as it seems to be simply to do
  so than the public key. Public key is not easy to retrieve from NM connection.

- Merge code for adding and editing the connection to avoid repetition.

- Add icon to the edit button.

- Throw 404 error when incorrect client is specified.

- Fix issue with storing preshared key.

- Show formatting date in case of last connected time.

- Show formatted sizes for data transmitted.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-01-18 13:53:31 -05:00