iProdigy
e75ce5db54
fix: request more historical messages on wake ( #5018 )
2023-12-16 12:38:35 +00:00
nerix
66f4480371
fix: Fixed some compiler warnings ( #5028 )
...
* fix(C4101): unreferenced local variable
* fix(C4189): variable initialized but not referenced
* fix(C4305): narrowing from double to float
* fix(C4457): declaration hiding function parameter
* fix(C4456): shadowing declaration
* fix(C4996): remove deprecations
* chore: add changelog entry
* fix: Remove more unused variables
* fix: removed unused lambda captures
* Update changelog entry
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-16 11:24:28 +00:00
iProdigy
13dc306506
perf: query fewer historical messages on reconnects ( #5001 )
...
Co-authored-by: Ruben Anders <ruben.anders@robotty.de>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-12-09 19:46:30 +01:00
nerix
e8673fc52a
fix: deadlock and use-after-free in tests ( #4981 )
...
* fix: use-after-free in settings
* refactor: put seventv api into a singleton
* chore: add changelog entry
* Add warning for when the 7TV load fails
2023-11-26 15:54:19 +00:00
nerix
6faf63c5c4
refactor: Remove Outcome
from network requests ( #4959 )
2023-11-12 14:51:51 +01:00
iProdigy
d40b0a6c1d
fix: avoid reward redemption crash via buffer refactor ( #4949 )
...
Co-authored-by: nerix <nero.9@hotmail.de>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-11-08 18:14:48 +01:00
pajlada
56346874e1
ci: Use clang-format 16 ( #4929 )
2023-10-31 17:24:47 +00:00
pajlada
7efe58cca9
refactor: ChannelView ( #4926 )
...
Co-authored-by: nerix <nerixdev@outlook.de>
2023-10-31 14:54:14 +01:00
pajlada
fec45889a8
Replace boost::optional with std::optional ( #4877 )
2023-10-08 16:50:48 +00:00
pajlada
8fe3af3522
Fix signal connection nodiscard warnings ( #4818 )
2023-09-16 11:52:51 +00:00
pajlada
3e1e400e3e
Refactor recent messages API ( #4763 )
...
This exposes internal functions for testing by splitting the implementation & internal API into separate files
2023-08-12 11:34:59 +00:00
pajlada
1aedd4d668
Highlights loaded from message history will now correctly appear in the /mentions channel ( #4752 )
...
* added messages in mentions tab if correct predicate is met
* Update CHANGELOG.md
* Apply Felanbird's fix
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
---------
Co-authored-by: 2547techno <technowizz2547@gmail.com>
Co-authored-by: 2547techno <109011672+2547techno@users.noreply.github.com>
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-08-05 14:23:40 +00:00
nerix
33fa3e0a97
Use New 7TV Cosmetics System ( #4512 )
...
* feat(seventv): use new cosmetics system
* chore: add changelog entry
* fix: old `clang-format`
* fix: small suggestions pt1
* refactor: add 7tv api wrapper
* fix: small clang-tidy things
* fix: remove unused constants
* fix: old clangtidy
* refactor: rename
* fix: increase interval to 60s
* fix: newline
* fix: Twitch
* docs: add comment
* fix: remove v2 badges endpoint
* fix: deadlock
This is actually really sad.
* fix: remove api entry
* fix: old clang-format
* Sort functions in SeventvBadges.hpp/cpp
* Remove unused vector include
* Add comments to SeventvBadges.hpp functions
* Rename `addBadge` to `registerBadge`
* fix: cleanup eventloop
* ci(test): add timeout
---------
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-07-29 09:49:44 +00:00
pajlada
a440f0261a
Fix crash that could occur when closing a split before its display name was updated ( #4731 )
...
This fixes a crash that could occur when closing a split before the
display name had a chance to update
The reason I found this was because the LiveController change I made
updated display names more regularly
Additionally, we now make sure to not send duplicate `displayNameUpdated` signals
upon each request for channels with CJK characters in their display name
* Default-initialize the `actualDisplayName` with the user's login name to not send an initial display name update if the display name is the same casing as the login name
2023-07-23 10:11:57 +00:00
pajlada
76527073cf
Ensure live status requests are always batched ( #4713 )
2023-07-02 13:52:15 +00:00
Zonian
d6ef48d4ef
Migrate Twitch badges to Helix ( #4537 )
...
Co-authored-by: iProdigy <8106344+iProdigy@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-04-16 09:58:45 +00:00
nerix
610394d696
Fix Twitch-Specific Filters Not Being Applied ( #4529 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-10 10:08:15 +00:00
Mm2PL
d38187f794
Remove sending part of the multipart emoji workaround ( #4361 )
2023-02-09 16:45:53 +01:00
nerix
829c48d79a
Attempt to catch std::bad_function_call
when adding a channel point reward ( #4360 )
...
* fix: attempt to catch std::bad_function_call
* chore: add changelog entry
* fix: spelling mistake
Co-authored-by: Leon Richardt <git@leon.dev>
---------
Co-authored-by: Leon Richardt <git@leon.dev>
2023-02-09 00:43:52 +01:00
nerix
0c74ab17ed
Refactor 7TV EventAPI ( #4342 )
...
* refactor: remove file prefix
* refactor: put eventapi into a namespace
* refactor: support multiple conditions
* fix: handle ack
* docs: add changelog entry
* fix: unsubscribe in destructor
* fix: naming of parameter
* fix: namespaces
* chore: casing
* fix: missing namespace
---------
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-02-04 13:42:52 +01:00
nerix
904749cf62
feat: Add Live Emote Updates for BTTV ( #4147 )
...
This feature is enabled by default and can be disabled in settings with the "Enable BTTV live emotes updates" setting.
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-01-21 14:06:55 +00:00
nerix
1043f9f803
Remove Unnecessary Includes in Headers ( #4275 )
...
* refactor: remove unnecessary includes in headers
* fix: formatting
* chore: changelog
* fix: scrollbar
* fix: suggestions and old appbase remains
* fix: suggestion
* fix: missing Qt forward declarations
* fix: another qt include
* fix: includes for precompiled-headers=off
* Add missing `<memory>` includes
* Add missing `#pragma once`
* Fix tests
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-12-31 14:41:01 +00:00
nerix
86e71c8bd9
Migrate to C++ 20 & switch to websocketpp develop branch ( #4252 )
...
* feat: c++ 20
* fix: c++ 20 deprecations
* fix(msvc): warnings
* chore: add changelog entry
* fix: formatting
* Update websocketpp to the `develop` branch
* Specify other template type in FlagsEnum != operator
* Remove the user of simple template ids in our websocketpp template class
Also standardizes the file a bit by using nested namespaces, using
pragma once
* fix: turn `MAGIC_MESSAGE_SUFFIX` into a `QString`
* hacky unhacky hacky const char hack
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-12-24 11:56:11 +00:00
pajlada
a715b1ffff
Clean up TwitchAccount emote stuff ( #4243 )
...
* Remove unused TwitchAccount FollowResult enum
* Remove unused TwitchEmoteSetResolverResponse struct
* Remove unused and unimplemented `getEmoteSetBatches` function definition
* Remove unused `loadEmoteSetData` and `staticEmoteSets` from
TwitchAccount
* Remove forward declaration of TwitchAccount in TwitchAccountManager
* Clean up IgnorePhrase includes
* add missing newline in pubsubmanager.cpp
2022-12-18 14:36:39 +00:00
pajlada
032f290767
Sort and force grouping of includes ( #4172 )
...
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
nerix
39f7d8ac4c
feat: Live Emote Updates for 7TV ( #4090 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-11-13 12:07:41 +01:00
pajlada
c714f15ce9
Add debug output to channel point reward callbacks ( #4142 )
2022-11-11 23:49:44 +00:00
Colton Clemmer
495f3ed4a9
Migrate /chatters commands to use Helix api ( #4088 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-11-01 22:18:57 +00:00
yodax
d23d5c142e
Added stream titles to windows toast notifications ( #2044 )
...
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: David Myers <dave-myers@outlook.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-30 12:29:43 +00:00
nerix
3e41b84ed7
feat: Add 7TV Emotes and Badges ( #4002 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-10-16 11:22:17 +00:00
nerix
c1af2c3faa
feat: add settings to toggle BTTV/FFZ global/channel emotes ( #3935 )
...
* feat: add settings to disable BTTV/FFZ global/channel emotes
* docs: add changelog entry
* fix: capitalize `BTTV` and `FFZ`
* fix: rename and move settings
2022-08-28 12:20:47 +02:00
Daniel Sage
46f43f3ce8
Automatically load recent messages on reconnect ( #3878 )
...
* Add working reconnect recent messages
* Rename method to messagesUpdated
* Use audo declarations
* Add docs to new LimitedQueue methods
* Add more documentation, try atomic loading flag
* Update CHANGELOG.md
* Remove unused include
* Rename 'reconnected' signal to 'connected'
* Reserve before filtering on arbitrary update
* Extract recent messages fetching to own class
* Use std::atomic_flag instead of std::atomic_bool
* Add PostToThread include
* Add chatterino.recentmessages logging
* Remove unneeded parameters, lambda move capture
* Remove TwitchChannel::buildRecentMessages
* Add documentation, use more clear method name
* Reword changelog entry
I think it sounds better like this :)
* Rework how filling in missing messages is handled
This should hopefully prevent issues with filtered channels with old messages
that no longer exist in the underlying channel
* Check existing messages when looking for reply
* Clean up string distribution in file
* Try to improve documentation
* Use std::function for RecentMessagesApi
* Only trigger filledInMessages if we inserted
* Remove old unused lines
* Use make_shared<MessageLayout> instead of new MessageLayout
* Alphabetize QLogging categories
* Reorder CHANGELOG.md
2022-08-06 18:18:34 +02:00
Daniel Sage
20c974fdab
Added support for Twitch's Chat Replies ( #3722 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-07-31 10:45:25 +00:00
Kasia
74ec310228
Fixed channels not being set as offline ( #3767 )
2022-05-28 18:10:10 +00:00
xel86
dc34c16dbe
Batch checking live status for all channels after startup. ( #3757 )
2022-05-22 15:51:23 +00:00
nerix
f97780d84e
Improve Twitch PubSub connection reliability ( #3643 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 15:22:39 +00:00
Sidd
c399d4dbe9
refactor(TwitchChannel): remove getGameById call ( #3662 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-04-09 12:27:04 +00:00
James Upjohn
96e2d1f971
Fix empty game update not updating header ( #3609 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-03-19 18:58:19 +00:00
James Upjohn
67c10fafc7
chore: replace usages of obsolete twitch struct with backing field ( #3614 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-03-19 11:02:29 +00:00
Paweł
df70ca59e3
Purged kraken ( #3578 )
...
* Purged kraken code
* Remove kraken documentation
* Update Helix documentation
* Ran prettier
* Removed kraken files from qmake build file
* Remove now unnecessary .finally() callback
2022-02-28 14:59:10 +00:00
Mm2PL
820099821a
Implement workaround for combined emoji ( #3469 )
2022-01-11 00:18:02 +00:00
pajlada
51ece94f58
Update Settings and Signals version ( #3398 )
...
Co-authored-by: zneix <zneix@zneix.eu>
2021-12-19 14:57:56 +00:00
Infinitay
b4b745024c
Clean up chat messages of special line characters prior to sending ( #3312 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-30 12:49:41 +00:00
Felanbird
be3609a927
Capitalize mentions of Twitch, Chatterino, and IRC in comments and text/settings ( #3274 )
2021-10-17 15:06:58 +02:00
Paweł
9a1e405563
Fix /me not going through upon sending an identical message ( #3166 )
2021-08-15 11:52:32 +02:00
pajlada
784fdd28b2
Check for ignored phrases/users in channel point redemptions ( #3102 )
2021-08-01 13:44:04 +00:00
Mm2PL
77f683577f
Use double spaces instead of Chatterino character when possible ( #3081 )
2021-08-01 12:38:07 +00:00
Paweł
ae9f92ded9
Make use of QUrlQuery in NetworkRequests where it was hardcoded into url ( #3039 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-18 13:21:09 +00:00
Paweł
1f19d31a67
Added informative messages on issues related to recent-messages ( #3029 )
2021-07-18 14:15:38 +02:00
Paweł
c8c28d7f55
Remove global third party emotes from TwitchChannel class ( #3000 )
...
Those are still accessible under getApp()->twitch2 instance.
2021-07-13 13:23:50 +02:00