Commit Graph

760 Commits

Author SHA1 Message Date
DevilXD
b7924231a4 Support autostart when running from source 2024-10-27 13:13:30 +01:00
DevilXD
d8687b6d1b Use 'resolve' instead of 'absolute' for obtaining absolute paths;
gui.py GUI debug now redirects SELF_PATH to main.py as well
2024-10-27 13:12:36 +01:00
Patriot99
eae23e367f Update Polish translation (#592)
Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2024-10-26 22:09:28 +02:00
guihkx
9b44968ef8 ci: add validation job
For now, this job only validates the JSON language files in "lang/",
but in the future, more validation/test steps can be added.
2024-10-25 07:54:52 +02:00
DevilXD
9ee872f475 Fix Simplified Chinese JSON formatting 2024-10-24 08:34:06 +02:00
张明浩
051c1816c0 Fix missing new line in Simplified Chinese translation (#585) 2024-10-24 06:53:56 +02:00
DevilXD
057be65af4 Fix banned users breaking Channel.from_directory 2024-10-23 22:34:22 +02:00
别烦
1228ab0911 Update Simplified Chinese translation (#582) 2024-10-23 15:51:00 +02:00
DevilXD
f128e918d2 Update AvailableDrops GQL hash 2024-10-13 00:33:20 +02:00
DevilXD
e79ab9d5d7 Update Inventory GQL hash 2024-10-12 08:24:23 +02:00
DevilXD
f11e3347e0 Update CampaignDetails GQL hash 2024-10-12 07:26:02 +02:00
DevilXD
66c361103f Display separate start and end times for drops which start after their campaign starts, or end before their campaign ends 2024-09-29 22:20:14 +02:00
DevilXD
c951f000b0 Update PlaybackAccessToken GQL hash 2024-09-29 17:15:50 +02:00
DevilXD
93d5d8750d Fix ZeroDivisionError in TimedDrop.availability 2024-09-25 10:37:38 +02:00
DevilXD
d333c86598 Handle GetStreamInfo returning None for suspended channels 2024-09-21 10:12:44 +02:00
DevilXD
8ee49bebf0 Fix asyncio.as_completed not cancelling its tasks 2024-09-21 10:10:16 +02:00
DevilXD
c08199da67 Revert "Increase the GQL rate limit 4-fold"
This reverts commit 143252f4fa.
2024-09-21 10:00:44 +02:00
DevilXD
f0b34f3086 Remove unused Channel.from_name 2024-09-21 09:56:08 +02:00
DevilXD
6c76b968a7 Fix missing parameter in RateLimiter repr 2024-09-20 23:07:58 +02:00
DevilXD
bd048e0cfa Fix an issue with finished campaigns not being shown in the GUI 2024-09-20 22:58:21 +02:00
DevilXD
9becb14393 Implement total_required_minutes, rework existing total_remaining_minutes 2024-09-20 22:58:01 +02:00
DevilXD
143252f4fa Increase the GQL rate limit 4-fold 2024-09-20 10:15:38 +02:00
DevilXD
0105be7e46 Revert "Temporarily disable bulk_check_online, until GQL rate limit is implemented"
This reverts commit 8fa0669c9f.
2024-09-19 23:35:48 +02:00
DevilXD
3460979700 Implement GQL rate limiter 2024-09-19 23:34:54 +02:00
DevilXD
d68271068d Minor code simplification 2024-09-18 22:04:02 +02:00
DevilXD
cc7c4c1ab9 Significantly reduced the amount of OAuth scopes requested during login process 2024-09-18 22:00:25 +02:00
DevilXD
cffda7fc39 Fix an issue with offline streams returning 404 and breaking send_watch 2024-09-18 21:57:25 +02:00
DevilXD
d7a26f67c1 Minor documentation string update 2024-09-16 23:41:09 +02:00
DevilXD
35ecdf764a RequestInvalid is now a subclass of RequestException 2024-09-16 23:18:37 +02:00
DevilXD
8fa0669c9f Temporarily disable bulk_check_online, until GQL rate limit is implemented 2024-09-16 00:35:25 +02:00
DevilXD
dc6cf5b524 Bring README more up to date 2024-09-15 23:40:26 +02:00
DevilXD
bb298ed00c Stop logging websocket connection retry exceptions 2024-09-15 21:28:51 +02:00
DevilXD
b9dfc75398 Implement channel status bulk-check logic 2024-09-15 16:28:50 +02:00
DevilXD
06d495c026 ONLINE_DELAY time reduction: 120 -> 20 2024-09-15 16:28:01 +02:00
DevilXD
1dd31e3f93 Remove OrderedSet, channels have to be re-sorted during selection process anyway 2024-09-15 16:27:18 +02:00
DevilXD
b3516d5658 Live streams limit 30 -> 20; add handling for the drops_enabled flag 2024-09-15 16:25:13 +02:00
DevilXD
89753dcf39 Slightly delay opening the activation page during OAuth login process 2024-09-15 14:55:11 +02:00
DevilXD
ea4437b9d2 JSON loading now generally ensures loaded value type matches the template 2024-09-15 14:53:39 +02:00
DevilXD
df05fb2707 Automatically clear the jar and delete the cookie file for re-auth;
if the Client ID within the cookie does not match the Client ID currently used by the application (#107)
2024-09-15 14:25:20 +02:00
DevilXD
77e2ce0c28 Reduce cookies file size by removing empty cookie entries 2024-09-15 00:25:31 +02:00
DevilXD
1684f92afe Minor variable wording corrections 2024-09-14 14:05:58 +02:00
DevilXD
e9a254ad0a "Adding campaigns" phase now starts at 0 2024-09-14 14:02:30 +02:00
DevilXD
a30e8d3ce4 Add a prioritization strategy for games outside of the priority list 2024-09-11 22:58:48 +02:00
DevilXD
ab37b0a143 Don't show sub-only campaigns in the inventory view 2024-09-11 17:09:26 +02:00
DevilXD
c7b89cae2f Fix an issue with TimedDrop.can_earn_within not ignoring sub-based drops 2024-09-11 17:01:53 +02:00
DevilXD
84d0dc1045 Minor syntax simplification 2024-09-11 16:13:06 +02:00
DevilXD
9e3ae85fa5 Use SelectCombobox for language selection 2024-09-11 12:31:36 +02:00
guihkx
49e8db9e22 linux/appimage: install meson and ninja from PyPI
Some systems (e.g. Ubuntu 22.04, which we use to make the AppImage),
have ancient versions of meson and ninja, which is not good when we
have dependencies like PyGObject 3.47+ (and more recently, one of its
transitive dependencies, pycairo 1.27+) requiring a fairly recent
version of meson to be able to be built.

So, instead of relying on whatever meson/ninja version the current
system provides us with to make the AppImage, this change will simply
install up-to-date, official wheels of meson/ninja directly from PyPI.

This also allows us to finally unpin PyGObject's version.
2024-09-11 11:47:05 +02:00
DevilXD
9c58befac3 Change temporary print to a MinerException 2024-09-11 10:50:30 +02:00
DevilXD
d3a754a438 Revert "Try to remedy the exception not getting caught"
This reverts commit a42a72bfb1.
2024-09-11 10:45:27 +02:00