Commit Graph

674 Commits

Author SHA1 Message Date
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
DevilXD
9c0318dab1 Fix missing certifi certificate 2024-01-21 09:48:45 +01:00
DevilXD
9e18c1ab20 Revert AppImage back to using 3.8 2024-01-20 18:39:42 +01:00
DevilXD
da600f3db6 Remove extra spaces 2024-01-20 18:36:28 +01:00
DevilXD
b655803bf5 Don't need to use venv in CI builds 2024-01-20 13:15:11 +01:00
DevilXD
0d72f1ebea Install requirements via the 3.10 version 2024-01-20 11:42:36 +01:00
DevilXD
0df7d9e57f Yet another attempt at passing env vars to the script 2024-01-20 11:16:43 +01:00
DevilXD
aede883062 Try a different env var reference syntax 2024-01-20 11:12:50 +01:00
DevilXD
0a4bef728e Switch back to ubuntu-20.04 runners, fix AppImage builder exec 2024-01-20 11:09:06 +01:00
DevilXD
8cfa43b52b Make AppImage build python-version independent 2024-01-19 20:06:56 +01:00
DevilXD
d70e3b85b7 Switch from script variables to context variables 2024-01-19 19:35:34 +01:00
DevilXD
0b6deeb951 Fix missing quotes around variables; set up Python for AppImage too 2024-01-19 19:27:16 +01:00
DevilXD
b754f5e4a6 Run on latest windows and linux runners; ensure python 3.10 version 2024-01-19 19:23:10 +01:00
DevilXD
91f2dacbcc Use truststore on Windows in Python 3.10+ 2024-01-15 15:05:58 +01:00
DevilXD
f125bf058e Actually handle the sound parameter 2024-01-15 12:19:22 +01:00
DevilXD
caecef4ecd Make some notification noise when the application terminates without request 2024-01-15 12:06:30 +01:00
Kjerne
36867dca97 Update Dansk.json
Fixed with a comma
2024-01-01 11:10:53 +01:00
Eriza Zehezkiel Gracia
475b4893d1 Adding Indonesian language 2023-12-30 10:05:17 +01:00
DevilXD
efe601aeb1 Pass-through for SSL cert verification errors 2023-12-26 21:00:57 +01:00