pajlada
973b7a3bdd
Add extra context to messages that are added to channels, allowing the logging controller to take more responsibility in what messages to log ( #5499 )
...
Co-auhtored-by: James Upjohn <jupjohn@jammeh.co.nz>
2024-07-13 11:15:11 +00:00
pajlada
354079c74c
refactor: add Channel::addSystemMessage
function ( #5500 )
2024-07-07 22:03:05 +02:00
nerix
189be8c68f
chore: remove old Qt 5.12 code, update docs and FreeBSD runner ( #5396 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-06-23 12:26:59 +00:00
iProdigy
2ef3306d1d
feat: notate power-up automatic reward redemptions ( #5471 )
2024-06-22 11:03:49 +00:00
iProdigy
c01bfcfffe
feat: add /warn
command ( #5474 )
2024-06-22 10:36:29 +00:00
pajlada
9b31246502
feat: allow timeout-related commands to be used in multiple channels ( #5402 )
...
This changes the behaviour of the following commands:
- `/ban`
- `/timeout`
- `/untimeout`
- `/unban`
All of those commands now accept one or more `--channel` parameters to override which channel the action should take place in.
The `--channel` parameter accepts a channel ID or channel name with the same syntax as the other "user targets" do (e.g. `id:11148817` or `pajlada`)
examples
Ban user in the chat you're typing in:
`/ban weeb123`
Ban user in the chat you're typing in, with a reason specified:
`/ban weeb123 the ban reason`
Ban user in a separate chat, with a reason specified:
`/ban --channel pajlada weeb123 the ban reason`
Ban user in two separate chats, with a reason specified:
`/ban --channel pajlada --channel id:117166826 weeb123 the ban reason`
Timeout user in the chat you're typing in:
`/timeout weeb123`
Timeout user in the chat you're typing in, with a reason specified:
`/timeout weeb123 10m the timeout reason`
Timeout user in a separate chat, with a reason specified:
`/timeout --channel pajlada weeb123 10m the timeout reason`
Timeout user in two separate chats, with a reason specified:
`/timeout --channel pajlada --channel id:117166826 weeb123 10m the timeout reason`
Unban user in the chat you're typing in:
`/unban weeb123`
Unban user in a separate chat:
`/unban --channel pajlada weeb123`
Unban user in two separate chats:
`/unban --channel pajlada --channel id:117166826 weeb123`
2024-06-16 12:22:51 +02:00
nerix
86871eec5a
fix: ignore late pings ( #5457 )
2024-06-16 09:34:00 +00:00
JakeRYW
25284fc703
Improved error messaging for Update Channel API ( #5429 )
2024-06-09 11:15:25 +00:00
iProdigy
d2316af70f
feat: notify mods when users are warned ( #5441 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-06-06 10:13:13 +00:00
pajlada
248cd46eb7
fix: global emotes not loading ( #5435 )
...
* fix: manually initialize twitchircserver after rest of singletons are initialized
this fixes global emotes not being loaded on startup, since initialize
was never called (since it was no longer added to the singleton list)
* unrelated nit: remove copy/move ctors/operators of twitchircserver
2024-06-03 10:31:30 +02:00
pajlada
b6dc5d9e03
chore: refactor TwitchIrcServer ( #5421 )
2024-06-01 12:56:40 +00:00
pajlada
2a46ee708e
Fixed restricted users' usernames not being clickable ( #5405 )
2024-06-01 11:07:01 +00:00
nerix
491b6db72f
chore: remove unused timegates ( #5361 )
2024-05-25 11:12:04 +00:00
pajlada
3d5acff907
fix: update color of usernames & boldness of usernames on the fly ( #5300 )
2024-05-12 12:37:47 +00:00
Mm2PL
c3b84cb4b6
Add custom image functionality for inline mod buttons. ( #5369 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-05-11 10:54:27 +00:00
Maverick
7c97e6bcc7
Change order of query parameters of Twitch Player URLs. ( #5326 )
...
This ensures that it doesn't "fake redirect".
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-04-18 15:49:50 +00:00
iProdigy
e6bf503594
feat: include duration in more multi month gifts ( #5319 )
...
* feat: include duration in more multi month gifts
* chore: update sample data
* chore: update changelog
* push more sample data events to my channel
* feat: use nicer display name for anon gifters
---------
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-04-12 21:30:33 +02:00
iProdigy
92e75784fc
feat: report duration for multi-month anon sub gifts ( #5293 )
2024-04-02 12:50:53 +02:00
pajlada
2a447d3c95
fix: use 3x scale factor for base size multiplier ( #5291 )
2024-04-01 20:51:12 +02:00
pajlada
2f534dc6da
fix: override broken base sizes & scales for some Twitch emotes ( #5279 )
2024-03-30 13:24:47 +00:00
Mm2PL
69bdac9936
Add reward.cost
reward.id
, reward.title
filter variables ( #5275 )
2024-03-30 11:28:49 +00:00
nerix
9583a10b88
fix(helix-chat): show better error messages ( #5276 )
2024-03-30 11:24:09 +01:00
Michał Partyka
2750c528af
fix: remove ":" from the message the user is replying to if it's a /me message ( #5263 )
2024-03-24 19:10:40 +01:00
nerix
ed20e71db4
refactor: adapt magic_enum to Qt ( #5258 )
2024-03-23 11:22:42 +00:00
pajlada
e56f7136a9
fix: truncate outgoing IRC messages to ensure we don't send more than 512 bytes ( #5246 )
2024-03-10 13:00:52 +00:00
pajlada
a958619860
Hide chatter list button for non-moderators ( #5245 )
2024-03-10 11:46:26 +00:00
KleberPF
c50791972d
Add highlight color and show in mentions to automod messages ( #5215 )
2024-03-09 11:03:36 +00:00
Mm2PL
8cea86cf17
Fix rerun flag not being unset after stream finishes ( #5237 )
2024-03-09 11:22:23 +01:00
pajlada
3928cc9578
fix: correctly load twitch badges in highlights page ( #5223 )
2024-03-02 11:05:12 +00:00
nerix
c1fa51242f
refactor: turn StreamerMode
into a singleton(-like thing) ( #5216 )
2024-03-01 21:12:02 +01:00
nerix
5f6261c0cf
feat: use 4x images on 7TV instead of 3x ( #5209 )
2024-02-26 19:38:30 +01:00
nerix
f285ada36c
Estimate size of images to avoid layout shifts ( #5192 )
2024-02-25 18:19:20 +01:00
nerix
0cfd25ce8e
feat: Send messages using Helix API ( #5200 )
2024-02-25 14:45:55 +01:00
pajlada
101dc82ea0
feat: Show FrankerFaceZ channel badges ( #5119 )
2024-02-25 11:18:57 +00:00
KleberPF
86111d59b6
Add option always include broadcaster in user completions ( #5193 )
2024-02-24 13:21:29 +00:00
Mm2PL
5c51ec8382
Live streams that are marked as reruns now mark a tab as yellow instead of red ( #5176 )
2024-02-18 16:22:53 +00:00
nerix
641cb26a76
Update emoji-data to v15.1.1 ( #5182 )
2024-02-18 13:11:25 +00:00
nerix
e130c48f76
refactor: Turn link-info into its own element and class ( #5178 )
2024-02-18 12:34:00 +00:00
pajlada
32d269dffc
feat: add the ability to unit test some aspects of SplitInput ( #5179 )
2024-02-17 12:26:54 +00:00
KleberPF
4b48774cbb
fix: searching redemptions that require user input ( #5177 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2024-02-17 11:49:06 +00:00
KleberPF
3cdb7bf4f6
fix: resolve /live channel liveness using their channel ID ( #5172 )
2024-02-17 11:22:49 +00:00
Mm2PL
8e9aa87a08
Add a new Channel API for experimental plugins feature ( #5141 )
2024-02-03 19:12:00 +01:00
nerix
f2eabacda1
fix: use neutral or username color for reply messages ( #5145 )
2024-02-03 10:25:16 +01:00
pajlada
ab7e6e0281
fix: Twitch global emotes not loading ( #5144 )
2024-02-02 14:28:27 +00:00
nerix
954e19817c
fix: more MSVC warnings ( #5137 )
2024-01-30 17:28:36 +01:00
nerix
36ef8fb99d
fix: support captures in ignores ( #5126 )
2024-01-27 15:46:11 +01:00
pajlada
5628605de4
refactor: Move Emotes to Application ( #5120 )
2024-01-21 13:20:21 +00:00
pajlada
65d3e73c5d
refactor: mini reorganization of FfzEmotes.cpp ( #5117 )
2024-01-21 11:28:20 +00:00
nerix
075a7c5af0
Chatters from recent-messages are now tab-completable ( #5116 )
2024-01-21 10:57:14 +00:00
pajlada
84a61fdad2
refactor: remove ColorProvider::setColor ( #5112 )
...
We now either:
1) Rely on the setting updating the color
2) Use ColorProvider::color to set the underlying color
2024-01-20 14:51:13 +00:00
pajlada
97702e0a1f
refactor: make Application::emotes private ( #5109 )
2024-01-20 10:49:32 +00:00
pajlada
4380ef8c5f
refactor: Remove most raw accesses into Application ( #5104 )
2024-01-19 17:59:55 +01:00
pajlada
326a402710
refactor: Make ChatterinoBadges less of a singleton ( #5103 )
2024-01-19 17:25:52 +01:00
pajlada
11838c8e16
refactor: Move TwitchBadges to Application ( #5096 )
...
* refactor: Move TwitchBadges to Application
* refactor: Use named initializers
* refactor: Use `empty()` instead of `size() > 0`
* refactor: use emplace instead of push into the callback queue
2024-01-17 23:53:10 +01:00
pajlada
9eeea8f203
refactor: Fix a bunch of minor things ( #5094 )
2024-01-17 21:05:44 +01:00
pajlada
718696db53
refactor: Un-singletonize Paths & Updates ( #5092 )
2024-01-16 20:56:43 +00:00
pajlada
93e2bc18fa
refactor: move Network files from src/common/ to src/common/network/ ( #5089 )
2024-01-15 21:28:44 +01:00
pajlada
5b6675abb4
refactor: fix clang-tidy auto*, const&, and curly braces ( #5083 )
2024-01-14 17:54:52 +01:00
nerix
f42ae07408
dev: Add RecentMessages benchmark ( #5071 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-07 12:15:36 +00:00
iProdigy
693d4f401d
feat: add badges, emotes, and filters for suspicious messages ( #5060 )
...
* feat: show chat badges on suspicious user messages
* feat: display emotes in suspicious user messages
* feat: add search filters for suspicious messages
* chore: update changelog
* refactor: resolve initial nits
* fix: finish adding new filter identifier
* Comment the new message flags
* Add a list of known issues to low trust update messages
* fix: Keep shared-pointerness of the channel
Without this change, we would have the possibility of using the
TwitchChannel after the Channel itself has gone out of scope, albeit not
realistically since we just post this to a thread and parse it - there's
no networking or big delays involved. but this shows the intent better
---------
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 13:22:00 +00:00
pajlada
416806bb0a
refactor: Twitch PubSub client ( #5059 )
...
* Remove unused `setAccountData` function
* Move PubSub out of TwitchIrcServer and into Application
* Add changelog entry
* fix: assert feedback
* Add PubSub::unlistenPrefix as per review suggestion
* Fix tests
* quit pubsub on exit
might conflict with exit removal, so can be reverted but this shows it's possible
* Don't manually call stop on clients, it's called when the connection is closed
* nit: rename `mainThread` to `thread`
* Join in a thread!!!!!!!!
2024-01-06 13:18:37 +01:00
iProdigy
036a5f3f21
feat: show restricted chats and suspicious treatment updates ( #5056 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-12-31 10:44:55 +00:00
iProdigy
eb12cfa50b
feat: add sound and flash alert for automod caught messages ( #5026 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-25 23:17:44 +00:00
nerix
25add89b14
feat: Add crash recovery on Windows ( #5012 )
2023-12-24 15:38:58 +01:00
iProdigy
e75ce5db54
fix: request more historical messages on wake ( #5018 )
2023-12-16 12:38:35 +00:00
iProdigy
bbf75516ed
fix: show user message on watch streak notice ( #5029 )
2023-12-16 11:48:32 +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
iProdigy
44abe6b487
feat: add channel for messages caught by AutoMod ( #4986 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-03 22:07:30 +00:00
pajlada
e327ed4166
Update magic_enum from v0.9.3 to v0.9.5 ( #4992 )
...
* Fix include path for magic enum
* Update .clang-format to ensure magic enum is caught as a third party library
2023-12-01 15:03:04 +01:00
pajlada
5b741a8eb6
refactor: Remove Emoji's EmojiMap with a vector ( #4980 )
2023-11-26 18:17:58 +00: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
854032fce9
fix: Only display spaces between words in reply context ( #4977 )
2023-11-26 11:15:35 +01:00
Mm2PL
1a685d7bd0
Finish renaming Viewer list to Chatter list ( #4974 )
2023-11-20 17:59:04 +00:00
nerix
3d9db1d528
refactor: Ignores and Replacements ( #4965 )
...
Fixes a freeze from a bad regex in _Ignores_
Fixes some emotes not appearing when using _Ignores_
Fixes lookahead/-behind not working in _Ignores_
2023-11-17 17:39:45 +01:00
Mm2PL
d9cdc88061
Remove unused parseMessage function ( #4968 )
2023-11-17 14:46:35 +01: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
iProdigy
5209e47df1
Improve reply popup after thread update ( #4923 )
...
Co-authored-by: nerix <nero.9@hotmail.de>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-11-05 16:25:26 +00:00
Alex Baines
879a63e6f3
Support using follower emotes outside of channel if subbed ( #4922 )
...
If we also have a subscriber emote set for a channel, then don't treat
a follower emote set as local to that channel.
Co-authored-by: iProdigy <8106344+iProdigy@users.noreply.github.com>
2023-11-04 17:45:18 +00:00
pajlada
4e63a1b6ec
refactor: Message ( #4915 )
...
* Helix: Remove static from anon namespace
* Message: Remove empty anon namespace
* Message: Remove else after return
* Message: Avoid repeating type in return
* Message: Remove ScrollbarHighlight alias
* Message: Remove unused includes
* AttachedWindow: Remove unused include
2023-11-02 14:48:12 +00:00
pajlada
56346874e1
ci: Use clang-format 16 ( #4929 )
2023-10-31 17:24:47 +00:00
pajlada
f4726ed7a8
refactor: IrcMessageHandler ( #4927 )
2023-10-31 17:47:56 +01:00
pajlada
7efe58cca9
refactor: ChannelView ( #4926 )
...
Co-authored-by: nerix <nerixdev@outlook.de>
2023-10-31 14:54:14 +01:00
pajlada
5c0219c245
refactor: Use override instead of virtual where possible ( #4917 )
2023-10-25 18:13:48 +02:00
nerix
fcb6eff8cc
Remove direct dependency on Qt 5 compatibility module ( #4906 )
2023-10-23 21:28:02 +02:00
pajlada
9f23c8562a
Test filters context map & message builder ( #4886 )
2023-10-13 15:41:23 +00:00
pajlada
fec45889a8
Replace boost::optional with std::optional ( #4877 )
2023-10-08 16:50:48 +00:00
pajlada
774eaa14ce
Fix emoji unified/non-qualified version for sending & parsing ( #4840 )
...
Co-authored-by: nerix <nerixdev@outlook.de>
2023-10-07 10:21:30 +00:00
pajlada
8fe3af3522
Fix signal connection nodiscard warnings ( #4818 )
2023-09-16 11:52:51 +00:00
pajlada
813d96867b
Migrate to the new Get Channel Followers Helix endpoint, fixing follower count not showing up in usercards ( #4809 )
2023-09-09 12:51:45 +00:00
pajlada
d4558b5fe5
Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check ( #4426 )
2023-09-09 11:11:19 +00:00
pajlada
877a4e05fa
Remove boost::noncopyable use & boost::random dependency ( #4776 )
...
The use has been removed from the following files:
* Atomic.hpp
* SignalVector.hpp
* Benchmark.hpp
* IvrApi
* LoggingChannel.hpp
* Singleton.hpp
* Image.hpp
* PrecompiledHeader.hpp
* Message.hpp
* MessageElement.hpp
* MessageLayout.hpp
* MessageLayoutElement.hpp
* Fonts.hpp (just include)
2023-09-09 10:23:20 +00:00
pajlada
7cb04bf58b
Remove BaseSettings & merge ConcurrentSettings ( #4775 )
2023-08-28 17:51:28 +02:00
pajlada
4c942a2a42
Fix data race in PubSub ( #4771 )
2023-08-27 21:35:38 +00:00
pajlada
3f7671000a
Fix memory leaks & data races in tests ( #4772 )
...
* Add a few pre-made sanitizer suppressions
* Test Sanitization: Fix threading issues
* Test Sanitization: Allow deletion of PubSub
We still don't delete it in main code, but this allows us to try
deleting it in tests.
* Test Sanitization: Fix some memory leaks
* fix gtest clang-tidy warning
* const emojis test :-)
2023-08-27 12:07:46 +00:00
Felanbird
b77653761e
Remove comment for incorrect Twitch response ( #4781 )
2023-08-21 22:34:12 +00:00
nerix
e7281b033e
Show historic timeouts and bans in usercard ( #4760 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-08-13 10:00:52 +00:00
Mm2PL
1e35391075
Hide AutoMod term management messages in Streamer Mode. ( #4758 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-08-12 12:16:30 -04: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