Commit Graph
224 Commits
Author SHA1 Message Date
DevilXD 7c4a683f1f Mnt task triggers channel cleanup instead of just a switch 2022-12-01 09:47:26 +01:00
DevilXD d3b9a76b5a Merge branch 'linux' into master 2022-11-30 22:15:38 +01:00
DevilXD 323de6ed59 Include game name in the tray notification and mouse-over title 2022-11-30 11:51:49 +01:00
DevilXD 36597d9a4a Display campaign's game, clear progress when idle 2022-11-30 10:47:56 +01:00
DevilXD d36b236070 Add a fallback user agent 2022-11-27 18:48:35 +01:00
DevilXD 5a903ce0bf Implement translations 2022-11-27 18:41:11 +01:00
DevilXD 0dc8313188 Add mnt triggers only for campaigns we care about 2022-11-24 20:24:34 +01:00
DevilXD 4b30cf116b Stop the maintenance task from executing triggers...;
if we're reloading the whole inventory anyway
2022-11-24 13:23:32 +01:00
DevilXD d308fad51c Remove the counter from the fetching campaigns step 2022-11-22 09:02:20 +01:00
DevilXD 0f538482c7 Limit the amount of connections made;
streamline GQL bulk campaigns fetching
2022-11-21 22:44:56 +01:00
DevilXD 29be8bd799 Improve Twitch's 5XXX errors handling 2022-11-21 14:19:47 +01:00
DevilXD 03eb64171c Redesign the maintenance task to avoid reloading on campaign status changes 2022-11-20 23:09:11 +01:00
DevilXD bcb5bfab36 Handle GQL service timeout 2022-11-19 19:26:02 +01:00
DevilXD 504c6b06c0 Reimplement standard login procedure, keep chrome as backup 2022-11-19 19:03:52 +01:00
DevilXD 5e3e7b6f4f Fix an issue with trying to mine a completed campaign 2022-11-15 21:45:44 +01:00
DevilXD 6f3da7b0cc Don't let the active drop search straight up lie to the user 2022-11-15 21:40:24 +01:00
DevilXD 008dffb212 A bunch of naming and consistency changes 2022-11-15 21:39:17 +01:00
DevilXD 147639a454 Minor ExponentialBackoff exp -> steps;
No connection stemps greater than 1 detection
2022-11-07 08:00:00 +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 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 96e94039a8 Remove the integrity debug code 2022-10-25 22:31:59 +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 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 406635babb Allow the bad bot detection to pass, but print a warning 2022-10-22 17:45:06 +02:00
DevilXD 53d232daa9 Invalidate integrity and retry when the check fails 2022-09-20 20:44:35 +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 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 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 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 560b8f4720 Detect and report GQL errors as exceptions 2022-09-14 15:04:13 +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