400 Commits

Author SHA1 Message Date
671d45fbe4 feat(download ui): debug queue interface 2024-12-09 17:03:48 +11:00
d5ac1b0a0e fix: remove unnecessary unstable feature 2024-12-08 12:55:41 +11:00
532d13e96f feat(download widget): download widget and queue fix 2024-12-08 12:33:45 +11:00
5cbeb3bdb6 feat: temporary queue ui and flamegraph instructions 2024-12-07 20:21:22 +11:00
de52dac0ab feat(download & db): combined db and download interface improvements 2024-12-07 11:00:35 +11:00
8670bca834 feat(install ui): ui to install games 2024-12-06 22:16:50 +11:00
b5568429f5 feat(download manager): syncs state to disk to persist across reboots 2024-12-04 17:29:46 +11:00
e4df4eb2d7 feat(download manager): update db state with ui and emit events 2024-11-28 20:31:04 +11:00
64d7f649c6 fix(download manager): use of completed signal, and pause/resuming 2024-11-28 12:39:21 +11:00
2dedfbbd5c feat(library): automatically fetch remote data if not available 2024-11-26 20:11:03 +11:00
99c8b39a11 refactor(download manager): rename files to what they contain 2024-11-26 19:54:43 +11:00
a53d838d05 feat: retry connnection on server unavailable 2024-11-26 18:09:15 +11:00
a580a46e17 feat(settings): finish download dir CRUD interface 2024-11-25 16:09:29 +11:00
384f7a5be9 feat(settings): ability to add more download dirs 2024-11-24 21:04:56 +11:00
7a3841bf0c fix(db): initialise doesn't recreate default install dir 2024-11-24 09:01:11 +11:00
b065e101e6 chore(downloads): Progress on write speeds & added debug statements 2024-11-23 23:32:56 +11:00
76b0975bcc style(downloads): Abstracted queue system
TODO: Still need to cleanup the rest of the legacy code which used to use the queue system
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-23 18:18:03 +11:00
450bca9c5b feat(downloads): Download cancelling
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-21 16:46:05 +11:00
e22e6d8a55 fix(auth): use chrono library to generate timestamps 2024-11-19 15:47:56 +11:00
a2137654f0 docs(logging): Updated logging format 2024-11-19 04:47:08 +00:00
d12bf154f9 fix(log): added console as an appender 2024-11-19 15:33:14 +11:00
9b1cfa778a chore: cleanup of lib and toml 2024-11-19 15:28:57 +11:00
c560656a8f feat(context menu): prevent default context menu and emit event on elements 2024-11-19 15:28:32 +11:00
18b914918c chore(downloads): progress on more precise download control
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-19 15:27:35 +11:00
af056c08d2 fix: types 2024-11-19 15:09:49 +11:00
469a2d69eb feat(auth): refactoring and error message 2024-11-19 15:05:28 +11:00
2d4a7e8f9c feat: added file-based logging
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-19 13:23:42 +11:00
7c8089ef64 fix(openssl): use vendored flag 2024-11-19 11:49:36 +11:00
f0c47d87fb fix(readme): update readme instructions 2024-11-18 20:13:10 +11:00
ec2f4148e8 style(downloads): Made all errors type-based
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-18 13:21:20 +11:00
bd3deacf38 chore(downloads): Ran cargo clippy & cargo fmt
Side note, I'm going to start using chore to declare these rather than refactor because I don't think that it actually qualifies

Signed-off-by: quexeky <git@quexeky.dev>
2024-11-16 17:05:24 +11:00
63c3cc1096 feat(downloads): Added AgentInterfaceData to get information about all downloads in queue
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-16 17:03:37 +11:00
f029cbf0b3 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
27e5a8e31c 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
b8cf44c0b2 refactor(downloads): Ran cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 21:28:24 +11:00
075d6ecf3c 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
a1ada07690 feat(downloads): Added Download Manager
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-13 20:38:00 +11:00
3dbf5ab573 chore(downloads): partial download manager 2024-11-12 09:06:28 +11:00
ab606e8e33 refactor(downloads): Reordered DownloadThreadControlFlag to agree with From<bool>
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-12 09:03:36 +11:00
5ba151f813 fix(downloads): Chunk counting logic error
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-12 09:02:58 +11:00
5e3d26b3ca refactor(downloads): ran cargo clippy & cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 18:27:39 +11:00
17244496ec refactor: Removed unnecessary dependencies
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 18:25:26 +11:00
7d3c6011df 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
5e05e6873d feat(downloads): Added DownloadThreadControl struct
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 10:05:49 +11:00
f25bfed336 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
b47b7ea935 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
4fc13a1c8f refactor(downloads): Convert DOWNLOAD_MAX_THREADS to const
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-11 07:58:49 +11:00
04368ff549 fix(download dir): fix logic error in detecting dir 2024-11-10 22:31:11 +11:00
6a38ea306b 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
4983b25702 refactor: Ran cargo clippy & cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-10 13:21:37 +11:00