Commit Graph
100 Commits
Author SHA1 Message Date
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 0388fdc290 Add drops column, signifying if drops are enabled or not 2022-01-30 16:56:15 +01:00
DevilXD 0b8e0211ff Fix a bug with set_status when amount of topics is zero 2022-01-30 16:54:11 +01:00
DevilXD cdb8e958c3 Version bump 2022-01-28 23:13:31 +01:00
DevilXD be4c443836 Implement automatic zip dist creation 2022-01-28 23:07:53 +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 255fb55963 Add channel priority for display 2022-01-25 22:42:45 +01:00
DevilXD f7d836aa4f Give imports some more sensible ordering 2022-01-25 16:20:48 +01:00
DevilXD 91b2844e9b Fix an issue with directory returning channel name as login 2022-01-25 16:05:14 +01:00
DevilXD 20949e7738 Unify constants variables documentation 2022-01-25 16:04:56 +01:00
DevilXD 5e2a40fc57 Improve channel's repr 2022-01-24 23:02:00 +01:00
DevilXD 29d4fb6cb0 Fix an issue where channel's display name was treated like it's username/login 2022-01-24 22:57:37 +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 75179dc69f Fix isEnabled KeyError 2022-01-22 19:32:13 +01:00
DevilXD 7e5f34748b Use aware timestamps in inventory 2022-01-22 19:13:22 +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 e21494cfe8 Shrink now uses minwidth when the table is empty 2022-01-19 19:40:12 +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 1d65fddfa1 Simplify set_status typings and handling 2022-01-14 19:07:07 +01:00
DevilXD 9b51cf079b Make sure watch task is protected by task_wrapper 2022-01-14 18:52:55 +01:00
DevilXD 3f19174b20 Version bump 2022-01-14 18:52:30 +01:00
DevilXD 8d18b542df Fix quit -> sys.exit 2022-01-14 16:49:28 +01:00
DevilXD 1cdb39768c App building improvements 2022-01-14 15:50:03 +01:00
DevilXD fd030e33f6 Quit if the application is already running 2022-01-14 15:10:36 +01:00
DevilXD b6229163bf Fix an AttributeError on cache invalidation 2022-01-13 18:13:36 +01:00
DevilXD bf377b260f Add campaign and drop repr 2022-01-13 14:28:22 +01:00
DevilXD 7b80cd9a67 Cache dynamic inventory attributes 2022-01-13 14:13:59 +01:00
DevilXD 8c4da299e8 Implement a 'tray' argument 2022-01-13 13:48:02 +01:00
DevilXD afa1945c87 Implement tray icon title displaying progress 2022-01-13 13:32:02 +01:00
DevilXD f1ee9560e1 Make EXE name more accurate 2022-01-13 13:04:34 +01:00
DevilXD 34a1a5b12b Remove Pillow dependency 2022-01-12 21:36:47 +01:00
DevilXD eee93b2554 Version bump 2022-01-12 19:13:00 +01:00
DevilXD 692a7f9de4 Let the tray icon's setup thread handle visibility 2022-01-12 18:56:36 +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 b17127aabc Fix a bug with WS status not updating after removal 2022-01-12 16:39:05 +01:00
DevilXD a91644d6de Latest user agent, cleanup comments and docstrings;
ONLINE_DELAY: 60s -> 120s
2022-01-12 12:11:04 +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 68d7a2fe3e Implement dynamic precoditions 2022-01-11 20:19:54 +01:00
DevilXD a4d708eed8 Fix is_watching not working 2022-01-11 19:06:35 +01:00
DevilXD 7f685dd8a4 Don't shrink constant-width columns 2022-01-11 17:31:58 +01:00
DevilXD e0868c5fa7 Redesign the watch loop with awaitable channel value 2022-01-11 15:37:11 +01:00
DevilXD 215f02bb87 Implement channel list shrinking on cleanup 2022-01-11 12:30:08 +01:00
DevilXD 56bd015192 More descriptive column width templates 2022-01-11 12:06:12 +01:00
DevilXD fb10d2ae78 Fix selecting next game 2022-01-11 11:58:52 +01:00
DevilXD 826b6647d0 Move channel cleanup 2022-01-11 11:55:52 +01:00
DevilXD b7f819cdda Fix time formatting in log messages 2022-01-11 11:27:35 +01:00
DevilXD 79ed2af650 Store allowed channel names 2022-01-10 19:49:34 +01:00
DevilXD d4cb810e0e Add some useful GQL operations descriptions 2022-01-10 19:46:18 +01:00
DevilXD 6032caff94 Add a troubleshooting section 2022-01-10 10:19:52 +01:00
DevilXD 2bbbad8c9f farm -> mine 2022-01-10 10:03:01 +01:00
DevilXD 770687410d Version bump 2022-01-10 09:55:26 +01:00
DevilXD ab202279dd Fix a crash when there's no available campaigns 2022-01-10 09:53:06 +01:00
DevilXD 8d77a362b5 Fix detection of whether or not a drop can be progressed 2022-01-09 14:13:08 +01:00
DevilXD 1af56199fc Fix a bug with claim method returning False for already claimed drops 2022-01-09 14:11:40 +01:00
DevilXD c072cd7899 Version bump 2022-01-08 18:40:13 +01:00
DevilXD 6bbf33fb0e Remove debug logging 2022-01-08 18:31:49 +01:00
DevilXD 402b299a43 Add more useful descriptions 2022-01-08 18:29:25 +01:00
DevilXD ca96b5a799 Fix debug log formatting 2022-01-08 15:21:39 +01:00
DevilXD bbea5452b6 Add missing type: ignore 2022-01-08 15:16:06 +01:00
DevilXD 23ab930c0d Simplify the logic of adding channels to the cache 2022-01-08 15:06:07 +01:00
DevilXD 79e685ed0b Use a list for the games;
Preserves games sorting, and lets the campaigns return games in their active state order
2022-01-08 15:03:09 +01:00
DevilXD 1134dfcef3 Only triggere a game select state change when the selection actually changes 2022-01-08 14:55:36 +01:00
DevilXD 1f43702839 Campaign remaining minutes substraction fix;
Fixed an issue with a minute being substracted from campaign time, when drop minutes reached 0
2022-01-08 14:47:07 +01:00
DevilXD 405e1af9e3 Bump watch interval by 0.1s 2022-01-08 13:29:07 +01:00
DevilXD 8241205264 Updated notes 2022-01-08 11:36:28 +01:00
DevilXD c5f840e23b Fixed a bug with the timer misbehaving when displaying full hours 2022-01-08 11:04:54 +01:00
DevilXD 15d127bedd Watch restart after claiming drop adjustment 2022-01-07 22:41:37 +01:00
DevilXD 30f8f3f5c5 Minor divmod rewrite 2022-01-07 22:13:30 +01:00
DevilXD fe4169cf6f Anonymize points payloads 2022-01-07 20:07:39 +01:00
DevilXD 4cd392022f Correct logging attempts count: +1 2022-01-07 19:26:26 +01:00
DevilXD 36ed913ce8 Add an option of logging into a file 2022-01-07 19:22:38 +01:00
DevilXD cd71f676ca Fix minor typing 2022-01-07 17:33:04 +01:00
DevilXD 12da851800 Improve handling after claiming a drop 2022-01-07 16:05:06 +01:00
DevilXD c1f4233111 Improve debug log + session timeout 2022-01-07 13:32:34 +01:00
DevilXD d81649ed9c Settings file isn't a thing for now 2022-01-07 13:32:04 +01:00
DevilXD bd0392e168 Drop claim minutes fix 2022-01-07 10:47:06 +01:00
DevilXD 62a3bc715c Better active drop search 2022-01-07 10:46:33 +01:00