commit c67b1164df7efb872408d95d0da17b977a2dad9a Author: James Valleroy <jvalleroy@mailbox.org> Date: Sun Feb 16 11:16:27 2025 -0500 matrixsynapse: tests: Fix adding domain Signed-off-by: James Valleroy <jvalleroy@mailbox.org> commit 85a694f20f2126785d02278f9c7153440683a4da Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Sat Jan 18 16:34:49 2025 -0800 names: Retrieve the most important domain in a more generic way - The get_domain_name() has some problem. It returns only static domain names but not a dynamic domain name. It may not always return the same domain when multiple static domains are configured. It may return return an empty string. Tests: - JSXC page shows the alphabetically first static domain. If no static domain is configured, first dynamic domain is shown, next pagekite domain, next pagekite domain, next tor onion domain, and finally .local domain. - Downloading profile from OpenVPN will set the first domain in it. - When ejabberd is installed, the first domain is configured by default. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit eeeec6710f0297bed9744cd8085d325e84191a03 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 22:35:25 2025 -0800 pyproject: Ignore missing types for numpy (needed by pytest) - Otherwise, on Debian stable, running make check-type results in following error: /usr/lib/python3/dist-packages/_pytest/python_api.py:24: error: Cannot find implementation or library stub for module named "numpy" [import] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit aac12f4391c7aa04953bd49143b8d9cf5b9b73b0 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 22:33:02 2025 -0800 names: Sort domains by priority of their domain types - First of the list is the most important one and may be used as "primary" domain in apps. - Change the return type of DomainName.list() from set to list so that order can be preserved. Update all users of the API accordingly. Add type hints to all the methods using this API to catch any errors. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit 045b336a9bd5952c75936e7389f4dd243061a5b5 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 16:04:09 2025 -0800 names: Specify priority order among domain types - This can be used to ensure that apps that can deal with only a single domain auto-configure the best domain by default. Tests: - Unit tests run. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit 49d16412f889f39af6ae52894b14a33e46ad54ee Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 15:52:29 2025 -0800 names: Simplify/clarify domain names types for static/dynamic Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit f5ecf31453cb6afc5ac3b45aa3ffba145cb6ad5a Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 15:48:50 2025 -0800 dynamicdns: Show specific operations on domains in Names apps - Instead of just configure button, show edit/delete. And configure separately. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit 863d1702197d62ec5bb4df2afdd9897284205229 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 15:08:01 2025 -0800 names: Allow adding multiple static domain names - Change the mechanism for storing domain names in /etc/hosts. Don't write hostname to /etc/hosts. Don't prepend hostname to domain name. This means that when hostname changes, set_domain_name need not be called. - This means that domain names such as example.fbx.one were not resolvable using /etc/hosts but these will now resolve to 127.0.1.1. This is a minor concern to becoming a breaking change. - Don't use socket.getfqdn() for finding the domain name of the machine. Instead read from /etc/hosts. There does not seem to a glibc/python API for querying domain names from /etc/hosts with all variations it allows. Forward resolution properly works no matter the library. - Drop a pre-Python 3 conversion from unicode to ascii string for hostname. This is no longer relevant. - Domain name form is now domain add form. Passing domain name is mandatory. Domain delete form and view have been introduced. - Use augeas to edit hosts file. Add privileged methods to add/delete/get domains. Add method to migration from old format to new. Support reading old format too in get_domains. Tests: - Without hostname written in /etc/hosts, 'resolvectl query <hostname>' and 'ping <hostname>' work. - With old /etc/hosts format apply patches and restart service. It will be converted to new format. - Adding a domain adds a new line to /etc/hosts file. The domain is shown in domains list in Names app. Applications get reconfigured with the new domain name. - Deleting a domain adds a new line to /etc/hosts file. The domain is shown in domains list in Names app. Applications get reconfigured with the new domain name. - Restarting app triggers domain added signal for all domains and all the domains are shown in the Names app. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit 889453daffc09cdd68b7567aad547bc2ef1dffcc Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 15:39:44 2025 -0800 names: Simplify showing current and available domains - In the main domains list, only show currently configured domains. Allow operations such as edit/delete/configure on them. Actions are determined by the domain type. - Show domain types that can be added in a separate table. If an domain is present and only of that type can exist, it will not be shown in this table. Show add/configure action based on whether multiple domains can exist. Tests: - Configuring a singleton domain type puts it in the domains tables and removes it from the add domains table. De-configuring it or disabling it does the opposite. - For domain types with multiple domains (static/dynamic), entries are shown in domains if such domains exist. Entry in add domains tables always shows up. - All action buttons for all five domain types work. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit e8d2faecabc1d3da0e3a41f5b818bb04e663e96c Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 14:54:52 2025 -0800 names: Add more URLs to the domain type component - To be used to present better interface for domain types that have multiple domains. Tests: - Unit tests pass. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit 7e3bdfa49a3169d664235578aa4838e81dfeb624 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 14:37:55 2025 -0800 dynamicdns: List domains that have not had status update yet - This can happen if a domain is added while the app is disabled. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit a660194308b05fe4f2acd2b436c5b5456d2a0879 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 14:39:04 2025 -0800 dynamicdns: Add/remove domains when app is enabled/disabled This seems to be the most useful function for enabling/disabling dynamic DNS. This is also what users are likely to expect. Tests: - Disable app. The domains will be removed from list of domains in Names app. Installed applications will be reconfigured. - Enable app. The domains will be added to list of domains in Names app. Installed applications will be reconfigured. - When app is disabled. Adding/removing domain does not trigger app configuration apps. Domains are not added to Names app. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit ca5f547c0262aee08a09caac7d1f10612a5bb91a Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Fri Jan 17 14:36:14 2025 -0800 names: domain type: Minor refactor - In preparation for changes to domain type component. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit d9f9168c7649533d2727d246f9740481f9c63d86 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Sun Jan 5 17:45:24 2025 -0800 names: Use hostnamectl instead of socket API get the current hostname - This would mean consistent interfacing with systemd instead of a split approach. Tests: - Edit hostname page shows the current value of hostname correctly. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org> commit 4176f53e05a3f94c58e6ee1b060d990afa3398a9 Author: Sunil Mohan Adapa <sunil@medhas.org> Date: Mon Jan 13 17:08:39 2025 -0800 dynamicdns: Implement adding multiple domains Tests: - Functional tests pass. - Adding domain triggers domain_added signal. - Editing a domain triggers domain removed and domain added signals. - Deleting a domain trigger domain removed signal. - For each of the action, the status table shows updated information. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
Automatic checks made by the Debian l10n team found some issues with the translations contained in this package. You should check the l10n status report for more information.
Issues can be things such as missing translations, problematic translated strings, outdated PO files, unknown languages, etc.