Commit graph

3036 commits

Author SHA1 Message Date
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
Yoitsu bc334222c1
fix buffer overflow in parseEmoji (#2602)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-10 11:49:25 +00:00
pajlada 208d017cc3
Add sanitizers for cmake (#2608)
These can be enabled using the `SANITIZE_{ADDRESS,MEMORY,THREAD,UNDEFINED}` cmake flags
2021-04-10 11:26:20 +00:00
Mm2PL f9246a9e3a
Add /setgame and /settitle (#2534)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-04-04 17:31:08 +02:00
fourtf 2db7a30ae5
always update dropdown on split button press (#2590) 2021-04-04 15:24:12 +02:00
Edgar 19d9791cba
🔧 Removed SourceFileUtils (#2571)
Not needed anymore from version 3.8 of CMake (which is our minimum required)
2021-04-03 16:49:24 +02:00
pajlada e00938dfde
Add support for CMake (buildsystem generator) (#2468)
Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-03-28 16:58:51 +02:00
James Upjohn 093a088363
Fix quick switcher not ordering based on tab order (#2561) 2021-03-27 12:32:14 +01:00
Paweł 1f5b62e6e5
Implemented bit emotes (#2550)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-21 15:42:45 +01:00
Paweł af4e3f5062
Refactored loading emotes and emotesets (#2539)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-03-21 15:19:49 +01:00
Auro 6ef515a0e2
Added system message if no bttv emotes found instead of "unknown error" (#2542)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-21 14:27:28 +01:00
Paweł a893cdaebe
Ensure twitch emote names are escaped (#2543) 2021-03-20 23:49:42 +01:00
James Upjohn 79bc700743
Fix app data dir not opening on macOS when "Open AppData" button pressed (#2537) 2021-03-20 13:40:50 +01:00
Leon Richardt 3f206d46af
fix: no longer crash on clip creation in "special" channels (#2528) 2021-03-15 17:45:56 +01:00
Karar Al-Remahy 49bd1bd488
feat: /clearmessages command (#2485) 2021-03-14 18:25:45 +01:00
pajlada fd3efe0e15
Fix windows build not compiling (#2523) 2021-03-14 17:25:32 +01:00
Paweł 382462f465
Added avatar context menu to usercard (#2517) 2021-03-14 15:09:16 +01:00
Paweł 7002954aa9
Fixed deprecated method QProcess::finished(int) (#2512)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 20:14:47 +01:00
Paweł ce947a89d7
Fixed deprecated method QTime::elapsed (#2504)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 17:54:34 +01:00
Paweł cd1f4d0c78
Fixed deprecated method QComboBox::currentIndexChanged (#2511)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 17:25:39 +01:00
Paweł d1a10d3c1f
Fixed deprecated method QFlags::Zero (#2508)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 16:27:13 +01:00
Paweł be21e5b52d
Fixed deprecated method QPalette::{Fore,Back}ground (#2510)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 16:03:16 +01:00
fourtf 8a4ffc5f5b
added limit to cached username colors (#2515) 2021-03-13 15:34:11 +01:00
Paweł 1090524dec
Removed refresh label from usercard (#2514)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 15:09:26 +01:00
Paweł 0e99527e8c
Fixed deprecated method QFontMetrics::width (#2509)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-03-13 14:47:02 +01:00
James Upjohn d94d9e74dd
Implement missing cheer emote tooltip (#2503) 2021-03-13 14:16:32 +01:00
fourtf a8c7e4a826 added missing files 2021-03-13 12:40:43 +01:00
fourtf 81ce8dcc08 moved last message line in settings and changed defaults 2021-03-13 12:33:54 +01:00
fourtf 4ff2de0567 now attaches to parent console on windows 2021-03-13 12:14:40 +01:00
fourtf baddb60bb9 changed short flag for --version to -V instead of -v 2021-03-13 11:44:44 +01:00
fourtf 5a3577317d show messagebox if settings cannot be edited 2021-03-13 11:36:09 +01:00
Paweł efde73e684
Fixed remaining timeout message (#2502) 2021-03-07 18:03:53 +01:00
Emil Gedda f53b0a9e0f
Fix quotation and handling of additional streamlink options (#2495) 2021-03-06 19:56:36 +01:00
Paweł 1eb6aa64db
Localized all relevant numbers visible to end-user (#2488) 2021-03-06 15:03:33 +01:00
Paweł b2aa370015
Fixed emote pasting bug with multiple spaces (#2490) 2021-03-04 01:13:36 +01:00
Paweł 30f3035dc2
Removed unnecessary declaration (#2483) 2021-02-28 22:06:15 +01:00
M4tthewDE 798384c931
Fix filter inconsistency (#2480) 2021-02-27 13:25:54 +01:00
Felanbird 032a791ec1
Fixed spelling of Suppress (#2472) 2021-02-21 16:42:59 +01:00
pajlada e015013773
Add lint github action (#2473) 2021-02-21 14:45:42 +01:00
dependabot[bot] 277289db55
Bump lib/serialize from 130ffc3 to 7d37cbf (#2418)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-02-17 23:57:37 +01:00
Paweł 7d9f4c2b0c
Migrated block, unblock and get user block list methods to Helix (#2370)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-02-14 14:01:13 +01:00
pajlada 6b0ce396d6
Update to Emoji v13 (2020) (#1555) 2021-02-13 19:17:22 +01:00
AweesneW 542022bff3
Update HighlightingPage.cpp (#2404)
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-02-12 14:43:18 +01:00
Paweł 185980f8a2
Added /streamlink command (#2443)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-02-12 14:16:44 +01:00
pajlada 303b079257
Remove bad asserts from IRC text wrapping code (#2446) 2021-02-11 12:52:50 +01:00
Paweł 4a53472215
Clean up debug output (#2439) 2021-02-07 14:37:19 +01:00
Paweł a4fb20c72c
Added millisecond timestamp formats to settings (#2375) 2021-02-06 18:07:02 +01:00
Paweł 3023a44a21
Some fixes related to clipboard (#2405)
Also:
- Fixed capitalization of one method in `LoginDialog.cpp`
- Visually improved some strings in `LoginDialog.cpp`
- Added utility function getting clipboard content to `Clipboard.cpp`
- Made sure to use `crossPlatformCopy` in `UserInfoPopup.cpp`
2021-02-06 15:47:09 +01:00
M4tthewDE c2782666a6
Added formatting for remaining timeout duration (#2398) 2021-01-31 13:55:44 +01:00
pajlada 8cd923b8fb
Fix test compilation (#2426) 2021-01-31 13:35:01 +01:00
Daniel 5a29198367
Add regular expression support to filters (#2225) 2021-01-31 12:45:15 +01:00
Paweł 278a00a700
Implement /marker command (#2360)
This command works the same as it does on Twitch web chat - it creates a streamer marker at the current timestamp with an optional description
2021-01-30 15:39:01 +01:00
fanway 127598db8a
Add automatic streamer mode detection to macOS (#2376) 2021-01-30 13:11:08 +01:00
Iulian Onofrei 684dbed706
Fixed hidden tooltips when always on top is active (#2384) 2021-01-23 16:49:02 +01:00
Leon Richardt 1b75dc1e2c
fix: properly handle CLI arguments (#2368)
Fix CLI arguments not being respected. This happened due to the addition of category-based logging (--help, --version) and changes to the window loading ( --channels), respectively.

When handling --channels, I took the liberty to refactor the previous version of window description (which relied on generating JSON) to directly building the WindowLayout.
2021-01-23 16:26:42 +01:00
Paweł 857705668e
Migrated getChannel to Helix (#2381)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-01-21 13:48:48 +01:00
Paweł a9b1af60de
Removed liveStatusChanged signal connection to fix a crash (#2377) 2021-01-18 15:11:50 +01:00
Paweł 766700adc8
Removed empty liveStatusChanged connect signal (#2374) 2021-01-18 13:09:14 +01:00
Paweł e48937e0aa
Fixed some spelling mistakes across files (#2367)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-01-17 20:19:10 +01:00
Paweł cfcac99ae6
Added clip creation support 🎬 (#2271)
You can create clips with `/clip` command, `Alt+X` keybind or `Create a clip` option in split header's context menu. This requires a new authentication scope so re-authentication will be required to use it.

Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-01-17 14:47:34 +01:00
Leon Richardt 0542b81a03
feat: add a finally callback to NetworkRequests (#2350)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-01-16 18:25:56 +01:00
apa420 f19cc60a5b
Setting for disabling /mentions tab highlight (#1994)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-01-16 14:27:19 +01:00
Paweł b587173e18
Added /chatters command (#2344) 2021-01-16 13:58:11 +01:00
pajlada a6e23e2468
Fix anonymous Twitch user ping (#2352) 2021-01-10 15:22:00 +01:00
Paweł acbabd2664
Added Live Notification suppression to Streamer Mode (#2342) 2021-01-10 15:01:38 +01:00
Paweł fca62f7c1d
Added automatic streamer mode detection to Linux (#2316) 2021-01-09 22:14:25 +01:00
pajlada b3e01a40d7
Try to improve Twitch IRC network stability (#2347) 2021-01-09 18:05:02 +01:00
Lewis Gibson 88e31b12a7
Add 'open in mod view' button to split context menu (#2321) 2021-01-02 17:25:27 +01:00
pajlada d3b2ab1d8a
Fix a crash bug that occurred when the "Limit message height" setting was enabled and a message was being split up into multiple lines. IRC only. (#2329) 2021-01-02 14:49:03 +01:00
Paweł 22d6aa8dc3
Fixed compilation warning on tests (#2317)
QByteArray append deprecation fix
2020-12-27 14:29:43 +01:00
pajlada 0e66b17ff0
Add Network tests (#2304)
Also changes the way timeouts happen, since right now if a timeout was met (which it mostly wasn't), it would run the error callback twice causing potentially undefined behaviour
2020-12-26 12:42:39 +01:00
Paweł 2f5df3db4a
Migrated follow and unfollow methods to Helix API (#2306) 2020-12-22 09:55:58 +01:00
Leon Richardt 89c74e03d6
chore: remove a redundant using namespace declaration (#2303) 2020-12-21 00:42:20 +01:00
Rasmus Karlsson a539b821e2 Fix another "use twitch-channel when it's null" error 2020-12-20 17:28:04 +01:00
fanway 38966e2b19
Add option for truecase username autocompletion (#1883)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-12-20 16:43:35 +01:00
Wolf Clément b8104863a5
Fix crash when receiving whisper (#2298)
PR #2284 introduced this bug: whispers aren't linked to a twitch channel
but we're storing user colors in a twitch channel. So, dereferencing
a nullptr. Not good.
2020-12-20 09:38:34 +01:00
Wolf Clément fea52faa66
Color mentions to match the mentioned users color (#2284)
You can disable this by unchecking "Color @usernames" under `Settings -> General -> Advanced (misc.)`

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-12-19 14:42:20 +01:00
pajlada ddcad4607c
Don't pollute global namespace with boost bind placeholders (#2272) 2020-12-13 13:18:12 +01:00
pajlada 2014fc7614
Use correct include path to ImageSet.hpp (#2275) 2020-12-13 13:12:50 +01:00
Paweł ddcc8545d4
Further placeholder text fixes (#2264) 2020-12-13 12:16:08 +01:00
Paweł 155b40985b
Made emote tooltips use author's displayName consistently (#2267) 2020-12-12 16:15:49 +01:00
Paweł dcebcd4456
Added Ctrl+1/2/3/... shortcuts to Emote Popup (#2263) 2020-12-12 14:58:59 +01:00
Mm2PL eb8eecdfed
Improve the "You are banned" message (#2266)
Added reconnect link to the "You are banned" message
2020-12-12 14:19:51 +01:00
Mm2PL c6d55e0d8c
Improve search popup window titles (#2268)
Adds special cases for /whispers, /mentions and empty tabs, and an apostrophe in the titles.

Co-authored-by: Paweł <zneix@zneix.eu>
2020-12-12 13:06:40 +01:00
Paweł cfa9e5903e
Migrated Kraken's getUser to Helix (#2260) 2020-12-06 19:41:52 +01:00
pajlada 277ef4b2e3
Fix crash when moving splits across windows and closing parent tab (#2259) 2020-12-06 15:34:40 +01:00
fanway bf4c9cebb1
Use display/localized names in tab and split titles (#2189) 2020-12-06 14:07:33 +01:00
pajlada 4436109a2f
Add setting to limit number of historical messages to load on connect (#2252) 2020-12-06 13:04:49 +01:00
Paweł 8b2c3c7386
Fixed thumbnails merging with link info without thumbnails (#2244) 2020-12-05 15:03:13 +01:00
Leon Richardt 0a0cfb8e48
fix: make LoginWidget child of AccountsPage (#2234) 2020-11-29 10:48:23 +01:00
pajlada 5258ddd84f
Add parent to ChannelFilterEditorDialog (#2232) 2020-11-28 18:04:33 +01:00
Paweł 49fa9bfd72
Made #channel link in /mentions jump to #channel split (#2220) 2020-11-28 17:45:20 +01:00
pajlada 1a4d4dca79
Fix freeze in Ignore & Replace if replacement followed by emote (#2231)
shiftIndicesAfter now also shifts the item end position along with the item start position
2020-11-28 15:03:36 +01:00
Paweł 05aab86845
Added links to twitchemotes.com to Twitch emotes' context menus (#2214) 2020-11-22 15:54:58 +01:00
mmb L 44262ee2ec
Add Ctrl+F5 as a shortcut for reconnect() (#2215) 2020-11-22 14:28:07 +01:00
Paweł b79d5fa6f0
Fixed "raw mentions" not being clickable with special characters appended to them (#2212) 2020-11-22 14:02:55 +01:00
Steve Wills df722a72c1
Switch to QT Category logging (#2206)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-11-21 16:20:10 +01:00
Daniel d206ed4bcc
Fixes the dropdown order in channel filter dialog (#2168) 2020-11-21 13:47:09 +01:00
Steve Wills 529f19a2de
check path is not empty (#2203)
* check path is not empty

* fix formatting

* use isEmpty() to check path
2020-11-17 19:59:49 +01:00
Leon Richardt 60d5c5d99f
[Fix] Use copy instead of reference for overriding message flags (#2200)
* fix: use copy instead of reference for overriding message flags

* doc: update changelog

Note: the initial attempt at fixing this issue (#2090) was also included
in order to make the development process more trackable.
2020-11-17 18:47:07 +01:00
fourtf 6499b7c126 2.2.3-beta2 2020-11-17 10:43:16 +01:00
Daniel b572c187a4
Fix FFZ emote assertion crash (#2192)
* Fix crash on null urls from FFZ API

* Update CHANGELOG.md

* Turns out there's an actual method for this
2020-11-17 10:27:14 +01:00
pajlada 53c96097c9
Use the main window as the parent to all user cards on macOS (#2185) 2020-11-15 14:40:34 +01:00
Leon Richardt 540870f9fe
[Fix] Make SearchPopup a BasePopup (#2182) 2020-11-15 11:07:20 +01:00
Leon Richardt 0eed45ae67
Chore: Proper Lambda Formatting (#2167)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-11-08 12:02:19 +01:00
Paweł fbd5df53d8
Ensure Twitch username in UserCard uses display name from API (#2160) 2020-11-08 11:39:10 +01:00
pajlada 29d0ef6923
Apply nightly update logic to macOS and Linux too (#2164) 2020-11-08 10:32:55 +01:00
Paweł c3ff98da87
Improved textEdit placeholder (#2149)
* Made colors a bit lighter

And also removed the tooltip from non-twitch channels

* Updated the changelog entry

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-11-05 09:06:34 +01:00
fanway f36c0fee97
Fix runIgnoreReplaces fall into infinity loop (#2151)
* Fix `runIgnoreReplaces` fall into infinity loop

The regex pattern was not checked for emptiness, which led to an endless
loop

* Update CHANGELOG.md

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-11-04 23:11:17 +01:00
pajlada 9cdddfc65d
Fix various warnings (#2147) 2020-11-01 15:23:58 +01:00
Daniel 2eb01af5e7
Prevent default tab completion from overriding colon menu (#2133)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-11-01 14:59:43 +01:00
fanway 892e16c533
Fix link preview doesn't update link info for previous messages after setting is enabled (#2108)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-11-01 14:33:01 +01:00
Paweł 86feef6be8
Fixed settings dialog size (#2145) 2020-11-01 14:11:45 +01:00
Daniel a9590ae292
Add list literals to filters (#2103) 2020-11-01 13:33:46 +01:00
Paweł a27757e440
Added placeholder for Split's textEdit (#2143) 2020-10-31 18:17:43 +01:00
alazymeme 78c50399b8
Add wiki link to moderation mode page (#2141)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-10-31 17:10:11 +01:00
pajlada 1ee1e8837f
Use Qt's dialog where applicable (#1843) 2020-10-31 16:42:48 +01:00
Paweł 523874dc21
Added tab navigation shortcut to SelectChannelDialog (#2142)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-10-31 16:17:09 +01:00
Mm2PL ee14492e15
Add Mm2PL's avatar to contributors list. (#2139) 2020-10-31 15:52:05 +01:00
Paweł 3c1abbd297
Added missing window titles to all popups (#2120) 2020-10-31 15:12:42 +01:00
Paweł 05469d1bba
Fixed contributor avatar links (#2126)
* Fixed contributor avatar links

Had to put them in qtresource format so those will actually display in Settings -> About.
Reference: https://doc.qt.io/qt-5/resources.html#compiled-in-resources

* Added my avatar and updated documentation
2020-10-26 17:02:52 +01:00
Leon Richardt 40da838a9d
fix: showInMentions attribute is now serialized correctly (#2137)
This was an error introduced in ec94869. Instead of the
Qt::CheckStateRole, which stores the state represented in the table
view, the Qt::DisplayRole was used. As per [1], this always returns
`false` in our use case.

[1]: https://doc.qt.io/qt-5/qvariant.html#toBool
2020-10-26 10:06:09 +01:00
yodax 466d85c907
Retain channel context for user cards opened from search window (#2088) 2020-10-25 11:10:28 +01:00
Mm2PL 3ee08b9ffd
Add support FrankerFaceZ badges. (#2101)
On startup, we poll https://api.frankerfacez.com/v1/badges/ids and store the mappings of user IDs to badges for the remainder of the applications lifetime.
2020-10-25 10:36:00 +01:00
Leon Richardt ec94869480
Allow highlights to be excluded from /mentions (#2036) 2020-10-24 14:33:15 +02:00
Leon Richardt 0049a5ebb2
Fix tabbing in Quick Switcher (#2065)
It was broken in f7237dc due to the migration to the GenericListView approach
2020-10-24 10:50:14 +02:00
fourtf 11525e626a
edited general settings categories (#2117)
* edited general settings categories

* Update CHANGELOG.md
2020-10-23 14:26:04 +02:00
fourtf 5f54b1b495 moved navigation to the right 2020-10-23 09:33:44 +02:00
fourtf 74e2242da2
Update GeneralPageView.hpp 2020-10-23 08:19:03 +02:00
fourtf a596e1de23
Update GeneralPageView.hpp 2020-10-23 08:18:42 +02:00
fourtf e2ceb34e57
Update GeneralPageView.hpp 2020-10-23 00:53:25 +02:00
fourtf 7a8b8a36b9
Update GeneralPageView.hpp 2020-10-23 00:50:19 +02:00
fourtf 69304ea4df
Update GeneralPageView.cpp 2020-10-23 00:38:14 +02:00
fourtf 3d9d7d54d5 added missing file 2020-10-22 23:46:36 +02:00
fourtf 0ecea8ad83 added category navigation to general settings 2020-10-22 23:20:07 +02:00
fourtf 4d676b4c51 fix #2106 2020-10-22 20:02:14 +02:00
fourtf 8bc3025a77 Merge branch 'master' of https://github.com/Chatterino/chatterino2 into master 2020-10-22 20:00:14 +02:00
fourtf aa4326f051 renamed filter dropdown items 2020-10-21 17:11:44 +02:00
Paweł 406e00df43
Fixed some stuff regarding usercard (#2100)
- split everything into 2 separate labels, so we won't have any issues with dank dpi (like pajlada had) and no resizing to minimum size is required (which was apparently broken on Windows xd)
- decided to remove line, which is rather not visible / very small and can't be seen anyway
- added nice unicode characters for follow and sub label
- removed unnecessary QLabel include (which I believe was also introduced by me by an accident)
2020-10-21 17:02:24 +02:00
Daniel e7c2e1bec2
Copy message flags to preserve highlights (#2090) 2020-10-21 16:27:24 +02:00
fourtf 3c6e6446c6
2.2.3-beta 2020-10-20 11:13:01 +02:00
Daniel 444810d3dc
Add parent-window option (#2089) 2020-10-19 07:08:02 +02:00
Rasmus Karlsson acec41685e Do error-handling ourselves in argument parsing.
This means we only print a warning on unhandled options instead of
exiting the application.
2020-10-18 22:56:54 +02:00
pajlada 72f44ccdc3
Fix "variables" documentation help in the Filter creation dialog (#2083) 2020-10-18 16:14:59 +02:00
pajlada f191de2514
Add CI workflow to check line endings of all source files (#2082)
In addition, all found errors (formatting & line ending) have been fixed in this PR.
2020-10-18 15:54:48 +02:00
dnsge 4199a01b96 Advanced channel filters (#1748)
Adds custom channel filters complete with their own mini-language. Filters can be created in settings, and applied by clicking the three dots to open the Split menu and selecting "Set filters".
2020-10-18 15:18:20 +02:00
pajlada 812cbdf4f9
Scroll in selected split with PageUp and PageDown (#2081) 2020-10-18 13:15:47 +02:00
pajlada 39a0e69a3b
Reset the timer & refresh thumbnail when changing split channel (#2080) 2020-10-18 12:19:30 +02:00
yodax 55b98f93db
Added emote completion with : to the whispers channel (#2076) 2020-10-17 15:59:15 +02:00
yodax 2352c31dd6
Viewer list usability improvements (#2059)
* Updated to use accent color and added spaces between categories

* Switched order of Moderators and VIPs
2020-10-17 15:00:10 +02:00
Leon Richardt 6e7f8d9d9c
Fix: ColorButtons in settings don't respect search (#2073)
Prior to this commit, adding a ColorButton to a SettingsLayout via
`SettingsLayout::addColorButton` lead to the button not respecting
search queries. This is because they are not added to the layout in a
Group. This commit fixes the behavior, causing color buttons to behave
like every other settings widget.
2020-10-16 09:06:54 +02:00
Rasmus Karlsson 3be62c9294 actually add accent color 2020-10-11 14:42:55 +02:00
Rasmus Karlsson dfe1af248c define accent color in theme 2020-10-11 14:36:28 +02:00
Paweł 2232c6d925
Changed Streamer Mode settings (#2001)
There's now a new (yet another, sigh) section in Settings -> General, which lets you set streamer mode to 'enable/disable/detect obs' and there are also separate settings for each of the things that streamer mode covers. I just have to add ping sounds and PR is ready to be merged :)

* Show "Streamer Mode" image as link thumbnails if applicable

* Moved hideViewerCountAndDuration to streamerMode settings

Set it to false by default (just how it used to be under /misc settings, also reworked live tooltip to be a bit prettier and say "<Streamer Mode>" in gray instead of "Live with <hidden> for <hidden> viewers"
2020-10-11 13:52:14 +02:00
Dave 56828f2d81
Made the current channels emotes appear at the top of the emote picker (#2057) 2020-10-11 12:31:00 +02:00
Dave 98762fdfa0
Add viewer list button to twitch channel header (#2042) 2020-10-10 17:24:53 +02:00
Daniel b37605569f
Make moderation mode persist (#2035)
Fixes a small bug introduced in #1964. "Moderation mode" would be written to the settings file but wouldn't be loaded.

Closes #2032
2020-10-10 10:04:55 +02:00
Dave 84613187e1
Fixed missing timestamps on point redemption messages (#2043)
* Added timestamps to point redemption messages

* updated change log

Co-authored-by: fourtf <tf.four@gmail.com>
2020-10-09 17:26:45 +02:00
fanway df97d609a2
Fix tooltip not showing in EmotePopup (#2046)
* Fix tooltip not showing in `EmotePopup`

* Update CHANGELOG.md
2020-10-09 17:21:04 +02:00
Paweł 776ce8bdbc
Added subage and followage to usercard (#2023)
* Added subage and followage information to usercard

We are using Leppunen's API here to determine user's subage to the current channel and since that API call also returns followage information I decided to utilize that and save ourselves an extra Helix API call.
I also added new files specifying new class and methods for Ivr API, which can be very easily expanded with new methods in the future if we ever have to do that.
When I was coding I also saw couple unnecessary nitpicks which I fixed :)

* Added changelog entry

* remove empty lambda

* Update UserInfoPopup.cpp

* xd

Co-authored-by: fourtf <tf.four@gmail.com>
2020-10-04 18:32:52 +02:00
apa420 35816c5d8a
Add settings for last message line style (#2019) 2020-10-04 18:26:46 +02:00
Leon Richardt aff59495df
Improve "Login expired!" message (#2029)
* feat: improve "Login expired!" message

Since this message occurs when the OAuth token becomes invalid, users
have to re-add their account in order to continue using the application.
The previous message did not make this clear enough, often leading to
confusion and questions by users.

This commit changes the system message to more clear about what the user
has to do, and adds a link that opens the "Accounts" page in the
preferences.

* Update changelog

* Update ChannelView.cpp

Co-authored-by: fourtf <tf.four@gmail.com>
2020-10-04 17:36:38 +02:00
gempir 80e84b1d8a
Commands are now saved upon pressing Ok in the settings window (#2016)
Commands are now saved upon pressing the Ok Button in the settings window, similar to the rest of the settings.
2020-10-04 13:02:29 +02:00
apa420 a2e12a56e3
Changed some default settings (#2024)
Colorized nicknames now enabled by default
Show channels live now enabled by default
Bold usernames enabled by default
2020-10-04 12:59:31 +02:00
Vilgot Fredenberg de04ff82a7
Clean up compiler warnings (#2027)
Fix the following compiler warning
../src/common/NetworkResult.hpp: In constructor ‘chatterino::NetworkResult::NetworkResult(const QByteArray&, int)’:
../src/common/NetworkResult.hpp:28:16: warning: ‘chatterino::NetworkResult::data_’ will be initialized after [-Wreorder]
   28 |     QByteArray data_;
      |                ^~~~~
../src/common/NetworkResult.hpp:27:9: warning:   ‘int chatterino::NetworkResult::status_’ [-Wreorder]
   27 |     int status_;
      |         ^~~~~~~
../src/common/NetworkResult.cpp:9:1: warning:   when initialized here [-Wreorder]
    9 | NetworkResult::NetworkResult(const QByteArray &data, int status)

* Clang compiler warnings

Fixes every instance of the following error:

In file included from ../src/widgets/settingspages/CommandPage.cpp:12:
In file included from ../src/controllers/commands/CommandModel.hpp:5:
../src/common/SignalVectorModel.hpp:242:10: warning: 'moveRows' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    bool moveRows(const QModelIndex &sourceParent, int sourceRow, int count,
         ^
../src/controllers/commands/CommandModel.hpp:12:29: note: in instantiation of template class 'chatterino::SignalVectorModel<chatterino::Command>' requested here
class CommandModel : public SignalVectorModel<Command>
2020-10-04 12:47:23 +02:00
Daniel 58a6983796
Fix timestamps on some messages loaded from the recent-messages service on startup (#2020) 2020-10-03 13:37:07 +02:00
Daniel b67e20d962
Only show VIP buttons if broadcaster (#1999) 2020-09-27 10:34:20 +02:00
apa420 3450b1cc9d
Added image to streamermode user popup (#1995)
* Added image to streamermode user popup

* Update CHANGELOG.md

* swapparoo

Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-27 00:22:06 +02:00
apa420 b4ef4fe54d
Added vip and unvip buttons (#1996)
Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-27 00:20:15 +02:00
fourtf 53b18d03c6 fixed a memory leak 2020-09-26 18:07:13 +02:00
Daniel f7f858a4fc
Auto-refresh UserInfoPopup recent messages (#1982)
* Auto-refresh UserInfoPopup recent messages

* Update CHANGELOG.md

* Clean up code

* changed something about the connection

Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-26 16:59:40 +02:00
Paweł d314566ab6
Argument parsing rework (#1940)
* Experimental argument handling

* Restored browser extension launch functionality

Also moved check from BrowerExtension.cpp to Args.cpp as it is more relevant there and doesn't require passing arguments to a function in another file

* Fixed formatting

* Simplified Args.cpp code, added changelog entry

* Hid crash-recovery from help

* Dont save settings if launched with --channels

* Changed parsing method to t:channel

* Code cleanup

* Changed plaform delimeter to :, platform defaults to Twitch

Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-26 16:03:51 +02:00
fourst4r 2f3accf3cb
fix a crash using middle click scroll on chat window (#1870)
* fix middle click scroll crash

* Update CHANGELOG.md

* get the float dpi, not int
2020-09-26 15:47:20 +02:00
fourtf 06cb88f6c2 downscale images in button 2020-09-26 15:40:43 +02:00
fourtf d13b7d9768 fixed formatting in Settings.hpp 2020-09-26 15:18:48 +02:00
fourtf f4a6b769e5 fixed some potential crashes down the line 2020-09-26 15:17:26 +02:00
tuckerrrrrrrrrr 9d885d951c
Allow reordering elements in list settings (#1595)
* Add move up, down buttons to list settings

Channel notifications, moderation buttons etc. have a move up and move
down button now for reordering.

* Selection follows moved rows, refactor

Also fixed rows past the 2nd one not moving

* Update selection property with more than 1 column

* Fix crash when moving without a row selected

* Move rows with drag and drop

Right now it's a little iffy registering the row to be moved, but I
wanna go to bed :)

* Remove EditableTableView, move to SignalVectorModel

Replace my ghetto drag and drop solution in EditableTableView with small
patches to the stuff already written in SignalVectorModel::dropMimeData
2020-09-26 15:11:45 +02:00
fourtf f6caee6a66 removed accidentally added code 2020-09-26 14:59:04 +02:00
fourtf affef2c5a2 Merge remote-tracking branch 'refs/remotes/origin/master' 2020-09-26 14:56:56 +02:00
fourtf db3402a18e Merge branch 'Ch2Usercard' 2020-09-26 14:54:44 +02:00
pajlada 20e4d6b3d2
Update emote parsing (#1714)
Fixes #1707
2020-09-26 14:21:46 +02:00
fourtf d5855ba7d6 removed latest messages 2020-09-26 14:02:18 +02:00
Auro cc5eb7000f
Fixed the english of a system message (#1878)
* Update TwitchIrcServer.cpp

* made english better

changed "sending messages too fast" to "You are sending messages too fast"

* changed english

* Changed English

Changed the English in 2 system messages

* Update CHANGELOG.md

* Changed too fast to too quickly

Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-26 13:06:37 +02:00
Rasmus Karlsson 470fe5a58a Add label that shows up if the log in link didn't open properly
This basically takes the official advice from https://github.com/Chatterino/chatterino2/issues/1779#issuecomment-699235396 and tells the user what they can do as a workaround.

Relevant issue: #1779
2020-09-26 10:24:29 +02:00
Rasmus Karlsson 64d2fc6344 Clean up the "Chatterino command" concept 2020-09-26 10:01:00 +02:00
Rasmus Karlsson 4f35842473 Only attempt to read thumbnails when we get a 200 response code.
We would have been able to keep doing this if the Network Request code
followed redirects - however, it doesn't, so this is the best we can do.
We also don't have header support in Network Result, so we can't
validate that the response we got is actually an image.

Fixes #1972
2020-09-26 09:30:50 +02:00
fourtf 8123a47898 Closes #1725 2020-09-26 01:52:39 +02:00
fourtf 828fb2c3f5 Fixes #1767 2020-09-26 01:19:47 +02:00
fourtf b905e0afd1 Fixes #1676 2020-09-26 00:59:16 +02:00
fourtf 3375e58a4f added spacing to the split header title 2020-09-25 23:41:18 +02:00
fourtf 5fc495a073 Fixes #1404 2020-09-25 22:59:20 +02:00
fourtf 45a1034edf fixed tooltip flickering for SplitHeader 2020-09-25 22:21:30 +02:00
fourtf ed87d6e2fa fixed recent messages being parsed concurrently 2020-09-25 22:20:15 +02:00
fourtf 1ec109748f fixed crash when removing item in settings list 2020-09-25 20:43:45 +02:00
pajlada 913193f8b5
Split up Window Layout loading into a loading and application stage (#1964)
* Split up Window Layout loading into a loading and application stage

Previously, we were creating UI elements at while we were reading the window-layout.json file.
We now read the window-layout.json file fully first, which results in a
WindowLayout struct which is built up of a list of windows with a list
of tabs with a root node which contains containers and splits.
This WindowLayout can then be applied.

This will enable PRs like #1940 to start Chatterino with Window Layouts
that aren't defined in a json file.

This commit has deprecated loading of v1 window layouts (we're now on v2). If a v1 window layout is there, it will just be ignored and Chatterino will boot up as if it did not have a window layout at all, and on save that old window layout will be gone.

* Fix compile error for mac
2020-09-19 17:14:10 +02:00
Rasmus Karlsson 7eabba959b Split up a few single-liners to help debug crash issue 2020-09-13 11:08:43 +02:00
fourtf 1baa2b266d add a settings for the duplicate message sending 2020-09-11 17:07:58 +02:00
pajlada c7a2f4cc92
Don't make follow requests based on the check follow response (#1906)
This is done by deliberately setting and reading the enabled state of
the widget whenever the stateChanged event happens.

If the stateChanged event happens while the widget is not enabled, we
know the event must have been triggered by our "check user follow state"
event, and then we don't act upon that event
2020-09-06 12:46:35 +02:00
Daniel b024b47afd
Changelog crash fix (macOS) (#1935)
On macOS, trying to display a dialog before showing the main window
(like when starting minimized) leads to a crash. The dialog will now
show before the main window is opened, preventing this issue.
2020-09-06 12:02:15 +02:00
Daniel 0814fca7d4
Usercard command fix (#1918)
* Add myself to contributors list
2020-08-30 11:57:46 +02:00
fourtf 07fc0c3ad7 2.2.2 2020-08-29 10:54:37 +02:00
fourtf 279a80b66f fixed a potentional bug 2020-08-27 16:17:03 +02:00
fourtf 63c167f1db 2.2.1 2020-08-24 20:24:00 +02:00
Nico Sonack 930351779c
(#1874) Disable updates on non-Windows, Linux or macOS platforms (#1914)
* (#1874) Disable update checking for unsupported platforms

As described #1874, only Windows, macOS and GNU/Linux are officially
supplied with builds. Thus checking for updates is unnecessary if we
are e.g. on FreeBSD, OpenBSD, illumos distros and possibly other
Operating Systems.

This fixes #1874 by ifdef-ing the 3 officially supported platforms
when checking for updates. Otherwise a debug warning will be emitted
and in the settings the checkbox for beta-updates is hidden and
replaced by a message, explaining the reason for why there are no beta
updates.

* Update CHANGELOG

In accordance with #1874

* (#1874) Move platform check into checkForUpdates

As discussed in #1914

* (#1874) Move check for supported OS to a seperate function.

As requested in #1914
2020-08-24 12:02:56 +02:00
fourtf 1501da7e72 reverted update code to old state 2020-08-24 09:52:24 +02:00
fourtf df2cfa73f0 maybe fixed updates on macos 2020-08-24 09:42:59 +02:00
fourtf b7e86a8de6 reduced COMPACT_EMOTES_OFFSET to fix a graphical glich in timed out
messages
2020-08-23 17:24:35 +02:00
fourtf 5d0cb3ada8 Closes #1903 2020-08-23 17:11:41 +02:00
fourtf 28a0e4c63c Closes #1909 2020-08-23 17:04:17 +02:00
fourtf 50da694fff
Stable (#1905)
* fixed SearchWindow memory leak

* Update CHANGELOG.md

* added DebugCount for BaseWindow

* [Bug Fix] Color of second user highlight cannot be set (#1898)

* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md

* Emote Popup Improvements (#1895)

* Put exact matching emotes first

* Close GenericListView on Escape press

* smol fix

* fixed emote input when not in the first char

* fixes #1902

* closes #1904

Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: Daniel <24928223+dnsge@users.noreply.github.com>
2020-08-23 11:28:22 +02:00
fourtf 391ba5476f fixed emote input when not in the first char 2020-08-23 09:17:19 +02:00
fourtf ea54b10f1d smol fix 2020-08-22 23:22:00 +02:00
Daniel 184aba1be7
Emote Popup Improvements (#1895)
* Put exact matching emotes first

* Close GenericListView on Escape press
2020-08-22 23:17:56 +02:00
Leon Richardt 505581ca65
[Bug Fix] Color of second user highlight cannot be set (#1898)
* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md
2020-08-22 23:10:10 +02:00
fourtf 6e6413da02 added DebugCount for BaseWindow 2020-08-22 22:54:03 +02:00
fourtf ebb4ffe36d
fixed SearchWindow memory leak (#1899) 2020-08-22 22:35:07 +02:00
fourtf a8c61980ac removed default image uploader 2020-08-22 18:33:37 +02:00
fourtf a569ee915f bump version 2020-08-22 17:00:15 +02:00
fourtf 47afca2c71 miscelaneous changes 2020-08-22 16:49:23 +02:00
fourtf f3225275ea changed channel point messages color 2020-08-22 16:48:40 +02:00
fourtf eeb632d4ab Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 16:03:20 +02:00
fourtf 2cc23eaae6 make highlighted messages and redeemed thingies look the same 2020-08-22 16:02:38 +02:00
pajlada 0cbddf7e9b
Fix/be respectful of special characters like exclamation marks in highlight phrases since they are also word boundaries (#1890)
* Add missing includes

We would normally have these included in another file already, or even
the precompiled headers, but having the files included here too makes
testing single parts easier.

* Modify the regex building of highlight phrases for non-regex phrases

For phrases like !test, the word boundary checking we did before was not
enough, so we now check for either a word boundary, a whitespace
character, or the line start/end.

* Add tests for ensuring I haven't fully broken the highlight system

* Add changelog entry
2020-08-22 15:37:03 +02:00
fourtf 17b26ef59c Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 15:29:06 +02:00
fourtf 459e483c62 hide link preview image if in streamer mode 2020-08-22 15:27:42 +02:00
pajlada b98c0c2a44
Clarify "Custom stream player" functionality (#1889)
* Clarify "Custom stream player" functionality

* Remove idiotic idiot proofing
2020-08-22 15:01:16 +02:00
fourtf 5a18a0f040 updated links to go to chatterino.com redirect pages 2020-08-22 14:46:17 +02:00
fourtf f584503673 some fixes for SplitInput 2020-08-22 12:34:19 +02:00
fourtf 758fdc28ee added margin to emote input items 2020-08-22 12:19:20 +02:00
fourtf 95f975996d added tip for search shortcut to settings 2020-08-22 12:17:20 +02:00
fourtf 048a6f661d enable word wrap in tooltip 2020-08-22 11:54:06 +02:00
fourtf 83b6fad8e6 fixed some concurrency issues 2020-08-22 11:45:18 +02:00
alazymeme 0b0f1c9c5c
Add microsoft edge support for incognito (#1875)
* Fix incognito button missing

* Update CHANGELOG.md
2020-08-21 15:33:56 +02:00
fourtf 88f45a2842 animte emotes in colon emote input 2020-08-15 21:34:57 +02:00
fourtf f0b9f8ca59 raised emote limit in colon input to 200 2020-08-15 21:20:23 +02:00
fourtf a23b1c7988 added twitch emotes to colon emote menu 2020-08-15 21:14:07 +02:00
fourtf 235b67f9da smooth pixmap transform in emote input item 2020-08-15 20:25:58 +02:00
fourtf 8818f3df18 added emojis to colon popup 2020-08-15 20:22:46 +02:00
fourtf 4d4056ad51 fix compilation on gcc 2020-08-15 19:46:18 +02:00
fourtf 2ad4236f10 fixed compilation 2020-08-15 19:13:50 +02:00
fourtf f7237dccdd added colon emote popup for ffz and bttv 2020-08-15 18:59:17 +02:00
Leon Richardt 6781482485
Quick Switch: Add support for light themes (#1858) 2020-08-15 10:17:15 +02:00
alazymeme fba049dbfb
Fix open in browser button for whisper split (#1860)
* Fix open in browser button for whisper split

* Update CHANGELOG.md
2020-08-15 10:15:57 +02:00
Matthew Marlow 8530ffb7e3
added brave browser to supported NM list (#1862)
* added brave browser to supported NM list

* updated CHANGELOG.md
2020-08-15 10:14:59 +02:00
fourtf b2dab3cf21 xd 2020-08-13 20:59:57 +02:00
fourtf bbcbad23a1 keybindings page in settings now scrolls 2020-08-13 20:48:47 +02:00
fourtf 46361ea859 some more stuff 2020-08-13 20:20:24 +02:00
fourtf a566a74ef0 removed some more pointers 2020-08-13 20:10:52 +02:00
fourtf c83fc043e0 replaced raw pointers with unique_ptr 2020-08-13 20:05:54 +02:00
Leon Richardt a9080ceb3c
Discord-like Quick Switcher (#1588)
* Proof of Concept for Quick Switcher

* Fix crash when suggestions are empty

* QuickSwitcher: Use tab name instead of a single channel

* Rebase later

* Add missing include for <functional>

* Move QuickSwitcher related classes into own subfolder

* Refactor switcher list items

Now, items are responsible for taking the right action when selected in
the switcher list. This should allow for more focused code and
responsibilities.

* Add note about memory management

* Add option to open channel in a new tab

* Add support for using the mouse

* Spawn switcher popup in the middle of the window

Works reliably on i3 at least. Might need some additional testing on
other WMs (and especially on Windows!).

* Add some icons for switcher items

Note that the final design of the list is not final but I do plan to
incorporate these in the future.

* Set Qt::Dialog window flag on switcher popup

Prevents tiling window managers like i3 from trying to tile the window.

* Rename "SwitcherItem" to "AbstractSwitcherItem"

* Add comments about what items are inserted

* Use custom model and view

Still missing: Currently selected item is not highlighted yet. You can
move between selected items with tab and arrow keys though.

* Add helper function to convert QVariant to AbstractSwitcherItem *

* Remove useless constant

* Highlight currently selected switcher item

* Use a different method for centering QuickSwitcherPopup window

* QuickSwitcherModel: Add documentation

* Add default parameter to QuickSwitcherModel::rowCount

* QuickSwitcherPopup: Add comments

* Remove outdated TODO

* QuickSwitcherModel: Init vector with default capacity

* Remove outdated comment

* Add comment about 0 ms timeout interval

* NewTabItem: Simplify interface

* Only fetch opened splits once

This is better than the prior approach since opened splits cannot change
anyways while the switcher is open.

* Use SplitContainer to pass information instead of custom type

* Allow searching for tab titles as well

Before this commit, only channel names could be searched.

* Refactor switcher item interface to be more flexible

Also show tab name and channel name in the switcher list.

* Add documentation for AbstractSwitcherItem

* Add documentation for NewTabItem

* Add comments about {begin,end}{Insert,Remove}Rows

* Remove unused method

* Replace magic size with named constant

* Add change log entry

Co-authored-by: fourtf <tf.four@gmail.com>
2020-08-13 19:25:51 +02:00
fourtf ce57ad9b0d fixed typo 2020-08-13 19:13:06 +02:00
fourtf 215e8b7b71 centered split header tooltip 2020-08-13 19:00:56 +02:00
fourtf 1d1fd4d7c0 reordered settings 2020-08-13 18:56:40 +02:00
fourtf adbe92bd60 NetworkRequests now executes error callback on gui thread 2020-08-13 18:15:40 +02:00
fourtf b1d9b55bf7 named UI Scale -> Zoom 2020-08-13 18:03:08 +02:00
fourtf 2c74e98023 edited split dropdown 2020-08-13 18:02:23 +02:00
fourtf 8661c83312 updated descriptions in notification settings 2020-08-13 17:36:45 +02:00
fourtf 6f4f66b9d0 use different window frame for user popup based on the setting 2020-08-13 17:17:53 +02:00
fourtf b2ae2e598f moved cache and appdata settings up 2020-08-13 16:59:42 +02:00
fourtf a50e95d9f8 changes to settings 2020-08-13 15:55:42 +02:00
Daniel 0e6ca6b097
Vertical tabs (#1815)
* Vertical tabs

* Vertical tab wrapping

* Fix formatting

* Cleanup code

* Updated changelog

* Hide button row if no buttons exist

* Fix tab width expansion

Co-authored-by: fourtf <tf.four@gmail.com>
2020-08-13 15:43:08 +02:00
Karar Al-Remahy b52d15b9b4
fix: Crash on MS Edge browser ext connection (#1852) 2020-08-13 14:53:36 +02:00
Jonas Schmitt 58725efbd5
Fix styling of channel point reward message text. (#1845)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-08-09 11:50:53 +02:00
Jonas Schmitt 11b8948290
Add support for non-highlight channel point rewards (#1809) 2020-08-08 15:37:22 +02:00
alazymeme 1bd3d10eef
Add an "Open in browser" option to whisper split (#1828) 2020-08-08 15:17:51 +02:00
mmb L 208f9b093c
Added setting to auto close user popup (#1833)
* Set autoclose as true by default to match stable version (2.1.7) behavior
2020-08-08 14:43:26 +02:00
Matthew Marlow e5f3bc9f3f
Improve Chatterino extension positioning (#1825)
This adds support for left-side chat
2020-08-01 15:42:56 +02:00
pajlada 214afc8fc2
Simplify Tooltip flags on Linux for Sway (#1824) 2020-07-25 15:00:12 +02:00
Matthew Marlow caa11dda3e
removed linebreak after wrapped TextElements (#1813) 2020-07-19 12:16:58 +02:00
pajlada 382dfbc2fa
[SearchPopup] CTRL+F now focuses the search input (#1812) 2020-07-18 17:52:12 +02:00
Rasmus Karlsson d25dee10b2 Keep last menu in memory
Might do something about #1790
2020-07-18 17:51:31 +02:00
Daniel ba06b10135
Open usercard on mention click (#1674) 2020-07-18 16:03:51 +02:00
pajlada 276f3e1d98
[SettingDialog] CTRL+F now selects the Find input (#1811)
* Sneakily make SettingsDialog constructor private at the same time 🕵
2020-07-18 15:56:33 +02:00
pajlada 6ba9c5ec31
Reset the lastMessageHasAlternateBackground{Reverse} values when clearing all messages in a ChannelView. (#1810)
This makes it so that we consistently start with the same values after
having cleared a ChannelView.
Example place where this happens: UserInfoPopup when user messages are
loaded and refreshed
2020-07-18 14:44:10 +02:00
pajlada ffdf5a144c
Handle conversion of historical CLEARCHAT messages to NOTICE messages in Chatterino instead of relying on the Recent Messages API to handle it for us (#1804)
This has historically been done in the Recent Messages API, but this functionality is being moved to Chatterino instead

* Remove `clearchatToNotice=true` query parameter to the Recent Messages API
2020-07-18 14:12:11 +02:00
fourtf e928cde2d5 removed debug log 2020-07-12 22:48:29 +02:00
fourtf 9739d8d9c3 hide user profile avatar if obs is running 2020-07-12 22:44:33 +02:00
pajlada 515657be19
Add proper IRC text/word wrapping (#1802)
Fixes #1781
2020-07-11 15:12:17 +02:00
Mm2PL c80cdc25b3
Adds support for \x0f formatting character in IRC. (#1794)
The \x0f character unsets the current foreground and background colors
as well as other formatting which is currently not interpreted by
Chatterino
2020-07-11 14:57:30 +02:00
Paweł 682caf6b69
Add support for more image uploader services (#1741)
The list of links that have been uploaded is now also stored in the json format instead of csv
2020-07-05 14:32:10 +02:00
Paweł b66c2478a0
Added higher tier information to sub badge tooltip (#1759) 2020-07-05 14:08:28 +02:00
mmb L 0b0fdb4ba2
Fix emote popup remember last position by moving setStayInScreenRect into EmotePopup constructor (#1752) 2020-07-05 14:07:03 +02:00
Paweł defc12c129
Added missing Keybinds to settings page (#1770)
Added:
- Zoom out/in
- reset zoom
- reopen last closed split
- select last tab
Also updated alt + arrows, so its a bit more readable
2020-07-05 14:05:39 +02:00
Paweł 208e7a68b7
Added account name to window title (#1771) 2020-07-05 14:04:39 +02:00
alazymeme 1277c72b02
Fix a spelling mistake in the settings dialog (#1786)
from "seperate" to "separate"
2020-07-05 13:55:32 +02:00
pajlada cdf85c5084
Message menu now holds a shared pointer to a layout (#1787)
This ensures that the layout will survive for the lifetime of the menu,
     so any of the menu actions can with confidence do things with the
     layout, not having to worry whether it's dead or not.

This means that the user, while having the message menu open, could have
one extra MessageLayout alive. I have ensured that when the menu dies
the reference to the shared pointer dies with it.
2020-07-05 13:52:24 +02:00
pajlada e4af009fda
[irc] Partially fix IRC colors (#1594)
Doesn't fix #1379 but it is a big step forward.

Needs some "real life" testing, but should be good.
2020-07-04 15:15:59 +02:00
Mm2PL 0f9a612c55
Move over wiki documentation to repo in Markdown format (#1760)
* Change in-client regex help link to point to the github repository
2020-07-04 13:40:13 +02:00
Daniel de2108b8c5
Fix highlighted whisper crash (#1756) (#1757) 2020-06-27 13:20:21 +02:00
Paweł 205d658f80
Fixed /usercard on linux (#1755)
- /usercard command doesn't close imidiatelly
- removed "Dialog" window flag. It seems to be unnecessary and causes issues (on left-clicking user name it sometimes didnt render unless you clicked 2-3 times.
2020-06-27 12:58:44 +02:00
Mm2PL ddd4a54e0e
Add missing tab completion for commands (#1754)
adds completion for /usercard, /follow, /unfollow, /ignore, /unignore
2020-06-27 11:30:05 +02:00
0xRainy 0e564065ba
Added recent messages to UserInfoPopup (#1729)
There's a Refresh button added to the popup to refresh the users messages in the popup. Not automatic now while we figure out how fast/slow it would be.

Co-authored-by: dnsge <sagedanielr@gmail.com>
2020-06-21 14:15:14 +02:00
Paweł c5f6fd7568
made --version output consistent with AboutPage (#1739)
When using "chatterino --version" it now also outputs commit and date of build (if on nightly), just like in Settings -> About
2020-06-16 03:30:35 -04:00
Paweł 5e0ac814cf
Removed help tooltip for splits (#1728) 2020-06-14 12:39:17 +02:00
Rasmus Karlsson 666b577bd5 Close UserInfoPopup when Escape is pressed 2020-06-14 12:26:50 +02:00
Rasmus Karlsson dad9677bba BaseWindow: Make sure windowTopMost signal is attached to our list of managed connections 2020-06-14 12:26:23 +02:00
23rd 78dab081d8
Added missed line break to header with empty thumbnail. (#1705) 2020-06-14 11:51:54 +02:00
Paweł a2f2cac3fd
Added logging for uploaded images (#1712)
A list of uploaded images are stored under the message logs directory as a csv file
2020-06-13 14:53:09 +02:00
Roger Chavez 1eeb09a78e
Display authors name on hover for supported emotes (FFZ only for now) (#1721)
Co-authored-by: Paweł <44851575+zneix@users.noreply.github.com>
2020-06-13 14:15:22 +02:00
alazymeme f3f8b2d024
Fix popout player url (#1730)
* Update TwitchChannel.cpp

* Reformatting forsenY

* fixed other things

* xd

* Update TwitchChannel.cpp
2020-06-12 19:44:05 +02:00
alazymeme 39cc421f95
Improve web extension position (#1717) 2020-06-07 11:33:45 +02:00
Paweł 50d669a1af
Added possibility to change image uploader's form body with Enviroment Variables (#1709) 2020-05-30 12:30:30 +02:00
Daniel ccdbedb93c
Fix "Always on top" setting for MacOS and Linux (#1708)
Closes #1166
2020-05-30 11:32:25 +02:00
apa420 6d5ba0c442
Show thumbnails for live streams inside of the split header tooltip (#1702)
This feature is enabled by default and can be disabled in the Settings dialog with the "Show stream thumbnail" setting
2020-05-24 11:57:15 +02:00
Daniel Pasch a230bc7c89
improve tooltips by only positioning the element once we know it's in… (#1693)
Things like tooltips now only sets its position once. The position used to be set twice and could cause some annoying flickering.
2020-05-24 11:51:16 +02:00
thekalio 56d09ac198
Show visual feedback when BTTV and FFZ emotes are loaded (#1671)
Upon joining a channel or pressing F5, BTTV and FFZ emotes are
(re)loaded. This change adds visual feedback of the network requests and
their outcome, in the form of a system message in the associated
channel's chat window. 

Non-error messages are suppressed when joining a
channel (which automatically loads emotes).
2020-05-16 12:43:44 +02:00
Daniel Pasch dd5455d1cf
Improve window "move within desktop rectangle" code (#1685)
This is used by tooltips to make sure they're always visible

Behaviour changed to stick to screen instead and flip up if no space left below cursor
2020-05-16 12:16:17 +02:00
Daniel 680b500993
Fix update checker not working on macOS (#1642)
* Prevent update dialog from going off screen

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-05-10 13:13:47 +02:00
Daniel Pasch c5a7205d12
move pause-icon to the left and increase size and visibility (#1660) 2020-05-10 12:55:13 +02:00
Daniel Pasch be6ef6dcd5
open twitch usercard on middle mouse (#1669)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-05-10 12:45:19 +02:00
Daniel Pasch 8532c6d3bc
Add thumbnails to link tooltips if available (#1664)
This feature is off by default and can be enabled in the settings with the "Show link thumbnail" setting. This feature also requires the "Show link info when hovering" setting to be enabled.

thumbnails support is only there for direct image links, twitch clips, and youtube links. can be expanded in the future in the /api repo

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-05-10 12:11:10 +02:00
apa420 1a4a468ab1
Set the application name, version, and domain (#1680)
This helps window and desktop managers figure out what to do with Chatterino
2020-05-10 10:54:55 +02:00
pajlada 001dce5da1
Create uploader to i.nuuls.com (#1332)
This commit adds support for uploading images to i.nuuls.com from clipboard or by dragging an image into a split.

Documentation for how to self-host the image uploader is available in ENV.md

By default, you will be asked before an image upload takes place. There's an option in the dialog to not be asked again, if that option is chosen you can revert that choice in the settings dialog.
2020-05-09 07:34:27 -04:00
Mm2PL 2b1c9794b7
Add confirmation box for uploads. 2020-05-09 13:14:41 +02:00
pajlada a08754b409
Remove more debug output (#1677) 2020-05-09 13:13:30 +02:00
SLCH 14783d52a7
fix typo (#1675) 2020-05-07 00:21:08 +02:00
pajlada ef9c631c65
Only listen to new pubsub "moderator added" syntax (#1659) 2020-05-03 12:21:00 +02:00
Daniel Pasch 7719816891
Middle mouse button can now also open links (#1644) 2020-05-02 13:19:58 +02:00
pajlada b4eb56f362
Remove "Online Logs" functionality (#1649)
The /logs command will direct users to the /user command instead

Changelog has been updated to reflect this change
2020-05-02 12:18:35 +02:00
Mm2PL 84007d2edb Merge remote-tracking branch 'main_repo/master' into git_is_pepega
check if works with new changes from master
2020-04-29 00:42:12 +02:00
fourtf 370e6dc61b fixed scrollbar thumb not moving 2020-04-21 20:57:16 +02:00
fourtf 354ad6a362 Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-04-19 21:06:06 +02:00
fourtf 6052846bc3 added checks to mitigate floating point crashes 2020-04-19 21:05:40 +02:00
pajlada 3091842ddc
Clarified that Redeemed Highlights are from Channel Points, not Bits (#1635) 2020-04-19 12:18:28 +02:00
fourtf 6b512d1052 Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-04-18 20:06:15 +02:00
fourtf 120f73db13 added additional checkbox for highlighted bits messages, fixes #1637 2020-04-18 20:05:05 +02:00
Mm2PL 3d1950b32e Merge remote-tracking branch 'main_repo/master' into git_is_pepega 2020-04-18 13:39:01 +02:00
Leon Richardt b4a2ced180
Scroll Using Click-and-Drag with Middle Mouse Button (#1559)
* ChannelView: Rename mouse event related members

This is more in line with the naming of the other members as well as
future members.

* ChannelView: Add ability to scroll with middle mouse button

* Add scrolling resources

* Use custom icons for scroll cursor

* Slightly refactor scrolling logic

* Respect screen scaling when calculating scroll offset

* Nicer scrolling UX

This change allows scrolling to be feel smoother when close to the
starting point.

* Add scrolling with keeping middle mouse pressed

This mimics the behavior of browsers as well.

* Refactor ChannelView::enableScrolling

* Disable drag-scrolling on left or right click
2020-04-18 11:09:22 +02:00
mmb L 2076715e23
prevent moveTo from changing popup position on every launch (#1630) 2020-04-18 10:59:27 +02:00
fourtf beda9e555f fixed scrollbar meme 2020-04-15 23:25:57 +02:00
fourtf 097f4ccb3a refined highlight and added bits highlights 2020-04-15 23:15:45 +02:00
mmb L ebfcb49e8c
Make emote popup remember last position (#1580)
* Use existing moveTo to ensure window stay within desktop geometry
2020-04-13 13:15:51 +02:00
pajlada 6f926e7d77
Get better timeout messages for self (#1629)
* Don't require mod rights to listen to moderation actions topic

* Format timeout messages directed at you differently

e.g. "You were banned" or "You were timed out for 4h20m", also including
reason if specified.
2020-04-13 12:31:06 +02:00
apa420 2ac0b60952
option to hide viewer count and duration of the stream when you hover on the split (#1626)
Fixes #1621
2020-04-13 12:24:27 +02:00
apa420 3138efba25
Fixes #1620 (#1627)
Fixes #1620
2020-04-11 12:13:38 +02:00
23rd f489d23a8d
Added ability to open stream in external video player via URI scheme. (#1623) 2020-04-11 11:43:35 +02:00
Rasmus Karlsson 5afb2800c9 Make the "user info popup" crash less likely (hack v2) 2020-04-05 13:00:16 +02:00
apa420 3a05700744
Changed text to moderator (#1619) 2020-04-05 12:34:16 +02:00
Mm2PL 8f076d8075
Internal changes
Add missing `static` and `const`
2020-03-29 13:47:52 +02:00
Mm2PL 175e41c586
Bring back seconds in timestamps (#1616)
Fixes #1605
2020-03-29 13:06:44 +02:00
Mm2PL d1d17d4e4b
Add new zero-width emotes from BTTV (#1613)
New zero-width emotes are cvMask and cvHazmat

Fixes #1612
2020-03-27 21:23:32 +01:00
Leon Richardt 95c909b337
Better Highlights: Fix Wrong Color for Migrated Phrases (#1568)
* Better Highlights: Fix wrong color for migrated phrases

Prior to this commit, no default color was set when an "old" highlight
phrase (one added prior to #1320 / 5957551) was deserialized. This
commit makes highlight phrases uses the default self-highlight color for
these situations. This approach is reasonably sensible since that color
is also similar to the old highlight color.

Fixes #1565.

* Update default self-highlight color

The new default color was suggested in [1] by @RAnders00. Refer to the
link for further information.

[1]: https://github.com/Chatterino/chatterino2/issues/1565#issuecomment-590441625

* Theme: Remove highlight color

As highlight color is independent of the selected theme now, the member
has been removed from the `Theme` singleton. Instead, the fallback theme
color is defined in `HighlightPhrase` now.

Uses of `themes->messages.backgrounds.highlighted` have been replaced
with `HighlightPhrase::FALLBACK_COLOR` accordingly.

* Update src/controllers/highlights/HighlightPhrase.hpp

attempt to just remove constexpr

Co-Authored-By: Ruben Anders <ruben.anders@robotty.de>

* Initialize FALLBACK_COLOR outside header file

* Rename FALLBACK_COLOR to FALLBACK_HIGHLIGHT_COLOR

In preparation for the next commit introducing a new variable.

* Moved subscription highlight color into HighlightPhrase

* Use actual subscription color as a fallback

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Ruben Anders <ruben.anders@robotty.de>
2020-03-22 13:14:07 +01:00
pajlada 15cf8bfcfa
Don't set game to game id, always wait for the game name to be resolved (#1609)
Fixes #1606
2020-03-22 11:22:36 +01:00
Leon Richardt 17aa3f71cd
Remove Debug Output In Many Different Places (#1607)
* Application.cpp: Remove whisper debug output

* TwitchAccount.cpp: Remove AutoMod debug output

* BaseWindow.cpp: Remove mouse tracking debug output

* RunGui.cpp: Remove debug output for cleared cache items

* Notebook.cpp: Remove debug output for selected widgets

* LimitedQueue.hpp: Remove commented debug output

* IrcMessageHandler.cpp: Remove debug output when receiving whispers

* UserInfoPopup.cpp: Remove user name debug output

* ChannelView.cpp: Remove debug output when clicking a message

* Image.cpp: Remove commented debug output

* AttachedWindow.cpp: Remove commented debug output

* SplitOverlay.cpp: Remove commented debug output

* TwitchMessageBuilder.cpp: Remove debug output for highlights

* TwitchMessageBuilder.cpp: Remove debug output for blocked messages

* PubsubClient.cpp: Remove debug output on PubSub::listen

* PubsubClient.cpp: Remove debug output on PubSub::tryListen

* IncognitoBrowser.cpp: Remove debug output of browser command

* NativeMessaging.cpp: Remove debug output of message
2020-03-19 18:06:21 +01:00
pajlada 0f2355459d
Make ModBadgeElement a descendant of BadgeElement instead of EmoteElement (#1602)
this causes it to behave as it should, and not be scaled when emotes are
scaled. :)
2020-03-14 13:06:24 +01:00
pajlada 9a8b85e338
Twitch API: v5 to Helix migration (#1560)
There's a document in src/providers/twitch/api which describes how we interact with the Twitch API.
Keeping this up to date might be a healthy way for us to ensure we keep using the right APIs for the right job.
2020-03-14 12:13:57 +01:00
pajlada 20612a1381
Fix repeated signal connects on reconnect in irc server (#1576) 2020-03-01 06:05:08 -05:00
fourtf 26d3078def removed unused variables 2020-02-29 13:58:26 +01:00
mmb L 82354327e5
Add option for username tab completion only with an @ prefix (#1573)
* add an additional check for username completion without an @ prefix

* Changed setting name

* default userCompletionOnlyWithAt to false
2020-02-29 11:52:49 +01:00
fourtf 1e1a56bb87 fixed position of user icon head 2020-02-28 19:52:15 +01:00
fourtf 269d2ee67f improved user and settings icon 2020-02-28 19:48:04 +01:00
fourtf d83b597c75 removed unused function in SettingsDialog 2020-02-28 19:12:22 +01:00
fourtf b887f1c90e fix crash 2020-02-28 19:05:50 +01:00
fourtf ba5d842767 removed MutedChannelController 2020-02-28 19:04:25 +01:00
fourtf e537277fa8 did some more things and stuff 2020-02-23 23:07:28 +01:00
fourtf 5ad427bd61 moved some Settings from Application to Settings 2020-02-23 22:15:13 +01:00
fourtf f8a9850151 absorbed HighlightController into Application 2020-02-23 21:18:40 +01:00
fourtf d0a81f3fe7 refactored TaggedUsers and Ping 2020-02-23 20:34:00 +01:00
fourtf df91ea44c4 refactored ModeratinActions 2020-02-23 20:10:47 +01:00
fourtf 8ae9abb250 refactored IgnoredController 2020-02-23 20:01:35 +01:00
fourtf 89389608e9 removed compat class for SignalVector 2020-02-23 19:52:10 +01:00
fourtf 7e49371ba1 fixed formatting 2020-02-23 19:44:37 +01:00
fourtf 2ebe07bace removed compat functions in SignalVector 2020-02-23 19:44:13 +01:00
fourtf e2c493f369 removed compat aliases for SignalVector 2020-02-23 19:37:02 +01:00
fourtf 843e2ad994 refactored HighlightController 2020-02-23 19:31:43 +01:00
fourtf 4a5dc80bc6 some more refactoring 2020-02-23 17:45:59 +01:00
fourtf e1838154ff refactored SignalVector 2020-02-23 17:11:15 +01:00
pajlada 2b5c6ffe33
Remove chatroom code (#1561)
People who had chatrooms still open should notice no difference at all, since it will just try to join a channel with the chatroom name.

Documentation for the closing/deprecation of twitch chat rooms:
    https://discuss.dev.twitch.tv/t/rooms-are-closing-how-it-affects-the-api-and-irc/22996
    https://dev.twitch.tv/docs/change-log (see 2020-01-10 entry)
2020-02-22 06:05:36 -05:00
fourtf 03cf6e81ff fixed spaces and margins in general settings 2020-02-21 03:01:48 +01:00
fourtf 5a2633ef5c fixed bug 2020-02-21 02:16:35 +01:00