-
-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate Twitch badges to Helix #4537
Merged
pajlada
merged 38 commits into
Chatterino:master
from
ZonianMidian:helix-migration/twitch-badges
Apr 16, 2023
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9abe788
Initial implementation of Helix.cpp & Helix.hpp
ZonianMidian ad94591
Add changelog item
ZonianMidian e538c4a
Class declaration for errors
ZonianMidian b997784
New implementations and fixes for Helix.cpp and Helix.hpp
ZonianMidian cdaf33c
Minor correction
ZonianMidian e0db1e4
Class correction for clickURL in Helix.hpp
ZonianMidian ae4e27a
Removed unnecessary Content-Type
ZonianMidian 8c99efb
Merge branch 'helix-migration/twitch-badges' of https://github.com/Zo…
ZonianMidian cd0c55d
Virtual functions getGlobalBadges and getChannelBadges defined in IHelix
ZonianMidian ca8653d
Added missing
ZonianMidian 8702f8a
Added mock method to MockHelix for HelixGlobalBadges and HelixChannel…
ZonianMidian 88cb070
Added extra parenthesis in mock method
ZonianMidian a0841cb
Correction of file formatting
ZonianMidian 1218dc3
Merge branch 'master' into helix-migration/twitch-badges
ZonianMidian 4f8fb94
Merge branch 'master' into helix-migration/twitch-badges
ZonianMidian 97c4f52
Implementation of getGlobalsBadges in TwitchBadges.cpp
ZonianMidian dbff8bb
Merge branch 'helix-migration/twitch-badges' of https://github.com/Zo…
ZonianMidian 521f297
Merge branch 'master' into helix-migration/twitch-badges
ZonianMidian 30811e9
Fixing error message in TwitchBadges.cpp
ZonianMidian 91677d6
Merge branch 'helix-migration/twitch-badges' of https://github.com/Zo…
ZonianMidian eb59af8
Implementation of getChannelBadges in TwitchChannel.cpp
ZonianMidian 58b07dd
README update on Helix to add the new endpoints
ZonianMidian 20feb1c
nit: const ref HelixBadgeVersion constructor parameter
pajlada 17ca5ea
nit: Rename `json_versions` to `jsonVersions`
pajlada 17ac301
nit: rename `badge_version` to `badgeVersion`
pajlada f50dae6
nit: use emplace_back to in-place construct badges
pajlada 1b4f04f
nit: Remove HelixGlobalBadges default constructor
pajlada 85c3517
nit: rename badges member `data` to `badgeSets`
pajlada 3a84760
nit: Change the rare helix error cases to be warnings
pajlada 3672216
nit: add space inbetween using & the makeRequest/variable definitions
pajlada 8ccfb99
nit: don't specify the network request type to get
pajlada 35d90f3
fix: we must make sure the channel is alive when channel badges finish
pajlada ffeb297
nit: Reformat Emote creation
pajlada f1907c9
nit: Remove const ref in emote creation
pajlada f6c855b
nit: add back scale for 1x url
pajlada ef89d7c
nit: keep `EmoteName{}` for specifying an empty emote name
pajlada 1f31077
nit: Don't recreate the global badges
pajlada cc50428
Merge remote-tracking branch 'origin/master' into helix-migration/twi…
pajlada File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a follow-up PR, we can convert
twitch-badges.json
to use the new helix structure (this would allow enable a refactor ofparseTwitchBadges
that leverages the new structs from this PR).