Commit Graph

568 Commits

Author SHA1 Message Date
pajlada 175afa8b16 refactor: make a single MessageBuilder (#5548) 2024-08-24 10:18:27 +00:00
pajlada 998920d244 Remove experimental IRC support (#5547) 2024-08-18 12:04:26 +00:00
pajlada cc8bd538b9 refactor: Move MessageFlag(s) to its own file (#5549) 2024-08-18 12:25:01 +02:00
nerix aed55ac1ba fix: replace defines with constexpr/const and use more absolute paths for includes (#5527)
bye bye nuuls
2024-08-03 10:00:58 +00:00
nerix 5ee5abf5b2 fix: sort elements after RTL reordering (#5525) 2024-07-28 10:29:29 +00:00
nerix ff7cc09f8b chore: cleanup, document, and test some RTL code (#5473) 2024-07-27 11:19:26 +00:00
pajlada 5deec1f02f chore: remove Singleton & replace getIApp with getApp (#5514) 2024-07-21 13:09:59 +00:00
Daniel Sage 6b73bb53ec Display message being replied to above input box (#4350)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-07-14 15:06:42 -04:00
nerix b9f669d3a5 feat: strip prefixes and suffixes in links (#5486) 2024-07-14 11:17:42 +02:00
Daniel Sage 8e29f75308 Enable antialiasing for reply button (#5491) 2024-07-07 09:42:49 +00:00
nerix 189be8c68f chore: remove old Qt 5.12 code, update docs and FreeBSD runner (#5396)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-06-23 12:26:59 +00:00
iProdigy d2316af70f feat: notify mods when users are warned (#5441)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-06-06 10:13:13 +00:00
nerix d00cadf4eb refactor: load images in workers and push immediately (#5431) 2024-06-02 16:31:17 +02:00
pajlada 2a46ee708e Fixed restricted users' usernames not being clickable (#5405) 2024-06-01 11:07:01 +00:00
pajlada 3d5acff907 fix: update color of usernames & boldness of usernames on the fly (#5300) 2024-05-12 12:37:47 +00:00
nerix febcf464fe Use Qt's High-DPI scaling on Windows (#4868) 2024-05-12 11:59:14 +00:00
nerix dfa929e207 fix: use the full url when resolving (#5345) 2024-04-21 19:24:11 +00:00
nerix b391f18177 fix: set maximum of scrollbar after filtering (#5329) 2024-04-17 17:08:47 +00:00
Mm2PL 7285f08a04 Fixed links having http:// added to the beginning in certain cases. (#5323) 2024-04-13 08:18:34 +00:00
nerix 8db0bb464d fix: use login name when parsing highlights (#5295) 2024-04-02 19:59:59 +00:00
Mm2PL 69bdac9936 Add reward.cost reward.id, reward.title filter variables (#5275) 2024-03-30 11:28:49 +00:00
DatGuy1 fb6beb4aca fix: add trailing space if deletion link included in image upload response (#5269)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-03-26 18:51:16 +00:00
KleberPF c10e364e06 Fix double click to select full words (#5243)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-03-17 13:43:55 +00:00
KleberPF c50791972d Add highlight color and show in mentions to automod messages (#5215) 2024-03-09 11:03:36 +00:00
nerix 3c13e0c6d2 chore: remove dead message element code (#5225) 2024-03-02 22:09:54 +01:00
nerix c1fa51242f refactor: turn StreamerMode into a singleton(-like thing) (#5216) 2024-03-01 21:12:02 +01:00
nerix f285ada36c Estimate size of images to avoid layout shifts (#5192) 2024-02-25 18:19:20 +01:00
nerix cd0387b064 fix: double ellipsis in reply (#5174) 2024-02-18 19:25:46 +01:00
nerix e130c48f76 refactor: Turn link-info into its own element and class (#5178) 2024-02-18 12:34:00 +00:00
pajlada 7fdb3841db feat: Add "Copy message as JSON" option when shift-right-clicking a message (#5150) 2024-02-03 12:03:31 +00:00
nerix f2eabacda1 fix: use neutral or username color for reply messages (#5145) 2024-02-03 10:25:16 +01:00
nerix 954e19817c fix: more MSVC warnings (#5137) 2024-01-30 17:28:36 +01:00
nerix 7604d7ea4a perf: add signal to invalidate buffers without doing layout (#5123) 2024-01-24 18:13:31 +01:00
pajlada 97702e0a1f refactor: make Application::emotes private (#5109) 2024-01-20 10:49:32 +00:00
pajlada 4380ef8c5f refactor: Remove most raw accesses into Application (#5104) 2024-01-19 17:59:55 +01:00
nerix 5bf1a5a7dd fix: ignore channel name when copying message (#5106)
Fixes #5101
2024-01-19 13:11:25 +01:00
pajlada 9eeea8f203 refactor: Fix a bunch of minor things (#5094) 2024-01-17 21:05:44 +01:00
pajlada 93e2bc18fa refactor: move Network files from src/common/ to src/common/network/ (#5089) 2024-01-15 21:28:44 +01:00
pajlada 5b6675abb4 refactor: fix clang-tidy auto*, const&, and curly braces (#5083) 2024-01-14 17:54:52 +01:00
iProdigy 693d4f401d feat: add badges, emotes, and filters for suspicious messages (#5060)
* feat: show chat badges on suspicious user messages

* feat: display emotes in suspicious user messages

* feat: add search filters for suspicious messages

* chore: update changelog

* refactor: resolve initial nits

* fix: finish adding new filter identifier

* Comment the new message flags

* Add a list of known issues to low trust update messages

* fix: Keep shared-pointerness of the channel

Without this change, we would have the possibility of using the
TwitchChannel after the Channel itself has gone out of scope, albeit not
realistically since we just post this to a thread and parse it - there's
no networking or big delays involved. but this shows the intent better

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 13:22:00 +00:00
fraxx 4a0ef08a00 Added missing periods at mod-related messages and some system messages (#5061)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-03 12:24:23 +01:00
iProdigy 036a5f3f21 feat: show restricted chats and suspicious treatment updates (#5056)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-12-31 10:44:55 +00:00
iProdigy eb12cfa50b feat: add sound and flash alert for automod caught messages (#5026)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-25 23:17:44 +00:00
nerix 1006bf955a perf: skip update from GIF timer if no animated elements are shown (#5042) 2023-12-25 19:04:46 +00:00
iProdigy 44abe6b487 feat: add channel for messages caught by AutoMod (#4986)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-12-03 22:07:30 +00:00
pajlada a240797b68 Add support for sound backends & some miniaudio changes (#4978)
Miniaudio now runs everything in a separate audio thread - this uses boost::asio's io_context.
Our miniaudio implementation is now also much simplified - it does not use its own resource manager or device. This might end up being stupid if sounds don't work after changing output device or locking or w/e
I've made the sound controller into an interface, meaning we can support multiple sound backends in Chatterino. I've added a Null sound backend that disables all sound. A QMediaPlayer or QSoundEffect or Qt backend could be added.
Miniaudio might idle & disable the device now too, not sure

I've added some unrelated changes in the form of a new setting type, and a new setting page helper function for it, which will hopefully make adding new enum settings easier in the future.
This setting stores its value as a string instead of an int, and uses magic_enum to convert between that string value and its enum value.
2023-11-26 22:06:12 +01:00
nerix 854032fce9 fix: Only display spaces between words in reply context (#4977) 2023-11-26 11:15:35 +01:00
Mm2PL fbc8aacabe Refactored the Image Uploader feature. (#4971)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-11-19 11:05:30 +00:00
kornes 0bdcaae5d1 Fix: dont select mod buttons at triple click (#4961) 2023-11-18 11:39:10 +00:00
nerix 6faf63c5c4 refactor: Remove Outcome from network requests (#4959) 2023-11-12 14:51:51 +01:00