Commit Graph

292 Commits

Author SHA1 Message Date
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
Aarnav Tale
6102fabfcb
fix: add fallback values from the config 2024-05-11 23:07:06 -04:00
Aarnav Tale
87430ccf7b
feat: continue moving older components to aria 2024-05-05 23:38:41 -04:00
Aarnav Tale
ee42016a67
fix: patch @react-aria/overlays to support scroll gutter 2024-05-04 16:21:35 -04:00
Aarnav Tale
7f55ad826c
chore: add link to headscale acl faq on acl page 2024-05-04 15:04:55 -04:00
Aarnav Tale
2cc65e8783
chore: do a feature check for scrollbar-gutter-stable 2024-05-04 15:04:40 -04:00
Aarnav Tale
5ff09e44d9
feat: cleanup header and extract to component 2024-05-04 15:04:22 -04:00
Aarnav Tale
c6cdcf35eb
chore: switch from heroicons to primer icons 2024-05-04 15:03:21 -04:00
Aarnav Tale
82f5e17207
feat: add various machine operations 2024-05-01 02:47:45 -04:00
Aarnav Tale
a63f4e4d52
fix: API_KEY is no longer required for login to work 2024-05-01 02:47:36 -04:00
Aarnav Tale
a57e777a6b
feat: completely nuke headlessui and consolidate to aria 2024-05-01 02:21:54 -04:00
Aarnav Tale
8205f2b99b
feat: replace the old modal completely 2024-04-30 11:03:53 -04:00
Aarnav Tale
769556efda
fix: make the toaster click-throughable 2024-04-29 20:32:14 -04:00
Aarnav Tale
ea47bb5fec
chore: cleanup and use aria components in places 2024-04-29 20:32:00 -04:00
Aarnav Tale
3abd617a90
feat: switch to react aria and replace many components 2024-04-29 20:31:29 -04:00
Aarnav Tale
252e78d618
feat: facelift overall machines page and refactor 2024-04-22 14:33:51 -04:00
Aarnav Tale
c6930732ee
fix: oidc config variables were named incorrectly 2024-04-22 13:21:48 -04:00
Aarnav Tale
f04b17109b
fix: only sighup if we have docker 2024-04-17 17:44:12 -04:00
Aarnav Tale
0ff9e6fdc3
feat: implement better ssr fallbacks 2024-04-17 17:42:44 -04:00
Aarnav Tale
94174ebcce
feat: add dumb yaml detection 2024-04-17 17:20:35 -04:00
Aarnav Tale
b285753b24
fix: omg why do i forget these things here 2024-04-15 04:02:23 -04:00
Aarnav Tale
8eac733a5d
fix: we shouldn't return early if the env var isn't there 2024-04-15 03:52:51 -04:00
Aarnav Tale
39868b5043
feat: implement raw acl editing on the web ui 2024-04-15 03:40:52 -04:00
Aarnav Tale
ca32590e54
fix: string constructor in js causes oidc fast track 2024-04-07 14:01:38 -04:00
Aarnav Tale
6dae5d647a
chore: various fixes 2024-04-01 19:41:39 -04:00
Aarnav Tale
d787b8517e
fix: protect the restart endpoint with auth 2024-04-01 19:33:22 -04:00
Aarnav Tale
bdb00b6cd7
feat: make the modal and dropdown more workable 2024-03-31 19:06:06 -04:00
Aarnav Tale
f1347803a4
fix: logout is a button 2024-03-31 18:14:28 -04:00
Aarnav Tale
6fa27e5d28
fix: read oidc configuration from env then config 2024-03-30 19:11:13 -04:00
Aarnav Tale
78140927ad
fix: use either HEADSCALE_URL or config.server_url 2024-03-30 19:05:31 -04:00
Aarnav Tale
a47fb61549
feat: implement node removal 2024-03-30 18:58:16 -04:00
Aarnav Tale
1d9f4553eb
feat: support children in confirmation modal 2024-03-30 18:42:49 -04:00
Aarnav Tale
b146e4c3a8
feat: add confirmation modal 2024-03-30 18:39:46 -04:00
Aarnav Tale
381c3d6df4
feat: create shared dropdown component 2024-03-30 15:22:34 -04:00
Aarnav Tale
37f84cfba5
fix: use the request url protocol for oidc 2024-03-30 05:26:22 -04:00
Aarnav Tale
224621d9a5
fix: actions needs ghcr.io 2024-03-30 04:47:46 -04:00
Aarnav Tale
5c0b823c12
fix: replace chokidar with fs.watch 2024-03-30 04:20:16 -04:00
Aarnav Tale
935e015be9
feat: add loading states 2024-03-30 04:15:00 -04:00
Aarnav Tale
cc1427882f
feat: watch config file for external edits 2024-03-30 02:53:51 -04:00
Aarnav Tale
02e5e3e92a
fix: set cookie expiry to match expiry of api key 2024-03-30 02:47:42 -04:00
Aarnav Tale
196c4763e5
style: facelift the login page 2024-03-30 02:46:21 -04:00
Aarnav Tale
50bcfa9c04
feat: add logout and dropdown 2024-03-30 02:44:06 -04:00
Aarnav Tale
3f65c7e610
fix: acl path needs to be resolved 2024-03-30 01:56:06 -04:00
Aarnav Tale
4e129d527a
feat: implement context sanity checks 2024-03-30 01:51:40 -04:00
Aarnav Tale
e216d4171f
feat: support readonly config and no docker sock 2024-03-29 21:46:21 -04:00
Aarnav Tale
22b6af685a
feat: add proper error component 2024-03-29 16:14:35 -04:00
Aarnav Tale
4a1cdaa432
feat: create shared button component 2024-03-29 16:02:14 -04:00
Aarnav Tale
b5658750a9
feat: begin support for components and dark mode 2024-03-29 15:41:10 -04:00
Aarnav Tale
abb957c573
feat: restart docker container 2024-03-29 01:53:32 -04:00
Aarnav Tale
8148e242dc
fix: handle a case when headscale is unreachable 2024-03-29 00:35:15 -04:00
Aarnav Tale
27f310fb35
feat: support managing magic dns 2024-03-28 19:49:05 -04:00
Aarnav Tale
a340b3d263
fix: oops forgot to disable buttons with empty input 2024-03-28 19:45:00 -04:00
Aarnav Tale
5df9be1b8e
fix: dragging works correctly 2024-03-28 19:40:43 -04:00
Aarnav Tale
358629a93b
feat: experimental support for draggable domains 2024-03-28 18:47:28 -04:00
Aarnav Tale
e6e3110753
feat: make dns configuration editable 2024-03-28 17:27:40 -04:00
Aarnav Tale
f0c52d8a8b
feat: make the config patchable 2024-03-28 17:03:37 -04:00
Aarnav Tale
db9d08b7f3
feat: add modal to disable magic dns 2024-03-28 14:20:19 -04:00
Aarnav Tale
6d4e6ebce1
style: add bottom margin on container 2024-03-28 14:20:04 -04:00
Aarnav Tale
b129a9b006
chore: add pending page for acls 2024-03-28 14:03:25 -04:00
Aarnav Tale
4baf3d7ce7
feat: start dns page 2024-03-26 17:42:45 -04:00
Aarnav Tale
77702c1bae
chore: add new tab links 2024-03-26 17:42:35 -04:00
Aarnav Tale
cce30bd29c
feat: show node acl tags on the main screen 2024-03-26 16:55:37 -04:00
Aarnav Tale
5bb2f7dfa3
feat: add configuration loading 2024-03-26 16:55:20 -04:00
Aarnav Tale
6ec517012e
feat: add sign in via api key 2024-03-26 11:11:12 -04:00
Aarnav Tale
c62da81ea7
feat: add user page 2024-03-26 10:57:11 -04:00
Aarnav Tale
22c4b9504b
fix: nice one remix 2024-03-26 10:32:55 -04:00
Aarnav Tale
3b1f0ae6f8
feat: add machine info page 2024-03-26 09:34:57 -04:00
Aarnav Tale
b8498a9db3
fix: the error boundary shouldn't have <html> 2024-03-26 09:08:34 -04:00
Aarnav Tale
ed9cc23020
fix: handle apikey expiration errors gracefully 2024-03-26 09:04:27 -04:00
Aarnav Tale
abaf71636e
feat: add machine data 2024-03-25 18:54:04 -04:00
Aarnav Tale
58992efa2e
feat: oidc based authentication 2024-03-25 17:52:23 -04:00
Aarnav Tale
025cc4f6f1
feat: initial bootstrappy stuff 2024-03-25 17:50:58 -04:00
Aarnav Tale
70c42751e3
chore: initial commit from create-remix 2024-03-25 17:50:10 -04:00