Commit Graph

26 Commits

Author SHA1 Message Date
b5fc3e9239 Use proper logging, more errors from tasks should now trigger showing the error dialog instead of siliently failing 2022-03-23 15:09:51 -05:00
57bcff8019 Added some net locks to prevent fetching news while a fetch is already in progress 2022-03-20 18:28:19 -05:00
8766ed7d86 Fixed race condition where images for user avatar or news icons were not blocking execution until after they were downloaded causing a possible crash due to trying to save and load at the same time (sometimes also causing images to be only partly saved making them corrupt causing another crash) 2022-03-20 13:51:52 -05:00
f2edc30bbb Fixed crashes, added W3DHUB_DEBUG constant, reduced size of Excon download buffer from 4 MB to ~50KB to make ui able to more accurately show download activity 2022-02-12 12:40:08 -06:00
232ed2032f Window is no longer a fiber, should prevent window from locking up due to a fiber not yielding, replaced ui's direct async calls with BackgroundWorker.foreground_job, show pulsing circle behind app logo on boot 2022-02-12 09:03:46 -06:00
202966fd08 Drafted async-http downloader, fixed not correctly fetching icons at startup 2022-02-10 22:40:51 -06:00
a9f5c29a18 Fixed ICO implementation having a top and left offset for bitmap images, icons are now fetched at start up instead of statically being included (More work needed to fetch them after logging), fixed importer incorrectly storing executable basename instead of dirname 2022-02-07 10:18:40 -06:00
7da254fd61 Changed how account data is stored, authorization header is now sent when logged in, adjusted spacing game filters for server list, fixed crashing when trying to load icon for game whos icon is not present, a bit of code cleanup to Api to use Async::HTTP::Client over Async::Internet directly (for everything except get requests), probably a few misc. changes 2022-02-04 08:59:15 -06:00
82add3cc9d Brought back Excon for package downloading as the method recommended by async-http is unreliable, added support for importing games, repairer and updater tasks are both now simple subclasses of installer, implemented verify_files for checking installed files to prune download package list (currently causes Api.package_details to fail..., so disabled for now), misc. changes. 2021-12-28 17:55:40 -06:00
f4aa666386 Removed settings and download manager icon buttons and moved to proper navigation 'links', Cache.install_path checks settings for games install path before defaulting 2021-12-27 22:15:17 -06:00
93cc161f4c Finished removing usage of Excon- package download reimplemented (TODO: see if it's possibly to not need to make n requests to endpoint to emulate excon's chunked downloading), raise Async::Stop when window is closed to shutdown reactor 2021-12-27 09:56:09 -06:00
55191f143a Added option to force fetch to Cache.fetch, force user profile picture to be fetched on start up or on login 2021-12-26 21:32:54 -06:00
e87f14079d Added semi-functional websocket implementation of signalR for live server list changes (seems a bit chatty though with some servers only having time remaining changing, fixed crash when a user has an active login but their profile picture was removed, fixed not explicitly saving Cache.fetch'ed items as binary 'wb' resulting in corrupt profile image. 2021-12-26 21:23:53 -06:00
52e46eced5 Finished evicting Thread- probably more fiber scheduling to do while I figure out how to put Tasks into a Ractor 2021-12-26 13:46:48 -06:00
2bbb2acc6e Replaced most Excon + Thread calls with Async 2021-12-26 09:20:25 -06:00
9707110972 Added parallel downloads setting (not in gui options yet), added a thread pool for downloading multiple packages at once- quite helpful for TSR 😁, fixed download resuming (used wrong file mode...) 2021-12-23 10:56:28 -06:00
74a2ca652b Removed usages of eager_load, probably fixed application launching weirdness 2021-11-30 14:00:51 -06:00
6c18e16357 Added ApplicationManager::Status, DownloadManager now displays data from Status, added improved progress information to DownloadManager via Task updating its Status object 2021-11-26 12:17:26 -06:00
935aed1a7a Fixed crash from Cache accessing the global variable $Store instead of the class Store 2021-11-25 19:53:06 -06:00
a4dd375511 Removed window as central storage, added Store class to be central memory store 2021-11-22 20:38:24 -06:00
ec81959947 Interim Apex can now be installed and launched (on Windows) 2021-11-19 11:09:14 -06:00
662e5c2b0c Redid file checking to use the provided chunked checksums, added (broken) support for partial package downloads (resumed package fails verification), misc. supporting changes. 2021-11-17 22:34:15 -06:00
b99938ae3c Downloading packages now works most of the time, primary download indictator is now driven by the Task 2021-11-16 14:29:11 -06:00
dab16e7663 'Fixed' downloads failing at point due to Excon shared connection and threads, added byte size formatter 2021-11-16 11:31:47 -06:00
1ab835ba98 Removed idea to have Tasks have a seperate step class; needless abstraction at this point, added manifest parser 2021-11-15 19:22:09 -06:00
b7ccdb2ad3 Refresh token at start up now works, added a bit of a hack to populate account info by opening the login page first and having it populate the data then load the games page, added Cache, and Settings 2021-11-14 18:54:09 -06:00