Commit Graph
7899 Commits
Author SHA1 Message Date
Sunil Mohan Adapa e37d26abee ui: Refactor notification delete buttons to avoid repeating code
Tests:

- Through code changes, ensure that dist upgrade notification, updated to new
release notification, privacy notification, and app installed notification show
up. Ensure that they have correct hx- attributes and URL property for dismiss
button. Clicking dismiss button works as expected.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2026-02-04 08:40:43 +05:30
Joseph Nuthalapati 13a575017c ui: Dismiss notifications without page reload
- Delete only the <li> of the notification using HTMX.
- Notifications list stays open. User can dismiss another notification.
- Decrement notification counter using JavaScript after removing
  notification from the list.
- Added HTMX to every kind of notification.
- Tested dismissing notifications from the top, middle and bottom of the
  list.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Update comment format in .js file]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2026-02-03 14:16:55 -08:00
James Valleroy 4e668c8a98 Release v26.3 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2026-02-02 20:42:43 -05:00
James Valleroy 7eac69a1f8 locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2026-02-02 20:14:26 -05:00
大王叫我来巡山 d0a73142ac Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 61.4% (1155 of 1880 strings)
2026-02-03 02:07:19 +01:00
Pierfrancesco Passerini 48929b9d75 Translated using Weblate (Italian)
Currently translated at 100.0% (1880 of 1880 strings)
2026-02-03 02:07:18 +01:00
Burak Yavuz f5e487569f Translated using Weblate (Turkish)
Currently translated at 100.0% (1880 of 1880 strings)
2026-02-03 02:07:18 +01:00
Sunil Mohan Adapa 04ba96a467 ui: Use HTMX to update notifications on partial page updates
Tests:

- When app install button is clicked, the new page shows that app is being
installed. However, when app installation is complete, the notification still
shows that app is being installed. With the patch, the issues is resolved.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2026-02-02 14:38:11 -08:00
Joseph Nuthalapati 01cafafcda ui: Use HTMX to eliminate full page reloads
HTMX implementation is limited to HTML and JS files. No changes to Python files.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2026-02-02 13:49:51 -08:00
Joseph Nuthalapati 3c5f81ab8c ui: Add HTMX as a dependency
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Sort dependency in list]
[sunil: Adjust spacing]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2026-02-02 13:43:15 -08:00
Frederico Gomes 57f5105fd0 wireguard: show server endpoint on main app page
Display the WireGuard server endpoint (ip_address:listen_port)
alongside the public key on the main WireGuard page,
so users configuring clients can copy both values directly.

Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com>
[sunil: Keep the docstring]
[sunil: Adjust markup to eliminate <p> inside <p>]
[sunil: Produce a single <pre> tag instead of multiple for multiple domains]
[sunil: Minor refactoring for more concise code]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2026-02-02 13:07:53 -08:00
Sunil Mohan Adapa f4b1eb23ac wireguard: Remove NM connections when app is uninstalled
Tests:

- Install WireGuard and start the server. Uninstall the app and re-install.
Without the patch, the connection remain after uninstall. With the patch, the
connections are removed after uninstall and return to pristine state after
re-install.

- Functional tests succeed.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2026-02-01 08:37:18 -05:00
Frederico Gomes b0a841c63a wireguard: Show next available client IP in Add Client form
Display the next available IP address that will be
automatically assigned when adding a new client.

Helps admins know what client IP to provide when configuring client
connections back to this server.

Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com>
[sunil: Turn the IP address styling into a form element]
[sunil: Update the comment style for consistency]
[sunil: Update the label for clarity]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2026-01-28 13:05:51 -08:00
Ettore Atalan e3b893277c Translated using Weblate (German)
Currently translated at 99.2% (1865 of 1880 strings)
2026-01-25 15:02:39 +01:00
James Valleroy 0614b5e509 wireguard: Update functional tests to handle Start Server button
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2026-01-21 20:47:21 -05:00
Frederico Gomes 53f7c75d8e wireguard: add 'Start Server' button with confirmation page
Adds explicit UI flow to generate server keypair and interface.

- New EnableServerView
- Conditional 'Start Server' button on main page when no wg0
- Button switches to 'Add Client' after server setup

Solves circular dependency UX issue when connecting two FBs

