Commit Graph

542 Commits

Author SHA1 Message Date
pajlada d3287a615b refactor: split some highlight structs away from HighlightController (#6613) 2025-11-30 13:31:50 +00:00
iProdigy b9446990a7 feat: add /endpoll and /cancelpoll commands for broadcasters (#6605)
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-29 20:12:21 +00:00
nerix 041674b7f6 refactor: simplify uses of getMessageSnapshot (#6607)
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-29 11:40:06 +00:00
nerix 30019b71aa refactor: remove LimitedQueueSnapshot (#6606)
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-27 18:49:40 +00:00
etenie a935965390 Fix crash in notifyTwitchChannelOffline when snapshot is empty (#6604)
Reviewed-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-11-27 15:42:17 +00:00
nerix c4dd5f43ce feat: add ability to limit message snapshot size (#6602)
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-26 23:35:34 +01:00
iProdigy 118e1781dd feat: add poll and prediction commands for broadcasters (#6583)
Reviewed-by: nerix <nero.9@hotmail.de>
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-23 16:55:39 +01:00
nerix b63739e792 feat(plugins): add JSON parsing/serialization (#6420)
Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-21 17:43:28 +01:00
dp db060d5b5a feat: seperate watchstreak highlights from sub highlights (#6571)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-16 14:12:43 +00:00
Supa 0b4e2312ff feat: add setting to show title in live message (#6572)
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-15 13:24:13 +00:00
nerix ac33af2ece fix(plugins): Log potential errors in HTTP request callbacks (#6452)
Reviewed-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
2025-11-05 01:30:11 +00:00
nerix 7214c49e79 fix: Get rid of warnings on clang-cl (#6528) 2025-10-25 14:14:20 +00:00
Mm2PL 6e443cd767 Plugin links pt 2: Link::InsertText (#6527) 2025-10-25 13:30:49 +00:00
nerix 38a3bf2ef8 fix: warnings when compiling with Qt 6.10 (#6422) 2025-10-05 13:18:54 +00:00
nerix c5b0669812 refactor: turn Emotes into EmoteController (#6516)
* refactor: turn `Emotes` into `EmoteController`

* changelog

* why does clang-format do this???

* nit: remove unused include from EmoteController.hpp

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-10-04 10:05:27 +00:00
Mm2PL 33f6383122 Add support for plugin links (#6386)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2025-10-02 18:56:51 +00:00
nerix 3f05edc071 refactor: merge emote element flags (#6511) 2025-09-30 19:07:25 +02:00
pajlada c5ced77f9b fix: remove QTextCodec include (#6487) 2025-09-27 16:48:49 +00:00
Jacob Alexander Thompson befe2da78d fix: don't set split focus hotkeys by default on macOS (#6470) 2025-09-20 10:16:48 +00:00
nerix c7dea40b6b fix(plugins): Implement __eq for Channel (#6456) 2025-09-14 11:28:39 +00:00
pajlada 36ebb19469 fix: relayout tabs when update button visibility changes (#6447) 2025-09-06 10:48:27 +00:00
nerix 6a0ca0bff8 fix(plugins): handle non-string errors gracefully (#6441) 2025-09-06 10:02:38 +00:00
nerix 0f11a9050a fix: take handler for sol_lua_check as function reference (#6393)
* fix: take handler for `sol_lua_check` as function reference

* changelog

* fix: includes

* uintptr type

* fix: ub and eq
2025-08-16 19:21:04 +00:00
pajlada 4b6ba68489 fix: don't use same websocket connection for multiple accounts (#6348) 2025-08-10 09:57:14 +00:00
droidicus 1c9090d350 Add emote completion widget filter for only zero-width emotes using :~ (#6362)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-08-10 11:21:52 +02:00
nerix 52d0c9631e fix(plugins): lookup by main lua state in http request (#6375)
* fix(plugins): lookup by main lua state in http request

* changelog

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2025-08-09 10:18:35 +00:00
nerix a4478748f7 feat(plugins): add basic message construction (#5754) 2025-07-31 15:36:39 +02:00
pajlada a691bb4c51 fix: don't detach threads (#6333)
Previously, we would detach threads that did not exit in a reasonable
time, meaning they'd continue running and potentially accessing data
that had been freed, causing us to crash.
With this change, we _dont_ detach the thread, and let the thread
destructor do as it pleases (which will be terminating).
Neither solution is clean - old solution would sometimes work, but this
should give us a better indicator of where we're doing things wrong.
2025-07-18 22:07:22 +02:00
nerix cda625f3ce chore: add some channel view layout commands (#6342) 2025-07-18 18:28:46 +00:00
pajlada 09fc5d74bc fix: Fix a crash that would occur on exit if a ping sound played recently (#6332) 2025-07-13 16:02:14 +02:00
nerix 91c2c1021c feat(WebSocket): add open event (#6315) 2025-07-05 12:36:22 +00:00
nerix c10172fee8 fix(plugins): check websocket callbacks before calling (#6314) 2025-07-05 10:27:08 +00:00
pajlada 89483e4c05 fix: don't autocomplete commands mid-sentence (#6273) 2025-06-28 21:16:44 +02:00
nerix b6623cff88 feat: add REPL for plugins (#6120)
This can be enabled by setting the `.plugins.repl.enabled` setting to true


Close Chatterino and make a backup of your settings.json before attempting any modifications.
```json5
{
  "plugins": {
    "repl": {
      "enabled": true,
    },
  },
}
```
2025-06-28 14:04:08 +00:00
pajlada 9e59fb1a5f refactor: remove unused ignoredPhraseReplace setting (#6304) 2025-06-28 13:27:46 +00:00
nerix 85ae913413 chore: require clang-format 19 (#6236) 2025-05-25 13:46:28 +00:00
pajlada 8acca1c241 fix: don't indent inner namespaces (#6235) 2025-05-25 12:28:14 +02:00
Mm2PL 33a5419350 Forward declare some things to speed up compile (#6162)
* Forward declare NativeMessagingServer and use a unique_ptr

* Forward declare GenericListModel to save on unneeded includes of its
header
2025-05-18 15:30:02 +00:00
pajlada 20e306760c refactor: remove Application.hpp dependency in Plugin.hpp (#6219)
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
2025-05-18 14:04:39 +02:00
pajlada 062b492dab refactor: move Notebook enums to their own file (#6220)
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
2025-05-18 14:02:11 +02:00
teknsl 3e5b4a9d08 Add hotkey action for opening account switcher (#6192) 2025-05-06 17:47:05 +00:00
Mm2PL c7e1c2e812 Do not hide WebSocket API when missing permission (#6186) 2025-05-04 10:49:08 +00:00
pajlada e38c64bac3 fix: don't include blocked users in join/part messages (#6181) 2025-05-03 11:32:55 +02:00
nerix 9d557146b4 refactor: trim down PubSub implementation (#6158) 2025-04-19 12:31:22 +00:00
fourtf 37061dd3bd feat: user notes (#6122)
Fixes #2413
2025-04-13 11:38:56 +00:00
nerix ab66be21b3 feat(plugins): add c2.WebSocket (#6076) 2025-04-07 17:38:10 +00:00
Jacob Alexander Thompson b6945e39f4 fix: don't set binding for "toggle local r9k" on macOS (#5764)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2025-03-22 15:14:07 +00:00
nerix 6cdd28c7d4 feat: warn for missing scopes when logging in (#6072) 2025-03-15 12:14:03 +00:00
Brian 8dd19d2d5e feat: setHighlightSounds & openSubscriptionPage split hotkeys (#5856) 2025-03-03 20:20:09 +01:00
nerix cd8247f921 chore: remove dead code and get rid of MSVC warnings (#6024) 2025-03-03 13:30:11 +01:00