Commit graph

96 commits

Author SHA1 Message Date
fourtf 0fed9ca5d2 added add account login back in 2018-05-27 03:17:33 +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 9aa9b90267 fixed /r and tab text alignment 2018-05-25 13:53:55 +02:00
fourtf f72e1b5d82 fixed message expanding not working 2018-05-25 12:45:18 +02:00
nuuls 6ee4945715 fixed mac stuff and added more debug code 2018-05-25 01:31:34 +02:00
fourtf 7b192897da minor fixes 2018-05-16 15:42:45 +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 64160e60af Fix right-clicking of emotes
There are a few more actions that we might want to add at a later date,
      but a simple feature set has been implemented

Fix #386
2018-05-16 03:55:56 +02:00
fourtf 454b6bcb70 added username autocompletions with @ 2018-05-14 17:28:00 +02:00
fourtf a0e33ef9e6 fixed crash when onError is not set 2018-05-14 15:12:09 +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 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
Rasmus Karlsson 98082d1064 Fix compilation issue on GCC 8.1.0
Fix #377
2018-05-12 16:07:03 +02:00
fourtf b83c8e2735 this better compile 2018-05-10 18:18:12 +02:00
Rasmus Karlsson 1381214911 Use non Qt 5.10 method of starting a detached process 2018-05-06 17:24:20 +02:00
Rasmus Karlsson 49458e4fac Add brief description to Streamlink settings page
Add links to Streamlink website and download page to Streamlink settings page
Make streamlink custom path usage more explicit
Change how streamlink runs, it now works perfectly on Linux so that if you don't have a custom path set, it will try to just run "streamlink" in your PATH variable

This needs testing on Windows again
2018-05-06 16:33:16 +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
Rasmus Karlsson b907bf5639 Fix compilation on gcc 2018-04-30 20:35: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
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 49069beed7 reworked commands settings page 2018-04-27 01:11:09 +02:00
fourtf e23ce31e05 improved the highlights settings page 2018-04-26 23:07:02 +02:00
fourtf ea7fcf260c fixed issues for gcc 2018-04-26 20:58:32 +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
fourtf b176dc5295 switched up the settings pages 2018-04-25 20:35:32 +02:00
fourtf 859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +02:00
fourtf 3446a623f5 added select channel dialog 2018-04-18 09:15:56 +02:00
Rasmus Karlsson 5f142e8d52 Add some error checks to Image::loadImage
Add default value to loadedPixmap
2018-04-16 23:48:30 +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
fourtf 2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +02:00
fourtf 86c844c791 added debug information on F10 2018-04-06 16:37:30 +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 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 2d15716b5f Add helper methods to FlagsEnum where I can make sure that it actually works forsenT 2018-03-31 11:23:07 +02:00
Rasmus Karlsson 57e0e85d77 Update a usernames "timeAdded" every time it tries to be added
This keeps "recent chatters" from expiring

Progress on #57
2018-03-30 15:58:05 +02:00
Rasmus Karlsson 89d7b7db87 expire non-recent chatters 2018-03-30 13:51:15 +02:00
Rasmus Karlsson f567f10d10 CompletionModel tagged strings now have types (i.e. bttv emote, name, twitch emote)
Usernames can be overriden (capitalized overrides lowercase, but not the other way around)
2018-03-30 12:06:02 +02:00
Rasmus Karlsson 41fbcc738b Fix and improve Streamlink code
Move streamlink code to its own file

Fixes #275

Untested on linux, but should work decently there as well.
2018-03-24 14:15:27 +01:00
Rasmus Karlsson b2f041989c Move CompletionModel to a more appropriate folder 2018-03-24 12:13:22 +01:00
fourtf b351c40d29 refactored irc 2018-02-05 15:11:50 +01:00