6052 Commits

Author SHA1 Message Date
James Valleroy
51704497f4 plinth Debian release 20.17
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl+gtzYWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICNLkD/4n7nspeHzxwTE/+RTPEvp4/dCV
 B45EOb051Of7TeHGIsysGIigNvYqmjNDi+y6pPTLAxyCDw9EsHDM/rD0FrQ9L/fS
 8BEPjRVqMyQFldNVGUDwqpMRzTmsfoOE4HJAqIEOar2dClxbT9IXfXe58/hcKETT
 PTQJ2N0xDVMcAhh6BfILfE2OxlkpeAeCehwQkhfH/DypEX0uxJ1I7+itmr6JT3Wg
 Y8kkuav1PTIHgF8BICaNdgTCUUSf2RMQBo2Bsm6EvvXAqBYGw9IVC1X/Vlq2QZWi
 djwA864zPdjnxHJfSHc2fFfvoP46jdKy71DnKOKHOJWRkiXX+q5v2BfH+zomnke+
 2TI4QaY+v7aZRMfNnnlp520gHpRqhBsdNnhuYlYpxt2GeUmKwbkIKLFMoC8i0DVa
 zhj3pBhkjLZr6W0wUMKbTtmgRu/OJJMrCAKJFBNOM+1hu1Yq7KytyyWcpGtVMu0x
 ugX/9arHzjivj73LcfUBNLvouk0VRzRws6NwCo1OXU+ITPN23SGsIltpr+LOrCq+
 +U862mivzBJ3s0FOAJrW3oGiyK6Q+a6YV7iCqsAvx1wEk87SXbcqNJXrKLwo8HG2
 xtv/w7d12bS5qLI5ifemLyNk+dDivr8CWotFAA5G7A17jZZFasSAql9AeuzLFxGa
 AvKA5O3X3lmUH6JT9A==
 =kZks
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl+j2DwWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICJdnD/9O8gdf24djnIKuobRrpyitD8zJ
 Bz9cW0uxh/T1L4IZr0bRK8UDDZ6hBYpKp+yfPQEAiZkVHAlu4gaW4Udmcu8B3z1N
 V2W7jZM5CNHOrDbusOtpdm1GNPafAmwoQTiSnPO7rKQIUMIjefKMUwiKK/iAp7zo
 BsW5wToXX6kN31JzIpCsNuYEF8gTTTemoGNQlhMzTcNvLh0hzMJMrdKdARq+N2TT
 hZVvB3LoBbbelbbAkIStK6iKUBsTjQ+4VVpUu731+Wn/I4i4GcxXfi2bH4T1QQ2l
 466CW/oCy6rcMoGwUZSLUH0dp3BwrcSTFI2jDJvBLMu53hoMGIBLG+ag2sDJ9tj1
 kQMlBgneS0pa9vebcvYfO1BkVGqtbZvJ9b4LrkkyxNxxxWUV6MlBDIHRLDlqxX/a
 fXcmOHtQUYl8Keuyvg7VrAKVWgfDl4nS9Tr8t/DetdwD53ignEPpvU9hkwxACMY3
 Hav9ZoaUg9lH2tDh6qCB0vbPEDpsHlrqhrTUxzpTTEj2iEbW8Mt3BEm/mPe97vS8
 TCbPzouqNo3kRDjxZJr+FpFc4Sx0GL3DHE7tOmvlHiG+xVP8Y7NT6ko6YqtCTTp0
 gamd3ebWKnLvnUwt10dL6xEKhLCS3DDzQKNRxkWI26sX65FUKmIRiILXsujgL5ID
 4ErfJFzJtpXgYrqjxw==
 =ohLr
 -----END PGP SIGNATURE-----

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

plinth Debian release 20.17

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-05 05:47:18 -05: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
Burak Yavuz
b51f5a6843
Translated using Weblate (Turkish)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-26 14:27:10 +01:00
Praveen Illa
d7a57bce40
Translated using Weblate (Telugu)
Currently translated at 59.3% (803 of 1354 strings)
2020-10-26 14:27:09 +01:00
Petter Reinholdtsen
d2c30e9d13
Translated using Weblate (Norwegian Bokmål)
Currently translated at 87.0% (1178 of 1354 strings)
2020-10-26 14:27:09 +01:00
Coucouf
ccf8b24d35
Translated using Weblate (French)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-26 14:27:08 +01:00
Jens Molgaard
5911972510
Translated using Weblate (Danish)
Currently translated at 49.9% (676 of 1354 strings)
2020-10-26 14:27:07 +01:00
James Valleroy
9479ce1f20
Release v20.16~bpo10+1 to buster-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.16bpo10+1
2020-10-22 18:02:15 -04:00
James Valleroy
f1ec8dfc25 Release v20.16 to unstable
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl+OMxgWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICBKDD/9IZehbDDkjlA49CqrOCW+1y7PL
 xR1HBzwNd5DcUSv750TEcYNqwTdx/Pv5TmzOvYvcUUAE9FYk7ft2Ontf7bOHzD5k
 jRYI+ZLaPojq/q2BdTWuifZIqoKdv+B00wVDhgX6vVpJjBXX1qpCvWArfOSVA6q6
 GyjANBEaOI9VPjA51zfaw5byEFZtU2a5s58BBvu2WONLqpjZPjIdj2fV70aF0jwj
 Odakn7bHX730m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4CVLN2HDUo4T11dHv3OW495
 9NyqCq5gzbGHM4qLJI91V/rjEw6HVKrMKz6Gtcnk8JSv8Y9JcJEoqEVbEVeS+CAy
 3CwM0OIZnxLO+428zgRTh3bQaWE/jc5tGC/DH9mTGxEFNbthncnxRFFSr058YLvp
 1noN67+8bAIwgdEVpi1g94KQc9DqI79TCX7kaNwV84CozCqzgNol7eYVj425t+ld
 1yriSdlZT1KbVF/8Ug==
 =0jnc
 -----END PGP SIGNATURE-----

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

