Commit graph

996 commits

Author SHA1 Message Date
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 >
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