Rasmus Karlsson
8312d4b112
Fix USERSTATE not being handled unless you write in a channel.
...
This commit might re-enable some duplicate messages like host requests
and what-not.
2019-09-21 11:38:08 +02:00
fourtf
758a6bb41c
NetworkRequest onError now uses NetworkResult
2019-09-19 19:03:50 +02:00
fourtf
88d8bf7cec
renamed members in Helpers.cpp
2019-09-18 16:32:07 +02:00
fourtf
99f99f0cff
smol fixes
2019-09-18 14:20:21 +02:00
fourtf
3ab7362304
Merge branch 'master' into irc-support
2019-09-18 13:03:16 +02:00
fourtf
07133166d9
added setting to show unhandled irc commands
2019-09-18 11:11:50 +02:00
fourtf
765a75f158
added irc commands
2019-09-18 10:59:28 +02:00
fourtf
27d6cf2bfd
reconnect for irc + show errors + nickRequired
2019-09-18 08:05:51 +02:00
fourtf
96dac0fd3d
moved chatters to ChannelChatters
2019-09-17 12:11:11 +02:00
fourtf
13c9aabf29
show all irc messages for debugging
2019-09-16 18:01:32 +02:00
fourtf
84b1efcd24
fixes #1304 emote.name eating the .name
2019-09-15 19:05:04 +02:00
fourtf
a390649d0f
added sasl auth
2019-09-15 13:15:29 +02:00
fourtf
22ca20ad2a
renamed TwitchServer -> TwitchIrcServer
2019-09-15 13:02:02 +02:00
fourtf
67ffb0e34b
irc default now uses ssl
2019-09-15 11:36:59 +02:00
fourtf
2a56cef848
added irc authentificate type
2019-09-15 11:35:17 +02:00
fourtf
9bbc4f8a5e
queue for erase/set credentials
2019-09-14 22:58:53 +02:00
fourtf
13d1fab303
credentials are now loaded when needed
2019-09-14 20:45:01 +02:00
fourtf
d33a8b1b3a
now loads passwords for irc
2019-09-14 18:38:09 +02:00
fourtf
eadf5355ee
renamed IrcConnection_ to IrcServerData
2019-09-11 13:51:48 +02:00
fourtf
b20fdc0da6
smol irc fixes
2019-09-11 13:17:36 +02:00
fourtf
2a8c5e654f
saving irc splits now
2019-09-11 00:10:49 +02:00
fourtf
c4d0efacff
added loading and saving of irc servers
2019-09-10 23:55:43 +02:00
fourtf
82f63d2f7e
added send and receive for irc messages
2019-09-10 14:46:43 +02:00
fourtf
fd0c11964e
added new function and classes for irc support
2019-09-09 22:26:14 +02:00
fourtf
9f1a5b900e
fixed single connection code and deleting abstractircserver
2019-09-09 22:22:47 +02:00
Leon Richardt
720e5aa25f
Improvements to Message Search ( #1237 )
...
* Ran clang-format
* Implement user-specific search in message history
This functionality was originally requested in #1236 .
This commit changes the SearchPopup::performSearch method so that only
messages from specific users can be shown.
In order to filter for a specific user, enter their username with a
leading '@' in the search popup. You can also add an additional search
phrase which will also be considered in the search.
* Naive implementation for "from:" tags
Rebase later?
* Cleverer (?) version using Predicates
Commit adds two POC predicates: one for the author of messages, and one
for substring search in messages.
Problems/TODOs:
* Best way to register new predicates?
* Clean up tags (e.g. "from:") or not?
* Test combinations of different predicates
* Add a predicate to check for links in messages
* Remove a dumb TODO
* Rewrite SearchPopup::performSearch to be cleaner
* Ran clang-format on all files
* Remove TODO I missed earlier
* Forgot to run clang-format
peepoSadDank
* Re-use {}-initialization
Was accidentally removed when fixing earlier merge conflict.
* Does this fix line endings?
No diffs are shown locally, hopefully Git doesn't lie to me.
* Rename "predicates" directory to "search"
Resolving one conversation in the review of #1237 .
* Use LinkParser in LinkPredicate
Resolving a conversation in the review of #1237 .
* Predicates: Use unique_ptr instead of shared_ptr
Resolves a conversation in the review of #1237 .
* Refactor of SearchPopup and AuthorPredicate
Resolving some points from the review in #1237 .
* Moved parsing of comma-seperated values into AuthorPredicate
constructor.
* Rewrite SearchPopup::parsePredicates as suggested.
* Deleted now redundant methods in SearchPopup.
* MessagePredicate::appliesTo now takes a Message&
... instead of a MessagePtr.
This resolves a conversation in the review of #1237 .
* Run clang-format on two files I missed
* AuthorPredicate: Check for displayName & loginName
Resolving conversation on #1237 .
2019-09-09 15:21:49 +02:00
Leon Richardt
b6f632701f
Fix merge conflicts
2019-09-08 22:58:17 +02:00
Leon Richardt
b06eb9df83
Normalize line endings in already existing files
2019-09-08 22:27:57 +02:00
fourtf
e1a9a437f1
fixed pingsound not playing sometimes
2019-09-08 21:57:14 +02:00
fourtf
cf23838099
added irc support
2019-09-08 18:06:43 +02:00
fourtf
9f1eb654fd
Merge branch 'master' into apa-bits
2019-09-08 18:02:58 +02:00
apa420
5c602fea94
Resolved review
2019-09-08 16:01:38 +00:00
Rasmus Karlsson
94048595f6
Split parseChannelResponse into two functions: parseModBadge and
...
parseChannelEmotes
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
862164bc2b
make ffz custom mod badge atomic
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
2cd07435bd
Remove more unused includes
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
dbce128cc3
Remove "custom on success" logic from Image.
...
Create a new message element and message layout element type for mod badges.
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
256a65a12e
Load mod badge information from the FFZ API instead of assuming the URL.
...
This lets us load all sizes of the emote if they are available.
Channel with all versions of the mod badge: https://api.frankerfacez.com/v1/room/pajlada
Channel with only one version of the mod badge: https://api.frankerfacez.com/v1/room/apa420
Channel with no mod badge: https://api.frankerfacez.com/v1/room/forsen
2019-09-08 14:08:18 +02:00
apa420
c08eaa4640
Higher cheer tiers now show and added tests
2019-09-08 13:40:11 +02:00
apa420
48fcc1a1a1
Fixed cheers not showing up in chat Fixes #1031
2019-09-08 12:45:25 +02:00
Leon Richardt
a62b7ac094
Add setting for case-sensitivity in highlights
2019-09-07 19:01:52 +02:00
fourtf
9ee286f60f
Fixes #1279 bttv global V3
2019-09-03 23:32:22 +02:00
Rasmus Karlsson
f94b44188d
Use BTTV V3 API
...
Fixes #1275
2019-09-03 15:09:49 +02:00
Rasmus Karlsson
a878ca8062
Remove unused lambda capture to fix warnings
2019-08-31 17:45:13 +02:00
Rasmus Karlsson
7ff567d584
rename "messageReceived" to "readConnectionMessageReceived" to match the "readConnected/writeConnected" and "writeConnectionMessageReceived" functions
2019-08-31 17:44:41 +02:00
Rasmus Karlsson
829c63be51
Change in which "message received" handler IRC commands are handled after the change in CAP REQs.
...
Fixes #1252
2019-08-31 17:41:49 +02:00
fourtf
671c9ed654
fixed commands like /mods not working
2019-08-27 20:45:42 +02:00
apa420
a624d14a4f
Fetch FFZ channel emotes with channel id instead of name
2019-08-27 20:08:17 +02:00
apa420
677017a8bd
Now shows connect and reconnect messages
2019-08-27 19:54:37 +02:00
Mm2PL
1a25c5afe8
Add a switch for follower only mode ( #1241 )
...
* Add a switch follower only mode
* Format the code
2019-08-25 19:08:04 +02:00
pajlada
def839bef9
Merge pull request #1232 from Chatterino/pajlada-manually-send-req
...
manually send req, this ensures we send it before JOIN
2019-08-23 22:37:52 +02:00
fourtf
0577692c99
Updated chatterino badges api
2019-08-23 16:52:44 +02:00
Rasmus Karlsson
ab0d70300c
manually send req, this ensures we send it before JOIN
...
Fixes #1229
2019-08-22 22:04:26 +02:00
fourtf
3b3791e43a
Special message when login expired.
2019-08-21 02:00:42 +02:00
fourtf
7643c0d20d
fixed deleting QTimer on wrong thread
2019-08-20 23:46:27 +02:00
fourtf
14222f84f2
made caller/concurrent rules tighter
2019-08-20 23:46:27 +02:00
fourtf
7697ec01b4
removed old NetworkRequest api
2019-08-20 22:16:17 +02:00
fourtf
18f3a816ed
re-enabled loading recent messages concurrently
...
@pajlada please check if the code can stay commented out
2019-08-13 15:03:33 +02:00
fourtf
294c2aecdc
disabled concurrent loading of recent messages
...
it caused some twitch emotes to load improperly
2019-08-13 13:12:09 +02:00
fourtf
96532be765
removed unused function
2019-08-13 13:02:11 +02:00
fourtf
23f1ec9ac2
Fixed using non existant 2x and 3x versions of ffz emotes and badges
2019-08-13 13:00:16 +02:00
Rasmus Karlsson
e56c90c33d
fix crash in name-colorizer
2019-08-11 22:18:01 +02:00
Rasmus Karlsson
cd5972522b
reformat
2019-08-11 21:08:18 +02:00
Rasmus Karlsson
391d75f208
try to improve readability of the "grayname colorize" function
2019-08-11 21:07:54 +02:00
23rd
da039bfdfa
Added setting to colorize usernames who have not set own color.
2019-08-11 19:48:43 +03:00
Rasmus Karlsson
6e1ee84d90
Allow your own username to be set in "highlight users"
...
Fixes #1181
2019-08-10 13:13:00 +02:00
Rasmus Karlsson
c578cd47e1
Highlight parsing is now done after Ignores have been respected.
...
In the same commit, because I misunderstood the original issue, I also
split out the parsing of the highlights and triggering of the highlight
sounds/alerts into separate functions.
Fixes #1160
I also re-enabled the "sound url changer" that was commented out in an
earlier commit.
Fixes #1170
2019-08-04 14:31:57 +02:00
fourtf
e7d9422431
fixes for last commit
2019-08-01 13:30:58 +02:00
fourtf
aac27c2a0d
Fixes #1162
2019-07-31 23:03:55 +02:00
fourtf
fff979b3c0
lock SignalVector with shared_lock to allow reading on other threads
2019-07-31 22:50:12 +02:00
fourtf
96bed498d0
Fixed warnings in TwitchMessageBuilder
2019-07-27 12:49:45 +02:00
TranRed
d725155569
Added setting and functionality to highlight inline whispers
...
Inline whispers will be displayed with highlighted background color.
New Flag needed to differentiate between normal whisper (highlighted) and whisper with mention.
2019-07-14 16:35:32 +02:00
Ruben Anders
feef6c6aaa
Marked VIP badge as "channel authority" badge ( #1117 )
...
* Marked VIP badge as authority badge
* Added vip.png resource
* Registered VIP icon resource
* Update ResourcesAutogen.cpp
* Update ResourcesAutogen.hpp
* Update ResourcesAutogen.hpp
2019-07-13 15:55:15 +02:00
Rasmus Karlsson
27114c5154
Restore option to disable emote images
...
Condensed into a single option, which will disable/enable all emote and emoji images
Also moved badges into their own element
2019-06-22 14:34:54 +02:00
Rasmus Karlsson
a34e3084df
Clean up emote parsing
2019-06-22 14:22:43 +02:00
ckath
afe5e826a1
fix searchtext format again
2019-05-31 08:58:15 +02:00
ckath
83cf03fb09
format with extra : for user search
2019-05-31 08:58:15 +02:00
ckath
2e9b0cad44
make it possible to search localized names
2019-05-31 08:58:15 +02:00
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