6460 Commits

Author SHA1 Message Date
Weblate
86f69bd511
Added translation using Weblate (Vietnamese) 2021-05-09 07:52:15 +02:00
池边树下
6a118c29c7
Translated using Weblate (Chinese (Simplified))
Currently translated at 43.2% (630 of 1456 strings)
2021-05-09 00:33:03 +02:00
ssantos
d4c6e2813f
Translated using Weblate (Portuguese)
Currently translated at 11.4% (166 of 1456 strings)
2021-05-09 00:33:03 +02:00
Coucouf
fc52a40b28
Translated using Weblate (French)
Currently translated at 100.0% (1456 of 1456 strings)
2021-05-02 01:15:59 +02:00
Johannes Keyser
b4deffda94
Translated using Weblate (German)
Currently translated at 100.0% (1456 of 1456 strings)
2021-05-02 01:15:58 +02:00
HelaBasa
16490de574
Translated using Weblate (Sinhala)
Currently translated at 0.2% (3 of 1456 strings)
2021-04-27 15:32:12 +02:00
James Pan
2ab70366f5
Translated using Weblate (Chinese (Traditional))
Currently translated at 11.6% (169 of 1456 strings)
2021-04-27 15:32:12 +02:00
Weblate
e73356a673
Added translation using Weblate (Sinhala) 2021-04-26 11:48:16 +02:00
whenwesober
d79d72076e
Translated using Weblate (Indonesian)
Currently translated at 46.9% (684 of 1456 strings)
2021-04-25 22:32:13 +02:00
James Valleroy
8da02a242a
Translated using Weblate (Indonesian)
Currently translated at 45.4% (662 of 1456 strings)
2021-04-23 02:16:55 +02:00
James Valleroy
a9af09fcb4
Translated using Weblate (Indonesian)
Currently translated at 45.4% (662 of 1456 strings)
2021-04-23 02:06:48 +02:00
James Valleroy
a485decaec
Translated using Weblate (Indonesian)
Currently translated at 44.7% (652 of 1456 strings)
2021-04-23 01:47:25 +02:00
James Valleroy
6d53e6f150
Translated using Weblate (Indonesian)
Currently translated at 44.7% (652 of 1456 strings)
2021-04-23 01:32:44 +02:00
Benedek Nagy
9f24bf086e
Translated using Weblate (Hungarian)
Currently translated at 88.5% (1290 of 1456 strings)
2021-04-22 23:32:17 +02:00
whenwesober
a5b890165e
Translated using Weblate (Indonesian)
Currently translated at 44.7% (652 of 1456 strings)
2021-04-22 23:32:17 +02:00
Michael Breidenbach
667ab7e77b
Translated using Weblate (Swedish)
Currently translated at 100.0% (1456 of 1456 strings)
2021-04-22 23:32:11 +02:00
Burak Yavuz
4aa642de40
Translated using Weblate (Turkish)
Currently translated at 100.0% (1456 of 1456 strings)
2021-04-22 23:32:11 +02:00
ikmaak
5085c1064b
Translated using Weblate (Dutch)
Currently translated at 100.0% (1456 of 1456 strings)
2021-04-22 23:32:10 +02:00
James Valleroy
34848d64ba
Release v21.5 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v21.5
2021-04-19 20:37:31 -04:00
James Valleroy
d595921903
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-04-19 20:36:57 -04:00
James Valleroy
5d8e7797ec
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2021-04-19 18:51:55 -04:00
Carlos Henrique Lima Melara
0ce610c074
docs: Set the version attribute as required instead of optional
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-04-17 09:55:06 -07:00
Carlos Henrique Lima Melara
08a7c7870e
docs: Add missing imports in tutorial as pointed in #2078
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-04-17 09:54:54 -07:00
Carlos Henrique Lima Melara
213e01abcd
doc: Add filename to code snippets in tutorial
[sunil: Add caption for another file too]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-04-17 09:53:55 -07:00
Joseph Nuthalapati
ec67b71aa6
coturn: Mention ejabberd in app description
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-04-16 17:53:05 -04:00
James Valleroy
9b446d5dd1
coturn: Validate TURN URIs if provided in form
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>

- Re-use the same validator in Matrix Synapse.
- Avoid importing plinth classes in actions files.
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-04-16 17:52:57 -04:00
Joseph Nuthalapati
7a30470cb5
ejabberd: STUN/TURN configuration
This implementation is very similar to that of Matrix Synapse with a lot
of code duplicated.

One major difference is that ejabberd doesn't have a conf.d/ directory.
So, the managed configuration and overridden configuration cannot be
cleanly separated.

Whether the configuration is managed or not is determined by the
presence of a file under `/etc/ejabberd`. Managed coturn configuration
isn't stored in ejabberd, since only one set of configuration can be
stored at a time. If the admin chooses to use the managed configuration,
the current coturn configuration is fetched and used to configure
ejabberd.

Fixes #1978

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-04-16 17:52:48 -04:00
Besnik Bleta
d70816d0e5
Translated using Weblate (Albanian)
Currently translated at 38.6% (562 of 1453 strings)
2021-04-16 15:27:17 +02:00
Besnik Bleta
bcdd80e8d5
debian: Add Albanian (sq) locale
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-04-14 16:16:45 -07:00
Sunil Mohan Adapa
e0ebfecc27
Update copyright year
Closes: #2079.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-04-14 16:10:14 -07:00
Weblate
28ec4665ff
Added translation using Weblate (Albanian) 2021-04-14 10:34:20 +02:00
Michalis
26c472c16f
Translated using Weblate (Greek)
Currently translated at 73.5% (1068 of 1453 strings)
2021-04-14 06:27:09 +02:00
池边树下
07278e6c36
Translated using Weblate (Chinese (Simplified))
Currently translated at 43.0% (625 of 1453 strings)
2021-04-14 06:27:09 +02:00
whenwesober
4dacab9754
Translated using Weblate (Indonesian)
Currently translated at 10.7% (156 of 1453 strings)
2021-04-12 15:27:08 +02:00
Johannes Keyser
68bf1b9fd0
Translated using Weblate (German)
Currently translated at 100.0% (1453 of 1453 strings)
2021-04-12 15:27:08 +02:00
James Valleroy
1e8a91dd55
diagnostics: Use lock to protect results
Closes: #514.

