Commit Graph

243 Commits

Author SHA1 Message Date
Aarnav Tale
1b45b0917f
fix: handle headscale unavailability gracefully 2025-01-17 11:45:36 +00:00
Aarnav Tale
e01fd8d50c
fix: handle undefined websocket in context 2025-01-17 08:34:19 +00:00
Aarnav Tale
f464c42802
fix: format hostinfo in overview correctly 2025-01-10 14:41:05 +05:30
Aarnav Tale
39546849ae
fix: mix cached and uncached data on the ws-agent 2025-01-10 14:24:15 +05:30
Aarnav Tale
eb922c9318
fix: implement write-lock for agent cache 2025-01-10 14:06:22 +05:30
Aarnav Tale
5569ba4660
feat: rework oidc to be more resilient
This includes setting a custom redirect URI, handling errors, and using a better library.
As an API decision I've also disabled per session API keys as it clutters up too much.
2025-01-10 13:55:24 +05:30
Aarnav Tale
dfd03e77bb
fix: use headscale health route for healthz 2025-01-10 10:55:35 +05:30
Aarnav Tale
e33504016b
feat: integrate hostinfo into ui 2025-01-08 14:34:53 +05:30
Aarnav Tale
7d4da73141
fix: relax config requirement for paths by using nullish 2025-01-06 08:49:26 +05:30
Aarnav Tale
1316439786
fix: read aggregate and error cause bubbles 2025-01-06 08:47:24 +05:30
Aarnav Tale
888c1a5fb6
fix: resolve css issues with button icons 2025-01-06 08:39:15 +05:30
Aarnav Tale
328302cd81
fix: show toasts above the footer 2025-01-06 08:35:25 +05:30
Aarnav Tale
b060700dfe
fix: blur footer URL for screenshots 2025-01-06 08:31:49 +05:30
Aarnav Tale
69783f0d05
chore: re-stage entry files 2025-01-06 08:19:41 +05:30
Aarnav Tale
55c832c536
feat: do partial client method validation 2025-01-06 08:19:41 +05:30
Aarnav Tale
fc5028994a
chore: remove old import for fs-routes 2025-01-06 08:19:41 +05:30
Aarnav Tale
6745ee8529
fix: resolve type errors and lint components/routes 2025-01-06 08:19:41 +05:30
Aarnav Tale
7217659720
fix: prevent cookie manager from racing env init
this fixes a bug where using LOAD_ENV_FILE did not work with COOKIE_SECRET
2025-01-06 08:19:40 +05:30
Aarnav Tale
a4bb3cce5f
feat: fix build scripts and server 2025-01-06 08:19:40 +05:30
Aarnav Tale
f3c9d8b54c
style: run biome lint 2025-01-06 08:19:40 +05:30
Aarnav Tale
aa9872a45b
chore: switch to react-router v7 2025-01-06 08:19:40 +05:30
Artur Motyka
39504e2487
chore: update outdated docs links (#74) 2025-01-03 10:31:12 +05:30
Aarnav Tale
6156d78907
feat: add ws server for agent 2024-12-30 13:48:18 +05:30
Aarnav Tale
6cf343d623
feat: refactor all dashboard routes 2024-12-08 13:52:02 -05:00
Aarnav Tale
50e43bc0c3
feat: refactor/reorganize auth routes 2024-12-08 13:27:51 -05:00
Aarnav Tale
b80bb0cc09
fix: await testOidc 2024-12-06 19:29:44 -05:00
Aarnav Tale
f9b38939ba
chore: add border for footer 2024-12-06 19:06:27 -05:00
Aarnav Tale
e713dae91b
fix: validate and respect oidc validation settings 2024-12-06 19:05:07 -05:00
Aarnav Tale
401731fd09
fix: allow generating higher expiring preauthkeys 2024-12-06 18:37:17 -05:00
Aarnav Tale
f623e7bc66
feat: enable all remix future flags 2024-12-06 11:58:17 -05:00
Aarnav Tale
21778a43f1
feat: add footer with version and donate link 2024-12-05 02:33:17 -05:00
Aarnav Tale
712fc28683
feat: allow a public headscale URL separate from the main one 2024-11-30 15:33:58 -05:00
Aarnav Tale
320dab1d4f
fix: join children in copyable codeblock 2024-11-30 15:05:07 -05:00
Aarnav Tale
da0ee1382b
feat: allow setting OIDC_CLIENT_SECRET_METHOD 2024-11-30 15:00:51 -05:00
Aarnav Tale
a7d127c7bf
feat: add health check route 2024-11-27 11:23:42 -05:00
Aarnav Tale
8aad883c21
fix: make selects scrollable 2024-11-20 18:13:49 -05:00
Aarnav Tale
3cd28d2136
feat: make the code snippets copyable 2024-11-20 18:01:20 -05:00
Aarnav Tale
feb8b8bba5
chore: remove logging on expected errors 2024-11-08 12:04:24 -05:00
Aarnav Tale
d369e36fa4
fix: potentially catch undefined bearer errors 2024-11-07 13:08:43 -05:00
Aarnav Tale
a2e659f36c
feat(TALE-36): redesign machines page to account for exit nodes 2024-11-07 13:04:53 -05:00
Aarnav Tale
1490406784
feat(TALE-36): show exit node status on machine page 2024-11-06 17:01:36 -05:00
Aarnav Tale
e1c87412d4
feat(TALE-36): support exit node enabling/disabling 2024-11-06 16:48:14 -05:00
Aarnav Tale
6e55f442fd
fix: make the last acl tag removable on machines 2024-11-06 16:10:39 -05:00
Aarnav Tale
09e1b1f261
fix: address a bug that prevented remove split dns records 2024-11-06 15:57:43 -05:00
Aarnav Tale
12754bd0aa
fix: resolve type errors across the codebase 2024-11-04 18:13:10 -05:00
Aarnav Tale
10bb4eba97
fix: skip loading env file if context is loaded 2024-11-04 18:00:50 -05:00
Aarnav Tale
13a734923d
feat: ditch remix-serve for custom-baked server 2024-11-04 18:00:35 -05:00
Aarnav Tale
d5ee8ae0f3
fix: clicking a machine name in users page redirects 2024-11-04 14:59:13 -05:00
Aarnav Tale
a8abd37e3a
fix: handle errors and fix api logic with acl updating 2024-10-27 13:10:32 -04:00
Aarnav Tale
d1fa76971b
feat: switch back to codemirror with jsonc support 2024-10-22 00:41:44 -04:00
Aarnav Tale
a9e8394dec
fix: do not pass the text value as a form field
This fixes an issue where on ephemeral key creation, it would fail due to localized dates
2024-10-20 18:34:43 -04:00
Aarnav Tale
9dafd8e8b0
feat: load from dotenv if specified 2024-10-16 23:07:41 -04:00
Václav Šmejkal
0c1f6969da
feat: hide api key on login page (#39) 2024-10-16 13:23:02 -04:00
Aarnav Tale
4214e14ba8
chore: reorganize machines page to prep for routing data 2024-10-13 00:32:21 -04:00
Aarnav Tale
9e21823163
chore: mention that settings is incomplete 2024-10-11 03:04:45 -04:00
Aarnav Tale
aa7e2a3128
feat(TALE-35): implement pre-auth key management 2024-10-11 03:02:33 -04:00
Aarnav Tale
ecef45c98a
fix(TALE-35): use the correct machine registry endpoint 2024-10-10 11:12:35 -04:00
Aarnav Tale
d165264876
fix: handle nullable expiry values from a db 2024-10-10 10:41:41 -04:00
Aarnav Tale
dd479d4117
fix: remove older references to magic_dns via usernames 2024-10-10 10:03:43 -04:00
Akira Yamazaki
29d91785fb
fix: build oidc callback url in a more proper way (#28) 2024-10-07 23:23:31 -04:00
Aarnav Tale
1555846df2
fix(TALE-34): use the http coded URL for socket 2024-10-03 15:15:56 -04:00
Aarnav Tale
e8c1cadf54
feat(TALE-35): add initial machine key authorization 2024-10-03 11:58:05 -04:00
Aarnav Tale
1d6066d3f0
feat(TALE-33): add debug logging with DEBUG env 2024-10-02 13:33:39 -04:00
Aarnav Tale
1d821251a9
fix(TALE-34): setting url.protocol does not work anymore 2024-10-02 12:59:42 -04:00
Aarnav Tale
58e98278d1
chore: support dns use_username_in_magic_dns config 2024-09-25 16:22:00 -04:00
Aarnav Tale
ea2ffdf0c1
feat: support removing config values via null 2024-08-24 10:33:30 -04:00
Aarnav Tale
690b52d8c6
chore(TALE-29): remove acl from integration/context 2024-08-24 10:19:07 -04:00
Aarnav Tale
a72a3d6e5f
chore(TALE-29): remove references to ACL_FILE 2024-08-24 10:19:06 -04:00
Akira Yamazaki
c4c1fd8aab
feat: make secure flag of cookie configurable (#26) 2024-08-24 10:18:38 -04:00
Aarnav Tale
9801ef453d
fix(TALE-29): remove all old ACL_FILE handling
No longer required if the minimum is beta2
2024-08-23 16:12:46 -04:00
Aarnav Tale
a2054786f8
fix(TALE-31): use oidc variables first over config 2024-08-23 15:12:53 -04:00
Aarnav Tale
5a46fd0a97
feat(TALE-30): add support for new DNS configs
This is a breaking change to support 0.23-beta2
2024-08-22 16:55:05 -04:00
Aarnav Tale
b8999161a2
feat(TALE-29): handle no ACL configurations being available 2024-08-04 17:30:41 -04:00
Aarnav Tale
75ba3a3dc7
feat(TALE-29): support the headscale policy api changes 2024-08-04 11:32:29 -04:00
Aarnav Tale
b170e11dd6
fix(TALE-7): don't destructure context otherwise it won't set properly 2024-08-02 16:14:05 -04:00
Aarnav Tale
6b278309ed
fix(TALE-7): use the new integration methods in the code 2024-07-10 19:38:44 -04:00
Aarnav Tale
ea8ecfb28f
chore: use new logger 2024-07-10 19:36:13 -04:00
Aarnav Tale
099bd3bcb8
feat(TALE-7): add proper integration logging 2024-07-10 19:26:59 -04:00
Aarnav Tale
0aa0406ea6
feat(TALE-7): reimplement integration system 2024-07-09 22:53:00 -04:00
Aarnav Tale
3cc726320a
fix(TALE-5): remove deployment check and only use pod spec 2024-07-08 14:40:38 -04:00
Aarnav Tale
6d411853d5
feat(TALE-5): implement k8s integration 2024-07-08 13:23:53 -04:00
Aarnav Tale
dc4d05a2d9
fix: filter out undefined proc pids 2024-07-08 01:17:28 -04:00
Aarnav Tale
c60652e39f
fix(TALE-4): prevent duplicate ACL tags from being added 2024-07-07 14:57:16 -04:00
Aarnav Tale
1db385e716
chore(TALE-11): remove unnecessary component in dns 2024-07-07 14:53:16 -04:00
Aarnav Tale
ab0cb7b782
feat(TALE-11): support custom DNS records 2024-07-07 14:52:47 -04:00
Aarnav Tale
fd73832879
fix: use acl diff editor and make discard button work 2024-07-07 14:28:28 -04:00
Aarnav Tale
7804d83181
feat(TALE-4): make acl tags editable from the menu 2024-07-07 14:20:39 -04:00
Aarnav Tale
d71e55d7af
feat(TALE-10): edit machine owner via dropdown 2024-06-23 17:25:33 -04:00
Aarnav Tale
ddd20fe027
feat: create select component 2024-06-23 17:25:22 -04:00
Aarnav Tale
dca5f9d149
fix(TALE-6): make menu dropdown actions available on machines page 2024-06-23 01:05:03 -04:00
Aarnav Tale
be8ce7a2fe
fix: set defaults with HEADSCALE_UNSTRICT 2024-06-18 23:59:06 -04:00
Aarnav Tale
08db192db1
fix: use magic domain for machine domain attribute 2024-06-03 22:43:38 -04:00
Aarnav Tale
3ea5fed8f6
fix: support jsonc comments and switch to monaco for acls 2024-06-02 22:40:23 -04:00
Aarnav Tale
2797525969
fix: expired check 2.0? 2024-06-02 14:03:25 -04:00
Aarnav Tale
3bd5cc99aa
fix: handle 0001-01-01 00:00:00 as the no-expiry timestamp 2024-06-02 01:37:31 -04:00
Aarnav Tale
937fa6f6fa
fix: use proper route ids for key mapping 2024-06-02 01:34:58 -04:00
Aarnav Tale
3ffbabd7fc
feat: add functional machine overview page and fix types 2024-06-02 01:33:40 -04:00
Aarnav Tale
c08203cc76
fix: prevent user deletion if they have machines owned 2024-06-02 00:54:20 -04:00
Aarnav Tale
98ea2cb06f
feat: add a way to escape hatch from strict config checking 2024-05-30 10:41:40 -04:00
Aarnav Tale
868d85bbeb
chore: log about context loading 2024-05-30 10:28:37 -04:00