Commit graph

1420 commits

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