Commit graph

3036 commits

Author SHA1 Message Date
Brian fd87cbb626
Strip leading @ from usernames in the /block and /unblock commands (#3816)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-06-18 11:18:51 +00:00
Daniel Sage 81caf1aae0
Rewrite & optimize LimitedQueue (#3798)
* Use circular buffer for LimitedQueue

* Reduce copying of snapshot

* Small optimizations

* Remove unneeded lock statements

* Add LimitedQueue tests

* Fix includes for limited queue benchmark

* Update CHANGELOG.md

* Use correct boost version iterators

* Use a shared_mutex to clarify reads and writes

* Update `find`/`rfind` to return the result as a boost::optional

* Use `[[nodiscard]]` where applicable

* Update comments

* Add a couple more doc comments

* Replace size with get

get is a safe (locked & checked) version of at

* Use std::vector in LimitedQueueSnapshot

* Update LimitedQueue benchmarks

* Add mutex guard to buffer accessors

We do not know whether T is an atomic type or not
so we can't safely say that we can copy the value
at a certain address of the buffer.

See https://stackoverflow.com/a/2252478

* Update doc comments, add first/last getters

* Make limit_ const

* Omit `else` if the if-case always returns

* Title case category comments

* Remove `at`

* Fix `get` comment

* Privatize/comment/lock property accessors

 - `limit` is now private
 - `space` is now private
 - `full` has been removed
 - `empty` now locks

* Remove `front` function

* Remove `back` method

* Add comment to `first`

* Add comment to `last`

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-06-18 10:44:48 +00:00
Kasia f3f340335f
Make generic version of batcher function (#3822) 2022-06-17 20:52:20 +02:00
pajlada a83c139154
Fix crash that can occur when changing channels (#3799)
The signal that handled the splitinput completer never disconnected, so
if it closed it would access bad memory
2022-06-14 13:46:52 +00:00
Kasia 683701623a
Added interface for highlights to Application (#3808) 2022-06-09 14:37:52 +00:00
pajlada 9219647b6a
Fix highlights not showing in mentions (#3801) 2022-06-06 15:36:53 +02:00
matt d29243a2a5
Removed total views from the usercard (#3792) 2022-06-05 20:51:18 +00:00
pajlada 7ccf60111d
Overhaul highlight system (#3399)
Checks have been moved into a Controller allowing for easier tests.
2022-06-05 15:40:57 +00:00
pajlada 6c38d3ecab
Add the ability to skip generation of git and date data (#3800)
This can be done by setting the `CHATTERINO_SKIP_DATE_GEN` and `CHATTERINO_SKIP_GIT_GEN` environment variables
2022-06-05 14:44:20 +00:00
Kasia a7939b727f
Organized version information (#3781)
added new `GIT_MODIFIED` variable - used to determine whether the vcs tree was compiled or not at the time of building the app
added information about running in DEBUG mode which might be very helpful to determine whether one is running a DEBUG build, e.g. in the process of troubleshooting/determining crash causes

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-06-04 19:00:42 +00:00
Kasia 5de4e9d9cc
Corrected determination of search popup's title (#3790) 2022-06-01 12:41:16 +00:00
pajlada e9e3e5a25a
Use setPlainText when finishing a completion (#3785) 2022-05-30 11:09:38 +00:00
Kasia 765a17d374
Simplify code for fake debug messages (#3775) 2022-05-29 12:53:22 +00:00
Mm2PL c8f5d35042
Added mod button-like placeholders in right click commands (#3765)
Implemented input.text to return altText when it makes no sense to contain data

Co-authored-by: Kasia <zneix@zneix.eu>
2022-05-29 12:23:29 +00:00
Kasia 0ad66c0af4
Optimize formatTime utility (#3777)
Adds benchmarks and unit tests for the function

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-29 11:54:42 +00:00
kornes 143f4ef2ec
Fix viewers list search when used before loading finishes (#3774)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-29 11:06:01 +00:00
Kasia 8b98f0e142
Removed unused files IsBigEndian.hpp and rangealgorithm.hpp (#3776)
util/IsBigEndian.hpp and util/rangealgorithm.hpp have been unused for a long time, removing them from the codebase because git keeps the history forever anyway!
2022-05-29 10:19:26 +00:00
Kasia 74ec310228
Fixed channels not being set as offline (#3767) 2022-05-28 18:10:10 +00:00
badoge 57f92f5eaa
Added more streaming software to streamer mode binaries list (#3740)
Streamer mode now automatically detects if XSplit, PRISM Live Studio, Twitch Studio, or vMix are running

Co-authored-by: Kasia <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-28 12:17:42 +00:00
kornes efcfb19187
Add safe checks around use of QImageReader (#3736)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-28 13:48:31 +02:00
badoge 135f914b38
Hide category labels when searching in Viewer list (#3719)
This fixed a bug introduced in #3683

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-28 11:11:51 +00:00
xel86 3e1e30e4c2
Add scrollbar to Select filters dialog (#3737)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-28 10:25:58 +00:00
Kasia 7d0023cf73
Corrected the way we parse comma-separated "list tags" in PRIVMSGs (#3771)
tl;dr: we now split by slash only its first occurrence instead of every occurrence.
2022-05-28 09:55:48 +00:00
James Upjohn 57783c7478
feat: add global channel search support (#3694)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-23 00:47:16 +00:00
Kasia e11677c62b
Added /copy command (#3763)
Copies the given arguments to clipboard
2022-05-22 22:42:52 +00:00
Sidd 21934b6aaf
perf: use constant time live channel lookup (#3762) 2022-05-22 19:21:02 +02:00
xel86 dc34c16dbe
Batch checking live status for all channels after startup. (#3757) 2022-05-22 15:51:23 +00:00
xel86 4239666934
Feature: execute commands on chat messages using the context menu (#3738) 2022-05-22 14:45:54 +00:00
pajlada 35a7780564
Make an IApplication interface (#3758) 2022-05-22 13:00:18 +00:00
badoge bd3d2ed82a
Added /requests command. Usage: /requests [channel]. (#3746)
Opens the channel points requests queue for the provided channel or the current channel if no input is provided.

Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
2022-05-22 11:53:45 +00:00
qooq69 1b3aa343a3
Fix links with no thumbnail having previous link's thumbnail (#3720)
Co-authored-by: zneix <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-22 11:16:16 +00:00
pajlada 6bb96f128b
Make Helix an interface (#3756) 2022-05-22 10:11:33 +00:00
Auro 28efd29dfa
Removed unused refreshButton pointer (#3744)
Follow-up to #1982
2022-05-17 10:44:57 +00:00
LosFarmosCTL 0605dabf31
fix: compilation on macOS without precompiled headers (#3741)
Co-authored-by: zneix <zneix@zneix.eu>
2022-05-17 10:16:33 +00:00
Kasia 137269e91b
Fix QString::SkipEmptyParts for real this time (#3747)
Follow-up to #3726
2022-05-17 09:33:27 +00:00
Kasia 98f8e0186d
Remove unused Env member for emoteset resolver url (#3743) 2022-05-16 15:58:47 +00:00
kornes 3bf1756579
Fix: ignore whitespaces pasted in EmotePopup search (#3730)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-16 09:42:17 +00:00
Ian addcbb10f9
Add guide for building chatterino2 on Windows with vcpkg (#3634) 2022-05-15 15:57:31 +00:00
pajlada 3119a9bab3
Store serverReceivedTime in messages (#3735)
Co-authored-by: James Upjohn <jammehcow@jammehcow.co.nz>
2022-05-15 06:08:28 +00:00
xel86 1bf31889f9
Fixed viewer list not being closable with the escape key (#3734) 2022-05-14 11:44:18 +00:00
Kasia 46a5c9509e
Fix Qt::SkipEmptyParts deprecation warning (#3726)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-14 10:11:39 +00:00
Kasia 5ba3ef721f
Added /debug-env command (#3727) 2022-05-13 21:59:03 +02:00
Kasia 0c6358a2af
Add missing QDebug header (#3725)
* Fix apparent missing header

* I had format on save turned off
2022-05-13 10:45:42 +00:00
Kasia efbf03d05b
Add missing vector header (#3724)
This fixes compilation under GCC 12.1.0
2022-05-11 22:36:57 +00:00
James Upjohn a5930f222a
Fix self-highlighting from resub messages (#3708)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-08 11:44:32 +00:00
Sidd 94f067ce62
fix: unlisten to automod on user change (#3718)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-08 10:56:40 +00:00
kornes 07dd8c560b
Prevent user from entering incorrect characters in Live Notifications channels list (#3715)
Co-authored-by: Sidd <iProdigy@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-08 10:27:25 +00:00
Sidd fd44f30c7d
fix: disable duplicate automod caught message handler (#3717) 2022-05-07 22:05:13 +02:00
pajlada 65301a3359
Fix automod crash (#3716) 2022-05-07 18:48:10 +00:00
nerix f97780d84e
Improve Twitch PubSub connection reliability (#3643)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 15:22:39 +00:00
pajlada 4aa5b04e37
Disable formatting on "contested lines" (#3714)
These lines are formatted differently between clang-format 10 (on CI) and clang-format 11+ (on most dev systems)
2022-05-07 14:57:26 +00:00
LosFarmosCTL 66b9b04401
fix: raise existing emote popups from behind other windows (macOS) (#3713)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-07 14:31:14 +00:00
Sidd b2ed4c0843
fix: parse irc tags with consecutive escapes (#3711)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 13:57:46 +00:00
badoge 846ffbb422
Sorted usernames in /vips message to be case-insensitive (#3696) 2022-04-30 12:02:40 +00:00
Mm2PL 00b463d298
Delete 'is live' messages from non-open channels (#3678)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-04-30 11:37:24 +00:00
badoge d85d9d4910
Add option to open a user's chat in a new tab from the usercard avatar context menu (#3625)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-04-30 10:29:14 +00:00
kornes b825493d6e
Fix incorrect spacing of settings icons at high DPI (#3698)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-04-30 10:04:45 +00:00
Auro 94e4cd2c1d
Added is:first-msg search option (#3700)
* added first-msg for flag predicate

* Update CHANGELOG.md

* Update changelog entry phrasing

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-04-30 11:23:48 +02:00
badoge 7246ab38c7
Add chatter count for each category in viewer list (#3683)
Co-authored-by: Kasia <zneix@zneix.eu>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-04-24 15:54:37 +00:00
kornes f170d31ab5
Add missing tooltip hide on ChannelView leave event (#3686) 2022-04-24 17:23:23 +02:00
kornes 0de4a2160a
Add missing parent pointer to few QMessageBox and QFontDialog (#3679)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-04-16 08:59:20 +00:00
hicupalot 200f364a47
Added hicupalot's avatar to the Contribution List (#3674) 2022-04-12 18:55:42 -04:00
Mm2PL 45e8d1d96e
Include user's operating system information in the About page (#3663)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-04-09 12:55:27 +00:00
Sidd c399d4dbe9
refactor(TwitchChannel): remove getGameById call (#3662)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-04-09 12:27:04 +00:00
nerix 0b9f62188c
fix: build user timeout/ban message in GUI thread (#3665)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-04-09 11:58:18 +00:00
James Upjohn 04c355f7e9
feat: use message's original channel name when usercard popout is opened (#3623)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-04-09 11:27:21 +00:00
Sidd 3afdb3367f
Add iProdigy to contributors list (#3661) 2022-04-08 03:56:20 +00:00
sando a53f8d32e1
Adjust large stream thumbnail to 16:9 (#3655)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-04-07 22:34:52 +00:00
hicupalot bfb024b1e7
Added quotation marks in the permitted/blocked Automod messages (#3654)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-04-07 08:15:41 -04:00
Sidd 870aa74427
Use login name for NotificationController lookup (#3648)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-04-06 21:10:22 +00:00
fourtf 81a62764c8
2.3.5 2022-04-05 14:11:02 +02:00
James Upjohn f76306c6fa
fix: re-add missing Twitch emote reload message (#3645)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-04-05 10:01:18 +02:00
Mm2PL 28fa6b8f5c
Add tab-completion for the /announce Twitch command (#3642)
https://blog.twitch.tv/en/2022/03/31/raise-your-swords-for-mod-appreciation-day/
2022-04-01 22:14:42 +00:00
Mm2PL 832e34186b
Fix announcement rendering (#3639)
* Fix announcement rendering

* Changelog

* Add test message to Window.cpp
2022-03-31 22:24:19 +00:00
Felanbird e41a2e8408
Add newline to dontSaveSettings error (#3635)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-03-31 11:35:52 +00:00
fourtf 3868fbc9d9
2.3.5-beta1 2022-03-27 22:31:09 +02:00
fourtf e8b0257397
2.3.5-beta 2022-03-27 22:18:04 +02:00
Mm2PL 29117a930e
Add an action to select the word under the cursor (#3633) 2022-03-27 13:33:44 +02:00
qooq69 3c46572c51
Added margin to emote search (#3543)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-03-26 13:46:22 +00:00
Infinitay 554313d645
Add the ability to lock NotebookTab layout (#3627)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-03-26 14:16:45 +01:00
Mm2PL baeec59a8a
Don't grab the keyboard in channel picker dialog (#3575) 2022-03-20 16:31:56 -04:00
James Upjohn 96e2d1f971
Fix empty game update not updating header (#3609)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-03-19 18:58:19 +00:00
James Upjohn 495f4b15f4
fix: double right/middle clicking usernames starts text selection mode (#3608)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-03-19 13:22:42 +00:00
James Upjohn 67c10fafc7
chore: replace usages of obsolete twitch struct with backing field (#3614)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-03-19 11:02:29 +00:00
nerix 4c275cb183
Update Emoji Data to v14.0 (#3612) 2022-03-19 11:30:01 +01:00
LosFarmosCTL 414313726e
Update PubSub client to use TLS v1.2 (#3599) 2022-03-12 11:50:41 +00:00
qooq69 5a89acbe82
Fixed SplitInput placeholder color (#3606) 2022-03-12 11:40:51 +01:00
Brian 980a3e1be4
Add brian6932 to contributors list (#3591) 2022-03-07 06:44:48 +00:00
Brian 45d96afc14
Added librewolf, icecat, and waterfox incognito support. (#3588)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-03-06 13:36:20 +01:00
qooq69 34aadbf7d8
Added /popup command to open currently focused split or supplied channel in a new window (#3529)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-03-05 10:54:09 +00:00
Paweł df70ca59e3
Purged kraken (#3578)
* Purged kraken code

* Remove kraken documentation

* Update Helix documentation

* Ran prettier

* Removed kraken files from qmake build file

* Remove now unnecessary .finally() callback
2022-02-28 14:59:10 +00:00
qooq69 82196e3e82
Added incremental search to channel search. (#3544)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-02-13 15:05:38 +00:00
Mm2PL ad8246647f
Add context menu option to open the user's channel from a usercard (#3486)
Co-authored-by: Paweł <zneix@zneix.eu>
2022-02-13 01:37:14 +00:00
Infinitay 5978ed8b1f
Show context menu anywhere in MessageLayout when applicable (#3566)
Co-authored-by: James Upjohn <jammehcow@jammehcow.co.nz>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-02-13 00:46:39 +00:00
pajlada fb9c3ad42b
Add tests to Twitch User/Channel name strip functions (#3568) 2022-02-12 15:06:47 +01:00
Mm2PL b2fa7b1d94
Make Tab Layout setting only accept predefined values (#3564)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-02-12 13:27:25 +01:00
LosFarmosCTL 092f66dc15
Fix crash when displaying a highlight inside of a sub message with sub message highlights turned off (#3556) 2022-02-12 11:57:33 +01:00
karl-police 5490ff5015
Add karl-police to contributors list (#3559)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-02-02 16:03:20 -05:00
pajlada 6ef8e482c3
Set window icon in the whole application instead of in BaseWindow (#3554)
This makes icon visible on Ubuntu 20.04 while using AppImage build (and possibly some other setups as well).
2022-01-30 16:08:02 +01:00
Mm2PL f4c82dfa59
Allow Hotkeys to execute moderation actions in usercards (#3483)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-29 16:54:57 +00:00
Mm2PL ddbeb356a5
Fixed automod and unban messages showing when moderation actions were disabled (#3548) 2022-01-28 22:30:32 +00:00
qooq69 e2eb73d817
Disabled /popout and /streamlink from working in non-twitch channels (e.g. /whispers) when supplied no arguments (#3541)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-23 13:24:49 +00:00
pajlada 4e422b3bed
Fix /streamlink command usage message (#3536) 2022-01-22 20:07:19 +00:00
LosFarmosCTL b5b395f975
Colorize entire split input header instead of just the channel name (#3379)
Co-authored-by: Paweł <zneix@zneix.eu>
2022-01-22 16:23:02 +01:00
Mm2PL 6f7c3c8d7e
Made emote search not crash in non-Twitch channels. (#3527) 2022-01-22 14:05:01 +01:00
Infinitay 1d272c399b
Added ability to copy message ID with Shift + Right Click (#3481)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-16 13:35:00 +00:00
qooq69 687adf6b4e
Usercards no longer close when the originating window (e.g. a search popup) is closed (#3518)
Fixed being unable to open a usercard from inside a usercard while "Automatically close user popup when it loses focus" was enabled

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-16 12:31:24 +00:00
Patrick Geneva 201cd67e41
Larger user card drag area (#3508)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-01-16 12:31:48 +01:00
Patrick Geneva e742860af7
Make animated image playback speed match browser (Firefox and Chrome) behaviour (#3506)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Paweł <zneix@zneix.eu>
2022-01-15 19:23:08 +00:00
karl-police 499d06fcd1
Remove first timestamp from genereated AutoMod queue messages (#3503)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-15 17:49:28 +00:00
Paweł 9069dee4fb
Show feedback upon opening a channel in streamlink in more places (#3510)
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
2022-01-15 18:20:06 +01:00
qooq69 d2fffdaceb
Add feedback to incorrect usage of the /w command and the /whispers split (#3477)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-15 11:50:03 +00:00
Paweł 700c9fc4f2
Don't crash upon right-clicking automod badge (#3496) 2022-01-14 02:44:13 +01:00
Mm2PL 820099821a
Implement workaround for combined emoji (#3469) 2022-01-11 00:18:02 +00:00
Mm2PL dfa3818a70
Attempted blind fix for hotkeys not saving. (#3473)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-08 13:06:32 +00:00
Leon Richardt 42002d80b7
fix: re-add build date to "About" page (#3464)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2022-01-07 17:25:57 +01:00
Felanbird 1ba747efb1
Add login to Context Menu ignoreList (#3471) 2022-01-06 09:12:09 +00:00
Paweł 34203dfa7c
Optimize logs folder size calculation (#3427) 2022-01-05 21:17:35 +00:00
Felanbird 4f01ea4ab6
Add signup to Context Menu ignoreList (#3468) 2022-01-05 12:50:49 +00:00
Mm2PL 79db02aa66
Removed ability to reload emotes really fast (#3450)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-01-03 11:02:55 +00:00
Mm2PL ac925d28eb
Add /fakemsg command (#3448)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-01-02 15:43:51 +00:00
Adam Davies 8e5468c316
Add search to emote popup (#3404)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-01-02 14:59:16 +00:00
pajlada 2b9e2bd1b0
Notebook::select now takes the optional parameter "focusPage". (#3446) 2022-01-02 15:00:19 +01:00
pajlada b031fc41ef
Fix debug hotkeys not showing up in debug builds (#3447) 2022-01-02 14:09:35 +01:00
Infinitay cbb6a9d568
Add subscriber and founder badge highlighting (#3445) 2022-01-02 13:30:53 +01:00
Mm2PL ea462f94e4
Check live status for all closed channels with notifications at once (#3442)
Use a single api call for fetching live status of fake channels; batch by 100s

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: zneix <zneix@zneix.eu>
2022-01-01 17:06:54 +00:00
pajlada c26fb01df5
Fixed crash that could occur when the user closes the Settings dialog (#3444) 2022-01-01 13:15:52 +00:00
Adam Davies f64047d5ea
Add clear button to settings search bar (#3403)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-12-26 14:05:14 +00:00
Paweł 1682f0fb36
Refactor Tab completion for Twitch commands (#3144)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-12-26 14:21:52 +01:00
Mm2PL 94f7f09e73
Fixed character counter changing fonts after going over the limit (#3422)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-12-25 23:43:03 +00:00
pajlada aa1c16d90d
Make mods, vips, joined/parted messages searchable (#3426) 2021-12-25 17:35:55 +00:00
pajlada 1662ced2c7
Fix IRC mentions not showing up in the /mentions split (#3400) 2021-12-25 15:22:52 +00:00
Paweł 45e4fc04ef
Sorted usernames in "Users joined/parted:" messages (#3421) 2021-12-25 15:04:35 +01:00
pajlada cd77d14485
Add link to Privacy Policy and Terms of Service under the Link Previews section (#3424) 2021-12-25 13:59:39 +00:00
pajlada 51ece94f58
Update Settings and Signals version (#3398)
Co-authored-by: zneix <zneix@zneix.eu>
2021-12-19 14:57:56 +00:00
Felanbird ac2bb40eef
Move '/live' logs to its own subDirectory (#3394)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-12-12 11:35:00 +00:00
LosFarmosCTL fd779387d5
Fix special chars in Windows usernames breaking the storage of commands.json (#3397) 2021-12-11 12:56:19 +01:00
Adam Davies 937e33a2fd
Fix zero-width emotes sometimes wrapping lines incorrectly (#3389)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-12-06 22:49:08 +00:00
pajlada b41df18933
Fixed a crash that could occur on certain Linux systems when toggling the Always on Top flag. (#3385)
* Get `isVisible` value *before* toggling AlwaysOnTop hint

* Add changelog entry
2021-12-05 13:38:21 +01:00
pajlada 2c695a9ac5
Fix IRC colors not being applied correctly to NOTICE messages (#3383)
* Normalize NOTICE message parsing for IRC

Fixes #1782

* Add changelog entry

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2021-12-04 16:05:57 +00:00
pajlada 568f65213d
Fix crash on missing parameters with IRC /kick command (#3382) 2021-12-04 15:37:53 +00:00
Rasmus Karlsson 3fcb6346f5 MessagePredicate: Add virtual destructor 2021-11-28 13:02:07 +01:00
Rasmus Karlsson 2075e88990 Tokenizer.cpp: Rename local variable in regex matching 2021-11-28 13:02:07 +01:00
mmb L 179527611e Rename local variable and remove unused local variable in IrcMessageBuild.cpp 2021-11-28 13:02:07 +01:00
mmb L ec966a1791 Remove local variables that are not referenced 2021-11-28 13:02:07 +01:00
mmb L 7d350adfeb Refactor DownloaderManager private member variable names 2021-11-28 13:02:07 +01:00
mmb L 7131f9ed36 Rename updateOnlineChatters() argument name and local variable 2021-11-28 13:02:07 +01:00
Felanbird 8116c30261
Add some commented First Message code for consistency (#3370) 2021-11-28 12:19:08 +01:00
pajlada bc847f1445
Fix IRC server messages not triggering sounds properly (#3368) 2021-11-27 14:35:13 +00:00
Mm2PL f0df2fcb28
Fix Split Input hotkeys not being available when input is hidden (#3362) 2021-11-27 13:47:31 +01:00
Mm2PL 703f3717e2
Add custom hotkeys. (#2340)
Co-authored-by: LosFarmosCTL <80157503+LosFarmosCTL@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-11-21 17:46:21 +00:00
Mm2PL b94e21a600
Make join and part messages have user links (#3358)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-20 13:53:05 +00:00
Auro 3a5c2b1d33
Middle click split header to open in browser (#3356)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-20 13:27:26 +00:00
Mm2PL b1e891b122
Fixed Chatterino attempting to send empty messages in IRC (#3355)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-20 12:21:42 +00:00
Mm2PL 56f2207d22
Show picked outcome in prediction badges. (#3357)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-20 11:52:27 +00:00
Felanbird f58f35292a
Fix comment typo (#3359) 2021-11-20 12:22:30 +01:00
Mm2PL 6ac15adf45
Add support for Emoji in IRC. (#3354) 2021-11-20 12:18:40 +01:00
Felanbird c19fd0d332
Add more ignored channels for context menu twitch links (#3352)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-11-14 12:21:17 +00:00
Mm2PL a68980878e
Make /delete errors a bit more verbose (#3350)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-11-13 12:34:04 +00:00
Mm2PL 1ca3dfde7f
Fixed splits losing filters when closing and reopening them (#3351)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-13 12:07:29 +00:00
Mm2PL 6b3a420e42
Fixed the first link being broken in /mods and /vips (#3349)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-13 11:11:18 +00:00
pajlada 85f6795f70
Refactor parts of SignalVectorModel (#3342) 2021-11-12 17:26:38 +01:00
pajlada bc0b7e4d99
Fix IRC actions not being colored properly (#3341) 2021-11-07 19:58:22 +00:00
pajlada 3c4331b8cb
Fix link parsing in IRC (#3334) 2021-11-07 13:55:43 +00:00
Mm2PL 7f4b73910a
Added support for opening channels from twitch.tv/popout links. (#3309)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-06 13:43:03 +00:00
1xelerate a40677f4cd
feat: Add copy button for both login & display name inside the user info popout (#3335)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-11-06 12:44:27 +00:00
James Upjohn 67eff75873
feat: add "clear cache" button to settings (#3277)
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-11-06 12:00:27 +00:00
Mm2PL fc4387014e
Allow for building without QtKeychain (#3318)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-31 19:45:23 +00:00
pajlada 4b903d7fcf
Fix the reconnection backoff accidentally resetting when thrown out of certain IRC servers (#3328) 2021-10-31 15:44:38 +01:00
Felanbird d7337ff69f
Add "drops" as an ignoredUsername for context menu twitch links (#3310) 2021-10-31 12:16:07 +01:00
Ryan 8b921ae663
Add 1xelerate to the contributors list (#3331)
* added underscore prefix to file names since they started with a number
2021-10-31 12:15:49 +01:00
Ryan b4be7a4b1f
Fix underlying text from disabled emotes not being colorized after using /me (#3333) 2021-10-31 11:37:06 +01:00
Infinitay b4b745024c
Clean up chat messages of special line characters prior to sending (#3312)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-30 12:49:41 +00:00
pajlada 076152630a
Add GitHub action to test builds with precompiled headers disabled (#3327) 2021-10-30 14:24:43 +02:00
Ryan e24dffa961
Fix 'First Message' scrollbar highlights not being disabled (#3325)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-30 13:24:38 +02:00
pajlada 8ead95b959
Flatten the scrollbar highlight iteration (#3326) 2021-10-30 10:54:43 +00:00
Mm2PL c33efab751
Add includes so Chatterino compiles without PCH (#3308) 2021-10-26 17:20:28 +02:00
apa420 4a90f10df9
Fixed Searching for subcategories (#3157)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-24 18:04:24 +02:00
Auro 696979e9a3
Add chatter count to viewer list popout (#3261)
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-24 17:27:18 +02:00
Mm2PL 5f7caebce0
Parse usernames out of /mods and /vips messages (#3187)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-10-24 13:28:43 +00:00
Tal Neoran 5112ec73b0
Fix zero-width emotes alignment with removeSpacesBetweenEmotes setting (#3249)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-10-24 12:30:28 +00:00
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