Commit Graph
274 Commits
Author SHA1 Message Date
DevilXD c665d81f70 Add a missing status update in on_online;
redesign the watching status if statement
2022-09-02 13:21:03 +02:00
DevilXD 1f4a177906 Minor watch loop and mnt task changes 2022-08-26 15:01:27 +02:00
DevilXD 8c031232d1 asyncio.wait consistency cleanup 2022-08-26 12:29:51 +02:00
DevilXD 53d14d3dd7 Actually use the unexpected_content translation;
and handle the associated exception everywhere
2022-08-24 12:18:00 +02:00
DevilXD f1e0716445 Implement a way to instantly exit the request loop when trying to close the window;
this removes a bunch of plug-in exit possibilities since they're technically no longer needed
2022-08-22 21:44:04 +02:00
DevilXD 710eb68da0 Merge branch 'master' of https://github.com/DevilXD/TwitchDropsMiner 2022-08-22 10:00:24 +02:00
DevilXD 85f7aa37bc Ensure check_login in all places the access token is used 2022-08-22 10:00:18 +02:00
DevilXD 69595a9327 Add a second ExitRequest check, move the first one around 2022-08-21 16:33:45 +02:00
DevilXD 75b87110f4 Use a different ExitRequest approach for now 2022-08-21 11:49:27 +02:00
DevilXD d8d6397571 Revert "Add ExitRequest raise while waiting for a server response" 2022-08-21 11:46:40 +02:00
DevilXD aebd0e6570 Add ExitRequest raise while waiting for a server response 2022-08-20 22:08:02 +02:00
DevilXD 90fb6ea9a7 Slightly redesign session close logic 2022-08-19 14:21:48 +02:00
DevilXD 0431a2d98e Add an experimental shutdown handler 2022-08-19 14:09:06 +02:00
DevilXD 6d5191e148 Fix no_campaign keyerror 2022-08-19 12:54:30 +02:00
DevilXD c682b75e2d Minor naming and comments update 2022-08-19 10:19:23 +02:00
DevilXD 5b1089e3cc Add the terminated status in the gui 2022-08-19 10:18:41 +02:00
DevilXD 05466364d1 Implement the translation feature 2022-08-18 22:28:30 +02:00
DevilXD b8cba528b5 Reinforce websocket logic;
so that it doesn't change to disconnected after a long no-internet period
2022-08-03 22:16:57 +02:00
DevilXD 39d45360e6 Make it possible to exit the app during inventory loading 2022-08-02 21:19:54 +02:00
DevilXD 8e28ee5959 Improve campaign sorting 2022-08-01 11:39:14 +02:00
DevilXD f919850ad2 Typing update 2022-07-31 21:40:03 +02:00
DevilXD 7a7b94f57c Implement the status bar 2022-07-30 16:14:57 +02:00
DevilXD 2e1711cf05 Implement campaign linking URL, status and filtering 2022-07-29 23:30:25 +02:00
DevilXD 7817190dc2 Small maintenance task improvements 2022-07-23 12:59:36 +02:00
DevilXD 8cf9b8f6f8 Fix a bug with the maintenance task looping too fast 2022-07-23 12:32:08 +02:00
DevilXD a79755c5b0 Use 1 as backoff shift, skip first message 2022-07-23 12:32:08 +02:00
DevilXD 8018503d4f Requests infinitely retry on connection now 2022-07-23 12:32:08 +02:00
DevilXD e7da8a2d13 Imagine mistaking Twitch and Twitter together, oh wait 2022-07-23 12:32:07 +02:00
DevilXD 36d83971f3 Simplify logic here 2022-07-23 12:32:07 +02:00
DevilXD d566508ed9 Redo the request retry logic, to handle timeout error via backoff instead 2022-07-23 12:32:07 +02:00
DevilXD d62f12ebef Censour out the user's password from the traceback 2022-07-23 12:31:52 +02:00
DevilXD 69c23e1b2e Add a useful exception error, telling the user to login for internet access 2022-06-29 07:56:48 +02:00
DevilXD 1bb1450ce8 Use exp. backoff for the twitch down delay 2022-05-15 18:50:19 +02:00
DevilXD fcbda8fea2 Add 5XX http code handling 2022-05-15 14:43:22 +02:00
DevilXD a92f6be1a8 Make the mnt task more resilitent to errors 2022-04-20 23:25:28 +02:00
DevilXD 2efdda45d0 Fix mnt task min usage with an empty iterable 2022-04-19 18:02:05 +02:00
DevilXD dea5b51fed Add some minor typing 2022-04-19 17:40:22 +02:00
DevilXD f3fd0fa5d9 Create more oppurtinities for state saving;
for image cache and settings
2022-04-14 07:55:39 +02:00
DevilXD 903b299bfe Mnt task now does a better job;
at tracking upcoming campaign start times
2022-04-13 22:06:59 +02:00
DevilXD 2f452ca045 Fix an issue with settings being saved too early 2022-04-10 16:02:59 +02:00
DevilXD 3bccbc45c3 Use a walrus here 2022-04-09 22:08:08 +02:00
DevilXD bd737985c4 Move the mnt task so that its restarted every hour 2022-04-09 18:41:02 +02:00
DevilXD fa59cde737 Update proxy branch with the new websocket implementation 2022-04-08 22:07:41 +02:00
DevilXD 8cd77bae2a Change websocket internals to use aiohttp instead 2022-04-08 22:04:53 +02:00
DevilXD a8eaf33054 Fix missing use_active logic path 2022-04-07 19:16:22 +02:00
DevilXD 634119b254 Restart watching on GAMES_UPDATE 2022-04-07 19:15:46 +02:00
DevilXD 281b9274ed set_games uses all games from inventory now 2022-04-07 17:56:54 +02:00
DevilXD c9502c1f3e Fix an issue with reload stopping the watching 2022-04-07 17:49:03 +02:00
DevilXD dbb27e186d Fix the 'watching channel reselect after cleanup' logic to be less binding in terms of game priorities 2022-04-06 22:23:14 +02:00
DevilXD e47bf30d5e Implement simple proxy URL support 2022-04-04 19:21:21 +02:00