Sunil Mohan Adapa
2ebb565c92
diagnostics: Use new component based API for all diagnostic tests
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:46 -05:00
Sunil Mohan Adapa
1f14c42af5
firewall: Implement new diagnostic tests to check port status
...
- Test that a port meant to available to internal network is available.
- Test that a port meant to available to external network is available.
- Test that a port meant to unavailable to external network is unavailable.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:43 -05:00
Sunil Mohan Adapa
68bc2f45a5
daemon: Implement diagnostic test to check if a daemon is running
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:41 -05:00
Sunil Mohan Adapa
9cc3ddea2c
daemon: Implement diagnostic test for daemon component
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:38 -05:00
Sunil Mohan Adapa
0d5493dae7
apache: Implement diagnostic test for web server component
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:35 -05:00
Sunil Mohan Adapa
50644b02a4
app: Introduce API to run diagnostics on an app
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:32 -05:00
Sunil Mohan Adapa
d9f6928001
app: Introduce API to return a list of all apps
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:29 -05:00
Sunil Mohan Adapa
176e7ecae3
help: Refactor to move app into __init__.py for consistency
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-30 11:37:19 -05:00
Kunal Mehta
592060e057
mediawiki: Pass --quick when running update.php
...
By default update.php will pause for 5 seconds before doing anything
to remind the user to make a backup before the script runs. Since we're
running it in a separate process where the user won't get that opportunity
anyways, skip the 5 second delay by passing `--quick`.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-12-29 18:09:20 -08:00
James Valleroy
ddd1abdb8a
upgrades: Add systemd sandboxing features to repository setup service
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-12-29 17:49:13 -08:00
James Valleroy
c91939710b
storage: Add systemd sandboxing features to udiskie service
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-12-29 17:49:10 -08:00
James Valleroy
1498a9ae83
infinoted: Use systemd sandboxing features
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-12-29 17:49:07 -08:00
James Valleroy
b4e00d2574
deluge: Use systemd sandboxing features
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Remove directive for unused logs directory]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-12-29 17:48:31 -08:00
James Valleroy
bc748ed5bb
mldonkey: Add ProtectKernelLogs
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-12-29 17:47:49 -08:00
James Valleroy
c9d9d4736b
firewall: Support upgrading firewalld to 0.8
...
Closes #1737 .
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-12-29 14:46:36 -08:00
Veiko Aasa
aa2aa56c46
users: Add tests for the Samba user database
...
Fix: after renaming a user delete old username from the Samba password database
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-29 16:59:04 -05:00
Veiko Aasa
962e5b488f
storage: Tests for the directory validation action
...
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-26 16:37:01 -05:00
James Valleroy
fc69c8418f
debian: Update French debconf translation ( Closes : #947386 )
...
Thanks to Jean-Pierre Giraud for the patch.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-26 13:36:44 -05:00
Allan Nordhøy
863eb077d9
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 90.0% (1027 of 1141 strings)
2019-12-26 14:21:22 +01:00
Doma Gergő
35c2b225e1
Translated using Weblate (Hungarian)
...
Currently translated at 91.8% (1048 of 1141 strings)
2019-12-26 14:21:21 +01:00
Nektarios Katakis
cc6208e25f
Translated using Weblate (Greek)
...
Currently translated at 5.9% (67 of 1141 strings)
2019-12-26 14:21:20 +01:00
Michael Breidenbach
1428b3ebef
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1141 of 1141 strings)
2019-12-22 21:21:11 +01:00
Michael Breidenbach
fe16f24ad5
Translated using Weblate (German)
...
Currently translated at 96.4% (1100 of 1141 strings)
2019-12-22 21:21:10 +01:00
James Valleroy
2351744024
samba: Fix spelling in description
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-20 21:29:12 -05:00
Veiko Aasa
83cb305026
samba: private shares
...
- new share types - group and home shares
- users: when creating, deleting or changing user password, update also Samba
tdbsam backend database
- users: new managed packages - samba-common-bin, tdb-tools
- module page: show current samba users who are in freedombox-share group
- module page: show users who should re-enter their password in the password change page
- fix: use os.path.ismount() from Python standard library to validate a mount point
- fix: samba share permissions, fixes #1729
- fix: delete a share - do not raise an exception if the share doesn't exist
- storage: show samba share type in the directory selection form
Closes #1727
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-20 21:01:12 -05:00
Veiko Aasa
851d1c7c28
app: Fix javascript doesn't run on first visit
...
Merge Request !1644 fixed the 'const redeclaration' error but introduced
another issue - javascript on the app configuration page doesn't run
on first visit.
Relates to #1715
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-20 16:38:31 -05:00
Thomas Vincent
fe121e1fab
Translated using Weblate (French)
...
Currently translated at 100.0% (1141 of 1141 strings)
2019-12-20 21:21:21 +01:00
Thomas Vincent
01919b588c
Translated using Weblate (French)
...
Currently translated at 98.2% (1121 of 1141 strings)
2019-12-19 00:21:09 +01:00
James Valleroy
ada1967755
Release v19.23 to unstable
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.23
2019-12-16 18:39:08 -05:00
James Valleroy
5a1785c806
doc: Fetch latest manual
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-16 18:38:18 -05:00
James Valleroy
a7c451f5a5
locale: Update translation strings
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-16 17:59:27 -05:00
Michael Breidenbach
4fa1500f31
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1115 of 1115 strings)
2019-12-16 23:57:47 +01:00
adaragao
dc37b14384
Translated using Weblate (Portuguese)
...
Currently translated at 10.9% (122 of 1115 strings)
2019-12-16 23:57:46 +01:00
/rgb
ed16f035c2
Translated using Weblate (German)
...
Currently translated at 97.8% (1091 of 1115 strings)
2019-12-16 23:57:42 +01:00
James Valleroy
83ca977dd4
users: Use service action to restart share group service
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-15 19:08:18 -05:00
Veiko Aasa
6bf6740b23
transmission: New directory selection form
...
- use new directory selection form (#1703 )
- add transmission-daemon to the freedombox-share group
- pass only needed data to the template
- do not change or validate download directory if transmission
module is going to be disabled
- yapf3 validation changes
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-15 19:08:14 -05:00
Veiko Aasa
ea48f9a74b
storage: Directory selection form and validator
...
Directory selection allows to:
- select from default directory
- select from available Samba shares
- specify subdirectory
- insert custom directory
- directory validator checks: path exists, is directory, is readable, is writable
- samba: action script: include share path in share list
- create freedombox-share group inside users module instead of samba module
Closes #1703
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-15 19:08:10 -05:00
James Valleroy
8d51adcc05
cockpit: Filter out localhost URLs from displayed access list
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-15 08:17:46 -05:00
Nektarios Katakis
4805e01929
cockpit: add list of valid urls to access the app.
...
Closes #1649
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-15 08:09:49 -05:00
Nektarios Katakis
656988cc54
cockpit: extend apps description with access info
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-15 08:09:45 -05:00
Veiko Aasa
390e041a14
app: Fix app checkbox status change functional tests
...
Fixes #1733
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-15 08:04:47 -05:00
Thomas Vincent
32e348a979
Translated using Weblate (French)
...
Currently translated at 100.0% (1115 of 1115 strings)
2019-12-12 21:05:53 +01:00
Veiko Aasa
078abb5fa3
users: Fix functional tests changing the language feature
...
Closes #1674
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-11 18:39:52 -05:00
Luis A. Arizmendi
6114e45e1f
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (1115 of 1115 strings)
2019-12-11 17:43:50 +01:00
/rgb
ce0b8bb580
Translated using Weblate (German)
...
Currently translated at 97.8% (1091 of 1115 strings)
2019-12-11 17:43:38 +01:00
James Valleroy
1650555184
mumble: Keep icon_filename in moved view
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-10 21:14:02 -05:00
Nektarios Katakis
4ff037a6cc
mumble: Add option to set SuperUser password
...
Closes : #1680
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-10 21:13:53 -05:00
James Valleroy
11447c5788
minidlna: Only show shortcut to users in group
...
Add docstring.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:28 -05:00
James Valleroy
ec7a74bf20
minidlna: Fix webserver config name
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:26 -05:00
James Valleroy
4909e776ba
minidlna: Show icon on app page
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:24 -05:00