6494 Commits

Author SHA1 Message Date
n0nie4HP
1101674cf3
Translated using Weblate (Polish)
Currently translated at 28.1% (399 of 1418 strings)
2020-12-26 16:29:15 +01:00
Veiko Aasa
5f3643cc24
apache: Create snake oil certificate if not exists
When FreedomBox package is installed on a fresh Debian machine where a
snakeoil certificate doesn't exist, generate a new one.

Fixes #1923
Fixes #1999

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[Veiko: Made added code comment more precise]
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-26 10:18:14 +02:00
Michael Breidenbach
327e76220b
Translated using Weblate (Swedish)
Currently translated at 100.0% (1418 of 1418 strings)
2020-12-24 18:29:15 +01:00
Fioddor Superconcentrado
9dcf87f1a4
Translated using Weblate (Spanish)
Currently translated at 99.9% (1417 of 1418 strings)
2020-12-24 18:29:15 +01:00
Joseph Nuthalapati
8085879643
deluge: Functional tests for bit-torrent group
Add tests to check that usage of Deluge is only permitted to users in
the group 'bit-torrent'.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-23 16:47:03 +02:00
Joseph Nuthalapati
c975fb94e3
deluge: Sync apache2 config with Transmission
Use the same reverse proxy configuration as Transmission for Deluge.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-23 16:46:47 +02:00
James Valleroy
22bc2ffe81
Release v20.20.1~bpo10+1 to buster-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.20.1_bpo10+1
2020-12-22 07:07:04 -05:00
James Valleroy
6200b67531 freedombox Debian release 20.20.1
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl/etLUWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICH71EACmlMmGNu4AjT8eXe6c8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FU5
 aKqLQAMjHI4R4zfR00MerQuggNWLsuskWRBK6gHhfQFIJyKns1s4ZSm6tuhM/kmS
 lNxPD8FJ9v3vFBFEVG9DxnZFbrkipYoFAEIZ4thfXUkHRoIFQvPGfjN2QRBh28O5
 16t8Yv354u19SiB52Uvvx9ckuU01+m7Pgql7xx0fm+a4KrxnM86UajtQG8bTT0fw
 inwrKJLA+vwBxFTvinmOckqyr9Qq/FMAY651qywyP9qf6NfArGjPiW+aXJ4zGdX1
 SgUWfl/5Z8bbgW+XHLEvNmWBQIAY1oXgUio2wqREuD7qOpUxuBwEw8HKczbycrii
 8uvRvtCjfrXGfxtwMweLr4f8fuKzX0VrenQHvoKWyXV2Zp4P97HshfZEVSsOJlJ/
 7rgibY3OjHfFJmQzfzKIztjhmnoEMzeMbRtYJM8yFJY+STGUbr1bdJ83LJV3gsxn
 wvNiEtTy+U7dA9b9Ew==
 =6w60
 -----END PGP SIGNATURE-----

Merge tag 'v20.20.1' into debian/buster-backports

freedombox Debian release 20.20.1

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-12-22 07:06:01 -05:00
Fioddor Superconcentrado
2a7fc709a4
Translated using Weblate (Spanish)
Currently translated at 99.9% (1417 of 1418 strings)
2020-12-21 15:41:17 +01:00
Johannes Keyser
75f4be83eb
Translated using Weblate (German)
Currently translated at 100.0% (1418 of 1418 strings)
2020-12-21 12:29:32 +01:00
James Valleroy
a73edb9f32
Release v20.20.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.20.1
2020-12-19 19:19:18 -05:00
James Valleroy
287f6560da
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-12-19 19:17:39 -05:00
Veiko Aasa
472590f6fc
javascript: Fix disabled submit buttons when navigating back to a page
When navigating back to a page, enable buttons that were previously
**temporarily** disabled.

Closes #1996

