Commit Graph
100 Commits
Author SHA1 Message Date
DevilXD d3d1624a24 Handle missing SeleniumWire certificate files 2022-11-11 13:33:04 +01:00
DevilXD 4ae68b7d23 Handle _brotli error 2022-11-11 13:07:15 +01:00
DevilXD cc4cbc5179 Various UX login flow improvements 2022-11-07 22:20:10 +01:00
DevilXD 8ecf26bc37 Restore app from tray when the login procedure starts 2022-11-07 16:55:54 +01:00
DevilXD 147639a454 Minor ExponentialBackoff exp -> steps;
No connection stemps greater than 1 detection
2022-11-07 08:00:00 +01:00
DevilXD 024ad975b9 create_task -> ensure_future + wrap event wait 2022-11-05 22:53:55 +01:00
DevilXD 2306fc1331 ensure_future -> create_task 2022-11-05 19:25:50 +01:00
DevilXD 2797f5ee68 Fix the app hanging while it's closed during loading 2022-11-05 19:25:30 +01:00
DevilXD 26a5787fa7 simplify logic here 2022-11-05 17:31:40 +01:00
DevilXD ca5215bef3 Fix not being able to close the app during initial login phase 2022-11-05 10:46:10 +01:00
DevilXD ecc381851f Improve env setup script 2022-11-05 10:44:39 +01:00
DevilXD 74969a3adb Fix a theorethical hang during app initialization 2022-11-05 10:06:09 +01:00
DevilXD 683d2fd755 Fix asyncio.wait breaking in Python 3.11 2022-11-04 22:29:11 +01:00
DevilXD f50d02ed0b Add nice icon to the settings error message 2022-11-04 20:32:40 +01:00
DevilXD 67e9d3a2e0 Merge branch 'master' of https://github.com/DevilXD/TwitchDropsMiner 2022-11-04 18:52:26 +01:00
DevilXD 2f78d476e0 Change login button behavior to flip-flop 2022-11-04 14:47:54 +01:00
DevilXD 8f6589d275 Minor typing update 2022-11-03 17:31:24 +01:00
DevilXD 73a2a6145f Support new login flow via Chrome 2022-11-01 17:49:21 +01:00
DevilXD 88b228d38b Remove unneeded status update, update comments 2022-10-31 20:48:57 +01:00
DevilXD fdd0172abf Fix an issue with campaigns having an incorrect allowed channels list 2022-10-31 20:35:46 +01:00
DevilXD d8958d746c Add raw_response var for quick debug purposes 2022-10-28 22:05:15 +02:00
DevilXD 427e317755 Dev version bump 2022-10-27 18:13:10 +02:00
DevilXD 1696cc9618 Version bump 2022-10-27 17:53:27 +02:00
DevilXD 96e94039a8 Remove the integrity debug code 2022-10-25 22:31:59 +02:00
DevilXD e3bf0ee8c6 Dev version bump 2022-10-24 17:57:41 +02:00
DevilXD 0f44aac5b8 Fix site down detection logic 2022-10-24 17:40:38 +02:00
DevilXD b216d41492 Pre-read the response to avoid getting errors outside of the context manager 2022-10-24 17:32:58 +02:00
DevilXD bd652417dc Version bump 2022-10-23 21:23:43 +02:00
DevilXD e5642acc38 Remove notice 2022-10-23 21:22:05 +02:00
DevilXD c15f557b9e Fix a rare TclError bug 2022-10-23 14:06:06 +02:00
DevilXD a9d331e1b7 Disable the integrity header as it's not needed 2022-10-23 11:58:31 +02:00
DevilXD 2881cf0ad5 Adjust integrity expiring logic 2022-10-23 08:41:49 +02:00
DevilXD fee022b5a4 Clear the cookie on a 5027 from login 2022-10-23 08:33:28 +02:00
DevilXD 6929633093 7 -> 8s 2022-10-22 23:10:09 +02:00
DevilXD a24539a869 Add these for safe-keeping 2022-10-22 23:09:43 +02:00
DevilXD 21dc501872 Dev version bump 2022-10-22 18:01:26 +02:00
DevilXD 406635babb Allow the bad bot detection to pass, but print a warning 2022-10-22 17:45:06 +02:00
DevilXD 0075e8eb8d Update client ID 2022-10-22 17:27:42 +02:00
DevilXD 53d232daa9 Invalidate integrity and retry when the check fails 2022-09-20 20:44:35 +02:00
DevilXD 44fc3122e0 Improve venv setup script 2022-09-19 22:51:42 +02:00
DevilXD 07e0ee7b40 Fixed Credits section formatting 2022-09-19 21:17:01 +02:00
DevilXD 921b3b9170 Dev version bump 2022-09-19 15:53:24 +02:00
DevilXD 0fef027879 Improve GQL error reporting 2022-09-19 15:03:40 +02:00
DevilXD 1810d802b4 Account for the request invalidation happening during the request 2022-09-17 20:13:16 +02:00
DevilXD 8069168873 Change the pack task to build and pack 2022-09-17 18:49:53 +02:00
DevilXD 09afe13c9a Dev version bump 2022-09-17 18:46:32 +02:00
DevilXD 7150c18f6e Merge branch 'master' of https://github.com/DevilXD/TwitchDropsMiner 2022-09-17 18:28:32 +02:00
DevilXD 7d14b51221 Hard-reload on integrity expiring during request;
Implement a way to hard-reload the application when the integrity token expires during a request, or inside its retry loop
2022-09-17 18:28:26 +02:00
DevilXD f65c0922c2 Add clear_topics to websocket stop;
Topics are cleared on a remove now
2022-09-17 18:28:00 +02:00
DevilXD 80cf5a8a61 Simplify some of the websocket start and stop logic 2022-09-17 15:17:02 +02:00
DevilXD b35f7ce3c3 Add missing translation logic of the login flow 2022-09-17 12:11:20 +02:00
DevilXD 593f36f18f Implement a lock to ensure only one verification is done at a time 2022-09-17 10:32:42 +02:00
DevilXD 8f0f94c32b Add a more helpful error for a messed up default translation 2022-09-16 17:27:50 +02:00
DevilXD 22f442fcad Version bump, new version format 2022-09-16 16:36:54 +02:00
DevilXD a5822fb8ed Add a no-cache header to GQL 2022-09-16 16:28:47 +02:00
DevilXD efd48a8287 Improve on the GQL integrity headers 2022-09-16 15:03:25 +02:00
DevilXD 8da6ae8c8b Move the logged in event to auth state 2022-09-15 07:44:20 +02:00
DevilXD fb3c6bf0ce Finish integrity support 2022-09-15 07:27:55 +02:00
DevilXD 01729761d8 Initial integrity support 2022-09-14 23:20:04 +02:00
DevilXD ef05d78d43 Fix invalid escape sequence warning (added numbers) 2022-09-14 17:26:25 +02:00
DevilXD 560b8f4720 Detect and report GQL errors as exceptions 2022-09-14 15:04:13 +02:00
DevilXD 0dce936c2b Inventory tab exclude option takes priority_only into account 2022-09-13 14:35:31 +02:00
DevilXD 0e9ddefa03 Add an option to hide excluded games from the inventory view 2022-09-12 20:04:40 +02:00
DevilXD 3c6fecb039 exp backoff 0 shift + fix quick retry logic 2022-09-12 19:37:56 +02:00
DevilXD 76a34685da Redo some of the typing 2022-09-10 15:51:27 +02:00
DevilXD ac8d15a43b Choosing Quit from the tray icon only destroys the icon when the application actually exits 2022-09-10 15:29:58 +02:00
DevilXD 81e0497f9c Fix an issue with the window starting as minimized 2022-09-10 15:29:26 +02:00
DevilXD 96b359d2ea Don't pack by default 2022-09-10 15:27:48 +02:00
DevilXD 3cf083d9fe Fix an issue with the tray icon delaying the shutdown for too long 2022-09-04 09:31:01 +02:00
DevilXD befb755273 Fix an issue with tray startup not working 2022-09-04 09:30:19 +02:00
DevilXD c12a691a54 Make sure Windows shutdown is handled when minimized too 2022-09-03 18:50:36 +02:00
DevilXD 5068b5429c Update user agent to the lastest Chrome one 2022-09-03 18:23:05 +02:00
DevilXD 1e035f1a36 Properly handle Windows shutdown message 2022-09-03 18:12:32 +02:00
DevilXD 8ddfdc5114 Fix broken GUI debug 2022-09-03 18:06:17 +02:00
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 ede42e4589 WebsocketTopic uses as_str in its init now 2022-08-26 13:36:43 +02:00
DevilXD 8c031232d1 asyncio.wait consistency cleanup 2022-08-26 12:29:51 +02:00
DevilXD 127822a26f task_wrapper now ignores ExitRequest 2022-08-24 12:34:14 +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 091ed1422c Make settings use the default language from constants.py instead of a hardcoded value 2022-08-24 11:44:06 +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 431fa6adcc Fix a bug with GQL operations containing variables getting their defaults overwritten 2022-08-22 21:15:23 +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 512593e54b Ignore log.txt 2022-08-21 11:44:31 +02:00
DevilXD 31f25c9a6d Show progress for drops with non-zero current minutes 2022-08-20 23:04:25 +02:00
DevilXD e0dc371824 Rename a translation key 2022-08-20 22:14:38 +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 5afc7ec27d Make image cache use the request wrapper 2022-08-19 11:57:18 +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 3c81268501 Fix gui dev testing breaking (again) 2022-08-16 10:01:22 +02:00