Test: Ran diagnostics with all apps enabled.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-04-02 19:55:13 +03:00
James Valleroy
c293a01a1f
letsencrypt: Always return a diagnostics result
Return a warning result if no domains are configured.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-04-02 19:54:36 +03:00
fliu
26b6bbcb52
container script: Must convert env. var. string to a Path object
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-30 21:06:58 +03:00
fliu
968726d152
HACKING.md: added some troubleshooting information
- Disk space requirements
- How to get around the Network Manager error

Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-30 21:05:05 +03:00
Michael Breidenbach
7e5ada3e77
Translated using Weblate (Swedish)
Currently translated at 100.0% (1453 of 1453 strings)
2021-03-30 18:26:46 +02:00
James Valleroy
48d7f68ed5
config, dynamicdns, pagekite: Remove incorrect use of str
This was used before to ensure the domain name was ASCII. However, str
does not convert to ASCII in Python 3.

Note that in config module, which sets the system domain name, the
domain is already restricted to alphanumerics, hyphen, and period.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-29 12:59:47 +03:00
James Valleroy
0b630037f9
pagekite: Convert entered kite name to lower case
Let's Encrypt certificate paths use lower-case kite name.

Test: Pagekite functional tests are passing.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-29 12:59:32 +03:00
James Valleroy
929e7626f0
dynamicdns: Convert entered domain name to lower case
Domain name is not case sensitive, but Let's Encrypt certificate paths
use lower-case domain name.

Add an extra 1 second delay to tests that configure DynamicDNS domain.

Test: DynamicDNS functional tests are passing.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-29 12:59:20 +03:00
James Valleroy
bdd078a406
dynamicdns: Wait after changing domain name in tests
After a domain name change, Let's Encrypt will restart the webserver
and could cause a connection failure.

Test: DynamicDNS functional tests are passing.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-29 12:59:07 +03:00
James Valleroy
043b329e7d
config: Convert entered domain name to lower case
Domain name is not case sensitive, but Let's Encrypt certificate paths
use lower-case domain name.

Closes: #1964.

Tests: Config functional tests passed.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2021-03-29 12:58:13 +03:00
Burak Yavuz
adae894362
Translated using Weblate (Turkish)
Currently translated at 100.0% (1453 of 1453 strings)
2021-03-28 15:10:09 +02:00
Kirill Schmidt
f2005f56aa first_boot: Use session to verify first boot welcome step
Closes: #2074

sunil's changes:

- Ensure that secret is not asked for a second time after creating admin user
and logging in (this happens due to discarding of old session and creating new
one).

- Ensure that this logic is not applied to user using FreedomBox images who are
not required to input the first wizard secret.

- Change the name of the session variable for readability.

Tests performed:

- Without the patch, start first boot wizard on the first browser on a
  FreedomBox image (or run the file `base64 < /dev/urandom | head -c 16 | sed -e
  's+$+\n+' > /var/lib/plinth/firstboot-wizard-secret`). Finish the welcome step
  with first wizard secret. Then open a second browser or from another computer
  visit the web interface. The first wizard secret is not asked and user can
  create an admin account.

- Repeat with fresh image again with the patch. To mimic fresh image, one may
  run `sudo rm -f /var/lib/plinth/plinth.sqlite3` and `echo "password" | | sudo
  /freedombox/actions/users remove-user tester`. This time when a different
  browser other than the one that provided the first wizard secret try to access
  the account creation page, a redirection will occur to welcome page. Providing
  the first wizard secret takes the user to account creation page.

- Accessing network first wizard page or internal pages on second browser also
  takes one back to the welcome page.

- Accessing help pages from second browser requires login.

- Accessing account login page from second browser is allowed. After creating
  the account from first browser, second browser can login and continue the
  wizard.

- Clearing cookies in the middle of the wizard takes the user back to welcome
  page.

- Clear cookies in the middles of the wizard. Visit the wizard, go to first boot
  welcome page. Provide secret and the wizard will continue where it was left
  off.

- Clear cookies in the middles of the wizard. Visit the wizard, go to first boot
  welcome page. Access login page, login as admin. Then first wizard secret is
  not asked. First wizard can be continued.

- On a fresh image, simply complete the first wizard. No change to earlier flow
  is noticed. First wizard secret is only asked once at the beginning.

- On a fresh image, remove the file /var/lib/plinth/firstboot-wizard-secret.
  First wizard can be completed without the secret.

[sunil: improvements to original patch by Kirill Schmidt]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Tested-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-03-27 18:57:01 -07:00
Aditya Pratap Singh
c1f2b32b94 container: Work in the absence of systemd in PATH, for eg. in Arch
Closes: #2072
2021-03-27 09:34:22 -07:00
James Valleroy
95236bcb78 ci: Merge with Salsa CI pipeline
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2021-03-27 09:28:30 -07:00
Reza Almanda
081a833ef2
Translated using Weblate (Indonesian)
Currently translated at 10.6% (155 of 1453 strings)
2021-03-25 00:29:39 +01:00