425 Commits

Author SHA1 Message Date
quexeky 78587c61fc refactor(downloads): Replaced static usage with const 2025-01-21 10:17:30 +11:00
quexeky 4fd964024e Update .gitlab-ci.yml with artifacts 2025-01-21 09:09:02 +11:00
quexeky 5b00d188ab Update .gitlab-ci.yml 2025-01-21 08:41:51 +11:00
quexeky a51e41d34f chore: Update .gitlab-ci.yml 2025-01-21 08:04:29 +11:00
quexeky 20bb2bf198 build: Version bump & appimage build 2025-01-20 23:13:49 +11:00
quexeky 9698ab977e fix: Games not launching due to string semantics 2025-01-20 23:12:57 +11:00
quexeky 48cbd1a5ed feat(games): Added multi-argument game launch and setup support 2025-01-20 20:03:44 +11:00
quexeky 9831d96300 chore: Apply stashed changes 2025-01-20 18:22:24 +11:00
quexeky 48a7463040 fix(game downloads): Added error handling for chunk request errors 2025-01-20 18:13:25 +11:00
quexeky 4a737c35b0 fix: Adding usize to completed_contexts_lock instead of &usize 2025-01-20 17:39:05 +11:00
DecDuck f4bd013925 fix(download agent): fixed completed indexes 2025-01-20 17:29:33 +11:00
DecDuck 13d9ba78d1 fix: assorted fixes 2025-01-20 16:46:57 +11:00
quexeky fdccb10650 chore: Ran cargo clippy & cargo fmt 2025-01-20 08:55:19 +11:00
quexeky c2d8966c1a feat(database): Ensure that any database issues are resolved by standalone functions
Functions are as follows:
- save_db()
- borrow_db_checked()
- borrow_db_mut_checked()
2025-01-20 08:24:06 +11:00
DecDuck 2e2592afd8 fix(ui): modal stack doesn't cover whole app 2025-01-19 22:23:40 +11:00
DecDuck f0dc9320d0 fix(logs): add file & line to console logs 2025-01-19 22:23:09 +11:00
DecDuck 4ce06a16bc feat(downloads): re-enable checksums 2025-01-19 22:22:55 +11:00
DecDuck 8ca5b48e48 fix(download manager): don't crash download manager if multiple errors
come in
2025-01-19 22:22:04 +11:00
quexeky bc81a4d399 style(logging): Ensured that all logs start with lowercase capital and have no trailing punctuation 2025-01-19 20:36:38 +11:00
quexeky 5bf83df9af feat(settings): Allow settings to update UI using fetch_settings command 2025-01-19 19:14:52 +11:00
quexeky ce8ae086ee Revert "chore: Update .gitlab-ci.yml"
This reverts commit 053fd8605c.
2025-01-19 18:37:51 +11:00
quexeky 4ed6d8383e chore(logging): Imported appropriate logging macros 2025-01-19 18:37:21 +11:00
quexeky 28d4598cb3 refactor(logging): Using more appropriate logging statements
Still probably needs some work, but that's enough for now
2025-01-19 18:30:16 +11:00
quexeky 053fd8605c chore: Update .gitlab-ci.yml 2025-01-19 17:18:08 +11:00
quexeky 90fb05899e feat(errors): Using SerializeDisplay for better error management with Result 2025-01-19 17:17:51 +11:00
DecDuck faf87da3c7 fix: fix other metadata endpoints 2025-01-19 16:15:43 +11:00
DecDuck 3776e1e9d4 fix(install ui): stop loading on error 2025-01-19 15:44:00 +11:00
quexeky 7faec60fba refactor(remote): Created separate function to generate requests 2025-01-19 15:09:35 +11:00
quexeky c9555362b6 feat(progress): Added rolling progress window
Still needs tweaks on specific timings, as well as cleanup
2025-01-19 09:48:04 +11:00
quexeky b692a1d831 chore: Progress on rolling progress window 2025-01-19 08:41:20 +11:00
quexeky f59473fcd1 chore(downloads): Progress on terminator 2025-01-16 18:57:40 +11:00
quexeky 441914b7b8 chore(exit): Progress on cleanup and exit 2025-01-16 18:57:40 +11:00
quexeky 968fcef456 chore(progress): Added rolling_progress_updates.rs
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-16 17:23:53 +11:00
quexeky 04773dc1f6 feat(logging): Added line numbers to file logging and highlighting to console 2025-01-16 16:48:31 +11:00
quexeky c196c7ec8c fix(settings): Broken command invoke logic in settings/downloads.vue 2025-01-14 07:57:33 +11:00
quexeky f1bba5cc74 Implement better error system and segregate errors and commands (#23)
* chore: Progress on amend_settings command

Signed-off-by: quexeky <git@quexeky.dev>

* chore(errors): Progress on better error handling with segragation of files

* chore: Progress on amend_settings command

Signed-off-by: quexeky <git@quexeky.dev>

* chore(commands): Separated commands under each subdirectory into respective commands.rs files

Signed-off-by: quexeky <git@quexeky.dev>

* chore(errors): Almost all errors and commands have been segregated

* chore(errors): Added drop server error

Signed-off-by: quexeky <git@quexeky.dev>

* feat(core): Update to using nightly compiler

Signed-off-by: quexeky <git@quexeky.dev>

* chore(errors): More progress on error handling

Signed-off-by: quexeky <git@quexeky.dev>

* chore(errors): Implementing Try and FromResidual for UserValue

Signed-off-by: quexeky <git@quexeky.dev>

* refactor(errors): Segregated errors and commands from code, and made commands return UserValue struct

Signed-off-by: quexeky <git@quexeky.dev>

* fix(errors): Added missing files

* chore(errors): Convert match statement to map_err

* feat(settings): Implemented settings editing from UI

* feat(errors): Clarified return values from retry_connect command

* chore(errors): Moved autostart commands to autostart.rs

* chore(process manager): Converted launch_process function for games to use game_id

---------

Signed-off-by: quexeky <git@quexeky.dev>
2025-01-13 21:44:57 +11:00
Aden Lindsay fd3e539205 feat(debug): use shift or DEBUG RUST_LOG to show Debug Info
* Update settings.vue to have a conditional debug page

* Update debug.rs to add RUST_LOG status fetching
2025-01-09 19:44:04 +11:00
Aden Lindsay cc1020a004 refactor(compat): remove unnecessary compat code (#20)
* Delete pages/settings/compatibility.vue

* Update settings.vue

* Update debug.vue

* Update lib.rs

* Update compat.rs
2025-01-09 13:44:27 +11:00
DecDuck 9038c5a955 fix(handle invalid database): use set_file_name instead of pushing to
strings
2025-01-09 12:27:32 +11:00
DecDuck 231eb935fa fix(metadata): update routes for new server 2025-01-09 12:11:39 +11:00
quexeky 93c25126af feat(download manager): Added UI to change download threads
Co-authored-by: AdenMGB <140392385+AdenMGB@users.noreply.github.com>
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 20:56:19 +11:00
quexeky c16b1df264 chore: More refining info!() statements
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 20:46:08 +11:00
quexeky 2db1b36d2e chore: Removed tools/
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 20:06:01 +11:00
quexeky 9418761df2 chore: Removed tests/
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 20:05:19 +11:00
quexeky c6e71fa3a8 chore: General cleanup
- Changed some info!() statements to debug!() and warn!()
- Removed most Turbofish syntax cases
- Removed InvalidCodeError and replaced it with InvalidResponse

Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 20:04:34 +11:00
quexeky 074a6d00bb chore: Moved generateGameMeta.ts to composables, using PathBuf instead of String for install_dirs
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 09:22:18 +11:00
quexeky 6a33494d68 feat(settings): Added max_download_threads setting and separated settings from db
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-06 07:36:35 +11:00
quexeky 9dde86bd82 chore: More cleanup after cargo clippy
Also added some type efficiency improvements (using references where possible and added SliceDeque crate)

Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 21:08:27 +11:00
quexeky 35047f9885 refactor: Ran cargo clippy & fmt
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 20:29:15 +11:00
quexeky ba90d90a86 fix(db): Added Settings component
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 19:44:18 +11:00