Commit Graph
7415 Commits
Author SHA1 Message Date
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
James Valleroy 46e57049b9 doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 08:44:28 -05:00
James Valleroy 650b4efb84 locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 08:07:17 -05:00
Sunil Mohan Adapa d77f812d11 dynamicdns: Fix adding null domain into configuration
When old configuration is not set and is exported with new code into newer
format, the result is a domain added with domain name 'null'. This causes issues
with UI not showing configuration and with null domain being added into
configurations of various daemons.

Tests:

- To reproduce the issue, switch to a revision with old dynamicdns code. Then
switch to a latest version without the fix. A 'null' domain is added to
configuration.

- To reproduce the issue, switch to a revision with old dynamicdns code. Then
switch to a latest version with the fix. A 'null' domain is not added to
configuration.

- With null domain in the configuration. Start FreedomBox with the fix. The null
domain should be removed and null domain should not be announced to other
daemons.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:13 -05:00
Sunil Mohan Adapa 354985f97c email: Fix issue with certs not being available
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:10 -05:00
Sunil Mohan Adapa 9d4ae972e9 email: Revert to LDAP auth as pam does not allow non-admin users
Since FreedomBox does not allow any users but those belonging to 'admin' group
to login, using passwd driver for auth means that only admin can login to
postfix/dovecot. Fix this by reverting to using LDAP driver.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:08 -05:00
Sunil Mohan Adapa 56f95ddf97 email: rspamd: Log to journald via syslog
Unified querying, reduce random writes for SD cards, eliminate need for separate
log rotation.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:06 -05:00
Sunil Mohan Adapa 265534a6bf email: postfix: use inline map for TLS SNI maps
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:04 -05:00
Sunil Mohan Adapa 64d0411d6b email: Allow re-running setup
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:02 -05:00
Sunil Mohan Adapa e52aae3acd email: clients: Make Thunderbird URLs language independent
The site will then redirect to a language specific URL.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:39:00 -05:00
Sunil Mohan Adapa a5a3500630 email: aliases: Minor refactoring to form validation
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:57 -05:00
Sunil Mohan Adapa 3d15ebd436 email: postfix: Fix priority for authentication directives
Otherwise, the default directives in 10-auth.conf take higher priority.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:55 -05:00
Sunil Mohan Adapa 828cc73320 email: Add various documentation links for future readability
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:53 -05:00
Sunil Mohan Adapa 6bdd62b643 email: Implement adding common aliases for first admin user
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:51 -05:00
Sunil Mohan Adapa 25da081ea2 email: Don't start disabled daemons when setup is re-run
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:48 -05:00
Sunil Mohan Adapa ef6619d8d6 email: Use the term 'setup' rather than 'repair' for consistency
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:46 -05:00
Sunil Mohan Adapa 55bd428bd7 email: Update module docstrings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:44 -05:00
Sunil Mohan Adapa 6cfa0589a7 email: Drop atomic writing to a file
Not very critical. Reduce complexity. Re-implement later at framework level.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:42 -05:00
Sunil Mohan Adapa 48f17c4eeb email: Drop postfix and dovecot LDAP packages
They are unused. postfix-ldap is needed for LDAP based maps. In dovecot,
authentication happens using PAM.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:40 -05:00
Sunil Mohan Adapa e08988507e email: Name module ldap to postfix
There is nothing related to LDAP in the module. It actually configures postfix.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:38 -05:00
Sunil Mohan Adapa 59e51faf2e email: Drop unused utility method for logging
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:36 -05:00
Sunil Mohan Adapa 8a53957b1e email: Simplify and rename postfix configuration module
- Remove unnecessary complex crash handler needed due to setting the service
configuration in two steps. Merge the two step into one after which crash
handler is not needed.

- Drop '_unsafe' API and verify all keys and values for sanity.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:33 -05:00
Sunil Mohan Adapa 5bc5191ea7 email: Drop use of mutex for postfix configuration operations
This is not critically needed in FreedomBox. Implementation is complex. This may
be recreated at framework level to benefit all applications.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:30 -05:00
Sunil Mohan Adapa 1b5e99c56e email: Rename audit module to privileged
The module does not interact with kernel audit system or is not related to
security logging. The 'privileged' makes us pay more attension.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:28 -05:00
Sunil Mohan Adapa 37b28e05d7 email: Drop mentions of clamav as it is too memory intensive
A fresh install of clamav-daemon takes up about 1GiB or RAM. Most of this is the
virus signature database and is used regularly for a scan. This makes ClamAV
unsuitable for FreedomBox running on many single board computers. Drop ClamAV
until we start recommending/requiring at least 2GiB of RAM.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-03-02 07:38:26 -05:00