6021 Commits

Author SHA1 Message Date
James Valleroy
0e7c7ce15d
Release v20.18 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.18
2020-11-16 20:50:00 -05:00
James Valleroy
9ac69d00c1
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-16 20:48:57 -05:00
James Valleroy
c5aee4e0a1
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-16 19:57:07 -05:00
Joseph Nuthalapati
a5c8c90eb0
gitlabci: Update Dockerfile and script
Re-heating a server template is a bad idea in the case of Docker images
since they are composed of immutable layers. The size of the image will
keep going up with each subsequent build. Building using debian:testing
instead.

GitLab is no longer allowing docker login with the main password. A
personal access token with the permissions of "api, read_registry,
write_registry" should be used instead.

Avoided copying the massive .container directory into the Docker
container by using a .dockerignore file.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-16 18:41:43 -05:00
Reg Me
50fb166f54
Translated using Weblate (Dutch)
Currently translated at 73.5% (1034 of 1406 strings)
2020-11-16 20:57:50 +01:00
Dietmar
b5c9436ffd
Translated using Weblate (Italian)
Currently translated at 55.9% (786 of 1406 strings)
2020-11-16 20:57:50 +01:00
Matthias Dellweg
4b4f8187ef
Enable dynamicdns module to handle IPv6
Signed-off-by: Matthias Dellweg <2500@gmx.de>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-15 19:17:50 -05:00
Reg Me
451856999f
Translated using Weblate (Dutch)
Currently translated at 72.6% (1021 of 1406 strings)
2020-11-15 09:28:53 +01:00
Joseph Nuthalapati
a3df0342b7
openvpn: client configuration for RSA and ECC
Provide the correct client configuration based on whether the server is
using RSA or ECC.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-14 18:29:55 -05:00
Joseph Nuthalapati
030e6ce98d
openvpn: Remove opinion on which curve to use
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-14 18:29:49 -05:00
Joseph Nuthalapati
3676fd1a87
openvpn: Improve migrate_to_ecc template
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-14 18:29:47 -05:00
Joseph Nuthalapati
721d51bd4a
openvpn: Remove explicit setup step
Setup is now run as a post installation step.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-14 18:29:45 -05:00
Joseph Nuthalapati
2b33a752d0
openvpn: ECC: Setup and Migration
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-14 18:29:42 -05:00
Joseph Nuthalapati
eecd4b4d5f
openvpn: Function to detect ECC/RSA configuration
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-14 18:29:40 -05:00
Joseph Nuthalapati
de6030b46c
openvpn: Cleanup easyrsa 2 to 3 upgrade code
Debian Buster has easyrsa 3. Since we're nearing Bullseye now, it is
safe to asssume that most users are already using easyrsa 3.

The code to do the upgrade is 2 years old already. Removing it.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-14 18:29:37 -05:00
Reg Me
52e8b83dd1
Translated using Weblate (Dutch)
Currently translated at 71.4% (1005 of 1406 strings)
2020-11-13 23:50:03 +01:00
Fioddor Superconcentrado
0df27564bf
Translated using Weblate (Spanish)
Currently translated at 100.0% (1406 of 1406 strings)
2020-11-13 23:50:02 +01:00
Ralf Barkow
3e3a4e66c3
Translated using Weblate (German)
Currently translated at 98.7% (1388 of 1406 strings)
2020-11-13 23:50:01 +01:00
Joseph Nuthalapati
a1ce12980a
ci: Add --cov-config to the coverage command
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-12 10:18:14 -05:00
Joseph Nuthalapati
3a3459ac17
coverage: Omit files under tests/ directories
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-12 10:18:09 -05:00
Reg Me
c14b633840
Translated using Weblate (Dutch)
Currently translated at 68.1% (958 of 1406 strings)
2020-11-10 16:29:05 +01:00
Hetgyl
48191ca85c
Translated using Weblate (French)
Currently translated at 96.3% (1355 of 1406 strings)
2020-11-08 16:26:53 +01:00
James Valleroy
b515a8f9cc
Release v20.17.1 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.17.1
2020-11-07 08:45:14 -05:00
James Valleroy
619c0c3a6a
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-07 08:44:23 -05:00
James Valleroy
e7515683b3
debian: Rename source package to freedombox
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-11-07 08:07:48 -05:00
Joseph Nuthalapati
9d616cc5e2
pubtkt: Fix Python format language errors
The CI is now using a newer version of Python.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-11-07 18:07:40 +05:30
Joseph Nuthalapati
e5b149baa3
ci: Fix flake8 errors
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-11-07 17:45:26 +05:30
Burak Yavuz
d4cdedf1c3
Translated using Weblate (Turkish)
Currently translated at 100.0% (1406 of 1406 strings)
2020-11-07 00:26:52 +01:00
Dietmar
f38fa3b71a
Translated using Weblate (Italian)
Currently translated at 55.6% (782 of 1406 strings)
2020-11-07 00:26:52 +01:00
Dietmar
3126ba3a71
Translated using Weblate (German)
Currently translated at 98.7% (1388 of 1406 strings)
2020-11-07 00:26:52 +01:00
Burak Yavuz
8e4e88d8fe
Translated using Weblate (Turkish)
Currently translated at 100.0% (1406 of 1406 strings)
2020-11-04 09:26:51 +01:00
James Valleroy
5fbcbe9e16
Release v20.17 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.17
2020-11-02 19:49:19 -05:00
James Valleroy
a41020b077
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-02 19:45:46 -05:00
James Valleroy
a479b35c92
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-02 19:05:24 -05:00
Onurb
b16f99b3e8
apache: setup uwsgi by default
Moved uwsgi and uwsgi-plugin-python3 from radicale and searx to apache.

