Commit graph

46 commits

Author SHA1 Message Date
fourtf 0f8375a2f3 improved chatterino native 2018-05-28 18:25:19 +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 02b8c34de8 added tooltip to bit badges 2018-05-24 15:42:06 +02:00
fourtf abc2b9724f fixed tooltips not showing over topmost windows on windows 2018-05-24 10:03:07 +02:00
fourtf 4d3437e6d1 fixed timeouts for non moderators 2018-05-17 13:43:01 +02:00
Rasmus Karlsson 15b432a4cf Implement simple ignored phrase system 2018-05-13 19:25:12 +02:00
Rasmus Karlsson 12766f3b60 Fix global emotes from not loading
We didn't called initialize properly on the EmoteManager

Fix #374
2018-05-06 14:36:21 +02:00
Rasmus Karlsson 9c34da7a7b Add missing resources initialize call 2018-05-06 14:01:02 +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
fourtf 4c3f0921e2 changed CommandManager to CommandController 2018-04-30 23:44:01 +02:00
fourtf 13f1caa294 made commands view more abstract 2018-04-30 00:41:58 +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
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
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 98be8aaeff fixed crash 2018-04-25 14:53:54 +02:00
Rasmus Karlsson 1edcfe5219 Add a scrappy timeout message from pubsub in channels now
Progress on #323
2018-04-22 15:47:52 +02:00
fourtf e17a7cc222 added basic last run crash dialog 2018-04-20 00:15:57 +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
fourtf accb88b78e put a header that requires the boost libs into a #ifdef 2018-04-12 00:33:55 +02:00
fourtf 2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +02:00
fourtf cb06579c29 rewrote window saveing/serialization system
fixes #212
2018-04-06 23:31:34 +02:00
fourtf b351c40d29 refactored irc 2018-02-05 15:11:50 +01:00
Rasmus Karlsson 2f0844ebd9 Basic logging implemented
Implemented scuffed logging settings page
Add helper function to PathManager to create an arbitrary folder
2018-01-28 14:23:55 +01:00
Rasmus Karlsson d8ba745a35 Fix command loading and saving
Fixes #203
2018-01-05 02:39:09 +01:00
Rasmus Karlsson 346950d7b7 Add a PathManager that takes care of all paths and creating folders
Move all path/folder-related code from SettingManager to PathManager
2018-01-05 02:38:22 +01:00
Rasmus Karlsson d1458a0db3 Move initSettings to SettingManager
Fixes #205
2018-01-05 02:38:22 +01:00
fourtf 871195265a Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-01-04 02:59:44 +01:00
71db0297b9 added code for the /commands 2018-01-04 02:50:36 +01:00
Rasmus Karlsson df733282be Move highlight phrases to new settings system
Add a setting serialize/deserializer for QString
Add constructor to ChatterinoSetting that doesn't take a default value
2018-01-04 01:52:37 +01:00
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00
Rasmus Karlsson d8c01ce374 Save chats and tabs in new settings system 2017-12-22 14:44:31 +01:00
Rasmus Karlsson 70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +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
86ae71f674 fixed compiling 2017-12-14 00:25:06 +01:00
Rasmus Karlsson a82774543c Fix warnings/reformat some code 2017-08-12 15:58:46 +02:00
Rasmus Karlsson 467ca90fd8 Implement stupid account manager
After logging in, you need to restart chatterino
2017-07-28 19:46:53 +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 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 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