Commit Graph

94 Commits

Author SHA1 Message Date
DevilXD
b05d9bca2d Ensure connection error cause is included 2022-02-11 16:50:32 +01:00
DevilXD
ab5fd592c8 get rid of is_watching 2022-02-10 21:45:10 +01:00
DevilXD
d3fd4e93a3 use more walrus operator 2022-02-10 21:34:48 +01:00
DevilXD
473af57aeb make channel list's display add channels only on explicit add 2022-02-10 21:34:36 +01:00
DevilXD
3ccbd4c3db Readd campaign's get_drop 2022-02-10 20:10:17 +01:00
DevilXD
d90d20a42c Streamline connection retry code 2022-02-09 11:59:08 +01:00
DevilXD
b28940fce1 Get rid of password validation on login 2022-02-07 18:44:42 +01:00
DevilXD
5e129d41d8 Attribute lookup performance improvements 2022-02-06 21:23:17 +01:00
DevilXD
b0007eaab2 Remove inventory lock to fix a bug;
with campaign not refreshing once all drops are mined
2022-02-04 16:52:14 +01:00
DevilXD
e921295613 Use more accurate types and checks for drop context 2022-02-01 21:01:58 +01:00
DevilXD
beca65e271 Fix None drop context crash 2022-02-01 20:59:50 +01:00
DevilXD
1a1117b90c Fix an issue with watching channel being lost on cleanup 2022-02-01 12:51:28 +01:00
DevilXD
6839247322 Go back to refreshing inventory every hour;
implement inventory lock
2022-01-31 15:09:14 +01:00
DevilXD
4b97b26630 Make IDLE able to switch to mining if a channel comes online 2022-01-31 11:36:58 +01:00
DevilXD
2c6ee2939e Implement idle argument 2022-01-31 11:23:11 +01:00
DevilXD
88d7ffa520 Fix a bug with not claiming one of the two drops;
if two of them happened to be earned at the same time.
2022-01-30 20:57:33 +01:00
DevilXD
61a3d6560c Fix cleanup cleaning up priority channels 2022-01-28 16:43:35 +01:00
DevilXD
bad1596324 Print a message when a priority channel goes online;
and triggers a switch
2022-01-26 19:36:09 +01:00
DevilXD
f7d836aa4f Give imports some more sensible ordering 2022-01-25 16:20:48 +01:00
DevilXD
20949e7738 Unify constants variables documentation 2022-01-25 16:04:56 +01:00
DevilXD
9ef0007604 Improve figuring out if new campaigns are claimed or not 2022-01-24 22:57:14 +01:00
DevilXD
d51c3f53bd Move ACL check into drop's can_earn 2022-01-23 14:01:35 +01:00
DevilXD
1e552919ac Add missing error message print 2022-01-23 13:31:02 +01:00
DevilXD
3d3eb3b005 Defer client session init 2022-01-23 12:40:16 +01:00
DevilXD
0e5560f441 Minor debug print improvement 2022-01-22 22:58:32 +01:00
DevilXD
6689b28a70 Speed up get_drop 2022-01-22 22:57:26 +01:00
DevilXD
a387482962 Fix active drop search failing on campaigns with an empty ACL 2022-01-22 22:53:01 +01:00
DevilXD
b634f04da0 Reduce live channels limit to 30 2022-01-22 21:12:42 +01:00
DevilXD
59cceaf474 Added some basic connection problems handling 2022-01-22 21:10:12 +01:00
DevilXD
0227362537 Fix active drop subone pre-display 2022-01-22 19:47:43 +01:00
DevilXD
db5698843c Cache watch payload 2022-01-22 19:42:01 +01:00
DevilXD
c0d6d8eb60 Fix channel cleanup removing priority channels 2022-01-22 19:02:31 +01:00
DevilXD
bd9d818b21 Implement support for campaign ACLs 2022-01-22 15:31:44 +01:00
DevilXD
97d6ac1b29 Move asyncio loop handling to main.py 2022-01-17 17:04:31 +01:00
DevilXD
2fdbf809e7 Small closing sequence cleanup + useful comments 2022-01-16 23:16:33 +01:00
DevilXD
3a05e5e104 More accurate active drop pre-display 2022-01-16 23:10:52 +01:00
DevilXD
365a702d8a Implement automatic campaign discovery and starting 2022-01-16 22:56:06 +01:00
DevilXD
cf1830cce9 Stop automatic switching between games;
IDLE state + listbox selection clear fix
2022-01-16 22:50:09 +01:00
DevilXD
9b51cf079b Make sure watch task is protected by task_wrapper 2022-01-14 18:52:55 +01:00
DevilXD
8d5f66c654 Ensure CHANNEL_CLEANUP stops watching a channel that's about to be removed 2022-01-12 17:48:25 +01:00
DevilXD
17dc4b2c30 Ensure CHANNEL_SWITCH preserves currently watched channel 2022-01-12 17:45:45 +01:00
DevilXD
cab3c584fb Change campaigns refresh every hour to channel cleanup;
Separate off GAMES_UPDATE from INVENTORY_FETCH
2022-01-12 11:50:16 +01:00
DevilXD
6b30f93f71 Implement dynamic campaign status 2022-01-12 11:36:36 +01:00
DevilXD
9f7c865abb Implement tray drop claim notifications 2022-01-11 22:23:58 +01:00
DevilXD
1aba5984d2 Protect 3p lib imports + update requirements 2022-01-11 20:29:13 +01:00
DevilXD
716a824323 Implement the tray icon 2022-01-11 20:22:02 +01:00
DevilXD
a3ca61f1c7 Inventory fetch now sorts campaigns 2022-01-11 20:20:54 +01:00
DevilXD
2e7f19be0d Remove campaign's get_drop 2022-01-11 20:20:21 +01:00
DevilXD
a4d708eed8 Fix is_watching not working 2022-01-11 19:06:35 +01:00
DevilXD
e0868c5fa7 Redesign the watch loop with awaitable channel value 2022-01-11 15:37:11 +01:00