Commit Graph
4584 Commits
Author SHA1 Message Date
Joseph Nuthalpati 9b46d1a661 matrix-synapse: Allow installation of version 1.2 from backports
Used version pinning instead of release pinning to avoid unexpected upgrades for
users running FreedomBox stable.

Explanation for backports:
This fixes incompatibility issues with newly created rooms on Matrix Synapse
versions 0.99.5 and above. Users on stable using 0.99.2 might not be able to
join those rooms, especially direct chats.

Fixes #1600

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-20 20:14:36 -04:00
James Valleroy e157c1f463 security: Hide vulnerability table by default
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil@medhas.org Fix 'rol' attribute to 'role']
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-08-18 17:36:56 -07:00
Joseph Nuthalpati cd54cd48b8 functional_tests: Fix step definition "When I log out"
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-08-18 13:33:30 -07:00
Joseph Nuthalpati fe02b9f1e3 functional_tests: Fix site.is_available not handling default paths
Sites might have default paths like /mediawiki/Main_Page or /transmission/web.
The tests are doing an exact match on the path which is causing test failures.
Modified the support function site.is_available to handle default paths.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-08-18 13:33:08 -07:00
Allan Nordhøy 7df4219bce Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.4% (1033 of 1050 strings)
2019-08-18 05:23:01 +02:00
nautilusx c51882a6f8 Translated using Weblate (German)
Currently translated at 99.4% (1044 of 1050 strings)
2019-08-16 10:23:25 +02:00
Doma Gergő acb91f8d20 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1050 of 1050 strings)
2019-08-14 03:23:11 +02:00
James Valleroy ba9700cf0f Release v19.14 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.14
2019-08-12 19:46:04 -04:00
James Valleroy 872cf382b0 debian: Switch to debhelper-compat
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 19:45:58 -04:00
James Valleroy 68535fa1e6 debian: Update standards version to 4.4.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 19:45:48 -04:00
James Valleroy c4b1d16ae0 doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 19:31:09 -04:00
James Valleroy bc62d3d54c locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 19:15:05 -04:00
Sunil Mohan Adapa 03dcaa57da api: Fix regression with listing only enabled apps in mobile app
Closes: #1626

Tests:

- List apps in mobile app front page. Observe that all apps are shown including
  disabled apps.

- With the patch, observer that only enabled apps are shown.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 18:26:19 -04:00
Sunil Mohan Adapa 173d3464b0 config: Remove unused domain change signal
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:40:12 -04:00
Sunil Mohan Adapa bd05c43d32 letsencrypt: Remove unused listen to domain change signal
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:40:09 -04:00
Sunil Mohan Adapa 012db6ac93 cockpit: Don't handle the domain changed signal
Domain added and removed signals provide sufficient knowledge of domain name
changes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:40:08 -04:00
Sunil Mohan Adapa 0dba497383 ejabberd: Use domain added signal for listening to domain changes
In the action, the new domain is always extended to the list of domain names
accepted by ejabberd. To simplify domain handling simply use the domain_added
signal.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:40:06 -04:00
Sunil Mohan Adapa 0d0ee32a87 ejabberd: Ensure that hosts are not duplicated in configuration
This is non-essential as there seems to be no problem for ejabberd with
duplicated host names.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:40:04 -04:00
Sunil Mohan Adapa 76725a0068 cockpit: Don't error out when removing an unknown domain
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:40:02 -04:00
Sunil Mohan Adapa ba8db1b4b5 letsencrypt: Fix problem with automatically obtaining certificates
When a domain is added, an attempt will be made to obtain a valid LE certificate
for domain.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:40:00 -04:00
Sunil Mohan Adapa 8ece36893c letsencrypt: Revoke certificate only if it exists
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:58 -04:00
Sunil Mohan Adapa ba4afd2a09 names: Use new API in all apps
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:56 -04:00
Sunil Mohan Adapa b684b07d11 names: Make all apps use new api to retrieve domain names
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:54 -04:00
Sunil Mohan Adapa ab42b9b241 names: Declare domain types in various apps
- config handles static domain types.

- pagekite handles pagekite domain types.

- tor handles hidden service domain types.

- dynamicdns handles dynamic domain types.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:52 -04:00
Sunil Mohan Adapa 5cbdd40f6b names: Introduce new API to manage domains
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:49 -04:00
Sunil Mohan Adapa b743305e06 names: Don't enumerate services for domains supporting all
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:47 -04:00
Sunil Mohan Adapa d820ce15d0 names: Minor styling fixes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:44 -04:00
Sunil Mohan Adapa 05d042765a Minor yapf fixes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 18:39:40 -04:00
Sunil Mohan Adapa 30d6297c89 tests: Fix flake8 warning about unused imports
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-08-11 11:31:19 -07:00
James Valleroy fb8ed2a700 tests: Test add custom shortcuts to frontpage
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-08-11 11:19:20 -07:00
ZeroAurora 4a36c68015 Translated using Weblate (Chinese (Simplified))
Currently translated at 66.3% (698 of 1052 strings)
2019-08-11 16:23:05 +02:00
Sunil Mohan Adapa f3ccc416f0 upgrades: Set apt configuration to allow release info change
Helps #1601.

