Commit Graph

86 Commits

Author SHA1 Message Date
2a2daefd8c DownloadButton progress 2025-01-02 13:33:40 -06:00
5f2dcfa5c9 build log inte gration, delete-download-token name, fix className 2025-01-02 13:33:17 -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
3de98ca7e2 class vs className 2025-01-02 10:39:30 -06:00
3e97becf67 Rename DeleteSessionToken to DeleteDownloadToken 2025-01-02 10:37:28 -06:00
e61c4715e1 Switch from preact to react 2025-01-02 10:36:58 -06:00
e8fe3e8ec9 Setup websocket reconnection logic 2025-01-01 11:21:32 -06:00
d2ec94f578 demo: Use strong binary size reduction for release profile 2024-12-23 21:14:39 -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
a4f8aa1f23 demo: separate request function, switch to 0xABCD hex form, add debug / forced token env, add port to localhost default host 2024-12-23 21:09:52 -06:00
846a9adb51 fix preact.devtools config 2024-12-23 20:24:58 -06:00
c288c52517 include const time host info for reqwest endpoint 2024-12-23 20:24:50 -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
45bd617ba7 Remove extra type, fix deleteDownload type for useSocket 2024-12-23 19:12:20 -06:00
f228cbc7e4 Add token request step to demo with reqwest 2024-12-23 19:12:09 -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
a8725ea5cb toHex, basic deleteDownload func, fix badge display token 2024-12-23 18:49:50 -06:00
b5967ca799 Send executables initial message, use filename not path 2024-12-23 18:29:47 -06:00
841203b0a6 fix process.env/import.meta.env usages, TODO linting, fix Emboldened hexadecimal null handling 2024-12-23 18:13:27 -06:00
44ada518b5 Fix nullable executables type 2024-12-23 18:06:39 -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
8323f2e3fe TODO deflate compress.sh 2024-12-23 17:02:20 -06:00
e5e2a013f5 Setup executable JSON ws message 2024-12-23 16:59:28 -06:00
81c509b0b0 Remove unused download badge, add Executable types to useSocket 2024-12-23 16:50:33 -06:00
1a3f56e0ce README TODOs 2024-12-23 16:48:03 -06:00
e0a6625373 Minor useSocket rename 2024-12-23 16:47:57 -06:00
a307abbb3e .env in .gitignore 2024-12-23 16:47:34 -06:00
70dc064a4c Tracing, SessionDownload, Incoming/Outgoing message serde, Executable handling, EnvFilter 2024-12-23 16:47:31 -06:00
9315fbd985 Rename StatefulDemo, move socket handling to useSocket, Emboldened skeleton 2024-12-23 16:14:15 -06:00
9a54104bdd Add TODOs for planning 2024-12-23 14:12:48 -06:00
b7b010ba3e use CORS websocket in dev mode 2024-12-23 13:44:21 -06:00
152635d7db platform detection type + func 2024-12-23 13:35:56 -06:00
4eeb9ddcef clientside websocket connect, increase volume 2024-12-23 12:43:59 -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
88e3ef7551 Switch timeout back to intended timing 2024-12-22 17:00:22 -06:00
842ea651c4 Move globals.scss into Base.astro, fix inter vs sans tailwind font definitions 2024-12-22 16:32:49 -06:00
64747ff11f Switch to LazyLock mutex STORE state 2024-12-22 16:29:10 -06:00
5a3cd0e5ea update .gitignore 2024-12-22 16:28:57 -06:00
0229a578de Split rust codebase into separate files 2024-12-22 16:10:41 -06:00
902afb925b Ensure font-inter works, googlefont import directive 2024-12-22 15:51:32 -06:00