006055cb7f
chore: add Justfile, apply clippy fixes, add frontend type checking
...
- Add Justfile with comprehensive development workflow commands (check,
lint, build, docker, etc.)
- Add @astrojs/check and typescript dependencies for frontend type
checking
2025-12-11 12:15:51 -06:00
3ba9250cca
refactor: apply clippy suggestions
2025-12-11 12:01:45 -06:00
82ac8caa88
refactor: migrate to envy for type-safe config parsing
...
Replace manual environment variable parsing with envy for structured configuration. Updates dotenv to dotenvy (maintained fork), adds dedicated Config struct with Railway-specific settings, and consolidates all environment variable access. Upgrades reqwest to 0.12.
2025-12-11 11:55:39 -06:00
280f01bb28
feat: dynamic deployment id fetching in debug mode for development
2025-08-20 18:03:05 -05:00
d20f298da5
feat: fetch builds logs for Railway on startup
2025-08-20 17:40:09 -05:00
452f663884
Add delete_download incoming message handler, add future message logging for transmit
2025-01-02 14:39:27 -06:00
7736b0694e
Fix CORS options/ordering
2025-01-02 13:46:27 -06:00
4ae4e2c64e
build_log sent with executables, use Same-Site = None in dev, partitioned cookies, CORS OPTIONS
2025-01-02 13:32:34 -06:00
dc332d954b
server: switch to hexadecimal form, use proper download token instead of session id as key, stop panicing on unavailable websocket
2024-12-23 21:10:33 -06:00
0ab8ad9660
Copy send_message result for send_state
2024-12-23 19:56:12 -06:00
bc39909f3c
Apply Session middleware to all but /notify with separate router, improve /notify key error handling
2024-12-23 19:53:26 -06:00
de3dacda77
Fix notify sending TokenAlert to incorrect session id, use 'notify' id for TokenAlert name
2024-12-23 19:36:51 -06:00
b5a5c47ece
Use query not param, anyhow for errors, websocket tx result tracing
2024-12-23 19:22:42 -06:00
61efe6c194
Add /notify route, fix filename extension generation, Message u32 id, 08x format pad
2024-12-23 19:13:22 -06:00
fc643e5223
simplify thread_rng calls
2024-12-23 18:57:03 -06:00
f98c9ccc71
Switch cookie id to u32 as well
2024-12-23 18:52:26 -06:00
0c49eacd7f
use send_state, fix sending state without tx ready, switch to u32 for download token
2024-12-23 18:50:27 -06:00
b5967ca799
Send executables initial message, use filename not path
2024-12-23 18:29:47 -06:00
697970f9db
Send session id, first message working, Session.send_message, rename buffering variables
2024-12-23 18:05:06 -06:00
ef679d2159
Fix cookie path, fix get_session_id not using depot over existing invalid cookie, add more tracing
2024-12-23 17:41:12 -06:00
d15fad4685
Use tracing for remaining println macros
2024-12-23 17:06:33 -06:00
70dc064a4c
Tracing, SessionDownload, Incoming/Outgoing message serde, Executable handling, EnvFilter
2024-12-23 16:47:31 -06:00
9a54104bdd
Add TODOs for planning
2024-12-23 14:12:48 -06:00
c0e99b5f94
log railway build logs url, add CORS & CatchPanic middleware, tx session property, ws upgrade handler
2024-12-23 12:43:40 -06:00
54ddf4496c
Use depot to ensure Cookie value is acquired, switch to chrono for datetime serialization
2024-12-22 23:03:42 -06:00
5cdee5fb93
finish porting session middleware handler, Session model & creator
2024-12-22 17:07:07 -06:00
64747ff11f
Switch to LazyLock mutex STORE state
2024-12-22 16:29:10 -06:00
0229a578de
Split rust codebase into separate files
2024-12-22 16:10:41 -06:00
c558caa901
Fix staticdir, use default index.html
2024-12-22 01:43:52 -06:00
0a45ae1dd9
Remove templating
2024-12-22 01:11:15 -06:00
29d5e5247b
Setup static folders, askama templates, switch exe_with_key to Executable impl
2024-12-22 00:36:25 -06:00
622c992bd1
Use executable name properly, switch to &str
2024-12-22 00:14:29 -06:00
ccba5a6149
Add support for multiple executables
2024-12-21 23:55:33 -06:00
042e2cf0d6
pattern search, stateful search info, clone & mutate
2024-12-21 23:40:05 -06:00
1b81adcc86
re-add PORT parsing
2024-12-21 22:41:32 -06:00
da71ab473a
Just use static 5800 port
2024-12-21 21:40:03 -06:00
cc3d1759a7
repo init, simplistic salvo hello world
2024-12-21 21:05:53 -06:00