4949 Commits

Author SHA1 Message Date
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
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
b5fb23e448
run sysctl after installation
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:16 -05:00
Nektarios Katakis
31c35e961c
update minidlna svg
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:12 -05:00
Nektarios Katakis
3614a977f8
fix: minidlna.conf file permissions after editing
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 14:50:07 -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
Veiko Aasa
e1f9dfacaa
samba: recursively set open share directory permissions
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-08 10:45:39 -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
James Valleroy
dac6259928
themes: css whitespace minor fixes
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-07 13:33:49 -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
Thomas Vincent
2868d53561
Translated using Weblate (French)
Currently translated at 100.0% (1115 of 1115 strings)
2019-12-05 23:05:28 +01:00
James Valleroy
cb176d2a5d
Release v19.22 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.22
2019-12-02 18:01:33 -05:00
James Valleroy
8bc86e67fc
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-02 18:00:16 -05:00
James Valleroy
961a58decb
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-02 17:30:45 -05:00
Veiko Aasa
9d20875b03
samba: Fix javascript constant redeclaration error
Related to #1715

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-12-03 00:18:44 +05:30
Veiko Aasa
06b4a447c6
app: fix javascript constant redeclaration error
Closes #1715

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-12-03 00:04:17 +05:30
James Valleroy
a6091a1edb
diagnostics: Use a distinct class for Run Diagnostics button on this page
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-01 16:52:42 -05:00
Sunil Mohan Adapa
49228343b7
toolbar: Rewamp toolbar code for simplicity and to fix issues
- Fix problems with turbolinks. Closes: #1712.

- Remove unnecessary nesting of <button> inside <a> and use simple bootstrap
  recommendation for button.

- Add a external site icon for the 'Launch web client' button. Borrowed from
  clients presentation table.

- Add rel="noopener and noreferrer" for security. Borrowed from clients
  presentation table.

- Use font awesome instead of glyphicons.

- Use toolbar styling recommended by bootstrap.

- Fix showing/hiding of launch button and clients button. Closes: #1719.
  Closes #1713. Closes #1714.

- Place entire contents of toolbar in <section> for correct semantics.

- Add missing end of line to file.

- Hide is_relative_url() method unnecessarily exposed as templatetag.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-01 16:52:40 -05:00
Sunil Mohan Adapa
e008decb14
toolbar: Align extra actions drop down button to the right
- This appears better in cases where there are no other buttons in the toolbar.
  This is true for many apps.

- Also minimize the styling used on toolbar.

- Use margin instead of padding due participate in margin collapse algorithm.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-01 16:52:38 -05:00