Commit graph

88 commits

Author SHA1 Message Date
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