Commit Graph

28 Commits

Author SHA1 Message Date
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