1544 Commits

Author SHA1 Message Date
Dylan Bowker dac9ddb4c0 chore: some docs clean-up 2024-11-12 23:47:47 +01:00
Dylan Bowker 646673efda feat: add support for rmp-serde 2024-11-12 23:47:47 +01:00
DecDuck 86f77daa01 chore(downloads): partial download manager 2024-11-12 09:06:28 +11:00
quexeky aa17db3d42 refactor(downloads): Reordered DownloadThreadControlFlag to agree with From<bool>
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-12 09:03:36 +11:00
quexeky f8ce05b9c2 fix(downloads): Chunk counting logic error
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-12 09:02:58 +11:00
quexeky 92ff527d50 refactor(downloads): ran cargo clippy & cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 18:27:39 +11:00
quexeky e601bbc26b refactor: Removed unnecessary dependencies
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 18:25:26 +11:00
quexeky 281f7844fd feat(downloads): Separated chunk updates into individual counters
Also added a From<bool> for DownloadThreadControlFlag because I accidentally was calling the wrong one before and had meant to add it anyway

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 18:07:45 +11:00
quexeky 97f1db9aa1 feat(downloads): Added DownloadThreadControl struct
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 10:05:49 +11:00
quexeky 628898ec23 feat(downloads): Convert DownloadThreadControlFlag to AtomicBool
Also ran cargo fmt & cargo clipy

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 09:39:25 +11:00
quexeky 1443d7f605 refactor: Created file settings.rs
Add constant values here to have a central management point for any relevant constants

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 09:11:46 +11:00
quexeky d4c3bb08a1 refactor(downloads): Convert DOWNLOAD_MAX_THREADS to const
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 07:58:49 +11:00
DecDuck 2a83814f07 fix(download dir): fix logic error in detecting dir 2024-11-10 22:31:11 +11:00
DecDuck bc6aabc58d feat(downloads): reduce scope of download agent
due to a miscommunication, the scope of the download agent has grown too
much. this commit reduces that scopes, and intends for a lot of the
heavy lifting to be done by the soon-to-be-implemented download manager.
2024-11-10 22:25:54 +11:00
DecDuck 24fcc694d2 feat: content length header for chunk downloads 2024-11-10 22:14:01 +11:00
quexeky 74b8ed39d1 refactor: Ran cargo clippy & cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-10 13:21:37 +11:00
quexeky 3258a3d709 feat(library): Added option to change root directory
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-10 13:18:28 +11:00
quexeky 2f506a2068 refactor(database): Convert DATA_ROOT_DIR to Mutex
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 22:44:44 +11:00
quexeky 4aadb77e87 feat(downloads): Added function to take and set any game state
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 21:26:44 +11:00
quexeky f80bbe1b0e feat(downloads): Generic function to set download state
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 20:15:04 +11:00
quexeky e7169dd1b1 style(downloads): Added GAME_PAUSE_CHECK_INTERVAL value
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 20:00:05 +11:00
quexeky e288f2472b refactor: Cleaning up downloads playing and pausing
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 19:57:53 +11:00
quexeky da1f39c061 feat(downloads): Pausing and resuming game downloads
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-09 19:55:36 +11:00
DecDuck 4c727a9cec fix(client reg): prisma create footprint 2024-11-09 17:25:35 +11:00
DecDuck 7192164f8c fix(admin library): results are returned alphabetically 2024-11-08 21:31:22 +11:00
DecDuck 73d70179a7 feat(game page): more subtle design improvements 2024-11-08 21:23:31 +11:00
DecDuck 8851a62220 feat(game page): slightly improved game page 2024-11-08 20:59:17 +11:00
DecDuck b5b31494d7 fix(invitations): fix types 2024-11-08 20:44:38 +11:00
DecDuck 28a965a6f5 feat(invitations): completed admin UI, with minor changes to backend 2024-11-07 23:23:49 +11:00
DecDuck 023f8bcbb2 fix(invitations): fix expires requirement in the admin endpoint 2024-11-07 20:07:53 +11:00
DecDuck e9a19ecb46 chore(invitations): add expires field 2024-11-07 19:07:05 +11:00
quexeky f6f8186d5a chore(p2p): Starting p2p progress
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-06 16:40:19 +11:00
quexeky ae68506268 refactor(downloads): Scoping changes and removing qualifications
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-06 16:39:30 +11:00
DecDuck 508c04c07d feat(client cap): client capability framework + peer API configuration 2024-11-06 12:25:00 +11:00
DecDuck de1b8aa77e chore(utils): consolidate type utils 2024-11-06 11:49:08 +11:00
DecDuck 3c24d88375 feat(type utils): add enum dictionary type 2024-11-06 11:38:49 +11:00
DecDuck ad00fc7d7f feat(ca): generate a server certificate for mtls APIs 2024-11-06 11:38:32 +11:00
DecDuck 536b1b0ef1 chore: remove client API deadweight 2024-11-06 09:55:38 +11:00
DecDuck 70e3ba0a2d chore: update prisma version 2024-11-06 09:29:28 +11:00
DecDuck a4153608e0 refactor(ca): change name of store file 2024-11-06 09:20:02 +11:00
DecDuck df69c067c5 feat(client api): keep track of last connected 2024-11-06 09:17:03 +11:00
quexeky eaca334f0f docs(README): Updated contributing link
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-05 20:47:20 +11:00
DecDuck 2421fd55de chore(app settings): remove log statements 2024-11-05 19:03:47 +11:00
DecDuck 0d7173780e feat(library manager): automatically create library folder if it doesn't exist 2024-11-05 19:03:14 +11:00
DecDuck 97ee9411ed feat(library ui): add header 2024-11-05 19:01:22 +11:00
DecDuck a396a4939f refactor(icons): move icons into dedicated folder 2024-11-05 18:39:49 +11:00
DecDuck 768f25a5ae feat(registration): add title to tab 2024-11-05 13:18:50 +11:00
quexeky a2624e2785 docs: Updated README.md
Removed non-existent Volunteer section in the TOC

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-05 12:39:09 +11:00
quexeky ca2e1e0b44 docs: Added SECURITY.md
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-05 12:39:09 +11:00
DecDuck 3762f1b8e6 docs(readme): update information and setup guide 2024-11-05 12:22:49 +11:00