Release v20.16 to unstable

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-10-22 18:01:16 -04:00
Nikita Epifanov
e20e21f8dd
Translated using Weblate (Russian)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-22 13:26:55 +02:00
Burak Yavuz
0ee00d3be8
Translated using Weblate (Turkish)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-22 13:26:55 +02:00
Coucouf
9865eaecab
Translated using Weblate (French)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-22 13:26:54 +02:00
Fioddor Superconcentrado
704826d1bc
Translated using Weblate (Spanish)
Currently translated at 100.0% (1354 of 1354 strings)
2020-10-22 13:26:54 +02:00
Fioddor Superconcentrado
c88acb36d0
networks: css: Make button wider in network list
testing:
- Might this impact somewhere else (same form-button combination)?
- Yapf: not applicable.
- Flake8: without errors or warnings for changed files.
- (Unit) tests: run without errors.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Use min width instead of fixed width]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-20 11:57:21 -07:00
Fioddor Superconcentrado
9cde408c86
notifications: i18n: Mark app names and extra data for translation
Helps: 1938.

Testing:
- Yapf applied.
- Flake8 without errors or warnings for changed files.
- (Unit) tests run without errors.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Translate app_name with 'translate:' prefix]
[sunil: Also mark additional data]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-20 11:57:17 -07:00
Fioddor Superconcentrado
ff9d0ace31
networks: i18n: Mark various strings for translation
Helps: #1938.

- Translate various states passed in by Network Manager:
  - Device state
  - Device state reason
  - Device type
  - Firewall zone
  - IPv4/IPv6 connection method
  - Wireless mode
- forms.py: Move zones list to network.py, reuse in views.py.

Testing:
- Yapf applied.
- Flake8 without errors or warnings for changed files.
- (Unit) tests run without errors.
- Screnshots attached to #1938.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Add strings for many more states]
[sunil: Don't allow None to be selected as firewall zone]
[sunil: Drop forced_literals.py as it reduces modularity of the code]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-20 11:57:12 -07:00
Fioddor Superconcentrado
67edecb8ab
networks: i18n: Mark string for translation on delete page
Helps: #1938.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Don't split the string into two, mark it in full]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-20 11:57:08 -07:00
Sunil Mohan Adapa
b1f64bb7bd
backups: i18n: Mark form success messages for translation
Helps: #1938.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Also mark restore success message]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-20 11:57:03 -07:00
Fioddor Superconcentrado
d1f9f4bfcc
package: i18n: Mark progress status strings for translation
Help: #1938.

- package.py: ugettext_lazy applied to 'installing', 'downloading' and other
statuses.
- setup.html: trans function applied to "Check again" in template.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Mark remaining to status strings also]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-20 11:56:57 -07:00
James Valleroy
e03161201c
Release v20.16 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.16
2020-10-19 20:43:03 -04:00
James Valleroy
d4d4f0939e
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-10-19 20:38:37 -04:00
James Valleroy
538e95250b
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-10-19 20:13:10 -04:00
Fioddor Superconcentrado
4ea6e952c9
updates: Eliminate delay and better status for manual upgrade
Helps: #1939.

Implements a proposal by Sunil Mohan Adapa in !1936.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Cosmetic changes]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-19 16:57:37 -07:00
Fioddor Superconcentrado
792c2cd00f
help: Link to updates page when new version is available
Closes: #1332.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[sunil: Simplify the message for link to upgrade page]
[sunil: Use url method instead of hard-coded path]
[sunil: Cosmetic changes]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-19 16:57:34 -07:00
James Valleroy
a7829d3bf7
debian: Add Brazilian Portuguese debconf templates translation
Closes: #972449.

Thanks to Adriano Rafael Gomes for the translation.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-10-19 17:30:34 -04:00
Sunil Mohan Adapa
9c013be54b
calibre: Update group description to reflect 'using' app
- It is incorrect to say that group membership is needed to administer calibre.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-10-18 14:47:26 -04:00
Sunil Mohan Adapa
29e3c9eaa8
app: Make the donation button more prominent
This is high visibility to the donation link and almost prompts users to donate
instead of passively providing the information. Given how many free software
struggle to stay alive, this is needed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-10-17 19:51:35 -04:00
Sunil Mohan Adapa
f9fd278e8c
calibre: Add link to donation page
- This is the link open by the desktop application when donate button is hit.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-10-17 19:51:32 -04:00
Michael Breidenbach
9aceb33597
Translated using Weblate (Swedish)
Currently translated at 100.0% (1345 of 1345 strings)
2020-10-16 00:26:45 +02:00
Burak Yavuz
efff63d514
Translated using Weblate (Turkish)
Currently translated at 100.0% (1345 of 1345 strings)
2020-10-16 00:26:44 +02:00
Fioddor Superconcentrado
1a65c9a0ba
Translated using Weblate (Spanish)
Currently translated at 100.0% (1345 of 1345 strings)
2020-10-16 00:26:44 +02:00
Allan Nordhøy
81567cdc4e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 86.2% (1160 of 1345 strings)
2020-10-14 09:26:44 +02:00