Commit graph

582 commits

Author SHA1 Message Date
Rasmus Karlsson
8ba8bbeef6 Move environment variable parsing and storage to its own class
Make the Link resolver and Twitch emotes set resolver urls modifiable with
environment variables
2019-05-26 21:44:37 +02:00
Rasmus Karlsson
e1483bfd8a Make Twitch message history loading optional (On by default) 2019-05-25 11:24:10 +02:00
Rasmus Karlsson
79e4e05a4a Fix compilation issue 2019-05-25 11:23:58 +02:00
Ruben Anders
9dbe66a19b Change emote parsing order to FFZ -> BTTV -> GlobalFFZ -> GlobalBTTV
Fixes #877
2019-05-25 10:58:51 +02:00
Rasmus Karlsson
1a7a5409ab do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
hemirt
c43c1dc207 Adds option to mute ping sound for specific channels (#990)
Co-Authored-By: hemirt <hemirt@hemirt.com>
2019-05-10 22:36:37 +02:00
23rd
9654650bee Renamed variables to clear some warnings. 2019-05-10 22:18:05 +02:00
23rd
efec76df5b Removed unused local vars. Slightly refactored code. 2019-05-10 22:18:05 +02:00
hemirt
23921f3fed show whispers notices 2019-05-07 20:28:01 +02:00
hemirt
add312b609 fix #1062 2019-05-07 19:35:56 +02:00
pajlada
01082b123f
Merge pull request #1050 from apa420/apa-pubsub-fix
Changed to ref for better performance #1049
2019-05-01 22:36:32 +02:00
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
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
tetyys
40b4c2fefc Change to new character to make duplicate message error bypass work again 2019-04-27 00:31:15 +03:00
Rasmus Karlsson
3113513290 remove stupid log message 2019-04-23 09:10:34 +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
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
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
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
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
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
Rasmus Karlsson
81a4bff131 Implement Randers00's recent-messages API (WIP) 2019-04-04 11:47:54 +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
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
pajlada
3f41dfeff9
Merge pull request #965 from moe-ka/master
Fix for inline whispers being logged
2019-03-02 09:37:09 +01:00
hemirt
3c01af9805 changes and fix displayname of 'is live' message 2019-03-01 21:18:32 +01:00
hemirt
ec6b26cd23 fix log message 2019-02-28 19:26:32 +01: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
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
7b51123dad
Merge pull request #929 from apa420/apa-move-turbo-badge
Moved turbo badge to vanity
2019-01-24 11:44:38 +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
b09e87f837
Merge pull request #914 from hemirt/surrogatepairs
Surrogatepairs
2019-01-22 22:22:03 +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
Ruben Anders
ae18f35dfb Use secure IRC connections 2019-01-01 22:01:42 +01:00
23rd
0d48c04d8a Made cleanUpCode() as static TwitchEmotes's method. 2019-01-01 21:48:30 +01:00
fourtf
96328a5e25 fixed pausing while 1k messages are in the channel 2018-12-04 08:56:07 +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
5453c65f0f implemented pausing on hover 2018-11-03 21:26:57 +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
3c3be99177 new settings page 2018-10-31 19:49:15 +01:00
ckath
65f54ebac3 load custom badges for old chat as well 2018-10-27 10:31:01 +02:00
pphop
3c9bcd581a custom ffz moderator badges (#827) 2018-10-25 21:53:03 +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
Rasmus Karlsson
5497fec839 fix another link-resolver related crash (non auto url unshort-related) 2018-10-24 11:36:36 +02:00
fourtf
27ac236115 grey out historic messages 2018-10-21 14:45:42 +02:00
fourtf
e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
23rd
e13d927a4e Removed unused signal in TwitchChannel. 2018-10-14 10:17:48 +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
Rasmus Karlsson
49449379da Added a Live status indicator to tabs 2018-10-13 14:20:06 +02:00
flex3r
c65cdbe792 fixed message collapsing (#785) 2018-10-09 18:31:38 +02:00
Marco Schmid
602ae9e874 fixed regex to display links with port correctly (#777) 2018-10-08 12:26:42 +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
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
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
Rasmus Karlsson
c6bca8e97b Allow addMessage to override message flags 2018-10-05 21:33:01 +00: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
Cranken
753b2cf139 Fixed messages getting added multiple times after roomstate change. 2018-09-30 12:17:58 +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
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
apa420
ea17d23224 apa fixed custom subscriber badges tooltip 2018-09-20 21:59:34 +02:00
23rd
30f51d8137 Removed useless arg from appendTwitchEmote(). 2018-09-20 10:57:36 +02:00
fourtf
47c93fb118 fixed memory corruption 2018-09-17 12:51:16 +02:00
pajlada
e2a7765964
Merge branch 'master' into apa-notification-on-live 2018-09-16 17:43:53 +02:00
apa420
56aac47fde fixed chatterino badges (#698)
* fixed chatterino badges
2018-09-16 17:27:51 +02: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
Rasmus Karlsson
eb04e1c3df Fix channel badges not scaling properly 2018-09-01 13:03:17 +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
apa420
83737996ae Fixed /mentions 2018-08-30 20:18:38 +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
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
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
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
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
Rasmus Karlsson
5647c6a80c Fix crash when receiving a whisper
Fix #672
2018-08-25 10:23:58 +00: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
apa420
21c4880ace for pajlada 2018-08-19 15:09:00 +02:00
apa420
15e9e3e642 Added functionality of colored splits when live 2018-08-17 21:19:15 +02:00
fourtf
8bcc9c487b Fixes #411, #516 2018-08-16 00:16:33 +02:00
fourtf
af7b742a23 changed .clang-format 2018-08-15 22:46:20 +02:00
fourtf
44c16f1b3a badges 2018-08-14 17:45:36 +02:00
apa420
b671fc4133 Tried chaning the color of the split when a channel is live 2018-08-14 16:29:52 +02:00
Daniel Pasch
c4e3bf1a8c Fix compiling on macOS High Sierra (#665)
* mac docs update relating to qt 

give a little more detailed installation guide for the qt installation

* Fix compiling on clang, now compiles on macOS High Sierra
2018-08-13 20:10:32 +02:00
fourtf
2448f6f538 cleaned up CompletionModel 2018-08-13 14:38:03 +02:00
fourtf
f6e110b7fb fixed and optimized the autocompletion 2018-08-13 14:04:35 +02:00
apa420
93bbe33664 Cleaned some stuff up and did some things 2018-08-12 21:05:12 +02:00
apa420
320558ee63 more stuff done, does compile, changed vector for map 2018-08-12 20:21:21 +02:00
apa420
05d5709bb9 stuff does compile 2018-08-12 18:54:32 +02:00
apa420
54166ec130 temp stuff 2018-08-12 15:29:40 +02:00
fourtf
f6414c9d7e remove settings and paths from Application 2018-08-12 12:56:28 +02:00
fourtf
1ec1ecd52b fixed crash when moderation buttons are enabled 2018-08-12 00:02:05 +02:00
fourtf
44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf
63eaf3b94c fixed not being able to select text backwards 2018-08-11 17:35:46 +02:00
fourtf
c768bd9bd9 fixed image animations 2018-08-11 17:15:17 +02:00
fourtf
c719bb6b74 categorized emtotepopup 2018-08-11 14:26:02 +02:00
apa420
77411f7012 WIP commit 2018-08-11 12:47:03 +02:00
fourtf
cf9560508c improving code quality 2018-08-10 20:53:13 +02:00
fourtf
edfae49cc9 simplified Image 2018-08-10 18:56:17 +02:00
apa420
b68c7ded5f WIP notification settings, doesn't actually work 2018-08-09 15:41:03 +02:00
fourtf
bdfe24035b fixed rectangle being off by 1 pixel in split container 2018-08-08 19:42:14 +02:00
fourtf
7a9af4ae84 moved menu code to ripple effect button 2018-08-07 23:46:00 +02:00
fourtf
e1b8faacc9 added increased size of drag and drop regions 2018-08-07 09:45:10 +02:00
fourtf
381177dd24 refactored EnumFlags 2018-08-07 07:55:31 +02:00
fourtf
bfa75330a4 fixed crash 2018-08-07 06:25:58 +02:00
fourtf
c26422aec1 refactored MessageBuilder 2018-08-07 01:35:24 +02:00
fourtf
f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf
c71795da17 Merge branch '4tf' 2018-08-06 18:41:30 +02:00
fourtf
35d462d1f1 worked on Image 2018-08-06 18:25:47 +02:00
apa420
7e3292e900 Dynamic lowercase link setting - did request (#612)
* Added functionality of dynamic lowercase links

* fixed fourtfs request, lajamerr has a better solution though

* Fix matching and lowercasing of domain only.

* Update TwitchMessageBuilder.cpp

Added what fourtf asked in a good  way
NOTE: I removed a : from the regex since otherwise it would fuck up

* fixed stuff and removed debugs

* fixed stuff
2018-08-06 16:40:12 +02:00
fourtf
c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
apa420
133bd6a766 fixed (live) issue #626 (#631) 2018-07-23 15:12:14 +02:00
fourtf
3b3c5d8d75 added code to handle a single connection 2018-07-16 17:23:41 +02:00
fourtf
e51c5c692a Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-07-15 20:41:57 +02:00
fourtf
1614b11e42 Refactored TwitchChannel 2018-07-15 20:28:54 +02:00
Rasmus Karlsson
f60d649f5e Remove UrlFetch file 2018-07-15 12:11:46 +00:00
Rasmus Karlsson
c995e2bf0d Remove unused code 2018-07-15 11:10:23 +00:00
fourtf
111853c574 improving TwitchChannel 2018-07-14 14:24:18 +02:00
apa420
a720c76dc0 changed an #include (#622) 2018-07-14 08:53:28 +02:00
apa420
ba99d62139 Fixed /ignore and /unignore as well as give description for the command (#611)
* Fixed /ignore and /unignore as well as give description for the command
2018-07-13 22:23:03 +02:00
apa420
9dda0a05fa @boldUsernames now work dynamically with the setting (#607) 2018-07-12 18:56:54 +02:00
apa420
1d2e56f19d changed return-value of errors to false 2018-07-12 11:11:21 +02:00
apa420
801779b872 fixed stuff for PR 2018-07-12 10:52:18 +02:00
apa420
c26e18c2bf Added functionality of /follow and /unfollow 2018-07-12 03:54:54 +02:00
Rasmus Karlsson
da1627e47d Fix historical messages not triggering highlights
For now they only trigger the highlighting of the message, but not sound
or flash alerts as I think that's weird.

Fix #308
2018-07-08 09:43:44 +00:00
Rasmus Karlsson
aaa82dce75 Fix custom highlight sounds not working on Linux 2018-07-08 09:42:48 +00:00
hemirt
d2450c298b remove duplicate code (#585) 2018-07-07 22:30:19 +02:00
Rasmus Karlsson
ebc47b1463 trim config shit 2018-07-07 22:00:23 +02:00
Rasmus Karlsson
0d40894b47 improve error message in loadEmotes 2018-07-07 21:59:17 +02:00
fourtf
c609a9fd37 started to refactor Application 2018-07-07 11:41:13 +02:00
Rasmus Karlsson
6a418e6e59 Refactor NetworkRequest class
Add followUser and unfollowUser methods to TwitchAccount
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
cada32edfd Treat missing returns as errors 2018-07-07 11:09:27 +00:00
fourtf
280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
fourtf
aa3df2e6d8 refactored Channel 2018-07-06 17:30:12 +02:00
DatGuy1
9c7c99928f Add highlighting of all messages from a certain user (#564)
* Rework to use controllers

* Rework to use controllers

* Add doHighlight

* Cherry pick?

* Fixes per PR

* Remove file
2018-07-05 15:58:20 +02:00
fourtf
14f125ff87 added room mode selector for mods again 2018-07-04 19:44:54 +02:00
apa420
9754d1c350 I use startWith again 2018-07-04 14:01:39 +02:00
apa420
2524bb8af6 this time I compiled before pushing 2018-07-04 14:01:39 +02:00
apa420
4491bba5ec Boldness is now fontStyle 2018-07-04 14:01:39 +02:00
apa420
31a38d19a7 Fixed code, things that fourtf asked for 2018-07-04 14:01:39 +02:00
apa420
4bf174376a Fixed random code that didn't belong 2018-07-04 14:01:39 +02:00
apa420
318e8b6234 Bold @username 2018-07-04 14:01:39 +02:00
DatGuy1
e9fb5971da Add option to make link domains lowercase (#557) 2018-07-04 13:53:49 +02:00
Rasmus Karlsson
03b7fae09e Refactor highlight blacklist to use the model system
Fix #560
2018-07-04 11:45:10 +00:00
Rasmus Karlsson
a716e93112 Remove pessemistic move 2018-07-03 18:09:07 +00:00
Rasmus Karlsson
e757a6504b Run clang-format-all.sh 2018-07-03 15:20:00 +00:00
Rasmus Karlsson
978931bcfc Clean up twitch emote tooltips 2018-06-30 10:10:53 +02:00
fourtf
6013591730 renamed files SignalVector -> SimpleSignalVector and SingalVector2 -> SignalVector 2018-06-28 20:25:37 +02:00
fourtf
86347dc63e renamed Themes to Theme 2018-06-28 20:03:04 +02:00
fourtf
848bbc71aa removed that pile of garbage IrcManager 2018-06-28 19:54:40 +02:00
fourtf
2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf
5604ae6a67 removed functions from SettingsManager that shouldn't be there 2018-06-28 19:38:57 +02:00
chems
c22052afdd undo reformat 2018-06-27 12:59:11 +02:00
ch-ems
b2d18ddd7f fixes #525 2018-06-27 12:59:11 +02:00
Rasmus Karlsson
e9868fdd84 Move TwitchUser deserialization to the proper Deserialize function
instead of ::fromJSON
2018-06-27 00:17:05 +00:00
Rasmus Karlsson
f76512c31e Remove authenticated get function from urlfetch
Implement twitch account emote getter function in TwitchAccount
2018-06-27 00:16:30 +00:00
fourtf
fb230423f6 fixed rename 2018-06-26 17:47:44 +02:00
fourtf
604e5ed682 fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
fourtf
d09b14db26 removed Const.hpp and Credentials.hpp in favor of TwitchCommon.hpp 2018-06-26 17:25:24 +02:00
fourtf
08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf
6ee1fc303e removed SplitColumn 2018-06-26 17:16:58 +02:00
fourtf
c74bc00106 renamed twitch api get functions 2018-06-26 17:12:50 +02:00
fourtf
54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf
2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf
15abedd869 moved files into src/common 2018-06-26 15:33:51 +02:00
fourtf
0bc08a364c created directory for dialogs 2018-06-26 15:11:45 +02:00
fourtf
a9bf9cf722 rename #3 2018-06-26 14:09:39 +02:00
fourtf
c9722b9780 rename #2 2018-06-26 13:24:55 +02:00
fourtf
ec04f10895 rename #1 2018-06-26 13:23:57 +02:00
Rasmus Karlsson
24471fc2d0 Fix emote popup for certain emotes (i.e. <3)
Fix #513
2018-06-24 16:35:38 +00:00
Rasmus Karlsson
355b80680d Fix erroneous copying of emotes (twitch emotes in particular)
Fix #514
2018-06-24 16:30:28 +00:00
Rasmus Karlsson
a105b47a6b Improve notice message handling
This should stop most duplicate notice messages from showing up

Fix #272
2018-06-24 15:33:22 +00:00
Rasmus Karlsson
8bb3ad1bf5 Only use the "duplicate message" functionality if user is not a
moderator
2018-06-24 15:20:15 +00:00
pajlada
eae2c2c521
Emote popup channelname (#475)
Fix #464
2018-06-24 14:42:40 +02:00
Rasmus Karlsson
ebe0f0c87f Improve display name parsing
Fix #510
2018-06-24 14:27:08 +00:00
Rasmus Karlsson
ecfe9646dd Add missing this prefixes in TwitchServer 2018-06-24 13:14:05 +00:00
Rasmus Karlsson
be931df4f4 Add a message if you're trying to type without being logged in
Fix #484
2018-06-24 13:11:20 +00:00
fourtf
8111946858 renamed variables in twitchserver 2018-06-24 13:06:11 +02:00
fourtf
47198a5489 Fixed #501 2018-06-24 13:00:42 +02:00
fourtf
02214c38a6 added comments for explanation 2018-06-24 12:16:32 +02:00
fourtf
3bcbcac869 commented out the NOTICE message handle 2018-06-23 23:08:15 +02:00
Rasmus Karlsson
b2f454aca4 Change header color when split is active
Colors might need to change but they work for now

Fix #495
2018-06-23 11:54:00 +00:00
fourtf
5ae671dc14 accidentally added a line 2018-06-22 23:28:20 +02:00
fourtf
4aec66e3ea small refactor of twitchserver 2018-06-22 23:24:45 +02:00
Rasmus Karlsson
115031b7ac Clearchat now disables previous messages
Fix #499
2018-06-22 21:44:02 +00:00
Rasmus Karlsson
dd0d6a0f88 Stop moderation elements from appearing on other moderators messages
Fix #496
2018-06-22 21:19:52 +00:00
fourtf
bc54927c84 fixed smooth scrolling 2018-06-19 20:34:50 +02:00
Rasmus Karlsson
7703087fb4 Fix tabbing some emotes (i.e. R-)) 2018-06-19 20:04:12 +00:00
Rasmus Karlsson
698814a21f Fix live status tooltip not updating properly
The issue was the TwitchChannel refreshLiveStatus function not calling
the updateLiveInfo signal properly

Fix #461
2018-06-11 11:51:46 +02:00
Rasmus Karlsson
85e19d0bd6 Remove more QString usages 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
93fe7adce7 Make TwitchEmotes class conform to QString standard
Make twitch emotes only be identified by a string ID, instead of sometimes by a string and sometimes by an int

Make the EmoteSet a struct instead of just a vector of emotes. This will be handy when we later fill in the emote sets name and other info (i.e. whether it's a subscription benifit or not)
2018-06-07 16:40:31 +02:00
Rasmus Karlsson
3bc7e2da8a Key twitch emotes by QString instead of std::string 2018-06-07 16:40:31 +02:00
fourtf
049329e176 fixed /me action messages 2018-06-07 15:49:57 +02:00
fourtf
6000b7626e fixes #185 2018-06-06 18:59:18 +02:00
Rasmus Karlsson
8db3bf483e Remove unused chatterino emotes 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
e09e0a5ab4 Move emojis to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
78664f79ee Move FFZ emotes to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
f83c07be53 Move bttv emotes to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
e12d386a5a Move twitch emote-related stuff to TwitchEmotes class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
7c81477c35 Improve sub/resub message parsing
Instead of regexping out the username, use the existing ircv3 login-tag
2018-06-05 14:14:00 +02:00
Rasmus Karlsson
4b52a98778 Fix mentions tab 2018-06-05 01:13:53 +02:00
fourtf
8de0a59533 ircconnection and about page 2018-06-04 21:05:18 +02:00
fourtf
4a2709cbc3 fixed resub messages 2018-06-04 12:23:23 +02:00
fourtf
85505a055d fixed scrollbar size and split focus 2018-05-31 16:02:20 +02:00
fourtf
783b9096c3 Fixes #438 message buffers not growing on message resize 2018-05-31 14:15:04 +02:00
fourtf
5ba62997fc fixed removing accounts 2018-05-28 08:51:39 +02:00
fourtf
6156b1f430 added categories to the accountspage 2018-05-28 08:34:54 +02:00
fourtf
9fc791a440 clear the list of joined/parted users 2018-05-27 13:37:49 +02:00
fourtf
7e68e662e3 renamed Twitch to twitch 2018-05-26 20:26:25 +02:00
fourtf
8c9be20f9b changed AccountManager to AccountController 2018-05-26 20:25:00 +02:00
fourtf
b016f0fb88 added settings to show part and join messages 2018-05-26 18:06:55 +02:00
fourtf
6b24f249f7 fixed split header tooltips not showing 2018-05-26 17:12:00 +02:00
LajamerrMittesdine
0c9a079bd5 Corrected style for Twitch Bit Badge overlay text to be consistent with Chatterino
Changed from "cheer x" to "Twitch cheer x"
2018-05-25 16:50:28 +02:00
LajamerrMittesdine
302af3aaa1 Changed bit badge overlay text to be consistent with Twitch
Currently it uses "Twitch Bit(x)". Changed to "cheer x" to be consistent with Twitch text overlay.
2018-05-25 16:50:28 +02:00
fourtf
9aa9b90267 fixed /r and tab text alignment 2018-05-25 13:53:55 +02:00
fourtf
fecca83312 followup to the last commit 2018-05-24 16:06:34 +02:00
fourtf
02b8c34de8 added tooltip to bit badges 2018-05-24 15:42:06 +02:00
fourtf
4de2a6b65f added a setting to collapse long messages by default 2018-05-24 11:35:50 +02:00
fourtf
59110ad4bd added roommodes to the splitheader 2018-05-24 08:58:34 +02:00
fourtf
48e94a1169 added code for a notification system 2018-05-23 22:27:29 +02:00
fourtf
dafbda6a4a asdf 2018-05-23 04:22:17 +02:00
fourtf
795758f618 fixed the split overlay not appearing proprly 2018-05-17 16:39:38 +02:00
fourtf
4d3437e6d1 fixed timeouts for non moderators 2018-05-17 13:43:01 +02:00
fourtf
05261ef67c commented out development code 2018-05-17 12:17:31 +02:00
fourtf
d24e1f8314 fixed selections moving when new messages come in while selecting 2018-05-17 12:17:31 +02:00
Rasmus Karlsson
c2c3b67f6b Added result code to ignore/unignore calls
Add ignore/unignore calls that take the user ID to avoid double api
calls
Fully implement the account popup ignore/unignore feature
Fix #247
2018-05-16 15:14:46 +02:00
Rasmus Karlsson
26262f4ce4 Also respect "enable twitch ignored users" setting 2018-05-16 15:12:48 +02:00
Rasmus Karlsson
61dac49f6d Implement basic and stupid ignore functionality
We currently do not respect mod status
2018-05-16 15:12:48 +02:00
Rasmus Karlsson
88e97325f8 Fix windows-specific compilation error 2018-05-16 15:12:48 +02:00
Rasmus Karlsson
937fffc34b Implement /ignore and /unignore commands
Simplify authorized network requests for Twitch V5 api
add onShow virtual function to settings pages if they need to be refreshed when shown
Actually ignoring messages from ignored users is still not implemented

Working on #247
2018-05-16 15:09:41 +02:00
Rasmus Karlsson
15b432a4cf Implement simple ignored phrase system 2018-05-13 19:25:12 +02:00
Rasmus Karlsson
7bc63ba38f Added result code to ignore/unignore calls
Add ignore/unignore calls that take the user ID to avoid double api
calls
Fully implement the account popup ignore/unignore feature
Fix #247
2018-05-13 17:53:24 +02:00
Rasmus Karlsson
d4c31309f0 Move stringify function to rapidjson-helpers 2018-05-13 17:51:01 +02:00
Rasmus Karlsson
6768853d92 Also respect "enable twitch ignored users" setting 2018-05-12 23:34:22 +02:00
Rasmus Karlsson
e4439a3f10 Implement basic and stupid ignore functionality
We currently do not respect mod status
2018-05-12 23:27:34 +02:00
Rasmus Karlsson
752992760b Fix windows-specific compilation error 2018-05-12 19:50:22 +02:00
Rasmus Karlsson
bf0b5d08d8 Implement /ignore and /unignore commands
Simplify authorized network requests for Twitch V5 api
add onShow virtual function to settings pages if they need to be refreshed when shown
Actually ignoring messages from ignored users is still not implemented

Working on #247
2018-05-12 20:34:13 +02:00
Rasmus Karlsson
5efc2c38d8 Clean up warnings 2018-05-06 14:16:41 +02:00
fourtf
b95388107f added regex highlights 2018-05-06 12:52:47 +02:00
fourtf
ba4173822e created base for all the list based settings 2018-05-06 00:32:45 +02:00
Rasmus Karlsson
b907bf5639 Fix compilation on gcc 2018-04-30 20:35:01 +02:00
fourtf
6bd787423d added template model/view magic for commands 2018-04-29 23:26:17 +02:00
Rasmus Karlsson
e31dc09e91 Add remaining pubsub messages to chat 2018-04-29 13:24:37 +02:00
Rasmus Karlsson
01b2230bcf Modify pubsub functions to follow the Chatterino function style 2018-04-28 16:07:18 +02:00
Rasmus Karlsson
0f22d9d002 move pubsub stuff to the providers/twitch namespace and folder 2018-04-28 15:48:49 +02:00
Rasmus Karlsson
2f195891cd Finish up singleton refactoring into one giant class 2018-04-28 15:20:18 +02:00
fourtf
9426a9d633 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-04-28 13:48:49 +02:00
Rasmus Karlsson
ae26b835b6 Perform initial refactoring work
Things that were once singletons are no longer singletons, but are
instead stored in the "Application" singleton

Some singletons still remain, and some renaming/renamespacing is left
2018-04-27 22:11:19 +02:00
fourtf
a4b7c1d067 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-04-27 20:55:06 +02:00
Rasmus Karlsson
32b6417a55 Combine Ban/Timeout pubsub actions
Fully implement PubSub ban/unban messages
Move the "message combining" to Channel::addMessage

Disable "irc" ban/timeout handling for now. In the future, we might want
to use this if you're not a moderator in a channel.
2018-04-27 18:35:31 +02:00
fourtf
49069beed7 reworked commands settings page 2018-04-27 01:11:09 +02:00