Commit Graph

22 Commits

Author SHA1 Message Date
quexeky 87bbe1da49 156 refactor into workspaces (#157)
* chore: Major refactoring

Still needs a massive go-over because there shouldn't be anything referencing tauri in any of the workspaces except the original one. Process manager has been refactored as an example

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

* fix: Remote tauri dependency from process

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

* refactor: Improvements to src-tauri

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

* refactor: Builds, but some logic still left to move back

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

* refactor: Finish refactor

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

* chore: Run cargo clippy && cargo fmt

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

* refactor: Move everything into src-tauri

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

---------

Signed-off-by: quexeky <git@quexeky.dev>
2025-10-14 17:12:51 +11:00
quexeky 604d5b5884 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
quexeky 182361e598 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 82804ebc67 refactor: Ran cargo clippy & fmt
Signed-off-by: quexeky <git@quexeky.dev>
2025-01-05 20:29:15 +11:00
DecDuck a17311a88d fix(download manager): fix incorrect error assumptions & update types 2024-12-31 00:08:05 +11:00
DecDuck 9af0d08875 fix(auth initiate): add better error message 2024-12-27 12:15:30 +11:00
DecDuck 6a8d0af87d fix(sign on): add message about nonce expiration 2024-12-26 21:30:08 +11:00
DecDuck ad92dbec08 feat(errors): better download manager errors + modal 2024-12-26 12:56:54 +11:00
DecDuck 9ea2aa4997 chore(process manager): refactor for generic way to implement cross
platform launchers
2024-12-25 23:05:10 +11:00
DecDuck 9a8cc594f0 fix: windows shadow 2024-12-24 14:41:03 +11:00
Louis van Liefland 653717ebcf refactor: Ran cargo clippy & cargo fmt 2024-12-09 20:32:42 +11:00
DecDuck 384f7a5be9 feat(settings): ability to add more download dirs 2024-11-24 21:04:56 +11:00
quexeky ec2f4148e8 style(downloads): Made all errors type-based
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-18 13:21:20 +11:00
quexeky 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
quexeky 0c6c4701fd Removing more unnecessary imports
Signed-off-by: quexeky <git@quexeky.dev>
2024-11-04 19:22:30 +11:00
DecDuck eb3311a0c4 Drop will no longer crash when the server goes down 2024-11-03 19:47:27 +11:00
quexeky 2efe3049b3 Clippy refactoring 2024-10-15 12:43:00 +11:00
quexeky 816b427781 Progress on refactoring and abiding by cargo clippy 2024-10-15 12:32:04 +11:00
DecDuck 959dad383e fixed windows issues 2024-10-09 17:55:19 +11:00
DecDuck 0c0cfebc1e client now fetches user information from Drop server 2024-10-09 16:52:24 +11:00
DecDuck 4bb33c8223 handshakes 2024-10-08 18:08:52 +11:00
DecDuck 22b1aeec9f auth initiate, database and more 2024-10-08 13:17:06 +11:00