Commit graph

20 commits

Author SHA1 Message Date
Cranken 223f4af55a Implemented loading recent messages. (#162) 2017-12-27 01:22:12 +01:00
Rasmus Karlsson d182c22a4e Implement duplicate message sending setting
Fixes #142
2017-12-17 15:34:07 +01:00
Rasmus Karlsson 70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
Rasmus Karlsson 3cfb00d61f We now handle some write-connection messages like if users have been banned/timed out successfully by the user, or unbanned etc 2017-12-16 19:47:38 +01:00
Rasmus Karlsson d905e88671 We now handle irc NOTICE messages 2017-12-16 19:20:57 +01:00
Rasmus Karlsson 87203c1120 Add system messages upon connecting/disconnecting 2017-12-16 18:13:40 +01:00
Rasmus Karlsson b13b8a2ce6 Simplify IrcManager connection creation/disconnecting
reword some comments/add some comments about unfitting methods in IrcManager
2017-12-16 17:18:08 +01:00
Rasmus Karlsson bf5e619818 Remove message-spawning tests 2017-12-16 16:33:46 +01:00
Rasmus Karlsson a372bae80d Change the way Twitch accounts are stored in AccountManager
This is done in a way which should simplify abstracting it to other
types of accounts if needed in the future

Remove comment about removing singletons - we're keeping them (and probably restoring some)

IrcManager now updates its "account" reference automatically through the
AccountManager.Twitch.userChanged-signal

Remove unused IrcManager getUser-method

IrcManager::beginConnecting is no longer called asynchronously. This
might want to be reverted in a more controlled asynchronous manner.

User Accounts are now stored as Shared Pointers instead of using
references/copies everywhere
2017-12-16 02:21:06 +01:00
Cranken 881e695189 Added some functionality to the accountPopup (#117)
* Added some buttons.

* Added some more functionality.

* Finished adding button functionality.

* Implemented @fourtf's suggestions.
2017-09-23 19:23:10 +02:00
fourtf 3e24752477 fixed project code style in some files 2017-09-21 12:15:01 +02:00
Rasmus Karlsson 38d118c5dc add debug binding ALT+Q to add test messages to current chatwidget
(every second)
2017-09-17 04:39:30 +02:00
Rasmus Karlsson 8d2e48f944 Implement an advanced method of adding a user to chatterino.
You can now switch between multiple users in the settings dialog.
(Requires a restart for reconnecting etc)
2017-08-19 15:37:56 +02:00
Rasmus Karlsson 3f8c025e64 Store default client id in credentials.hpp 2017-08-19 15:29:36 +02:00
Rasmus Karlsson 3bf111a091 More progress on tab-complete
There are missing parts to the "account-based" emotes that needs to be
completed before emote completion can be considered done. For now, when
I've been testing, I've been manually injecting the oauthClient and
oauthToken to the settings file with the `user_subscriptions` scope
2017-07-23 14:16:13 +02:00
Rasmus Karlsson c5c2718dc0 Use addChat instead of re-implementing the same code (thanks hemirt)
Some refactoring

Updated settings library version
2017-07-02 13:37:24 +02:00
Rasmus Karlsson 7df7da70cb A lot of changes
Remove unused constructor of messages::Message
Fixed LimitedQueueSnapshot _-prefixes
Changed LimitedQueueSnapshot's usage of int to std::size_t
ColorScheme is no longer a singleton
Created a "BaseWidget" class which is pretty much a QWidget except it
has a reference of ColorScheme since most widgets will need a reference
to the style they should use.
BaseWidget can be implemented either with a BaseWidget parent (which
will copy the ColorScheme reference from the parent) or with a
normal QWidget parent and an explicit ColorScheme reference.
Save main window geometry on close
Fix font changing in the Settings Dialog
Update settings library version
2017-06-26 19:53:31 +02:00
Rasmus Karlsson 56e521bc24 Start parsing unknown badges (i.e. game badges)
Prepare channel-specific data to be loaded (i.e. subscription badges)
2017-06-16 10:01:21 +02:00
Rasmus Karlsson 59d383c161 Huge refactor
- Remove some underscore-prefixes
 - Start using this-> more
 - Remove a few of the singletons (We pass references to managers to
         things that need it now. Might not be much better, but for now
         it works. It also shows what places might be slightly wrong
         designed)
2017-06-13 21:27:26 +02:00
Rasmus Karlsson 1c6ff37e76 rename header files from *.h to *.hpp 2017-06-11 09:31:45 +02:00
Renamed from src/ircmanager.h (Browse further)