321 Commits

Author SHA1 Message Date
DecDuck 3c693849b7 Merge branch 'error-handling'
Makes the Drop app more resistent to errors during start-up
2024-11-04 18:06:51 +11:00
quexeky 6dfc2d7393 Allowing some dead code features because they are there for future use (potentially)
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 18:03:18 +11:00
quexeky edc64ba6d2 Ran cargo clippy and cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:48:44 +11:00
quexeky 63b7defa6f Converted to using BufWriters instead of streaming everything at once
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:45:46 +11:00
quexeky afd07bb379 Functioning download progress updates
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 17:11:37 +11:00
DecDuck 5c5aa02fea Drop will no longer crash when the server goes down 2024-11-03 19:47:27 +11:00
DecDuck 1abcc3d3e5 drop no longer freaks out if server is unavailable on startup 2024-11-03 16:16:26 +11:00
quexeky a1fed18d00 Removed gxhash and ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-01 07:51:56 +11:00
quexeky 42f381865d Clippy cleanup
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-01 07:49:42 +11:00
DecDuck f3df6ee687 remove unpacker mod statement 2024-10-31 23:42:16 +11:00
quexeky b4a5e501a8 Removed unpacker.rs
Signed-off-by: quexeky <git@quexeky.dev>
2024-10-31 23:06:14 +11:00
quexeky ca2398ad8d Lesson learned: Wrappers are the bane of my existence. Also here's the download cancelling logic.
Signed-off-by: quexeky <git@quexeky.dev>
2024-10-31 20:56:10 +11:00
quexeky 1daba5334a Adding checks for the stopper callback
Signed-off-by: quexeky <git@quexeky.dev>
2024-10-29 22:15:44 +11:00
quexeky a45f9c51aa Some progress on thread terminations 2024-10-28 22:06:44 +11:00
quexeky 07cd0b1b6f Removed utils.rs 2024-10-28 22:04:50 +11:00
quexeky 6735f929e8 Queue is running game downloads sequentially now 2024-10-28 20:57:42 +11:00
quexeky 7bfaf99aaf I think that download queuing is working 2024-10-28 19:23:41 +11:00
quexeky a3cac56c4f More debugging because apparently checksums are the bane of my existence. But it works and I was just an idiot 2024-10-26 23:23:43 +11:00
quexeky dcdb3c731c Converted to md5 2024-10-26 22:22:10 +11:00
quexeky 397b77881a Debugging line 2024-10-26 16:47:27 +11:00
quexeky 615f9f00d6 More progress on checksums 2024-10-26 15:18:34 +11:00
quexeky 6d5dc457b2 Mostly finished with checksums. Just merging main in at the same time 2024-10-26 10:58:04 +11:00
quexeky d68c5f632e Encoding game IDs and versions 2024-10-25 17:55:45 +11:00
DecDuck 59ef4645c4 restructing and renaming 2024-10-25 17:41:03 +11:00
quexeky 638fbdfb58 copy direct to disk 2024-10-25 14:56:49 +11:00
DecDuck 45c22a40e1 fixed multi-chunk downloads 2024-10-25 10:28:58 +11:00
DecDuck 6971a8d29e better download defaults 2024-10-24 22:17:50 +11:00
DecDuck 959cf6ab1f my own take on some BASED design decisions 2024-10-24 22:05:58 +11:00
quexeky 839dce184a Removed debugging statements 2024-10-24 20:39:03 +11:00
quexeky 2b8a6ccdd8 Downloads should be fixed now 2024-10-24 19:38:58 +11:00
quexeky 3cd70367ac I think that downloads are working. Need to test and set decent file locations now 2024-10-24 17:18:09 +11:00
quexeky 45e2efb18f Game downloads from the client are working (multithreaded) by parsing in gameID, GameVersion, and maxThreads from FE (#1) 2024-10-24 12:26:40 +11:00
quexeky 90e41c6522 Clippy changes 2024-10-24 09:41:04 +11:00
quexeky 2e0b37ae19 Just debugging tauri's damn Sync command features 2024-10-24 09:38:02 +11:00
quexeky bcfce8588e Manifests are now being parsed successfully 2024-10-21 22:37:42 +11:00
quexeky 6c0cf81935 Debugging & starting work on parsing manifest 2024-10-21 21:23:08 +11:00
quexeky 749b650b15 Validated that loading data works 2024-10-20 20:45:02 +11:00
quexeky eb37b2464a SLowly integrating game_download into the FE. Started with using the manifest minimal example in the server (#1) 2024-10-19 22:17:43 +11:00
quexeky 495bebe4a3 Theoretically adding queue support and optimistic manifest downloading (#1). Needs tests when actual functions are implemented 2024-10-19 19:32:05 +11:00
quexeky 34d2b978e5 More fleshing out on how specifically game downloads will work (#1) 2024-10-19 17:36:09 +11:00
quexeky f5b5d164ab Included in AppStatus (Also trying to link to Issue #1) 2024-10-19 14:54:29 +11:00
quexeky deae3875f7 Update on GameDownload 2024-10-18 22:35:03 +11:00
quexeky f8b96d06e7 Progress checker works 2024-10-18 20:42:26 +11:00
quexeky 31e794f637 Progress on downloads. Currently working on parsing functions to be run asynchronously 2024-10-18 07:45:09 +11:00
quexeky 943e649fbc Fixed bug with bad initial loading into store instead of auth 2024-10-17 21:14:10 +11:00
DecDuck 1ff74a1bcf beginnings of game state management 2024-10-17 21:05:25 +11:00
quexeky 30ff908abc Converting DB access to a trait 2024-10-17 19:03:00 +11:00
quexeky 6aee5e3686 Accidentally serialized AppStatus and broke everything :/ 2024-10-17 18:13:27 +11:00
quexeky 9f544eccb0 Semantic naming changes 2024-10-17 17:17:19 +11:00
quexeky a316b8f5e6 Ensured everything is serializing/deserializing to camelCase 2024-10-17 17:07:47 +11:00