Fixes: #1501

Signed-off-by: Onurb <onurb8966@gmail.com>
[jvalleroy: Move uwsgi managed service to apache app]
[jvalleroy: Also update bepasty app]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-02 18:36:47 -05:00
Sunil Mohan Adapa
07f5b91909
ci: Split testing stages into smaller stages
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-01 08:15:35 -05:00
Radek Pasiok
09b3a262b4
Translated using Weblate (Polish)
Currently translated at 29.0% (393 of 1354 strings)
2020-11-01 12:26:58 +01:00
Dietmar
f3252a4b77
Translated using Weblate (Italian)
Currently translated at 57.6% (780 of 1354 strings)
2020-11-01 12:26:56 +01:00
Dietmar
c3de195400
Translated using Weblate (German)
Currently translated at 100.0% (1354 of 1354 strings)
2020-11-01 12:26:56 +01:00
Joseph Nuthalapati
658e260d23
mediawiki: Add action to set domain name
- Set domain name during app setup

- Improve tests for settings. Prefer to call functions in plinth which invoke
actions than test actions directly.

- Also, '$wgServer' is not a domain name since it also includes the protocol.

- Add domain selection form. Make server url a text input field.

- Added a functional test to set the value of server url to the value provided
by FREEDOMBOX_URL before doing running any other tests.

- Make server url setting a pre-requisite.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Squash commits as they were fixing themselves]
[sunil: Simplify configuration reading]
[sunil: Use 'server_url' terminology consistently]
[sunil: cosmetic: Minor styling]
[sunil: Update test_settings.py to use fixture pattern]
[sunil: Remove seemingly incorrectly used aria-describedby attribute]
[sunil: Don't rely solely on env variable value in functional tests]
[sunil: Fix issue with http/https mismatch when checking site availability]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-31 22:04:10 -07:00
Joseph Nuthalapati
04617cbf7f
mediawiki: Ensure password file is not empty
The temporary file is sometimes not flushed to disk by the time the PHP
command is called. This makes the password file empty and breaks the
installation.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-10-31 22:04:07 -07:00
marklin0913
28aa5ec756
Added translation using Weblate (Chinese (Traditional)) 2020-10-31 16:30:40 +01:00
Sunil Mohan Adapa
9827b8d33f
upgrades: Disable the option when not able to dist upgrade
Tests:

- When running on unstable, the form is disabled.

- When can_dist_upgrade() returns True, the option is selectable again.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-30 20:45:22 -07:00
James Valleroy
49c21cabc8
upgrades: Add a setting to enable dist upgrade
- Setting is stored in kvstore.

- Enable for new installs, and once when upgrading from version
  without flag.

- Split action subcommands for activating backports and for performing
  dist upgrade.

Tests:
- Dist upgrade is enabled by default in stable container.
- Dist upgrade is disabled by default in testing container.
- Enable dist upgrade. Dist upgrade is attempted periodically.
- Disable dist upgrade. Dist upgrade is no longer attempted.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: kvstore need to be locally imported anymore, import as usual]
[sunil: Minor changes to comments for PEP compliance]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-30 20:41:58 -07:00
Sunil Mohan Adapa
6180e3a051
doc: wikiparser: Fix issue with running parser outside doc/ dir
Use a path relative to the script path when checking for existence of manual
pages.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-30 10:59:08 -07:00
James Valleroy
085e3ffef3
wikiparser: Exit with return value 1 on test failure
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-30 10:59:02 -07:00
James Valleroy
53921be1b8
ci: Run wikiparser doctests
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-30 10:58:52 -07:00
Michael Breidenbach
4d62530e4e
Translated using Weblate (Swedish)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-27 11:43:02 +01:00
Michael Breidenbach
af9bf4251e
Translated using Weblate (German)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-27 11:42:59 +01:00
James Valleroy
59c2a3f186
Translated using Weblate (Danish)
Currently translated at 49.9% (676 of 1354 strings)
2020-10-27 11:42:51 +01:00