Commit graph

581 commits

Author SHA1 Message Date
Lajamerr Mittesdine
b2d049c782 Revisement 2 of Fixing emote text
Fixing the fix of the fix.
2018-06-05 00:32:11 +02:00
Lajamerr Mittesdine
4430f0b9a9 Revisement of fixing text emotes
Fixing the order of text emotes.
2018-06-05 00:32:11 +02:00
Lajamerr Mittesdine
3c8bb5e9bb Fix a few issues with text emotes.
1. Fix the heart emote text overlay.
2. Added a missing text emote to the replacements.
3. Replace > with >
2018-06-05 00:32:11 +02:00
fourtf
10b0466052 changed scrollbar bg 2018-06-05 00:14:47 +02:00
fourtf
5e7fc909e7 fixed an issue 2018-06-04 21:03:06 +02:00
fourtf
70617e294f added int setting for collapsed messages 2018-06-04 16:34:47 +02:00
fourtf
7ad4e36dbb improved handling of relayouting messages 2018-06-04 16:10:54 +02:00
fourtf
66dab0a6b7 selects correct image when scaling emotes 2018-06-04 15:11:06 +02:00
fourtf
db233ffbdc fixed copying 3x versions of bttv channel emotes 2018-06-04 14:52:21 +02:00
fourtf
5923e30132 fixed emote popup images 2018-06-04 12:48:23 +02:00
fourtf
4a2709cbc3 fixed resub messages 2018-06-04 12:23:23 +02:00
fourtf
04b7cc5ce8 fixed tab name sometimes not changing 2018-06-01 16:01:49 +02:00
fourtf
3a78068810 forgot to commit in a while 2018-06-01 14:20:46 +02:00
fourtf
a3e4c92b9f put the account emotes into groups 2018-05-31 16:20:46 +02:00
fourtf
4f35d8854a made message backgrounds overflow into the scrollbar 2018-05-31 12:59:43 +02:00
fourtf
3c9c3493ae improved the extension 2018-05-30 17:17:27 +02:00
fourtf
e01a3a0978 added some more race conditions to the browser extension 2018-05-29 23:58:37 +02:00
fourtf
fe3ab1f1b9 fixed linux compilation 2018-05-28 19:49:37 +02:00
fourtf
0f8375a2f3 improved chatterino native 2018-05-28 18:25:19 +02:00
fourtf
6156b1f430 added categories to the accountspage 2018-05-28 08:34:54 +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
a48a233785 changed scrollbar highlight color 2018-05-26 17:12:00 +02:00
nuuls
6ee4945715 fixed mac stuff and added more debug code 2018-05-25 01:31:34 +02:00
fourtf
835b6d80da fixed loading issues of saved split layout 2018-05-24 17:13:46 +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
935cd1bab0 Fixes #409 hovering smilies shows the regex emote code 2018-05-23 13:47:22 +02:00
fourtf
65846fe1c7 scaling emotes and badges 2018-05-23 13:31:55 +02:00
fourtf
dafbda6a4a asdf 2018-05-23 04:22:17 +02:00
fourtf
5b26cdaa07 added split resizing and splitting 2018-05-16 15:02:01 +02:00
fourtf
c1a3764f44 added basic new layout 2018-05-16 15:01:11 +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
apa420
3157b10ef2 fixed some functionality, cleaned up and removed an unused QBoolSetting 2018-05-16 01:39:08 +02:00
apa420
26a0d5bc26 Added the functionality of having logs in custom folders as well as resetting the custom path to default. 2018-05-15 19:54:29 +02:00
Rasmus Karlsson
15b432a4cf Implement simple ignored phrase system 2018-05-13 19:25:12 +02:00
fourtf
5fcf42f1fc disabled drop preview animation 2018-05-08 20:35:31 +02:00
fourtf
463a1f1945 added new overlay for splits when you hold alt that does nothing yet 2018-05-08 16:55: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
3e3cbf0415 alternate message colors now work on replaced messages and when
changing channels
2018-05-06 14:57:57 +02:00
fourtf
34a58021bc added basic alternating messages backgrounds 2018-05-06 14:39:27 +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
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
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
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
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
859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +02:00
Rasmus Karlsson
92a19d61cf Add room ID to pubsub moderator actions 2018-04-22 15:37:02 +02:00
Rasmus Karlsson
3dad7e778a Fix emotes not loading properly 2018-04-22 14:38:10 +02:00
Rasmus Karlsson
0718277271 Update settings library version 2018-04-22 14:09:38 +02:00
fourtf
f58ee01cf5 channels now PART when they are destroyed 2018-04-21 00:40:36 +02:00
fourtf
5015633cc7 improved saving of splits and watching split 2018-04-20 22:33:28 +02:00
fourtf
a16a2b0579 added watching channel 2018-04-20 19:54:45 +02:00
fourtf
e17a7cc222 added basic last run crash dialog 2018-04-20 00:15:57 +02:00
fourtf
683c4aed2d added basic version fetching 2018-04-19 22:16:55 +02:00
fourtf
6a46fb0a3f Closes #340 Copying an emoji copies it's :shortcode: instead of the actual emoji 2018-04-18 19:26:24 +02:00
fourtf
3446a623f5 added select channel dialog 2018-04-18 09:15:56 +02:00
Rasmus Karlsson
ea691635a1 Properly force https for the FrankerFaceZ api 2018-04-16 22:51: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
Nikola Forró
d5097e71a3 Show Twitch account emotes in EmotePopup (#348) 2018-04-15 15:05:12 +02:00
Rasmus Karlsson
b7266b1640 Fix warnings that occured on linux using clang 2018-04-14 21:59:51 +02:00
Rasmus Karlsson
387ac9b2f6 Change portable folder to Qt's "Application dir path"
Enable portable mode if there's a "portable" file or folder in the
Application dir path

Fix #334
2018-04-14 15:32:41 +02:00
hemirt
597660af2f fix copying <br>Global/Channel ffz emote after copying a ffz emote (#342) 2018-04-14 15:10:25 +02:00
Rasmus Karlsson
8272b0184d Use https for the frankerfacez api 2018-04-14 15:07:30 +02:00
fourtf
2c5d05dfa1 some fixes for linux 2018-04-13 22:50:19 +02:00
fourtf
b978977e7a fished base communication between browser and chatterino 2018-04-12 01:17:25 +02:00
fourtf
20596ddccd included namespace define as well 2018-04-12 00:40:18 +02:00
fourtf
accb88b78e put a header that requires the boost libs into a #ifdef 2018-04-12 00:33:55 +02:00
fourtf
a221b0757b disabled code that required compiled boost libraries with an ifdef 2018-04-12 00:16:44 +02:00
fourtf
0d2f0b3890 disabled default native messaging registry key installation 2018-04-12 00:09:16 +02:00
fourtf
2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +02:00
fourtf
dff6cbb3e1 fixed split columns not loading properly 2018-04-10 17:14:13 +02:00
fourtf
ad0a1f3c56 Fixed tabs not highlighting on new messages/highlights 2018-04-10 16:53:40 +02:00
fourtf
c744659ce0 Open the last selected tab on restart 2018-04-10 15:59:53 +02:00
fourtf
3484abd4af fixed popups not getting deleted on close 2018-04-08 14:14:55 +02:00
Vilgot Fredenberg
84c577c0dc fixed gcc compile bug 2018-04-07 00:26:40 +02:00
fourtf
cb06579c29 rewrote window saveing/serialization system
fixes #212
2018-04-06 23:31:34 +02:00
fourtf
06c3201a1a added dark window to dark theme 2018-04-05 23:45:17 +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
3dae83e749 Add an EmojiMap which is like an EmoteMap except it contains data for Emojis
Fix emote popup not inserting the correct emoji value on click. It no
inserts the shortcode (i.e. 👌)

Fix #299
2018-04-01 16:44:25 +02:00
fourtf
56f0e5e76a removed the chrome style tabs 2018-04-01 16:42:00 +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
3cdaeb071a Fixes some emojis that wouldn't display properly
Fix #198
2018-03-31 13:14:43 +02:00
fourtf
700b15c483 improved new tabs 2018-03-30 16:26:45 +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
fourtf
ec349f5978 added experimental new tabs 2018-03-30 13:44:01 +02:00
Rasmus Karlsson
dc578a5f29 Add "Timeout action" setting 2018-03-25 11:07:03 +02:00
Rasmus Karlsson
b2f041989c Move CompletionModel to a more appropriate folder 2018-03-24 12:13:22 +01: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
Rasmus Karlsson
ad12a818b2 change around variables names to make things a bit more clear 2018-03-24 11:15:33 +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
Ckat
0423702e50 actually display channel ffz emotes as channel ffz emotes (#279) 2018-03-05 22:37:01 +01:00
fourtf
45dfb151a2 set background color to grey instead of brown 2018-02-09 15:47:11 +01:00
fourtf
c2ac7514da added basic support for displaying sent whispers in the /whispers channel 2018-02-06 00:31:30 +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
Rasmus Karlsson
556dbe0456 Fix whisper receiving
Added setting to display them inline under "Special Channels" page

Store a twitch users color in the TwitchUser struct
this is useful if we ever want to use the users own color.
The users own color is only updated once he has written once in chat

Add helper method for calling function only on normal channels

Fixes #54
2018-02-04 16:33:46 +01:00
Rasmus Karlsson
f9a25171bf Implement logging
Fixes #6
2018-02-03 17:14:56 +01:00
fourtf
74fec12848 Merge branch 'master' of https://github.com/Confuseh/chatterino2 into Confuseh-master 2018-01-28 17:53:16 +01:00
fourtf
3d479e4c83 fixed template compilation on mingw 2018-01-28 15:28:02 +01:00
confuseh
a104e92ad5 Add additional options for streamlink, remove static from qualitypopup
Fixes #261
2018-01-28 14:10:12 +00: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
fourtf
431b9a8c1f Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-01-28 03:39:47 +01:00
fourtf
591ab4d8da simplified message.cpp 2018-01-28 03:29:42 +01:00
fourtf
d33adff5c9 fixed emotes popup emotes 2018-01-27 21:13:22 +01:00
fourtf
8ab0fa4378 Fixes #259 dropping split on + button 2018-01-24 22:09:26 +01:00
fourtf
36b010e046 added custom window frame for windows 2018-01-24 15:08:22 +01:00
fourtf
2b94c4cd33 renamed SharedChannel to ChannelPtr for consistency 2018-01-24 13:15:41 +01:00
fourtf
fa344deaf0 fixed #237 /mentions 2018-01-23 23:28:06 +01:00
fourtf
8a77f918f6 fixed timestamps not updating when changed in the settings 2018-01-23 21:56:25 +01:00
fourtf
f292d2e097 fixed live status being cached 2018-01-23 21:40:51 +01:00
fourtf
dd05ea28fe added basic keyword ignore setting 2018-01-23 21:35:42 +01:00
fourtf
9d8edc4ae0 Fixes #210 aallow duplicate messages behaves weird 2018-01-22 15:24:39 +01:00
Rasmus Karlsson
03ff2205fa test code 2018-01-19 22:45:33 +01:00
fourtf
66e99fd36f renamed and moved asyncexec.hpp to posttothread.hpp 2018-01-19 14:53:57 +01:00
fourtf
de3a490257 added streamview widget 2018-01-19 14:49:21 +01:00
Rasmus Karlsson
702d4b2eec Rework the Account Popup Widget
Fixed Account Popup Widget Follow/Unfollow
Ignoring now also works, but doesn't have the ability to unignore

Add a URL Delete method to the network manager

Fixes #235
2018-01-18 18:20:40 +01:00
fourtf
f3357cf0f4 Fixes #225 fix am/pm for timestamps 2018-01-17 18:36:12 +01:00
fourtf
b3951262c8 messages refresh when toggeling the button 2018-01-17 17:02:34 +01:00
fourtf
e694214243 added toggle for moderation mode 2018-01-17 16:52:51 +01:00
fourtf
01efa1f447 Fixes #233 manual reconnect 2018-01-17 15:07:55 +01:00
fourtf
6d6b99f3ef added moderation buttons 2018-01-17 14:14:31 +01:00
fourtf
db41044daf Fixed #216 bundles connected and disconnected 2018-01-17 03:10:21 +01:00
fourtf
e1ff4c818e added background color to the accountswitchwidget 2018-01-17 02:22:57 +01:00
fourtf
0a3c6e29c7 added Alt+LeftClick to move splits around 2018-01-17 01:20:19 +01:00
fourtf
a190eda075 fixed text selection 2018-01-16 00:26:04 +01:00
fourtf
72abd52831 fixed issue with light theme 2018-01-15 01:47:31 +01:00
fourtf
64553cf27b fixed tabs being colored when the window was unfocused 2018-01-15 01:38:21 +01:00
fourtf
c50e6d7809 started working on a custom window frame 2018-01-15 01:35:35 +01:00
fourtf
bc93ef7214 added settings page for moderation 2018-01-13 03:06:10 +01:00
fourtf
e0bb061c81 refactored the settings dialog 2018-01-12 23:09:27 +01:00
Rasmus Karlsson
584e6e5643 Initial custom and channel-specific cheermote parsing done
Needs more testing once the rendering pipeline is complete again

Fixes #74
2018-01-12 22:16:41 +01:00
Rasmus Karlsson
54502bc8b5 F5 adds a fake message to the IRCManager
current messages have valid cheermotes in them
2018-01-12 20:25:19 +01:00
fourtf
10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
nuuls
1eb256bd4e
fixed < in emote names breaking the <br> and tooltips on mac 2018-01-07 23:47:08 +01:00
nuuls
92cc1f354b
fixed scaling issue on mac and compilation issue 2018-01-07 23:26:11 +01:00
fourtf
57974508d3 set default fonts for macos and windows 2018-01-07 21:06:40 +01:00
Rasmus Karlsson
9fa9d7f0e3 Implement preferred emote quality setting.
This doesn't work super well for Twitch emotes because they don't
conform to a proper emote scaling standard

Fixes #150
2018-01-07 02:59:46 +01:00
fourtf
315cfd8605 bundling timeouts from same user 2018-01-05 23:14:55 +01:00
fourtf
df81a0e5a5 Pause chat while hovering. Fixes #208
Also pauses when clicking with double-click-links enabled and while
selecting text
2018-01-05 11:22:51 +01:00
fourtf
8418e36e49 Fixed a bug where scrolling layouts wrong
It used the wrong with to layout the messages.
2018-01-05 10:41:21 +01:00
fourtf
2fddc0ed8a smoothScrolling for new messages false by default 2018-01-05 03:23:06 +01:00
fourtf
9d2d18ceee fixed settings name collision 2018-01-05 03:16:27 +01:00
fourtf
1606ea648b added smoothscrolling on new message 2018-01-05 03:15:04 +01:00
Rasmus Karlsson
334860dad2 Remove unused appdatapath class
Reformat some code
2018-01-05 03:00:29 +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
c3770707aa reformat commandmanager 2018-01-05 02:38:22 +01:00
Rasmus Karlsson
63d89797d6 Move settings config directory
Fixes #204
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
947589358b fixed #15 2018-01-05 02:05:59 +01:00
fourtf
8693203c6d added command tab to settings but they don't save 2018-01-04 04:03:51 +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
27dacdde36 Disable empty-string sending
Fixes #191
2018-01-04 02:32:24 +01:00
Rasmus Karlsson
9044700ec6 Convert remaining settings to the new settings system 2018-01-04 02:23:59 +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
eb4ba30d9f omited struct names in ThemeManager 2018-01-02 02:21:38 +01:00
3e5937011a the rewrite that nobody wanted 2018-01-02 02:15:11 +01:00
0ef08378cc slight rename in IrcManager 2018-01-01 23:59:39 +01:00
424eeb05d9 Created helper class IrcMessageHandler 2018-01-01 23:54:54 +01:00
330a79f6f1 made message grey out when user it timed out 2018-01-01 23:29:54 +01:00
3fc4ddea56 I hate c++ and everything it stands for 2018-01-01 22:29:21 +01:00
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
ad001431f2 renamed resources to ResourceManager 2017-12-31 02:21:33 +01:00
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00