Commit Graph

468 Commits

Author SHA1 Message Date
nerix 3d06f8612f chore: ensure statics are only present once in the final app (#5588) 2024-09-14 12:13:12 +00:00
nerix 820aa12af6 refactor: load Twitch emotes from Helix (#5239) 2024-09-01 11:22:54 +02:00
iProdigy 956186d1a1 feat: indicate which mods start and cancel raids (#5563) 2024-08-31 10:12:25 +00:00
pajlada ac88730563 fix: remove deprecated Application::getTwitchAbstract (#5560) 2024-08-25 11:38:57 +00:00
pajlada 175afa8b16 refactor: make a single MessageBuilder (#5548) 2024-08-24 10:18:27 +00:00
pajlada 5170085d7c fix: tristate toggle logic for tab visibilty (#5530)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-08-24 09:42:42 +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
pajlada 2b45b2e0a9 refactor: rename miniaudio thread (#5538) 2024-08-10 13:01:06 +00:00
nerix 3257da1855 chore: silence some deprecation warnings in Qt 6.8 (#5529) 2024-08-04 11:23:29 +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
pajlada 5deec1f02f chore: remove Singleton & replace getIApp with getApp (#5514) 2024-07-21 13:09:59 +00:00
nerix 0495fbca43 feat: add option to suppress live notifications on startup (#5388) 2024-07-20 12:19:27 +00:00
nerix b9f669d3a5 feat: strip prefixes and suffixes in links (#5486) 2024-07-14 11:17:42 +02:00
pajlada 973b7a3bdd Add extra context to messages that are added to channels, allowing the logging controller to take more responsibility in what messages to log (#5499)
Co-auhtored-by: James Upjohn <jupjohn@jammeh.co.nz>
2024-07-13 11:15:11 +00:00
pajlada 354079c74c refactor: add Channel::addSystemMessage function (#5500) 2024-07-07 22:03:05 +02:00
nerix 4535823ca8 fix: use selected window for /clearmessages (#5489) 2024-07-07 12:41:21 +02:00
2547techno 93fbcbbe5f fix plugin http types & docs (#5494) 2024-07-06 00:02:21 +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 c01bfcfffe feat: add /warn command (#5474) 2024-06-22 10:36:29 +00:00
Mm2PL c980162656 Introduce HTTP API for plugins (#5383) 2024-06-22 10:04:30 +00:00
nerix 052dbd7d2c fix: check state when completing commands (#5401) 2024-06-19 12:46:54 +00:00
pajlada f111b0f08d chore: unsingletonize SoundController (#5462) 2024-06-16 13:44:08 +00:00
pajlada c9a0691f53 chore: unsingletonize UserDataController (#5459)
The `user-data.json` file will save immediately on change, and on exit
(on dtor) if necessary. So we don't need to manually call save
2024-06-16 11:59:12 +00:00
pajlada 9b31246502 feat: allow timeout-related commands to be used in multiple channels (#5402)
This changes the behaviour of the following commands:
 - `/ban`
 - `/timeout`
 - `/untimeout`
 - `/unban`

All of those commands now accept one or more `--channel` parameters to override which channel the action should take place in.
The `--channel` parameter accepts a channel ID or channel name with the same syntax as the other "user targets" do (e.g. `id:11148817` or `pajlada`)

examples
Ban user in the chat you're typing in:  
`/ban weeb123`

Ban user in the chat you're typing in, with a reason specified:  
`/ban weeb123 the ban reason`

Ban user in a separate chat, with a reason specified:  
`/ban --channel pajlada weeb123 the ban reason`

Ban user in two separate chats, with a reason specified:  
`/ban --channel pajlada --channel id:117166826 weeb123 the ban reason`


Timeout user in the chat you're typing in:  
`/timeout weeb123`

Timeout user in the chat you're typing in, with a reason specified:  
`/timeout weeb123 10m the timeout reason`

Timeout user in a separate chat, with a reason specified:  
`/timeout --channel pajlada weeb123 10m the timeout reason`

Timeout user in two separate chats, with a reason specified:  
`/timeout --channel pajlada --channel id:117166826 weeb123 10m the timeout reason`


Unban user in the chat you're typing in:  
`/unban weeb123`

Unban user in a separate chat:  
`/unban --channel pajlada weeb123`

Unban user in two separate chats:  
`/unban --channel pajlada --channel id:117166826 weeb123`
2024-06-16 12:22:51 +02:00
JakeRYW 25284fc703 Improved error messaging for Update Channel API (#5429) 2024-06-09 11:15:25 +00:00
pajlada b6dc5d9e03 chore: refactor TwitchIrcServer (#5421) 2024-06-01 12:56:40 +00:00
nerix ec6b1ef24d fix(luals-meta): generate globals in c2 and echo @lua commands (#5385)
Co-authored-by: Mm2PL <miau@mail.kotmisia.pl>
2024-05-22 15:23:33 +02:00
Mm2PL 614a1c469f Added flags.action filter variable (#5397)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-05-18 09:56:36 +00:00
Mm2PL c3b84cb4b6 Add custom image functionality for inline mod buttons. (#5369)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-05-11 10:54:27 +00:00
pajlada 694d53ad20 Fix some documentations & comments (#5286)
* add comments for the new reward filters

* slightly improve documentation of r9k values
2024-03-31 11:07:43 +00:00
nerix c1bd5d11d0 refactor: improve LuaLS generator (#5283) 2024-03-30 22:11:52 +01:00
Mm2PL d4b8feac7d lua: Change CompletionRequested handler to use an event table. (#5280) 2024-03-30 14:23:02 +00:00
Mm2PL 69bdac9936 Add reward.cost reward.id, reward.title filter variables (#5275) 2024-03-30 11:28:49 +00:00
nerix ed20e71db4 refactor: adapt magic_enum to Qt (#5258) 2024-03-23 11:22:42 +00:00
pajlada 3563ecb3a5 fix: Compile Lua as a C library (#5251) 2024-03-16 14:15:05 +00:00
Arne fc61e8d64d feat: add /announce[color] commands (#5250) 2024-03-14 20:36:58 +01:00
pajlada 9d02fa14ed fix: Don't attempt to put the broadcaster username at the top (#5244) 2024-03-10 10:49:13 +00:00
Mm2PL 658fceddaa Add plugin permissions and IO API (#5231) 2024-03-09 19:16:25 +00:00
pajlada 2361d30e4b fix: compare settings before updating them (#5240) 2024-03-09 15:03:26 +00:00
KleberPF c50791972d Add highlight color and show in mentions to automod messages (#5215) 2024-03-09 11:03:36 +00:00
Mm2PL 8cea86cf17 Fix rerun flag not being unset after stream finishes (#5237) 2024-03-09 11:22:23 +01:00
nerix c1fa51242f refactor: turn StreamerMode into a singleton(-like thing) (#5216) 2024-03-01 21:12:02 +01:00
Mm2PL a737d4b755 Introduce c2.later() function to Lua API. (#5154) 2024-02-25 11:45:59 +00:00
KleberPF 86111d59b6 Add option always include broadcaster in user completions (#5193) 2024-02-24 13:21:29 +00:00
pajlada dcd6179434 fix: /openurl can now open urls with spaces, assuming the url allows it (#5197)
This allows for commands like `/openurl https://www.deepl.com/en/translator#auto/en/{1+}` that previously worked
2024-02-24 11:27:24 +00:00
Mm2PL a5ac06124d Update plugin documentation document (#5185)
* Add blurb about LuaLS type definitions

* Add c2.Channel documentation replacing c2.send_msg and c2.system_msg

* Use snake_case for command names in examples

to align to Lua naming convention

* Unrelated: add missing ChannelType
2024-02-18 21:09:19 +00:00
Mm2PL 4a4f62dc4a Make Lua CommandContext use a ChannelRef (#5184) 2024-02-18 19:55:00 +00:00
KleberPF 3cdb7bf4f6 fix: resolve /live channel liveness using their channel ID (#5172) 2024-02-17 11:22:49 +00:00
Mm2PL 8e9aa87a08 Add a new Channel API for experimental plugins feature (#5141) 2024-02-03 19:12:00 +01:00