Commit graph

3048 commits

Author SHA1 Message Date
fourtf
fff979b3c0 lock SignalVector with shared_lock to allow reading on other threads 2019-07-31 22:50:12 +02:00
fourtf
4e4c7d4c0b Set default username boldness to DemiBold (63) 2019-07-28 20:24:39 +02:00
Rasmus Karlsson
3679125e2f Reformat 2019-07-28 13:21:54 +02:00
Rasmus Karlsson
954b1b138a Add a setting for the timeout stack style:
"Stack" is the default behaviour, it will search 20 messages up and 5
seconds back in time to stack the timeout.
"Stack sparingly" will try to do the same, but only if the user has not
typed a message inbetween the this and the last timeout.

Fixes #1157
2019-07-28 13:21:54 +02:00
Rasmus Karlsson
ba1a56c3b7 Don't early out after replacing a timeout message.
Otherwise, this could lead us to not gray out messages after the timeout we're stacking on

Work on #1157
2019-07-28 13:21:54 +02:00
Rasmus Karlsson
1ae66f3b7d Run newline replacer before sending message input to command executor
Fixes #1123
2019-07-28 12:19:33 +02:00
fourtf
96bed498d0 Fixed warnings in TwitchMessageBuilder 2019-07-27 12:49:45 +02:00
TranRed
54b162afdd removed experimental profile banner code for now 2019-07-25 13:55:37 +02:00
fourtf
39f44d74b3 Added autorun on boot setting for windows. 2019-07-23 23:56:14 +02:00
Rasmus Karlsson
628c64d138 Move "How to" options to their own sub-menu 2019-07-21 13:01:35 +02:00
TranRed
125774ecb2 excluded inline whispers from latest messages in userpopup 2019-07-21 09:36:18 +02:00
TranRed
94ffc66b2a extracted latest messages logic into its own method 2019-07-20 22:42:01 +02:00
TranRed
f417006d6a Added channelView with last messages to user popup
currently uses last messages from that channel - might want to use online logs later (or make a setting for that)
2019-07-20 18:49:17 +02:00
TranRed
dc01cbf2a3 simplified settings page UI
simplfied UI and removed unneccessary code
2019-07-19 17:34:25 +02:00
TranRed
00ad80d93d unscuffed settings tab
removed copy past cody in favor of an itsy-bitsy more flexible solution
2019-07-19 16:20:31 +02:00
TranRed
c45bb144e9 Fixed spinbox ranges 2019-07-19 13:15:50 +02:00
TranRed
7a3673e9f6 changed max custom timeout input to 99
simplicity
2019-07-18 23:34:40 +02:00
TranRed
24faaf8734 created first version of settingstab: Timeouts
scuffed prototype

To-Dos:
- make the UI look cleaner
- clean up copy&pasted coding
2019-07-18 23:02:55 +02:00
TranRed
e64f37d288 Made 8 customizable timeout buttons
changed fixed timeout buttons to be read from settings
2019-07-17 16:50:03 +02:00
TranRed
d3aa3694f2 Merge pull request #1 from TranRed/subbutton
Added Subscribe option to channel menu
2019-07-17 16:49:16 +02:00
TranRed
a768515849 Added Subscribe option to channel menu
Added the option to visit the subscription page of a channel from chatterino
2019-07-16 21:59:04 +02:00
pajlada
fb6a55847d
Merge pull request #1140 from TranRed/inlineWhisperHighlight
Added setting and functionality to highlight inline whispers
2019-07-14 19:32:09 +02:00
pajlada
645f7c74d0
Merge pull request #1139 from RAnders00/patch-4
Add VIP to settings description of badge toggle
2019-07-14 18:51:30 +02:00
pajlada
dd353a56a1
Merge pull request #1136 from TranRed/viewerlist-quickfix
Make viewer list float by default
2019-07-14 18:45:50 +02:00
TranRed
d725155569 Added setting and functionality to highlight inline whispers
Inline whispers will be displayed with highlighted background color.

