SLCH
14783d52a7
fix typo ( #1675 )
2020-05-07 00:21:08 +02:00
pajlada
ef9c631c65
Only listen to new pubsub "moderator added" syntax ( #1659 )
2020-05-03 12:21:00 +02:00
Daniel Pasch
7719816891
Middle mouse button can now also open links ( #1644 )
2020-05-02 13:19:58 +02:00
pajlada
b4eb56f362
Remove "Online Logs" functionality ( #1649 )
...
The /logs command will direct users to the /user command instead
Changelog has been updated to reflect this change
2020-05-02 12:18:35 +02:00
Mm2PL
84007d2edb
Merge remote-tracking branch 'main_repo/master' into git_is_pepega
...
check if works with new changes from master
2020-04-29 00:42:12 +02:00
fourtf
370e6dc61b
fixed scrollbar thumb not moving
2020-04-21 20:57:16 +02:00
fourtf
354ad6a362
Merge branch 'master' of https://github.com/chatterino/Chatterino2
2020-04-19 21:06:06 +02:00
fourtf
6052846bc3
added checks to mitigate floating point crashes
2020-04-19 21:05:40 +02:00
pajlada
3091842ddc
Clarified that Redeemed Highlights are from Channel Points, not Bits ( #1635 )
2020-04-19 12:18:28 +02:00
fourtf
6b512d1052
Merge branch 'master' of https://github.com/chatterino/Chatterino2
2020-04-18 20:06:15 +02:00
fourtf
120f73db13
added additional checkbox for highlighted bits messages, fixes #1637
2020-04-18 20:05:05 +02:00
Mm2PL
3d1950b32e
Merge remote-tracking branch 'main_repo/master' into git_is_pepega
2020-04-18 13:39:01 +02:00
Leon Richardt
b4a2ced180
Scroll Using Click-and-Drag with Middle Mouse Button ( #1559 )
...
* ChannelView: Rename mouse event related members
This is more in line with the naming of the other members as well as
future members.
* ChannelView: Add ability to scroll with middle mouse button
* Add scrolling resources
* Use custom icons for scroll cursor
* Slightly refactor scrolling logic
* Respect screen scaling when calculating scroll offset
* Nicer scrolling UX
This change allows scrolling to be feel smoother when close to the
starting point.
* Add scrolling with keeping middle mouse pressed
This mimics the behavior of browsers as well.
* Refactor ChannelView::enableScrolling
* Disable drag-scrolling on left or right click
2020-04-18 11:09:22 +02:00
mmb L
2076715e23
prevent moveTo from changing popup position on every launch ( #1630 )
2020-04-18 10:59:27 +02:00
fourtf
beda9e555f
fixed scrollbar meme
2020-04-15 23:25:57 +02:00
fourtf
097f4ccb3a
refined highlight and added bits highlights
2020-04-15 23:15:45 +02:00
mmb L
ebfcb49e8c
Make emote popup remember last position ( #1580 )
...
* Use existing moveTo to ensure window stay within desktop geometry
2020-04-13 13:15:51 +02:00
pajlada
6f926e7d77
Get better timeout messages for self ( #1629 )
...
* Don't require mod rights to listen to moderation actions topic
* Format timeout messages directed at you differently
e.g. "You were banned" or "You were timed out for 4h20m", also including
reason if specified.
2020-04-13 12:31:06 +02:00
apa420
2ac0b60952
option to hide viewer count and duration of the stream when you hover on the split ( #1626 )
...
Fixes #1621
2020-04-13 12:24:27 +02:00
apa420
3138efba25
Fixes #1620 ( #1627 )
...
Fixes #1620
2020-04-11 12:13:38 +02:00
23rd
f489d23a8d
Added ability to open stream in external video player via URI scheme. ( #1623 )
2020-04-11 11:43:35 +02:00
Rasmus Karlsson
5afb2800c9
Make the "user info popup" crash less likely (hack v2)
2020-04-05 13:00:16 +02:00
apa420
3a05700744
Changed text to moderator ( #1619 )
2020-04-05 12:34:16 +02:00
Mm2PL
8f076d8075
Internal changes
...
Add missing `static` and `const`
2020-03-29 13:47:52 +02:00
Mm2PL
175e41c586
Bring back seconds in timestamps ( #1616 )
...
Fixes #1605
2020-03-29 13:06:44 +02:00
Mm2PL
d1d17d4e4b
Add new zero-width emotes from BTTV ( #1613 )
...
New zero-width emotes are cvMask and cvHazmat
Fixes #1612
2020-03-27 21:23:32 +01:00
Leon Richardt
95c909b337
Better Highlights: Fix Wrong Color for Migrated Phrases ( #1568 )
...
* Better Highlights: Fix wrong color for migrated phrases
Prior to this commit, no default color was set when an "old" highlight
phrase (one added prior to #1320 / 5957551
) was deserialized. This
commit makes highlight phrases uses the default self-highlight color for
these situations. This approach is reasonably sensible since that color
is also similar to the old highlight color.
Fixes #1565 .
* Update default self-highlight color
The new default color was suggested in [1] by @RAnders00. Refer to the
link for further information.
[1]: https://github.com/Chatterino/chatterino2/issues/1565#issuecomment-590441625
* Theme: Remove highlight color
As highlight color is independent of the selected theme now, the member
has been removed from the `Theme` singleton. Instead, the fallback theme
color is defined in `HighlightPhrase` now.
Uses of `themes->messages.backgrounds.highlighted` have been replaced
with `HighlightPhrase::FALLBACK_COLOR` accordingly.
* Update src/controllers/highlights/HighlightPhrase.hpp
attempt to just remove constexpr
Co-Authored-By: Ruben Anders <ruben.anders@robotty.de>
* Initialize FALLBACK_COLOR outside header file
* Rename FALLBACK_COLOR to FALLBACK_HIGHLIGHT_COLOR
In preparation for the next commit introducing a new variable.
* Moved subscription highlight color into HighlightPhrase
* Use actual subscription color as a fallback
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Ruben Anders <ruben.anders@robotty.de>
2020-03-22 13:14:07 +01:00
pajlada
15cf8bfcfa
Don't set game to game id, always wait for the game name to be resolved ( #1609 )
...
Fixes #1606
2020-03-22 11:22:36 +01:00
Leon Richardt
17aa3f71cd
Remove Debug Output In Many Different Places ( #1607 )
...
* Application.cpp: Remove whisper debug output
* TwitchAccount.cpp: Remove AutoMod debug output
* BaseWindow.cpp: Remove mouse tracking debug output
* RunGui.cpp: Remove debug output for cleared cache items
* Notebook.cpp: Remove debug output for selected widgets
* LimitedQueue.hpp: Remove commented debug output
* IrcMessageHandler.cpp: Remove debug output when receiving whispers
* UserInfoPopup.cpp: Remove user name debug output
* ChannelView.cpp: Remove debug output when clicking a message
* Image.cpp: Remove commented debug output
* AttachedWindow.cpp: Remove commented debug output
* SplitOverlay.cpp: Remove commented debug output
* TwitchMessageBuilder.cpp: Remove debug output for highlights
* TwitchMessageBuilder.cpp: Remove debug output for blocked messages
* PubsubClient.cpp: Remove debug output on PubSub::listen
* PubsubClient.cpp: Remove debug output on PubSub::tryListen
* IncognitoBrowser.cpp: Remove debug output of browser command
* NativeMessaging.cpp: Remove debug output of message
2020-03-19 18:06:21 +01:00
pajlada
0f2355459d
Make ModBadgeElement a descendant of BadgeElement instead of EmoteElement ( #1602 )
...
this causes it to behave as it should, and not be scaled when emotes are
scaled. :)
2020-03-14 13:06:24 +01:00
pajlada
9a8b85e338
Twitch API: v5 to Helix migration ( #1560 )
...
There's a document in src/providers/twitch/api which describes how we interact with the Twitch API.
Keeping this up to date might be a healthy way for us to ensure we keep using the right APIs for the right job.
2020-03-14 12:13:57 +01:00
pajlada
20612a1381
Fix repeated signal connects on reconnect in irc server ( #1576 )
2020-03-01 06:05:08 -05:00
fourtf
26d3078def
removed unused variables
2020-02-29 13:58:26 +01:00
mmb L
82354327e5
Add option for username tab completion only with an @ prefix ( #1573 )
...
* add an additional check for username completion without an @ prefix
* Changed setting name
* default userCompletionOnlyWithAt to false
2020-02-29 11:52:49 +01:00
fourtf
1e1a56bb87
fixed position of user icon head
2020-02-28 19:52:15 +01:00
fourtf
269d2ee67f
improved user and settings icon
2020-02-28 19:48:04 +01:00
fourtf
d83b597c75
removed unused function in SettingsDialog
2020-02-28 19:12:22 +01:00
fourtf
b887f1c90e
fix crash
2020-02-28 19:05:50 +01:00
fourtf
ba5d842767
removed MutedChannelController
2020-02-28 19:04:25 +01:00
fourtf
e537277fa8
did some more things and stuff
2020-02-23 23:07:28 +01:00
fourtf
5ad427bd61
moved some Settings from Application to Settings
2020-02-23 22:15:13 +01:00
fourtf
f8a9850151
absorbed HighlightController into Application
2020-02-23 21:18:40 +01:00
fourtf
d0a81f3fe7
refactored TaggedUsers and Ping
2020-02-23 20:34:00 +01:00
fourtf
df91ea44c4
refactored ModeratinActions
2020-02-23 20:10:47 +01:00
fourtf
8ae9abb250
refactored IgnoredController
2020-02-23 20:01:35 +01:00
fourtf
89389608e9
removed compat class for SignalVector
2020-02-23 19:52:10 +01:00
fourtf
7e49371ba1
fixed formatting
2020-02-23 19:44:37 +01:00
fourtf
2ebe07bace
removed compat functions in SignalVector
2020-02-23 19:44:13 +01:00
fourtf
e2c493f369
removed compat aliases for SignalVector
2020-02-23 19:37:02 +01:00
fourtf
843e2ad994
refactored HighlightController
2020-02-23 19:31:43 +01:00
fourtf
4a5dc80bc6
some more refactoring
2020-02-23 17:45:59 +01:00
fourtf
e1838154ff
refactored SignalVector
2020-02-23 17:11:15 +01:00
pajlada
2b5c6ffe33
Remove chatroom code ( #1561 )
...
People who had chatrooms still open should notice no difference at all, since it will just try to join a channel with the chatroom name.
Documentation for the closing/deprecation of twitch chat rooms:
https://discuss.dev.twitch.tv/t/rooms-are-closing-how-it-affects-the-api-and-irc/22996
https://dev.twitch.tv/docs/change-log (see 2020-01-10 entry)
2020-02-22 06:05:36 -05:00
fourtf
03cf6e81ff
fixed spaces and margins in general settings
2020-02-21 03:01:48 +01:00
fourtf
5a2633ef5c
fixed bug
2020-02-21 02:16:35 +01:00
fourtf
927ee09221
reordered resize call
2020-02-21 02:07:34 +01:00
fourtf
70e5bd1bfd
lazily initialize settings pages
2020-02-21 01:59:58 +01:00
fourtf
78ca0cb84f
moved settings tab icons to SettingsDialog
2020-02-21 01:22:50 +01:00
fourtf
39d40d6db6
some settings refactorings
2020-02-21 01:17:22 +01:00
fourtf
fbbf34878f
getSettingsPage -> page
2020-02-21 00:46:19 +01:00
fourtf
0bb112a3c2
improved performance of opening the settings dialog
2020-02-20 23:47:25 +01:00
fourtf
4a69095d5f
fix
2020-02-20 23:43:54 +01:00
fourtf
d6c3c99605
list settings can be reordered now
2020-02-20 23:16:46 +01:00
Leon Richardt
d0839ac36e
Make pre-defined highlight columns unselectable
...
Fixes #1539 .
2020-02-20 00:10:10 +01:00
fourtf
6229b2f434
sync gif emotes of same length
2020-02-16 14:24:11 +01:00
Rasmus Karlsson
7a08d73434
Fix preview on hover not working when Animated emotes options was disabled.
...
Fixes #1546
This change introduces a "window timer" that runs every 100ms that we
use to update the pixmap if necessary, since there is no signal for "let
me know when this image is done loading".
2020-02-15 17:16:10 +01:00
Rasmus Karlsson
64c58e724a
Use same sorting method in emote popup as in the completion model
...
Fixes #1549
2020-02-15 15:52:42 +01:00
Rasmus Karlsson
b5764c6a1f
Remove stupid assert in PubSubClient
...
Fixes #1550
2020-02-15 14:49:22 +01:00
tuckerrrrrrrrrrrr
3fd05849a2
ctrl + end scrolls to the bottom of chat
2020-02-10 17:00:33 -08:00
fourtf
da59232913
"Open in player in browser" -> "Open player in browser"
2020-02-10 17:49:45 +01:00
fourtf
59aa59106e
updated R9K shortcut text
2020-02-10 17:26:51 +01:00
fourtf
d16732f023
moved and renamed similarity settings to R9K
2020-02-10 17:25:13 +01:00
Mm2PL
979bf5e74a
Add missing return
2020-02-10 16:55:59 +01:00
fourtf
0d519b479c
changed wording in settings
2020-02-10 16:41:49 +01:00
Mm2PL
dc9acf1bf3
Sort imports
2020-02-09 11:15:39 +01:00
Mm2PL
d7a7df7427
Merge branch 'master' into git_is_pepega
2020-02-08 16:42:47 +01:00
Mm2PL
a929053c4b
Dropping images now works on the whole split :)
2020-02-08 16:41:01 +01:00
Mm2PL
d53bfbfdf2
Fixes and more changes Pajlada requested :)
...
- get rid of `getImageFileFormat`, now uses QMimeDatabase
- now uses a `QMutex` to be thread safe,
- uploading two things at the same time is now impossible
2020-02-08 16:26:32 +01:00
Mm2PL
553e8f2f7b
Delete useless else block
2020-02-08 15:47:27 +01:00
Mm2PL
916fbb2551
Fix a couple things Pajlada pointed out :)
...
Change `CHATTERINO2_IMAGE_PASTE_SITE_URL` to `CHATTERINO2_IMAGE_UPLOADER_URL`
Remove newline at the end of `docs/ENV.md`
2020-02-08 15:44:03 +01:00
Leon Richardt
b8953157cc
Better Highlights: Rework highlight parsing order ( #1524 )
...
This commit is in response to #1523 .
Whispers are now only added to the `/mentions` tab if they also match a
user name or phrase highlight. On a related note, the `highlightVisual_`
member has been removed as it is no longer necessary.
2020-02-02 08:33:25 -05:00
hemirt
1fd64be7f5
Makes it possible to hide one man spam ( #1496 )
2020-02-02 08:31:37 -05:00
Leon Richardt
497ce2d2f2
Better Highlights: Fix Unintentional Color Update ( #1522 )
...
* HighlightPhrase: Fix wrong documentation
* Use right constructor for new HighlightPhrases
* Fix preset highlights changing unintentionally
Prior to this commit, the callback for reacting to user input on the
highlight table (namely, `HighlightingPage::tableCellClicked`) only
checked for the row number in order to determine whether preset
highlights (self highlights, whispers, and subscriptions) need to be
updated. Hence, changing rows 0 through 2 in the "User Highlights" tab
would also update the preset highlights.
This commit adds a check to determine whether the callback was triggered
by the "Messages" highlight tab, or not.
2020-01-27 00:16:09 +01:00
Mm2PL
bfee75ec58
Show the toggle mod mode button when mod buttons are enabled. ( #1518 )
...
* Fix #1288
Show the toggle mod mode button when mod buttons are enabled.
* Automatic formatting ain't good enough i guess.
2020-01-26 10:10:40 +01:00
Leon Richardt
93a6c55ed3
Fix subscription messages triggering split highlights ( #1519 )
...
Since #1320 , subscription messages are treated as highlights in order to
allow customization. This caused subscription messages to highlight the
split(s) the message was received in. This is not intended behavior.
This commit fixes the issue by additionally checking if the
`Subscription` flag is set on a highlighted message.
2020-01-26 10:08:25 +01:00
pajlada
a078d116d2
Fix ping payload not breaking portable mode ( #1516 )
...
This payload was initialized before main was called, so before the
QApplication was initialized. This broke our portable checker
Fixes #1481
2020-01-25 14:33:38 +01:00
apa420
4b1202437b
Sort emotes alphabetically in emote picker ( #1499 )
2020-01-25 13:05:59 +01:00
Mm2PL
410de82261
Make a command that shows the Chatterino user card (/usercard) ( #1375 )
...
* Make UserInfoPopup be able to show that fetching the information failed.
2020-01-25 12:59:31 +01:00
Rasmus Karlsson
71337c4dbe
Add missing include in ColorPickerDialog.hpp for MSVC2017
2020-01-25 11:28:10 +01:00
Leon Richardt
5957551d06
Better Highlights ( #1320 )
...
* Support for user-defined sounds and colors
* Make color & sound columns selectable
* Add custom row for subscription highlights
* Add subscriptions to custom highlights and centrally manage highlight colors
* Dynamically update message highlight colors
2020-01-25 11:03:10 +01:00
Alexey Kutepov
00414eb779
Synchronize Clipboard with Primary Selection on Linux when copying ( #1502 )
...
* Introduce crossPlatformCopy()
It sets the text of the clipboard and also syncs it with the selection
clipboard if it is supported. Such behaviour is pretty common for X11
application on Unix-like Operating Systems.
* Fix clang-format remarks
* Fix weird clang-format config discrepancy between my machine and CI
* Remove clipboard argument from crossPlatformCopy
* Fix clang-format remarks
2020-01-24 21:36:51 +01:00
Marcin Moskal
809b63bb5e
Change CHATTERINO2_TWITCH_SERVER_PORT env default to 443 ( #1513 )
2020-01-24 21:30:35 +01:00
Rasmus Karlsson
81b79e14b5
Fix a crash in TwitchChannel::refreshCheerEmotes
...
If you closed down the split right after the refreshCheerEmotes call was
made, then refreshCheerEmotes used this after it was free'd
2020-01-12 10:06:01 +01:00
pajlada
265bab1ce6
Add the ability to tab through the emote menu ( #1483 )
...
Fixes #1478
2020-01-05 09:45:10 +01:00
DatGuy1
a6c91afde4
Remove support for CBenni's Logviewer ( #1458 )
2020-01-03 21:11:00 +01:00
Rasmus Karlsson
7f4b7564da
Fix a windows-only occurence of log()
2020-01-03 21:08:27 +01:00
pajlada
90296a2d85
Expect a PONG response to our PINGs ( #1476 )
...
If no PONG was received, force a reconnection
Fixes #1164
2020-01-03 20:55:13 +01:00
pajlada
3c8992cac1
Remove FMT dependency ( #1472 )
...
All occurrences of log() have been replaced with qDebug()
bonus meme: remove a bunch of std::string usages in the pubsub client
Fixes #1467
2020-01-03 20:51:37 +01:00
Mm2PL
6c0b53a996
Fix wrong QSrting::arg() being called by using two calls.
2020-01-03 15:31:39 +01:00
Mm2PL
a86367f4be
Fix issues pointed out in reviews :)
...
Fixed PR BabyRage
2020-01-03 14:43:05 +01:00
Mm2PL
86318590bf
Fix formatting.
2020-01-01 21:27:13 +01:00
Mm2PL
20d8da8f2d
Merge branch 'master' into git_is_pepega
2020-01-01 21:06:29 +01:00
Rasmus Karlsson
f02988b657
Correct "Emote Link" for BTTV Global and Channel emotes
2019-12-31 21:21:53 +01:00
fourtf
845c8fa638
2.1.7
2019-12-29 17:35:58 +01:00
Rasmus Karlsson
db860b5907
fix semi-deterministic bug with link parser
2019-12-29 16:42:20 +01:00
Rasmus Karlsson
25a2c04b02
Add lists of valid and invalid links
2019-12-29 15:46:29 +01:00
fourtf
17ff0b9d83
fixed case sensitivity in link matching
2019-12-29 15:45:19 +01:00
fourtf
e12f76387a
replaced link regex with object oriented assembly
2019-12-29 14:15:45 +01:00
fourtf
443aba3f9c
fixed tooltip deselect issue
2019-12-29 11:14:55 +01:00
fourtf
c5e8c5396f
oops
2019-12-26 23:41:31 +01:00
fourtf
b70806409d
workaround for white border
2019-12-26 23:23:59 +01:00
fourtf
4911c62764
2.1.6
2019-12-26 22:18:46 +01:00
fourtf
6111985b77
replaced link regex
2019-12-26 22:00:31 +01:00
apa420
be898e88dd
Add setting to stack bits ( #1452 )
2019-12-21 10:36:46 +01:00
pajlada
d5001b97f4
allow customizing twitch server parameters through environment variables ( #1449 )
2019-12-21 10:11:23 +01:00
apa420
0d227ab2f5
Various bits fixes ( #1443 )
...
We now make sure we don't render any fake bits
Bits now show their real value properly
2019-12-19 21:36:02 +01:00
Rasmus Karlsson
11442bba20
move titleRefreshPeriod out of the TwitchChannel class
...
this fixes a "use of uninitialized variable" error
2019-12-16 08:55:38 +01:00
SupDos
ba685b291f
Typo in Settings ( #1441 )
...
small one character typo
2019-12-15 15:58:58 +01:00
Mm2PL
62cf7cbea2
Remove unmod button for moderators ( #1439 )
...
Fixes #1419
2019-12-14 13:22:49 +01:00
Rasmus Karlsson
58e909067e
the EmotePopup now inherits from the BasePopup instead of BaseWindow
...
Fixes #1437
2019-12-14 12:58:15 +01:00
Rasmus Karlsson
55080bd354
Add a "BasePopup" class, which helps add default functionality to any popups (like the search popup)
2019-12-14 12:58:15 +01:00
Rasmus Karlsson
bb9eb582ec
replace the QStringList with a QSet<QString> as suggested by RAnders00
...
2d3fb8950e (r36317456)
2019-12-14 12:13:19 +01:00
Rasmus Karlsson
2d3fb8950e
hardcoded list of BTTV's christmas emotes
2019-12-05 20:10:56 -08:00
Rasmus Karlsson
bcc53c9aa7
Clean up Twitch badge appending code
2019-12-01 13:32:41 +01:00
apa420
c00f97ac53
Show exact months subscribed in Subscriber and Founder badge tooltip ( #1424 )
2019-12-01 02:20:56 -08:00
23rd
d99102cd23
Fixed closing tab with middle button when tab management is not allowed. ( #1426 )
2019-12-01 02:00:06 -08:00
Ian
e3d3f12425
Fixes C1001 compiler error on release builds with MSVC ( #1417 )
2019-11-16 02:58:13 -08:00
Rasmus Karlsson
d4474c4ed4
Fixes a bug where the insecure credential store could not save credentials.
...
Part of the fix for #1377
2019-11-02 14:05:59 +01:00
Rasmus Karlsson
0e1f1196d6
reformat
2019-11-02 12:36:42 +01:00
W Gomes
ce90253aac
Removed unused variables ( #1394 )
...
* Removed unused variables
Fixes compiler warning C4189: Local variable is initialized but not
referenced
* fixed typo
2019-10-29 21:15:06 +01:00
Felanbird
6f5c4cacf8
moved hardcoded global-badges to be more inline with browser chat ( #1392 )
2019-10-27 13:18:07 -07:00
Felanbird
0a8d50223d
switch badge tooltips from description to title ( #1384 )
2019-10-27 07:46:08 -07:00
Mm2PL
6c261459cf
Renamed TypedBytes to RawImageData, type to format.
...
FeelsGoodMan Clap
2019-10-22 17:21:46 +02:00
Mm2PL
736df48788
Smol fix.
2019-10-22 16:04:36 +02:00
apa420
a12bd3df18
Now show joined setting doesn't also show parted and parted shows parted ( #1376 )
2019-10-20 20:11:12 +02:00
Mm2PL
e005fe806a
Comment stuff
...
This includes:
- Adding two comments
- Fixing one spelling mistake.
2019-10-19 11:41:23 +02:00
CommName
dc1e4d2544
Show the title when offline ( #1347 )
...
* Channel text for offline chats
* Title refresh timer
* Fixed typo
* Refresh title when room id is loaded
* removed timer
* Typo
* Loaded on demand when hovered over
* removed the extra api request
* Moved refreshTitle function call
* Added thottling for 10s
* Fixed formating style
* reformat
* make status fetcher safer
* Requested changes from fourtf
2019-10-12 15:09:12 +02:00
fourtf
8153aa7d40
fixed #1362 rightclick on empty split crash
2019-10-12 11:17:40 +02:00
Mm2PL
77af5d54cf
Change more things.
...
Things changed:
- make getImageFileFormat case insensitive
- use QTextEdit::dragEnterEvent instead of QAbstractScrollArea::dragEnterEvent,
- Make dragEnterEvent() and dropEvent() overrides.
2019-10-11 17:00:26 +02:00
Mm2PL
bf434f3ac5
Fix the stupid things.
...
This includes:
- NuulsUploader.cpp
- changing upload delay to a #define
- moving png conversion code to `boost::optional<QByteArray> convertToPng(QImage image)`
- in uploadImageToNuuls: moving content type definition to a variable, move things around a bit to eliminate an if
- in upload: adding a comment about `source->hasUrls()` and `source->urls()`, change `uploadQueue.size()` to `!uploadQueue.empty()`
- ResizingTextEdit.cpp
- changing #include order
2019-10-11 15:41:33 +02:00
fourtf
6f710823ed
renamed getInstance() -> instance() for singletons
2019-10-07 22:42:34 +02:00
fourtf
aeab038bc8
removed get
function prefix in Version
2019-10-07 22:32:11 +02:00
fourtf
ec2a2f30b7
fixed windows compilation
2019-10-07 22:29:35 +02:00
fourtf
bc55a05480
clears cache files > 14 days 1 min after start
2019-10-07 22:14:00 +02:00
fourtf
a894753596
renamed isVIP -> isVip
2019-10-07 20:31:34 +02:00
fourtf
f25e52b218
attach extension to opera/vivaldi or all windows
2019-10-07 20:23:28 +02:00
fourtf
2fc799f85a
run destructor of Frames in gui thread
2019-10-07 20:03:15 +02:00
fourtf
0ada53a3c1
tell user they might downgrade in update popup
2019-10-07 19:53:46 +02:00
fourtf
594c0fb255
print version on --version switch
2019-10-07 18:57:33 +02:00
fourtf
05bcf22af4
clear search field when reopening settings
2019-10-07 17:30:47 +02:00
fourtf
b1cbf09427
removed appbase directory
2019-10-07 15:46:41 +02:00
fourtf
9f52564b9c
fixes tab and split header title text size
2019-10-06 21:31:59 +02:00
fourtf
4ab8a7e9dd
Fixes #1312 pixelated scaling on kde
2019-10-06 20:31:29 +02:00
Cranken
f89ca517ce
Fix first line of emotes in emote picker window being shifted.
2019-10-06 17:29:18 +02:00
fourtf
c6e1a1de2e
Revert "changed default port from 443 to 6697"
...
It doens't appear to be the issue that builds aren't working
This reverts commit 56b7a3616f
.
2019-10-05 19:42:46 +02:00
fourtf
56b7a3616f
changed default port from 443 to 6697
2019-10-05 19:29:19 +02:00
fourtf
16b2b2458c
Fixes #1331 emote picker out of bounds
2019-10-05 18:17:29 +02:00
Cranken
252e2e8bae
Fix tooltips in chat not showing on ctrl hover.
2019-10-05 17:36:03 +02:00
fourtf
b64e2e9b70
Revert "Revert "added error message if settings initalizion failed""
...
This reverts commit f3ff40385d
.
2019-10-05 16:40:04 +02:00
fourtf
50a68e380c
Revert "test #7 "
...
This reverts commit 645272718e
.
2019-10-05 16:13:15 +02:00
fourtf
96a6d94699
Revert "Test #6 "
...
This reverts commit 533516a9ed
.
2019-10-05 16:13:11 +02:00
fourtf
645272718e
test #7
2019-10-05 15:12:02 +02:00
fourtf
533516a9ed
Test #6
2019-10-05 14:40:42 +02:00
Rasmus Karlsson
3a8f91d6f6
Change default port from 6697 to 443
2019-10-04 13:06:15 +02:00
pajlada
2284b713c1
Merge pull request #1353 from leon-richardt/comma-mention-fix
...
Fix Bug Regarding Mentions with Comma
2019-10-04 04:01:37 -07:00
fourtf
c46a65d173
Revert "disabled updates as a test"
...
This reverts commit f8c4ac8c17
.
2019-10-03 22:18:03 +02:00
fourtf
245001c2f0
Revert "test #2 "
...
This reverts commit 30587e18c9
.
2019-10-03 22:18:01 +02:00
fourtf
44551b4009
Revert "test #3 "
...
This reverts commit 08004b9181
.
2019-10-03 22:17:59 +02:00
fourtf
9d1213ecad
Revert "test #4 "
...
This reverts commit a08ca1333f
.
2019-10-03 22:17:57 +02:00
fourtf
34749c9d3d
Revert "test #5 "
...
This reverts commit 5aff7b0b40
.
2019-10-03 22:17:54 +02:00
fourtf
f3ff40385d
Revert "added error message if settings initalizion failed"
...
This reverts commit 2b9b96abb5
.
2019-10-03 22:12:22 +02:00
fourtf
5aff7b0b40
test #5
2019-10-03 21:52:10 +02:00
fourtf
a08ca1333f
test #4
2019-10-03 21:40:59 +02:00
fourtf
08004b9181
test #3
2019-10-03 21:29:18 +02:00
fourtf
30587e18c9
test #2
2019-10-03 20:36:22 +02:00
fourtf
f8c4ac8c17
disabled updates as a test
2019-10-03 20:09:58 +02:00
fourtf
2b9b96abb5
added error message if settings initalizion failed
2019-10-03 18:05:56 +02:00
fourtf
7fa2c7b4a5
init irc and restart on crash is false by default
2019-10-03 17:37:09 +02:00
Leon Richardt
d6bcd61289
Fix bug regarding mentions with comma
...
While tab-completing user names already respected the setting for
mentions with commas, right-clicking user names did not.
This commit adds the missing check in ChannelView::handleMouseClick.
2019-10-03 15:30:51 +02:00
fourtf
375aa221eb
messed up the operator
2019-10-03 10:13:49 +02:00
fourtf
033c97e85d
disabled hash<QString> for Qt 5.14
2019-10-03 10:07:14 +02:00
fourtf
e31371fdf5
Fixes #1344 Copying user id adds "ID: "
2019-10-01 22:38:21 +02:00
TranRed
1d306c1dd9
Revert "broke everything (revert if needed)"
...
This reverts commit f9d50954d9
.
2019-09-27 14:05:03 +02:00
TranRed
f9d50954d9
broke everything (revert if needed)
2019-09-27 13:51:12 +02:00
Mm2PL
970503b755
Apply last suggestion and fix mistake not letting the user upload an
...
image after attempting to upload a file that is not an image.
2019-09-26 14:42:30 +02:00
Mm2PL
205122ee68
Avoid copying a QUrl in upload() when pasting files from the filesystem.
2019-09-26 14:24:41 +02:00
fourtf
9874bd779a
formatted all files with clang 9
2019-09-26 00:51:05 +02:00
fourtf
e47a043a27
updated .clang-format for clang 9
2019-09-26 00:15:07 +02:00
fourtf
848d5c8789
Fixes #1336 Pause on hover breaks moves selection
2019-09-25 23:49:30 +02:00
Mm2PL
b55d08df8e
Renamed the pastedImage signal to imagePasted.
2019-09-25 22:39:02 +02:00
Mm2PL
4e9951371f
Applied a bit of foutf's suggestions. Replace uploadQueue.size() with .empty() and swap if/else bodies, move non empty queue check outside of the timer on line 60, move getImageFileFormat to an anonymous namespace, rename pasteFromClipoard to upload(), removed usesless comment, shortened message on line 83, use QMimeData.hasUrls() and QMimeData.urls(), moved GIF format case in upload() more to the top, call original functions in canInsertFromMimeData and dragEnterEvent which are overriden
2019-09-25 22:21:26 +02:00
Mm2PL
298c013fa0
Rename Env::imagePasteSiteUrl
to Env::imageUploaderUrl
.
2019-09-25 12:51:17 +02:00
Mm2PL
1a77df1674
Delete overloads for uploadImageToNuuls()
. Use TypedBytes in the main
...
definition. Use QHttpMultiPart instead of manually creating the
request.
2019-09-24 18:28:28 +02:00
Mm2PL
e0eb4e5a6d
I'm Pepega too. Added two missing files.
2019-09-24 16:08:12 +02:00
Mm2PL
65fab779c5
Redo all changes done before breaking the branch.
2019-09-23 19:36:52 +02:00
fourtf
367b1970fd
use C_DEBUG instead of QT_DEBUG
2019-09-22 18:09:11 +02:00
fourtf
ca0db97d09
ammend 2.1.5 added setting for experimental irc support
2019-09-22 17:12:09 +02:00
fourtf
2c25c8a5f5
2.1.5
2019-09-22 16:59:51 +02:00
fourtf
fc049d8f45
disabled irc and fixed notice messages in write conn not showing
2019-09-22 16:16:08 +02:00
fourtf
f27c8eb1b4
fixed crash restart conditions
2019-09-22 16:14:16 +02:00
fourtf
431d35e528
added setting to restart on SIGSEGV
2019-09-22 15:32:36 +02:00
fourtf
7e555843ca
added class containing program arguments
2019-09-22 15:30:04 +02:00
fourtf
456065f508
moved resources out of Application
2019-09-22 10:54:32 +02:00
fourtf
da4714944d
small fixes in Image
2019-09-22 10:54:32 +02:00
pajlada
038fdd5446
Merge pull request #1326 from CommName/MentionsFix
...
[Bug fix] Highlights in /mentions
2019-09-22 10:43:13 +02:00
pajlada
1256a7b631
Fix formatting
2019-09-22 10:42:22 +02:00
CommName
5078ecbef1
Highlight bug fix
2019-09-21 22:19:03 +02:00
Leon Richardt
19b2102fed
Fix Version::dateOfBuild_ on Windows
...
The `CHATTERINO_NIGHTLY_VERSION_STRING` defines differ on Windows and
MacOS/Linux. (See `appveyor.yml` and `travis.yml`, respectively.)
Therefore, the Windows version string looked really messed up but it
should be fixed now.
2019-09-21 20:44:49 +02:00
Rasmus Karlsson
5871414e6b
Possibly fixed PubSub over 50 listens
...
Keep an eye out on #1189
2019-09-21 12:46:10 +02:00
Rasmus Karlsson
137d7910c0
move more handlers from write to read
2019-09-21 11:57:09 +02:00
Rasmus Karlsson
d94be74007
handle clearchat in read connection
2019-09-21 11:54:30 +02:00
Rasmus Karlsson
88da9501f7
handle ROOMSTATE in read connection too
...
this fixes the "recent messages not loading" issue
2019-09-21 11:45:55 +02:00
Rasmus Karlsson
8312d4b112
Fix USERSTATE not being handled unless you write in a channel.
...
This commit might re-enable some duplicate messages like host requests
and what-not.
2019-09-21 11:38:08 +02:00
pajlada
452b65b4dd
Merge pull request #1315 from leon-richardt/commit-hash-settings
...
Add Version Information to "About" Page
2019-09-21 10:10:04 +02:00
Leon Richardt
baf52d7563
Add version information to "About" page
2019-09-19 23:31:04 +02:00
Leon Richardt
ddcce73111
Use Version singleton to set window title
2019-09-19 23:30:18 +02:00
Leon Richardt
9c59efb985
Provide singleton class for version information
2019-09-19 23:30:18 +02:00
fourtf
758a6bb41c
NetworkRequest onError now uses NetworkResult
2019-09-19 19:03:50 +02:00
fourtf
986694e4bc
added multipart support to NetworkRequest
2019-09-19 18:26:38 +02:00
fourtf
ce53653ecd
remoed nullableptr
2019-09-19 12:19:50 +02:00
fourtf
88d8bf7cec
renamed members in Helpers.cpp
2019-09-18 16:32:07 +02:00
fourtf
5ca0fc0c8f
Merge branch 'master' into moderation
2019-09-18 16:14:45 +02:00
fourtf
277bd5b179
maybe??
2019-09-18 16:01:41 +02:00
fourtf
4d99d2dade
maybe?
2019-09-18 15:30:17 +02:00
fourtf
4bb0b79348
fix compilation on macos maybe
2019-09-18 15:12:23 +02:00
fourtf
99f99f0cff
smol fixes
2019-09-18 14:20:21 +02:00
fourtf
3ab7362304
Merge branch 'master' into irc-support
2019-09-18 13:03:16 +02:00
fourtf
997a0598cd
changed tab title to "Irc (beta)"
2019-09-18 11:16:07 +02:00
fourtf
07133166d9
added setting to show unhandled irc commands
2019-09-18 11:11:50 +02:00
fourtf
765a75f158
added irc commands
2019-09-18 10:59:28 +02:00
fourtf
27d6cf2bfd
reconnect for irc + show errors + nickRequired
2019-09-18 08:05:51 +02:00
fourtf
96dac0fd3d
moved chatters to ChannelChatters
2019-09-17 12:11:11 +02:00
fourtf
6298b74884
fixed compilation on non-msvc
2019-09-16 21:08:14 +02:00
fourtf
13c9aabf29
show all irc messages for debugging
2019-09-16 18:01:32 +02:00
fourtf
cadff4c430
Fixes #1259 highlight not added when changing channel
2019-09-16 11:54:34 +02:00
fourtf
89fd3bfce9
hide tooltip on split::leaveEvent
2019-09-16 11:48:17 +02:00
fourtf
40c1857c90
added additional dropdown for moderation mode
2019-09-16 11:44:03 +02:00
fourtf
3a9f9fa17b
added setting for pause on hover length
2019-09-16 11:36:19 +02:00
fourtf
602a66f5bc
Fixes #963 Highlights move while paused
2019-09-16 10:55:54 +02:00
fourtf
fd8987cf1b
fixed typo
2019-09-16 10:44:05 +02:00
fourtf
63126899ec
added pause while key is down
2019-09-16 10:43:20 +02:00
fourtf
b06918eb47
2.1.4
2019-09-15 19:32:31 +02:00
fourtf
84b1efcd24
fixes #1304 emote.name eating the .name
2019-09-15 19:05:04 +02:00
fourtf
04f8875c4d
fixes #1303 now searches using search text instead of message text
2019-09-15 18:29:50 +02:00
fourtf
0cb918b96a
fixed spaces in the wrong place
2019-09-15 17:01:18 +02:00
fourtf
b1bf60f286
added a critical detail
2019-09-15 16:56:44 +02:00
fourtf
7cbbd72e7f
disable updates on windows nightlies
2019-09-15 15:45:04 +02:00
fourtf
a390649d0f
added sasl auth
2019-09-15 13:15:29 +02:00
fourtf
22ca20ad2a
renamed TwitchServer -> TwitchIrcServer
2019-09-15 13:02:02 +02:00
fourtf
c3b65b4db0
select the right server in the dialog
2019-09-15 11:42:22 +02:00
fourtf
67ffb0e34b
irc default now uses ssl
2019-09-15 11:36:59 +02:00
fourtf
2a56cef848
added irc authentificate type
2019-09-15 11:35:17 +02:00
fourtf
d451b31cee
fixed loading cached files twice
2019-09-14 23:23:09 +02:00
fourtf
9bbc4f8a5e
queue for erase/set credentials
2019-09-14 22:58:53 +02:00
fourtf
13d1fab303
credentials are now loaded when needed
2019-09-14 20:45:01 +02:00
fourtf
d33a8b1b3a
now loads passwords for irc
2019-09-14 18:38:09 +02:00
fourtf
b45a6eea22
fixed missing include
2019-09-14 15:50:05 +02:00
fourtf
7c6f744e73
added insecure credential store
2019-09-13 19:26:52 +02:00
fourtf
eadf5355ee
renamed IrcConnection_ to IrcServerData
2019-09-11 13:51:48 +02:00
fourtf
158564d0c2
disabled twitch dropdown items for irc chats
2019-09-11 13:34:59 +02:00
fourtf
b20fdc0da6
smol irc fixes
2019-09-11 13:17:36 +02:00
fourtf
2f39f4246c
fixed warning + added more checks to SignalVectorModel
2019-09-11 13:12:08 +02:00
fourtf
2a8c5e654f
saving irc splits now
2019-09-11 00:10:49 +02:00
fourtf
c4d0efacff
added loading and saving of irc servers
2019-09-10 23:55:43 +02:00
fourtf
fe67bda136
moved .clang-format into src directory so submodules don't get formatted
2019-09-10 17:00:23 +02:00
fourtf
82f63d2f7e
added send and receive for irc messages
2019-09-10 14:46:43 +02:00
fourtf
25f75f7580
added Credential class
2019-09-09 22:27:46 +02:00
fourtf
5974438edf
added irc tab in SelectChannelView
2019-09-09 22:26:56 +02:00
fourtf
fd0c11964e
added new function and classes for irc support
2019-09-09 22:26:14 +02:00
fourtf
9f1a5b900e
fixed single connection code and deleting abstractircserver
2019-09-09 22:22:47 +02:00
fourtf
8241ce7097
added qtkeychain dependency
2019-09-09 22:18:56 +02:00
Leon Richardt
720e5aa25f
Improvements to Message Search ( #1237 )
...
* Ran clang-format
* Implement user-specific search in message history
This functionality was originally requested in #1236 .
This commit changes the SearchPopup::performSearch method so that only
messages from specific users can be shown.
In order to filter for a specific user, enter their username with a
leading '@' in the search popup. You can also add an additional search
phrase which will also be considered in the search.
* Naive implementation for "from:" tags
Rebase later?
* Cleverer (?) version using Predicates
Commit adds two POC predicates: one for the author of messages, and one
for substring search in messages.
Problems/TODOs:
* Best way to register new predicates?
* Clean up tags (e.g. "from:") or not?
* Test combinations of different predicates
* Add a predicate to check for links in messages
* Remove a dumb TODO
* Rewrite SearchPopup::performSearch to be cleaner
* Ran clang-format on all files
* Remove TODO I missed earlier
* Forgot to run clang-format
peepoSadDank
* Re-use {}-initialization
Was accidentally removed when fixing earlier merge conflict.
* Does this fix line endings?
No diffs are shown locally, hopefully Git doesn't lie to me.
* Rename "predicates" directory to "search"
Resolving one conversation in the review of #1237 .
* Use LinkParser in LinkPredicate
Resolving a conversation in the review of #1237 .
* Predicates: Use unique_ptr instead of shared_ptr
Resolves a conversation in the review of #1237 .
* Refactor of SearchPopup and AuthorPredicate
Resolving some points from the review in #1237 .
* Moved parsing of comma-seperated values into AuthorPredicate
constructor.
* Rewrite SearchPopup::parsePredicates as suggested.
* Deleted now redundant methods in SearchPopup.
* MessagePredicate::appliesTo now takes a Message&
... instead of a MessagePtr.
This resolves a conversation in the review of #1237 .
* Run clang-format on two files I missed
* AuthorPredicate: Check for displayName & loginName
Resolving conversation on #1237 .
2019-09-09 15:21:49 +02:00
Leon Richardt
b6f632701f
Fix merge conflicts
2019-09-08 22:58:17 +02:00
Leon Richardt
b06eb9df83
Normalize line endings in already existing files
2019-09-08 22:27:57 +02:00
fourtf
e1a9a437f1
fixed pingsound not playing sometimes
2019-09-08 21:57:14 +02:00
fourtf
4f356f80cf
BaseWindow smol refactor
2019-09-08 21:45:46 +02:00
fourtf
3158ed4085
fixed user popup size issues
2019-09-08 20:05:40 +02:00
fourtf
343cd3970a
bump version
2019-09-08 18:46:57 +02:00
fourtf
cf23838099
added irc support
2019-09-08 18:06:43 +02:00
fourtf
9f1eb654fd
Merge branch 'master' into apa-bits
2019-09-08 18:02:58 +02:00
apa420
0c6a26d897
IFDEF QT_DEBUG
2019-09-08 17:40:30 +00:00
apa420
ffc483049c
Pepega
2019-09-08 17:36:26 +00:00
apa420
0eb633cfa0
Removed some examples
2019-09-08 17:31:00 +00:00
apa420
3f411805b7
Forgot to add file
2019-09-08 17:27:04 +00:00
apa420
289811dc7d
Moved example cheers to new file
2019-09-08 17:25:42 +00:00
apa420
5c602fea94
Resolved review
2019-09-08 16:01:38 +00:00
fourtf
c6a05f289d
removed useless table column in user highlights
2019-09-08 15:10:10 +02:00
fourtf
87c0ff76e7
added setting to open links in incognito by default
2019-09-08 14:59:51 +02:00
Rasmus Karlsson
94048595f6
Split parseChannelResponse into two functions: parseModBadge and
...
parseChannelEmotes
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
862164bc2b
make ffz custom mod badge atomic
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
2cd07435bd
Remove more unused includes
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
57ba829775
Remove previously added includes to Image
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
dbce128cc3
Remove "custom on success" logic from Image.
...
Create a new message element and message layout element type for mod badges.
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
256a65a12e
Load mod badge information from the FFZ API instead of assuming the URL.
...
This lets us load all sizes of the emote if they are available.
Channel with all versions of the mod badge: https://api.frankerfacez.com/v1/room/pajlada
Channel with only one version of the mod badge: https://api.frankerfacez.com/v1/room/apa420
Channel with no mod badge: https://api.frankerfacez.com/v1/room/forsen
2019-09-08 14:08:18 +02:00
apa420
c08eaa4640
Higher cheer tiers now show and added tests
2019-09-08 13:40:11 +02:00
apa420
cd64b5eff5
Removed old tests
2019-09-08 12:47:36 +02:00
apa420
48fcc1a1a1
Fixed cheers not showing up in chat Fixes #1031
2019-09-08 12:45:25 +02:00
fourtf
4ec10e720c
adjusted size of user switch popup
2019-09-08 12:43:12 +02:00
fourtf
b14154a811
Fixes #996 can't ctrl+c in search popup
2019-09-08 12:31:27 +02:00
TranRed
21f65b716d
Merge branch 'Ch2Usercard' of https://github.com/TranRed/chatterino2 into Ch2Usercard
2019-09-08 12:05:46 +02:00