Commit graph

2705 commits

Author SHA1 Message Date
Mikulex 3f12d5bb3b
Fix "Change channel" popup title (#3273)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-23 11:22:54 +00:00
sando e033f8e43e
Add flags.first_message filter variable (#3292)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-23 10:37:17 +00:00
Felanbird 15f7e65e0c
Removed duplicate setting for toggling Channel Point Redeemed Message highlights (#3296)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-23 10:08:25 +00:00
Felanbird b16fb5da7f
Fix 'First Message' custom sound not persisting through restart (#3303) 2021-10-22 14:08:58 +02:00
Felanbird 3c9ee480c0
Fix being unable to disable 'First Message' highlights (#3293)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-20 13:03:59 +02:00
LosFarmosCTL f787e31f8a
Add -n option to the open command (#3291) 2021-10-20 08:34:19 +02:00
Felanbird be3609a927
Capitalize mentions of Twitch, Chatterino, and IRC in comments and text/settings (#3274) 2021-10-17 15:06:58 +02:00
LosFarmosCTL 06245f3713
Add new search predicate to enable searching for messages matching a regex (#3282)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-17 12:36:44 +00:00
Mm2PL c1a3814b7c
Fix built-in commands not working in special channels (#3288)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-17 10:45:54 +00:00
Paweł 2bd05fd576
Simplify ResizingTextEdit::isFirstWord to avoid invalid QString index warnings (#3285)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-16 11:00:41 +00:00
Tal Neoran d8aa232df9
Add keybindings to tab context menu items (#3265)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-10-09 16:09:11 +00:00
Tal Neoran fa5a9fe831
Add missing arg to string format in user unblock error (#3279)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-10-09 15:00:30 +00:00
Tal Neoran 5861722c38
Fix spacing of tab visibility keybind in keybindings page (#3266)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-10-09 14:24:05 +00:00
Ckat ab1211cbef
Ignore out of bounds check on tiling WMs (#3270) 2021-10-03 11:43:23 +02:00
gempir 0ba7c0f3c5
Add highlights for first messages (#3267)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-02 12:17:24 +00:00
LosFarmosCTL acc573a8c5
Restart the application bundle instead of the underlying executable when crashing on macOS (#3268)
On macOS, programs are contained in ".app" application bundles. When chatterino restarts on a crash, it currently just looks for the executable path obtained via QApplication::applicationFilePath() and starts that again, which for macOS is the underlying unix executable inside of the application bundle. Unfortunately, for macOS those 2 are absolutely different, resulting in i.e. a second chatterino icon being added to the dock, due to the OS not recognizing that it is the same application.
2021-10-02 10:58:28 +00:00
Mm2PL 9b9fd7d403
Add new command placeholders: {channel.name}, {channel.id}, {stream.game}, {stream.title}, {my.id}, {my.name} (#3155)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-09-11 12:35:26 +00:00
sando c0f4a410fa
Add flags.reward_message filter variable (#3231)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-09-11 10:43:30 +00:00
Tal Neoran e577136395
Fix completion menu completing from wrong position (#3229)
Fixes #3225 https://github.com/Chatterino/chatterino2/issues/3225
2021-09-11 12:09:14 +02:00
Auro 4bfa56c11b
Strip channel name for /streamlink (#3215)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-09-04 12:24:58 +00:00
Felanbird 44f1013eb5
Strip leading @ and trailing , from username in /popout command (#3217)
* popout command could use some love too

* changelog

* forward slash is sorry for force push

* copied the old changelog too literally that I misplaced it

* apparently i didn't save the changelog change
2021-09-04 14:04:21 +02:00
Mm2PL d99fafaa99
Remove unused code for Tagged Users (#3208)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-09-04 11:11:20 +00:00
Paweł 5cd20bbb5a
Raise ratelimit cooldown for JOIN messages (#3219)
Was 10.5s (0.5s over the actual cooldown), changed to 12.5s (2.5s over the actual cooldown) to accomodate for any server-side lag spikes.
2021-09-04 12:45:40 +02:00
fourtf 963f97524e
Remove tipping link 2021-09-03 20:51:05 +02:00
Paweł 86222976ad
Added /raw command (#3189)
It makes it possible to send raw data to write connection

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-30 19:41:10 +00:00
Felanbird 5f8106e9fc
Normalize usages of 'case-sensitive' (#3188)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-29 13:06:07 +00:00
Mm2PL cd2923c52a
Fix missing information in locally-generated IRC messages (#3203)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-29 12:05:45 +00:00
Mm2PL 25cdeb8d9f
Make Chatterino colorize usernames on IRC (#3206) 2021-08-29 13:35:19 +02:00
Paweł c156094d70
Fixed away command in IRC (#3190) 2021-08-23 12:03:38 +00:00
apa420 e499486418
Added regex option to Nicknames (#3146)
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-22 13:30:17 +02:00
pajlada fe8aa33980
Update Usage messages to conform to new Usage message contributor guidelines (#3180) 2021-08-21 12:41:06 +00:00
Tal Neoran ad4a0c28d1
Add opening tab in popup (#3082)
Co-authored-by: zneix <zneix@zneix.eu>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-21 12:16:00 +00:00
LosFarmosCTL 773c4bb9e7
Add optional parameter to /usercard command for opening a usercard in a different channel context. (#3172)
Co-authored-by: apa420 <17131426+apa420@users.noreply.github.com>
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
2021-08-21 11:37:57 +00:00
ilyazzz a7ef7e6f7f
Use flatpak-spawn to run streamlink when running as a flatpak (#3178)
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: Paweł <zneix@zneix.eu>
2021-08-21 11:00:01 +00:00
pajlada d7fd08b1d6
Fix color @usernames sometimes not working at all (#3170)
Definitely memory fuckery involved - The comment from @lubieerror https://github.com/Chatterino/chatterino2/issues/2822#issuecomment-897252673 is finally what led me to adding tests and hopefully fixing this.
2021-08-21 10:38:38 +00:00
pajlada 1d664f88e5
Keyboard integration for Streamlink quality confirmation (#3169)
Co-authored-by: zneix <zneix@zneix.eu>
2021-08-15 15:59:52 +02:00
pajlada b2d9b678a2
Enable backup for commands (#3168)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-08-15 12:33:31 +00:00
James Upjohn 4b251c64b6
Allow resub messages to show in /mentions tab (#3148)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-15 10:39:58 +00:00
Paweł 9a1e405563
Fix /me not going through upon sending an identical message (#3166) 2021-08-15 11:52:32 +02:00
Mm2PL d46589ca26
Duplicate spaces now count towards the display message length (#3002) 2021-08-14 13:16:16 +00:00
Marko 113a7795f4
Hide similar messages by any user (#2716)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-14 14:28:08 +02:00
fourtf d5ecba3d30
Rewrite logic for when to show moderation buttons next to messages (#2800)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-14 11:06:58 +00:00
Auro 75458a1a25
Change 3rd party uploader popup text capitalization (#3158) 2021-08-14 12:08:55 +02:00
Mm2PL b3bb7e2d3e
Make single deletion messages for moderators obey the setting (#3121)
Co-authored-by: ALazyMeme <jkeasley@icloud.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-08 22:04:25 +00:00
sando 7309fd8668
Strip leading @ and trailing , from /user and /usercard commands (#3143)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-08 11:23:54 +00:00
James Upjohn 6151cd5b05
Show system message when reloading subscriber emotes (#3135)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-08 10:59:28 +00:00
Paweł d0d32583a2
Prepare CMake for Qt6 (#3103) 2021-08-08 12:37:37 +02:00
pajlada 54f6e4f9e9
Remove twitchemotes.com-related functionality (#3136)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-08-07 11:13:05 +00:00
nilyt 961803deba
Allow building against Qt 5.11 (#3105)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-07 10:37:02 +00:00
Tal Neoran 5cb1022ccf
Fix badge highlights using the same color (#3134)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-08-07 11:30:56 +02:00
Paweł cd7758a28e
Ensure we don't attempt to index an empty array (#3122) 2021-08-07 09:01:22 +00:00
Tal Neoran 9d90de6b8c
Handle moderation mode and filters in split popup (#3130) 2021-08-07 00:04:09 +02:00
fourtf 4e5170799f updated version number to v2.3.4 2021-08-05 10:44:30 +02:00
Paweł de4f6a9d51
Rate limit outgoing JOIN messages (#3115)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: Tal Neoran <talneoran@gmail.com>
2021-08-04 21:18:34 +00:00
Paweł 0c5abb8149
Deprecated /(un)follow commands and respective usercard action (#3078)
/(un)follow commands are marked as deprecated and link to the issue this PR is closing.
follow button on the usercard is removed completely

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2021-08-04 20:41:27 +00:00
pajlada 28dcdb238b
Remove JOINs from write connection (#3112)
Co-authored-by: zneix <zneix@zneix.eu>
2021-08-03 15:55:04 +00:00
pajlada 95044efeed
Fix filter crash introduced in #3092 (#3110) 2021-08-03 07:39:27 +00: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
Mm2PL d7e8f4eabd
Add channel.live filter variable (#3092)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-01 12:08:03 +00:00
apa420 3cb1e5158a
Added the ability to add nicknames for users (#2981)
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-31 16:15:43 +02:00
ALazyMeme 3238d1f801
Add ALazyMeme to the contributor list (#3097)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-31 13:24:56 +00:00
xHeaveny 0f0b0c03b8
Adding xHeaveny to Contributor List (#3072) 2021-07-31 12:47:56 +00:00
Paweł 047e10a833
Removed checks for no longer supported Qt 5.11 (#3093) 2021-07-30 16:18:30 +00:00
pajlada 770b9f263b
Fix PubSub client creation/pending topic resolving (#3037)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: zneix <zneix@zneix.eu>
2021-07-25 15:13:04 +00:00
xHeaveny 33d1837f4f
Added section with helpful Chatterino-related links to the About page (#3068)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 14:19:01 +00:00
Matthew Marlow 6052a0ede6
Fixed zooming bug in native-host-ext [Chrome] (#1936)
Co-authored-by: alazymeme <jkeasley@icloud.com>
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 13:13:21 +00:00
Felanbird 700e092bf6
Fix non secure wiki link (#3042)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 12:30:40 +00:00
Mm2PL b352dea2dc
Make the copy button switch light/dark theme (#3057)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-25 11:15:38 +00:00
Mm2PL f949d6d154
Add HTTP logging (#2991)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 00:52:34 +02:00
ilyazzz b8bd0a587d
Disable update checker on Flatpak (#3051)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 11:30:21 +00:00
Mm2PL 706605c99e
Remove copyDarkTheme.png which was an unused SVG file. (#3056)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 10:52:00 +00:00
Paweł 588ed557f0
Fixed comma appended to username completion when not at the beginning of the message (#3060)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 12:01:50 +02: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ł e5fe0999ee
Replace std::string with QString in rapidjson and PubSub Client (#3018) 2021-07-18 12:37:53 +00:00
Paweł 1f19d31a67
Added informative messages on issues related to recent-messages (#3029) 2021-07-18 14:15:38 +02:00
pajlada 8ceb100177
Add tests for getEmoteSetBatches (#3036) 2021-07-18 10:14:01 +00:00
Paweł 9f2fc90928
Fix crash and completion in other special channels than /whispers (#3033) 2021-07-17 19:33:03 +00:00
Paweł 89b86b94e7
Cleanup debug logging (#3015) 2021-07-17 16:45:02 +00:00
Paweł a84e62c6bb
Use server time in received IRC messages where available (#3026) 2021-07-17 18:22:25 +02:00
Paweł 7e13564c24
Fixed newly uploaded subscriber emotes not being available (#2992)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-17 15:18:17 +00:00
Paweł 91ab8b90a0
Cleaned up IrcMessageHandler (#3021) 2021-07-17 13:09:21 +00:00
Paweł 74c5cca890
Added autocompletion in /whispers for Twitch emotes, Global Bttv/Ffz emotes and emojis (#2999) 2021-07-17 12:35:27 +00:00
Paweł a509c7514c
Fixed degraded dirty emote code escaping (#3010) 2021-07-17 10:35:43 +00:00
Paweł 6022cd86eb
Remove unused class JsonQuery (#3017)
Introduced 3 years ago in c2e2dfb, not used ever since. Safe to remove.
2021-07-15 20:37:34 +00: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
SLCH 8c113c2311
Added SLCH to contributors list (#2990) 2021-07-11 13:10:51 +00:00
SLCH faafbdaad4
Added "Open in: new tab, browser player, streamlink" in twitch link context menu. (#2988)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-11 11:54:19 +00:00
Paweł 975b39fe10
Made username and color in AutoMod mod messages use correct values (#2967)
We use values given in pubsub messages and handle their edge-cases properly.
2021-07-11 11:33:35 +00:00
Paweł 735c0ad1ac
Set proper minimum width of name display modes dropdown (#2976) 2021-07-11 10:47:23 +00:00
Paweł 94a99ac4f0
Fix custom built messages not showing up as search results (#2962) 2021-07-11 10:19:35 +00:00
nerix b37c0cb177
Update Emoji Data to v13.1 (#2958)
Co-authored-by: zneix <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-11 09:51:04 +00:00
Paweł d5add46730
Respect follower emotes context, making them only available in their owner channels (#2951)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-11 09:12:49 +00:00
Paweł b6ee2280d2
Moved getRandomColor method to util/Helpers.cpp (#2974)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-08 17:09:31 +00:00
Mm2PL 24aee42171
Fix usercards showing all messages in IRC channels (#2979) 2021-07-08 17:26:34 +02:00
Paweł 8a0ed79eca
Respect founder badge in author.subbed filter (#2971) 2021-07-06 15:14:05 +00:00
Tal Neoran cc9d44a0bb
Fix text mistakes in advanced login dialog (#2966) 2021-07-05 16:52:59 +00:00
Tal Neoran 2af9284de5
Make usernames clickable in reward redemption messages (#2953)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-07-04 16:21:18 +00:00
Paweł 3b0d62f5c5
Replace QRegExp with QRegularExpression (#2945) 2021-07-04 11:02:12 +00:00
Paweł 670ad90242
Don't trigger middle mouse scrolling if ChannelView is not fully populated (#2933)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-04 10:18:49 +00:00
fourtf 804bc526b5
fix overflows in the max image size code (#2950)
* fix overflows in the max image size code

* Update Image.cpp
2021-07-03 20:11:10 +00:00
Tal Neoran 6830e8b01b
Readd removing of unmodified cache files (#2947)
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-03 11:40:24 +00:00
Mm2PL 8385d06369
Fix logging category names (#2948)
Fix chatterinoCommon and chatterinoCache were swapped.

Co-authored-by: Tal Neoran <talneoran@gmail.com>
2021-07-02 20:56:37 +00:00
Leon Richardt 0dd545fa15
fix: provide better UX for HTML color picker edit (#2942) 2021-07-02 21:53:24 +02:00
Mm2PL a8a07426b9
Only restrict Highlight color for whispers in messages tab (#2937)
This fixes a bug, where changing color of the second row in Users tab in Highlights settings page was not possible.
2021-06-29 22:32:07 +02:00
Paweł b969108cca
Updated autogenerated resources (#2931)
CC #2530
2021-06-27 21:19:09 +00:00
Paweł a458e32f1d
Removed /logs command (#2927)
It's been deprecated over a year ago, it's high time it should go 😢
2021-06-27 15:23:06 +00:00
Tal Neoran db09a88c8d
Add clickable usernames in host offline messages (#2922)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-27 13:50:12 +00:00
Tal Neoran e1895de7f3
Hide completion popup when cursor is at first position (#2929)
Prevents user autocompletion menu from appearing in unwanted scenarios
2021-06-27 12:47:14 +00:00
Tal Neoran 07231e57c9
Fix large timeout duration in moderation buttons (#2921)
Large timeout durations in moderation buttons will no longer overlap with other buttons or username.
2021-06-27 12:14:10 +00:00
Tal Neoran 991892ee76
Add /openurl command (#2926)
Usage: `/openurl <URL>`. Opens the provided URL in the browser.

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-06-27 11:40:44 +00:00
Mm2PL c722f085d0
Moved image uploader confirmation setting to external tools page (#2923) 2021-06-26 12:08:44 +00:00
Paweł 002129009d
Fix emotesets not loading properly (#2905)
* Initial work

fk I'm so tired...

* Updated Twitch API documentation

* Futher changes

* Removed debug output

* Added changelog entry

* Advice: don't code at 4am

removed all silly debug stuff

* Add missing lambda capture
2021-06-24 21:23:31 +00:00
fourtf ed6ef0b98e add a maximum RAM usage for images 2021-06-24 22:54:36 +02:00
fourtf 97b9bfb2bd v2.3.3 2021-06-21 11:35:53 +02:00
Felanbird e352d7b31a
Fix 'Filter Info' url (#2907)
Closes #2906
2021-06-20 18:15:41 +02:00
fourtf 1efc547aa5
removed access to theme from TMB + misc fixes (#2694)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-20 13:55:35 +00:00
pajlada 0c2488505c
Use an exponential backoff when deciding how long we need to wait for reconnects (#2892)
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
2021-06-20 13:29:52 +00:00
Paweł d6b5921a0e
Refactored emote reloading (#2857)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-06-20 00:11:06 +02:00
Mm2PL 74960bf419
Communicate streams that went offline through /live (#2880)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-19 17:27:31 +00:00
Tal Neoran f605221042
Add username autocompletion popup menu (#2866) 2021-06-19 16:29:17 +00:00
Tal Neoran d21858b97f
Fix moderation button time units when not using seconds (#2864) 2021-06-19 14:00:03 +00:00
Mm2PL 9640837957
Allow moderators to see who deleted a message (#2874)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-19 11:56:00 +00:00
Mm2PL 9fb5ef60d4
Image uploader mime filter uses urls but doesn't check them (#2855)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-13 14:23:13 +00:00
Mm2PL 3977eb74a6
Update Twitch AutoMod PubSub topic (#2887)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-13 15:38:30 +02:00
Mm2PL eb8ddfc1d3
Add setting for username display style (#2891) 2021-06-13 12:13:19 +00:00
pajlada 91b0170241
Make tests use main chatterino project objects (#2840) 2021-06-13 11:49:59 +00:00
Paweł 5512437f1b
Fixed a crash introduced in 2f568b8 (#2856) (#2871) 2021-06-06 19:59:53 +00:00
Paweł 2f568b88ae
Split list of emote sets into bunches when performing Ivr API reqeusts (#2856) 2021-06-06 19:27:45 +02:00
Mm2PL f1e843a672
Make deletions show like timeouts/bans. (#2841)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-06 17:51:57 +02:00
Ben de Graaff 8639f450f2
Fix write connection reconnection issues (#2850)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-06 16:25:13 +02:00
Paweł 0b4c521c9b
Refactored system message received upon trying to send a message while anonymous (#2862)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-05 16:27:14 +02:00
Ben de Graaff 6611c24e13
Switch to Twitch v2 emote API for animated emote support (#2863)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
2021-06-04 19:42:32 +00:00
Tal Neoran 80fed27b4e
Search in viewer list by contained term (#2861)
Searching for users in the viewer list now searches anywhere in the user's name - instead of just searching at the beginning of the username.
2021-06-04 10:51:35 +00:00
Paweł 57354283ec
Added ability to toggle visibility of tabs (#2600)
This can be done by right-clicking the tab area or pressing the keyboard shortcut (default: Ctrl+U).

Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-30 11:39:34 +00:00
Tal Neoran 01bda9c2f6
Fix tab direction not applying to popup window (#2839) 2021-05-30 10:22:26 +00:00
James Upjohn faae2c2e8e
Match game names exactly when using /setgame (#2825)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-29 10:01:19 +00:00
fourtf 3fddafb867
optimize chatter list (#2814)
* optimize chatter list

* changelog

* Fix tests

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-24 10:13:59 +00:00
Paweł 88a487516a
Add chat popout command (#2812)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: lyx0 <stefan.parfuss@protonmail.ch>
Co-authored-by: lyx0 <66651385+lyx0@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-23 22:24:49 +00:00
pajlada 108b733679
Add missing includes for those not using precompiled headers (#2815) 2021-05-23 23:10:29 +02:00
Tal Neoran b42f70e6d8
Add moderation buttons in search popup (#2803) 2021-05-23 15:51:53 +02:00
Mm2PL f123a11c1c
Fix FFZ emote links for global emotes (#2808) 2021-05-23 13:26:18 +00:00
fourtf 258851e572
removed accidentally added line 2021-05-23 11:24:08 +02:00
Tal Neoran 14e8a2bf6c
Add #channel in mentions usercard and search popup (#2802) 2021-05-22 15:11:24 +02:00
pajlada ddba279ff7
Deprecate C_DEBUG definition in favour of standard NDEBUG (#2783) 2021-05-20 12:21:41 +00:00
Tal Neoran 2db50f1c41
Add setting to disable custom ffz mod/VIP badges (#2759)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-05-16 22:07:12 +02:00
fourtf 80506a8625 v2.3.2 2021-05-16 19:29:27 +02:00
fourtf 6ae8427fc6
added try catch in nm (#2785)
* added try catch in nm

* changelog

* asdf

* gh action
2021-05-16 16:51:25 +00:00
Paweł 6732b25f36
Fixed deprecated method Qt::SystemLocaleLongDate (#2784)
Fixes deprecation notices introduced in #2748

Reference: https://doc.qt.io/qt-5/qt.html#DateFormat-enum
Replacement: https://doc.qt.io/qt-5/qlocale.html#FormatType-enum
2021-05-16 00:34:42 +02:00
Paweł 519855d852
Migrated cheermotes to Helix API (#2440)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-15 17:02:47 +00:00
James Upjohn 7c4c797dbc
Fix word backspacing not closing/updating colon emote picker (#2781)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-05-15 14:24:46 +00:00
Sidd 860cc89e14
Load 100 blocked users instead of default 20 (#2772)
Co-authored-by: Paweł <zneix@zneix.eu>
2021-05-14 18:18:40 +00:00
Paweł e746201c4f
Refactored and Migrated to Helix AutoMod message management (#2779)
This uses new Helix endpoint which requires new scopes and users need to reauthenticate to approve/deny AutoMod messages again.
2021-05-14 13:14:43 +02:00
apa420 d59bb805bb
Added system message on new date (#2748)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-09 18:44:57 +02:00
apa420 dcd65b5978
/live split for channels going live (#1998)
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-09 14:17:04 +00:00
James Upjohn d96f4575ba
Fix newlines in stream title causing text in header to go out of bounds (#2755)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-09 09:22:20 +00:00
apa420 1568de6640
Added clickable hosting messages (#2752)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-08 14:46:41 +00:00
pajlada 2f49b23875
Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
pajlada 6f6ccb8c2f
Fix a deadlock that would occur when loading Twitch badges (#2756) 2021-05-08 13:29:12 +00:00
apa420 bb73069817
Automod info (#2744)
Co-authored-by: Sidd <iProdigy@users.noreply.github.com>
2021-05-08 12:49:30 +00:00
apa420 c40bdf812b
Fix automod messages not being parsed/showing up properly (#2742)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-08 12:14:49 +00:00
Paweł 0c2617dc99
Fixed login expired message highlight every tab (#2735) 2021-05-08 13:34:32 +02:00
fourtf cf33566fd7 v2.3.1 2021-05-03 20:31:04 +02:00
Daniel f6d9fb2aac
Add ability to highlight messages based on user badges (#1704)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-02 22:08:08 +00:00
Paweł f7506d495f
Refactored Rename Tab dialog and its context menu (#2713)
* Added placeholder to tab rename dialog's input

* Always set placeholder to default tab name.

* Renamed context menu entries, updated popup

* Removed TextInputDialog class, slight popup fix

* Forgot to rename variable (no fun allowed 😥)

* forsenT

* Made use of QDialogButtonBox

* Added changelog entry
2021-05-02 12:59:14 +02:00
Paweł b614ce1cd8
Handle ritual (new viewer announcement) messages (#2703)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-01 15:42:51 +00:00
pajlada 115d198434
Make AccessGuard use a shared_mutex instead (#2702)
This allows `accessConst` to use a shared lock instead of a unique lock
2021-05-01 15:19:41 +00:00
M4tthewDE c413a0984e
Adds visual indicator to message length if too long (#2659)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-01 14:42:08 +00:00
Paweł 6c9fd4f204
Made left-clicking splitheader focus split (#2720) 2021-05-01 14:14:05 +00:00
Tal Neoran 77fa1322de
Added is:<flags> search predicate (#2671)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-05-01 12:21:45 +00:00
fourtf 8b3f301c50
some concurrency additions (#2698) 2021-05-01 11:38:58 +00:00
fourtf 345bcdb963
adds assertInGuiThread to getApp() (#2695) 2021-05-01 12:47:33 +02:00
Paweł 9c41adca2e
Fixed deprecated method QWheelEvent::delta (#2647)
Reference: https://doc.qt.io/qt-5/qwheelevent-obsolete.html#delta and https://doc.qt.io/qt-5/qwheelevent-obsolete.html#orientation

Changes in behavior introduced in this commit

Change from `event->delta()` to `event->angleDelta().y()` makes it, so you can no longer scroll horizontally (with trackpad / touchpad) to select next/previous tab (until now, you were able to do it, but I believe this is wrong anyways).

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-26 21:38:16 +02:00
bora e587d1ef81
Fixed a spelling mistake (#2691) 2021-04-26 14:47:54 +00:00
pajlada d1f81ab50b
Add an option to remove spaces between emotes (#2684)
This feature is disabled by default and can be enabled in the settings.

Co-authored-by: Mm2PL <jakis128@gmail.com>
2021-04-25 22:25:23 +00:00
Paweł 3ad1f109ac
Raised bttv emote timeout value (#2686)
This should elimnate the BTTV Channel Emote loading timeout, often reported by multiple users.
2021-04-25 16:17:37 +00:00
Paweł daf6ebc513
Replace #define in CommandController with QStringList (#2658) 2021-04-25 14:25:37 +00:00
Mm2PL 08f2773f30
Remove ban reasons because they are not a thing in IRC anymore (#2650) 2021-04-25 13:44:12 +00:00
Paweł 675f99e9cc
Added image links to the badge context menu (#2667) 2021-04-25 13:16:32 +00:00
Paweł c3d61ad77b
Add ability to hide Twitch Prediction badges (#2668)
We now properly categorize the Twitch `predictions` badges since they take up their own slot in Twitch web chat
2021-04-25 14:37:19 +02:00
Paweł 1ef2f17cd4
Added missing context menu entries to emote popup (#2670) 2021-04-24 15:43:15 +00:00
Andrew Opalach 24a2d8a86f
Wait for smooth scrolling animation to add new message (#2084)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-24 15:15:15 +00:00
Paweł 29c9b58e5a
Removed unnecessary debug output (#2638) 2021-04-17 21:47:16 +00:00
fourtf 2db140d5af
Added x-attach-split-to-window command line arg (#2411)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 14:15:23 +00:00
fourtf 58017a7546
fix size of splits not loading properly (#2554) 2021-04-17 13:16:14 +00:00
Paweł ed7d1a88d0
Added custom FrankerFaceZ VIP badges (#2628)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 14:42:30 +02:00
pajlada 2f906c5504
Add a function in NetworkCommon parseHeaderList which parses a header list as a string into a vector of header pairs (#2623) 2021-04-17 11:49:19 +00:00
Tal Neoran cceadf473a
Added in:<channels> search predicate (#2634)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 11:18:22 +00:00
Paweł b540bd0b69
Added missing default twitch commands (#2633)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 10:54:14 +00:00
Mm2PL 3ee23b2bae
Allow for usage of builtin Chatterino commands in custom commands. (#2632)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-17 10:33:18 +00:00
pajlada 8641435142
Fix crash that could occur when the user changed the "Custom stream player URI Scheme" setting if the user had closed down and splits in the application runtime (#2592) 2021-04-17 09:55:44 +00:00
fourtf 2dca9a3247 2.3.0 2021-04-14 15:58:33 +02:00
fourtf 38d76ddca3 bumped version 2021-04-14 15:54:44 +02:00
pajlada c9f62fed4c
Fix windows being brought back to life after the settings dialog was closed (#2613)
Fixed with the help of @jammehcow
2021-04-11 14:22:32 +00:00
Iulian Onofrei 8779303845
Fixed search field not being focused on popup open (#2540)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-11 13:37:53 +00:00
James Upjohn 06ec230759
Fix bold/coloured usernames also formatting trailing punctuation (#2597) 2021-04-11 13:09:21 +00:00
Paweł e741744254
Handle bits badge tier notification messages (#2611) 2021-04-11 12:17:21 +00:00
Yoitsu a448af5f57
Implement Helix Search Categories end-point & update /setgame (#2609)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 23:34:27 +00:00
Yoitsu 00ccdbc781
clang-tidy: use std::move where applicable (#2605)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 12:34:40 +00:00
Tal Neoran b0fee78f2b
Add PgUp / PgDown for scrolling in the emote popup (#2607)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 12:11:26 +00:00