Commit Graph

4011 Commits

Author SHA1 Message Date
chrrs bf4148a370 Consider nicknames when searching for messages (#4663)
Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
2023-05-31 19:38:17 +00:00
pajlada e9432d3b65 Clean up GenericListModel (#4661)
Co-authored-by: Daniel Sage <sagedanielr@gmail.com>
2023-05-29 16:37:55 +02:00
Mm2PL c7b22939d5 Improve editing of hotkeys (#4628)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-27 14:04:30 +00:00
Mm2PL fb02d59b48 Add tools to help debug image GC (#4578)
`/debug-force-image-gc` will force garbage collection on all unused images
`/debug-force-image-unload` will force unload all images

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-27 12:18:08 +00:00
pajlada 5ca7d387e4 Expand upon test channels (#4655)
Available test channels:

- `$$$` - Fill up scrollback (1000 messages), then add a new message every 500ms
- `$$$:e` - Add a new message every 500ms
- `$$$$` - Fill up scrollback (1000 messages), then add a new message every 250ms
- `$$$$:e` - Add a new message every 250ms
- `$$$$$` - Fill up scrollback (1000 messages), then add a new message every 100ms
- `$$$$$:e` - Add a new message every 100ms
- `$$$$$$` - Fill up scrollback (1000 messages), then add a new message every 50ms
- `$$$$$$:e` - Add a new message every 50ms
- `$$$$$$$` - Fill up scrollback (1000 messages), then add a new message every 25ms
- `$$$$$$$:e` - Add a new message every 25ms
2023-05-27 13:33:01 +02:00
Mm2PL c6c884df70 Add an indicator in the title bar if Streamer Mode is active (#4410) 2023-05-27 10:38:25 +00:00
nerix 1bc423d9c4 Make tests more platform agnostic (#4650)
Use QTemporaryDir to create the test directory
Add option to use httpbin over local docker
Increase delay for opening a connection

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-26 12:54:23 +00:00
nerix 2264c44f10 Include Tests and Benchmarks in clang-tidy CI (#4653)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-24 21:47:03 +00:00
dependabot[bot] c1dda281df Bump ZedThree/clang-tidy-review from 0.13.0 to 0.13.1 (#4651)
Bumps [ZedThree/clang-tidy-review](https://github.com/ZedThree/clang-tidy-review) from 0.13.0 to 0.13.1.
- [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.13.0...v0.13.1)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  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>
2023-05-23 10:43:31 +02:00
dependabot[bot] ba6fae6db9 Bump jurplel/install-qt-action from 3.2.0 to 3.2.1 (#4635)
Bumps [jurplel/install-qt-action](https://github.com/jurplel/install-qt-action) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/jurplel/install-qt-action/releases)
- [Commits](https://github.com/jurplel/install-qt-action/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: jurplel/install-qt-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>
2023-05-21 23:47:53 +02:00
nerix bd4f6f3a1f Configure CMake for clang-tidy separately (#4648)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-21 19:42:40 +02:00
Daniel Sage 51f2c4d1c0 Add input completion test suite (#4644)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-21 10:10:49 +00:00
olafyang e9f300b765 add 'olafyang' to contributors.txt (#4646)
Co-authored-by: pajlada <rasmus.karlsson+github@pajlada.com>
2023-05-20 18:08:22 +00:00
olafyang 21d4b2cacc add "/shoutout" command (#4638)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-20 16:32:06 +00:00
pajlada e1a6c24cf3 Move mocks to their own interface (#4645) 2023-05-20 10:54:50 +00:00
pajlada 5d0bdc195e Add the ability to select custom themes in the settings dialog (#4570)
Themes are loaded from the Themes directory (under the Chatterino directory, so %APPDATA%/Chatterino2/Themes).

Themes are json files (see the built in themes as an example).

After importing a theme, you must restart Chatterino for it to show up in the settings
2023-05-19 12:26:51 +00:00
Mm2PL 82dff89f3b Add 'joined channel' system message. (#4616) 2023-05-19 10:30:30 +00:00
nerix 347f216abf Add Command to Set Logging/Filter Rules at Runtime (#4637)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-05-17 21:32:50 +00:00
nerix ce47d27d41 Refactor/Cleanup NetworkRequest and Related Code (#4633)
Cleanup unused code (Twitch v5)
Add json methods that simplify sending JSON. This also sets the Accepts header, since here, when JSON is sent, only JSON is accepted as a response (this is only done in Helix).
Clarify helix request creations
Cleaned some clang-tidy suggestions in Network{Request,Private}
2023-05-16 17:28:20 +02:00
pajlada 4fa2cc26c9 Document our pubsub usage & eventual eventsub usage (#4630)
* pubsub <-> eventsub documentation & clarification

* Update Get Chatters documentation
2023-05-14 08:55:48 +00:00
pajlada 29a146278c Release v2.4.4 (#4631) 2023-05-13 10:12:26 -04:00
Felanbird 8e87886ccc Reduce the size of the update prompt (#4626)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-13 10:13:42 +00:00
Mm2PL 1d4c6d5a9e Fixed crash when scrolling up really fast. (#4621) 2023-05-11 18:05:27 +02:00
pajlada 1f0aa808a5 Remove push-aur job (#4610)
This never built the PR job, and doesn't handle pushing to AUR

The new plan is to have a separate AUR-specific repo that handles events
& rebuilding on dependency-change etc
2023-05-08 17:15:38 +00:00
pajlada 62fc5905e6 Further CI fixing, only do clang-tidy stuff in PRs (#4609) 2023-05-08 13:29:58 +00:00
pajlada eed2cfff5b Clean up CI jobs (#4606)
Remove PCH as an option - it's now always disabled for all jobs

Disable LTO in the Windows build

Merge the Ubuntu Qt 6.2.4 & Ubuntu plugin build

Only upload a single macOS job into the nightly release, and clearly mark it as a macOS 10.15 build.
2023-05-08 14:08:43 +02:00
Van Huynh 68f14d3425 Fix Ctrl+Backspace bug after Select All in chat search popup (#4536) 2023-05-07 21:10:22 +00:00
pajlada caa0220ce6 Add a Send button that can be used to send messages (#4607)
This button is disabled by default, and can be enabled with the "Show send message button" setting.
2023-05-07 13:18:07 +00:00
nerix 280b6d934e Parse Domains Starting With http (#4598)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-05-07 12:15:36 +00:00
nerix 91f4b86436 Antialias Click-Effects on Buttons (#4473)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-05-07 11:26:55 +00:00
nerix 4dd290e4e5 🛡 Add /shield and /shieldoff 🛡 (#4580)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-07 10:52:05 +00:00
dependabot[bot] 33f7d90ca3 Bump jurplel/install-qt-action from 3.1.0 to 3.2.0 (#4591)
Bumps [jurplel/install-qt-action](https://github.com/jurplel/install-qt-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/jurplel/install-qt-action/releases)
- [Commits](https://github.com/jurplel/install-qt-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: jurplel/install-qt-action
  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>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-05-07 09:55:18 +00:00
pajlada 0eb33eca90 Update changelog for reality (#4603) 2023-05-06 12:13:03 +00:00
nerix bcd8028132 Improve error messages when updater fails a download (#4594)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-05-02 21:22:04 +00:00
pajlada f39d43faef Fix link tooltips showing up blank instead of with text-only (#4597)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-05-02 20:33:01 +00:00
pajlada 9d71f9017f Revert "Dim disabled items in context menus (#4423)" (#4596)
This reverts commit 642718474c.
2023-05-02 19:33:36 +00:00
pajlada 6672adf287 Fix the menu position on macOS when using Qt 6.5 (#4595) 2023-05-02 20:50:13 +02:00
pajlada 379cc5761c Release v2.4.3 (#4584) 2023-05-01 14:48:24 +02:00
CycloneTM 967e686351 Reword some changelog entries (#4586) 2023-04-30 16:13:15 +00:00
pajlada a14c0be8f1 Update appdata file imgur screenshot link (#4585) 2023-04-30 12:28:06 +00:00
CycloneTM 0136d9b56f Revert test change to README.md (#4583) 2023-04-29 19:07:02 +00:00
nerix 642718474c Dim disabled items in context menus (#4423) 2023-04-29 16:50:13 +00:00
CycloneTM caaa0d91f6 Update macOS icon for Ventura styling (#4577)
or something, idk macos terms

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-04-29 17:45:08 +02:00
Felanbird 317a5fb60f Clean up changelog in preparation of v2.4.3 (#4581)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-29 14:44:53 +00:00
pajlada 4c23f4bcea Allow for local macOS signed builds (#4582)
Split up the CreateDMG.sh macos script to two scripts:
MacDeploy.sh - this calls macdeployqt on the built app
CreateDMG.sh - this calls dmgbuild on the built & deployed app

Add a `SKIP_VENV` environment variable to CreateDMG.sh, this can be used to use the system version of dmgbuild
Add the ability to codesign the created dmg and its contents using the `MACOS_CODESIGN_CERTIFICATE` environment variable
Moved the output name logic from CreateDMG to the `OUTPUT_DMG_PATH` environment variable

The nightly release create job also doesn't remove artifacts now, it only replaces artifacts that are conflicting.
The downside to this is that if we change the name of an artifact, we need to manually delete the old artifact.
The upside to this is that we can now upload artifacts that are not handled in the same CI job.
2023-04-29 16:07:20 +02:00
nerix 9c9fa86c45 Refactor LinkParser (#4576) 2023-04-23 14:56:39 +00:00
Ilya Zlobintsev 4d0e4c1fca Fix Linux appdata file (#4575) 2023-04-23 08:21:58 +00:00
nerix 95e7426283 Remove Redundant Parsing of Links (#4507)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-22 22:58:37 +00:00
nerix f2938995c1 More Accurately Convert Font-Weights in Qt 6 (#4568)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-22 21:42:17 +00:00
Ilya Zlobintsev 2f2816dca0 Add changelog link to appdata file (#4573) 2023-04-22 18:19:42 +00:00