Commit graph

1071 commits

Author SHA1 Message Date
pajlada
85d6ff1e6c
chore: unsingletonize Resources/Resources2 (#5460) 2024-06-16 13:17:07 +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
nerix
2b97c64f8e
Show line indicator instead of rectangle while dragging in tables (#5256) 2024-06-16 11:26:40 +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
86871eec5a
fix: ignore late pings (#5457) 2024-06-16 09:34:00 +00:00
hemirt
538bead45b
Clean up QtCreator's package manager setup (#5305) 2024-06-15 10:59:13 +00:00
nerix
280ac30289
fix: handle older VC redist versions (#5447) 2024-06-15 10:32:01 +00:00
Jacob Nielsen
66471075a5
fix: Add brave & google-chrome-stable to incognito browser list (#5452)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-06-15 10:04:51 +00:00
JakeRYW
25284fc703
Improved error messaging for Update Channel API (#5429) 2024-06-09 11:15:25 +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
pajlada
248cd46eb7
fix: global emotes not loading (#5435)
* fix: manually initialize twitchircserver after rest of singletons are initialized

this fixes global emotes not being loaded on startup, since initialize
was never called (since it was no longer added to the singleton list)

* unrelated nit: remove copy/move ctors/operators of twitchircserver
2024-06-03 10:31:30 +02:00
nerix
d00cadf4eb
refactor: load images in workers and push immediately (#5431) 2024-06-02 16:31:17 +02:00
pajlada
b6dc5d9e03
chore: refactor TwitchIrcServer (#5421) 2024-06-01 12:56:40 +00:00
pajlada
2a46ee708e
Fixed restricted users' usernames not being clickable (#5405) 2024-06-01 11:07:01 +00:00
nerix
65bfec963b
feat(emote-popup): save size of popup (#5415)
* fix: remove added margins from emote window position

* chore: add changelog entry

* feat: store size of emote window

* chore: update changelog entry

* fix: disable layout save

* fix: PCH moment

* fix: multiply by scale
2024-06-01 10:38:39 +00:00
kornes
c3bb99eb01
Fix: tabs move animation for duplicated tabs (#5426)
* fix: check endValue for running animations only

* exit early when move is not needed

* ref: remove useless `positionChangedAnimationRunning_`

* check for parent notebook visibility instead

* ref: rename `pos` param to `targetPos`
2024-06-01 10:12:48 +00:00
kornes
49bdeb3b49
chore: update vcpkg baseline (Qt 6.7.0) (#5422)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-05-25 17:17:37 +00:00
pajlada
be7b517499
Update Windows Qt6 version from 6.5.0 to 6.7.1 (#5420) 2024-05-25 18:26:38 +02:00
KleberPF
d161036b18
Add feature to duplicate tabs (#5277)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-05-25 12:39:19 +00:00
pajlada
c5802a0f49
fix: use irc-unknown when irc server couldn't be loaded (#5419) 2024-05-25 11:53:37 +00:00
nerix
491b6db72f
chore: remove unused timegates (#5361) 2024-05-25 11:12:04 +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
nerix
8ba570415b
fix: usercard jumping when loading data (#5406) 2024-05-19 20:04:04 +00:00
nerix
8689bdb481
fix: get rid of duplicate scale events (#5404) 2024-05-19 09:11:51 +00:00
nerix
3ed1c0f7a4
fix: don't attempt to scale windows opted out of scaling (#5400) 2024-05-18 10:34:36 +00: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
nerix
fdecb4a39f
revert: use max(minimum, min(bottom, value)) over clamp(..) (#5393) 2024-05-13 20:00:50 +02:00
nerix
2ad45bc288
fix: don't use DPI aware functions on Qt 5 (Windows 7/8) (#5391) 2024-05-12 20:46:26 +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
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
Mm2PL
321d881bfe
Release plugins alpha (#5288) 2024-05-06 15:03:17 +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
pajlada
a88a2ac65c
build: add doxygen target (#5377)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-05-04 10:39:14 +00:00
pajlada
eafcb941f5
Release v2.5.1 (#5364) 2024-04-28 11:36:58 +02:00
nerix
dfa929e207
fix: use the full url when resolving (#5345) 2024-04-21 19:24:11 +00:00
pajlada
3aead09339
Release v2.5.0 (#5337) 2024-04-21 11:17:25 +02:00
pajlada
992ea88884
fix: Remove "Show chatter list" entry from split header menu for non-mods (#5336) 2024-04-20 11:14:23 +02:00
Maverick
7c97e6bcc7
Change order of query parameters of Twitch Player URLs. (#5326)
This ensures that it doesn't "fake redirect".

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-04-18 15:49:50 +00:00
nerix
86a27823a2
fix: don't change the topmost value of child windows (#5330) 2024-04-18 16:24:12 +02: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
pajlada
bf8266e9b3
fix: improve error messaging when pgrep fails streamer mode detection (#5321)
When launching pgrep times out, a timeout message is now posted instead of the default "pgrep is not installed" error.
2024-04-13 07:01:20 +00:00
pajlada
f4e950ea0b
Fix Wayland image upload crash if confirmation dialog is enabled (#5314) 2024-04-12 21:48:08 +00:00
nerix
1ca77a1e84
Add context menu entry to toggle offline tabs (#5318)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-04-12 23:05:47 +02:00
iProdigy
e6bf503594
feat: include duration in more multi month gifts (#5319)
* feat: include duration in more multi month gifts

* chore: update sample data

* chore: update changelog

* push more sample data events to my channel

* feat: use nicer display name for anon gifters

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-04-12 21:30:33 +02:00
nealxm
116e82dcc5
fix: the version string not showing up as expected in Finder on macOS (#5311) 2024-04-09 23:33:58 +00:00
nerix
dd62707d53
fix: hide tooltip on window leave event (#5309) 2024-04-09 14:25:08 +02:00
pajlada
25a69fd10e
Release v2.5.0-beta.1 (#5303) 2024-04-07 12:03:14 +02:00
nerix
2ea24c1a9d
fix: use deleteLater for network objects and order them (#5297) 2024-04-03 21:08:52 +02:00
nerix
8db0bb464d
fix: use login name when parsing highlights (#5295) 2024-04-02 19:59:59 +00:00
iProdigy
92e75784fc
feat: report duration for multi-month anon sub gifts (#5293) 2024-04-02 12:50:53 +02:00
pajlada
2a447d3c95
fix: use 3x scale factor for base size multiplier (#5291) 2024-04-01 20:51:12 +02:00
nerix
905aa4e923
refactor: About page (#5287) 2024-03-31 22:04:11 +00:00
nerix
b991b957f0
fix: missing rerender on clear (#5282) 2024-03-31 09:46:58 +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
nerix
b35f10fa54
chore: require newline at EOF (#5278) 2024-03-30 13:50:58 +00:00
pajlada
2f534dc6da
fix: override broken base sizes & scales for some Twitch emotes (#5279) 2024-03-30 13:24:47 +00:00
Mm2PL
69bdac9936
Add reward.cost reward.id, reward.title filter variables (#5275) 2024-03-30 11:28:49 +00:00
nerix
09b2c53383
fix: rerender when unpausing (#5265) 2024-03-30 10:56:51 +00:00
nerix
84e641d589
ci: run clang-tidy with Qt 6 and update action (#5273) 2024-03-30 11:25:11 +01:00
nerix
9583a10b88
fix(helix-chat): show better error messages (#5276) 2024-03-30 11:24:09 +01:00
Maverick
b6d75fd867
feat: add more items in macOS menu bar (#5266)
Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
2024-03-29 19:50:43 +00:00
Felanbird
515a92d6f7
Prepare changelog for v2.5.0 release (#5264) 2024-03-27 17:59:57 +01: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
Michał Partyka
2750c528af
fix: remove ":" from the message the user is replying to if it's a /me message (#5263) 2024-03-24 19:10:40 +01:00
iProdigy
ca69172479
fix: check broadcast binaries without case sensitivity (#5260) 2024-03-24 11:30:22 +01:00
nerix
ed20e71db4
refactor: adapt magic_enum to Qt (#5258) 2024-03-23 11:22:42 +00:00
nerix
044d457d20
fix: create NetworkManager statics in init() (#5254) 2024-03-23 10:56:42 +00:00
Felanbird
f21b9a2daf
Revert "Show line indicator instead of rectangle while dragging in tables" (#5255)
This reverts commit 0322d37650.
2024-03-18 00:07:53 +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
askepticaldreamer
46c5609736
feat: Warn for commands with duplicate triggers (#4322)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-03-17 11:46:58 +00:00
nerix
0322d37650
Show line indicator instead of rectangle while dragging in tables (#5252) 2024-03-17 11:21:15 +00:00
pajlada
3563ecb3a5
fix: Compile Lua as a C library (#5251) 2024-03-16 14:15:05 +00:00
nerix
47c46b64ea
fix(channel-view): use underlyingChannel_ over channel_ (#5248) 2024-03-16 12:03:57 +00:00
Arne
fc61e8d64d
feat: add /announce[color] commands (#5250) 2024-03-14 20:36:58 +01:00
pajlada
e7508332ff
refactor: Fonts (#5228) 2024-03-10 13:27:08 +00:00
pajlada
e56f7136a9
fix: truncate outgoing IRC messages to ensure we don't send more than 512 bytes (#5246) 2024-03-10 13:00:52 +00:00
pajlada
a958619860
Hide chatter list button for non-moderators (#5245) 2024-03-10 11:46:26 +00: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
pajlada
2e77b47ea1
fix: settings "Cancel" button doesn't work first time (#5229) 2024-03-09 11:29:25 +00:00
KleberPF
c50791972d
Add highlight color and show in mentions to automod messages (#5215) 2024-03-09 11:03:36 +00:00
nerix
ecad4b052a
fix(windows): show split tooltip before move (#5230) 2024-03-09 11:27:42 +01:00
nerix
26bb4e236d
fix(tooltips): hide image label by default (#5232) 2024-03-09 11:25:20 +01:00
Mm2PL
8cea86cf17
Fix rerun flag not being unset after stream finishes (#5237) 2024-03-09 11:22:23 +01:00
nerix
9151446c0e
fix(streamer-mode): check setting on startup (#5236) 2024-03-06 18:01:42 +00:00
pajlada
77cfd1393c
fix: the font switcher now remembers your previous font (#5224)
Fixes #2112
2024-03-03 12:41:32 +00:00
nerix
449c5397b7
fix: store IPC file in application directory (#5226) 2024-03-03 12:15:50 +00:00
nerix
3c13e0c6d2
chore: remove dead message element code (#5225) 2024-03-02 22:09:54 +01:00
nerix
a041e13d21
chore: clean up and optimize resources (#5222) 2024-03-02 11:32:06 +00:00
pajlada
3928cc9578
fix: correctly load twitch badges in highlights page (#5223) 2024-03-02 11:05:12 +00:00
nerix
c1fa51242f
refactor: turn StreamerMode into a singleton(-like thing) (#5216) 2024-03-01 21:12:02 +01:00
Ilya Zlobintsev
687b213394
Add launchable attribute to the Linux appdata file (#5210)
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-launchable
2024-02-26 20:58:39 +01:00
nerix
5f6261c0cf
feat: use 4x images on 7TV instead of 3x (#5209) 2024-02-26 19:38:30 +01:00
nerix
4315c43eac
fix: show correct scale factor of images (#5201) 2024-02-26 18:13:21 +01:00