Commit graph

171 commits

Author SHA1 Message Date
nerix
1c827f6288
chore: use condition variable to shutdown websocket pools (#5721) 2024-11-20 22:29:47 +01:00
nerix
8220a1fbd4
feat: make usernames in USERNOTICEs clickable (#5686) 2024-11-03 11:17:16 +00:00
nerix
101a45fd3a
refactor: deduplicate IRC parsing (#5678) 2024-11-02 12:54:31 +00:00
nerix
5f76f5b755
fix: take indices to messages as a hint (#5683) 2024-11-02 12:11:59 +00:00
nerix
55a12fa008
test: add snapshots for raids, timeouts, and notices (#5671) 2024-10-22 21:06:29 +00:00
iProdigy
18c4815ad7
feat: add shared chat badge (#5661) 2024-10-22 18:42:19 +02:00
nerix
e35fabfabe
refactor: irc message builder (#5663) 2024-10-20 10:40:48 +00:00
Mm2PL
352a4ec132
Move plugins to Sol (#5622)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-10-20 11:57:05 +02:00
nerix
dab97b3235
test: USERNOTICE snapshot tests (#5656) 2024-10-19 10:25:21 +00:00
pajlada
85d34c8ff0
test: use httpbox fork release (#5655) 2024-10-18 19:23:13 +00:00
nerix
a8d60b0b05
refactor: move MessageBuilder snapshot test to IrcMessageHandler (#5654) 2024-10-18 13:41:57 +00:00
nerix
800f6df2cf
refactor(message-builder): move static helper methods to functions (#5652) 2024-10-18 13:03:36 +02:00
nerix
d9453313b3
test: add snapshot tests for MessageBuilder (#5598) 2024-10-13 10:38:10 +00:00
nerix
afa8067a20
Add transparent overlay window (#4746) 2024-10-06 12:54:24 +02:00
nerix
9ba7ef324d
fix: support completing emotes starting with : (#5603) 2024-10-06 09:29:52 +00:00
nerix
0db477665c
fix: don't initialize GIFTimer in tests (#5608) 2024-09-29 14:05:28 +02:00
nerix
ef3c51a4e2
test: add more input completion tests (#5604) 2024-09-29 10:20:06 +00:00
nerix
d0bcf35fdc
refactor: move zero width replacement to a function (#5594) 2024-09-28 12:49:26 +00:00
nerix
3d06f8612f
chore: ensure statics are only present once in the final app (#5588) 2024-09-14 12:13:12 +00:00
nerix
694cc2dbff
fix: close logging-channels when closing channels (#5592)
Co-authored-by: kornes <28986062+kornes@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-09-14 12:17:31 +02:00
nerix
2afa227139
chore: cleanup some parts of qmagicenum (#5587) 2024-09-09 19:16:36 +02:00
nerix
820aa12af6
refactor: load Twitch emotes from Helix (#5239) 2024-09-01 11:22:54 +02:00
pajlada
627c735524
refactor: some Application & style things (#5561) 2024-08-25 15:33:07 +02:00
pajlada
3e510fd9e9
refactor: some more Application refactors (#5551) 2024-08-25 11:04:48 +00:00
pajlada
9f588b7406
fix: Fixed account switch not being saved if no other settings were changed (#5558) 2024-08-24 13:02:08 +00:00
pajlada
175afa8b16
refactor: make a single MessageBuilder (#5548) 2024-08-24 10:18:27 +00:00
pajlada
66c3bc2112
feat: add FlagsEnum::isEmpty for checking if a FlagsEnum is empty (#5550) 2024-08-18 12:22:41 +02:00
pajlada
74d65a345d
fix: cleanly exit on shutdown (#5537)
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-08-10 14:24:25 +02:00
pajlada
f0802af055
refactor: move seventv/bttv event apis to application (#5532) 2024-08-08 15:08:31 +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
nerix
a2cbe6377d
chore: improve link parser and its tests a bit (#5522) 2024-07-23 23:38:17 +02:00
nerix
847e4f0932
fix: count parentheses in links (#5515) 2024-07-21 16:00:12 +02:00
pajlada
5deec1f02f
chore: remove Singleton & replace getIApp with getApp (#5514) 2024-07-21 13:09:59 +00:00
nerix
4a7a5b09ce
fix: disallow more characters in links (#5509) 2024-07-20 10:06:23 +00:00
nerix
b3c09b65d8
chore: mini refactorings and dead code removal (#5512) 2024-07-20 11:35:59 +02:00
nerix
deb4401036
chore: make FlagsEnum constexpr (#5510) 2024-07-16 16:35:44 +02:00
nerix
b9f669d3a5
feat: strip prefixes and suffixes in links (#5486) 2024-07-14 11:17:42 +02: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
pajlada
d053a681a0
make TwitchPubSubClient.DisconnectedAfter1s test less flaky (#5461) 2024-06-16 12:39:30 +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
nerix
febcf464fe
Use Qt's High-DPI scaling on Windows (#4868) 2024-05-12 11:59:14 +00:00
nerix
8202cd0d99
refactor: cleanup and document Scrollbar (#5334)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: Daniel Sage <sagedanielr@gmail.com>
2024-05-12 10:52:58 +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
nerix
56fa973d7c
fix: prefer reporting error over status for 200 OK (#5378) 2024-05-05 19:37:22 +02:00
pajlada
401feac0aa
tests: better test initializing allowing for better printing (#5379)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-05-05 13:01:07 +00:00
fossdd
b5066881f9
docs: add https://to github URL (#5368) 2024-04-30 21:14:50 +00:00
pajlada
4a1ce2a3b3
refactor: clean up toStdString usages in tests (#5346)
* tests: Add QString/QStringView << operators for std::ostream

This makes it easier to print QString/QStringView's in ASSERT_EQ outputs

* tests: clean up toStdString usages

* fix: use QByteArray.toStdString instead
2024-04-21 20:52:44 +00:00
nerix
ed20e71db4
refactor: adapt magic_enum to Qt (#5258) 2024-03-23 11:22:42 +00:00