zneix
2a8daaea05
Include QFile that is now necessary I think
2021-07-31 22:46:26 +02:00
zneix
bddd5b021c
QStyleOption::init() -> QStyleOption::initFrom()
...
Reference:
- https://doc.qt.io/qt-5/qstyleoption-obsolete.html#init
2021-07-31 22:41:15 +02:00
zneix
0839e36177
Follow-up to 52ef16418d
2021-07-31 22:40:29 +02:00
zneix
850869bb0f
Follow-up to 4ba4a2f33c
2021-07-31 22:34:47 +02:00
zneix
e7b89e61e8
Move QAction to QtGui on Qt6
...
Reference:
- https://doc.qt.io/qt-6/widgets-changes-qt6.html#qaction-qactiongroup
2021-07-31 22:32:47 +02:00
zneix
fa31c57dc9
Replaced QLayout::setMargin with QLayout::setContentsMargins
...
It's been already deprecated in Qt5, removed from Qt6 completely
Reference:
- https://doc.qt.io/qt-5/qlayout-obsolete.html
2021-07-31 19:45:17 +02:00
zneix
c99f12e8fe
Removed unused QDesktopWidget includes
...
Also made the overlooked deprecation fixes (which is now a necessary fix because deprecation warning became a compilation error now), Extends #2647
2021-07-31 18:50:35 +02:00
zneix
0ea7db094e
Follow-up to 52ef16418d
2021-07-31 18:13:38 +02:00
zneix
a0228fbd6d
Merge remote-tracking branch 'origin/master' into zneix/feature/qt6
2021-07-31 17:34:13 +02:00
apa420
3cb1e5158a
Added the ability to add nicknames for users ( #2981 )
...
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-31 16:15:43 +02:00
ALazyMeme
3238d1f801
Add ALazyMeme to the contributor list ( #3097 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-31 13:24:56 +00:00
xHeaveny
0f0b0c03b8
Adding xHeaveny to Contributor List ( #3072 )
2021-07-31 12:47:56 +00:00
zneix
6c6edc10bb
QLatin1Literal no longer exists (?)
...
QStringLiteral seems like a fine workaround
2021-07-31 12:43:04 +02:00
zneix
4958a13240
QMediaPlayer::setMedia -> QMediaPlayer::setSource
...
References:
- https://doc.qt.io/qt-5/qmediaplayer.html#setMedia
- https://doc-snapshots.qt.io/qt6-dev/qmediaplayer.html#setSource
2021-07-31 12:27:27 +02:00
zneix
4ba4a2f33c
Follow-up to 32f81a668f
...
Also, rather use `static_cast<int>(stuff)` than `int(stuff)`.
See https://cdn.zneix.eu/JjHk5U4.png
2021-07-31 02:28:00 +02:00
zneix
52ef16418d
More QStringRef -> QStringView
...
Follow-up to stuff that was originally added in 1330076d5d
2021-07-31 02:17:54 +02:00
zneix
32f81a668f
QList::{size,length}() changed fron inline int to qsizetype
...
References:
- https://doc.qt.io/qt-6/qlist.html#length
- https://www.qt.io/blog/qlist-changes-in-qt-6
2021-07-31 02:00:20 +02:00
zneix
19a2b2eb61
You can no longer just append int to a QString
2021-07-31 01:59:57 +02:00
zneix
efc376138a
Replace QPixmap == comparison with QImage ==
...
Reference:
- b39685d4c2
2021-07-31 01:41:21 +02:00
zneix
347a1b9ed6
Follow-up to d010a7d48b
2021-07-31 00:57:45 +02:00
zneix
3757784f73
Follow-up to 0933d68111
2021-07-31 00:35:19 +02:00
zneix
d010a7d48b
Update QWidget::enterEvent() override
...
References:
- https://doc.qt.io/qt-6/qwidget.html#enterEvent
2021-07-31 00:31:15 +02:00
zneix
0933d68111
Update to Qt::SkipEmptyParts
2021-07-31 00:25:39 +02:00
zneix
1520398984
Merge remote-tracking branch 'origin/master' into zneix/feature/qt6
2021-07-30 20:11:35 +02:00
Paweł
047e10a833
Removed checks for no longer supported Qt 5.11 ( #3093 )
2021-07-30 16:18:30 +00:00
zneix
023149a023
Updated BaseWindow::nativeEvent
...
References:
- https://doc.qt.io/qt-5/qwidget.html#nativeEvent
- https://doc.qt.io/qt-6/qwidget.html#nativeEvent
2021-07-30 17:40:25 +02:00
zneix
1330076d5d
First set of code updates
...
Reference:
- https://doc.qt.io/qt-6/qtextstream.html#setEncoding
- https://doc.qt.io/qt-6/qtcore-changes-qt6.html#the-qstringref-class
- https://doc.qt.io/qt-6/qstringview.html
2021-07-30 17:10:00 +02:00
zneix
e14050d40c
First changes to build systems
...
For the time being I hardcoded qt6 in cmake for convenience, but in the end there'll be a flag you should specify for building with either Qt6 or Qt5
2021-07-30 17:08:31 +02:00
pajlada
770b9f263b
Fix PubSub client creation/pending topic resolving ( #3037 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: zneix <zneix@zneix.eu>
2021-07-25 15:13:04 +00:00
xHeaveny
33d1837f4f
Added section with helpful Chatterino-related links to the About page ( #3068 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 14:19:01 +00:00
Matthew Marlow
6052a0ede6
Fixed zooming bug in native-host-ext [Chrome] ( #1936 )
...
Co-authored-by: alazymeme <jkeasley@icloud.com>
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 13:13:21 +00:00
Felanbird
700e092bf6
Fix non secure wiki link ( #3042 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 12:30:40 +00:00
Mm2PL
b352dea2dc
Make the copy button switch light/dark theme ( #3057 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-25 11:15:38 +00:00
Mm2PL
f949d6d154
Add HTTP logging ( #2991 )
...
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-25 00:52:34 +02:00
ilyazzz
b8bd0a587d
Disable update checker on Flatpak ( #3051 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 11:30:21 +00:00
Mm2PL
706605c99e
Remove copyDarkTheme.png which was an unused SVG file. ( #3056 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 10:52:00 +00:00
Paweł
588ed557f0
Fixed comma appended to username completion when not at the beginning of the message ( #3060 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 12:01:50 +02:00
Paweł
ae9f92ded9
Make use of QUrlQuery in NetworkRequests where it was hardcoded into url ( #3039 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-18 13:21:09 +00:00
Paweł
e5fe0999ee
Replace std::string with QString in rapidjson and PubSub Client ( #3018 )
2021-07-18 12:37:53 +00:00
Paweł
1f19d31a67
Added informative messages on issues related to recent-messages ( #3029 )
2021-07-18 14:15:38 +02:00
pajlada
8ceb100177
Add tests for getEmoteSetBatches
( #3036 )
2021-07-18 10:14:01 +00:00
Paweł
9f2fc90928
Fix crash and completion in other special channels than /whispers ( #3033 )
2021-07-17 19:33:03 +00:00
Paweł
89b86b94e7
Cleanup debug logging ( #3015 )
2021-07-17 16:45:02 +00:00
Paweł
a84e62c6bb
Use server time in received IRC messages where available ( #3026 )
2021-07-17 18:22:25 +02:00
Paweł
7e13564c24
Fixed newly uploaded subscriber emotes not being available ( #2992 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-17 15:18:17 +00:00
Paweł
91ab8b90a0
Cleaned up IrcMessageHandler ( #3021 )
2021-07-17 13:09:21 +00:00
Paweł
74c5cca890
Added autocompletion in /whispers for Twitch emotes, Global Bttv/Ffz emotes and emojis ( #2999 )
2021-07-17 12:35:27 +00:00
Paweł
a509c7514c
Fixed degraded dirty emote code escaping ( #3010 )
2021-07-17 10:35:43 +00:00
Paweł
6022cd86eb
Remove unused class JsonQuery ( #3017 )
...
Introduced 3 years ago in c2e2dfb
, not used ever since. Safe to remove.
2021-07-15 20:37:34 +00:00
Paweł
c8c28d7f55
Remove global third party emotes from TwitchChannel class ( #3000 )
...
Those are still accessible under getApp()->twitch2 instance.
2021-07-13 13:23:50 +02:00
SLCH
8c113c2311
Added SLCH to contributors list ( #2990 )
2021-07-11 13:10:51 +00:00
SLCH
faafbdaad4
Added "Open in: new tab, browser player, streamlink" in twitch link context menu. ( #2988 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-11 11:54:19 +00:00
Paweł
975b39fe10
Made username and color in AutoMod mod messages use correct values ( #2967 )
...
We use values given in pubsub messages and handle their edge-cases properly.
2021-07-11 11:33:35 +00:00
Paweł
735c0ad1ac
Set proper minimum width of name display modes dropdown ( #2976 )
2021-07-11 10:47:23 +00:00
Paweł
94a99ac4f0
Fix custom built messages not showing up as search results ( #2962 )
2021-07-11 10:19:35 +00:00
nerix
b37c0cb177
Update Emoji Data to v13.1 ( #2958 )
...
Co-authored-by: zneix <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-11 09:51:04 +00:00
Paweł
d5add46730
Respect follower emotes context, making them only available in their owner channels ( #2951 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-11 09:12:49 +00:00
Paweł
b6ee2280d2
Moved getRandomColor method to util/Helpers.cpp ( #2974 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-08 17:09:31 +00:00
Mm2PL
24aee42171
Fix usercards showing all messages in IRC channels ( #2979 )
2021-07-08 17:26:34 +02:00
Paweł
8a0ed79eca
Respect founder badge in author.subbed
filter ( #2971 )
2021-07-06 15:14:05 +00:00
Tal Neoran
cc9d44a0bb
Fix text mistakes in advanced login dialog ( #2966 )
2021-07-05 16:52:59 +00:00
Tal Neoran
2af9284de5
Make usernames clickable in reward redemption messages ( #2953 )
...
Co-authored-by: Paweł <zneix@zneix.eu>
2021-07-04 16:21:18 +00:00
Paweł
3b0d62f5c5
Replace QRegExp with QRegularExpression ( #2945 )
2021-07-04 11:02:12 +00:00
Paweł
670ad90242
Don't trigger middle mouse scrolling if ChannelView is not fully populated ( #2933 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-04 10:18:49 +00:00
fourtf
804bc526b5
fix overflows in the max image size code ( #2950 )
...
* fix overflows in the max image size code
* Update Image.cpp
2021-07-03 20:11:10 +00:00
Tal Neoran
6830e8b01b
Readd removing of unmodified cache files ( #2947 )
...
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-03 11:40:24 +00:00
Mm2PL
8385d06369
Fix logging category names ( #2948 )
...
Fix chatterinoCommon and chatterinoCache were swapped.
Co-authored-by: Tal Neoran <talneoran@gmail.com>
2021-07-02 20:56:37 +00:00
Leon Richardt
0dd545fa15
fix: provide better UX for HTML color picker edit ( #2942 )
2021-07-02 21:53:24 +02:00
Mm2PL
a8a07426b9
Only restrict Highlight color for whispers in messages tab ( #2937 )
...
This fixes a bug, where changing color of the second row in Users tab in Highlights settings page was not possible.
2021-06-29 22:32:07 +02:00
Paweł
b969108cca
Updated autogenerated resources ( #2931 )
...
CC #2530
2021-06-27 21:19:09 +00:00
Paweł
a458e32f1d
Removed /logs
command ( #2927 )
...
It's been deprecated over a year ago, it's high time it should go 😢
2021-06-27 15:23:06 +00:00
Tal Neoran
db09a88c8d
Add clickable usernames in host offline messages ( #2922 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-27 13:50:12 +00:00
Tal Neoran
e1895de7f3
Hide completion popup when cursor is at first position ( #2929 )
...
Prevents user autocompletion menu from appearing in unwanted scenarios
2021-06-27 12:47:14 +00:00
Tal Neoran
07231e57c9
Fix large timeout duration in moderation buttons ( #2921 )
...
Large timeout durations in moderation buttons will no longer overlap with other buttons or username.
2021-06-27 12:14:10 +00:00
Tal Neoran
991892ee76
Add /openurl command ( #2926 )
...
Usage: `/openurl <URL>`. Opens the provided URL in the browser.
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-06-27 11:40:44 +00:00
Mm2PL
c722f085d0
Moved image uploader confirmation setting to external tools page ( #2923 )
2021-06-26 12:08:44 +00:00
Paweł
002129009d
Fix emotesets not loading properly ( #2905 )
...
* Initial work
fk I'm so tired...
* Updated Twitch API documentation
* Futher changes
* Removed debug output
* Added changelog entry
* Advice: don't code at 4am
removed all silly debug stuff
* Add missing lambda capture
2021-06-24 21:23:31 +00:00
fourtf
ed6ef0b98e
add a maximum RAM usage for images
2021-06-24 22:54:36 +02:00
fourtf
97b9bfb2bd
v2.3.3
2021-06-21 11:35:53 +02:00
Felanbird
e352d7b31a
Fix 'Filter Info' url ( #2907 )
...
Closes #2906
2021-06-20 18:15:41 +02:00
fourtf
1efc547aa5
removed access to theme from TMB + misc fixes ( #2694 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-20 13:55:35 +00:00
pajlada
0c2488505c
Use an exponential backoff when deciding how long we need to wait for reconnects ( #2892 )
...
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
2021-06-20 13:29:52 +00:00
Paweł
d6b5921a0e
Refactored emote reloading ( #2857 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-06-20 00:11:06 +02:00
Mm2PL
74960bf419
Communicate streams that went offline through /live ( #2880 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-19 17:27:31 +00:00
Tal Neoran
f605221042
Add username autocompletion popup menu ( #2866 )
2021-06-19 16:29:17 +00:00
Tal Neoran
d21858b97f
Fix moderation button time units when not using seconds ( #2864 )
2021-06-19 14:00:03 +00:00
Mm2PL
9640837957
Allow moderators to see who deleted a message ( #2874 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-19 11:56:00 +00:00
Mm2PL
9fb5ef60d4
Image uploader mime filter uses urls but doesn't check them ( #2855 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-13 14:23:13 +00:00
Mm2PL
3977eb74a6
Update Twitch AutoMod PubSub topic ( #2887 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-13 15:38:30 +02:00
Mm2PL
eb8ddfc1d3
Add setting for username display style ( #2891 )
2021-06-13 12:13:19 +00:00
pajlada
91b0170241
Make tests use main chatterino project objects ( #2840 )
2021-06-13 11:49:59 +00:00
Paweł
5512437f1b
Fixed a crash introduced in 2f568b8
( #2856 ) ( #2871 )
2021-06-06 19:59:53 +00:00
Paweł
2f568b88ae
Split list of emote sets into bunches when performing Ivr API reqeusts ( #2856 )
2021-06-06 19:27:45 +02:00
Mm2PL
f1e843a672
Make deletions show like timeouts/bans. ( #2841 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-06 17:51:57 +02:00
Ben de Graaff
8639f450f2
Fix write connection reconnection issues ( #2850 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-06 16:25:13 +02:00
Paweł
0b4c521c9b
Refactored system message received upon trying to send a message while anonymous ( #2862 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-06-05 16:27:14 +02:00
Ben de Graaff
6611c24e13
Switch to Twitch v2 emote API for animated emote support ( #2863 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
2021-06-04 19:42:32 +00:00
Tal Neoran
80fed27b4e
Search in viewer list by contained term ( #2861 )
...
Searching for users in the viewer list now searches anywhere in the user's name - instead of just searching at the beginning of the username.
2021-06-04 10:51:35 +00:00
Paweł
57354283ec
Added ability to toggle visibility of tabs ( #2600 )
...
This can be done by right-clicking the tab area or pressing the keyboard shortcut (default: Ctrl+U).
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-30 11:39:34 +00:00
Tal Neoran
01bda9c2f6
Fix tab direction not applying to popup window ( #2839 )
2021-05-30 10:22:26 +00:00