Commit Graph

30 Commits

Author SHA1 Message Date
f55924596d Fix some weird scoping issues with ServerListUpdater lambdas 2024-03-11 19:17:38 -05:00
d84c8321c5 Speed up API requests be using a persistent connection, increase news fetch buffer time to 30 seconds from 10 seconds. 2024-03-11 15:09:31 -05:00
cd0db4e0fc Refactored Task#build_package_list to fix 'overdownloading' packages that then are replaced/no longer needed; FIXME: broke Repair task in the process. 2024-03-02 01:41:36 -06:00
c73bd2d88b Updated gems, fixed error on Ruby 3.2 (Thread block no longer passes self as argument), fixed API calls not timing out properly, fixed BackgroundWorker not halting properly. 2023-02-03 12:19:18 -06:00
55c0f363e0 Removed dependence on the bsdtar command, fixed Play Now button not doing anything if a server nickname wasn't set, refactor a bit so that the Server List's 'Join Server' button functionality can be reused for the Play Now button, installer now always unpacks into 'data/*' instead of 'Data/*' 2022-12-02 14:12:45 -06:00
19a15e937e Fixed DummyResponse missing the status method 2022-11-19 17:03:14 -06:00
340c083a43 Removed Async[websocket/http] due to excessive require times and reliablity issues on Windows 2022-10-30 18:10:47 -05:00
9f4ca51af8 Updated gems, added server events to games page 2022-06-11 18:18:04 -05:00
b73826ed1f Progress towards a resizable launcher window 2022-04-03 13:08:28 -05:00
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
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
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
1b91191d90 Server Browser is now properly updated like the offical launcher- just a bit more flashy due to taking 100+ ms to regenerate ui elements 2021-12-30 18:56:56 -06:00
d880d1525f Put a bandaid on Api.package_details by using Async::HTTP::Client instead of directly using Async::HTTP::Internet- TODO: use :Client instead of ::Internet, enabled verify_files task in installer 2021-12-29 08:37:54 -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
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
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
74a2ca652b Removed usages of eager_load, probably fixed application launching weirdness 2021-11-30 14:00:51 -06:00
4e30075f6b Added confirm dialog, clicking uninstall game now triggers confirmation 2021-11-25 19:08:20 -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
db97b5a3ab Package downloading now mostly working 2021-11-16 09:34:41 -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
4b69b60aab Login to W3D Hub is now possible 2021-11-14 16:45:57 -06:00
86a5056705 Swapped out cncnet.org server list for w3dhub's 2021-11-14 14:21:05 -06:00
077f74cd2b Games page back to semi-functional; games are out of order however 2021-11-14 13:23:57 -06:00
b2a2a961b3 Access W3D Hub API 2021-11-14 12:07:09 -06:00