Commit graph

3486 commits

Author SHA1 Message Date
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 aa048b3793
fix: ensure liveupdate pubsubs exit (#5557)
Previously, the derived class (i.e. BttvLiveUpdates or SeventvEventAPI)
    would have their destructor ran before BasicPubSubManager called
    stop, meaning there was a time wherein messages could still flow
    through, attempting to call `onMessage` on a pure virtual, causing a
    crash.
2024-08-24 14:01:13 +02: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
pastalian f36c73019d
fix: typo in SignalVector::operator[] member access (#5556) 2024-08-24 08:15:03 +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 66c3bc2112
feat: add FlagsEnum::isEmpty for checking if a FlagsEnum is empty (#5550) 2024-08-18 12:22:41 +02:00
pajlada f3cae76abf
fix: parenting logic, fixing some windows & tooltips misbehaving (#5541) 2024-08-17 10:02:40 +00:00
pajlada e840328de7
fix: only attempt to rename threads on Qt6 versions (#5544) 2024-08-12 20:56:40 +00:00
pajlada 832e70e314
fix: only use IApplication::instance instead of Application::instance (#5540) 2024-08-11 14:03:47 +02:00
nerix 1ccdaea8ee
chore: rename threads on Windows too (#5539) 2024-08-11 11:23:04 +02:00
pajlada 2b45b2e0a9
refactor: rename miniaudio thread (#5538) 2024-08-10 13:01:06 +00: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 89857e37de
refactor: move "delete old update files" logic to Updates (#5535) 2024-08-08 20:28:08 +02:00
pajlada f0802af055
refactor: move seventv/bttv event apis to application (#5532) 2024-08-08 15:08:31 +02: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
nerix 5ee5abf5b2
fix: sort elements after RTL reordering (#5525) 2024-07-28 10:29:29 +00:00
cmp 5fc4309e0e
Handle panning touch gestures (#5524) 2024-07-28 12:02:20 +02: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 44abb1901f
fix: restore input layout (almost) (#5519) 2024-07-21 00:49:46 +02:00
nerix 0495fbca43
feat: add option to suppress live notifications on startup (#5388) 2024-07-20 12:19:27 +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
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
pajlada 9788d0f8f7
Added option to log streams by their ID, allowing for easier "per-stream" log analyzing (#5507) 2024-07-14 09:45:21 +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
Mm2PL 49de421bd8
Fixed splits staying paused after unfocusing Chatterino in certain configurations (#5504) 2024-07-13 11:21:27 +02:00
teknsl e2c3823a14
Support more firefox variants for incognito link opening (#5503) 2024-07-11 10:42:20 +00:00
nerix 126200da82
show running qt version if it differs from compiled version (#5501) 2024-07-09 16:18:35 +02: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
Daniel Sage 8e29f75308
Enable antialiasing for reply button (#5491) 2024-07-07 09:42:49 +00: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
nerix 4421b6c90a
fix(windows): wait for Qt before getting bounds (#5478) 2024-06-23 11:32:12 +00:00
nerix 0b54b0b8f5
refactor: cleanup browser extension (#5465) 2024-06-22 13:38:12 +02:00
iProdigy 2ef3306d1d
feat: notate power-up automatic reward redemptions (#5471) 2024-06-22 11:03:49 +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
pajlada 7dc80bc599
chore: post some ssl info on startup (#5475) 2024-06-21 12:48:51 +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 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
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
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
Brian 5c539ebe9a
fix: Missing includes when building with USE_PRECOMPILED_HEADERS=OFF (#5389) 2024-05-11 16:52:25 +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 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