When release information such as 'Version' and 'Suite' change for a distribution
changes, apt requires an explicit confirmation from the user. apt-get(8)
specifies the reason for this prompt as ensuring that the user is prepared for
the change. On a FreedomBox installation, as the system administration agent of
the user, FreedomBox has to make this decision on whether the user is ready for
the change. FreedomBox works to keep the system up-to-date and manages
configuration changes for packages, data migration etc. Hence, accept all
release information changes without a prompt.

Without this, when a stable release is made, if the user was using that
code-name before the release, then the system stop receiving updates and no new
apps can be installed in FreedomBox. This happened in case of Buster release
although Debian itself had some part in this. See:
https://salsa.debian.org/freedombox-team/plinth/issues/1601

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 09:30:08 -04:00
Sunil Mohan Adapa 5caac243a2 frontpage: Log a message when loading custom shortcuts
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 07:46:09 -04:00
Sunil Mohan Adapa 063489c036 frontpage: Fix regression with loading custom shortcuts
Closes: #1621

This causes the freedombox service to fail to start (and restart continuously)
when a custom shortcuts are provided using JSON file.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-11 07:46:06 -04:00
Sunil Mohan Adapa 639fd71d88 firewall: Force upgrade to firewalld 0.7.x
Closes: #1608

Allow upgrade to any version of 0.7.x series. Use new configuration and apply
the two default configuration changes of FreedomBox.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-10 09:38:56 -04:00
Sunil Mohan Adapa 0cf099fe4f Yapf changes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-10 09:38:53 -04:00
Sunil Mohan Adapa acdcabcbed setup: Clarify success log message when force upgrading
Currently, in cases of ignoring an upgrade and actually upgrading, the log
message says success which is somewhat confusing. Make the force_upgrade()
methods in apps return information about ignoring the upgrade and print log
message accordingly.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-10 09:38:49 -04:00
Allan Nordhøy ecc28a72bd Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.7% (1038 of 1052 strings)
2019-08-08 02:23:03 +02:00
Anxin YI fadb2dc50e Translated using Weblate (Chinese (Simplified))
Currently translated at 63.0% (663 of 1052 strings)
2019-08-08 02:23:02 +02:00
Radek Pasiok 7e2dd7e497 Translated using Weblate (Polish)
Currently translated at 30.9% (325 of 1052 strings)
2019-08-08 02:23:00 +02:00
Mesut Akcan 76b879e2d0 Translated using Weblate (Turkish)
Currently translated at 81.7% (860 of 1052 strings)
2019-08-08 02:22:58 +02:00
Joseph Nuthalpati 7245518fbf upgrades: Use reusable collapsible-button style for logs
+ Minor typo correction

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
[sunil@medhas.org Fix indentation]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-08-07 09:21:58 -07:00
Sunil Mohan Adapa c3a3d80ea5 storage: yapf changes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-07 05:40:07 -04:00
Sunil Mohan Adapa 8b96ea0698 storage: Fix incorrect i18n when throwing and error
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-07 05:40:00 -04:00
Sunil Mohan Adapa de6f437f1a storage: Handle all device paths during eject
Closes: #1618.

When using RAID disk, the disks paths could look like /dev/dm-1. Current regular
expression does not allow for '-' in the device path.

Ensure that all characters in the device path are handled as part of eject
operation.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-07 05:39:57 -04:00
ZeroAurora f6be55eaac Translated using Weblate (Chinese (Simplified))
Currently translated at 60.0% (631 of 1052 strings)
2019-08-02 23:11:15 +02:00
pierre 1a731c605e Translated using Weblate (French)
Currently translated at 76.1% (801 of 1052 strings)
2019-08-02 23:11:14 +02:00
Doma Gergő 3ee097891e Translated using Weblate (Hungarian)
Currently translated at 100.0% (1052 of 1052 strings)
2019-08-02 23:11:13 +02:00
Pavel Borecki 24f6b33519 Translated using Weblate (Czech)
Currently translated at 99.3% (1045 of 1052 strings)
2019-08-02 23:11:12 +02:00
James Valleroy a89190b700 functional_tests: Fix delete backup path
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-30 16:45:30 -07:00