Commit graph

59 commits

Author SHA1 Message Date
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
Aarnav Tale
8cb91cd45b
feat: overhaul hp_agent lifecycle handling
* Added backoff and liveness probes for better management
* Switched IPC to a simple text based system
* Lookups don't directly touch the agent now
* Use the database as a source of truth
2025-08-19 00:10:06 -04:00
Aarnav Tale
a4a037ed68
feat: update to rolldown-vite and typescript-go 2025-08-18 16:42:29 -04:00
Igor Ramazanov
8a9235836a fix: agent inherits UID/GID from the parent process 2025-08-05 13:16:02 -04:00
Igor Ramazanov
344901d38c fix: debug log level when searching for a Headscale process 2025-08-05 13:16:02 -04:00
Erik Parawell
5cfd9e411b Implement path loading
Got the build working

Maybe actually fix builds

Copy drizzle as well
2025-08-05 13:15:03 -04:00
Aarnav Tale
f990670e86
Merge remote-tracking branch 'origin/main' into next 2025-06-22 17:59:03 -04:00
Peder 'hayer' Husom
0344f17887 Proc mode: try to guess PID based on PPID when multiple found 2025-06-22 17:57:52 -04:00
Aarnav Tale
87b8d64bcc
feat: reintroduce missing local dns override (fixes #236) 2025-06-21 13:54:33 -04:00
Aarnav Tale
1150d1616e
fix: support user input when not specified for ssh 2025-06-20 20:09:28 -04:00
Aarnav Tale
73f0a0d273
fix: use distroless and fix build 2025-06-20 11:32:27 -04:00
Aarnav Tale
71f130ede5
feat: switch to libsql since its esm friendly 2025-06-20 10:36:29 -04:00
Aarnav Tale
b18147fa82
feat: cleanup removal of old ssh plexer and logic
we also have added the necessary logic to auto prune ephemeral nodes because
headscale doesn't seem to automatically remove them. this change made use of a database
which is now stored in the persistent headplane directory.
2025-06-20 00:14:00 -04:00
Aarnav Tale
ccde3513dc
feat: support resizing and other xterm.js addons 2025-06-16 11:45:00 -04:00
Aarnav Tale
cb32637938
feat: add xterm frontend ui 2025-06-16 11:44:59 -04:00
Aarnav Tale
55eacb59e9
feat: expand frame type to support stdout/stderr chan 2025-06-16 11:44:59 -04:00
Aarnav Tale
7dfcbef774
feat: initial webssh tooling 2025-06-16 11:44:59 -04:00
Aarnav Tale
2f316176c8
fix: use /proc/pid/comm to check commands 2025-05-29 12:05:30 -04:00
Aarnav Tale
59525b7b63
feat: upgrade to kubernetes client 1.x 2025-05-29 11:55:30 -04:00
Aarnav Tale
cc0c7fa61d fix: i am stupid 2025-05-25 11:02:19 -04:00
Aarnav Tale
d25e5fd883 fix: properly support default/fallback in arktype 2025-05-25 11:02:19 -04:00
Aarnav Tale
0276a500c7 fix: attempt to auto create agent work_dir if missing 2025-05-25 11:02:19 -04:00
Aarnav Tale
662c38ea44 fix: handle newlines in provided secret paths 2025-05-25 11:02:19 -04:00
Aarnav Tale
59b32c0842 fix: resolve kubernetes import issue 2025-05-25 11:02:19 -04:00
Aarnav Tale
f56d4e9d9f chore: tighten pid logic 2025-05-25 11:02:19 -04:00
Giorgi Lekveishvili
602e55a94d fix: indentation 2025-05-25 11:02:19 -04:00
Giorgi Lekveishvili
5e60ac1208 fix: improve headscale proc detection
Check if command line also includes 'serve'.
Move command line processing logic into a helper function.
2025-05-25 11:02:19 -04:00
Aarnav Tale
b1da29b2fb chore: use single string docker labels 2025-05-25 11:02:19 -04:00
Aarnav Tale
39d6602263 fix: use descriptive error messages 2025-05-25 11:02:19 -04:00
Aarnav Tale
129e4f648b fix: when not using dns_records_path, use config dns editor 2025-05-25 11:02:19 -04:00
Aarnav Tale
2a4d23d70f fix: extra_records should be optional 2025-05-25 11:02:19 -04:00
Aarnav Tale
021ecabd3c feat: add support for extra_records_path in hs config 2025-05-25 11:02:19 -04:00
Aarnav Tale
c9874966d2 fix: make docker container name optional 2025-05-25 11:02:19 -04:00
Aarnav Tale
8c01fcfe89 fix: only return queried machines from an agent 2025-05-25 11:02:19 -04:00
Aarnav Tale
c5e6a6c407 feat: switch away from websocket to stdout messaging for agent 2025-05-25 11:02:19 -04:00
Aarnav Tale
169a7b14d0 feat: support oidc restriction management in the settings 2025-05-25 11:02:19 -04:00
Aarnav Tale
3a5ab68432
chore: defer the path based config loading till 0.6.1. (#223) 2025-05-23 10:46:14 -04:00
Erik Parawell
8ea8c7195f Implement path-based secret loading 2025-05-19 16:38:35 -04:00
George Ntoutsos
faa61b0f1d
feat: add filtering by container label for Docker integration (#194) 2025-04-24 19:03:33 -04:00
Aarnav Tale
69c6fc4847
chore: v0.5.8 2025-04-03 13:11:33 -04:00
Aarnav Tale
63bfad77ce fix: add api-error file 2025-04-03 12:57:06 -04:00
Aarnav Tale
6a94e815f2 feat: improve error returning and parsing logic 2025-04-03 12:57:06 -04:00
Aarnav Tale
1fb084451d fix: fix integrations not loading 2025-04-03 12:57:06 -04:00
Aarnav Tale
d5fb8a2966 feat: support skipping onboarding 2025-04-03 12:57:06 -04:00
Aarnav Tale
7d61ad50c4 feat: oops commit the user role change page 2025-04-03 12:57:06 -04:00
Aarnav Tale
d698cf5478
fix: open file in a+ to avoid read issues 2025-04-02 13:40:01 -04:00
Aarnav Tale
80c987f383
feat: implement onboarding for non-registered users 2025-04-02 13:26:58 -04:00
Aarnav Tale
5e5c7c4c7a
fix: remove unreleased feature and ignore invalid keys in config 2025-04-02 10:16:34 -04:00
Aarnav Tale
bf02015dc7
feat: begin working on user auth 2025-03-29 14:12:15 -04:00
Aarnav Tale
222ac7a279
chore: make prefixes.v4/6 optional 2025-03-27 12:20:47 -04:00