Commit graph

416 commits

Author SHA1 Message Date
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
Lajamerr Mittesdine d82c647edd Fix new emotes not loading properly because of cache (#596)
Fix #595
2018-07-10 17:47:16 +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 712a292d7e renamed class SingalVector -> SimpleSignalVector 2018-06-28 20:27:24 +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
fourtf 63c213a36a fixed spelling of "separate" 2018-06-24 18:32:00 +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 a5983e3876 Fix "addFakeMessage" for privmsgs 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
Rasmus Karlsson 2746f88e49 Load all short codes for emojis, instead of just the first one
Fix #494
2018-06-22 20:43:43 +00:00
Rasmus Karlsson e0ecd97184 another emoji shit test 2018-06-20 21:30:18 +02:00
Rasmus Karlsson c92c3141ba Try out braize pajlada CDN 2018-06-20 20:30:54 +02:00
fourtf 7a54b51cb7 removed the fourtf cdn 2018-06-20 19:32:54 +02:00
fourtf 66c4b4f82b added the fourtf cdn 2018-06-20 19:10:54 +02:00
fourtf 107dc398a8 added caching for bttv and ffz api requests 2018-06-20 09:02:50 +02: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 9f2c4ab59a Make Emojis fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 63c38c02d0 Make FFZEmotes fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 6906d1dc1c Make BTTVEmotes fully conform and use QString instead of std::string 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
Rasmus Karlsson d739fb0df4 Clean up FFZEmotes class 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 09963700ae Clean up BTTVEmotes class 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 f542a5b999 Split up emoji parsing in more steps
Re-enable emoji skin variations
2018-06-06 11:43:02 +02:00
Rasmus Karlsson 7f589803be Disable skin variations for emojis for now 2018-06-06 11:10:03 +02:00
Rasmus Karlsson ba1767ce10 another try forsenT 2018-06-06 12:53:19 +02:00
Rasmus Karlsson 712b1c4f12 make skin variation parsing more resilient 2018-06-06 12:40:26 +02:00
Rasmus Karlsson 334f778f42 Experimental emoji sets implemented
Fixes #376
2018-06-06 01:30:26 +02:00
fourtf 51bde1098e fixed sending whispers from /whispers 2018-06-05 18:51:14 +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 8e70f02e3b Move gif timer stuff to its own class
Clean up unused includes
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 791187e688 Re-implement F5 for fake messages (debug mode only) 2018-06-05 14:08:55 +02:00
Rasmus Karlsson 4b52a98778 Fix mentions tab 2018-06-05 01:13:53 +02:00
fourtf b693779c55 fixed clicking to select split 2018-06-04 21:44:03 +02:00
fourtf d9cb8093cb added a shitty reconnect implementation 2018-06-04 21:37:19 +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
fourtf f695a41c6c fixed unneccessssary connected message and stretching in the highlights
settings
2018-05-08 16:55:20 +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
fourtf d078ef5fe0 added debug logs and code to assert that we are in the gui thread 2018-04-26 18:10:26 +02:00
Rasmus Karlsson d62e45d9dd Add function for getting a Twitch Channel from a server by its ID 2018-04-22 15:36:01 +02:00
Rasmus Karlsson 3dad7e778a Fix emotes not loading properly 2018-04-22 14:38:10 +02:00
fourtf 633c9fa68b Fixes #358 ,fixed messages being highlighted when a subword of a word matched a
highlight
2018-04-21 23:48:32 +02:00
fourtf f58ee01cf5 channels now PART when they are destroyed 2018-04-21 00:40:36 +02:00
fourtf a16a2b0579 added watching channel 2018-04-20 19:54:45 +02:00
fourtf fc78fa23a2 fixed inline whispers lighting up all tabs 2018-04-18 20:38:08 +02:00
fourtf 3446a623f5 added select channel dialog 2018-04-18 09:15:56 +02:00
pajlada 23cf8cc484
PubSub system (#346)
* Add websocketpp dependency

* Initial pubsub commit

Renamed selection min and max variables to selectionMin and selectionMax
to bypass windows min/max macros being stupid.

TwitchAccount is now initialized with its User ID. It cannot be changed
after it has been initialized.

* Update openssl folder

* Update installation instructions

* Split up websocketpp dependency to its own code only and openssl.pri

* Add missing include to asio steady_timer

* Update dependencies for linux
2018-04-15 15:09:31 +02:00
Rasmus Karlsson b7266b1640 Fix warnings that occured on linux using clang 2018-04-14 21:59:51 +02:00
Rasmus Karlsson 0b18a8331a Fix channels not going offline properly 2018-04-14 18:27:13 +02:00
fourtf 2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +02:00
Rasmus Karlsson 990ac651ae Differentiate live streams and vodcasts
Fixes #320
2018-04-08 15:14:14 +02:00
Cranken 2b3fa06539 Fixed live status not updating when channel is online. (#319)
* Fixed live status not updating when channel is online.
2018-04-08 14:45:47 +02:00
Rasmus Karlsson adf3ff3075 Switch some c-style includes to c++-style includes (i.e. stdint.h to
cstdint)

Make MessageElement to a class to fit better with the derived classes.
Make MessageLayoutElement to a class to fit better with the derived
classes.

Remove virtual from override functions

Replace all instances of boost::signals2 with pajlada::Signals. This
lets us properly use clang code model to check for issues.

Add missing virtual destructor to AbstractIrcServer
Add missing virtual destructor to MessageLayoutElement

Remove unused "connectedConnection" connection in TwitchChannel

Fix typo in TrimChannelName function
Fix typo in MessageParseArgs

Replace some raw pointers with unique pointers where it made more sense.
This allowed us to remove some manually written destructors whose only
purpose was to delete that raw pointer.

Reformat: Add namespace comments
Reformat: Add empty empty lines between main namespace beginning and end
Reformat: Re-order includes
Reformat: Fix some includes that used quotes where they should use angle
brackets
Reformat: Replace some typedef's with using's

Filter out more useless warnings
2018-04-03 03:00:34 +02:00
Rasmus Karlsson f820024fd5 Reformat 2018-04-01 16:44:25 +02:00
Rasmus Karlsson d075231081 Added a "CleanChannelName" virtual method to AbstractIrcServer
the TwitchServer implementation makes the channelName full lowercase

Fixes #293
2018-04-01 15:10:15 +02:00
Rasmus Karlsson 58fe1f6dcc Fix typo 2018-04-01 14:56:05 +02:00
Rasmus Karlsson fdea4f32f0 Re-fix timeout message merging
Fix #298
2018-03-31 13:59:17 +02:00
Rasmus Karlsson be66338fe2 General cleanups/reformats
- Clean up imports
- Comment EmojiData
- Reorder TwitchAccount constructor
- Fix typo in TwitchChannel
- Add emoji parsing test code at the bottom of EmoteManager
2018-03-31 13:44:15 +02:00
Rasmus Karlsson d3212b0a59 Fixes the previous "Disabled message" behaviour
Fixes #295
2018-03-31 11:32:29 +02:00
Rasmus Karlsson 5a88f084a3 Add setting to not fetch chatters for bigger streamers
Work on #57
2018-03-30 15:46:47 +02:00
Rasmus Karlsson 1cac80c8ba Changed how the channel live status is stored 2018-03-30 15:42:08 +02:00
Rasmus Karlsson ea21aa5dea reformat/cleanup 2018-03-30 12:37:00 +02:00
Rasmus Karlsson 95878dc7db No longer add username to the completion model in privateMessageReceived
The username is added to the completion model with the
"addRecentChatter" method instead

Moved "NameOptions" stuff from base class Channel to TwitchChannel where
it belongs

Remove unused Channel::getUsernamesForCompletions method
2018-03-30 12:16:12 +02:00
Rasmus Karlsson 4790f68557 make helper function for trimming a twitch channel name from irc 2018-03-25 11:37:57 +02:00
Rasmus Karlsson d9bd39e8a4 Remove "CompletionManager". Completion models are now stored in Channel
Chatters list is now updated every 5 minutes
2018-03-24 12:02:07 +01:00
hemirt ab42a30108 Tabbing (#287)
* change dotted last read message indicator to a line, remove
airbrushgrenade

* sort emotes in tab completion

* implement tabbing usernames

* FeelsOkayMan

* fix emotes and usernames comparing; formatting

* remove private/personal stuff

* change lastmessageindicator back to default verpattern
2018-03-24 11:12:24 +01:00
Nikolai Zimmermann 1d1f40bf44 more reliablitiy 2018-02-12 00:28:28 +01:00
Nikolai Zimmermann e169d37bae Fix Send Duplicate Messages not working 2018-02-12 00:28:28 +01:00
fourtf 54b0d9dda9 renamed ircchannel 2018-02-09 13:33:11 +01:00
fourtf c0247d27e8 renamed irc provider files 2018-02-05 21:28:18 +01:00
fourtf a44758ad23 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-02-05 21:20:38 +01:00
fourtf b351c40d29 refactored irc 2018-02-05 15:11:50 +01:00