3437 Commits

Author SHA1 Message Date
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
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
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>
2019-12-16 18:39:08 -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
Thomas Vincent
32e348a979
Translated using Weblate (French)
Currently translated at 100.0% (1115 of 1115 strings)
2019-12-12 21:05:53 +01: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
James Valleroy
f19a5b746f
minidlna: Use single action to set media dir and restart
Style config path as constant.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:22 -05:00
James Valleroy
3bad37a749
minidlna: Add managed service and Daemon component
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:19 -05:00
Nektarios Katakis
ef5f5a21de
feature: minidlna app
Closes #1679

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:49:21 -05:00
James Valleroy
1df21bc090
samba: Add icon to app page
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:51:03 -05:00
Alice Kile
52a9673f69
fix: implement requested changes
- pass short_description to header.html include statement in templates/setup.html
- pass description to header.html include statement in
  modules/sharing/templates/sharing.html
- use `[]` instead of `None` for the initial value of description
  property in SetupView (plinth/views.py)
- add license info to header.html

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:53 -05:00
Alice Kile
a9979db56f
config: fix minor syntax error
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:49 -05:00
Alice Kile
9cd203411d
fix toggle buttle html layout and responsive design css
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:46 -05:00
Alice Kile
0dd4d1acf2
implement responsive layout for app page
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:44 -05:00
Alice Kile
ec6013b5bb
properly implement header in app and setup pages
- move header section to it's own file so that it can be imported across
  the app (app.html, simple_app.html, setup.html)

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:41 -05:00
Alice Kile
45b6aa6a1c
fix formatting and template-related issues
- remove unwanted spaces and line breaks
- use just an image instead of using figure and figure caption to
  display the icon in installation page
- eliminate unnecessary code duplication due to if condition

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:39 -05:00
Alice Kile
eb83e00011
fix formatting issues
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:35 -05:00
Alice Kile
fa74a26042
use single variable for referencing icon filename
- add and use "icon_filename" property to almost all of the modules
  being displayed in the apps page
- sharing and tor modules do not seem to be using setup.html template
  file and so the variable is not added to their __init__.py files,
  therefore the icon will not be displayed on these app pages.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:33 -05:00
Alice Kile
f004939f50
show app icons in apps page
- restructure the template markup so as to show the icon towards the
  left of the app heading and description.
- if condition to provide backwards compatiblity to system apps using
  setup.html.
- deluge and matrixsynapse modules have a new property that will be used
  for accessing the icon file name. (to be replicated across all other
  modules *weew*)

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:08:25 -05:00
Fred
3968cefc48
Translated using Weblate (French)
Currently translated at 100.0% (1115 of 1115 strings)
2019-12-05 23:05:30 +01:00