EDIT: Following review feedback, I removed the intermediate
confirmation page.
The “Start WireGuard Server” button now sends a POST
directly from the main page.

Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
[jvalleroy: Change from TemplateView to View]
[jvalleroy: Remove redundant import]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2026-01-21 20:19:46 -05:00
James Valleroy 8276ab64ea Release v26.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2026-01-20 20:27:13 -05:00
Pierfrancesco Passerini 935f5680fb Translated using Weblate (Italian)
Currently translated at 100.0% (1880 of 1880 strings)
2026-01-16 22:32:25 +01:00
Pierfrancesco Passerini d81bc9fdf2 Translated using Weblate (Italian)
Currently translated at 100.0% (1880 of 1880 strings)
2026-01-16 22:14:58 +01:00
Pierfrancesco Passerini 39634713be Translated using Weblate (Italian)
Currently translated at 100.0% (1880 of 1880 strings)
2026-01-16 21:45:28 +01:00
Pierfrancesco Passerini ca4ebf8c68 Translated using Weblate (Italian)
Currently translated at 100.0% (1880 of 1880 strings)
2026-01-16 19:38:33 +01:00
Pierfrancesco Passerini 251704fa7d Translated using Weblate (Italian)
Currently translated at 97.3% (1830 of 1880 strings)
2026-01-15 21:49:10 +01:00
Pierfrancesco Passerini 56f8f6ed2a Translated using Weblate (Italian)
Currently translated at 97.3% (1830 of 1880 strings)
2026-01-15 21:31:22 +01:00
Pierfrancesco Passerini a0f7966ef4 Translated using Weblate (Italian)
Currently translated at 97.3% (1830 of 1880 strings)
2026-01-15 20:56:47 +01:00
Pierfrancesco Passerini 309791a1c4 Translated using Weblate (Italian)
Currently translated at 90.1% (1695 of 1880 strings)
2026-01-14 19:19:04 +01:00
Pierfrancesco Passerini 318a636ef1 Translated using Weblate (Italian)
Currently translated at 83.2% (1565 of 1880 strings)
2026-01-14 13:23:31 +01:00
Pierfrancesco Passerini 9621b40802 Translated using Weblate (Italian)
Currently translated at 82.3% (1548 of 1880 strings)
2026-01-14 11:28:34 +01:00
Pierfrancesco Passerini 04610a6e94 Translated using Weblate (Italian)
Currently translated at 80.0% (1505 of 1880 strings)
2026-01-14 09:58:43 +01:00
Pierfrancesco Passerini f98479469e Translated using Weblate (Italian)
Currently translated at 77.3% (1454 of 1880 strings)
2026-01-13 19:32:57 +01:00
Pierfrancesco Passerini 4135745e09 Translated using Weblate (Italian)
Currently translated at 74.5% (1402 of 1880 strings)
2026-01-13 09:32:30 +01:00
Pierfrancesco Passerini 017c660fa2 Translated using Weblate (Italian)
Currently translated at 73.6% (1384 of 1880 strings)
2026-01-12 18:01:52 +01:00
Joseph Nuthalapati 958ac2e0a5 gitweb: Fix deleting last repo disables app
GitWeb requires authenticated access if there are no public
repositories left.

1. Create a public repository
2. Delete the repository (i.e. delete the last/only repository)
3. GitWeb app shows as disabled, but is still usable
4. If another repository is created, the app becomes enabled again

Not considering the component GitwebWebserverAuth when determining
whether the app is enabled or disabled.

This commit fixes the status shown in the configuration page, but keeps
the authentication requirement if there are no public repositories.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2026-01-12 11:10:14 +02:00
Pierfrancesco Passerini 54e0ead0e0 Translated using Weblate (Italian)
Currently translated at 68.3% (1285 of 1880 strings)
2026-01-11 17:30:12 +01:00
Pierfrancesco Passerini bd42bae464 Translated using Weblate (Italian)
Currently translated at 67.8% (1275 of 1880 strings)
2026-01-11 16:41:28 +01:00
Pierfrancesco Passerini 72da938b8d Translated using Weblate (Italian)
Currently translated at 61.0% (1148 of 1880 strings)
2026-01-11 09:53:00 +00:00
Priit Jõerüüt 72c37e5209 Translated using Weblate (Estonian)
Currently translated at 19.7% (372 of 1880 strings)
2026-01-09 21:01:46 +01:00
Pierfrancesco Passerini b377f94f77 Translated using Weblate (Italian)
Currently translated at 60.0% (1129 of 1880 strings)
2026-01-08 14:01:50 +00:00
Priit Jõerüüt 75e2c17089 Translated using Weblate (Estonian)
Currently translated at 18.4% (346 of 1880 strings)
2026-01-08 14:01:48 +00:00
Pierfrancesco Passerini ae9b37d561 Translated using Weblate (Italian)
Currently translated at 59.3% (1115 of 1880 strings)
2026-01-07 13:01:51 +00:00
James Valleroy fceb6967e6 Release v26.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2026-01-05 20:24:20 -05:00
Pierfrancesco Passerini 710b180ca1 Translated using Weblate (Italian)
Currently translated at 59.4% (1118 of 1880 strings)
2026-01-02 17:01:48 +01:00
Pierfrancesco Passerini 2e6265bc23 Translated using Weblate (Italian)
Currently translated at 59.4% (1117 of 1880 strings)
2025-12-26 16:00:20 +01:00
Priit Jõerüüt 2895afbd34 Translated using Weblate (Estonian)
Currently translated at 18.4% (346 of 1880 strings)
2025-12-22 17:03:28 +01:00
Pierfrancesco Passerini d9ff6ba707 Translated using Weblate (Italian)
Currently translated at 59.4% (1118 of 1880 strings)
2025-12-22 17:03:26 +01:00
大王叫我来巡山 81d1249eae Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 61.4% (1155 of 1880 strings)
2025-12-21 10:00:25 +00:00
Priit Jõerüüt 8f31f38859 Translated using Weblate (Estonian)
Currently translated at 15.4% (290 of 1880 strings)
2025-12-21 10:00:23 +00:00
Ettore Atalan ae00a0e17a Translated using Weblate (German)
Currently translated at 98.8% (1859 of 1880 strings)
2025-12-21 10:00:20 +00:00
Coucouf 4b270ae57c Translated using Weblate (French)
Currently translated at 100.0% (1880 of 1880 strings)
2025-12-19 21:00:25 +01:00
OwlGale 8c5410271e Translated using Weblate (Russian)
Currently translated at 100.0% (1880 of 1880 strings)
2025-12-19 21:00:23 +01:00
Dietmar 670a7032b1 Translated using Weblate (German)
Currently translated at 98.7% (1857 of 1880 strings)
2025-12-19 21:00:22 +01:00