Commit graph

1797 commits

Author SHA1 Message Date
pajlada
8aa2d42ca9
Merge pull request #1045 from TranRed/patch-3
Added {message} parameter for moderation buttons
2019-05-01 22:35:07 +02:00
apa420
8d80eab649 Changed to ref for better performance 2019-05-01 22:28:46 +02:00
pajlada
216b21e0c3
Merge pull request #1049 from apa420/apa-pubsub-fix
Pubsub messages now go into the correct channel
2019-05-01 22:22:03 +02:00
Rasmus Karlsson
effe91badc clean up magic message suffix stuff 2019-05-01 22:10:51 +02:00
apa420
c60b717b98 Pubsub messages now go into the correct channel 2019-05-01 21:46:53 +02:00
TranRed
b33478d8c6 stored original message text in message 2019-05-01 16:43:52 +02:00
TranRed
bbf649bf70
Added {message} parameter for moderation buttons 2019-05-01 16:08:45 +02:00
TranRed
34f820be18 implemented fallback logic for corrupted window layout (#1039)
* fallback logic for corrupted window layout

1. before saving the window-layout a backup will created to avoid corruption due to crashes while saving

2. when starting chatterino and the window-layout file returns and empty window layout (due to corruptio) the backup will be read and the layout will be build from this data

* Update WindowManager.hpp

* used QSaveFile instead of crude custom implementation

* implemented suggested feedback from review

* proper method call

was tired and slightly drunk Kapp
2019-05-01 09:58:13 +02:00
pajlada
ad559f9d97
Merge pull request #1038 from hemirt/master
remove unprofessional (puke) inside comments
2019-04-29 20:59:16 +02:00
hemirt
e0e7d366d3 remove useless comment 2019-04-29 20:33:04 +02:00
hemirt
56956eea58 remove weeb hate 2019-04-28 23:23:04 +02:00
pajlada
77f57bcff2
Merge pull request #1012 from apa420/apa-deleted-messages
Added support for single deleted messages
2019-04-28 12:51:57 +02:00
apa420
ae0122e389 Added a message when an invalid /delete appears 2019-04-28 11:31:34 +02:00
apa420
3c1d264689 Added trashcan, replaced messageID var with this-message().id, removed pubsub stuff that didn't belong 2019-04-28 02:25:05 +02:00
23rd
53640a9097 Fixed display of text message in empty tabs for Retina screen. 2019-04-27 14:19:03 +03:00
tetyys
40b4c2fefc Change to new character to make duplicate message error bypass work again 2019-04-27 00:31:15 +03:00
pajlada
a5a0ad59b8
Merge pull request #1017 from TranRed/nightly
Opening streams from toast + quickfix highlights in light theme
2019-04-26 23:02:48 +02:00
Rasmus Karlsson
3113513290 remove stupid log message 2019-04-23 09:10:34 +02:00
TranRed
ac1957ff68 Quick fix for highlighting in light themes
set defaults for highlighting colors. Only use "hidden setting" when populated.
2019-04-22 18:32:58 +02:00
TranRed
ad38d0ca1c Added setting for opening streams from toast
Implemented #710

Added options for opening streams from clicking the toas notficiation: (according to options in splits)
- open in browser
- open player in browser
- open in streamlink (needs to be tested, but should in theory work, since I only use the already existing function)
- don't open the stream (in case someone wants to prevent opening streams "by accident")
2019-04-22 09:03:52 +02:00
apa420
4f79d6fc07 Added deleted messages, will also add the disabled tag to denied automod messages 2019-04-19 22:44:02 +02:00
fourtf
9be0d7d458 removed red stripes and connected tape cut visuals 2019-04-17 17:02:13 +02:00
pajlada
97faec15e0
Merge pull request #979 from hemirt/whispers
do not disable whispers on clears and timeouts
2019-04-16 15:06:42 +02:00
pajlada
d846b723c7
Merge pull request #983 from Ckath/savemoderation
Save chat moderation state in splits
2019-04-16 14:57:45 +02:00
pajlada
0737922915
Merge pull request #998 from apa420/apa-remove-moderated-messages
Option to hide moderated messages (timed out messages)
2019-04-16 14:38:20 +02:00
apa420
817c40d733 Added continue for readability and removed to hide moderated messages 2019-04-16 14:36:15 +02:00
pajlada
43504114b5
Merge pull request #994 from apa420/apa-after-x-lines
Made wording more consistent in generalpage
2019-04-16 14:33:01 +02:00
apa420
ac9106e2f5 Will now also remove the messages when the timeout occurs, it's a bad implementation of it though, should be better 2019-04-15 22:55:10 +02:00
pajlada
d7f0bcd80a
Merge pull request #977 from Cranken/master
Made links clickable in sent whispers.
2019-04-14 17:15:09 +02:00
pajlada
695d200d79
Merge pull request #1007 from pphop/pphop-show-ignored
Show ignored users messages anyway setting
2019-04-14 16:59:40 +02:00
pphop
e4d3e6de7f requested changes 2019-04-14 19:57:41 +05:00
pajlada
a1918144e4
Merge pull request #1002 from RAnders00/mod-action-channel-replacement
Mod action channel replacement
2019-04-14 16:50:41 +02:00
Rasmus Karlsson
de4bc02b66 Add ability to easily swap out the recent messages API with your own
Environment variable: CHATTERINO2_RECENT_MESSAGES_URL

For now, the API structure of the recent messages API is undocumented,
    but once it's released it will have some documentation that
    describes how to run it yourself, and it should be easy enough to
    just make your own API that fits
2019-04-13 19:23:11 +02:00
Rasmus Karlsson
8b3867fa7d Switch to v2 of RAnders00's recent-messages API, so we support showing
old sub messages and stuff
2019-04-13 19:14:58 +02:00
Rasmus Karlsson
a4cba22bcb reformat 2019-04-13 16:38:01 +02:00
Rasmus Karlsson
13475332fb Adds VIP rate limit support
Closes #875
2019-04-13 15:26:47 +02:00
pphop
320d74b287 implement show ignored users setting 2019-04-13 01:12:39 +05:00
pajlada
ef81029374
Merge pull request #1003 from Ckath/fixscale
stop emotes from being cut off (pajlada-dev)
2019-04-11 16:14:07 +02:00
Ruben Anders
00d4fbf9ed Add {channel} replacement 2019-04-11 12:21:11 +02:00
apa420
562bdae09f Option to hide moderated messages (timed out messages) 2019-04-10 15:32:18 +02:00
apa420
12600b553f Made wording more consistent in generalpage 2019-04-05 21:39:04 +02:00
ckath
a2fa1bad6b disable requests to resolve link info when its disabled 2019-04-04 12:06:19 +02:00
ckath
fac1a6d00c comply to style guies 2019-04-04 11:51:18 +02:00
ckath
b3af777382 add back settings for hiding buttons 2019-04-04 11:51:18 +02:00
Rasmus Karlsson
81a4bff131 Implement Randers00's recent-messages API (WIP) 2019-04-04 11:47:54 +02:00
ckath
66294ed99b add account switcher popup flag for linux 2019-04-04 11:41:12 +02:00
hemirt
da1b2f91d9 add broadcaster and vips to viewers list and chatters list (#991) 2019-04-04 11:30:50 +02:00
Ruben Anders
28967cb014 Add broadcaster + VIPs to tabbable users 2019-04-04 11:29:16 +02:00
ckath
9ca4befd9b Save chat moderation state in splits 2019-03-24 15:38:09 +01:00
ckath
b49c21a515 change comment to original so it doesnt cause a change 2019-03-23 23:55:11 +01:00
ckath
1c8373432c but dont fuck up the (dis/re)connected messages 2019-03-23 23:49:55 +01:00
hemirt
d6c5dd6d6c do not disable whispers on timeout
changed order to short-out the if clause when its not the correct user
of the message
2019-03-20 20:59:57 +01:00
hemirt
1a1d0f305c make whispers not disabled on clear 2019-03-20 20:53:24 +01:00
Cranken
497c958485 Made links clickable in sent whispers. 2019-03-13 15:26:55 +01:00
Rasmus Karlsson
777ac017df add vim bindings to split input movement 2019-03-02 09:37:43 +01:00
pajlada
3f41dfeff9
Merge pull request #965 from moe-ka/master
Fix for inline whispers being logged
2019-03-02 09:37:09 +01:00
pajlada
d739cb72d9
Merge pull request #966 from hemirt/master
Use ffz/bttv channel emotes for chatrooms
2019-03-02 09:31:29 +01:00
hemirt
3c01af9805 changes and fix displayname of 'is live' message 2019-03-01 21:18:32 +01:00
apa420
2948f3cc8b Added the broadcaster to the viewerlist close #967 2019-03-01 18:08:21 +01:00
hemirt
ec6b26cd23 fix log message 2019-02-28 19:26:32 +01:00
moe-ka
26592c082f check for none overriding flags 2019-02-28 05:08:46 +00:00
moe-ka
8516082191 fix lambda captures 2019-02-27 19:26:19 +00:00
moe-ka
3ddac8b12a More accurate name for flag (MessageFlag::DoNotLog), disable logging for
sent whispers.
2019-02-27 18:30:26 +00:00
moe-ka
89f3a3f3ea fixes #952 (replaced unused 'Notification' MessageFlag) 2019-02-27 15:14:25 +00:00
hemirt
aef5f6bfd7 add : character to chatrooms 2019-02-26 21:02:53 +01:00
hemirt
e1ed3553b5 chatroom emotes 2019-02-26 21:00:57 +01:00
hemirt
63b22ecf1d HistoricMessageAppearance
Merge branch 'master' of https://github.com/fourtf/chatterino2
2019-01-30 16:00:45 +01:00
pajlada
11a6345247
Merge pull request #935 from apa420/apa-red-timeoutmessages
Option to disable the red stripes on greyed out messages
2019-01-29 18:36:05 +01:00
apa420
bf57dff4bc
Formatting to clang standard 2019-01-29 18:34:03 +01:00
apa420
fa67cdb928
Grammar 2019-01-29 18:32:24 +01:00
apa420
88b1122369 added an option to disable the red stripes over timed out messages 2019-01-29 18:23:43 +01:00
hemirt
441f6189a1 Historic messages behaviour
"Crossed and Greyed" -> default (and is current default)
"Crossed" -> just crossed
"Greyed" -> just greyed
"No change" -> no change in appearance
2019-01-27 22:15:59 +01:00
pajlada
498fb3717e
Merge pull request #927 from fourtf/pajlada-unremove-wordflagslistener-cb
Unremove wordflagslistener
2019-01-25 22:59:06 +01:00
pajlada
e6d5ede483
Merge pull request #931 from apa420/apa-fixed-automod-names
If bold usernames was ticked it wouldn't show who the automod caught
2019-01-25 14:20:38 +01:00
apa420
ee0b115484 If bold usernames was ticked it wouldn't show who the automod caught 2019-01-25 14:19:09 +01:00
pajlada
7b51123dad
Merge pull request #929 from apa420/apa-move-turbo-badge
Moved turbo badge to vanity
2019-01-24 11:44:38 +01:00
Rasmus Karlsson
be881f17f4 fix scuffed switch 2019-01-23 18:07:36 +01:00
apa420
bb840da988 Moved turbo badge to vanity 2019-01-23 17:52:53 +01:00
apa420
c87114a640 rewrote the cases with enums 2019-01-22 23:20:43 +01:00
pajlada
9629322ce7
Merge pull request #925 from apa420/apa-automod-implementation
Automod implementation
2019-01-22 22:45:34 +01:00
pajlada
5311356bed
Merge pull request #922 from apa420/apa-saving-highlighted-users
Fixed the highlighted user saving the name after chatterino closes
2019-01-22 22:24:48 +01:00
pajlada
5863b0aab2
Merge pull request #888 from 23rd/patch-21-userinfo-in-search
Fixed moderation buttons in UserInfoPopup from SearchPopup.
2019-01-22 22:23:50 +01:00
pajlada
b09e87f837
Merge pull request #914 from hemirt/surrogatepairs
Surrogatepairs
2019-01-22 22:22:03 +01:00
Rasmus Karlsson
250ef077da Unremove wordflagslistener
this relies on appbase#1 PR
2019-01-22 22:15:38 +01:00
apa420
1434225603 Implemented AutoMod and write pubsub automod messages TODO: implement that the AutoMod message gets deleted if dealt with \nFixes #887 2019-01-21 18:33:57 +01:00
apa420
cd5c373e01 smol commit, idk if I will continue this 2019-01-20 17:03:45 +01:00
apa420
e9bd9ddb8e smoler commit 2019-01-20 16:28:25 +01:00
apa420
cc5528ec18 smol commit 2019-01-20 16:07:31 +01:00
apa420
7aa798f924 Forgot to add some small stuff 2019-01-20 14:47:04 +01:00
apa420
7067b0503d Added more functionality and clickable deny and accept buttons that don't do anything, this also fixes the issue with the background not working properly 2019-01-20 14:45:59 +01:00
apa420
0b2480d715 Added a bunch of stuff, we now collect all the pubsub automod messages and also displays a caught message to a mod 2019-01-20 01:02:04 +01:00
apa420
aca95788d0 Fixed the highlighted user saving the name after chatterino closes #921 2019-01-19 15:45:25 +01:00
Ruben Anders
ae18f35dfb Use secure IRC connections 2019-01-01 22:01:42 +01:00
Chronophylos
65cae23957 made highlights not black anymore 2019-01-01 21:58:08 +01:00
Kllrt
0cf0842b99 Changed both "BTTV" entries for emote tooltip to "BetterTTV"
4HEad
2019-01-01 21:56:54 +01:00
Kllrt
0fcb98eed1 BTTV changed to uppercase 2019-01-01 21:56:54 +01:00
23rd
0d48c04d8a Made cleanUpCode() as static TwitchEmotes's method. 2019-01-01 21:48:30 +01:00
23rd
23458aa1df Fixed copying of emotes with '< >' symbols. 2019-01-01 21:48:30 +01:00
ckath
11f01947a7 stop emotes from being cut off 2018-12-14 22:40:56 +01:00
Rasmus Karlsson
8bcd27cedf fix rich text being accidentally parsed through message history in split text input 2018-12-09 00:26:37 +01:00
Rasmus Karlsson
10325518f7 escape title and game in tooltip 2018-12-09 00:21:24 +01:00
fourtf
fc93d7b738 added wip effect for (dis/re)connected messages 2018-12-04 21:07:55 +01:00
fourtf
96328a5e25 fixed pausing while 1k messages are in the channel 2018-12-04 08:56:07 +01:00
hemirt
88cffb1949 show users in ignore page sorted 2018-12-02 22:59:18 +01:00
fourtf
bdbdfe3db3 updated appbase version 2018-12-02 19:23:23 +01:00
fourtf
bd8fab7e68 fixed redraw issue 2018-12-02 19:20:14 +01:00
fourtf
0d4d301aa0 added pausable property to ChannelView 2018-12-02 18:37:51 +01:00
fourtf
2e68852768 made some things scale 2018-12-02 18:26:21 +01:00
fourtf
0e242202a4 minor improvements 2018-12-02 17:49:15 +01:00
23rd
8ec328f352 Fixed moderation buttons in UserInfoPopup from SearchPopup. 2018-11-27 21:29:59 +03:00
fourtf
52dcc2130e moved more stuff into appbase 2018-11-25 21:14:42 +01:00
fourtf
0b94d0f763 made appbase compile standalone 2018-11-25 15:02:48 +01:00
fourtf
a9ca33f431 moved stuff from chatterino to appbase 2018-11-23 17:51:55 +01:00
fourtf
38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf
cf26f10b80 initial appbase integration 2018-11-21 21:37:41 +01:00
hemirt
a5bed6d7e4 remove unused variable, format 2018-11-17 11:09:31 +01:00
hemirt
d2e43d78fc fixes twitch emotes position
changes the position in unicodepoints to position in char16 array
(qstring)
2018-11-17 11:00:44 +01:00
hemirt
27eb2d8abc fix surrogatepairs messing position of emotes to be removed (mismatch
between actual position, and position in unicode codepoints)
2018-11-15 21:14:58 +01:00
Rasmus Karlsson
9472283d76 fix twitch global badge tooltip and url 2018-11-15 00:52:54 +01:00
Rasmus Karlsson
90309d00ea attempt to load global badges if no channel badge fits
Progress on #875 - Badges now render properly. this should also fix some
other global badges not rendering
2018-11-15 00:43:05 +01:00
fourtf
d8fcc1a3ed small refactor 2018-11-14 17:27:08 +01:00
Rasmus Karlsson
0f9ef9d0aa Fix a bug with twitch channels and the livestatusChanged signal 2018-11-10 14:30:19 +01:00
23rd
dcda714715 Moved "below" button displaying in performLayout method. 2018-11-05 14:51:33 +01:00
23rd
a0ba2154ae Replaced caller in LogsPopup.cpp. 2018-11-05 11:39:54 +01:00
fourtf
d3003c171a unpause when leaving the channelview 2018-11-03 22:02:52 +01:00
fourtf
6416bf3927 alternate color for historic messages 2018-11-03 21:40:48 +01:00
fourtf
5453c65f0f implemented pausing on hover 2018-11-03 21:26:57 +01:00
Rasmus Karlsson
bcebfca477 make /logs command better
previously you had to have a split open with the channel, that's not
required anymore.
2018-11-03 15:37:56 +01:00
Rasmus Karlsson
b469c24154 Support commands with spaces 2018-11-03 14:52:38 +01:00
Rasmus Karlsson
a4fd7b5366 Move settings into a separate JSON file.
This will unfortunately mean losing your commands, but they can be restored by
converting the old commands.txt format into the commands.json file

Fix #372
2018-11-03 13:37:09 +01:00
Rasmus Karlsson
221ec4f1e8 revert a setting-related change 2018-11-03 13:22:47 +01:00
Rasmus Karlsson
ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00
fourtf
9ced50e94e improved alternate bg and seperator line 2018-11-01 18:04:14 +01:00
fourtf
2faf24e3d5 improved rendering of notebook tab with scaling 2018-11-01 10:16:55 +01:00
fourtf
5e69354178 added two missing settings 2018-10-31 21:23:19 +01:00
fourtf
7b06405a1c allowing editing the timestamp freely 2018-10-31 21:13:01 +01:00
fourtf
246f999a40 improvements on settings dialog 2018-10-31 20:57:29 +01:00
fourtf
33ecc2759d fixed compilation on linux 2018-10-31 20:40:57 +01:00
fourtf
3c3be99177 new settings page 2018-10-31 19:49:15 +01:00
fourtf
a0b6e4bb76 Fixes #756 2018-10-29 22:11:42 +01:00
fourtf
d500ab59ea added setting for compact emotes Fixed #821 2018-10-29 21:48:15 +01:00
Ckat
dd8e8ad960 fix ctrl not registering with numlock enter (#834) 2018-10-29 21:16:17 +01:00
23rd
69233b77ff Fixed Unmaximize button in title bar for Windows. (#845)
* Fixed Unmaximize button in title bar for Windows.

* Clang-formated BaseWindow.cpp.
2018-10-29 21:12:24 +01:00
Ckat
70a5a62777 save settings after clicking ok (#846) 2018-10-29 19:20:23 +01:00
fourtf
3df9850da7 fixed wrong scale value 2018-10-29 18:41:46 +01:00
Felix Schmid
c11d151b83 fixed pause on mouse hover 2018-10-27 11:15:39 +02:00
hemirt
9705570c98 render emoji short codes 2018-10-27 11:10:34 +02:00
hemirt
8adb2d340d parse emojis in whispers 2018-10-27 11:10:34 +02:00
hemirt
c8f85b7755 render emojis on sent whisper 2018-10-27 11:10:34 +02:00
apa420
7467e1d0e2 Properly displays mentions in splitheader-tabs even if 'enable highlighting on new message' is disabled 2018-10-27 10:54:27 +02:00
23rd
f3235d036d Refactored LogsPopup. (#838)
* Replaced 3rd party getting channel ID with own implementation.

* Removed useless roomID_ from LogsPopup.

* Refactored channelName_ in LogsPopup.

* Cleaned up LogsPopup.

* Removed getRoomID() method in LogsPopup.
2018-10-27 10:53:12 +02:00
23rd
06e3fabfe4 Added closing LogsPopup with QMessageBox. 2018-10-27 10:47:58 +02:00
23rd
fb14e1f88a Removed second unnecessary getLogviewerLogs() call. 2018-10-27 10:44:17 +02:00
apa420
85c1a1dbac Ability to click error message when not providing correct account info, Fixes #488 2018-10-27 10:41:26 +02:00
ckath
65f54ebac3 load custom badges for old chat as well 2018-10-27 10:31:01 +02:00
pphop
92cc283160 removed unnecessary network request (#828) 2018-10-25 23:27:45 +02:00
pphop
3c9bcd581a custom ffz moderator badges (#827) 2018-10-25 21:53:03 +02:00
hemirt
c13a88e3b6 custom theme multiplier support (#825) 2018-10-25 21:52:12 +02:00
hemirt
c176d836af render bttv/ffz global emotes in incoming whispers, bttv/ffz/twitch (#824)
emotes in outgoing whispers
2018-10-25 21:51:55 +02:00
pphop
02eeedb338 added toggle for greying out historic messages (#822) 2018-10-25 21:47:52 +02:00
pphop
0e96caad5f fixed badges scaling with emote scaling slider 2018-10-24 22:39:52 +05:00
Rasmus Karlsson
5497fec839 fix another link-resolver related crash (non auto url unshort-related) 2018-10-24 11:36:36 +02:00
TranRed
6ee7b1ef1f fixed broken "show message length" (#820)
* fixed broken "show message length"

This should fix #818. Didn't build and don't really know c++ #yolo #pleasereview #kappa

* Update SplitInput.cpp

removed a useless space that was created by copy pasting
2018-10-24 10:33:35 +02:00
Marco Schmid
c49f17cc07 help text added for f5 2018-10-23 20:08:00 +02:00
Marco Schmid
0f85999b4c changed debug keybing to f6, f5 is now for refreshing 2018-10-23 20:08:00 +02:00
Marco Schmid
077e2e089d reload working fine with f6, f5 seems to be special 2018-10-23 20:08:00 +02:00
Rasmus Karlsson
0f44a2e0f4 re-enable link resolver, but fix the underlying issue in the "link changed" signal.
The feature itself still doesn't work for me, but this code does the same thing.
only thing that's really different is it also disconnects the signal properly once
the TextLayoutElement is deleted
2018-10-23 10:32:13 +02:00
fourtf
afee4d9d37 disabled LinkResolver due to it crashing 2018-10-22 19:57:34 +02:00
fourtf
25aab4cdeb rename tab on double click 2018-10-22 19:57:02 +02:00
fourtf
3db0b5f95c open settings when right clicking moderation button 2018-10-21 16:13:26 +02:00
fourtf
1872163ec4 Open settings when clicking moderation button and no moderation actions are found 2018-10-21 15:32:28 +02:00
fourtf
27ac236115 grey out historic messages 2018-10-21 14:45:42 +02:00
ckath
e900b10e0c save messages sent with ctrl enter to history as well 2018-10-21 14:36:33 +02:00
fourtf
e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
fourtf
c6e1ec3c71 disabled red background in #mentions 2018-10-21 13:29:52 +02:00
fourtf
f4cf464ddb fixed issues with surrogate pairs in text selection and rendering 2018-10-21 13:05:03 +02:00
Rasmus Karlsson
1fde45f59b Also resize tabs if height has changed
Fixes #769
2018-10-21 12:14:11 +02:00
fourtf
69e0352648 improved NotebookTab 2018-10-21 12:13:23 +02:00
Rasmus Karlsson
0abe85f53c Change image set emote scale calculation 2018-10-21 10:39:40 +02:00
Rasmus Karlsson
64669879ad Also use emote scale setting to help figure out what version emote to use 2018-10-21 10:27:36 +02:00
Rasmus Karlsson
5b23aff58d Re-enable emote scale 2018-10-21 10:23:53 +02:00
fourtf
4f4d717a52 minor changes 2018-10-20 19:15:28 +02:00
apa420
a2795dec38 got triggered by pixels 2018-10-20 18:41:32 +02:00
pphop
a584259785 improve "last message read" indicator (#802) 2018-10-20 13:25:24 +02:00
hemirt
54c1efe531 correct getSplitCount 2018-10-20 11:07:15 +02:00
coral
6eab491baa Added icons for every single settings item! 2018-10-19 15:53:19 -07:00
fourtf
2840b38e91 made links open in incognito by default for hemirt 2018-10-16 16:34:09 +02:00
fourtf
db4034d2d9 vivaldi and opera support for incognito links 2018-10-16 16:25:48 +02:00
fourtf
d14a4df9e3 opening links in private browsing mode (windows)
tested on firefox, chrome and internet explorer
2018-10-16 16:07:59 +02:00
fourtf
bf8bf37eab Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-10-16 14:22:53 +02:00
fourtf
280605e715 added basic code for incognito links 2018-10-16 14:13:19 +02:00
23rd
e13d927a4e Removed unused signal in TwitchChannel. 2018-10-14 10:17:48 +00:00
23rd
3e268637f0 Improved 'twitchChannelRegex' regexp. 2018-10-14 10:16:39 +00:00
23rd
bd04aa0074 Added more ignored words for opening new split from context menu. 2018-10-14 10:16:39 +00:00
Rasmus Karlsson
230b2006dc Experimental reconnect support 2018-10-13 15:45:41 +02:00
ckath
c38bb05bb4 correct options text of hiding buttons 2018-10-13 12:50:11 +00:00
Rasmus Karlsson
1422201570 Make "recent_messages" network request safe in case the channel is closed when the request finished 2018-10-13 14:45:51 +02:00
pajlada
b5c7c8ff26
Merge pull request #795 from hemirt/splits
ClosedSplits feature (ctrl+shift+t in browsers)
2018-10-13 12:41:46 +00:00
hemirt
6413abf885 fix visual bug 2018-10-13 14:34:33 +02:00
Rasmus Karlsson
49449379da Added a Live status indicator to tabs 2018-10-13 14:20:06 +02:00
23rd
71a51d34c7 Combined emotes of different tiers in Emote Popup. 2018-10-13 09:10:48 +00:00
hemirt
7a246cd9d8 pragma once 2018-10-13 11:08:57 +02:00
hemirt
b3a41e5c1a Closed Splits 2018-10-09 19:48:22 +02:00
fourtf
31b9d497d7 change color of + button while dragging split 2018-10-09 19:22:07 +02:00
fourtf
2b1c5113d4 reordered elements in the split-header drop-down 2018-10-09 19:04:18 +02:00
Marco Schmid
770e36c10c added winapi-call to flush clipboard (#778) 2018-10-09 18:37:51 +02:00
Nikolai Zimmermann
845c595b70 fix typo (#783) 2018-10-09 18:34:38 +02:00
flex3r
c65cdbe792 fixed message collapsing (#785) 2018-10-09 18:31:38 +02:00
fourtf
e9f0eaf82e added examples for moving and splitting 2018-10-09 18:28:40 +02:00
Marco Schmid
602ae9e874 fixed regex to display links with port correctly (#777) 2018-10-08 12:26:42 +00:00
fourtf
4270c402fb this triggered my ocd 2018-10-07 19:25:46 +02:00
Rasmus Karlsson
a947bf74c8 Occasionally save window/split/tab layout
The window layout is only saved if something has been changed.
When something relevant to the window layout is changed, a save is
queued to run after 10 seconds.
If within those 10 seconds, another thing is changed, that timer is
reset and will run after 10 seconds again.

Events that cause the save to be queued up:
 - Tab created
 - Tab removed
 - Tab moved
 - Tab name changed
 - Split created
 - Split removed
 - Split moved
 - Split channel changed
 - Split resized
 - Window moved
 - Window resized

What currently does not trigger the save to be queued up:
 - Active tab changed
2018-10-07 16:27:40 +00:00
Rasmus Karlsson
7879fef3a0 add some comments
reformat
2018-10-07 14:30:26 +00:00
Rasmus Karlsson
b720450f86 remove unnecessary getApp call 2018-10-07 13:37:17 +00:00
hemirt
2d3ce59b8b Fix emote replacement to render emotes correctly (#768)
* fix emote replacement rendering from inside the caught string

* \b -> \\b, while -> if

i actually wanted the regex identifier \b and you need to escape the
escape character \
an error in judgement made me use while, as if the api was meant to be
"consume"-like interface that boost regex uses

Fixes #26
2018-10-07 11:18:45 +00:00
apa420
bb6c2b6135 Cleaner flashing code (#774) 2018-10-07 10:55:44 +00:00
Ckat
767197ab48 fix channel suspended showing up in all channels #770 2018-10-07 10:21:47 +00:00
Rasmus Karlsson
7e073f43b6 fix notices about "short channel name" channels being sent to all channels
Fixes #770
2018-10-07 12:19:40 +00:00
Cranken
ced5508286 Removed unnecessary get on shared pointers. 2018-10-06 16:33:18 +00:00
Cranken
f13f99bb42 Fixed double clicking sometimes turning into unwanted triple-clicking. 2018-10-06 16:33:18 +00:00
Cranken
39ee6efffc Fixed user popup not working. 2018-10-06 16:33:18 +00:00
Cranken
49398300d6 Triple-clicking now also checks for distance between clicks to prevent unwanted selection. 2018-10-06 16:33:18 +00:00
Cranken
423ef19c8f Fixed a bug appearing when selecting over multiple lines in different directions. 2018-10-06 16:33:18 +00:00
Cranken
4c4d1d2042 Fixed double click selection. 2018-10-06 16:33:18 +00:00
Cranken
335b889efe Fixed emotes selecting the whole line on double-click. 2018-10-06 16:33:18 +00:00
Cranken
c8326d73e7 Added triple-clicking next to message to select whole message. 2018-10-06 16:33:18 +00:00
Cranken
5c2cdce516 Added triple clicking to select the whole message. 2018-10-06 16:33:18 +00:00
Cranken
7c367b73e6 Changed some formatting, also fixed an unrelated bug. 2018-10-06 16:33:18 +00:00
Cranken
fed8cca10e Added initial double clicking to select word functionality. 2018-10-06 16:33:18 +00:00
apa420
5dce212cb4 Added functionality of making the flash taskbar last until the app is focused again (#767)
* Added functionality of making the flash taskbar last until chatterino is focused again

* added it for every flash taskbar

Fixes #760
2018-10-06 15:51:13 +00:00
Rasmus Karlsson
98c1d61e78 reformat 2018-10-06 17:41:23 +00:00
Rasmus Karlsson
67d9910bd5 Fix uninitialized memory usage error 2018-10-06 17:41:23 +00:00
Rasmus Karlsson
a196129171 Fix wrong format syntax 2018-10-06 17:41:23 +00:00
Felix Schmid
300852bbf5 added the settings shortcut to the keybindings window 2018-10-06 14:22:07 +00:00
pajlada
099fd88098
Merge pull request #743 from 23rd/patch-15-scroll-tabs
Added scrolling over tabs with wheel to switch channels.
2018-10-06 12:32:37 +00:00
23rd
871fde5f72 Reversed scroll behavior. 2018-10-06 14:18:27 +03:00
23rd
9f5da50bce Moved creating UserInfoPopup in one place. (#761)
* Moved creating UserInfoPopup in one place.

* Added forgotten 'this'.

Fixes #759
2018-10-06 10:13:14 +00:00
23rd
1fcfd8b13a Removed few-step scroll. 2018-10-05 23:57:02 +03:00
Ckat
b4683c5b35 add menu option to reload subscriber emotes 2018-10-05 19:52:33 +00:00
Ruben Anders
79f64a21c3 Fix typo: "authority badges" 2018-10-05 19:42:27 +00:00
pajlada
1f1175a034
Merge pull request #746 from DatGuy1/patch-3
Don't change split header for whisper

Fixes #691
2018-10-05 19:41:06 +00:00
pajlada
c4c4a8d575
Merge pull request #748 from Cranken/windowPos
Fixed window moving 1px to the left each restart.
2018-10-05 19:39:41 +00:00
Rasmus Karlsson
c6bca8e97b Allow addMessage to override message flags 2018-10-05 21:33:01 +00:00
pajlada
57eb8f9eb7
Merge pull request #744 from Chronophylos/custom-highlight-color
Add hidden setting for highlight color
2018-10-05 18:41:31 +00:00
Cranken
41ba06ffc2 Fixed window moving 1px to the left each restart. 2018-10-04 11:07:46 +02:00
Rasmus Karlsson
39a8e8193c fix whispers crashing if they contained twitch badges 2018-10-02 19:27:08 +02:00
DatGuy1
ad949dc1f6
Don't change split header for whisper
Prevent normal channel split headers from changing colours when receiving a whisper
2018-10-02 10:45:26 +03:00
Rasmus Karlsson
c872db3d9f add chatterino nightly version string to nightly builds 2018-10-01 21:44:23 +02:00
Chronophylos
378ea157a1 Add hidden setting for highlight color 2018-10-01 13:05:50 +02:00
23rd
7122e47817 Added scrolling over tabs with wheel to switch channels. 2018-10-01 03:32:20 +03:00
Rasmus Karlsson
cd571a7e25 clean up warnings 2018-09-30 17:15:17 +00:00
Rasmus Karlsson
a2fb4ca104 reformat 2018-09-30 16:55:41 +00:00
pajlada
d79a8b81b1
Merge pull request #736 from TETYYS/message-limit-fix
Changed LimitedQueue::space() to signed value, eliminating underflows
2018-09-30 14:50:47 +00:00
Cranken
22d009962d Now saves the enable highlight on new message tab setting. 2018-09-30 15:02:30 +02:00
pajlada
0e794f5a6d
Merge pull request #739 from Cranken/enableHighlightTab
Option to disable highlight of tab; disabled switching tabs by only right clicking
2018-09-30 12:30:52 +00:00
Cranken
f6e6916263 Fixed variable naming style. 2018-09-30 14:31:00 +02:00
Cranken
753b2cf139 Fixed messages getting added multiple times after roomstate change. 2018-09-30 12:17:58 +00:00
tetyys
612c9c94dc Clear scroll bar when switching channels in a ChannelView 2018-09-30 11:53:17 +00:00
Cranken
abb01b54f5 Fixed clang format. 2018-09-30 13:44:41 +02:00
hemirt
e7f74aa8ca ignorephrase format 2018-09-30 11:42:23 +00:00
hemirt
6ca4f661a7 clangformat 2018-09-30 11:42:23 +00:00
hemirt
4eefeb80e7 remove dead line 2018-09-30 11:42:23 +00:00
hemirt
3184234c19 Squashed commit of the following:
commit ea07bbef0b
Merge: 0b36f436 5cfcf114
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:05:14 2018 +0200

    Merge branch 'blacklist' into blacklistnew

commit 5cfcf114b6
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:00:16 2018 +0200

    rename second pattern to replacement

commit f08cc4cf88
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:30 2018 +0200

    delete out commented code

commit 1acb1278aa
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:03 2018 +0200

    fix replacement with emotes issues

commit 646268ab18
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 01:06:36 2018 +0200

    fix build

commit ad711b4c15
Merge: e8e059f8 8bcc9c48
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:52:38 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e8e059f847
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:25:58 2018 +0200

    add replaced emotes into twitchEmotes

commit a63454f00d
Merge: e7f2f397 63eaf3b9
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 22:38:16 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e7f2f39737
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 21:54:01 2018 +0200

    emotedata

commit f00d3da537
Author: hemirt <hemirt@email.cz>
Date:   Sat Jul 28 19:53:55 2018 +0200

    rename variables to fit better, emotes in capture groups from regex work

commit 00c9fa080a
Author: hemirt <hemirt@email.cz>
Date:   Mon Jul 9 19:53:53 2018 +0200

    add case sensitivity checkbox and fix validity issues due to isValid
    that checked regex

commit 4385fcd13f
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:09:14 2018 +0200

    remove commented code

commit 1834342f74
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:03:13 2018 +0200

    IgnorePhrase replacement

    also removes twitch emotes info about the matched and changed parts and
    shifts positions of other emotes from emote infos to the corresponding new
    position

commit d3b6e294ed
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 16:21:33 2018 +0200

    ignore phrases
2018-09-30 11:42:23 +00:00
apa420
86024ade24 fixes that timeout/ban messages didn't show (#728) 2018-09-30 10:50:47 +00:00
Cranken
839f78e19b Update regardless of button. 2018-09-29 22:35:33 +02:00
Cranken
036abd4852 Don't switch tab if only right mouse is pressed on other tab. 2018-09-29 22:30:31 +02:00
Cranken
f25f31a837 Added button on tab to enable/disable highlighting. 2018-09-29 22:24:48 +02:00
tetyys
45d0bd6299 Changed LimitedQueue::space() to signed value, eliminating underflows 2018-09-26 22:21:38 +03:00
23rd
4c5a0472cd Activate opened emote popup. (#733) 2018-09-25 11:37:24 +00:00
Rasmus Karlsson
0b36f43611 make the list of ignored usernames into a set instead, making it more maintanable
change "open twitch channel in new split" menu action text
2018-09-21 22:46:00 +02:00
23rd
9a6650b56c Added button in menu to join to channel. (#724) 2018-09-21 20:35:14 +02:00
apa420
a3a7317e62 [WIP] Fixing stuff in light/white theme (#723)
* fixed color in light/white them when a tab lights pink

* fixes background color of chatterino in white/light-themes

* Fixed emoji-button in light/white-theme

* added light/white-theme addsplit-button

* forgot to add the image-file
2018-09-21 20:18:52 +02:00
Rasmus Karlsson
a733b6975d make emote popup emote insertions less risky 2018-09-21 22:01:21 +02:00
Rasmus Karlsson
92bf1adf88 fix tabbing usernames with @ 2018-09-21 13:57:49 +02:00
23rd
eb230494a6 Dont add scrollbar highlights in /mentions. 2018-09-21 13:54:12 +02:00
apa420
d751d1939e used different linebreaking as suggested from 23rd 2018-09-21 13:43:33 +02:00
apa420
f4ba61efc3 fixed tooltip on twitch emotes in a cheesy fasion 2018-09-21 13:43:33 +02:00
23rd
579c6b9bf9 Trim channelname in join channel window. 2018-09-21 13:43:10 +02:00
apa420
ea17d23224 apa fixed custom subscriber badges tooltip 2018-09-20 21:59:34 +02:00
Rasmus Karlsson
56b1fd6913 Increase timeout on FFZ channel emote requests
We might want to send some message upon these sort of errors happening

Fix #709
2018-09-20 13:39:19 +02:00
Rasmus Karlsson
8eba7a0182 add method to NetworkRequest to fetch the underlying url string 2018-09-20 13:37:20 +02:00
Rasmus Karlsson
641c5822d7 fix various warnings 2018-09-20 13:09:37 +02:00
23rd
30f51d8137 Removed useless arg from appendTwitchEmote(). 2018-09-20 10:57:36 +02:00
23rd
f813c2de3b Improved insertion of emotes from popup. 2018-09-20 10:57:22 +02:00
23rd
88477829ef Replaced size() check with empty(). 2018-09-19 13:01:22 +02:00
23rd
acd03a3280 Dont show empty categories in viewer list. 2018-09-19 13:01:22 +02:00
fourtf
47c93fb118 fixed memory corruption 2018-09-17 12:51:16 +02:00
cub
4c5f2e41e5
replace malloc with make_unique 2018-09-17 02:45:11 -03:00
pajlada
e2a7765964
Merge branch 'master' into apa-notification-on-live 2018-09-16 17:43:53 +02:00
apa420
23cf815219 Which badges that are shown are now customizable #282 (#696) 2018-09-16 17:42:30 +02:00
apa420
56aac47fde fixed chatterino badges (#698)
* fixed chatterino badges
2018-09-16 17:27:51 +02:00
23rd
0d8b5cad63 Added setting to disable auto unshort links. 2018-09-06 17:59:49 +03:00
23rd
5f19a57f5a Refresh links of new messages.
As I understand links update when all message snapshots update, so we need to refresh url manually via signal.
2018-09-06 17:11:25 +03:00
23rd
2d1701cf86 Fixed build. 2018-09-06 13:54:28 +03:00
23rd
fe24d09009 Replace url of link with new one from json. 2018-09-05 15:37:51 +03:00
fourtf
018fe2ab10 fixed some shtuff 2018-09-04 22:29:21 +02:00
fourtf
1d16c0cf77 fixed crasherino 2018-09-04 22:05:27 +02:00
fourtf
1d682c4a93 added add split button 2018-09-04 21:39:54 +02:00
fourtf
3f4e9cdf91 added text for empty categories in emote popup 2018-09-04 20:09:06 +02:00
23rd
d0ea0f2478 Clear highlights scrollbar with messages. 2018-09-02 03:02:12 +03:00
Rasmus Karlsson
a7487ab43e Temporary fix for timeouts not graying out messages properly
Fix #669
2018-09-01 13:43:17 +00:00
Rasmus Karlsson
eb04e1c3df Fix channel badges not scaling properly 2018-09-01 13:03:17 +00:00
Rasmus Karlsson
4752a3a4d4 Mark image as empty if network request fails 2018-09-01 12:47:02 +00:00
Rasmus Karlsson
d16307a484 reformat 2018-09-01 12:33:27 +00:00
Rasmus Karlsson
afeb7e719b Fix /r not working 2018-09-01 12:32:39 +00:00
Rasmus Karlsson
08b4179a44 Add back "clear messages" in split functionality 2018-09-01 12:19:15 +00:00
apa420
ca5bb104db hopefully it will now compile on linux 2018-09-01 13:01:54 +02:00
apa420
05d0b20919 I checked the wrong filepath 2018-08-31 18:18:05 +02:00
apa420
83737996ae Fixed /mentions 2018-08-30 20:18:38 +02:00
apa420
8994307e51 forgot to remove an include 2018-08-29 23:52:13 +02:00
apa420
5555c41d7e fixed toasts for all platforms 2018-08-29 23:39:02 +02:00
apa420
01ca055763 fixed issue where when a channel was going offline it would do a toast if the channel was notified 2018-08-29 22:22:32 +02:00
apa420
c5a88f6af3 fixed stuff 2018-08-29 19:58:55 +02:00
pajlada
597a8eeb2b
Merge pull request #686 from 23rd/patch-8-fixed-down-arrow
Fixed down key in input field.
2018-08-29 10:24:47 +02:00
pajlada
873b0b3c67
Merge pull request #693 from apa420/apa-minor
Highlighting whispers works better and looks better
2018-08-29 10:22:16 +02:00
apa420
9a0205bdc9 did request 2018-08-29 01:37:57 +02:00
pajlada
875e12f728
Merge pull request #684 from 23rd/patch-7-hotkey-emote-menu
Added hotkey for Emote menu.
2018-08-29 01:34:56 +02:00
apa420
a36a2a2939 fixed issue with having the wrong variable 2018-08-29 01:24:35 +02:00
pajlada
6eb21f4b68
Merge pull request #677 from 23rd/patch-4-link-tooltip-bttv
Added tooltip to links.
2018-08-29 01:23:17 +02:00
23rd
235f9eebf1 Added 'this'. 2018-08-29 02:22:57 +03:00
apa420
c3065db16d highlighting whispers works better and looks better 2018-08-29 01:21:36 +02:00
apa420
c5d5825b5a Added functionality of option of highlightsound on whisper (#692)
Fixes #640
2018-08-29 00:30:11 +02:00
apa420
6a29fbb6dc
Merge branch 'master' into apa-notification-on-live 2018-08-28 23:23:46 +02:00
hemirt
113cfd69b0 Fix emote copying (#687)
* Fix emote copying

* Fix (i.e. no longer add) blank spaces instead of badges

I.e. badges' names do not get copied
2018-08-28 19:25:15 +02:00
23rd
bfe87b699a Refactored cursorToEnd. 2018-08-27 21:22:53 +03:00
23rd
f6d0cc9e6b Fixed down key in input field. 2018-08-27 21:12:38 +03:00
23rd
0f2d6a4a22 Added hotkey for Emote menu. 2018-08-27 15:36:01 +03:00
23rd
bf529d5503 Rewritten check for incorrect link. 2018-08-26 16:33:04 +03:00
23rd
cb500070f2 Run away from BTTV API. 2018-08-26 15:55:44 +03:00
apa420
15bcb5a2fb Initially done with PR 2018-08-26 13:49:15 +02:00
apa420
8ea3b6c8ee Added fakechannels 2018-08-26 13:19:09 +02:00
23rd
ce155299e9 Added right-click on nickname to reply on whisper. (#680) 2018-08-26 10:42:00 +02:00
23rd
c7e2188582 Added tooltip to original link too. 2018-08-25 21:54:17 +03:00
23rd
f4828b7d09 Rename everything. 2018-08-25 21:54:10 +03:00
23rd
539d8c20d2 Put isValid() in variable. 2018-08-25 21:29:14 +03:00
23rd
f8c42918a6 Added option to turn off link info tooltips. 2018-08-25 21:29:08 +03:00
Rasmus Karlsson
70199e00d2 Remove unused 'preferred emote quality' setting 2018-08-25 12:29:43 +00:00
Rasmus Karlsson
c1ec0e49d4 Change scaling values around to look good on my setup
Might need some DPI magic to look good on every setup, but I think this
is an improvement
2018-08-25 12:29:02 +00:00
apa420
c4679bf048 almost implemented the faekchannels, just need to fix the timer, pls help pajlada 2018-08-25 14:13:26 +02:00
Rasmus Karlsson
5647c6a80c Fix crash when receiving a whisper
Fix #672
2018-08-25 10:23:58 +00:00
23rd
d6c4244b79 Fixed double click in emote popup. (#679) 2018-08-25 10:08:10 +02:00
apa420
8f77dccb91 testing emoji because having windows 8 sucks 2018-08-24 18:38:27 +02:00
apa420
e58e76ef1e added more playsound stuff 2018-08-24 18:05:36 +02:00
23rd
5253ab3f85 Added tooltip to links via BTTV API. 2018-08-24 13:16:55 +03:00
23rd
8a1c30408a Set displayName to UserInfo link as value. (#675) 2018-08-22 15:16:19 +02:00
23rd
be4b3f1a38 Don't add empty messages to message history. (#674) 2018-08-22 00:57:44 +02:00
apa420
8d5b93fe82 push for now 2018-08-19 19:02:49 +02:00
Rasmus Karlsson
a07255be2d Add ability to customize cache folder
Add an advanced settings page, currently only housing the "Cache" category

Fix #541
2018-08-19 16:26:33 +02:00
Rasmus Karlsson
3fc91bded5 Move some helper functions to Helpers.hpp 2018-08-19 16:26:32 +02:00
apa420
21c4880ace for pajlada 2018-08-19 15:09:00 +02:00