Commit graph

3503 commits

Author SHA1 Message Date
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
fourtf
a2d21510ac
Update CHANGELOG.md 2020-02-21 02:13:31 +01:00
fourtf
927ee09221 reordered resize call 2020-02-21 02:07:34 +01:00
fourtf
70e5bd1bfd lazily initialize settings pages 2020-02-21 01:59:58 +01:00
fourtf
78ca0cb84f moved settings tab icons to SettingsDialog 2020-02-21 01:22:50 +01:00
fourtf
39d40d6db6 some settings refactorings 2020-02-21 01:17:22 +01:00
fourtf
fbbf34878f getSettingsPage -> page 2020-02-21 00:46:19 +01:00
fourtf
0bb112a3c2 improved performance of opening the settings dialog 2020-02-20 23:47:25 +01:00
fourtf
4a69095d5f fix 2020-02-20 23:43:54 +01:00
fourtf
d6c3c99605 list settings can be reordered now 2020-02-20 23:16:46 +01:00
fourtf
78532a01ec
Merge pull request #1558 from leon-richardt/fix-selectable-default-columns
Make pre-defined highlight columns unselectable
2020-02-20 19:55:57 +01:00
Leon Richardt
d0839ac36e
Make pre-defined highlight columns unselectable
Fixes #1539.
2020-02-20 00:10:10 +01:00
fourtf
6229b2f434 sync gif emotes of same length 2020-02-16 14:24:11 +01:00
pajlada
59296075e8
Fix the CI by downgrading install-qt-action version (#1554) 2020-02-15 12:04:05 -05:00
Rasmus Karlsson
7a08d73434 Fix preview on hover not working when Animated emotes options was disabled.
Fixes #1546

This change introduces a "window timer" that runs every 100ms that we
use to update the pixmap if necessary, since there is no signal for "let
me know when this image is done loading".
2020-02-15 17:16:10 +01:00
Rasmus Karlsson
64c58e724a Use same sorting method in emote popup as in the completion model
Fixes #1549
2020-02-15 15:52:42 +01:00
Rasmus Karlsson
b93de7c0f6 Add some debug output in our project file 2020-02-15 15:19:16 +01:00
Rasmus Karlsson
b5764c6a1f Remove stupid assert in PubSubClient
Fixes #1550
2020-02-15 14:49:22 +01:00
fourtf
14427fe5a9
Merge pull request #1544 from BigHeadGeorge/ctrl-end-resumes-scrolling
Control + End scrolls to the bottom of chat
2020-02-14 10:04:37 +01:00
tuckerrrrrrrrrrrr
3fd05849a2 ctrl + end scrolls to the bottom of chat 2020-02-10 17:00:33 -08:00
fourtf
da59232913 "Open in player in browser" -> "Open player in browser" 2020-02-10 17:49:45 +01:00
fourtf
59aa59106e updated R9K shortcut text 2020-02-10 17:26:51 +01:00
fourtf
d16732f023 moved and renamed similarity settings to R9K 2020-02-10 17:25:13 +01:00
Mm2PL
979bf5e74a
Add missing return 2020-02-10 16:55:59 +01:00
fourtf
0d519b479c changed wording in settings 2020-02-10 16:41:49 +01:00
Mm2PL
dc9acf1bf3
Sort imports 2020-02-09 11:15:39 +01:00
Mm2PL
d7a7df7427
Merge branch 'master' into git_is_pepega 2020-02-08 16:42:47 +01:00
Mm2PL
a929053c4b
Dropping images now works on the whole split :) 2020-02-08 16:41:01 +01:00
Mm2PL
d53bfbfdf2
Fixes and more changes Pajlada requested :)
- get rid of `getImageFileFormat`, now uses QMimeDatabase
 - now uses a `QMutex` to be thread safe,
 - uploading two things at the same time is now impossible
2020-02-08 16:26:32 +01:00
Mm2PL
553e8f2f7b
Delete useless else block 2020-02-08 15:47:27 +01:00
Mm2PL
916fbb2551
Fix a couple things Pajlada pointed out :)
Change `CHATTERINO2_IMAGE_PASTE_SITE_URL` to `CHATTERINO2_IMAGE_UPLOADER_URL`
Remove newline at the end of `docs/ENV.md`
2020-02-08 15:44:03 +01:00
Leon Richardt
b8953157cc
Better Highlights: Rework highlight parsing order (#1524)
This commit is in response to #1523.

Whispers are now only added to the `/mentions` tab if they also match a
user name or phrase highlight. On a related note, the `highlightVisual_`
member has been removed as it is no longer necessary.
2020-02-02 08:33:25 -05:00
hemirt
1fd64be7f5
Makes it possible to hide one man spam (#1496) 2020-02-02 08:31:37 -05:00
Leon Richardt
497ce2d2f2 Better Highlights: Fix Unintentional Color Update (#1522)
* HighlightPhrase: Fix wrong documentation

* Use right constructor for new HighlightPhrases

* Fix preset highlights changing unintentionally

Prior to this commit, the callback for reacting to user input on the
highlight table (namely, `HighlightingPage::tableCellClicked`) only
checked for the row number in order to determine whether preset
highlights (self highlights, whispers, and subscriptions) need to be
updated. Hence, changing rows 0 through 2 in the "User Highlights" tab
would also update the preset highlights.

This commit adds a check to determine whether the callback was triggered
by the "Messages" highlight tab, or not.
2020-01-27 00:16:09 +01:00
Mm2PL
bfee75ec58 Show the toggle mod mode button when mod buttons are enabled. (#1518)
* Fix #1288

Show the toggle mod mode button when mod buttons are enabled.

* Automatic formatting ain't good enough i guess.
2020-01-26 10:10:40 +01:00
Leon Richardt
93a6c55ed3 Fix subscription messages triggering split highlights (#1519)
Since #1320, subscription messages are treated as highlights in order to
allow customization. This caused subscription messages to highlight the
split(s) the message was received in. This is not intended behavior.

This commit fixes the issue by additionally checking if the
`Subscription` flag is set on a highlighted message.
2020-01-26 10:08:25 +01:00
pajlada
a078d116d2
Fix ping payload not breaking portable mode (#1516)
This payload was initialized before main was called, so before the
QApplication was initialized. This broke our portable checker

Fixes #1481
2020-01-25 14:33:38 +01:00
apa420
4b1202437b Sort emotes alphabetically in emote picker (#1499) 2020-01-25 13:05:59 +01:00
Mm2PL
410de82261 Make a command that shows the Chatterino user card (/usercard) (#1375)
* Make UserInfoPopup be able to show that fetching the information failed.
2020-01-25 12:59:31 +01:00
Rasmus Karlsson
71337c4dbe Add missing include in ColorPickerDialog.hpp for MSVC2017 2020-01-25 11:28:10 +01:00
Leon Richardt
5957551d06 Better Highlights (#1320)
* Support for user-defined sounds and colors

* Make color & sound columns selectable

* Add custom row for subscription highlights

* Add subscriptions to custom highlights and centrally manage highlight colors

* Dynamically update message highlight colors
2020-01-25 11:03:10 +01:00
Alexey Kutepov
00414eb779 Synchronize Clipboard with Primary Selection on Linux when copying (#1502)
* Introduce crossPlatformCopy()

It sets the text of the clipboard and also syncs it with the selection
clipboard if it is supported. Such behaviour is pretty common for X11
application on Unix-like Operating Systems.

* Fix clang-format remarks

* Fix weird clang-format config discrepancy between my machine and CI

* Remove clipboard argument from crossPlatformCopy

* Fix clang-format remarks
2020-01-24 21:36:51 +01:00