Commit graph

37 commits

Author SHA1 Message Date
Daniel Pasch
8532c6d3bc
Add thumbnails to link tooltips if available (#1664)
This feature is off by default and can be enabled in the settings with the "Show link thumbnail" setting. This feature also requires the "Show link info when hovering" setting to be enabled.

thumbnails support is only there for direct image links, twitch clips, and youtube links. can be expanded in the future in the /api repo

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-05-10 12:11:10 +02:00
pajlada
6f926e7d77
Get better timeout messages for self (#1629)
* Don't require mod rights to listen to moderation actions topic

* Format timeout messages directed at you differently

e.g. "You were banned" or "You were timed out for 4h20m", also including
reason if specified.
2020-04-13 12:31:06 +02:00
fourtf
9874bd779a formatted all files with clang 9 2019-09-26 00:51:05 +02:00
fourtf
456065f508 moved resources out of Application 2019-09-22 10:54:32 +02:00
fourtf
7643c0d20d fixed deleting QTimer on wrong thread 2019-08-20 23:46:27 +02:00
apa420
9a7365821d Fixed issue #1071 (#1073) 2019-05-18 17:37:26 +02:00
Rasmus Karlsson
1a7a5409ab do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
23rd
9654650bee Renamed variables to clear some warnings. 2019-05-10 22:18:05 +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
b33478d8c6 stored original message text in message 2019-05-01 16:43:52 +02:00
Cranken
497c958485 Made links clickable in sent whispers. 2019-03-13 15:26:55 +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
Rasmus Karlsson
be881f17f4 fix scuffed switch 2019-01-23 18:07:36 +01:00
apa420
c87114a640 rewrote the cases with enums 2019-01-22 23:20:43 +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
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
Rasmus Karlsson
5497fec839 fix another link-resolver related crash (non auto url unshort-related) 2018-10-24 11:36:36 +02:00
fourtf
e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
apa420
86024ade24 fixes that timeout/ban messages didn't show (#728) 2018-09-30 10:50:47 +00:00
fourtf
44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf
d89b62692a refined SplitHeader 2018-08-08 15:35:54 +02:00
fourtf
381177dd24 refactored EnumFlags 2018-08-07 07:55:31 +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
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
fourtf
280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
Rasmus Karlsson
7d4feb2781 Make protocol regexes case insensitive 2018-07-03 14:57:11 +00:00
fourtf
86347dc63e renamed Themes to Theme 2018-06-28 20:03:04 +02:00
fourtf
2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +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
2df0566492 removed namespaces 2018-06-26 16:37:59 +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
Renamed from src/messages/_MessageBuilder.cpp (Browse further)