Aarnav Tale
10278d0cc9
fix: correctly expire pre-auth-keys in 0.28.0+
2026-04-07 00:24:50 -04:00
Aarnav Tale
61e7303363
fix: handle URI components in provider ID
2026-04-06 21:19:27 -04:00
Aarnav Tale
4cd0c1e206
fix: use headscale.api_key where possible
2026-04-03 16:34:50 -04:00
Aarnav Tale
30bbcbab2a
feat: separate code snippets and code blocks for copyable snippets
2026-03-26 12:57:30 -04:00
Aarnav Tale
7403ebea06
feat: switch form fields to base-ui
2026-03-19 12:35:25 -04:00
Aarnav Tale
941971b8c7
feat: replace button and toast provider with base-ui
2026-03-19 12:35:24 -04:00
Aarnav Tale
8f6fe05c83
fix: actually fix type errors
2026-03-16 23:41:09 -04:00
Aarnav Tale
25dc09e025
perf: switch to SSE dispatched changes
...
Previously we would use naive revalidators which would invalidate EVERY
SINGLE action loader every 3 seconds, resulting in several fetches. It
would also bubble fetches across the layout actions into the individual
pages.
This new approach selectively has live stores of resources which then
poll for changes on the server side and then dispatches updates to the
client via a new /events/live SSE endpoint.
2026-03-16 23:32:06 -04:00
Aarnav Tale
27f8fa0b42
feat: swap button and decompose dialog components
2026-03-16 23:32:05 -04:00
Aarnav Tale
6470f5a821
feat: refactor several components and clean up ui
2026-03-09 22:09:58 -04:00
Aarnav Tale
a53fd31d27
chore: combine link usage
2026-03-09 13:56:03 -04:00
Aarnav Tale
0ce411e92b
feat: switch to mist color from tailwind
2026-03-08 23:48:03 -04:00
Aarnav Tale
0f8e192b5c
feat: initial auth rework
2026-03-07 17:10:34 -05:00
Aarnav Tale
f4a2811afb
chore: general cleanup/pr improvements
2026-03-07 15:12:50 -05:00
drifterza
1462016a39
Add self-service pre-auth keys for auditor role
...
Closes #453
2026-02-27 12:21:16 +02:00
drifterza
624b9ab479
list all preauth keys without user filter
...
headscale 0.28 added GET /v1/preauthkey without a user param
which returns all keys including tag-only ones. this change
adds getAllPreAuthKeys() and uses it when available, falling
back to per-user fetching on older versions.
the UI now handles keys where user is null, showing them as
Tag Only in the filter dropdown.
closes #432
Amp-Thread-ID: https://ampcode.com/threads/T-019c9861-2d45-73ef-ab94-5fce62f63670
Co-authored-by: Amp <amp@ampcode.com >
2026-02-26 00:40:31 -05:00
Aarnav Tale
dde72ae4ed
Merge pull request #465 from drifterza/feature/preauth-key-tags
2026-02-26 00:04:02 -05:00
drifterza
4f59f4c77b
Add user utility functions and tests for OIDC user filtering
2026-02-24 19:05:45 +02:00
drifterza
20297c6800
fix pre-auth keys not showing for oidc users without username
2026-02-24 18:40:09 +02:00
drifterza
c96249f41e
add tag-only preauth keys for headscale 0.28
...
allows creating keys with acl tags but no user
2026-02-24 10:25:51 +02:00
Aarnav Tale
0b8ae8fa2d
feat: fix pre-auth-key dialog to be usable again
2026-02-08 11:09:03 -05:00
Aarnav Tale
444b2325fb
feat: fix acl api logic to work correctly
2025-11-04 23:51:36 -05:00
Aarnav Tale
9183f805a6
chore: type fixes
2025-08-21 11:50:04 -04:00
Aarnav Tale
82f6294499
Merge branch 'main' into next
2025-08-20 15:14:17 -04:00
Aarnav Tale
d2c4f5eb2b
feat: completely overhaul the auth model
...
* Cookies are now encrypted JWTs (GHSA-wrqq-v7qw-r5w7)
* Authentication is stored in the SQLite database (auto-migrated)
* Session logic is much cleaner
2025-08-19 17:52:16 -04:00
Domingo Dirutigliano
27b2831f00
displayName correctly integrated
2025-07-14 07:54:18 -04:00
Domingo Dirutigliano
ad469129bc
fix display name
2025-07-14 07:54:18 -04:00
Aarnav Tale
d6fbc3b5ad
fix: use corrected user ids for submission fields on the api
2025-05-25 11:02:19 -04:00
Aarnav Tale
753a403aed
fix: use full users for preauthkey lookup
2025-05-25 11:02:19 -04:00
Aarnav Tale
7f5e0fe42d
fix: resolve some type errors
2025-05-25 11:02:19 -04:00
Aarnav Tale
3dca401837
feat: rework the entire pre-auth keys page
2025-05-25 11:02:19 -04:00
Aarnav Tale
785d5a663f
chore: reorganize settings code layout
2025-05-25 11:02:19 -04:00