Commit graph

3991 commits

Author SHA1 Message Date
Mm2PL
4a26c87d5d
Add cppcoreguidelines-pro-type-member-init back to clang-tidy checks. (#4425)
Uninitialized pointers no more!
2023-03-04 12:49:06 +01:00
pajlada
35ac9d5f22
Update Windows build documentation (#4413)
This moves CMake to be our top supported build method, with Qt creator
being lower priority now.
2023-03-04 12:09:20 +01:00
dependabot[bot]
3c73801d20
Bump lib/serialize from 7d37cbf to 1f99aa8 (#4418)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:02:37 -05:00
iProdigy
b5b85501ee
Add ban user by id command /banid (#4411)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-02-26 20:03:14 +00:00
pajlada
f9b23882f4
Templatize localizeNumbers (#4412)
original idea by MM2PL
2023-02-25 12:44:45 +01:00
James Upjohn
4923549fdf
fix: update emote picker labels to use 7TV naming (#4405) 2023-02-24 09:22:23 -05:00
nerix
a75feba4ca
Use unique_lock when loading 7TV badges (#4402)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-02-22 12:01:47 +00:00
pajlada
7e005ba661
Fix AppImage not containing all SSL dependencies (#4400)
This means the AppImage is built on Ubuntu 20.04 using Qt 5.12
2023-02-21 09:47:18 +01:00
dependabot[bot]
621b5d9163
Bump jurplel/install-qt-action from 3.0.0 to 3.1.0 (#4395)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 12:21:57 +01:00
nerix
c74b14a93a
Delete all but the last 5 crash dumps on startup (#4392)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-02-19 22:20:41 +00:00
pajlada
c95a65c153
Fix Qt6 building (#4393) 2023-02-19 20:19:18 +01:00
pajlada
d3499e814e
Fix the brew cask action (#4394)
It previously tried to bump the version from 2.4.0 to v2.4.1
the action didn't strip the v, but it does now
2023-02-19 16:08:32 +00:00
pajlada
5ed4a21d6a
Release v2.4.1 (#4390) 2023-02-19 12:14:54 +01:00
pajlada
2629e3baa7
Stop whispers from showing up in /mentions unless they match another highlight (#4389) 2023-02-18 12:02:12 +00:00
Ilya Zlobintsev
da97079877
Add flatpakref file to artifacts (#4388)
The .flatpakref file format definition can be read about here https://man7.org/linux/man-pages/man5/flatpak-flatpakref.5.html
or just `man flatpak-flatpakref`
2023-02-17 20:01:47 +00:00
pajlada
6380fb5198
Fix mod, unmod, vip, unvip buttons in User Card (#4387) 2023-02-16 20:43:37 +00:00
Felanbird
28bdf440fd
Move #4361 changelog to dev section (#4385) 2023-02-16 16:08:09 +00:00
nerix
9bfd12ba3c
Fix builds from CI showing up as modified (#4384)
This change also adds a new environment variable used while building: `CHATTERINO_REQUIRE_CLEAN_GIT` which, if set, will error out during your build's GIT stage.
This is used in CI to ensure we don't accidentally introduce a change that would result in builds showing up as "modified" again.

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-02-16 13:56:20 +00:00
Wissididom
4c8ad85074
Improve Linux build instructions (#4382)
Removed QtMultimedia and GStreamer dependencies from build documentations.
These are no longer required ever since miniaudio replaced them for highlight sounds.
2023-02-15 23:52:28 +01:00
Felanbird
998cfbaf67
Clean up changelog in preparation of v2.4.1 (#4381) 2023-02-15 14:31:01 -05:00
Lucas K
ff53b7cc97
Fix inconsistent separator usage in command failure messages (#4379) 2023-02-14 21:27:33 +00:00
pajlada
f317d4c99b
Fix User Card moderation actions not using Helix (#4378) 2023-02-14 20:59:23 +00:00
askepticaldreamer
a3189baf94
Add channel name to Mentions chat logs (#4371) 2023-02-13 23:00:46 +00:00
Wissididom
4cb8403491
Handle non-versioned annotated tags gracefully when building a Ubuntu .deb package (#4375) 2023-02-13 21:39:59 +00:00
nerix
bb0b563a87
Use qintptr in QWidget::nativeEvent on Qt 6 (#4376) 2023-02-13 20:45:58 +00:00
Wissididom
df9836f59e
Automatically update nightly-build tag every nightly release (#4374)
This is done by CI force pushing the `nightly-build` tag - the `nightly-build` tag should never be relied on other than for GitHub releases.
2023-02-13 19:11:48 +00:00
pajlada
56adaf81ac
Fix .deb & pdb release uploads (#4373) 2023-02-13 10:33:25 +00:00
pajlada
ef3a607af5
Upload both Ubuntu .deb packages & Windows .pdb symbols in releases (#4372) 2023-02-13 09:34:40 +00:00
dependabot[bot]
ae7567121b
Bump lib/crashpad from 918fd31 to ec99257 (#4370)
Bumps [lib/crashpad](https://github.com/getsentry/crashpad) from `918fd31` to `ec99257`.
- [Release notes](https://github.com/getsentry/crashpad/releases)
- [Commits](918fd319d6...ec99257868)

---
updated-dependencies:
- dependency-name: lib/crashpad
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 10:10:03 +01:00
nerix
e377c30192
Add Crashpad Support on Windows (#4351)
* feat: crashpad on windows

* feat: inline it

* feat: more crashpad

* chore: remove qBreakpad

* fix: add mention to crashpad

* refactor: version string

* feat: add crashpad module

* refactor: build crashpad from source

* fix: minor adjustments

* chore: add changelog entry

* fix: formatting and include

* fix: format

* build: use flags similar to release profile

* ci: build with crashpad on windows

* ci: recurse submodules

* ci: always include crashpad

* fix: try 7z

for some reason zstd just doesn't run

* fix: wrong path for symbols

* fix: copy

pls don't build

* ci: use new cache key

* fix: missing pragma

* ci: add workflow without crashpad

* docs: elevate changelog entry

* fix: add link to cmake issue

* fix: windows include issue

Someone (crashpad) includes Windows.h before winsock2.h

* fix: working directory

* fix: another working directory
2023-02-12 20:36:58 +01:00
Wissididom
8e24a29c85
Fix Ubuntu builds preventing create-release from building (#4368) 2023-02-12 00:20:54 +01:00
nerix
c9a9e44e1f
Add HTTP & SOCKS5 proxy support (#4321)
This can be configured using the `CHATTERINO2_PROXY_URL` environment variable.
The behaviour is similar to curl's CURLOPT_PROXY
2023-02-11 23:16:51 +00:00
Wissididom
98c2ff5607
Separate Ubuntu .deb packages per Ubuntu release (#4357)
Our .deb packages are now very Ubuntu-specific and are packages based on our CI builds.
2023-02-11 22:50:01 +00:00
Daniel Sage
cf80ae8434
Disable ImageExpirationPool during testing (#4363)
* Disable ImageExpirationPool during testing

* Update CHANGELOG.md

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-02-11 19:20:46 +00:00
nerix
5179567334
Use QEnterEvent for QWidget::enterEvent on Qt 6 (#4365)
* fix: use concrete QEnterEvent on Qt 6

* chore: add changelog entry
2023-02-11 18:13:29 +01:00
Sam Heybey
1d3ca0bfa3
Use AssocQueryString instead of directly querying the registry (#4362)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-02-10 21:21:09 -05:00
Mm2PL
d38187f794
Remove sending part of the multipart emoji workaround (#4361) 2023-02-09 16:45:53 +01:00
nerix
829c48d79a
Attempt to catch std::bad_function_call when adding a channel point reward (#4360)
* fix: attempt to catch std::bad_function_call

* chore: add changelog entry

* fix: spelling mistake

Co-authored-by: Leon Richardt <git@leon.dev>

---------

Co-authored-by: Leon Richardt <git@leon.dev>
2023-02-09 00:43:52 +01:00
dependabot[bot]
6defee0615
Bump ilammy/msvc-dev-cmd from 1.12.0 to 1.12.1 (#4359)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 02:29:20 +00:00
nerix
0c74ab17ed
Refactor 7TV EventAPI (#4342)
* refactor: remove file prefix

* refactor: put eventapi into a namespace

* refactor: support multiple conditions

* fix: handle ack

* docs: add changelog entry

* fix: unsubscribe in destructor

* fix: naming of parameter

* fix: namespaces

* chore: casing

* fix: missing namespace

---------

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-02-04 13:42:52 +01:00
LosFarmosCTL
6516116244
fix: compilation on macOS without precompiled headers (#4348) 2023-01-31 15:48:56 +01:00
pajlada
d313342f20
Change pubsub test server from master branch to the latest stable tag (#4346) 2023-01-31 12:33:17 +01:00
Wissididom
fe77e9162f
Removed libgstreamer-plugins-base from build workflow (#4344) 2023-01-31 09:10:53 +01:00
dependabot[bot]
abc3aee37f
Bump cmake/sanitizers-cmake from a6748f4 to c3dc841 (#4345)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 00:20:51 +00:00
nerix
82207254ed
Update vcpkg.json (#4343)
* deps(vcpkg): update schema and baseline

* deps(vcpkg): remove dependency on qtmultimedia
2023-01-30 20:48:05 +01:00
Auro
d6ccab2cdf
Added option to highlight your own messages (#3833)
* Removed magic numbers when checking rowIndex

* Swap from static ints to enum

* Referred enum members by enum name

* Fixed formatting

* Added highlight option for self messages

* Update CHANGELOG.md

* Made disabled by default

* Moved setting from Messages tab to Users tab

* Moved checks to HighlightController

* Set row index to 0

sillE silly me

* Update CHANGELOG.md

* Moved check outside of loop

* Improved naming and documentation on variables

* Fixed formatting

* Fix compile errors

* Update ColorProvider self message highlight color when it's changed

Use the ColorProvider self message highlight color instead of rolling
our own non-updating color

* Update changelog entry

* Remove unused `customColor` from user highlights builder

* Use explicit lambda capture

* Update comment for the color provider color

* HighlightModelHpp: Future-proof custom row enum B)

* Document UserHighlightModel color changes

* Update colorprovider comment

* Update enabled, show in mentions & color setting paths

* Rename settings from `selfMessagesHighlight` to `selfMessageHighlight`

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-01-30 11:40:50 +01:00
nerix
bfa899c45e
Suppress Output of Git Command in CMake (#4340) 2023-01-29 16:45:59 +01:00
Wissididom
2a071a7067
Remove Qt::Multimedia as a dependency from CMakeLists.txt (#4339)
* Remove Multimedia required in find_package

* Remove Multimedia from src/CMakeLists.txt
2023-01-29 15:28:01 +00:00
nerix
b80d41c327
Use CMakeDeps and CMakeToolchain as Generators on Conan (#4335)
* deps(conan): use `CMakeDeps` as generator

* chore: add changelog entry

* deps(conan): add `CMakeToolchain` generator

* fix: use generated toolchain file

* docs: mention toolchain as well

* fix: spelling

* fix: formatting

* revert: use nmake

* docs: fix documentation
2023-01-29 13:10:39 +00:00
pajlada
6a4f0befd4
Disable translation building (#4336) 2023-01-29 11:12:49 +00:00