New Flag needed to differentiate between normal whisper (highlighted) and whisper with mention.
2019-07-14 16:35:32 +02:00
Ruben Anders
667d2dbdda
Add VIP to settings description of badge toggle 2019-07-14 15:31:40 +02:00
TranRed
32d4383d5f Make button "Manage Accounts" open the Accounts tab
fixes #1135
2019-07-14 12:36:53 +02:00
TranRed
6c14fca216 Make viewer list float
- makes viewer list float
- changed Vip to VIP
- added myself as contributor
2019-07-14 11:43:57 +02:00
Ruben Anders
feef6c6aaa Marked VIP badge as "channel authority" badge (#1117)
* Marked VIP badge as authority badge

* Added vip.png resource

* Registered VIP icon resource

* Update ResourcesAutogen.cpp

* Update ResourcesAutogen.hpp

* Update ResourcesAutogen.hpp
2019-07-13 15:55:15 +02:00
Rasmus Karlsson
c483a87605 Right-clicking split header now opens the same menu as the hamburger icon
Fixes #1131
2019-07-13 12:17:42 +02:00
pajlada
fe69dfb5e0
Merge pull request #1108 from tsoding/1100
(#1100) Clean TooltipPreviewImage on SplitHeader enterEvent
2019-06-23 09:32:55 +02:00
rexim
4cde28f29b (#1100) Clean TooltipPreviewImage on SplitHeader enterEvent
Supa quick fix for #1100

Looks like this bug may come back in other places where we use
`TooltipWidget`. For a permanent fix we have to go through all of the
places that touch `TooltipWidget` and check if they clean the preview
image correctly.

It would be better to merge TooltipPreviewImage and TooltipWidget
together and change `TooltipWidget::setText` to be

```c++
void TooltipWidget::setText(const QString &text, ImagePtr image = ptrnull);
```

But it's impossible right now, because TooltipWidget is located in
appbase and `ImagePtr` is not visible there (it's located in the main
chatterino repo). Plus we also need an access to
`getApp()->windows->gifRepaintRequested`.

First step in implementing the permanent fix would be moving
TooltipWidget to chatterino from appbase.

Any thoughts on the situation?
2019-06-22 21:39:59 +07:00
Rasmus Karlsson
27114c5154 Restore option to disable emote images
Condensed into a single option, which will disable/enable all emote and emoji images

Also moved badges into their own element
2019-06-22 14:34:54 +02:00
Rasmus Karlsson
a34e3084df Clean up emote parsing 2019-06-22 14:22:43 +02:00
Rasmus Karlsson
9cb5e3abb3 Fix a bug where tabbing too early would break any future tab completions
Fixes #1107
2019-06-22 13:16:16 +02:00
Rasmus Karlsson
64dc7f5d73 Fix a bug with messages jumping if you were scrolled up
The bug appeared every 100 messages (so whenever a chunk was deleted)

To fix this, we only perform the first chunk offset increment if the
item we deleted was not the last item in a chunk
2019-06-22 13:04:31 +02:00
Rasmus Karlsson
c631434cee Make use of our "Chunk" and "ChunkVector" aliases better 2019-06-22 13:03:57 +02:00
Rasmus Karlsson
8d85b9c071 Override Home and End behaviour.
Home now brings you to the beginning of the message (previously of the line)
End now brings you to the end of the message (previously of the line)
2019-06-21 22:22:43 +02:00
Rasmus Karlsson
406c0b9af8 Stop "up arrow" keyboard event from propagating furthern when we're going through message history
Fixes #1102
2019-06-21 22:15:17 +02:00
apa420
3226ab6c68 ran clang 2019-06-12 00:31:02 +02:00
apa420
70bb63d20f Added option for shift, used clang and made setting uneditable 2019-06-11 22:54:20 +02:00
rexim
f362548e28 (#976) Use int for emotesTooltipPreview 2019-06-12 02:05:18 +07:00
rexim
244252f610 (#976) Make TooltipPreviewImage non-copyable 2019-06-12 02:04:57 +07:00
rexim
483e177a39 (#976) Fix compilation errors
Which were not visible because of incremental build or something
2019-06-12 01:16:56 +07:00
rexim
3838157d82 Extract TooltipWidget updating into a separate class 2019-06-12 01:03:04 +07:00
rexim
3f4d3ce14a (#976) Make currentPreviewImage shareable between ChannelView-s 2019-06-12 00:22:26 +07:00
rexim
e1a901aa98 Adjust tooltip size after setting the text 2019-06-11 23:20:04 +07:00
rexim
0fb16d150b Preview images instead of emotes 2019-06-11 23:20:04 +07:00
rexim
a84716547b Animate gifs in the tooltip preview 2019-06-11 23:20:04 +07:00
rexim
94e705ec1b Inject Emotes into TooltipWidget directly 2019-06-11 23:20:04 +07:00
rexim
8b79faf958 Make Emotes Tooltip Preview disablable in the Settings 2019-06-11 23:20:04 +07:00
rexim
a569985315 Remove dead code 2019-06-11 23:20:04 +07:00
rexim
7251a20dfb Get the biggest version of emote from EmoteElement 2019-06-11 23:20:04 +07:00
rexim
959aa4616f pixmap() -> imagePreview() 2019-06-11 23:20:04 +07:00
rexim
aa4e7f13e7 Get rid of dynamic_cast 2019-06-11 23:20:04 +07:00
rexim
cbb1ec2d7a Remove dead code 2019-06-11 23:20:04 +07:00
rexim
f002d44370 If hover over ImageLayoutElement show the preview of image 2019-06-11 23:20:04 +07:00
rexim
d4a6defed6 Introduce a way to extract QPixmap from ImageLayoutElement
Probably should be a part of MessageLayoutElement interface, but good
for now
2019-06-11 23:20:04 +07:00
23rd
d2645b03f8 Added Preferences item in menu bar for OS X. 2019-06-10 12:43:37 +02:00
TranRed
5c350de329 overrides QTextEdit insert methods
fixes Chatterino#635
prepares for future implementation of Chatterino#79

Was a little bit hard to find the right combination for now. Pasting images from clipboard surpasses the check for dragging images in canInsertFromMimeData OMGScoots
2019-06-10 12:20:45 +02:00
apa420
99045e42da Adds support for /user 2019-06-09 10:08:04 +02:00
apa420
74d55941a0 added usercard button to link to twitch's userbutton 2019-06-09 10:08:04 +02:00
ckath
afe5e826a1 fix searchtext format again 2019-05-31 08:58:15 +02:00
ckath
83cf03fb09 format with extra : for user search 2019-05-31 08:58:15 +02:00
ckath
2e9b0cad44 make it possible to search localized names 2019-05-31 08:58:15 +02:00
Rasmus Karlsson
b872f83c9e add missing files pepega 2019-05-26 21:48:45 +02:00
Rasmus Karlsson
8ba8bbeef6 Move environment variable parsing and storage to its own class
Make the Link resolver and Twitch emotes set resolver urls modifiable with
environment variables
2019-05-26 21:44:37 +02:00
Rasmus Karlsson
e1483bfd8a Make Twitch message history loading optional (On by default) 2019-05-25 11:24:10 +02:00
Rasmus Karlsson
79e4e05a4a Fix compilation issue 2019-05-25 11:23:58 +02:00
Ruben Anders
9dbe66a19b Change emote parsing order to FFZ -> BTTV -> GlobalFFZ -> GlobalBTTV
Fixes #877
2019-05-25 10:58:51 +02:00
Rasmus Karlsson
0263248668 Add attribution for Twitch emote data provided by twitchemotes.com 2019-05-21 22:53:40 +02:00
fourtf
42cb0e4ec3 Removed left padding from general settings page 2019-05-19 01:03:31 +02:00
apa420
9a7365821d Fixed issue #1071 (#1073) 2019-05-18 17:37:26 +02:00
Rasmus Karlsson
8bf9fc92c3 Add a != operator to match the Prefix's == operator 2019-05-11 14:17:52 +02:00
Rasmus Karlsson
ee9b0f4c12 Fix tab completion
Fixes #813

This has the "quirk" of not updating names that are already there, which
means that display names might not always be used, instead the users
lowercase name might just be there and stick
2019-05-11 14:17:24 +02:00
Rasmus Karlsson
2492a0ba21 reformat usernamset 2019-05-11 13:59:03 +02:00
Rasmus Karlsson
1a7a5409ab do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
Rasmus Karlsson
fa6c9f2fba make paths cachedirectory formatting nicer 2019-05-10 23:28:05 +02:00
apa420
834b1f3c53 Option to hide system moderation messages (#1066) 2019-05-10 23:16:34 +02:00
apa420
3ea496a99b Added boldness adjustment for fonts (#1057)
* Added boldness adjustment for fonts

* Moved setting and changed description of it
2019-05-10 22:37:44 +02:00
hemirt
c43c1dc207 Adds option to mute ping sound for specific channels (#990)
Co-Authored-By: hemirt <hemirt@hemirt.com>
2019-05-10 22:36:37 +02:00
23rd
9654650bee Renamed variables to clear some warnings. 2019-05-10 22:18:05 +02:00
23rd
efec76df5b Removed unused local vars. Slightly refactored code. 2019-05-10 22:18:05 +02:00
hemirt
411502de44 fix comments 2019-05-07 20:28:01 +02:00
hemirt
4f5e3f6a27 fixes #1058 2019-05-07 20:28:01 +02:00
hemirt
23921f3fed show whispers notices 2019-05-07 20:28:01 +02:00
hemirt
bc8175d9ce fix #1053 2019-05-07 20:28:01 +02:00
hemirt
add312b609 fix #1062 2019-05-07 19:35:56 +02:00
Alexandr Kondratev
14eb302c3d Close search popup window on Escape pressed 2019-05-06 21:16:40 +02:00
23rd
a3f6d2b773 Fixed display of text in Go to Bottom button for Retina screen. 2019-05-04 11:55:41 +02:00
TranRed
cff1aa0959 changed some variables to const 2019-05-04 11:40:52 +02:00
TranRed
7ad6db550d made links in system messages clickable
needed to make sub ticket in sub only chat accessible.
2019-05-04 11:40:52 +02:00
Rasmus Karlsson
30430b0fb3 this ctor was used to create a system message
we now only use the ctor that takes an explicit SystemMessageTag
2019-05-02 00:28:53 +02:00
TranRed
b5efe12f56 renamed enum ToastReactions to ToastReaction (singular) 2019-05-02 00:01:18 +02:00
TranRed
cd1f717c36 deleted dead code
not needed anymore since latest commit
2019-05-02 00:01:18 +02:00
TranRed
a592a3e882 Connected ComboBox to currentIndexChanged
implemented proper connection to combobox (currentIndexChanged instead of currentTextChanged)

Thanks, pajlada! FeelsGoodMan
2019-05-02 00:01:18 +02:00
TranRed
2a590adba7 Implemented requested changes
changed setting from String to int.
changed EnumCase

I used createComboBox only has an implementation that handles stringsettings. I implemented my own combobox to handle the ToastsSettings now. Not sure if this is the best way. Won't come up with something smarter for now.
2019-05-02 00:01:18 +02:00
TranRed
c20629c165 Refactored opening from toasts
implemented maps and map look up functions
2019-05-02 00:01:18 +02:00
TranRed
d749a4771a made CommonTexts.hpp look like other headers 2019-05-02 00:01:18 +02:00
TranRed
f76df80575 creates common texts for opening streams
Texts for opening streams were used in multiple locations. Created a file to store GUI texts like this and replaced were applicable
2019-05-02 00:01:18 +02:00
pajlada
01082b123f
Merge pull request #1050 from apa420/apa-pubsub-fix
Changed to ref for better performance #1049
2019-05-01 22:36:32 +02:00
pajlada
8aa2d42ca9
Merge pull request #1045 from TranRed/patch-3
Added {message} parameter for moderation buttons
2019-05-01 22:35:07 +02:00
apa420
8d80eab649 Changed to ref for better performance 2019-05-01 22:28:46 +02:00
pajlada
216b21e0c3
Merge pull request #1049 from apa420/apa-pubsub-fix
Pubsub messages now go into the correct channel
2019-05-01 22:22:03 +02:00
Rasmus Karlsson
effe91badc clean up magic message suffix stuff 2019-05-01 22:10:51 +02:00
apa420
c60b717b98 Pubsub messages now go into the correct channel 2019-05-01 21:46:53 +02:00
TranRed
b33478d8c6 stored original message text in message 2019-05-01 16:43:52 +02:00
TranRed
bbf649bf70
Added {message} parameter for moderation buttons 2019-05-01 16:08:45 +02:00
TranRed
34f820be18 implemented fallback logic for corrupted window layout (#1039)
* fallback logic for corrupted window layout

1. before saving the window-layout a backup will created to avoid corruption due to crashes while saving

2. when starting chatterino and the window-layout file returns and empty window layout (due to corruptio) the backup will be read and the layout will be build from this data

* Update WindowManager.hpp

* used QSaveFile instead of crude custom implementation

* implemented suggested feedback from review

* proper method call

was tired and slightly drunk Kapp
2019-05-01 09:58:13 +02:00
pajlada
ad559f9d97
Merge pull request #1038 from hemirt/master
remove unprofessional (puke) inside comments
2019-04-29 20:59:16 +02:00
hemirt
e0e7d366d3 remove useless comment 2019-04-29 20:33:04 +02:00
hemirt
56956eea58 remove weeb hate 2019-04-28 23:23:04 +02:00
pajlada
77f57bcff2
Merge pull request #1012 from apa420/apa-deleted-messages
Added support for single deleted messages
2019-04-28 12:51:57 +02:00
apa420
ae0122e389 Added a message when an invalid /delete appears 2019-04-28 11:31:34 +02:00
apa420
3c1d264689 Added trashcan, replaced messageID var with this-message().id, removed pubsub stuff that didn't belong 2019-04-28 02:25:05 +02:00
23rd
53640a9097 Fixed display of text message in empty tabs for Retina screen. 2019-04-27 14:19:03 +03:00
tetyys
40b4c2fefc Change to new character to make duplicate message error bypass work again 2019-04-27 00:31:15 +03:00
pajlada
a5a0ad59b8
Merge pull request #1017 from TranRed/nightly
Opening streams from toast + quickfix highlights in light theme
2019-04-26 23:02:48 +02:00
Rasmus Karlsson
3113513290 remove stupid log message 2019-04-23 09:10:34 +02:00
TranRed
ac1957ff68 Quick fix for highlighting in light themes
set defaults for highlighting colors. Only use "hidden setting" when populated.
2019-04-22 18:32:58 +02:00
TranRed
ad38d0ca1c Added setting for opening streams from toast
Implemented #710

Added options for opening streams from clicking the toas notficiation: (according to options in splits)
- open in browser
- open player in browser
- open in streamlink (needs to be tested, but should in theory work, since I only use the already existing function)
- don't open the stream (in case someone wants to prevent opening streams "by accident")
2019-04-22 09:03:52 +02:00
apa420
4f79d6fc07 Added deleted messages, will also add the disabled tag to denied automod messages 2019-04-19 22:44:02 +02:00
fourtf
9be0d7d458 removed red stripes and connected tape cut visuals 2019-04-17 17:02:13 +02:00
pajlada
97faec15e0
Merge pull request #979 from hemirt/whispers
do not disable whispers on clears and timeouts
2019-04-16 15:06:42 +02:00
pajlada
d846b723c7
Merge pull request #983 from Ckath/savemoderation
Save chat moderation state in splits
2019-04-16 14:57:45 +02:00
pajlada
0737922915
Merge pull request #998 from apa420/apa-remove-moderated-messages
Option to hide moderated messages (timed out messages)
2019-04-16 14:38:20 +02:00
apa420
817c40d733 Added continue for readability and removed to hide moderated messages 2019-04-16 14:36:15 +02:00
pajlada
43504114b5
Merge pull request #994 from apa420/apa-after-x-lines
Made wording more consistent in generalpage
2019-04-16 14:33:01 +02:00
apa420
ac9106e2f5 Will now also remove the messages when the timeout occurs, it's a bad implementation of it though, should be better 2019-04-15 22:55:10 +02:00
pajlada
d7f0bcd80a
Merge pull request #977 from Cranken/master
Made links clickable in sent whispers.
2019-04-14 17:15:09 +02:00
pajlada
695d200d79
Merge pull request #1007 from pphop/pphop-show-ignored
Show ignored users messages anyway setting
2019-04-14 16:59:40 +02:00
pphop
e4d3e6de7f requested changes 2019-04-14 19:57:41 +05:00
pajlada
a1918144e4
Merge pull request #1002 from RAnders00/mod-action-channel-replacement
Mod action channel replacement
2019-04-14 16:50:41 +02:00
Rasmus Karlsson
de4bc02b66 Add ability to easily swap out the recent messages API with your own
Environment variable: CHATTERINO2_RECENT_MESSAGES_URL

For now, the API structure of the recent messages API is undocumented,
    but once it's released it will have some documentation that
    describes how to run it yourself, and it should be easy enough to
    just make your own API that fits
2019-04-13 19:23:11 +02:00
Rasmus Karlsson
8b3867fa7d Switch to v2 of RAnders00's recent-messages API, so we support showing
old sub messages and stuff
2019-04-13 19:14:58 +02:00
Rasmus Karlsson
a4cba22bcb reformat 2019-04-13 16:38:01 +02:00
Rasmus Karlsson
13475332fb Adds VIP rate limit support
Closes #875
2019-04-13 15:26:47 +02:00
pphop
320d74b287 implement show ignored users setting 2019-04-13 01:12:39 +05:00
pajlada
ef81029374
Merge pull request #1003 from Ckath/fixscale
stop emotes from being cut off (pajlada-dev)
2019-04-11 16:14:07 +02:00
Ruben Anders
00d4fbf9ed Add {channel} replacement 2019-04-11 12:21:11 +02:00
apa420
562bdae09f Option to hide moderated messages (timed out messages) 2019-04-10 15:32:18 +02:00
apa420
12600b553f Made wording more consistent in generalpage 2019-04-05 21:39:04 +02:00
ckath
a2fa1bad6b disable requests to resolve link info when its disabled 2019-04-04 12:06:19 +02:00
ckath
fac1a6d00c comply to style guies 2019-04-04 11:51:18 +02:00
ckath
b3af777382 add back settings for hiding buttons 2019-04-04 11:51:18 +02:00
Rasmus Karlsson
81a4bff131 Implement Randers00's recent-messages API (WIP) 2019-04-04 11:47:54 +02:00
ckath
66294ed99b add account switcher popup flag for linux 2019-04-04 11:41:12 +02:00
hemirt
da1b2f91d9 add broadcaster and vips to viewers list and chatters list (#991) 2019-04-04 11:30:50 +02:00
Ruben Anders
28967cb014 Add broadcaster + VIPs to tabbable users 2019-04-04 11:29:16 +02:00
ckath
9ca4befd9b Save chat moderation state in splits 2019-03-24 15:38:09 +01:00
ckath
b49c21a515 change comment to original so it doesnt cause a change 2019-03-23 23:55:11 +01:00
ckath
1c8373432c but dont fuck up the (dis/re)connected messages 2019-03-23 23:49:55 +01:00
hemirt
d6c5dd6d6c do not disable whispers on timeout
changed order to short-out the if clause when its not the correct user
of the message
2019-03-20 20:59:57 +01:00
hemirt
1a1d0f305c make whispers not disabled on clear 2019-03-20 20:53:24 +01:00
Cranken
497c958485 Made links clickable in sent whispers. 2019-03-13 15:26:55 +01:00
Rasmus Karlsson
777ac017df add vim bindings to split input movement 2019-03-02 09:37:43 +01:00
pajlada
3f41dfeff9
Merge pull request #965 from moe-ka/master
Fix for inline whispers being logged
2019-03-02 09:37:09 +01:00
pajlada
d739cb72d9
Merge pull request #966 from hemirt/master
Use ffz/bttv channel emotes for chatrooms
2019-03-02 09:31:29 +01:00
hemirt
3c01af9805 changes and fix displayname of 'is live' message 2019-03-01 21:18:32 +01:00
apa420
2948f3cc8b Added the broadcaster to the viewerlist close #967 2019-03-01 18:08:21 +01:00
hemirt
ec6b26cd23 fix log message 2019-02-28 19:26:32 +01:00
moe-ka
26592c082f check for none overriding flags 2019-02-28 05:08:46 +00:00
moe-ka
8516082191 fix lambda captures 2019-02-27 19:26:19 +00:00
moe-ka
3ddac8b12a More accurate name for flag (MessageFlag::DoNotLog), disable logging for
sent whispers.
2019-02-27 18:30:26 +00:00
moe-ka
89f3a3f3ea fixes #952 (replaced unused 'Notification' MessageFlag) 2019-02-27 15:14:25 +00:00
hemirt
aef5f6bfd7 add : character to chatrooms 2019-02-26 21:02:53 +01:00
hemirt
e1ed3553b5 chatroom emotes 2019-02-26 21:00:57 +01:00
hemirt
63b22ecf1d HistoricMessageAppearance
Merge branch 'master' of https://github.com/fourtf/chatterino2
2019-01-30 16:00:45 +01:00
pajlada
11a6345247
Merge pull request #935 from apa420/apa-red-timeoutmessages
Option to disable the red stripes on greyed out messages
2019-01-29 18:36:05 +01:00
apa420
bf57dff4bc
Formatting to clang standard 2019-01-29 18:34:03 +01:00
apa420
fa67cdb928
Grammar 2019-01-29 18:32:24 +01:00
apa420
88b1122369 added an option to disable the red stripes over timed out messages 2019-01-29 18:23:43 +01:00
hemirt
441f6189a1 Historic messages behaviour
"Crossed and Greyed" -> default (and is current default)
"Crossed" -> just crossed
"Greyed" -> just greyed
"No change" -> no change in appearance
2019-01-27 22:15:59 +01:00
pajlada
498fb3717e
Merge pull request #927 from fourtf/pajlada-unremove-wordflagslistener-cb
Unremove wordflagslistener
2019-01-25 22:59:06 +01:00
pajlada
e6d5ede483
Merge pull request #931 from apa420/apa-fixed-automod-names
If bold usernames was ticked it wouldn't show who the automod caught
2019-01-25 14:20:38 +01:00
apa420
ee0b115484 If bold usernames was ticked it wouldn't show who the automod caught 2019-01-25 14:19:09 +01:00
pajlada
7b51123dad
Merge pull request #929 from apa420/apa-move-turbo-badge
Moved turbo badge to vanity
2019-01-24 11:44:38 +01:00
Rasmus Karlsson
be881f17f4 fix scuffed switch 2019-01-23 18:07:36 +01:00
apa420
bb840da988 Moved turbo badge to vanity 2019-01-23 17:52:53 +01:00
apa420
c87114a640 rewrote the cases with enums 2019-01-22 23:20:43 +01:00
pajlada
9629322ce7
Merge pull request #925 from apa420/apa-automod-implementation
Automod implementation
2019-01-22 22:45:34 +01:00
pajlada
5311356bed
Merge pull request #922 from apa420/apa-saving-highlighted-users
Fixed the highlighted user saving the name after chatterino closes
2019-01-22 22:24:48 +01:00
pajlada
5863b0aab2
Merge pull request #888 from 23rd/patch-21-userinfo-in-search
Fixed moderation buttons in UserInfoPopup from SearchPopup.
2019-01-22 22:23:50 +01:00
pajlada
b09e87f837
Merge pull request #914 from hemirt/surrogatepairs
Surrogatepairs
2019-01-22 22:22:03 +01:00
Rasmus Karlsson
250ef077da Unremove wordflagslistener
this relies on appbase#1 PR
2019-01-22 22:15:38 +01:00
apa420
1434225603 Implemented AutoMod and write pubsub automod messages TODO: implement that the AutoMod message gets deleted if dealt with \nFixes #887 2019-01-21 18:33:57 +01:00
apa420
cd5c373e01 smol commit, idk if I will continue this 2019-01-20 17:03:45 +01:00
apa420
e9bd9ddb8e smoler commit 2019-01-20 16:28:25 +01:00
apa420
cc5528ec18 smol commit 2019-01-20 16:07:31 +01:00
apa420
7aa798f924 Forgot to add some small stuff 2019-01-20 14:47:04 +01:00
apa420
7067b0503d Added more functionality and clickable deny and accept buttons that don't do anything, this also fixes the issue with the background not working properly 2019-01-20 14:45:59 +01:00
apa420
0b2480d715 Added a bunch of stuff, we now collect all the pubsub automod messages and also displays a caught message to a mod 2019-01-20 01:02:04 +01:00
apa420
aca95788d0 Fixed the highlighted user saving the name after chatterino closes #921 2019-01-19 15:45:25 +01:00
Ruben Anders
ae18f35dfb Use secure IRC connections 2019-01-01 22:01:42 +01:00
Chronophylos
65cae23957 made highlights not black anymore 2019-01-01 21:58:08 +01:00
Kllrt
0cf0842b99 Changed both "BTTV" entries for emote tooltip to "BetterTTV"
4HEad
2019-01-01 21:56:54 +01:00
Kllrt
0fcb98eed1 BTTV changed to uppercase 2019-01-01 21:56:54 +01:00
23rd
0d48c04d8a Made cleanUpCode() as static TwitchEmotes's method. 2019-01-01 21:48:30 +01:00
23rd
23458aa1df Fixed copying of emotes with '< >' symbols. 2019-01-01 21:48:30 +01:00
ckath
11f01947a7 stop emotes from being cut off 2018-12-14 22:40:56 +01:00
Rasmus Karlsson
8bcd27cedf fix rich text being accidentally parsed through message history in split text input 2018-12-09 00:26:37 +01:00
Rasmus Karlsson
10325518f7 escape title and game in tooltip 2018-12-09 00:21:24 +01:00
fourtf
fc93d7b738 added wip effect for (dis/re)connected messages 2018-12-04 21:07:55 +01:00
fourtf
96328a5e25 fixed pausing while 1k messages are in the channel 2018-12-04 08:56:07 +01:00
hemirt
88cffb1949 show users in ignore page sorted 2018-12-02 22:59:18 +01:00
fourtf
bdbdfe3db3 updated appbase version 2018-12-02 19:23:23 +01:00
fourtf
bd8fab7e68 fixed redraw issue 2018-12-02 19:20:14 +01:00
fourtf
0d4d301aa0 added pausable property to ChannelView 2018-12-02 18:37:51 +01:00
fourtf
2e68852768 made some things scale 2018-12-02 18:26:21 +01:00
fourtf
0e242202a4 minor improvements 2018-12-02 17:49:15 +01:00
23rd
8ec328f352 Fixed moderation buttons in UserInfoPopup from SearchPopup. 2018-11-27 21:29:59 +03:00
fourtf
52dcc2130e moved more stuff into appbase 2018-11-25 21:14:42 +01:00
fourtf
0b94d0f763 made appbase compile standalone 2018-11-25 15:02:48 +01:00
fourtf
a9ca33f431 moved stuff from chatterino to appbase 2018-11-23 17:51:55 +01:00
fourtf
38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf
cf26f10b80 initial appbase integration 2018-11-21 21:37:41 +01:00
hemirt
a5bed6d7e4 remove unused variable, format 2018-11-17 11:09:31 +01:00
hemirt
d2e43d78fc fixes twitch emotes position
changes the position in unicodepoints to position in char16 array
(qstring)
2018-11-17 11:00:44 +01:00
hemirt
27eb2d8abc fix surrogatepairs messing position of emotes to be removed (mismatch
between actual position, and position in unicode codepoints)
2018-11-15 21:14:58 +01:00
Rasmus Karlsson
9472283d76 fix twitch global badge tooltip and url 2018-11-15 00:52:54 +01:00
Rasmus Karlsson
90309d00ea attempt to load global badges if no channel badge fits
Progress on #875 - Badges now render properly. this should also fix some
other global badges not rendering
2018-11-15 00:43:05 +01:00
fourtf
d8fcc1a3ed small refactor 2018-11-14 17:27:08 +01:00
Rasmus Karlsson
0f9ef9d0aa Fix a bug with twitch channels and the livestatusChanged signal 2018-11-10 14:30:19 +01:00
23rd
dcda714715 Moved "below" button displaying in performLayout method. 2018-11-05 14:51:33 +01:00
23rd
a0ba2154ae Replaced caller in LogsPopup.cpp. 2018-11-05 11:39:54 +01:00
fourtf
d3003c171a unpause when leaving the channelview 2018-11-03 22:02:52 +01:00
fourtf
6416bf3927 alternate color for historic messages 2018-11-03 21:40:48 +01:00
fourtf
5453c65f0f implemented pausing on hover 2018-11-03 21:26:57 +01:00
Rasmus Karlsson
bcebfca477 make /logs command better
previously you had to have a split open with the channel, that's not
required anymore.
2018-11-03 15:37:56 +01:00
Rasmus Karlsson
b469c24154 Support commands with spaces 2018-11-03 14:52:38 +01:00
Rasmus Karlsson
a4fd7b5366 Move settings into a separate JSON file.
This will unfortunately mean losing your commands, but they can be restored by
converting the old commands.txt format into the commands.json file

Fix #372
2018-11-03 13:37:09 +01:00
Rasmus Karlsson
221ec4f1e8 revert a setting-related change 2018-11-03 13:22:47 +01:00
Rasmus Karlsson
ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00
fourtf
9ced50e94e improved alternate bg and seperator line 2018-11-01 18:04:14 +01:00
fourtf
2faf24e3d5 improved rendering of notebook tab with scaling 2018-11-01 10:16:55 +01:00
fourtf
5e69354178 added two missing settings 2018-10-31 21:23:19 +01:00
fourtf
7b06405a1c allowing editing the timestamp freely 2018-10-31 21:13:01 +01:00
fourtf
246f999a40 improvements on settings dialog 2018-10-31 20:57:29 +01:00
fourtf
33ecc2759d fixed compilation on linux 2018-10-31 20:40:57 +01:00
fourtf
3c3be99177 new settings page 2018-10-31 19:49:15 +01:00
fourtf
a0b6e4bb76 Fixes #756 2018-10-29 22:11:42 +01:00
fourtf
d500ab59ea added setting for compact emotes Fixed #821 2018-10-29 21:48:15 +01:00
Ckat
dd8e8ad960 fix ctrl not registering with numlock enter (#834) 2018-10-29 21:16:17 +01:00
23rd
69233b77ff Fixed Unmaximize button in title bar for Windows. (#845)
* Fixed Unmaximize button in title bar for Windows.

* Clang-formated BaseWindow.cpp.
2018-10-29 21:12:24 +01:00
Ckat
70a5a62777 save settings after clicking ok (#846) 2018-10-29 19:20:23 +01:00
fourtf
3df9850da7 fixed wrong scale value 2018-10-29 18:41:46 +01:00
Felix Schmid
c11d151b83 fixed pause on mouse hover 2018-10-27 11:15:39 +02:00
hemirt
9705570c98 render emoji short codes 2018-10-27 11:10:34 +02:00
hemirt
8adb2d340d parse emojis in whispers 2018-10-27 11:10:34 +02:00
hemirt
c8f85b7755 render emojis on sent whisper 2018-10-27 11:10:34 +02:00
apa420
7467e1d0e2 Properly displays mentions in splitheader-tabs even if 'enable highlighting on new message' is disabled 2018-10-27 10:54:27 +02:00
23rd
f3235d036d Refactored LogsPopup. (#838)
* Replaced 3rd party getting channel ID with own implementation.

* Removed useless roomID_ from LogsPopup.

* Refactored channelName_ in LogsPopup.

* Cleaned up LogsPopup.

* Removed getRoomID() method in LogsPopup.
2018-10-27 10:53:12 +02:00
23rd
06e3fabfe4 Added closing LogsPopup with QMessageBox. 2018-10-27 10:47:58 +02:00
23rd
fb14e1f88a Removed second unnecessary getLogviewerLogs() call. 2018-10-27 10:44:17 +02:00
apa420
85c1a1dbac Ability to click error message when not providing correct account info, Fixes #488 2018-10-27 10:41:26 +02:00
ckath
65f54ebac3 load custom badges for old chat as well 2018-10-27 10:31:01 +02:00
pphop
92cc283160 removed unnecessary network request (#828) 2018-10-25 23:27:45 +02:00
pphop
3c9bcd581a custom ffz moderator badges (#827) 2018-10-25 21:53:03 +02:00
hemirt
c13a88e3b6 custom theme multiplier support (#825) 2018-10-25 21:52:12 +02:00
hemirt
c176d836af render bttv/ffz global emotes in incoming whispers, bttv/ffz/twitch (#824)
emotes in outgoing whispers
2018-10-25 21:51:55 +02:00
pphop
02eeedb338 added toggle for greying out historic messages (#822) 2018-10-25 21:47:52 +02:00
pphop
0e96caad5f fixed badges scaling with emote scaling slider 2018-10-24 22:39:52 +05:00
Rasmus Karlsson
5497fec839 fix another link-resolver related crash (non auto url unshort-related) 2018-10-24 11:36:36 +02:00
TranRed
6ee7b1ef1f fixed broken "show message length" (#820)
* fixed broken "show message length"

This should fix #818. Didn't build and don't really know c++ #yolo #pleasereview #kappa

* Update SplitInput.cpp

removed a useless space that was created by copy pasting
2018-10-24 10:33:35 +02:00
Marco Schmid
c49f17cc07 help text added for f5 2018-10-23 20:08:00 +02:00
Marco Schmid
0f85999b4c changed debug keybing to f6, f5 is now for refreshing 2018-10-23 20:08:00 +02:00
Marco Schmid
077e2e089d reload working fine with f6, f5 seems to be special 2018-10-23 20:08:00 +02:00
Rasmus Karlsson
0f44a2e0f4 re-enable link resolver, but fix the underlying issue in the "link changed" signal.
The feature itself still doesn't work for me, but this code does the same thing.
only thing that's really different is it also disconnects the signal properly once
the TextLayoutElement is deleted
2018-10-23 10:32:13 +02:00
fourtf
afee4d9d37 disabled LinkResolver due to it crashing 2018-10-22 19:57:34 +02:00
fourtf
25aab4cdeb rename tab on double click 2018-10-22 19:57:02 +02:00
fourtf
3db0b5f95c open settings when right clicking moderation button 2018-10-21 16:13:26 +02:00
fourtf
1872163ec4 Open settings when clicking moderation button and no moderation actions are found 2018-10-21 15:32:28 +02:00
fourtf
27ac236115 grey out historic messages 2018-10-21 14:45:42 +02:00
ckath
e900b10e0c save messages sent with ctrl enter to history as well 2018-10-21 14:36:33 +02:00
fourtf
e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
fourtf
c6e1ec3c71 disabled red background in #mentions 2018-10-21 13:29:52 +02:00
fourtf
f4cf464ddb fixed issues with surrogate pairs in text selection and rendering 2018-10-21 13:05:03 +02:00
Rasmus Karlsson
1fde45f59b Also resize tabs if height has changed
Fixes #769
2018-10-21 12:14:11 +02:00
fourtf
69e0352648 improved NotebookTab 2018-10-21 12:13:23 +02:00
Rasmus Karlsson
0abe85f53c Change image set emote scale calculation 2018-10-21 10:39:40 +02:00
Rasmus Karlsson
64669879ad Also use emote scale setting to help figure out what version emote to use 2018-10-21 10:27:36 +02:00
Rasmus Karlsson
5b23aff58d Re-enable emote scale 2018-10-21 10:23:53 +02:00
fourtf
4f4d717a52 minor changes 2018-10-20 19:15:28 +02:00
apa420
a2795dec38 got triggered by pixels 2018-10-20 18:41:32 +02:00
pphop
a584259785 improve "last message read" indicator (#802) 2018-10-20 13:25:24 +02:00
hemirt
54c1efe531 correct getSplitCount 2018-10-20 11:07:15 +02:00
coral
6eab491baa Added icons for every single settings item! 2018-10-19 15:53:19 -07:00
fourtf
2840b38e91 made links open in incognito by default for hemirt 2018-10-16 16:34:09 +02:00
fourtf
db4034d2d9 vivaldi and opera support for incognito links 2018-10-16 16:25:48 +02:00
fourtf
d14a4df9e3 opening links in private browsing mode (windows)
tested on firefox, chrome and internet explorer
2018-10-16 16:07:59 +02:00
fourtf
bf8bf37eab Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-10-16 14:22:53 +02:00
fourtf
280605e715 added basic code for incognito links 2018-10-16 14:13:19 +02:00
23rd
e13d927a4e Removed unused signal in TwitchChannel. 2018-10-14 10:17:48 +00:00
23rd
3e268637f0 Improved 'twitchChannelRegex' regexp. 2018-10-14 10:16:39 +00:00
23rd
bd04aa0074 Added more ignored words for opening new split from context menu. 2018-10-14 10:16:39 +00:00
Rasmus Karlsson
230b2006dc Experimental reconnect support 2018-10-13 15:45:41 +02:00
ckath
c38bb05bb4 correct options text of hiding buttons 2018-10-13 12:50:11 +00:00
Rasmus Karlsson
1422201570 Make "recent_messages" network request safe in case the channel is closed when the request finished 2018-10-13 14:45:51 +02:00
pajlada
b5c7c8ff26
Merge pull request #795 from hemirt/splits
ClosedSplits feature (ctrl+shift+t in browsers)
2018-10-13 12:41:46 +00:00
hemirt
6413abf885 fix visual bug 2018-10-13 14:34:33 +02:00
Rasmus Karlsson
49449379da Added a Live status indicator to tabs 2018-10-13 14:20:06 +02:00
23rd
71a51d34c7 Combined emotes of different tiers in Emote Popup. 2018-10-13 09:10:48 +00:00
hemirt
7a246cd9d8 pragma once 2018-10-13 11:08:57 +02:00
hemirt
b3a41e5c1a Closed Splits 2018-10-09 19:48:22 +02:00
fourtf
31b9d497d7 change color of + button while dragging split 2018-10-09 19:22:07 +02:00
fourtf
2b1c5113d4 reordered elements in the split-header drop-down 2018-10-09 19:04:18 +02:00
Marco Schmid
770e36c10c added winapi-call to flush clipboard (#778) 2018-10-09 18:37:51 +02:00
Nikolai Zimmermann
845c595b70 fix typo (#783) 2018-10-09 18:34:38 +02:00
flex3r
c65cdbe792 fixed message collapsing (#785) 2018-10-09 18:31:38 +02:00
fourtf
e9f0eaf82e added examples for moving and splitting 2018-10-09 18:28:40 +02:00
Marco Schmid
602ae9e874 fixed regex to display links with port correctly (#777) 2018-10-08 12:26:42 +00:00
fourtf
4270c402fb this triggered my ocd 2018-10-07 19:25:46 +02:00
Rasmus Karlsson
a947bf74c8 Occasionally save window/split/tab layout
The window layout is only saved if something has been changed.
When something relevant to the window layout is changed, a save is
queued to run after 10 seconds.
If within those 10 seconds, another thing is changed, that timer is
reset and will run after 10 seconds again.

Events that cause the save to be queued up:
 - Tab created
 - Tab removed
 - Tab moved
 - Tab name changed
 - Split created
 - Split removed
 - Split moved
 - Split channel changed
 - Split resized
 - Window moved
 - Window resized

What currently does not trigger the save to be queued up:
 - Active tab changed
2018-10-07 16:27:40 +00:00
Rasmus Karlsson
7879fef3a0 add some comments
reformat
2018-10-07 14:30:26 +00:00
Rasmus Karlsson
b720450f86 remove unnecessary getApp call 2018-10-07 13:37:17 +00:00
hemirt
2d3ce59b8b Fix emote replacement to render emotes correctly (#768)
* fix emote replacement rendering from inside the caught string

* \b -> \\b, while -> if

i actually wanted the regex identifier \b and you need to escape the
escape character \
an error in judgement made me use while, as if the api was meant to be
"consume"-like interface that boost regex uses

Fixes #26
2018-10-07 11:18:45 +00:00
apa420
bb6c2b6135 Cleaner flashing code (#774) 2018-10-07 10:55:44 +00:00
Ckat
767197ab48 fix channel suspended showing up in all channels #770 2018-10-07 10:21:47 +00:00
Rasmus Karlsson
7e073f43b6 fix notices about "short channel name" channels being sent to all channels
Fixes #770
2018-10-07 12:19:40 +00:00
Cranken
ced5508286 Removed unnecessary get on shared pointers. 2018-10-06 16:33:18 +00:00
Cranken
f13f99bb42 Fixed double clicking sometimes turning into unwanted triple-clicking. 2018-10-06 16:33:18 +00:00
Cranken
39ee6efffc Fixed user popup not working. 2018-10-06 16:33:18 +00:00
Cranken
49398300d6 Triple-clicking now also checks for distance between clicks to prevent unwanted selection. 2018-10-06 16:33:18 +00:00
Cranken
423ef19c8f Fixed a bug appearing when selecting over multiple lines in different directions. 2018-10-06 16:33:18 +00:00
Cranken
4c4d1d2042 Fixed double click selection. 2018-10-06 16:33:18 +00:00
Cranken
335b889efe Fixed emotes selecting the whole line on double-click. 2018-10-06 16:33:18 +00:00
Cranken
c8326d73e7 Added triple-clicking next to message to select whole message. 2018-10-06 16:33:18 +00:00
Cranken
5c2cdce516 Added triple clicking to select the whole message. 2018-10-06 16:33:18 +00:00
Cranken
7c367b73e6 Changed some formatting, also fixed an unrelated bug. 2018-10-06 16:33:18 +00:00
Cranken
fed8cca10e Added initial double clicking to select word functionality. 2018-10-06 16:33:18 +00:00
apa420
5dce212cb4 Added functionality of making the flash taskbar last until the app is focused again (#767)
* Added functionality of making the flash taskbar last until chatterino is focused again

* added it for every flash taskbar

Fixes #760
2018-10-06 15:51:13 +00:00
Rasmus Karlsson
98c1d61e78 reformat 2018-10-06 17:41:23 +00:00
Rasmus Karlsson
67d9910bd5 Fix uninitialized memory usage error 2018-10-06 17:41:23 +00:00
Rasmus Karlsson
a196129171 Fix wrong format syntax 2018-10-06 17:41:23 +00:00
Felix Schmid
300852bbf5 added the settings shortcut to the keybindings window 2018-10-06 14:22:07 +00:00
pajlada
099fd88098
Merge pull request #743 from 23rd/patch-15-scroll-tabs
Added scrolling over tabs with wheel to switch channels.
2018-10-06 12:32:37 +00:00
23rd
871fde5f72 Reversed scroll behavior. 2018-10-06 14:18:27 +03:00
23rd
9f5da50bce Moved creating UserInfoPopup in one place. (#761)
* Moved creating UserInfoPopup in one place.

* Added forgotten 'this'.

Fixes #759
2018-10-06 10:13:14 +00:00
23rd
1fcfd8b13a Removed few-step scroll. 2018-10-05 23:57:02 +03:00
Ckat
b4683c5b35 add menu option to reload subscriber emotes 2018-10-05 19:52:33 +00:00
Ruben Anders
79f64a21c3 Fix typo: "authority badges" 2018-10-05 19:42:27 +00:00
pajlada
1f1175a034
Merge pull request #746 from DatGuy1/patch-3
Don't change split header for whisper

Fixes #691
2018-10-05 19:41:06 +00:00
pajlada
c4c4a8d575
Merge pull request #748 from Cranken/windowPos
Fixed window moving 1px to the left each restart.
2018-10-05 19:39:41 +00:00
Rasmus Karlsson
c6bca8e97b Allow addMessage to override message flags 2018-10-05 21:33:01 +00:00
pajlada
57eb8f9eb7
Merge pull request #744 from Chronophylos/custom-highlight-color
Add hidden setting for highlight color
2018-10-05 18:41:31 +00:00
Cranken
41ba06ffc2 Fixed window moving 1px to the left each restart. 2018-10-04 11:07:46 +02:00
Rasmus Karlsson
39a8e8193c fix whispers crashing if they contained twitch badges 2018-10-02 19:27:08 +02:00
DatGuy1
ad949dc1f6
Don't change split header for whisper
Prevent normal channel split headers from changing colours when receiving a whisper
2018-10-02 10:45:26 +03:00
Rasmus Karlsson
c872db3d9f add chatterino nightly version string to nightly builds 2018-10-01 21:44:23 +02:00
Chronophylos
378ea157a1 Add hidden setting for highlight color 2018-10-01 13:05:50 +02:00
23rd
7122e47817 Added scrolling over tabs with wheel to switch channels. 2018-10-01 03:32:20 +03:00
Rasmus Karlsson
cd571a7e25 clean up warnings 2018-09-30 17:15:17 +00:00
Rasmus Karlsson
a2fb4ca104 reformat 2018-09-30 16:55:41 +00:00
pajlada
d79a8b81b1
Merge pull request #736 from TETYYS/message-limit-fix
Changed LimitedQueue::space() to signed value, eliminating underflows
2018-09-30 14:50:47 +00:00
Cranken
22d009962d Now saves the enable highlight on new message tab setting. 2018-09-30 15:02:30 +02:00
pajlada
0e794f5a6d
Merge pull request #739 from Cranken/enableHighlightTab
Option to disable highlight of tab; disabled switching tabs by only right clicking
2018-09-30 12:30:52 +00:00
Cranken
f6e6916263 Fixed variable naming style. 2018-09-30 14:31:00 +02:00
Cranken
753b2cf139 Fixed messages getting added multiple times after roomstate change. 2018-09-30 12:17:58 +00:00
tetyys
612c9c94dc Clear scroll bar when switching channels in a ChannelView 2018-09-30 11:53:17 +00:00
Cranken
abb01b54f5 Fixed clang format. 2018-09-30 13:44:41 +02:00
hemirt
e7f74aa8ca ignorephrase format 2018-09-30 11:42:23 +00:00
hemirt
6ca4f661a7 clangformat 2018-09-30 11:42:23 +00:00
hemirt
4eefeb80e7 remove dead line 2018-09-30 11:42:23 +00:00
hemirt
3184234c19 Squashed commit of the following:
commit ea07bbef0b
Merge: 0b36f436 5cfcf114
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:05:14 2018 +0200

    Merge branch 'blacklist' into blacklistnew

commit 5cfcf114b6
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:00:16 2018 +0200

    rename second pattern to replacement

commit f08cc4cf88
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:30 2018 +0200

    delete out commented code

commit 1acb1278aa
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:03 2018 +0200

    fix replacement with emotes issues

commit 646268ab18
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 01:06:36 2018 +0200

    fix build

commit ad711b4c15
Merge: e8e059f8 8bcc9c48
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:52:38 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e8e059f847
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:25:58 2018 +0200

    add replaced emotes into twitchEmotes

commit a63454f00d
Merge: e7f2f397 63eaf3b9
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 22:38:16 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e7f2f39737
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 21:54:01 2018 +0200

    emotedata

commit f00d3da537
Author: hemirt <hemirt@email.cz>
Date:   Sat Jul 28 19:53:55 2018 +0200

    rename variables to fit better, emotes in capture groups from regex work

commit 00c9fa080a
Author: hemirt <hemirt@email.cz>
Date:   Mon Jul 9 19:53:53 2018 +0200

    add case sensitivity checkbox and fix validity issues due to isValid
    that checked regex

commit 4385fcd13f
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:09:14 2018 +0200

    remove commented code

commit 1834342f74
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:03:13 2018 +0200

    IgnorePhrase replacement

    also removes twitch emotes info about the matched and changed parts and
    shifts positions of other emotes from emote infos to the corresponding new
    position

commit d3b6e294ed
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 16:21:33 2018 +0200

    ignore phrases
2018-09-30 11:42:23 +00:00
apa420
86024ade24 fixes that timeout/ban messages didn't show (#728) 2018-09-30 10:50:47 +00:00
Cranken
839f78e19b Update regardless of button. 2018-09-29 22:35:33 +02:00
Cranken
036abd4852 Don't switch tab if only right mouse is pressed on other tab. 2018-09-29 22:30:31 +02:00
Cranken
f25f31a837 Added button on tab to enable/disable highlighting. 2018-09-29 22:24:48 +02:00
tetyys
45d0bd6299 Changed LimitedQueue::space() to signed value, eliminating underflows 2018-09-26 22:21:38 +03:00
23rd
4c5a0472cd Activate opened emote popup. (#733) 2018-09-25 11:37:24 +00:00
Rasmus Karlsson
0b36f43611 make the list of ignored usernames into a set instead, making it more maintanable
change "open twitch channel in new split" menu action text
2018-09-21 22:46:00 +02:00
23rd
9a6650b56c Added button in menu to join to channel. (#724) 2018-09-21 20:35:14 +02:00
apa420
a3a7317e62 [WIP] Fixing stuff in light/white theme (#723)
* fixed color in light/white them when a tab lights pink

* fixes background color of chatterino in white/light-themes

* Fixed emoji-button in light/white-theme

* added light/white-theme addsplit-button

* forgot to add the image-file
2018-09-21 20:18:52 +02:00
Rasmus Karlsson
a733b6975d make emote popup emote insertions less risky 2018-09-21 22:01:21 +02:00
Rasmus Karlsson
92bf1adf88 fix tabbing usernames with @ 2018-09-21 13:57:49 +02:00
23rd
eb230494a6 Dont add scrollbar highlights in /mentions. 2018-09-21 13:54:12 +02:00
apa420
d751d1939e used different linebreaking as suggested from 23rd 2018-09-21 13:43:33 +02:00
apa420
f4ba61efc3 fixed tooltip on twitch emotes in a cheesy fasion 2018-09-21 13:43:33 +02:00
23rd
579c6b9bf9 Trim channelname in join channel window. 2018-09-21 13:43:10 +02:00
apa420
ea17d23224 apa fixed custom subscriber badges tooltip 2018-09-20 21:59:34 +02:00
Rasmus Karlsson
56b1fd6913 Increase timeout on FFZ channel emote requests
We might want to send some message upon these sort of errors happening

Fix #709
2018-09-20 13:39:19 +02:00
Rasmus Karlsson
8eba7a0182 add method to NetworkRequest to fetch the underlying url string 2018-09-20 13:37:20 +02:00
Rasmus Karlsson
641c5822d7 fix various warnings 2018-09-20 13:09:37 +02:00
23rd
30f51d8137 Removed useless arg from appendTwitchEmote(). 2018-09-20 10:57:36 +02:00
23rd
f813c2de3b Improved insertion of emotes from popup. 2018-09-20 10:57:22 +02:00
23rd
88477829ef Replaced size() check with empty(). 2018-09-19 13:01:22 +02:00
23rd
acd03a3280 Dont show empty categories in viewer list. 2018-09-19 13:01:22 +02:00
fourtf
47c93fb118 fixed memory corruption 2018-09-17 12:51:16 +02:00
cub
4c5f2e41e5
replace malloc with make_unique 2018-09-17 02:45:11 -03:00
pajlada
e2a7765964
Merge branch 'master' into apa-notification-on-live 2018-09-16 17:43:53 +02:00
apa420
23cf815219 Which badges that are shown are now customizable #282 (#696) 2018-09-16 17:42:30 +02:00
apa420
56aac47fde fixed chatterino badges (#698)
* fixed chatterino badges
2018-09-16 17:27:51 +02:00
23rd
0d8b5cad63 Added setting to disable auto unshort links. 2018-09-06 17:59:49 +03:00
23rd
5f19a57f5a Refresh links of new messages.
As I understand links update when all message snapshots update, so we need to refresh url manually via signal.
2018-09-06 17:11:25 +03:00
23rd
2d1701cf86 Fixed build. 2018-09-06 13:54:28 +03:00
23rd
fe24d09009 Replace url of link with new one from json. 2018-09-05 15:37:51 +03:00
fourtf
018fe2ab10 fixed some shtuff 2018-09-04 22:29:21 +02:00
fourtf
1d16c0cf77 fixed crasherino 2018-09-04 22:05:27 +02:00
fourtf
1d682c4a93 added add split button 2018-09-04 21:39:54 +02:00
fourtf
3f4e9cdf91 added text for empty categories in emote popup 2018-09-04 20:09:06 +02:00
23rd
d0ea0f2478 Clear highlights scrollbar with messages. 2018-09-02 03:02:12 +03:00
Rasmus Karlsson
a7487ab43e Temporary fix for timeouts not graying out messages properly
Fix #669
2018-09-01 13:43:17 +00:00
Rasmus Karlsson
eb04e1c3df Fix channel badges not scaling properly 2018-09-01 13:03:17 +00:00
Rasmus Karlsson
4752a3a4d4 Mark image as empty if network request fails 2018-09-01 12:47:02 +00:00
Rasmus Karlsson
d16307a484 reformat 2018-09-01 12:33:27 +00:00
Rasmus Karlsson
afeb7e719b Fix /r not working 2018-09-01 12:32:39 +00:00
Rasmus Karlsson
08b4179a44 Add back "clear messages" in split functionality 2018-09-01 12:19:15 +00:00
apa420
ca5bb104db hopefully it will now compile on linux 2018-09-01 13:01:54 +02:00
apa420
05d0b20919 I checked the wrong filepath 2018-08-31 18:18:05 +02:00
apa420
83737996ae Fixed /mentions 2018-08-30 20:18:38 +02:00
apa420
8994307e51 forgot to remove an include 2018-08-29 23:52:13 +02:00
apa420
5555c41d7e fixed toasts for all platforms 2018-08-29 23:39:02 +02:00
apa420
01ca055763 fixed issue where when a channel was going offline it would do a toast if the channel was notified 2018-08-29 22:22:32 +02:00
apa420
c5a88f6af3 fixed stuff 2018-08-29 19:58:55 +02:00
pajlada
597a8eeb2b
Merge pull request #686 from 23rd/patch-8-fixed-down-arrow
Fixed down key in input field.
2018-08-29 10:24:47 +02:00
pajlada
873b0b3c67
Merge pull request #693 from apa420/apa-minor
Highlighting whispers works better and looks better
2018-08-29 10:22:16 +02:00
apa420
9a0205bdc9 did request 2018-08-29 01:37:57 +02:00
pajlada
875e12f728
Merge pull request #684 from 23rd/patch-7-hotkey-emote-menu
Added hotkey for Emote menu.
2018-08-29 01:34:56 +02:00
apa420
a36a2a2939 fixed issue with having the wrong variable 2018-08-29 01:24:35 +02:00
pajlada
6eb21f4b68
Merge pull request #677 from 23rd/patch-4-link-tooltip-bttv
Added tooltip to links.
2018-08-29 01:23:17 +02:00
23rd
235f9eebf1 Added 'this'. 2018-08-29 02:22:57 +03:00
apa420
c3065db16d highlighting whispers works better and looks better 2018-08-29 01:21:36 +02:00
apa420
c5d5825b5a Added functionality of option of highlightsound on whisper (#692)
Fixes #640
2018-08-29 00:30:11 +02:00
apa420
6a29fbb6dc
Merge branch 'master' into apa-notification-on-live 2018-08-28 23:23:46 +02:00
hemirt
113cfd69b0 Fix emote copying (#687)
* Fix emote copying

* Fix (i.e. no longer add) blank spaces instead of badges

I.e. badges' names do not get copied
2018-08-28 19:25:15 +02:00
23rd
bfe87b699a Refactored cursorToEnd. 2018-08-27 21:22:53 +03:00
23rd
f6d0cc9e6b Fixed down key in input field. 2018-08-27 21:12:38 +03:00
23rd
0f2d6a4a22 Added hotkey for Emote menu. 2018-08-27 15:36:01 +03:00
23rd
bf529d5503 Rewritten check for incorrect link. 2018-08-26 16:33:04 +03:00
23rd
cb500070f2 Run away from BTTV API. 2018-08-26 15:55:44 +03:00
apa420
15bcb5a2fb Initially done with PR 2018-08-26 13:49:15 +02:00
apa420
8ea3b6c8ee Added fakechannels 2018-08-26 13:19:09 +02:00
23rd
ce155299e9 Added right-click on nickname to reply on whisper. (#680) 2018-08-26 10:42:00 +02:00
23rd
c7e2188582 Added tooltip to original link too. 2018-08-25 21:54:17 +03:00
23rd
f4828b7d09 Rename everything. 2018-08-25 21:54:10 +03:00
23rd
539d8c20d2 Put isValid() in variable. 2018-08-25 21:29:14 +03:00
23rd
f8c42918a6 Added option to turn off link info tooltips. 2018-08-25 21:29:08 +03:00
Rasmus Karlsson
70199e00d2 Remove unused 'preferred emote quality' setting 2018-08-25 12:29:43 +00:00
Rasmus Karlsson
c1ec0e49d4 Change scaling values around to look good on my setup
Might need some DPI magic to look good on every setup, but I think this
is an improvement
2018-08-25 12:29:02 +00:00
apa420
c4679bf048 almost implemented the faekchannels, just need to fix the timer, pls help pajlada 2018-08-25 14:13:26 +02:00
Rasmus Karlsson
5647c6a80c Fix crash when receiving a whisper
Fix #672
2018-08-25 10:23:58 +00:00
23rd
d6c4244b79 Fixed double click in emote popup. (#679) 2018-08-25 10:08:10 +02:00
apa420
8f77dccb91 testing emoji because having windows 8 sucks 2018-08-24 18:38:27 +02:00
apa420
e58e76ef1e added more playsound stuff 2018-08-24 18:05:36 +02:00
23rd
5253ab3f85 Added tooltip to links via BTTV API. 2018-08-24 13:16:55 +03:00
23rd
8a1c30408a Set displayName to UserInfo link as value. (#675) 2018-08-22 15:16:19 +02:00
23rd
be4b3f1a38 Don't add empty messages to message history. (#674) 2018-08-22 00:57:44 +02:00
apa420
8d5b93fe82 push for now 2018-08-19 19:02:49 +02:00
Rasmus Karlsson
a07255be2d Add ability to customize cache folder
Add an advanced settings page, currently only housing the "Cache" category

Fix #541
2018-08-19 16:26:33 +02:00
Rasmus Karlsson
3fc91bded5 Move some helper functions to Helpers.hpp 2018-08-19 16:26:32 +02:00
apa420
21c4880ace for pajlada 2018-08-19 15:09:00 +02:00
apa420
3d109a6ca3 added settings for dot next to channel name 2018-08-18 13:07:12 +02:00
apa420
15e9e3e642 Added functionality of colored splits when live 2018-08-17 21:19:15 +02:00
fourtf
8bcc9c487b Fixes #411, #516 2018-08-16 00:16:33 +02:00
fourtf
5068c9a64e Fixes #161 2018-08-15 23:48:16 +02:00
fourtf
af7b742a23 changed .clang-format 2018-08-15 22:46:20 +02:00
fourtf
44c16f1b3a badges 2018-08-14 17:45:36 +02:00
Confuseh
d7566665d8 minor streamlink quality option fix (#664) 2018-08-14 17:36:20 +02:00
fourtf
902fe684c0 Fixes #666 2018-08-14 17:35:11 +02:00
apa420
b671fc4133 Tried chaning the color of the split when a channel is live 2018-08-14 16:29:52 +02:00
Daniel Pasch
c4e3bf1a8c Fix compiling on macOS High Sierra (#665)
* mac docs update relating to qt 

give a little more detailed installation guide for the qt installation

* Fix compiling on clang, now compiles on macOS High Sierra
2018-08-13 20:10:32 +02:00
fourtf
2448f6f538 cleaned up CompletionModel 2018-08-13 14:38:03 +02:00
fourtf
f6e110b7fb fixed and optimized the autocompletion 2018-08-13 14:04:35 +02:00
fourtf
f1fbd7ee5c Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-08-12 23:30:18 +02:00
apa420
93bbe33664 Cleaned some stuff up and did some things 2018-08-12 21:05:12 +02:00
apa420
320558ee63 more stuff done, does compile, changed vector for map 2018-08-12 20:21:21 +02:00
apa420
05d5709bb9 stuff does compile 2018-08-12 18:54:32 +02:00
apa420
54166ec130 temp stuff 2018-08-12 15:29:40 +02:00
fourtf
f6414c9d7e remove settings and paths from Application 2018-08-12 12:56:28 +02:00
Lajamerr Mittesdine
7ff4f12257 Fix Global FFZ emotes in Emote Popup (#663)
There was two instances of Global BTTV emotes.
Changed the second instance to Global FFZ emotes.
2018-08-12 01:12:03 +02:00
fourtf
1ec1ecd52b fixed crash when moderation buttons are enabled 2018-08-12 00:02:05 +02:00
Touhou-fan
b3fd278c3c Fix selecting incorrect image (#659) 2018-08-11 23:53:20 +02:00
fourtf
44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf
63eaf3b94c fixed not being able to select text backwards 2018-08-11 17:35:46 +02:00
fourtf
c768bd9bd9 fixed image animations 2018-08-11 17:15:17 +02:00
apa420
2de99ca9f5 update, should now be working Toasts for splitheader channels 2018-08-11 16:11:51 +02:00
fourtf
c719bb6b74 categorized emtotepopup 2018-08-11 14:26:02 +02:00
Rasmus Karlsson
7aa34ef9bc remove c++17 dependency 2018-08-11 14:12:41 +02:00
Rasmus Karlsson
6fa32607d3 fix misspelling of the rapidjson include file thing 2018-08-11 14:10:20 +02:00
apa420
77411f7012 WIP commit 2018-08-11 12:47:03 +02:00
fourtf
cf9560508c improving code quality 2018-08-10 20:53:13 +02:00
fourtf
edfae49cc9 simplified Image 2018-08-10 18:56:17 +02:00
apa420
125af43d90 Fixed issue, everything except the main feature work now 2018-08-10 00:15:42 +02:00
apa420
5437a6dd4d update which actually let's you compile, but doesn't properly save an item after renaming it 2018-08-10 00:04:50 +02:00
fourtf
6344fa6b23 loading images on their own thread 2018-08-09 20:46:58 +02:00
fourtf
bb76a632f4 fixed image size now updating on load 2018-08-09 17:04:15 +02:00
fourtf
878daf6eee added link to license 2018-08-09 16:44:04 +02:00
fourtf
cb235ef532 fixed ocd inducing 1 pixel offsets 2018-08-09 16:20:09 +02:00
apa420
5c6d2f36b5 WIP notification settings, doesn't actually work 2018-08-09 15:41:32 +02:00
apa420
b68c7ded5f WIP notification settings, doesn't actually work 2018-08-09 15:41:03 +02:00
fourtf
81f2f8781a fixed window frame for qt 5.11.1 2018-08-09 15:13:11 +02:00
fourtf
e1f180ac28 added qt version number to about tab 2018-08-09 06:34:14 +02:00
fourtf
94813fe3df added subfunctions for ChannelView() 2018-08-08 20:06:20 +02:00
fourtf
bdfe24035b fixed rectangle being off by 1 pixel in split container 2018-08-08 19:42:14 +02:00
fourtf
5957b87298 minor changes 2018-08-08 15:50:43 +02:00
fourtf
d89b62692a refined SplitHeader 2018-08-08 15:35:54 +02:00
fourtf
7a9af4ae84 moved menu code to ripple effect button 2018-08-07 23:46:00 +02:00
fourtf
e1b8faacc9 added increased size of drag and drop regions 2018-08-07 09:45:10 +02:00
fourtf
5df231f072 improved split header menu button 2018-08-07 09:38:18 +02:00
fourtf
f34063213c fixed split header menu opening in the wrong direction 2018-08-07 09:05:27 +02:00
fourtf
0682214ba7 fixed settings background color 2018-08-07 08:12:44 +02:00
fourtf
381177dd24 refactored EnumFlags 2018-08-07 07:55:31 +02:00
fourtf
bfa75330a4 fixed crash 2018-08-07 06:25:58 +02:00
fourtf
c26422aec1 refactored MessageBuilder 2018-08-07 01:35:24 +02:00
fourtf
f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf
defa7e41fa simplified Image a bit 2018-08-06 20:00:04 +02:00
fourtf
c71795da17 Merge branch '4tf' 2018-08-06 18:41:30 +02:00
fourtf
35d462d1f1 worked on Image 2018-08-06 18:25:47 +02:00
apa420
43ba408568 Added functionality of customizable split headers #637 (#648)
* Added functionality of customizable split headers

* removed empty line
2018-08-06 16:42:23 +02:00
apa420
c6cfb548f5 added functionality of 'boldness-slider' #647 (#650) 2018-08-06 16:41:27 +02:00
apa420
82460557cb 'ignore highlights' checkbox in user info popup - did request (#618)
* Added 'ignore userhighlights' to userpopup

* removed unecesarry include

* Fixed the todo

* renamed bool

* Did request

* changed some names
2018-08-06 16:40:46 +02:00
apa420
7e3292e900 Dynamic lowercase link setting - did request (#612)
* Added functionality of dynamic lowercase links

* fixed fourtfs request, lajamerr has a better solution though

* Fix matching and lowercasing of domain only.

* Update TwitchMessageBuilder.cpp

Added what fourtf asked in a good  way
NOTE: I removed a : from the regex since otherwise it would fuck up

* fixed stuff and removed debugs

* fixed stuff
2018-08-06 16:40:12 +02:00
fourtf
c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
Rasmus Karlsson
7cdfa173c7 enable external link opening in attributions
Fix #641
2018-07-28 11:20:18 +00:00
apa420
133bd6a766 fixed (live) issue #626 (#631) 2018-07-23 15:12:14 +02:00
DatGuy1
f060907678 Add channel badges and emotes to LogsPopup (#576)
* Add channel badges and emotes to LogsPopup

* Move roomID stuff to seperate function

* Use onSuccess
2018-07-23 14:50:09 +02:00
fourtf
3b3c5d8d75 added code to handle a single connection 2018-07-16 17:23:41 +02:00
apa420
f33cc884b2 Fixed issue with Excluded users not saving from the highlights tab (#624) 2018-07-16 17:09:29 +02:00
fourtf
e51c5c692a Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-07-15 20:41:57 +02:00
fourtf
1614b11e42 Refactored TwitchChannel 2018-07-15 20:28:54 +02:00
Rasmus Karlsson
f60d649f5e Remove UrlFetch file 2018-07-15 12:11:46 +00:00
Rasmus Karlsson
f1af162dab clean up some includes 2018-07-15 12:03:41 +00:00
Rasmus Karlsson
c995e2bf0d Remove unused code 2018-07-15 11:10:23 +00:00
Rasmus Karlsson
22bf008bdf Update new settings library version 2018-07-15 11:03:25 +00:00
fourtf
111853c574 improving TwitchChannel 2018-07-14 14:24:18 +02:00
apa420
a720c76dc0 changed an #include (#622) 2018-07-14 08:53:28 +02:00
apa420
ba99d62139 Fixed /ignore and /unignore as well as give description for the command (#611)
* Fixed /ignore and /unignore as well as give description for the command
2018-07-13 22:23:03 +02:00
pajlada
aa0059ffe0
Merge pull request #614 from apa420/apa-fixing-timeout-buttons
Fixed issue with timeoutbuttons #613
2018-07-13 22:15:39 +02:00
LajamerrMittesdine
588aad751b Fix QMenus from going out of screen boundaries 2018-07-13 05:56:46 -04:00
apa420
5d2be3ae2a fixed issue with timeoutbuttons #613 2018-07-13 02:06:35 +02:00
apa420
12093d1bb6 Adding elements to the preview in the look tab (#605)
* fixes issue #584

* Added different elements to the preview in the look tab
2018-07-12 18:58:56 +02:00
apa420
fb0cdf78cb Added description when typing /follow (#606)
* Added description when typing /follow

* syntax fix of 1364e0e707
2018-07-12 18:57:11 +02:00
apa420
9dda0a05fa @boldUsernames now work dynamically with the setting (#607) 2018-07-12 18:56:54 +02:00
Lajamerr Mittesdine
12a21b7b1a Fix match linking (#608)
Right now it's matching links even if they have garbage text infront of it. For example, `sahttp://www.google.com`

This change fixes that.
2018-07-12 18:56:08 +02:00
apa420
1d2e56f19d changed return-value of errors to false 2018-07-12 11:11:21 +02:00
apa420
7288c5a0b6 removed unecessary #include 2018-07-12 10:58:29 +02:00
apa420
801779b872 fixed stuff for PR 2018-07-12 10:52:18 +02:00
apa420
c26e18c2bf Added functionality of /follow and /unfollow 2018-07-12 03:54:54 +02:00
Rasmus Karlsson
352da60d07 Fix code formatting (code wasn't clang-formatted)
Shorten "minute" to "m" etc
Fix space-adding inconsistency when adding "seconds"
2018-07-11 16:58:57 +02:00
Rasmus Karlsson
4ea1ed085f Remove unneccesary QString operator= 2018-07-11 16:53:19 +02:00
Nikolai Zimmermann
f63d9d3e33 Better time display for timeouts (#601)
* Better time display for timeouts

* remove newline
2018-07-11 16:09:28 +02:00
apa420
db099260ad Added functionality of reading log-size in the moderation-folder (#600) 2018-07-11 14:23:21 +02:00
Lajamerr Mittesdine
727ccd2ff4 Add support for spotify hyperlinking (#597)
* Add support for spotify hyperlinking

* Change open link in browser to open link
2018-07-11 13:50:05 +02:00
apa420
77f904fae4 Fixes the issue with making the chatterino window smaller with long usernames (#588) 2018-07-10 18:31:34 +02:00
23rd
c3793121cb Added mention of user by right-clicking on his nickname. (#589)
* Added mention of user by right-clicking on his nickname.

* Removed possibility of choice. Always add @ to username.
2018-07-10 18:27:42 +02:00
Lajamerr Mittesdine
d82c647edd Fix new emotes not loading properly because of cache (#596)
Fix #595
2018-07-10 17:47:16 +02:00
Rasmus Karlsson
da1627e47d Fix historical messages not triggering highlights
For now they only trigger the highlighting of the message, but not sound
or flash alerts as I think that's weird.

Fix #308
2018-07-08 09:43:44 +00:00
Rasmus Karlsson
aaa82dce75 Fix custom highlight sounds not working on Linux 2018-07-08 09:42:48 +00:00
hemirt
d2450c298b remove duplicate code (#585) 2018-07-07 22:30:19 +02:00
Rasmus Karlsson
ebc47b1463 trim config shit 2018-07-07 22:00:23 +02:00
Rasmus Karlsson
0d40894b47 improve error message in loadEmotes 2018-07-07 21:59:17 +02:00
Rasmus Karlsson
926a753a54 Load twitch emotes on initialize as well
Fix #581
2018-07-07 21:55:09 +02:00
pajlada
2ea3643100
Fix timer stuff (#580)
* Add and sort Network files to chatterino project file
2018-07-07 15:50:05 +02:00
Rasmus Karlsson
55269587f5 Trying out a solution KKona 2018-07-07 13:51:01 +02:00
fourtf
6bf7ba1ebe fixed compilation 2018-07-07 12:03:37 +02:00
fourtf
c609a9fd37 started to refactor Application 2018-07-07 11:41:13 +02:00
Rasmus Karlsson
6a418e6e59 Refactor NetworkRequest class
Add followUser and unfollowUser methods to TwitchAccount
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
cada32edfd Treat missing returns as errors 2018-07-07 11:09:27 +00:00
Rasmus Karlsson
256aabf746 Remove unused parseJSONFromReply2 function 2018-07-07 11:09:27 +00:00
Rasmus Karlsson
efbd0f31e6 Remove getJSON2 function 2018-07-07 11:09:27 +00:00
Rasmus Karlsson
faa088b7e5 Remove NetworkManager urlPut function 2018-07-07 11:09:27 +00:00
Rasmus Karlsson
091b597fe9 Remove unused "urlDelete" function from NetworkManager
Allow NetworkRequest to be constructed with a QUrl
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
1f2968934c Remove unused functions in NetworkManager 2018-07-07 11:09:27 +00:00
DatGuy1
b12c4e1d45 Add text command to display logs (#574)
* Add text command to display logs

* Allow @username instead of username
2018-07-07 10:25:12 +02:00
fourtf
280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
fourtf
6935619820 Changed some stuff 2018-07-06 19:24:35 +02:00
fourtf
535c0616a3 Applied project style to multiple files 2018-07-06 18:10:21 +02:00
fourtf
3993708164 Refactored NetworkRequest and misc 2018-07-06 17:56:11 +02:00
fourtf
477d4751f7 refactor CompletionModel 2018-07-06 17:42:00 +02:00
fourtf
aa3df2e6d8 refactored Channel 2018-07-06 17:30:12 +02:00
fourtf
b639604a47 refactored BaseWidget 2018-07-06 17:11:37 +02:00
fourtf
741c1f7820 refactored Window 2018-07-06 17:03:57 +02:00
fourtf
314c15bb87 Small fixes for the last PR 2018-07-05 22:55:06 +02:00
DatGuy1
086ae010b1 Add viewing logs to UserInfoPopup (#548)
* Add cbenni logviewer

* Remove unneeded includes

* Updated getLogs to check for logs on Overrustle

will check logs on overrustle if none were found on cbenni

* Formatting, fix some bugs

* Fixes per PR comments

* Should really take more time when pushing

* Changes per PR, simplify code a lot

* Style/formatting fixes
2018-07-05 22:47:51 +02:00
fourtf
eeb514c444 minor changes 2018-07-05 18:17:12 +02:00
fourtf
42550129e7 reworked the Look settings page 2018-07-05 17:38:24 +02:00
fourtf
80c8e11cec refactored the ignores page a bit 2018-07-05 16:45:34 +02:00
fourtf
1da23e5e91 renamed IgnoreUsersPage to IgnoresPage 2018-07-05 16:22:25 +02:00
fourtf
d925704aa9 renamed file to fix compiling 2018-07-05 16:09:08 +02:00
fourtf
6059f98c21 renamed UpdatePromptDialog to UpdateDialog 2018-07-05 16:04:50 +02:00
DatGuy1
9c7c99928f Add highlighting of all messages from a certain user (#564)
* Rework to use controllers

* Rework to use controllers

* Add doHighlight

* Cherry pick?

* Fixes per PR

* Remove file
2018-07-05 15:58:20 +02:00
apa420
eb69cbf5f5 The file-url for logging is now displayed as a smaller link (#570)
* The file-url for logging is now displayed as a smaller link, todo: Show link on hover

* added a label to the folder-url in the settings
2018-07-05 15:57:08 +02:00
fourtf
3d7926cac1 added the update download button for linux/mac (updates don't work tho
so it doesn't show)
2018-07-05 13:25:10 +02:00
fourtf
59332270b5 put the update button code into it's own file 2018-07-05 12:54:38 +02:00
fourtf
ef13aef7df fixes for linux 2018-07-05 12:08:33 +02:00
fourtf
f2238729f1 worked on the UpdatePromptDialog 2018-07-05 11:42:40 +02:00
fourtf
f02a89690e added mechanic for deleting a BaseWindow on focus out 2018-07-05 10:34:04 +02:00
fourtf
335cbf8758 added basic download icon to the window frame 2018-07-04 20:42:51 +02:00
fourtf
3303de18cd added double click to resize handle 2018-07-04 19:52:11 +02:00
fourtf
14f125ff87 added room mode selector for mods again 2018-07-04 19:44:54 +02:00
fourtf
e9a112f8b3 changed order of split header items 2018-07-04 19:44:54 +02:00
apa420
2e1fdbec32 Changed where the bold @username setting is found 2018-07-04 18:10:50 +02:00
Rasmus Karlsson
a66a2f2e8d Add a list of contributors to the about page 2018-07-04 16:52:14 +00:00
fourtf
e76871c09c improved moderation mode icons 2018-07-04 14:13:29 +02:00
apa420
9754d1c350 I use startWith again 2018-07-04 14:01:39 +02:00
apa420
2524bb8af6 this time I compiled before pushing 2018-07-04 14:01:39 +02:00
apa420
4491bba5ec Boldness is now fontStyle 2018-07-04 14:01:39 +02:00
apa420
31a38d19a7 Fixed code, things that fourtf asked for 2018-07-04 14:01:39 +02:00
apa420
4bf174376a Fixed random code that didn't belong 2018-07-04 14:01:39 +02:00
apa420
318e8b6234 Bold @username 2018-07-04 14:01:39 +02:00
Rasmus Karlsson
acf77beff2 Remove file that I accidentally re-added 2018-07-04 13:58:38 +00:00
DatGuy1
e9fb5971da Add option to make link domains lowercase (#557) 2018-07-04 13:53:49 +02:00
fourtf
06ff6e6479 added dim effect to the titlebar buttons 2018-07-04 13:13:21 +02:00
fourtf
19fdfaef42 reworked splitheader a bit 2018-07-04 13:06:26 +02:00
Rasmus Karlsson
4ea613503e Remove unused include 2018-07-04 11:45:10 +00:00
Rasmus Karlsson
03b7fae09e Refactor highlight blacklist to use the model system
Fix #560
2018-07-04 11:45:10 +00:00
fourtf
362dcb88bc put returns into #else to remove unreachable code warnings 2018-07-04 10:41:43 +02:00
fourtf
1064729e1a Fixed issue with the window frame 2018-07-04 10:38:36 +02:00
Rasmus Karlsson
5dbdb6424c Get rid of some more warnings 2018-07-03 21:27:17 +00:00
Rasmus Karlsson
ba5d6e5c4b Remove unused variable from ModerationAction class 2018-07-03 18:09:17 +00:00
Rasmus Karlsson
a716e93112 Remove pessemistic move 2018-07-03 18:09:07 +00:00
fourtf
3a9de8cb86 renamed classes AppearancePage and BahaviourPage 2018-07-03 17:45:31 +02:00
fourtf
cd57b2b518 renamed AppearancePage and BehaviourPage 2018-07-03 17:45:31 +02:00
Rasmus Karlsson
78dede21f4 Fix linux not compiling 2018-07-03 17:42:38 +00:00
Rasmus Karlsson
baad3322cf Fix warnings 2018-07-03 17:42:28 +00:00
hemirt
ef4c7dbe60 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-07-03 17:21:41 +02:00
fourtf
d6c6a552d8 added preview channel view to the appearance tab 2018-07-03 16:56:36 +02:00
fourtf
6909d1d939 replaced 0 with nullptr in signalvector 2018-07-03 16:55:34 +02:00
fourtf
836f931b23 added isSorted method to signalvector 2018-07-03 16:55:34 +02:00
Rasmus Karlsson
e757a6504b Run clang-format-all.sh 2018-07-03 15:20:00 +00:00
hemirt
126e344f18 rename Ver to Dotted, fix show current value on first open 2018-07-03 15:45:25 +02:00
hemirt
4f30d950c7 fix current index, depends on value of setting
fix default value of the combobox for the collapse lines, incorrectly
always shows first item of the box, instead of current value
2018-07-03 15:43:54 +02:00
fourtf
63a596ef16 added moderation action settings back in 2018-07-03 15:00:21 +02:00
Rasmus Karlsson
7d4feb2781 Make protocol regexes case insensitive 2018-07-03 14:57:11 +00:00
Rasmus Karlsson
35de26821a If USEWINSDK is not enabled, fall back to QWidget's nativeEvent 2018-07-03 14:22:39 +00:00
hemirt
37d3f5a24a last message pattern 2018-07-03 13:44:59 +02:00
fourtf
9f6d09db7c fmoved windows message handlers into their own functions 2018-07-03 13:04:27 +02:00
fourtf
eb809d1572 Fixes #538 multiple window frames on windows 2018-07-03 12:08:12 +02:00
Rasmus Karlsson
978931bcfc Clean up twitch emote tooltips 2018-06-30 10:10:53 +02:00
Rasmus Karlsson
ec4c243455 fix link parser 2018-06-29 10:22:09 +02:00
fourtf
712a292d7e renamed class SingalVector -> SimpleSignalVector 2018-06-28 20:27:24 +02:00
fourtf
6013591730 renamed files SignalVector -> SimpleSignalVector and SingalVector2 -> SignalVector 2018-06-28 20:25:37 +02:00
fourtf
c3c2b934ba moved ChatterinoSetting into src/common 2018-06-28 20:06:09 +02:00
fourtf
86347dc63e renamed Themes to Theme 2018-06-28 20:03:04 +02:00
fourtf
c01d1ed732 step 1: push, step 2: try to compile 2018-06-28 19:57:06 +02:00
fourtf
848bbc71aa removed that pile of garbage IrcManager 2018-06-28 19:54:40 +02:00
fourtf
8ced5a1e25 renamed *Manager classes 2018-06-28 19:51:07 +02:00
fourtf
2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf
5604ae6a67 removed functions from SettingsManager that shouldn't be there 2018-06-28 19:38:57 +02:00
fourtf
b667183ca5 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-06-28 18:12:43 +02:00
Rasmus Karlsson
8ff29ebe05 Normalize define naming 2018-06-28 01:26:15 +02:00
pajlada
10df071077
Breakpad implementation (#535)
* qBreakpad simple implementation

* update chatterino.pro for linux

* Add breakpad building script for linux
2018-06-27 23:06:37 +00:00
Rasmus Karlsson
524be95e8b Reduce complexity of regular expression initialization 2018-06-28 00:54:34 +02:00
Rasmus Karlsson
20c17c3377 Make link regular expression only be created once 2018-06-28 00:54:34 +02:00
LajamerrMittesdine
7fe8ff97e0 Initial rework of matchLink 2018-06-28 00:54:34 +02:00
fourtf
37be58ebcf fixed browser extensions not working when opening the browser before
chatterino
2018-06-27 22:56:56 +02:00
fourtf
6a93aa412e moved IsBigEndian into it's own file 2018-06-27 13:03:59 +02:00
chems
c22052afdd undo reformat 2018-06-27 12:59:11 +02:00
ch-ems
b2d18ddd7f fixes #525 2018-06-27 12:59:11 +02:00
ch-ems
1bd97d853e fixes issue where slowmode checkbox is checked even after canceling. 2018-06-27 12:59:11 +02:00
Rasmus Karlsson
e9868fdd84 Move TwitchUser deserialization to the proper Deserialize function
instead of ::fromJSON
2018-06-27 00:17:05 +00:00
Rasmus Karlsson
f76512c31e Remove authenticated get function from urlfetch
Implement twitch account emote getter function in TwitchAccount
2018-06-27 00:16:30 +00:00
ch-ems
d333da3dfa fixes issue with 0245bd5 2018-06-26 19:33:42 +02:00
fourtf
c5441c6d4a fixed minor issues 2018-06-26 17:51:31 +02:00
fourtf
fb230423f6 fixed rename 2018-06-26 17:47:44 +02:00
fourtf
604e5ed682 fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
fourtf
8cbf575e3c added docs of main.cpp 2018-06-26 17:33:26 +02:00
fourtf
804d324d79 removed NativeEventHelper 2018-06-26 17:27:18 +02:00
fourtf
d09b14db26 removed Const.hpp and Credentials.hpp in favor of TwitchCommon.hpp 2018-06-26 17:25:24 +02:00
fourtf
08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf
6ee1fc303e removed SplitColumn 2018-06-26 17:16:58 +02:00
fourtf
c74bc00106 renamed twitch api get functions 2018-06-26 17:12:50 +02:00
fourtf
54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf
2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf
15abedd869 moved files into src/common 2018-06-26 15:33:51 +02:00
fourtf
0bc08a364c created directory for dialogs 2018-06-26 15:11:45 +02:00
fourtf
f09c7e8b4e removed ChannelData 2018-06-26 14:55:28 +02:00
fourtf
22f528cd21 put all split widgets inside the same directory 2018-06-26 14:39:22 +02:00
fourtf
a9bf9cf722 rename #3 2018-06-26 14:09:39 +02:00
fourtf
c9722b9780 rename #2 2018-06-26 13:24:55 +02:00
fourtf
ec04f10895 rename #1 2018-06-26 13:23:57 +02:00
fourtf
6375a902a0 fixed size of the attachedwindow for the browser extension for scaling 2018-06-25 22:07:17 +02:00
Lajamerr Mittesdine
13d28d0d8b Fix Account Switcher Popup Widget On Linux
This fixes it for me on Linux.

Not sure if this breaks anything on Windows. Needs some testing.
2018-06-25 17:01:29 +02:00
ch-ems
0245bd5c3a fixed crash when enabling 'window always on top' 2018-06-25 16:59:50 +02:00
ch-ems
7f5b07a9f9 fixes font selection window showing behind if 'window always on top' is
enabled.
2018-06-25 16:59:50 +02:00
fourtf
ef2365e81a small fix and increased version number to 2.0.4 2018-06-25 12:52:07 +02:00
fourtf
c75b3578a7 fixed windows 7 again 2018-06-25 12:41:55 +02:00
fourtf
7b5972f05d Fixed crash on windows 7 2018-06-25 12:20:36 +02:00
fourtf
a91d6525ad Increased version number to 2.0.3 2018-06-25 00:01:03 +02:00
fourtf
ba5c3555b8 fixed scaling for 1.5+ scale on windows 2018-06-24 23:58:29 +02:00
fourtf
4075ac9279 increased version number to 2.0.2 2018-06-24 23:08:52 +02:00
fourtf
640907198e I keep pushing too fast 2018-06-24 21:59:13 +02:00
fourtf
0d499313e2 fixed maximized mode margin on windows 2018-06-24 21:57:03 +02:00
fourtf
63c213a36a fixed spelling of "separate" 2018-06-24 18:32:00 +02:00
fourtf
59ee091722 fixed label ui scale 2018-06-24 18:30:48 +02:00
fourtf
22167f33f2 Fixes #491, font size in notebooktab too big 2018-06-24 17:33:55 +02:00
fourtf
68ddd1e7c9 Fixed some labels being too big on hi-dpi 2018-06-24 17:02:21 +02:00
fourtf
683017008a fixed inital scaling being wrong on windows 2018-06-24 17:02:21 +02:00
Rasmus Karlsson
24471fc2d0 Fix emote popup for certain emotes (i.e. <3)
Fix #513
2018-06-24 16:35:38 +00:00
Rasmus Karlsson
355b80680d Fix erroneous copying of emotes (twitch emotes in particular)
Fix #514
2018-06-24 16:30:28 +00:00
Rasmus Karlsson
fc0e89edf3 Implement "frameless draggable" windows on Linux
Not yet tested on Mac but should work just the same

Fix #472
2018-06-24 16:09:11 +00:00
Rasmus Karlsson
a105b47a6b Improve notice message handling
This should stop most duplicate notice messages from showing up

Fix #272
2018-06-24 15:33:22 +00:00
Rasmus Karlsson
8bb3ad1bf5 Only use the "duplicate message" functionality if user is not a
moderator
2018-06-24 15:20:15 +00:00
Rasmus Karlsson
715d208b6d Enable unicode regular expressions in ignore phrases too 2018-06-24 14:56:34 +00:00
pajlada
eae2c2c521
Emote popup channelname (#475)
Fix #464
2018-06-24 14:42:40 +02:00
Rasmus Karlsson
ebe0f0c87f Improve display name parsing
Fix #510
2018-06-24 14:27:08 +00:00
Rasmus Karlsson
a5983e3876 Fix "addFakeMessage" for privmsgs 2018-06-24 14:27:08 +00:00
fourtf
a505adf26c disabled openGuiMessageQueue for debug mode 2018-06-24 14:03:26 +02:00
fourtf
9a719dcd05 added completion for default twitch commands 2018-06-24 13:57:19 +02:00
Rasmus Karlsson
e1f2cb3355 Enable full unicode support in Highlight phrases
Fix #509
2018-06-24 13:42:22 +00:00
fourtf
573abe9f40 fixed #486 2018-06-24 13:33:18 +02:00
Rasmus Karlsson
6c727cf82b Settings now saves unicode QString settings properly
Fix #503
2018-06-24 13:21:16 +00:00
Rasmus Karlsson
ecfe9646dd Add missing this prefixes in TwitchServer 2018-06-24 13:14:05 +00:00
Rasmus Karlsson
be931df4f4 Add a message if you're trying to type without being logged in
Fix #484
2018-06-24 13:11:20 +00:00
fourtf
8b4f9d066e fixed account switch popup showing behind the main window 2018-06-24 13:10:29 +02:00
fourtf
8111946858 renamed variables in twitchserver 2018-06-24 13:06:11 +02:00
fourtf
47198a5489 Fixed #501 2018-06-24 13:00:42 +02:00
Rasmus Karlsson
532737d358 Fix the "mode header thing" to not take up too much space 2018-06-24 12:21:11 +00:00
DatGuy1
5135309508 Add room mode options to splitheader (#497) 2018-06-24 12:22:50 +02:00
fourtf
02214c38a6 added comments for explanation 2018-06-24 12:16:32 +02:00
fourtf
5673cefd1b Fixes crash #504 2018-06-24 11:45:30 +02:00
fourtf
f5a05543cd added autocompletion for commands 2018-06-24 11:24:21 +02:00
fourtf
2b99a3574c changed firefox extension link to the english one 2018-06-24 10:57:37 +02:00
fourtf
f7b9144210 added timestamp and disabled pings for inline sent whispers 2018-06-24 10:53:12 +02:00
fourtf
a91ac5cdf0 channged piss color to blue 2018-06-23 23:48:54 +02:00
fourtf
b056a07f65 show changelog fix 2018-06-23 23:26:09 +02:00
fourtf
c121eba15d fixed viewing changelog temporarily 2018-06-23 23:24:32 +02:00
fourtf
fdabb5d1f2 increased version to 2.0.1 2018-06-23 23:11:22 +02:00
fourtf
3bcbcac869 commented out the NOTICE message handle 2018-06-23 23:08:15 +02:00
fourtf
f728a1fbd7 added browserextensionpage 2018-06-23 22:49:07 +02:00
fourtf
89d9076715 polishing for the update 2018-06-23 22:17:57 +02:00
datguy
88ef3ef07a Show sent whispers inline 2018-06-23 19:24:51 +02:00
Rasmus Karlsson
942217fd6a Fix removing items in an EditableModelView
Fix #489
Fix #456

If @fourtf could take a look at this fix it would be nice KKaper
2018-06-23 14:46:21 +00:00
Rasmus Karlsson
ee1fd9274d Add missing include 2018-06-23 14:10:20 +00:00
Rasmus Karlsson
b2f454aca4 Change header color when split is active
Colors might need to change but they work for now

Fix #495
2018-06-23 11:54:00 +00:00
fourtf
5ae671dc14 accidentally added a line 2018-06-22 23:28:20 +02:00
fourtf
4aec66e3ea small refactor of twitchserver 2018-06-22 23:24:45 +02:00
Rasmus Karlsson
115031b7ac Clearchat now disables previous messages
Fix #499
2018-06-22 21:44:02 +00:00
Rasmus Karlsson
dd0d6a0f88 Stop moderation elements from appearing on other moderators messages
Fix #496
2018-06-22 21:19:52 +00:00
Rasmus Karlsson
2746f88e49 Load all short codes for emojis, instead of just the first one
Fix #494
2018-06-22 20:43:43 +00:00
hemirt
077f908f4e Adjust tooltip size 2018-06-22 20:14:44 +02:00
fourtf
dfdeef297e fixed dragging user info popup on windows 2018-06-22 12:44:10 +02:00
fourtf
440a3c41fe LayoutCreator<T>::operator * now returns a reference 2018-06-22 12:34:33 +02:00
fourtf
a5b48d713a disabled registering of the native messaging host if in debug mode 2018-06-22 11:33:01 +02:00
fourtf
e534bdfeca update manager 2018-06-22 10:22:25 +02:00
fourtf
5155039293 added #ifdef back in for windows updates 2018-06-21 23:03:13 +02:00
fourtf
8f34a0af59 fixed the updating mechanism 2018-06-21 23:02:42 +02:00
fourtf
00d538b368 fixed creating messagebox on wrong thread 2018-06-21 22:44:48 +02:00
fourtf
713d0c9599 minor change to the update system 2018-06-21 22:39:17 +02:00
fourtf
e204dfdb17 added updating mechanic 2018-06-21 22:02:35 +02:00
fourtf
2f91e3097a changed settings paths 2018-06-21 13:02:34 +02:00
Rasmus Karlsson
e0ecd97184 another emoji shit test 2018-06-20 21:30:18 +02:00
Rasmus Karlsson
c92c3141ba Try out braize pajlada CDN 2018-06-20 20:30:54 +02:00
fourtf
7a54b51cb7 removed the fourtf cdn 2018-06-20 19:32:54 +02:00
fourtf
66c4b4f82b added the fourtf cdn 2018-06-20 19:10:54 +02:00
fourtf
107dc398a8 added caching for bttv and ffz api requests 2018-06-20 09:02:50 +02:00
Rasmus Karlsson
e32841ab81 Make the UserInfoPopup identify itself as a popup, hinting tiling window manager to not tile it 2018-06-19 20:51:56 +00:00
fourtf
e28bc805f6 changed highlighted message color 2018-06-19 20:48:57 +02:00
fourtf
bc54927c84 fixed smooth scrolling 2018-06-19 20:34:50 +02:00
fourtf
ee396bc1b8 fixed messages not replacing 2018-06-19 20:19:43 +02:00
fourtf
cf6bdeddc7 fixed user info popup user info loading 2018-06-19 20:14:38 +02:00
Rasmus Karlsson
7703087fb4 Fix tabbing some emotes (i.e. R-)) 2018-06-19 20:04:12 +00:00
Rasmus Karlsson
8f00d1aece Make timeouts show up as the biggest "even" duration type possible
61 seconds = 61 seconds
60 seconds = 1 minute
3601 seconds = 3601 seconds
3600 seconds = 1 hour
3540 seconds = 59 minutes

the reason it doesn't just do 3601 seconds as 1 hour, 1 second is I
wanted to keep the messages short. might change in the future eShrug
2018-06-19 20:02:51 +00:00
fourtf
7e53b44099 opening user info popup approx. at the center of the mouse 2018-06-19 19:51:08 +02:00
fourtf
b2be44bbe7 making user dialog draggable on windows 2018-06-19 19:42:15 +02:00
fourtf
78b20776a8 improved user popup 2018-06-19 19:03:07 +02:00
fourtf
73a067f42f improved code style 2018-06-19 19:03:07 +02:00
fourtf
394009dda8 added ui scaling 2018-06-19 19:02:19 +02:00
fourtf
01f3f401ac wip changes 2018-06-19 19:00:02 +02:00
DatGuy1
b2ca38b479 fix typo
if -> ifdef
2018-06-18 23:33:06 +02:00
DatGuy1
2e8b168f19 FMT_USE_WINDOWS_H -> USEWINSDK 2018-06-18 23:33:06 +02:00
datguy
56fcc496cf made the 'add account' popup box actually pop up to the foreground 2018-06-18 23:33:06 +02:00
Rasmus Karlsson
7578743b74 Try to make message-replacing more crash-resistant 2018-06-18 20:03:09 +02:00
DatGuy1
635d4b2341 Fix minor userinfopopup moderator tool bugs
fix weeks time, add days, clang formatting
2018-06-14 17:08:57 +02:00
fourtf
57b21cffb3 changed emplace to push_back 2018-06-13 13:29:11 +02:00
fourtf
ae4cdbd5ab improved code style 2018-06-13 03:58:52 +02:00
fourtf
866f868b54 added stuff related to scaling 2018-06-11 21:57:41 +02:00
fourtf
66e1952603 fixed default ui scale 2018-06-11 21:57:41 +02:00
fourtf
3f9a48fd72 fixed linux 2018-06-11 19:11:33 +02:00
fourtf
f2f34a4068 fixed building 2018-06-11 15:31:27 +02:00
fourtf
ea9f9e7f18 added ui scaling 2018-06-11 15:07:04 +02:00
fourtf
9b26fce781 changes for light mode 2018-06-11 15:07:04 +02:00
Rasmus Karlsson
698814a21f Fix live status tooltip not updating properly
The issue was the TwitchChannel refreshLiveStatus function not calling
the updateLiveInfo signal properly

Fix #461
2018-06-11 11:51:46 +02:00
Lajamerr Mittesdine
511f60a181 Add the option to either copy / open an emote link
Currently you can only copy the emote link into clipboard.

This change allows you to directly open it instead.
2018-06-09 19:12:48 +02:00
DatGuy1
a41e199382 Default add to channel (#453) 2018-06-08 18:36:21 +02:00
Rasmus Karlsson
85e19d0bd6 Remove more QString usages 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
d2e750129c Remove unused std::string version of CompletionModel addString 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
9f2c4ab59a Make Emojis fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
63c38c02d0 Make FFZEmotes fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
6906d1dc1c Make BTTVEmotes fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
93fe7adce7 Make TwitchEmotes class conform to QString standard
Make twitch emotes only be identified by a string ID, instead of sometimes by a string and sometimes by an int

Make the EmoteSet a struct instead of just a vector of emotes. This will be handy when we later fill in the emote sets name and other info (i.e. whether it's a subscription benifit or not)
2018-06-07 16:40:31 +02:00
Rasmus Karlsson
3bc7e2da8a Key twitch emotes by QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
e8683c3e8e Remove unused includes in EmoteManager 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
d739fb0df4 Clean up FFZEmotes class 2018-06-07 16:40:31 +02:00
Rasmus Karlsson
09963700ae Clean up BTTVEmotes class 2018-06-07 16:40:31 +02:00
fourtf
049329e176 fixed /me action messages 2018-06-07 15:49:57 +02:00
Rasmus Karlsson
578795fbc3 Fix logging to a custom folder
Progress on #352
2018-06-06 20:30:34 +02:00
fourtf
7cd2d77524 fixed window title not containing the username on linux 2018-06-06 20:11:33 +02:00
fourtf
d2de34914b added scrollbars to the about page 2018-06-06 20:04:57 +02:00
fourtf
6000b7626e fixes #185 2018-06-06 18:59:18 +02:00
fourtf
00fb25d9a7 removed the old user info popup 2018-06-06 16:29:35 +02:00
fourtf
7a515355e4 added timeout and ban actions to the user popup 2018-06-06 16:17:34 +02:00
fourtf
45cda9b7a5 added follow and ignore functionality to the user popup 2018-06-06 15:54:14 +02:00
fourtf
c308883a2a added basic user info popup 2018-06-06 13:35:33 +02:00
fourtf
86e4a669ad added basic new user popup 2018-06-06 13:35:33 +02:00
Rasmus Karlsson
f542a5b999 Split up emoji parsing in more steps
Re-enable emoji skin variations
2018-06-06 11:43:02 +02:00
Rasmus Karlsson
3eab6150cf fix emoji set combobox not loading from settings 2018-06-06 11:42:41 +02:00
Rasmus Karlsson
5724c7ef67 play around with the QString json deserializer 2018-06-06 11:42:01 +02:00
Rasmus Karlsson
7f589803be Disable skin variations for emojis for now 2018-06-06 11:10:03 +02:00
Rasmus Karlsson
ba1767ce10 another try forsenT 2018-06-06 12:53:19 +02:00
Rasmus Karlsson
712b1c4f12 make skin variation parsing more resilient 2018-06-06 12:40:26 +02:00
fourtf
714d3178d6 disabled the custom log path as it doesn't save in the proper
directories
2018-06-06 00:46:37 +02:00
Rasmus Karlsson
334f778f42 Experimental emoji sets implemented
Fixes #376
2018-06-06 01:30:26 +02:00
Rasmus Karlsson
30c117f129 Add a mutable each function 2018-06-06 01:30:26 +02:00
fourtf
4716d73ee2 added keyboard bindings to the settings 2018-06-05 19:39:18 +02:00
fourtf
8a9ebf29a2 fixed SplitHeader tooltip not showing (hard one) 2018-06-05 19:18:26 +02:00
fourtf
19bef56f58 fixed tooltips having their own window in the taskbar 2018-06-05 19:08:49 +02:00
fourtf
51bde1098e fixed sending whispers from /whispers 2018-06-05 18:51:14 +02:00
Rasmus Karlsson
b410db844d Remove old emoji parsing test code
it can be recovered from the repo if we decide to make a test suite eShrug
2018-06-05 17:28:36 +02:00
Rasmus Karlsson
f56b2e2fc2 Remove unused code 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
8db3bf483e Remove unused chatterino emotes 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
e09e0a5ab4 Move emojis to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
8e70f02e3b Move gif timer stuff to its own class
Clean up unused includes
2018-06-05 17:28:36 +02:00
Rasmus Karlsson
78664f79ee Move FFZ emotes to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
f83c07be53 Move bttv emotes to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
e12d386a5a Move twitch emote-related stuff to TwitchEmotes class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
3a8ceede4e Remove unused functions from EmoteManager 2018-06-05 17:28:36 +02:00
Rasmus Karlsson
d584852bc0 Fix tag string parsing 2018-06-05 16:29:06 +02:00
fourtf
5c8e736518 fixed expanding messages 2018-06-05 14:24:54 +02:00
fourtf
a9d57f3ebd fixed expanding messages 2018-06-05 14:24:01 +02:00
Rasmus Karlsson
3c3abba202 Fix some compilation errors caused by an incorrect merge 2018-06-05 15:19:39 +02:00
pajlada
4ad0ed4d45
Merge branch 'master' into logging 2018-06-05 13:16:20 +02:00
Rasmus Karlsson
ac40bede37 Implement the "Reload channel emotes" menu option 2018-06-05 15:03:34 +02:00
Rasmus Karlsson
c81df989c5 Fix rare crash when clicking in a ChannelView 2018-06-05 15:01:45 +02:00
Rasmus Karlsson
7c81477c35 Improve sub/resub message parsing
Instead of regexping out the username, use the existing ircv3 login-tag
2018-06-05 14:14:00 +02:00
Rasmus Karlsson
791187e688 Re-implement F5 for fake messages (debug mode only) 2018-06-05 14:08:55 +02:00
Lajamerr Mittesdine
819812c458 Revisement 3 of Fixing the text emotes
Fix of a fix of a fix of a fix.
2018-06-05 00:32:11 +02:00
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 &gt;
2018-06-05 00:32:11 +02:00
fourtf
10b0466052 changed scrollbar bg 2018-06-05 00:14:47 +02:00
Rasmus Karlsson
4b52a98778 Fix mentions tab 2018-06-05 01:13:53 +02:00
fourtf
b693779c55 fixed clicking to select split 2018-06-04 21:44:03 +02:00
fourtf
d9cb8093cb added a shitty reconnect implementation 2018-06-04 21:37:19 +02:00
fourtf
8de0a59533 ircconnection and about page 2018-06-04 21:05:18 +02:00
fourtf
5e7fc909e7 fixed an issue 2018-06-04 21:03:06 +02:00
fourtf
2c1e045017 added licenses to the about page 2018-06-04 17:28:45 +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
bd5f9853f9 fixed "hide settings" and "hide user" settings on linux/mac 2018-06-04 15:36:48 +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
829809b0e1 added rightclicking selections to copy them 2018-06-04 14:39:26 +02:00
fourtf
2299030deb fixed tabs sometimes not showing 2018-06-04 12:54:09 +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
9e36af26fa applied code style to notebooktab 2018-06-01 14:57:18 +02:00
fourtf
449d410ce0 added minimuk size for tabs 2018-06-01 14:50:35 +02:00
fourtf
bba82ac912 fixed the add button not wrapping the notebook 2018-06-01 14:46:41 +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
85505a055d fixed scrollbar size and split focus 2018-05-31 16:02:20 +02:00
fourtf
783b9096c3 Fixes #438 message buffers not growing on message resize 2018-05-31 14:15:04 +02:00
fourtf
4f35d8854a made message backgrounds overflow into the scrollbar 2018-05-31 12:59:43 +02:00
fourtf
61a6accc54 fixed compilation on linux 2018-05-30 18:30:26 +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
LajamerrMittesdine
6d4344e66c Fixes issue #430
This makes Channel the default selected instead of Whispers.
2018-05-29 18:31:48 +02:00
LajamerrMittesdine
7279e8ee87 Fixes Issue #431
Fixed a grammatical mistake.
2018-05-29 18:31:21 +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
cded61d28d fixed crash 2018-05-28 15:23:17 +02:00
fourtf
5ba62997fc fixed removing accounts 2018-05-28 08:51:39 +02:00
fourtf
6156b1f430 added categories to the accountspage 2018-05-28 08:34:54 +02:00
fourtf
9fc791a440 clear the list of joined/parted users 2018-05-27 13:37:49 +02:00
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
b016f0fb88 added settings to show part and join messages 2018-05-26 18:06:55 +02:00
fourtf
88c609df43 Fixes #385, moderator mode icon not showing when broadcaster 2018-05-26 17:20:16 +02:00
fourtf
a48a233785 changed scrollbar highlight color 2018-05-26 17:12:00 +02:00
fourtf
6b24f249f7 fixed split header tooltips not showing 2018-05-26 17:12:00 +02:00
Rasmus Karlsson
08cf701af3 quick linux fix 2018-05-26 13:38:25 +02:00
fourtf
90551acf37 changed "justinfanXXX" to "anonymous" 2018-05-25 18:23:13 +02:00
LajamerrMittesdine
0c9a079bd5 Corrected style for Twitch Bit Badge overlay text to be consistent with Chatterino
Changed from "cheer x" to "Twitch cheer x"
2018-05-25 16:50:28 +02:00
LajamerrMittesdine
302af3aaa1 Changed bit badge overlay text to be consistent with Twitch
Currently it uses "Twitch Bit(x)". Changed to "cheer x" to be consistent with Twitch text overlay.
2018-05-25 16:50:28 +02:00
fourtf
8ccd00a4d8 fixed building on mac 2018-05-25 16:48:35 +02:00
fourtf
5f76903849 Fixes #395 dropdown for search 2018-05-25 16:24:24 +02:00
fourtf
8e8990b339 fixes #400 2018-05-25 16:20:39 +02:00
fourtf
afb5a1e5bf Fixes #309 alt tabbing doesn't hide resize handles 2018-05-25 16:11:03 +02:00
fourtf
f654528e28 fixed resizehandles showing when switching tabs 2018-05-25 15:04:41 +02:00
fourtf
77630d5c85 changed resize handle color 2018-05-25 15:03:58 +02:00
fourtf
50a2454cc6 added alt+arrowkeys back 2018-05-25 14:57:17 +02:00
fourtf
abd46d0bb8 added spaces when sending whispers 2018-05-25 13:55:55 +02:00
fourtf
9aa9b90267 fixed /r and tab text alignment 2018-05-25 13:53:55 +02:00
fourtf
b68b7ecb10 fixed accountpopup background color 2018-05-25 13:02:14 +02:00
fourtf
f72e1b5d82 fixed message expanding not working 2018-05-25 12:45:18 +02:00
fourtf
d775123ed0 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-05-25 12:13:09 +02:00
nuuls
ec03bc2e8c fixed performance 2018-05-25 01:31:34 +02:00
nuuls
6ee4945715 fixed mac stuff and added more debug code 2018-05-25 01:31:34 +02:00
fourtf
16c57045ed fixed style issues 2018-05-24 17:22:51 +02:00
fourtf
835b6d80da fixed loading issues of saved split layout 2018-05-24 17:13:46 +02:00
fourtf
fecca83312 followup to the last commit 2018-05-24 16:06:34 +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
2ac9b4d0e7 minor addition to the last commit 2018-05-24 10:07:31 +02:00
fourtf
abc2b9724f fixed tooltips not showing over topmost windows on windows 2018-05-24 10:03:07 +02:00
fourtf
59110ad4bd added roommodes to the splitheader 2018-05-24 08:58:34 +02:00
fourtf
48e94a1169 added code for a notification system 2018-05-23 22:27:29 +02:00
fourtf
a74c19d1f3 fixed rightclicking links 2018-05-23 21:16:34 +02:00
fourtf
0d76f6f39f added "Copy message" context menu item ofr messages 2018-05-23 20:34:37 +02:00
fourtf
63e88938ef fixed channelview not scrolling down when emotes get loaded 2018-05-23 20:22:41 +02:00
fourtf
96103de1ea fixed tiny badges 2018-05-23 20:13:55 +02:00
fourtf
fb750d6d85 added confirmation dialog when closing a tab 2018-05-23 20:02:12 +02:00
fourtf
4cb666b75a added ctrl+t again 2018-05-23 19:46:08 +02:00
fourtf
aefdb60ada enabled dark fusion theme 2018-05-23 19:42:42 +02:00
fourtf
8173b3d60d improved the window broder on windows 8 2018-05-23 17:24:07 +02:00
fourtf
0475ea0b6f fixed text copying in the emote popup 2018-05-23 13:54:42 +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
75627bc037 disabled theme color option 2018-05-23 12:44:01 +02:00
fourtf
a0fb6630e7 Fixes #406 2018-05-23 12:35:10 +02:00
fourtf
eb25e863e3 allowing hotswapping the top-most setting on windows 2018-05-23 12:31:03 +02:00
fourtf
67e580059c show settings and user button when it's not available in the window
frame
2018-05-23 12:24:18 +02:00
fourtf
8b3fb691a7 renamed Notebook2 to Notebook 2018-05-23 11:59:37 +02:00
fourtf
dafbda6a4a asdf 2018-05-23 04:22:17 +02:00
fourtf
f6d02fffc9 rewrote the pausing chat on hover functionality 2018-05-17 17:27:20 +02:00
fourtf
795758f618 fixed the split overlay not appearing proprly 2018-05-17 16:39:38 +02:00
fourtf
c27a4eec33 fixed the splitoverlay not disappearing when the window is not selected 2018-05-17 14:47:23 +02:00
fourtf
4d3437e6d1 fixed timeouts for non moderators 2018-05-17 13:43:01 +02:00
fourtf
89ca71aec4 commented out the unused logspage 2018-05-17 12:29:14 +02:00
fourtf
05261ef67c commented out development code 2018-05-17 12:17:31 +02:00
fourtf
d24e1f8314 fixed selections moving when new messages come in while selecting 2018-05-17 12:17:31 +02:00
fourtf
8ee0f85a2b weekly "fixed building on linux" 2018-05-16 17:47:58 +02:00
fourtf
7b192897da minor fixes 2018-05-16 15:42:45 +02:00
Rasmus Karlsson
c2c3b67f6b 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-16 15:14:46 +02:00
Rasmus Karlsson
26262f4ce4 Also respect "enable twitch ignored users" setting 2018-05-16 15:12:48 +02:00
Rasmus Karlsson
61dac49f6d Implement basic and stupid ignore functionality
We currently do not respect mod status
2018-05-16 15:12:48 +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
fourtf
5b26cdaa07 added split resizing and splitting 2018-05-16 15:02:01 +02:00
fourtf
28fb877020 updated splitheader 2018-05-16 15:02:01 +02:00
fourtf
27cd953c8c improved splits 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
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
732d0374be Simplify optional member reading in HighlightPhrase setting deserialization 2018-05-13 19:25:12 +02:00
Rasmus Karlsson
15b432a4cf Implement simple ignored phrase system 2018-05-13 19:25:12 +02:00
Rasmus Karlsson
3a48f5db96 Remove unused IgnoreMessagesPage widget 2018-05-13 19:25:12 +02:00
Rasmus Karlsson
022c31e315 Don't use our custom up/down arrow actions if shift is pressed 2018-05-13 18:27:17 +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
6768853d92 Also respect "enable twitch ignored users" setting 2018-05-12 23:34:22 +02:00
Rasmus Karlsson
e4439a3f10 Implement basic and stupid ignore functionality
We currently do not respect mod status
2018-05-12 23:27:34 +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
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
fourtf
f695a41c6c fixed unneccessssary connected message and stretching in the highlights
settings
2018-05-08 16:55:20 +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
aba8e1a18f fixed freeze when messages get taller when they get higher 2018-05-06 16:12:21 +02:00
fourtf
c2363e17e7 minor fixes 2018-05-06 15:39:03 +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
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
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
Rasmus Karlsson
e31dc09e91 Add remaining pubsub messages to chat 2018-04-29 13:24:37 +02:00
Rasmus Karlsson
d05a59ef51 Remove unused constructor definition 2018-04-28 22:02:16 +02:00
Rasmus Karlsson
65f5430d8b fix ctrl-w that I broke KKona
fix #369
2018-04-28 22:00:08 +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
fourtf
ebbe8dcfae clear clipboard after pasting login code 2018-04-28 15:27:24 +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
Rasmus Karlsson
42182ed504 reformat 2018-04-27 18:27:17 +02:00
Rasmus Karlsson
7e5a182d50 Add define to disable the crash dialog 2018-04-27 17:38:30 +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
98be8aaeff fixed crash 2018-04-25 14:53:54 +02:00
fourtf
859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +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
Rasmus Karlsson
92a19d61cf Add room ID to pubsub moderator actions 2018-04-22 15:37:02 +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
Rasmus Karlsson
0718277271 Update settings library version 2018-04-22 14:09:38 +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
Rasmus Karlsson
98c0b2b0f0 Most likely fixed linux segfault 2018-04-20 23:54:19 +02:00
fourtf
3c10c59ce6 fixed popup windows not having the right channel and the application
exiting when you close a popup
2018-04-20 22:54:09 +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
fc78fa23a2 fixed inline whispers lighting up all tabs 2018-04-18 20:38:08 +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
c84391e276 fixes some splits having another size than others 2018-04-18 19:18:14 +02:00
fourtf
1290d28b1a added custom window frame title 2018-04-18 18:55:49 +02:00
fourtf
fa3c812697 default window buttons resize if the window is really small 2018-04-18 18:10:47 +02:00
fourtf
e8a948cffc added custom window frame to the emote popup 2018-04-18 17:51:53 +02:00
fourtf
4743e9f86c only connect to the gif frame update signal for gif emotes 2018-04-18 17:20:33 +02:00
fourtf
692563fd8e adjusted optimization 2018-04-18 17:10:17 +02:00
fourtf
4c99f2b5fd decreased lag when opening the emote/emoji menu 2018-04-18 17:03:37 +02:00
fourtf
653e4c6adf fixed some light mode issues 2018-04-18 09:33:05 +02:00
fourtf
3446a623f5 added select channel dialog 2018-04-18 09:15:56 +02:00
fourtf
043823120f some fixes for windows 2018-04-18 09:12: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
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
ca0a42a95f possibly fixed windows compilation KKona 2018-04-14 22:40:20 +02:00
Rasmus Karlsson
b68b0845c1 Disable the experimental code, oops KKona 2018-04-14 22:39:35 +02:00
Rasmus Karlsson
5fcec26a5c Clarify that a variable is currently unused, but I am unaware forsenKek if should be used later 2018-04-14 22:32:22 +02:00
Rasmus Karlsson
99772313d6 Specify that the variables in const.hpp are allowed to be unused 2018-04-14 22:31:51 +02:00
Rasmus Karlsson
c631738cd6 Add experimental shit code that might fix the strict-aliasing issue 2018-04-14 22:31:31 +02:00
Rasmus Karlsson
b7266b1640 Fix warnings that occured on linux using clang 2018-04-14 21:59:51 +02:00
Rasmus Karlsson
57e788422f Add an UNUSED macro to precompiled_header.hpp 2018-04-14 21:58:06 +02:00
Rasmus Karlsson
0b18a8331a Fix channels not going offline properly 2018-04-14 18:27:13 +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
1654130dbc fixed crash when changing theme after closing tab 2018-04-13 23:17:10 +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
Rasmus Karlsson
52afa7b5b7 Ensure we disconnect from signals on exit in SplitHeader 2018-04-11 01:06:13 +02:00
fourtf
2ede50af0e added version header 2018-04-11 00:18:33 +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
d0f1ea8502 fixed text copying if a single word is selected 2018-04-10 15:52:47 +02:00
fourtf
bcf0ebd8ef Fixes #270 Copying text is broken 2018-04-10 15:48:56 +02:00
fourtf
739c17c0c8 selections now render over all images 2018-04-10 03:29:00 +02:00
fourtf
7093a95e29 fixed issue with selecting text and word wrapping 2018-04-10 03:17:44 +02:00
fourtf
93f9996207 Fixes #291 links clickable area 2018-04-10 02:42:41 +02:00
fourtf
93163518cc Fixes #276 Color of the moderator buttons are black if the timestamp is disabled 2018-04-10 02:13:41 +02:00
fourtf
829c028009 disabled message layouting limits 2018-04-10 02:07:25 +02:00
fourtf
33b94d757f Fixes #325 Option tab stays open when closing the main window 2018-04-10 02:02:49 +02:00
fourtf
efdcc64f89 Fixes #326 Shift + EMOTE TAB doesnt work 2018-04-10 01:55:06 +02:00
fourtf
8f4b58ae08 slight changes 2018-04-08 17:37:48 +02:00
fourtf
ce6b180522 improved custom window handling 2018-04-08 17:08:17 +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
pajlada
10f0aadb6c
Merge pull request #318 from Cranken/highlightText
Now highlights the text in the channel change and tab rename dialogue.
2018-04-08 14:39:34 +02:00
fourtf
a1cd315ac8 Fixes #288 arrow up behaviour 2018-04-08 14:33:45 +02:00
fourtf
3484abd4af fixed popups not getting deleted on close 2018-04-08 14:14:55 +02:00
Cranken
942e8cefcc Also now highlights in tab rename. 2018-04-07 21:42:06 +02:00
Cranken
1fc04d82ca Now highlights the text in the channel change dialogue. 2018-04-07 21:21:56 +02:00
Rasmus Karlsson
c82254aa9e Reformat
Remove some UUID remnants
2018-04-07 12:53:10 +02:00
Rasmus Karlsson
945d500701 Closing splits now tries to focus a neighbouring split
Fixes #176
2018-04-07 12:43:28 +02:00
Rasmus Karlsson
179cd5552d Move CTRL+T hotkey handling to Notebook
CTRL+T Can now be called anywhere in the window
2018-04-07 12:27:08 +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
4ec2c0d8b3 added cooldown to layouting to reduce lag when opening the emojis tab 2018-04-06 18:27:49 +02:00
fourtf
d85dba3e0e fixes #307 2018-04-06 18:05:30 +02:00
fourtf
cc1e3c2f6f fixed an issue where normal emotes would be redrawn like gif emotes 2018-04-06 17:46:12 +02:00
fourtf
86c844c791 added debug information on F10 2018-04-06 16:37:30 +02:00
fourtf
68227fa576 repaint tabs when text changes 2018-04-06 01:58:26 +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
5bcb561eb2 Simplify debug::Log. No need for a second function 2018-04-03 03:00:34 +02:00
Cranken
e5c852ecba Fixed crash upon starting
Fixes issue #304
2018-04-02 13:58:15 +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
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
87cf79440b Fixed an issue where Badges and emotes were not rendered transparently in disabled messages
I'm a master programmator

Fixes #300
2018-04-01 11:43:26 +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
3cdaeb071a Fixes some emojis that wouldn't display properly
Fix #198
2018-03-31 13:14:43 +02:00
Rasmus Karlsson
d3212b0a59 Fixes the previous "Disabled message" behaviour
Fixes #295
2018-03-31 11:32:29 +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
fourtf
700b15c483 improved new tabs 2018-03-30 16:26:45 +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
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
1b9fa36e06 add mouseMove signal to SignalLabel
Make use of the mouseMove signal in SplitHeader for the stream uptime
tooltip
2018-03-30 14:48:35 +02:00
Rasmus Karlsson
1c7f397f1b Move signallabel code out from its header 2018-03-30 14:39:33 +02:00
Rasmus Karlsson
89d7b7db87 expire non-recent chatters 2018-03-30 13:51:15 +02:00
Rasmus Karlsson
d4f37f786b Once again reset completion model first time tab is pressed. This ensures we never tab the wrong username, but it's really expensive. 2018-03-30 13:51:15 +02:00
fourtf
ec349f5978 added experimental new tabs 2018-03-30 13:44:01 +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
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
4790f68557 make helper function for trimming a twitch channel name from irc 2018-03-25 11:37:57 +02:00
Rasmus Karlsson
dc578a5f29 Add "Timeout action" setting 2018-03-25 11:07:03 +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
Nikolai Zimmermann
6c56e9cc82 Don't add duplicats to message history (#277) 2018-03-24 12:22:03 +01: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
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
45dfb151a2 set background color to grey instead of brown 2018-02-09 15:47:11 +01:00
fourtf
a9d706048c modified "show message length" settings text 2018-02-09 13:50:02 +01:00
fourtf
54b0d9dda9 renamed ircchannel 2018-02-09 13:33: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
c3287a1da8 dream come true 2018-02-06 00:10:30 +01:00
fourtf
e047a55da8 fixed compiling on macos 2018-02-05 23:56:16 +01:00
fourtf
6b483640cd added username in the titlebar 2018-02-05 23:32:38 +01:00
fourtf
9b1300212a Fixes #266 graphical gliches after changing theme color 2018-02-05 21:33:22 +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
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
Rasmus Karlsson
25979d4535 Unscuffed settings log page 2018-02-03 16:21:41 +01:00
Nikolai Zimmermann
e2b54edb2d Fix build error (#264) 2018-01-30 13:31:18 +01:00
fourtf
0d417dfa2d minor style changes 2018-01-29 13:23:45 +01:00
fourtf
12b30eb2ed minor changes to the pr 2018-01-28 18:05:01 +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
643486da14 enabled compact emtoes again 2018-01-28 16:29:47 +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
fourtf
c62a91ac2b fixed message flags |= and &= operations 2018-01-28 14:45:39 +01:00
Rasmus Karlsson
88586b53b7 Switch bitwise operator in message from &= to |=
Flags still don't work for me properly, probably due to EnumFlags not
being fully implemented
2018-01-28 14:24:37 +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
fourtf
f474db9443 minor changes in MessageLayout 2018-01-28 04:07:45 +01:00
fourtf
772dc97d92 minor changes to MessageColor 2018-01-28 03:57:22 +01:00
fourtf
11775071b9 made Link a struct 2018-01-28 03:52:52 +01:00
fourtf
99aac9eb6a minor code improvements 2018-01-28 03:48:15 +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
e518cff06e fixed icon scale in settings dialog 2018-01-27 21:51:08 +01:00
fourtf
34775094f6 fixed #252 clicking emotes in the emote popup 2018-01-27 21:42:47 +01:00
fourtf
d33adff5c9 fixed emotes popup emotes 2018-01-27 21:13:22 +01:00
fourtf
56a7b05103 fixed titlebar scaling 2018-01-25 21:11:14 +01:00
fourtf
ac6cbe9daf fixed + button size 2018-01-25 20:51:17 +01:00
fourtf
0a8073d0e5 refactored SplitInput 2018-01-25 20:49:49 +01:00
fourtf
8ab0fa4378 Fixes #259 dropping split on + button 2018-01-24 22:09:26 +01:00
fourtf
de9e1b641d Fixes #234 links 2018-01-24 21:44:31 +01:00
fourtf
f35ca0d2c8 fixed right clicking links 2018-01-24 21:16:00 +01:00
fourtf
05339aad2d started fixing clicking emtoes 2018-01-24 20:58:53 +01:00
fourtf
74fd6c9663 Fixes #258 theme change doesn't apply 2018-01-24 20:35:26 +01:00
fourtf
f4863cbccb added buttons to the custom window frame 2018-01-24 20:27:56 +01:00
fourtf
93cfcbd3f1 added empty ketboard settings page 2018-01-24 15:34:04 +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
d741bf6df3 added SpecialChannelPage with a description for /mentions 2018-01-23 23:10:27 +01:00
fourtf
f42d48860c fixes #249 2018-01-23 22:51:15 +01:00
fourtf
0f4ec70bf3 Fixes #53 last read message indicator 2018-01-23 22:48:33 +01:00
fourtf
418189d39c Fixes #230 appearence settings not updating 2018-01-23 22:00:58 +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
91d45214d9 fixed emotes settings a little bit 2018-01-23 21:35:42 +01:00
Nikolai Zimmermann
cb6af11b5a Changed some multiplier from 1000 to 100 2018-01-23 14:54:02 +01:00
fourtf
06be94b9a6 Fixes #179 tabs can't be repositioned 2018-01-22 21:31:45 +01:00
fourtf
305191d4b3 fixed #177 user popup being off the screen 2018-01-22 20:52:32 +01:00
fourtf
fc758846f6 made the code actually compile 2018-01-22 20:14:43 +01:00
fourtf
9d8edc4ae0 Fixes #210 aallow duplicate messages behaves weird 2018-01-22 15:24:39 +01:00
fourtf
d966c24bc3 fixed #250 tooltips don't stay in window geometry 2018-01-22 15:06:36 +01:00
fourtf
dc8086f8b6 Fixes #239 /me message color 2018-01-22 14:41:46 +01:00
fourtf
135f9910f8 renamed template method from "append" to "emplace"
to be in line with the std library naming scheme
2018-01-22 14:39:24 +01:00
fourtf
0febffc6d8 removed unused method 2018-01-22 14:37:29 +01:00
fourtf
bd50b2ae79 Fixes #248 user color not normalized 2018-01-22 14:35:51 +01:00
fourtf
3104aae80a fixed crash 2018-01-19 23:41:02 +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
Rasmus Karlsson
1e7d3a2ec6 Make isMod a virtual method so it can be called from the base class too 2018-01-18 18:17:48 +01:00
fourtf
283b48f845 fixed crashing on closing 2018-01-18 07:57:20 +01:00
Bur0k
97411c045c Calling deleteLater() in CloseSplit
Instead of removing the TwitchChannel manually in CloseSplit, a request
to delete this widget will be sent to QT.
In the destructor the TwitchChannel will be removed as planned.
2018-01-17 20:09:53 +01:00
Bur0k
728b6e74a8 Remove the Twitch Channel when closing the split 2018-01-17 20:09:53 +01:00
confuseh
84186da16c Add missing streamlink option & make preferredQuality lowercase 2018-01-17 18:47:35 +01:00
fourtf
f3357cf0f4 Fixes #225 fix am/pm for timestamps 2018-01-17 18:36:12 +01:00
fourtf
4ddb4616ee _ 2018-01-17 17:18:28 +01:00
fourtf
7310f1b888 fix for bur0k 2018-01-17 17:17:26 +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
91fca258bf fixed searching 2018-01-17 14:25:03 +01:00
fourtf
6d6b99f3ef added moderation buttons 2018-01-17 14:14:31 +01:00
fourtf
252f648ff8 removed qDebug() call 2018-01-17 03:27:21 +01:00
fourtf
8dc4f8945e fixes empty tooltips showing 2018-01-17 03:26:32 +01:00
fourtf
776a975624 Fixes #232 opening streams in browser 2018-01-17 03:18:47 +01:00
fourtf
db41044daf Fixed #216 bundles connected and disconnected 2018-01-17 03:10:21 +01:00
fourtf
873eeec545 Fixes #240 2018-01-17 02:46:50 +01:00
fourtf
e1ff4c818e added background color to the accountswitchwidget 2018-01-17 02:22:57 +01:00
fourtf
1fe7e652b1 added a tip to the SplitHeader when you have >1 tab 2018-01-17 02:04:10 +01:00
fourtf
0a3c6e29c7 added Alt+LeftClick to move splits around 2018-01-17 01:20:19 +01:00
nuuls
6f95a219a7
fixed it 2018-01-16 22:37:06 +01:00
fourtf
285c2e8688 Fixes #243 2018-01-16 18:59:10 +01:00
fourtf
66014d07a0 minor changes to the close tab confirm dialog 2018-01-16 18:55:30 +01:00
Bur0k
17f5fd0ff1 Added a confirmation Dialog when trying to close a tab 2018-01-16 18:44:25 +01:00
fourtf
0ca916717c added basic buggy text copying 2018-01-16 02:39:31 +01:00
fourtf
a33ac76f99 fixed the default scrollbar size 2018-01-16 01:40:52 +01:00
fourtf
99c4682287 removed unused return 2018-01-16 01:13:29 +01:00
fourtf
c01843977b fixed word wrapping 2018-01-16 00:56:17 +01:00
fourtf
385f9e44d0 fixed text selection color 2018-01-16 00:34:32 +01:00
fourtf
a190eda075 fixed text selection 2018-01-16 00:26:04 +01:00
fourtf
1133b33318 updated precompiled_header.hpp 2018-01-16 00:14:55 +01:00
fourtf
6701c3d0b2 fixed compiling 2018-01-15 04:08:48 +01:00
fourtf
d045f6963a disabled custom window frame for now 2018-01-15 01:59:05 +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
177cd734ab centered splitheader title again 2018-01-14 22:24:21 +01:00
fourtf
e0372a2453 moved dpi handling out of helper file 2018-01-14 21:59:45 +01:00
fourtf
e19a83679f moved window logic from BaseWidget to BaseWindow 2018-01-14 21:55:36 +01:00
fourtf
8deb096a27 switched to proper icon for SplitHeader 2018-01-13 04:08:39 +01:00
fourtf
61d0229b4c refactored the SplitHeader 2018-01-13 04:05:38 +01:00
fourtf
c79f88ed10 fixed gif emotes being offset 2018-01-13 03:08:31 +01:00
fourtf
bc93ef7214 added settings page for moderation 2018-01-13 03:06:10 +01:00
fourtf
faf5da2bf7 fixed notification tab not having an icon 2018-01-13 02:21:08 +01:00
fourtf
96feb9b54c _ 2018-01-13 02:18:13 +01:00
fourtf
cec6f7ce9d fixed settingsdialogtab image being offset 2018-01-13 02:17:07 +01:00
fourtf
9703cf6ad4 fixed gif emotes not drawing 2018-01-13 02:13:59 +01:00
fourtf
40733ca312 fixed disabled messages not being greyed out 2018-01-13 02:03:53 +01:00
fourtf
2073447df7 added highlights page again 2018-01-13 02:00:02 +01:00
fourtf
d16bbf6899 fixed icons in settings pages 2018-01-13 00:18:18 +01:00
fourtf
2f0658935a added AboutPage back in again 2018-01-13 00:05:49 +01:00
Rasmus Karlsson
7772f245f6 refactor the refactor 2018-01-12 23:33:04 +01:00
fourtf
e0bb061c81 refactored the settings dialog 2018-01-12 23:09:27 +01:00
Rasmus Karlsson
4cbc3b8b61 Implement custom bit badges
Fixes #226
2018-01-12 22:38:00 +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
Rasmus Karlsson
83763cf9a9 Remove unused method EmoteData::getImageForSize 2018-01-12 19:13:19 +01:00
Rasmus Karlsson
3c8c793e47 Add missing return in MessageElement::setTrailingSpace 2018-01-12 18:42:13 +01:00
fourtf
a339c4ca0a fixes #221 2018-01-11 21:03:40 +01:00
fourtf
a7fa4160e8 added define for myself 2018-01-11 20:26:32 +01:00
fourtf
10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
Bur0k
c240d6f7c2 Added Qt::X11BypassWindowManagerHint to the WindowFlags of ToolTipWidget (#222) 2018-01-10 00:30:40 +01:00
Rasmus Karlsson
ca0d672609 reformat settingsdialog.cpp
this is just a reason to push a build to try out the CI
2018-01-09 08:58:23 +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
coral
1348032b57 High DPI logo 2018-01-07 12:03:04 -08:00
coral
6f1f91e78e Goodbye QGraphicsView 2018-01-07 11:55:41 -08:00
Rasmus Karlsson
08859deabc reformat settingsdialog.cpp
just pushing this to test auto build/deploy :kkona:
2018-01-07 17:28:42 +01:00
coral
1fab5adaf8 About box added in Settings, early implementation 2018-01-07 00:05:41 -08:00
coral
6377331364 Changed the global emoji symbol 2018-01-06 23:05:09 -08: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
coral
5baba39cdc NOT UGLY ICON PLX 2018-01-06 17:59:02 -08:00
fourtf
a32d1c063c searching is now case insensitive 2018-01-07 00:05:32 +01:00
fourtf
6fec6514fa made int division float division 2018-01-06 21:47:19 +01:00
Rasmus Karlsson
26170e4fdb Add CTRL+SHIFT+T and CTRL+SHIFT+W to Open and Close tabs
Fixes #21
2018-01-06 21:00:41 +01:00
fourtf
29046b3aa1 fixed scrollbar divide by zero 2018-01-06 20:57:16 +01:00
Rasmus Karlsson
b8e268f969 Implement CTRL+1 to CTRL+9 hotkeys for switching tabs
Progress on #21
2018-01-06 20:27:26 +01:00
Rasmus Karlsson
8aa459d826 Move shortcut creation code to its own helper file 2018-01-06 20:24:04 +01:00
fourtf
e5b8e33eb3 removed fps limit
it didn't increase performance and just made it look 'laggier'
2018-01-06 18:21:00 +01:00
fourtf
20eab57db5 added highlights to the scrollbar 2018-01-06 03:48:56 +01:00
fourtf
99f2d0dd27 fixed type of Message::Flags 2018-01-06 00:02:04 +01:00
fourtf
a4656f3ab5 added slight offset when notebook has no button 2018-01-05 23:55:41 +01:00
fourtf
3bf3490aa3 increased speed of smooth scrolling 2018-01-05 23:32:06 +01:00
fourtf
315cfd8605 bundling timeouts from same user 2018-01-05 23:14:55 +01:00
fourtf
47a813d5d6 added search popup 2018-01-05 13:42:23 +01:00
fourtf
02b73cfa27 I accidently an assignment 2018-01-05 12:22:03 +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
4ac03f396f removed "Commands don't save" text 2018-01-05 11:04:37 +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
69488eb2ea fixed off by one error 2018-01-05 03:41:31 +01:00
fourtf
898d1d26e7 added window icon 2018-01-05 03:30:43 +01:00
fourtf
2fddc0ed8a smoothScrolling for new messages false by default 2018-01-05 03:23:06 +01:00
Rasmus Karlsson
069e42360b further fix setting collision 2018-01-05 03:19:41 +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
e58c5ec11b Fix window geometry loading
Fixes #181
2018-01-05 03:09:44 +01:00
Rasmus Karlsson
334860dad2 Remove unused appdatapath class
Reformat some code
2018-01-05 03:00:29 +01:00
fourtf
fd8ddcff55 fixes #113 2018-01-05 02:55:28 +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
43568556be Fixes #195 2018-01-05 01:31:01 +01:00
fourtf
2b88250761 fixed crash related to clojures in TwitchChannel 2018-01-05 00:58:25 +01:00
fourtf
23e5100227 refresh rate lock for ChannelView 2018-01-05 00:15:03 +01:00
fourtf
fc1fb35947 changed text of the jump-to-bottom-button 2018-01-05 00:01:31 +01:00
fourtf
4a2850c4f5 moved selection into its own file 2018-01-04 23:50:30 +01:00
fourtf
4a91372f8f fixed #182 2018-01-04 23:35:36 +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
coral
0e8b50c4e9 New setting menu icons! (#189)
* LUL

* Added system icon for OSX
2018-01-02 03:44:52 +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
Rasmus Karlsson
258288bad9 Some settings can now be "reverted" by pressing cancel in the settings dialog
Modify visibility of some members of SettingsDialog
update external libraries
Progress on #180
2017-12-28 19:34:20 +01:00
Rasmus Karlsson
7d259fe7e6 An error should now be printed if you connect with bad credentials.
This fix relies on #163 being closed, so for now #132 will be left open.
2017-12-28 18:37:39 +01:00
Rasmus Karlsson
caddb2c778 Add the "Close Tabs" feature
Also made notebooks open a container if no tabs are loaded

Fixes #166
2017-12-28 18:17:25 +01:00
Rasmus Karlsson
091e7b9dbe update subscribe url 2017-12-28 18:17:25 +01:00
Rasmus Karlsson
307dc16d79 use twitch get with rapidjson json in refreshLiveStatus
we now check that all values are legit, which can be an issue if we are
sent invalid json data
2017-12-28 18:17:25 +01:00
4a405379d0 remove the double space after username 2017-12-28 17:56:00 +01:00
0cdf974310 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-28 17:50:24 +01:00
1940b0197c emotes now have less margin 2017-12-28 17:46:36 +01:00
e0bdc5ccf9 forgot to remove this xD 2017-12-28 16:56:24 +01:00
Rasmus Karlsson
c9c2aa6dce Fixed crash bug described by Cranken in #165 2017-12-28 16:26:35 +01:00
ece0482502 removed autoscoll and gotobottom from emotepopup 2017-12-28 00:48:21 +01:00
4aa995c74a fixed the emote popup not showing anything 2017-12-28 00:45:03 +01:00
Cranken
cb75c2a725 Fixed messages getting loaded multiple times. (#170)
* Implemented loading recent messages.

* Fixed messages getting loaded multiple times.
2017-12-28 00:03:52 +01:00
2cdc404eb4 fixed rounding issue that caused an infinite loop 2017-12-27 23:18:42 +01:00
9bbacdfae4 changed login url in logindialog 2017-12-27 22:26:23 +01:00
4f3f9906f1 commented code out that didn't compile 2017-12-27 21:29:56 +01:00
f676450d03 added code for command handling 2017-12-27 19:50:05 +01:00
Cranken
223f4af55a Implemented loading recent messages. (#162) 2017-12-27 01:22:12 +01:00
fourtf
2fc546cada made scrollbar a thin boi
Expands when hovered with the mouse
2017-12-26 19:14:36 +01:00
fourtf
9dd6966e8c graphicbuffers of msgs offscreen get discarded now 2017-12-26 18:24:02 +01:00
fourtf
6c23925406 fixed render hints at wrong places 2017-12-26 17:41:03 +01:00
fourtf
5df7651670 removed a debug log 2017-12-26 17:31:15 +01:00
fourtf
285c72a83d fixed "jump to bottom" now disapearing after click 2017-12-26 17:15:23 +01:00
fourtf
a51735baae changed scollbar background color 2017-12-26 17:01:44 +01:00
fourtf
4e4cc9223e tweaked the light themes 2017-12-26 16:54:39 +01:00
fourtf
37ca3cd79e fixed brown header when hovering in light theme 2017-12-26 15:08:36 +01:00
fourtf
a6be0c83bc global ffz and bttv now uses new NetworkRequest 2017-12-26 12:39:44 +01:00
Rasmus Karlsson
13b39e374b Tabs now highlight when a highlight is received
Work on #88
2017-12-26 12:32:24 +01:00
Rasmus Karlsson
7a8cc91eec Move HighlightState to common.hpp 2017-12-26 12:30:32 +01:00
Rasmus Karlsson
ebd682730a rename highlight style to highlight state 2017-12-26 12:05:14 +01:00
Rasmus Karlsson
03962db367 move some logic abou updated state to twitchuser 2017-12-26 11:59:26 +01:00
fourtf
0ca4a098e1 Fixed tooltip now closing properly. Fixes #159 2017-12-24 23:56:08 +01:00
fourtf
91099c028e moved the tooltip close logic to basewidget 2017-12-24 16:01:01 +01:00
fourtf
72ed52c35c fixed system messages not splitting words properly 2017-12-24 00:24:35 +01:00
fourtf
9b90b1b590 made usernames bold 2017-12-23 23:48:10 +01:00
fourtf
2bf53f73f8 oh no the bad commit descriptions are back D: 2017-12-23 23:24:35 +01:00
Cranken
a617873f6a Implemented a new, better looking tooltip. (#158)
* Implemented a new, better looking tooltip.

* Pajlada fix.

* Fixed dragging behaving incorrectly.

* Fixed out of focus hovering getting stuck.
2017-12-23 22:17:38 +01:00
fourtf
fc81b118c7 replaced qt font scaling
remove the qt font scaling and added code that uses the actual scale/dpi value
2017-12-23 21:18:13 +01:00
Ckat
c9aa716f58 actually show channel ffz emotes as channel ffz emotes (#155) 2017-12-22 23:03:19 +01:00
Rasmus Karlsson
51fe00dfec twitch emotes are now refreshed properly (sub and global emotes)
this only works if you're logged in I think
2017-12-22 17:37:24 +01:00
Rasmus Karlsson
afd4549c3f fix bug where a users initial ID would be set to "456" instead of "123456" 2017-12-22 17:36:59 +01:00
Rasmus Karlsson
3f6881390e add twitch getAuthorized method which passes through a custom client ID and oauth token 2017-12-22 17:36:32 +01:00
Rasmus Karlsson
ec63bc59be Fix autocomplete not being refreshed properly upon first TAB 2017-12-22 16:50:33 +01:00
Rasmus Karlsson
2bd80763e7 Fix some obvious warnings
Ignore some stupid warnings
2017-12-22 15:13:42 +01:00
Rasmus Karlsson
d8c01ce374 Save chats and tabs in new settings system 2017-12-22 14:44:31 +01:00
Rasmus Karlsson
42749538a7 Add helper method for creating a UUID
Fix QString formatter
2017-12-22 14:33:04 +01:00
Rasmus Karlsson
795deac727 move QString-formatting to helpers.hpp so fS works with it all the time 2017-12-22 14:08:13 +01:00
Rasmus Karlsson
86a9f194f9 Clean up account switcher stuff
Update settings library version

Fixes #9
2017-12-20 00:41:35 +01:00
Rasmus Karlsson
be3c85d72d Move some variables into const.hpp
Clean up some code in the AccountManager
2017-12-19 16:13:02 +01:00
Rasmus Karlsson
324dfc9ee9 Fix account adding and account removing.
This needs to be fully tested before I'm comfortable closing #9

The "advanced" tab also needs testing

We might also want to move the login website to chatterino.com and make
it look nicer
2017-12-19 15:12:33 +01:00
Rasmus Karlsson
1e3aca1b7a Add method for updating a twitch users client id/oauth token 2017-12-19 15:09:54 +01:00
Rasmus Karlsson
d8db695628 fix compile error 2017-12-19 03:41:31 +01:00
Rasmus Karlsson
4b36893818 Add simple tooltip system 2017-12-19 03:38:42 +01:00
Rasmus Karlsson
47a1911df9 Clean up emotemanager emoji code 2017-12-19 03:38:42 +01:00
fourtf
01dbaed781 disabled tabs in the settings that are ununsed 2017-12-19 03:37:07 +01:00
fourtf
6f0620ead6 added emojis to the emote popup 2017-12-19 03:18:27 +01:00
Rasmus Karlsson
14e80d5012 Implement mouse scroll speed setting
Fixes #145
2017-12-19 02:48:19 +01:00
Rasmus Karlsson
ba1c9598a4 use a SettingListener for word type mask updating 2017-12-19 02:48:19 +01:00
fourtf
e39b9093f9 fixed selection color for light theme 2017-12-19 02:37:58 +01:00
fourtf
f8e4d9a737 changes for light theme
- fixed light colored text being too bright
- fixed the ripple effect being white on grey
2017-12-19 02:24:05 +01:00
Rasmus Karlsson
1a870685b0 Implement the "inline" account switch button
Make the account switch listview into a widget
2017-12-19 02:17:01 +01:00
fourtf
4010c49c84 fixed messages not redrawing after changing theme 2017-12-19 01:54:51 +01:00
fourtf
ded61256de moved native event handler to it's proper file 2017-12-19 01:32:06 +01:00
fourtf
f9487b1dae fix accountpopup code style aka add 5 mio this-> 2017-12-19 01:25:57 +01:00
fourtf
368ec7c903 fixed coding style for scrollbar 2017-12-19 01:11:35 +01:00
fourtf
c950e9c58a added some code for collapsing messages 2017-12-19 00:10:03 +01:00
Rasmus Karlsson
5c6411b50b Added "Anonymous" (aka not logged in) as an option for the account chooser 2017-12-18 23:50:39 +01:00
Rasmus Karlsson
bf39851776 update window title when changing accounts 2017-12-18 23:50:39 +01:00
fourtf
e46357ad9b small fixes for the scrollbar 2017-12-18 22:13:46 +01:00
fourtf
f8cf983b7c added an option to disable smooth scrolling 2017-12-18 20:18:20 +01:00
fourtf
a399af9c66 added fix for scrollbar smooth scrolling jumping on new messages 2017-12-18 18:55:09 +01:00
fourtf
625e33d654 ping sound media doesn't get recreated on every message 2017-12-18 17:57:56 +01:00
fourtf
cca065f0f9 disabled non client dpi scaling until issue is fixed 2017-12-18 02:47:01 +01:00
fourtf
929552f74d fixed emote popup not having the right default size on hidpi 2017-12-18 01:23:22 +01:00
fourtf
90db7a3995 fixed user popup not hidpi scaling properly 2017-12-18 01:17:02 +01:00
fourtf
01e9c723fa fixed hidpi scaling for the settings window 2017-12-18 00:54:53 +01:00
Rasmus Karlsson
87182d078c Further simplify font label updating in settings dialog 2017-12-17 21:11:19 +01:00
Rasmus Karlsson
03958420be We now also add localized names to the autocompletion
Changed the login name in autocompletion to the display name
Autocompletion model is now only updated on the "first completion"
2017-12-17 21:05:48 +01:00
fourtf
6f1509cb4f Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 20:50:35 +01:00
fourtf
7f80e64e7d current font in settings format
now reads "fontname, fontsize pt"
2017-12-17 20:48:15 +01:00
Rasmus Karlsson
e41c855545 add simple username tabbing for recent chatters 2017-12-17 17:49:32 +01:00
Rasmus Karlsson
5839b9f522 add username to message (simple) 2017-12-17 17:48:46 +01:00
Rasmus Karlsson
f7318a26e3 Fix window position/size saving
I've only tested this for the main window so far

Fixes #149
2017-12-17 17:09:50 +01:00
Rasmus Karlsson
02e5030475 add fS function to simplify string formatting with fmt::format 2017-12-17 17:01:37 +01:00
fourtf
54ed42f884 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 16:46:02 +01:00
fourtf
1ca4fb46d6 added window always on top option 2017-12-17 16:45:15 +01:00
Rasmus Karlsson
912b9b89b3 Fix streamlink "choose" option if user has a default quality in config
Fixes #146
2017-12-17 16:34:01 +01:00
Rasmus Karlsson
151ff057a6 Implement "hide empty input" option
Fixes #144
2017-12-17 16:19:28 +01:00
Rasmus Karlsson
ef9aedb2cd Add some console error messages if streamlink path is bad 2017-12-17 15:46:22 +01:00
Rasmus Karlsson
d182c22a4e Implement duplicate message sending setting
Fixes #142
2017-12-17 15:34:07 +01:00
Rasmus Karlsson
169e002b68 fix spelling issue 2017-12-17 13:48:02 +01:00
Rasmus Karlsson
4a70fa5d0c re-add variable I accidentally removed 2017-12-17 13:46:54 +01:00
Rasmus Karlsson
fe352b5da9 remove underscore-prefix from some class members 2017-12-17 13:31:08 +01:00
Rasmus Karlsson
bb608c83d1 changing the "Enable gif emotes" setting just starts/stops the gif timer instead 2017-12-17 13:26:42 +01:00
1fb0ca649a Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 03:46:46 +01:00
ec638874d9 fixed gifs still playing after disabling them 2017-12-17 03:46:12 +01:00
Rasmus Karlsson
bb081b710e Update settings and signals library version 2017-12-17 03:37:46 +01:00
c1ac7db24c Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 03:27:03 +01:00
5cb33647dc fixed splits not redrawing after font changed 2017-12-17 03:26:23 +01:00
Rasmus Karlsson
633423640e Completion models are now updated on-demand (whenever user presses Tab)
We might want some dirty-checking here, but for now it's okay
2017-12-17 03:06:39 +01:00
266ad36de3 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 02:42:04 +01:00
31a76e46d1 fix message length label, fixes #140 2017-12-17 02:40:05 +01:00
Rasmus Karlsson
70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
Rasmus Karlsson
d5f1c6acec reformat emotepopup 2017-12-17 02:10:35 +01:00
202cdeaefb Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 01:55:30 +01:00
dd11c56b9a fixed msgs not layouting after changing settings 2017-12-17 01:54:15 +01:00
Rasmus Karlsson
eb8e14b8fe Move more settings over to pajlada settings system 2017-12-17 01:19:56 +01:00
Rasmus Karlsson
8687d01cea fix ParseTagString function 2017-12-17 00:56:33 +01:00
6b46d12558 added ParseTagString code 2017-12-17 00:39:27 +01:00
269a5500d8 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 00:07:03 +01:00
f36d346a4f dpi 2017-12-17 00:06:24 +01:00
Rasmus Karlsson
e060f87b3c hehe fourtf 2017-12-17 00:01:42 +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
357515ab39 createTimeoutMessage now also handles permaban-messages 2017-12-16 19:45:23 +01:00
Rasmus Karlsson
d905e88671 We now handle irc NOTICE messages 2017-12-16 19:20:57 +01:00
Rasmus Karlsson
6d56148ed2 Implement basic ClearChat handling
Fixes #56
2017-12-16 19:08:32 +01:00
Rasmus Karlsson
b39034ab74 Move message timestamp-code to its own function 2017-12-16 19:03:22 +01:00
Rasmus Karlsson
87203c1120 Add system messages upon connecting/disconnecting 2017-12-16 18:13:40 +01:00
Rasmus Karlsson
3cc19bd4ce reformat messagecolor class 2017-12-16 17:53:48 +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
676c7b9017 Reformat some files according to .clang-format 2017-12-16 02:22:35 +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
Rasmus Karlsson
a8afdf4565 remove some debug output 2017-12-16 02:09:51 +01:00
Rasmus Karlsson
b5bb49e8e5 Add method for executing lambda in QObject's thread 2017-12-16 01:57:34 +01:00
Rasmus Karlsson
07f39f2667 Remove offline chat debug code 2017-12-16 01:27:37 +01:00
86ae71f674 fixed compiling 2017-12-14 00:25:06 +01:00
7f18cefee4 renamed a bunch of files and classes 2017-11-12 17:21:50 +01:00
Rasmus Karlsson
ad8ee97de9 Fall back to default subscriber badge if there's no other badge available 2017-11-04 17:22:53 +01:00
Rasmus Karlsson
49c2f442cb fix mingw compilation issues 2017-11-04 16:56:38 +01:00
Rasmus Karlsson
7b2e3a94a6 Moved online status checking logic from ChatWidgetHeader to TwitchChannel
- Channel now needs to be initialized with a name. Special cases like the emote window just sends an empty string.
 - ChatWidget now has a signal which is called whenever the widgets channel is changed
 - Changed roomID from an std::string to a QString
2017-11-04 14:57:29 +01:00
Rasmus Karlsson
064daaa77a selections can now start outside of a message
This means in the empty space under any available messages
2017-11-04 13:17:35 +01:00
Rasmus Karlsson
e1a31785ef Don't show non-existant channels as live 2017-11-04 12:42:37 +01:00
Rasmus Karlsson
bdd5e4aae6 Clean up some debugging output 2017-10-27 22:05:08 +02:00
Rasmus Karlsson
2de98dc1f8 Move timeout logic to NetworkRequest 2017-10-27 22:04:05 +02:00
Rasmus Karlsson
41ec892bf8 Remove urlFetchJSON usages. They now use NetworkRequest.getJSON 2017-10-27 21:22:06 +02:00
Rasmus Karlsson
75079d5ac8 Also update chat widget input text when the font is updated.
Fixes #93
2017-10-27 21:04:53 +02:00
Rasmus Karlsson
c08059c6a8 Add simple fontChanged signal
Delete copy/move constructor of FontManager :kkona:
Fix places that were using the copy constructor of the FontManager
2017-10-27 21:03:24 +02:00
vanolpfan
37571ae613 Use user's font in chat input (#135) 2017-10-27 20:34:23 +02:00
hemirt
f51372102e Networkmanager (#134)
* rename ImageLoader* to Network*

* static NetworkManager

* NetworkManager queue arbitrary requests

* modify urlfetch to use NetworkManager

* urlfetchjson in terms of NetworkManager

* fetchurljson fetchurltimeout fetchurljsontimeout

special fetch url functions with various connects and functions to be
called

* operate on fetched data in the correct thread

* operate on fetched resources in correct thread

* networkmanager urlfetch functions

* expose urlfetch functions of networkmanager through util and
util::twitch

* add caller to util functions

* cleanup

* formatting

* urlPut function for NetworkManager and util::twitch

* cleanup worker (no more leak)

* use urlfetch for LazyLoadedImage::loadImage

* Rename NetworkManager methods (#1)

* Rename NetworkManager methods

Remove unused NetworkManager methods
Remove unused NetworkManager includes

Reorder includes in lazyloadedimage.cpp and urlfetch.hpp

* try to simplify code, might break everything

* fixed some more stuff?
2017-10-27 20:09:02 +02:00
hemirt
bdee9fff70 fix image loader scrollbar crash (#129)
* fix image loader scrollbar crash
2017-10-11 14:46:56 +02:00
fourtf
3ff6eece5c Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-10-11 10:38:55 +02:00
fourtf
f0c21f5b49 refactored message drawing and layouting 2017-10-11 10:34:04 +02:00
Rasmus Karlsson
7855d6265d Split tab-creation up into separate functions 2017-10-08 21:27:27 +02:00
Rasmus Karlsson
23651fd513 Add option to play highlight sounds even if Chatterino is focused.
This is off by default
2017-10-08 21:27:27 +02:00
fourtf
8b25d37a37 added benchmark util 2017-10-08 17:23:46 +02:00
Rasmus Karlsson
19630bf91b Clean up ImageLoaderManager
Unpointered NetworkAccessManager
Removed debug output
Removed unneeded includes
2017-10-08 15:30:55 +02:00
hemirt
e7e4ab768b Fix image loading slowness
Images are now loaded in another thread
2017-10-08 15:18:47 +02:00
Matija
cb8846c0ae Threaded image downloading (#118) 2017-09-28 22:24:03 +02:00
fourtf
e6ee009698 removed the qt scaling 2017-09-24 20:02:43 +02:00
Rasmus Karlsson
81e06f3a53 debug::Log can now be used instead of qDebug()
Usage:
```
QString string("world");
debug::Log("hello: {}", string);
```
2017-09-24 19:23:07 +02:00
Rasmus Karlsson
c14dc43b18 fix highlights - reformat some stuff 2017-09-24 18:43:24 +02:00
Rasmus Karlsson
903cf30ddf fix currentUser thing 2017-09-24 18:14:22 +02: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
Daniel _
206a3518b0 fixed dpi not initializing when the window shows 2017-09-23 18:37:51 +02:00
fourtf
14511e10ef HiDPI commit 2017-09-22 00:50:43 +02:00
fourtf
222eedcd21 added gotToBottom and EnableNonClientDpiScaling 2017-09-21 17:34:41 +02:00
fourtf
3e24752477 fixed project code style in some files 2017-09-21 12:15:01 +02:00
fourtf
8eaca85402 increased limit for messages to 1000 2017-09-21 02:22:35 +02:00
fourtf
ab641abd9c fixed ctrl+c to copy text 2017-09-21 02:20:02 +02:00
fourtf
9d671ac873 fixed text copying that wasn't supposed to 2017-09-21 01:26:53 +02:00
fourtf
e65a5948fe Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-09-21 00:55:22 +02:00
fourtf
bd4601a5d4 added MessageColor to represet special colors 2017-09-21 00:54:10 +02:00
Cranken
8bd3cd4060 Fixed live status (#112)
* Fixed live status.

* Update chatwidgetheader.cpp
2017-09-20 18:12:29 +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
51e5d198fb fix message deleting bug 2017-09-17 04:39:30 +02:00
fourtf
bc207aeede Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-09-17 02:14:49 +02:00
fourtf
e31bb48384 fixed gifs on the emotepicker 2017-09-17 02:13:57 +02:00
Rasmus Karlsson
6b0fc38afe Fix compilation issue on MSVC 2017-09-17 00:40:02 +02:00
fourtf
3e9f71dbf9 fixed clicking on splits to focus them 2017-09-16 16:49:52 +02:00
fourtf
a4995201f5 changed some filenames and stuff like that 2017-09-16 16:20:10 +02:00
fourtf
c7b3480aaf ChatWidgetView -> ChannelView, added Emote Picker 2017-09-16 00:05:06 +02:00
fourtf
84c23a5d00 modified buttons a bit 2017-09-15 17:23:49 +02:00
Cranken
4ac811f2a9 Fixed popups in viewer list. (#110) 2017-09-12 22:10:30 +02:00
fourtf
6ce13db443 Merge that pile of garbage in
added text selection
2017-09-12 19:12:02 +02:00
fourtf
81b1a8774b added text selection 2017-09-12 19:06:16 +02:00
Confuseh
6ec8f6e032 Quality options for Streamlink (#103)
* added quality options for streamlink

* wrong default value
2017-09-11 23:35:59 +02:00
Cranken
7db45aa7f2 Adds viewer list + livechecks (#105)
* Added check for livestatus + tooltip.

* Also added live check on startup.

* Added viewerlist + livesearch.

* Refactored code to make it compacter.
2017-09-11 22:37:39 +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
60afaa588b Remove ability to log in with env variables 2017-08-19 15:30:53 +02:00
Rasmus Karlsson
3f8c025e64 Store default client id in credentials.hpp 2017-08-19 15:29:36 +02:00
fourtf
8b40393023 refactored message drawing 2017-08-18 15:12:07 +02:00
fourtf
c6776cb76e removed old code for testing colors 2017-08-17 22:54:26 +02:00
fourtf
cac2786c58 fixed emotes after emojis not showing 2017-08-17 22:46:16 +02:00
fourtf
5b6596066e improved tab titles
added default and fixed refresh triggers on split rename
2017-08-17 22:25:41 +02:00
fourtf
ab6474150d Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-08-17 19:15:55 +02:00
fourtf
2e86064a48 closing tabs with middle mouse and context menu 2017-08-17 19:15:03 +02:00
daniel
6bc99a9ba6 hopefully fixed black screen issue on mac 2017-08-17 17:02:10 +02:00
fourtf
6b0a7f507e tabs now grey out when the window loses focus 2017-08-17 16:43:19 +02:00
fourtf
ca65e543ec Added code for ubuntu color style 2017-08-17 14:52:41 +02:00
Rasmus Karlsson
a4533ae92c Implement tab renaming/default tab name
Fix #13
2017-08-13 16:52:16 +02:00
Rasmus Karlsson
f4df262179 Turn NotebookTab into a BaseWidget 2017-08-13 16:10:53 +02:00
Rasmus Karlsson
eb3645a723 Clean up NotebookTab 2017-08-13 16:08:46 +02:00
Rasmus Karlsson
773208ac6b Clean up Notebook 2017-08-13 15:33:18 +02:00