Commit graph

4479 commits

Author SHA1 Message Date
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 a714bf066f
fix: git permission errors in Ubuntu builds (#5458) 2024-06-16 13:30:17 +02: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
dependabot[bot] c1b2114e61
chore(deps): bump dawidd6/action-download-artifact from 3 to 6 (#5454)
Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 3 to 6.
- [Release notes](https://github.com/dawidd6/action-download-artifact/releases)
- [Commits](https://github.com/dawidd6/action-download-artifact/compare/v3...v6)

---
updated-dependencies:
- dependency-name: dawidd6/action-download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-15 11:27:11 +02:00
JakeRYW 25284fc703
Improved error messaging for Update Channel API (#5429) 2024-06-09 11:15:25 +00:00
pajlada b81a947134
force install newer version of the windows CRT in the windows test runner (#5448)
Co-authored-by: Nerixyz <nerixdev@outlook.de>
2024-06-09 12:37:18 +02: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
dependabot[bot] 9ec1022405
chore(deps): bump lib/settings from 03e8af1 to 80b8cb6 (#5427) 2024-05-27 01:37:05 +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
dependabot[bot] da526b379b
chore(deps): bump jurplel/install-qt-action from 3.3.0 to 4.0.0 (#5408)
* chore(deps): bump jurplel/install-qt-action from 3.3.0 to 4.0.0

Bumps [jurplel/install-qt-action](https://github.com/jurplel/install-qt-action) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/jurplel/install-qt-action/releases)
- [Commits](https://github.com/jurplel/install-qt-action/compare/v3.3.0...v4.0.0)

---
updated-dependencies:
- dependency-name: jurplel/install-qt-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix CI (#5410)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Wissididom <30803034+Wissididom@users.noreply.github.com>
2024-05-20 22:10:45 +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
dependabot[bot] 869562263f
chore(deps): bump ZedThree/clang-tidy-review from 0.18.0 to 0.19.0 (#5394)
Bumps [ZedThree/clang-tidy-review](https://github.com/zedthree/clang-tidy-review) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/zedthree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zedthree/clang-tidy-review/compare/v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-18 13:29:10 +02: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
dependabot[bot] a43c4f371b
chore(deps): bump lib/settings from 70fbc72 to 03e8af1 (#5382) 2024-05-05 21:13:02 -04: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
dependabot[bot] 85cb2a1f3c
chore(deps): bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13 (#5370)
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.12 to 1.2.13.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/v1.2.12...v1.2.13)

---
updated-dependencies:
- dependency-name: hendrikmuhs/ccache-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-05-04 10:11:56 +00:00
fossdd b5066881f9
docs: add https://to github URL (#5368) 2024-04-30 21:14:50 +00:00
nerix 80cf1e533c
ci: add workflow for WinGet (#5365) 2024-04-28 13:36:01 +02:00
pajlada eafcb941f5
Release v2.5.1 (#5364) 2024-04-28 11:36:58 +02:00
nerix 58a930d28c
ci: pin to macos-13 (#5362) 2024-04-26 15:15:09 +02:00
Felanbird 1caf7ca4d6
fix: warning in homebrew workflow (#5347) 2024-04-22 07:07:35 +02: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