7439 Commits

Author SHA1 Message Date
James Valleroy
3653a09437
Release v22.9 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.9
2022-04-11 21:18:48 -04:00
James Valleroy
5fde3d0e90
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-11 21:07:03 -04:00
James Valleroy
01a6265d07
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-11 19:53:16 -04:00
James Valleroy
f1bbfa73c7
upgrades: Split Explanation line
Avoids a flake8 error.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-11 19:50:54 -04:00
Aurélien Couderc
37d066e285
Fix description of the validation rule for calibre library names so it actually matches the pattern 2022-04-10 14:05:21 -07:00
James Valleroy
d21e33268d
upgrades: Use python3-typing-extensions from bullseye-backports
Fixes #2207.

Tests:

- /etc/apt/preferences.d/51freedombox-apps.pref has expected content.

- Matrix Synapse can be installed, functional tests pass.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-04-10 14:02:40 -07:00
Benedek Nagy
2b37ee1ad6
plinth: Add forum to footer
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-04-10 13:57:09 -07:00
Sunil Mohan Adapa
2752cf55d3
package: Update package expression API and fix regressions
- Make terminology more consistent managed vs. possible, resolve vs. actual.

- Fix regression in security report caused by comparing package expressions with
package names.

- Fix regression in package upgrades caused by comparing package expressions
with package names.

- Update API method names to improve readability and prevent accidental
mismatching of package names and package expressions. Update variable names for
same reason during usage.

Tests:

- minetest install successfully in testing.

- Security report shows non-zero value in the current vulnerabilities column.

- When an unavailable package is added to list of packages in an app, the app
can't be installed.

- When PackageOr expressions is added to an essential package, running
  --list-dependencies shows an expressions with '|' in it.

- Unit tests succeed.

- Find a package with conffile prompt and add that to list of a packages in an
app like bepasty and implement a stub force_upgrade() method in the app. Run
'apt update' and that triggers and analysis of packages with conf file prompts.
This should call force_upgrade() method in bepasty and with proper argument for
list of packages.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-10 09:51:13 -04:00
James Valleroy
2537ffd64c
package: Fix comment and type annotations
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-10 08:29:35 -04:00
James Valleroy
93156fe8e7
minetest: Allow alternate name for 3d armor mod
In Bookworm, the minetest-mod-player-3d-armor package is renamed to
minetest-mod-3d-armor. Allow either package name to fulfill the
requirement, so that the app is installable in both Bullseye and
Bookworm.

Fixes #2164.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-10 08:29:34 -04:00
James Valleroy
691817477f
package: Fail diagnostic when not able to resolve
When a package expression cannot be resolved (i.e. not installable),
add a diagnostic failure result with appropriate message.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-10 08:29:34 -04:00
James Valleroy
45820fbdfa
package: Use package expressions in Packages component
- managed_packages() finds all possible packages that could be
  installed. This is used for the check in the action script.

- resolve() finds actual packages to be installed. This is used in
  setup, diagnose, and has_unavailable_packages.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-10 08:29:34 -04:00
James Valleroy
31a457029c
package: Add package expressions
- Package represents a package to potentially be installed.

- PackageOr allows an alternate package, in case the first one is not
  available.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-04-10 08:29:34 -04:00
Paul Lettich
8d8a7c9837
Translated using Weblate (German)
Currently translated at 100.0% (1434 of 1434 strings)
2022-04-04 20:08:19 +02:00
Coucouf
149c85b4d2
Translated using Weblate (French)
Currently translated at 100.0% (1434 of 1434 strings)
2022-04-01 23:10:31 +02:00
abidin toumi
f1f2291923
Translated using Weblate (Arabic)
Currently translated at 1.1% (16 of 1434 strings)
2022-03-31 11:12:35 +02:00
109247019824
162b602595
Translated using Weblate (Bulgarian)
Currently translated at 13.3% (192 of 1434 strings)
2022-03-31 11:12:35 +02:00
Benedek Nagy
69e7accada
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1434 of 1434 strings)
2022-03-31 11:12:34 +02:00
Jiří Podhorecký
fd6a16de29
Translated using Weblate (Czech)
Currently translated at 100.0% (1434 of 1434 strings)
2022-03-31 11:12:34 +02:00
Oğuz Ersen
3f3cdc95cb
Translated using Weblate (Turkish)
Currently translated at 100.0% (1434 of 1434 strings)
2022-03-31 11:12:33 +02:00
ikmaak
59ab206a70
Translated using Weblate (Dutch)
Currently translated at 100.0% (1434 of 1434 strings)
2022-03-31 11:12:33 +02:00
ikmaak
1d7acb9e8b
Translated using Weblate (German)
Currently translated at 100.0% (1434 of 1434 strings)
2022-03-31 11:12:33 +02:00
abidin toumi
617fde9e72
Added translation using Weblate (Arabic) 2022-03-29 19:52:24 +02:00
James Valleroy
dd7f2db631
Release v22.8 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.8
2022-03-28 20:30:24 -04:00
James Valleroy
cf6b3002c4
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-28 20:29:39 -04:00
James Valleroy
477386c3f9
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-28 20:06:19 -04:00
Jim Gregory
66e19ff56e
network: Fix showing wifi connection
Viewing a wifi connection will cause a 500 error.  To reproduce this
issue, go to plinth/sys/networks/.  If no wifi connections exist,
add one use the "Add Connection" button.  Then, click on the name of
the wifi connection to view it.  A 500 error is returned.

