Commit Graph

1522 Commits

Author SHA1 Message Date
DecDuck 7685db03a2 feat: introduction of 'system user' 2024-11-16 16:18:15 +11:00
DecDuck 2ace2eb844 refactor: more consistent naming for object handler 2024-11-16 16:11:20 +11:00
DecDuck c884a28bb5 feat(ui): smoother bar in admin task ui 2024-11-16 16:08:41 +11:00
DecDuck 046c9e6fd2 feat(ui): user widget now redirects to actual page 2024-11-16 16:08:23 +11:00
DecDuck 7442287bf8 feat(registration): require lowercase usernames 2024-11-16 16:08:02 +11:00
semantic-release-bot 5e34dd593f chore: update version to 0.6.1 2024-11-14 16:02:20 +00:00
Luca Barbato 79cda8ef05 fix: Remove skeptic
It is unmaintained and fails to build tests.

Same as https://github.com/vincent-herlemont/native_db/pull/286.
2024-11-14 16:58:20 +01:00
semantic-release-bot 537b207aef chore: update version to 0.6.0 2024-11-14 13:42:17 +00:00
Luca Barbato 021ea5c54c feat: Add a named variant for rmp_serde_1_3
And advise to use it if advanced serde features are in use.
2024-11-14 14:38:46 +01:00
Luca Barbato b543e30216 docs: Document rmp-serde existence
And warn about metadata-less formats and serde advanced features.
2024-11-14 14:38:46 +01:00
Luca Barbato 28d41a41e9 chore: Remove trailing whitespaces 2024-11-14 14:38:46 +01:00
quexeky 18c7a9b2bc docs(download manager): Added description on how the DownloadManager works
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 22:17:30 +11:00
quexeky 6428611689 style(downloads): Fixing some references to "id" vs "game_id"
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 21:55:28 +11:00
quexeky f508391b6d refactor(downloads): Ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 21:28:24 +11:00
quexeky cee86b43ed refactor(downloads): Ran cargo clippy & moved DownloadManagerInterface
Created file "download_manager_interface.rs" to contain the DownloadManagerInterface

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 21:05:25 +11:00
quexeky 928b60483a feat(downloads): Added Download Manager
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 20:38:00 +11:00
renovate[bot] e75e945383 chore(deps): update hustcer/setup-nu action to v3.16 2024-11-13 06:36:21 +00:00
semantic-release-bot 9cd037a857 chore: update version to 0.5.0 2024-11-12 22:51:31 +00:00
renovate[bot] f539da2a52 chore(deps): update actions/checkout digest to 11bd719 2024-11-12 23:48:46 +01:00
renovate[bot] 56a1387f8b fix(deps): update rust crate thiserror to v2 2024-11-12 23:48:02 +01:00
Luca Barbato d932be10ac fix: Unbreak the doctests 2024-11-12 23:47:47 +01:00
Dylan Bowker 028ae2d0c8 chore: added rust msrv to Cargo.toml 2024-11-12 23:47:47 +01:00
Dylan Bowker a653f3f826 docs: simplified docs on codecs 2024-11-12 23:47:47 +01:00
Dylan Bowker a21b7d0aa0 docs: moved notes on codecs to README.md 2024-11-12 23:47:47 +01:00
Dylan Bowker b85d4ce554 docs: update to docs on codecs 2024-11-12 23:47:47 +01:00
Dylan Bowker ac150841b0 docs: update to docs on codecs 2024-11-12 23:47:47 +01:00
Dylan Bowker 2196af7a82 fix: removed #![feature(doc_cfg)] nightly feature 2024-11-12 23:47:47 +01:00
Dylan Bowker 95e68f235e chore: re-instated original default features 2024-11-12 23:47:47 +01:00
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