Commit Graph

322 Commits

Author SHA1 Message Date
Aarnav Tale
287ac2dff0
feat: unify all colors 2025-02-04 17:21:03 -05:00
Aarnav Tale
d1f6c450c0
feat: remove react-aria-components 2025-02-04 11:42:57 -05:00
Aarnav Tale
0a14533756
fix: copyable code cannot be a button 2025-02-04 11:39:17 -05:00
Aarnav Tale
347c6698ee
chore: fix aria label warnings 2025-02-04 11:27:29 -05:00
Aarnav Tale
771b87ae41
chore: only invoke useLiveData in root 2025-02-02 00:54:42 -05:00
Aarnav Tale
31ac25d510
feat: redesign code and attribute 2025-02-01 18:11:33 -05:00
Aarnav Tale
68babd7fe9
feat: redesign tooltips 2025-02-01 15:28:04 -05:00
Aarnav Tale
c9d8052e39
chore: remove cn non-default exports 2025-01-28 17:46:16 -05:00
Aarnav Tale
843cfc4d4f
chore: fix build issues 2025-01-28 16:18:51 -05:00
Aarnav Tale
2c8880c84d
feat: switch to new toast provider 2025-01-28 16:06:41 -05:00
Aarnav Tale
a19eb6bcda
feat: add new menu 2025-01-28 16:04:42 -05:00
Aarnav Tale
28e40eecbf
fix: switch to new aria components 2025-01-28 16:02:47 -05:00
Aarnav Tale
741f9aa6b5
feat: switch to new dialog across all code 2025-01-26 15:04:13 -05:00
Aarnav Tale
0f75636342
feat: add react-scan in dev 2025-01-25 12:51:32 -05:00
Aarnav Tale
665509e710
chore: extract tags to shared chip component 2025-01-23 11:28:42 -05:00
Aarnav Tale
ac937f9014
fix: dedupe machine tags 2025-01-23 11:16:56 -05:00
Aarnav Tale
c24cd34925
feat: switch to new dialog gutter 2025-01-20 08:14:42 +00:00
Aarnav Tale
af248df648
feat: redesign buttons and share them in dialogs 2025-01-19 17:31:46 +00:00
Aarnav Tale
ec36876b9f
feat: begin redesign and component unification 2025-01-19 15:24:03 +00:00
Aarnav Tale
fd506ba474
feat: redesign header and footer 2025-01-18 18:42:49 +00:00
Aarnav Tale
9734f0c704
chore: remove old username in dns option 2025-01-18 13:22:43 +00:00
Aarnav Tale
bd11453593
fix: store oidc redirect_uri in session for parity 2025-01-18 08:18:19 +00:00
kevinf100
9bb20024fa
fix: Reusable Pre-Auth Keys no longer show expired when used (#88) 2025-01-18 07:48:50 +00:00
Aarnav Tale
698122068d
fix: center user icon in profile 2025-01-18 07:48:05 +00:00
Aarnav Tale
e6a66d5804
fix: don't propagate errors on user page to root 2025-01-18 07:41:08 +00:00
Aarnav Tale
d524f927a4
fix: don't throw when session manager isn't available 2025-01-18 07:39:12 +00:00
Aarnav Tale
539c76dfb3
chore: switch to shared healtcheck func 2025-01-18 07:38:55 +00:00
Aarnav Tale
325e9ba43d
chore: push disabled local-agent code 2025-01-18 07:37:03 +00:00
Aarnav Tale
de9a938da2
chore: use healthcheck method in healthz 2025-01-17 11:46:36 +00:00
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
Aarnav Tale
72cc9d8974
fix: flexible duration and go boolean handling 2024-05-30 10:20:41 -04:00
Aarnav Tale
ed50c48965
fix: handle configs better and propagate errors 2024-05-30 10:15:02 -04:00
Aarnav Tale
e19dbda5ed
fix: headscale expiry can be a literal 0 2024-05-26 19:41:56 -04:00
Aarnav Tale
f0e4868252
feat: configure support for generic integrations
Co-authored-by: Gage Orsburn <gageorsburn@live.com>
2024-05-26 19:23:24 -04:00
Aarnav Tale
c7e59b137c
docs: solidify DOCKER_SOCK and ROOT_API_KEY usage 2024-05-22 12:43:42 -04:00
Aarnav Tale
694b22f205
style: cleanup oidc spaghetti 2024-05-21 23:57:03 -04:00
Aarnav Tale
6bea3b2a55
fix: user grid on mobile should be full width 2024-05-21 17:23:33 -04:00
Aarnav Tale
2ee1adf142
chore: delete entry files because they aren't modified 2024-05-21 17:22:11 -04:00
Aarnav Tale
06d7d1ccad
feat: add support for split dns 2024-05-21 17:21:14 -04:00
Aarnav Tale
6794b1b2dd
fix: don't log the context 2024-05-20 14:06:38 -04:00
Aarnav Tale
a6582ef835
fix: button responders on acl page never worked 2024-05-20 14:05:27 -04:00
Aarnav Tale
3e51e4861d
feat: use strictly typed configs and context 2024-05-20 14:05:09 -04:00
Aarnav Tale
0a12cdb3d6
fix: call button onPress even without state handler 2024-05-20 14:02:04 -04:00
Aarnav Tale
78698dcbba
fix: DISABLE_API_KEY_LOGIN should only work when set to true 2024-05-19 19:15:29 -04:00
Aarnav Tale
260fb870e1
fix: when renaming users start with old names 2024-05-15 23:46:15 -04:00
Aarnav Tale
2f02ccc362
style: eslint changes 2024-05-15 21:54:40 -04:00
Aarnav Tale
e7c6271322
chore: cleanup login page 2024-05-15 21:54:02 -04:00
Aarnav Tale
3deec75715
fix: Promise.all on concurrent promises 2024-05-15 21:53:39 -04:00
Aarnav Tale
18999357a8
fix: return the revalidator in useLiveData 2024-05-15 21:53:12 -04:00
Aarnav Tale
e6eba645c4
feat: implement complete user control 2024-05-15 21:52:19 -04:00
Aarnav Tale
f563335fab
feat: add loading indicator 2024-05-11 23:07:24 -04:00