This commit fixes this error so the normal "show connection" is
returned.  It also fixes a bytestring conversion error
for the SSID and a blank value for "mode" on the page.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-03-28 15:19:48 -07:00
James Valleroy
5ea78f6e28
upgrades: Allow backports from src:freedombox
This allows any binary package in src:freedombox to be upgraded from
backports, so that packaged manuals are included.

Thanks for Frank Woodward for finding the root cause and solution.

Tests:

- Build a FreedomBox bullseye image with backports disabled.

- During setup, enable backports, and update packages. freedombox
  package from bullseye-backports is installed, but freedombox-doc-*
  packages are from bullseye.

- Install freedombox package with the fix, and update
  packages. freedombox-doc-* packages from bullseye-backports are
  installed.

Closes #2106.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-03-28 11:03:09 -07:00
Eric
5b8316bcc7
Translated using Weblate (Chinese (Simplified))
Currently translated at 70.5% (1011 of 1433 strings)
2022-03-28 07:11:49 +02:00
Benedek Nagy
4ac789efd3
calibre: explain correct name format for new library
Closes: #2186.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
[jvalleroy: Remove duplicate import]
[jvalleroy: Reword help text slightly]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-27 10:19:30 -04:00
Ma Yong
c9bf209c2e
Translated using Weblate (Chinese (Simplified))
Currently translated at 70.4% (1010 of 1433 strings)
2022-03-27 06:37:24 +02:00
Ma Yong
988452759b
Translated using Weblate (Chinese (Simplified))
Currently translated at 70.5% (1011 of 1433 strings)
2022-03-27 04:13:12 +02:00
Benedek Nagy
c5287a3893
ikiwiki: add packages that are neccesary for apt-get install
Closes: #2181.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-25 11:47:23 -04:00
Nikita Epifanov
f3f311b9a8
Translated using Weblate (Russian)
Currently translated at 99.8% (1431 of 1433 strings)
2022-03-20 15:17:52 +01:00
Павел Протасов
f1d2bc9069
Translated using Weblate (Russian)
Currently translated at 99.8% (1431 of 1433 strings)
2022-03-20 15:17:51 +01:00
Coucouf
6c4072af4e
Translated using Weblate (French)
Currently translated at 100.0% (1433 of 1433 strings)
2022-03-20 15:17:51 +01:00
James Valleroy
161f09fa9c
Release v22.7
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.7
2022-03-14 20:30:46 -04:00
James Valleroy
8f2522ac2c
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-14 20:27:06 -04:00
ButterflyOfFire
c9814e55ba
Translated using Weblate (French)
Currently translated at 99.4% (1425 of 1433 strings)
2022-03-15 01:02:16 +01:00
Benedek Nagy
aef92f45d8
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1433 of 1433 strings)
2022-03-10 23:59:40 +01:00
Nathaniel Ramos Alexander
edc922ca77
Translated using Weblate (Spanish)
Currently translated at 98.1% (1406 of 1433 strings)
2022-03-10 23:59:39 +01:00
James Valleroy
0b4bac4643
Release v22.6.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.6.1
2022-03-06 06:25:51 -05:00
ikmaak
58347a472f
Translated using Weblate (Dutch)
Currently translated at 100.0% (1433 of 1433 strings)
2022-03-06 12:18:56 +01:00
109247019824
2153cf4c8a
Translated using Weblate (Bulgarian)
Currently translated at 13.2% (190 of 1433 strings)
2022-03-04 22:35:09 +01:00
Jiří Podhorecký
3fa3ee8c41
Translated using Weblate (Czech)
Currently translated at 100.0% (1433 of 1433 strings)
2022-03-04 13:58:17 +01:00
Eric
8614caf38e
Translated using Weblate (Chinese (Simplified))
Currently translated at 70.4% (1010 of 1433 strings)
2022-03-04 13:58:17 +01:00
Burak Yavuz
f96b90ca28
Translated using Weblate (Turkish)
Currently translated at 100.0% (1433 of 1433 strings)
2022-03-04 13:58:16 +01:00
ikmaak
64279a5a15
Translated using Weblate (Dutch)
Currently translated at 99.4% (1425 of 1433 strings)
2022-03-04 13:58:16 +01:00
Johannes Keyser
39fe345066
Translated using Weblate (German)
Currently translated at 100.0% (1433 of 1433 strings)
2022-03-04 13:58:15 +01:00
James Valleroy
ab2cab3e96
Release v22.6 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v22.6
2022-03-02 08:45:07 -05:00