Tested that on the manage snapshots page, when browsing to delete view
and then back, the "Create Snapshot" button is enabled.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-12-19 14:01:33 -08:00
James Valleroy
c986bf8ff5
config: Skip homepage test on buildd (Closes: #977527)
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-12-19 13:50:20 -08:00
James Valleroy
925903e72b
help: Update status log test
Check for either "Logs begin" (stable) or "Journal begins" (testing/unstable).

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-12-19 13:41:26 -08:00
James Valleroy
f5b34704ee
tests: Skip initial update
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 17:15:16 +02:00
Veiko Aasa
9a6fa83376
gitweb: Make functional tests compatible with pytest-bdd v4.0
In pytest-bdd v4.0, given steps are no longer fixtures.

- Make gitweb_repo_metadata a fixture.
- Remove errorneous fixture usage from the gitweb_repo_should_not_exist
  step (fixture gitweb_repo returned always None).

Tested that gitweb functional tests pass when using pytest v4.0.2

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-12-19 09:49:23 -05:00
Sunil Mohan Adapa
e6a858f3fe
ui: Fix warning button colors
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:54 +02:00
Sunil Mohan Adapa
6574ec2d44
apache2: Disallow all inline styling in sandbox settings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:54 +02:00
Sunil Mohan Adapa
83c0adf6cf
ui: Avoid inline styling for setting progress bar width
- attr() CSS function can't used practically on anything but the content
property.

- Introduce a hack for setting any arbitrary percentage width on an element
similar to w-25, w-50, w-75 and w-100 bootstrap utilities. This hack should not
be used widely.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:54 +02:00
Sunil Mohan Adapa
30aae90030
help: Show version information as an alert
- Move the message to the top as it is important and a likely reason to visit
the about page.

- Turn it into an alert so that it stands out from the rest of the text. Success
when up-to-date, warning otherwise.

- Remove custom inline styling.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:53 +02:00
Sunil Mohan Adapa
a9ff7a4408
pagekite: Eliminate inline styling
- Use bootstrap utility instead.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:53 +02:00
Sunil Mohan Adapa
c2cd8f50c2
firstboot: Use bootstrap for logo styling
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:53 +02:00
Sunil Mohan Adapa
ae535268b2
ui: Use common styling to hide logo during firstboot
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:52 +02:00
Sunil Mohan Adapa
084921ac0d
first_setup: Use template variable to refresh page
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:52 +02:00
Sunil Mohan Adapa
0e09d08d17
help: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:51 +02:00
Sunil Mohan Adapa
ccefd98135
letsencrypt: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:51 +02:00
Sunil Mohan Adapa
9c2d936b33
sharing: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:51 +02:00
Sunil Mohan Adapa
3031d2063d
storage: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:50 +02:00
Sunil Mohan Adapa
001923312b
backups: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:50 +02:00
Sunil Mohan Adapa
b09e252731
upgrades: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:49 +02:00
Sunil Mohan Adapa
cd58957e36
samba: Split CSS styling into separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:49 +02:00
Sunil Mohan Adapa
c37bb77ed3
monkeysphere: Split CSS styling into a separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:49 +02:00
Sunil Mohan Adapa
4b9b683a16
firewall: Split CSS styling into separate file
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:48 +02:00
Sunil Mohan Adapa
eeac81b8c6
networks: Use table for styling network connection list
- Split CSS into a separate file.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:48 +02:00
Sunil Mohan Adapa
4b10d525bd
networks: Use common styling for Wi-Fi network list
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:47 +02:00
Sunil Mohan Adapa
55880e8f0b
networks: Use common styling for showing network connection
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:47 +02:00
Sunil Mohan Adapa
9e04782f0d
users: Use common styling for users list
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:47 +02:00
Sunil Mohan Adapa
e2aa3c2229
gitweb: Use common styling for repo list
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:46 +02:00
Sunil Mohan Adapa
0e78f8f4a8
ikiwiki: Use common styling for wiki/blog list
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:46 +02:00
Sunil Mohan Adapa
40e23f209a
pagekite: Use common styling for custom services
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:46 +02:00
Sunil Mohan Adapa
7a32b8f638
calibre: Use common styling for libraries list
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:45 +02:00
Sunil Mohan Adapa
adb40218b0
ui: Introduce common styling for two column list group
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:45 +02:00
Sunil Mohan Adapa
836439e8a8
jslicense.html: Drop minor styling
- Will be disallowed by sandboxing content security policy.

- File will not be read by humans.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:44 +02:00
ikmaak
6a80cfbc5a
Translated using Weblate (Dutch)
Currently translated at 100.0% (1418 of 1418 strings)
2020-12-19 13:29:19 +01:00
ikmaak
b427b26abc
Translated using Weblate (German)
Currently translated at 100.0% (1418 of 1418 strings)
2020-12-19 13:29:18 +01:00
Sunil Mohan Adapa
b00c5994a3
ui: Fix form error styling using bootstrap 3 style
This is a temporary fix until proper bootstrap 4 forms are generated by
django-bootstrap-form.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 11:26:41 +02:00
Sunil Mohan Adapa
3114347163
HACKING: Add suggestion not over-use Bootstrap utility classes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 11:26:40 +02:00
Sunil Mohan Adapa
8593524184
ui: index: Don't show too large a help message
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 11:26:40 +02:00
Sunil Mohan Adapa
858d005b87
help, power, index: ui: Drop remaining uses of &raquo;
- Mostly for consistency with the rest of the interface.

- Most of the usages got removed already.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 11:26:39 +02:00