Commit Graph

692 Commits

Author SHA1 Message Date
DevilXD
4dcabeeb9e Exceptions cleanup 2024-08-04 15:08:40 +02:00
DevilXD
9779d7a2c8 Handle Unauthorized being returned by GQL 2024-08-02 21:15:13 +02:00
DevilXD
59de7a77f1 Update DirectoryPage GQL hash (#523) 2024-07-30 21:10:10 +02:00
DevilXD
a7088161d7 Temp log InvalidURL occurences 2024-07-25 00:01:56 +02:00
DevilXD
0f3a7841b7 Update GQL campaign details operation 2024-07-22 20:51:04 +02:00
DevilXD
97686353d4 Update GQL campaigns operation 2024-07-22 19:50:37 +02:00
DevilXD
db862cfdc0 Minor simplification of the autostart detection logic 2024-07-17 13:41:00 +02:00
DevilXD
07baba3935 Websocket SSL is verified by default 2024-07-16 18:17:13 +02:00
DevilXD
90c3deff29 Fix default websocket status being untranslated 2024-07-16 18:17:12 +02:00
DevilXD
016955c8ba Critical tasks now cause the app to exit, instead of letting it continue with broken functionality 2024-07-16 18:16:31 +02:00
DevilXD
f32c8f25d8 Speed up app loading by fetching inventory images concurrently 2024-07-16 17:54:34 +02:00
DevilXD
aad27baec0 Update and reformat the default translation 2024-07-14 08:16:32 +02:00
DevilXD
c763063714 Added possible GQL error to be handled later 2024-07-14 08:11:16 +02:00
DevilXD
35191baaa8 Update GameDirectory GQL operation 2024-07-05 16:40:31 +02:00
DevilXD
18a03353ef Fix autostart setting verbisity flag to zero 2024-07-04 12:09:44 +02:00
DevilXD
38fd7588d4 task_wrapper exception logger now specifies the task name 2024-07-04 11:52:14 +02:00
DevilXD
dc488603c3 Use heavy plus sign character for priority/exclude lists add button 2024-07-03 17:04:10 +02:00
DevilXD
17009d7a65 Dynamically adjust the Exclude/Priority dropdown selection lists (#298) 2024-07-03 17:03:18 +02:00
DevilXD
35c46c2b78 Implement a dynamic tray icon status picture 2024-07-01 21:20:27 +02:00
DevilXD
14a9154366 Implement autostart querying upon application start 2024-07-01 19:25:16 +02:00
DevilXD
5ade35d6a5 Ensure drops cannot end up with inconsistent current minutes and progress 2024-07-01 17:08:13 +02:00
DevilXD
da050828c1 Ensure no user ID is present in dropInstanceID 2024-07-01 16:17:58 +02:00
DevilXD
5b515be34b Account for end-of-stream tag when sending watch requests 2024-06-30 12:37:15 +02:00
DevilXD
f5d5fc3a05 Add a way for the application to dump inventory data into a file 2024-06-30 12:01:03 +02:00
DevilXD
6d258efe41 User agents update 2024-06-24 23:20:57 +02:00
DevilXD
90757606fe Add claim ID generator for future reference 2024-06-23 09:54:45 +02:00
DevilXD
e34d1bb2da Update CurrentDrop tracking elsewhere in the code 2024-06-23 09:54:27 +02:00
DevilXD
7b0f25d5d0 Introduce back GQL progress querying;
to ensure more accurate drop progress
2024-06-23 09:40:37 +02:00
DevilXD
2bd2845790 Update DirectoryPage_Game GQL operation 2024-06-23 00:03:09 +02:00
DevilXD
a1ac24048b Add new GQL operation for potential later usage 2024-06-22 23:50:30 +02:00
DevilXD
b47b2089c0 Implement channel watching using the new method 2024-06-22 18:16:14 +02:00
DevilXD
c7f8d56946 Fix DivisionByZero error in progress calculation 2024-06-20 23:06:37 +02:00
DevilXD
0baed05c21 Remove selenium, chrome and integrity handling 2024-06-20 22:55:36 +02:00
DevilXD
f987fecdd0 Fix tray icon title going over 128 characters 2024-06-20 20:19:30 +02:00
Arne Weber
7212bc9a1e fixed comment spelling 2024-06-02 14:44:50 +02:00
Arne Weber
251d0ce60c shorter taskbar title: allows 128, but shows 127 2024-06-02 14:44:50 +02:00
Arne Weber
2dfc8ddaca removed debug print statements 2024-06-02 14:44:50 +02:00
Arne Weber
af3079f405 fixed tray title exceeding 128 causing crash 2024-06-02 14:44:50 +02:00
Patriot99
4ea6912d74 Update English translation (#483) 2024-05-27 13:11:12 +02:00
guihkx
27dcc9c280 linux: pin PyGObject version to <3.47
This fixes the broken "Linux (AppImage)" CI job.

PyGObject 3.47 has dropped setuptools in favor of meson-python, which
isn't a problem per se, but they also require meson 0.63.3, which we
don't currently have in the repositories of Ubuntu 20.04, which is
the oldest (yet supported) version we use to build our AppImage
package, in order to increase compatibility with as much Linux distros
as possible.

And since there's no real, compelling reason to upgrade to the latest
version of PyGObject right now, let's just pin it to version <3.46,
until we eventually upgrade the Ubuntu version we use for CI.
2024-04-30 14:14:32 +02:00
guihkx
26c559a27f ci: update actions/download-artifact to v4
This version bump is now needed because of changes from commit
7e2c233674, which ended up breaking
automated uploads to the Releases page.
2024-04-30 14:14:32 +02:00
DevilXD
7e2c233674 CI actions update 2024-04-30 10:41:09 +02:00
DevilXD
ab76491ecc Fix channel settings URL being different for some users 2024-04-30 10:07:25 +02:00
DevilXD
5dea41a6ab Log AvailableDrops errors, preventing crashes if possible 2024-02-18 10:12:31 +01:00
DevilXD
a536dde677 Add exception-catchers that point out exactly which game or channel causes a crash 2024-02-17 11:31:37 +01:00
guihkx
dbd3cd82a0 Move ClientType into Twitch class as an attribute
This allows us to use the base URL as specified in ClientInfo for
requests made to Twitch.

Previously, we'd hardcode "www.twitch.tv" as the base URL to make
channel-related requests, but because we're currently spoofing the
mobile client, that would always cause a HTTP redirect to m.twitch.tv.

This change avoids that HTTP redirect, and potentially saves a whopping
150 ms (or more 😱) when making channel-related requests.

Co-authored-by: DevilXD <4180725+DevilXD@users.noreply.github.com>
2024-02-14 14:51:37 +01:00
DevilXD
d7c2c8d5c3 Add MIT license 2024-01-30 17:16:29 +01:00
guihkx
8bc62dcec1 readme: mention glibc 2.35 requirement for the AppImage 2024-01-22 23:29:38 +01:00
guihkx
3897a8bccf ci/linux: build AppImage on Ubuntu 22.04 (Python 3.10)
Ubuntu 20.04 only has Python 3.8, and because the 'truststore'
dependency requires at least Python 3.10, the AppImage package would
need to bundle CA certificates from 'certifi' to make HTTPS requests
work at all, which is quite an ugly workaround.

Unfortunately, as a side effect, building on Ubuntu 22.04 increases the
minimum required version of glibc from 2.31 to 2.35.
2024-01-22 23:29:38 +01:00
guihkx
6e5fee7103 linux/appimage: generate byte-code files and package them
This makes the app start slightly faster, as byte-code files won't need
to be generated every time users run the app.

https://docs.python.org/3.10/library/compileall.html
2024-01-22 23:29:38 +01:00