Commit Graph

28 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
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
8ba577d5fd Fixed boot saving in a thread causing png based icons to be blank, improvements to server browser to show same team and score data as android app, fixed settings page not using a find height for containers causing them to not position properly on initial gui regeneration, task fail fast now checks for write access to target path, fail fast now raises an exception to prevent incorrect fail fast check from being reported. 2022-02-21 09:29:40 -06: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
e3cb9805fe Fixed token refresh happening to often at startup, replace missing game icon image with question mark, add support for more wwconfig.exe naming funkiness... 2022-02-04 18:36:20 -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
92f6a76381 Almost functional websocket based server list updater 2021-12-27 18:37:02 -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
2bbb2acc6e Replaced most Excon + Thread calls with Async 2021-12-26 09:20:25 -06:00
13103a7380 Added app icon, removed W3DHub::NAME constant, replaced stub content in community updates section with actual W3D Hub news 2021-11-29 18:39:15 -06:00
e0e649c922 Changes, made server browser refresh button have a hard 30 second minimum refresh interval, settings are now saved! 2021-11-24 21:50:56 -06:00
66e8c04fc7 Server list is now pre-fetched during 'bootup' 2021-11-22 20:48:46 -06:00
a4dd375511 Removed window as central storage, added Store class to be central memory store 2021-11-22 20:38:24 -06:00
2ce616ffbe Moved theme into its own file, added message dialog state to show error messages, game install button is disabled when clicked and if there is an installer task pending or running 2021-11-18 15:51:04 -06:00
ea1a7e8b13 Added .rubocop.yml config, filters for Server Browser now functional, game select button on Games page now overrides the hover color if its selected 2021-11-18 14:25:37 -06:00
dae620ccbd Stubbed out tasks system for installers 2021-11-15 10:15:04 -06:00
7fd38cd92d Fixed game ordering, added ApplicationManager class that'll manage installing/repairing/removing games 2021-11-14 19:52:27 -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
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
88208a70e2 Added community, server browser, login, and settings pages 2021-11-08 23:05:31 -06:00
57655e3a3a Added icons 2021-11-08 18:38:28 -06:00
ca17b1c2dc Interface is now data driven! 2021-11-08 18:17:14 -06:00
bbff4b1952 Initial commit: Stubbed layout replica of official W3D Hub Launcher 2021-11-08 09:39:06 -06:00