Commit graph

1816 commits

Author SHA1 Message Date
fourtf b14154a811 Fixes #996 can't ctrl+c in search popup 2019-09-08 12:31:27 +02:00
pajlada dd996d1b8a
Merge pull request #1281 from Chatterino/logsGtSearch
Allow searching in LogsPopup
2019-09-08 10:59:13 +02:00
Leon Richardt a62b7ac094 Add setting for case-sensitivity in highlights 2019-09-07 19:01:52 +02:00
fourtf a268abfd4c Allow searching in LogsPopup 2019-09-04 00:29:58 +02:00
fourtf 9ee286f60f Fixes #1279 bttv global V3 2019-09-03 23:32:22 +02:00
fourtf 69aa5db2be changed version format 2019-09-03 19:54:17 +02:00
fourtf 3e85a29ab6 2.1.4 Beta 1 2019-09-03 19:19:57 +02:00
Rasmus Karlsson f94b44188d Use BTTV V3 API
Fixes #1275
2019-09-03 15:09:49 +02:00
fourtf 1c0ed6b1aa slightly changed layout for logs and cache 2019-09-03 13:09:33 +02:00
fourtf 577e2e0a21 moved cache into general page 2019-09-03 12:46:22 +02:00
fourtf 299cc84e04 fixed compilation 2019-09-03 12:02:58 +02:00
fourtf 6aa6e084af removed unused settings pages 2019-09-03 11:49:44 +02:00
fourtf ac26bd8d2d fixed "open appdata button" always showing 2019-09-03 11:38:15 +02:00
fourtf ab816e18bd Merge branch 'search-settings' 2019-09-03 11:28:10 +02:00
fourtf 3ab40b280b fixed some margins 2019-09-03 11:24:40 +02:00
fourtf f7ee778af6 some style changes to settings 2019-09-03 11:15:38 +02:00
fourtf 0ada2e51c6 fixed spacing 2019-09-02 19:14:19 +02:00
fourtf eaaa52260e smol fixes 2019-09-02 19:00:17 +02:00
fourtf 125426dbf1 added header for search 2019-09-02 18:59:37 +02:00
fourtf 234cdb041b sort paths in Resources to eliminate merge conflicts 2019-09-02 18:53:08 +02:00
fourtf 661a36c2e4 prefere user selected tab in settings search 2019-09-02 17:22:14 +02:00
fourtf a6fd6300c9 hide duplicate spaces in settings tab list 2019-09-02 17:21:17 +02:00
fourtf b0459ba646 add basic hiding of SettingsTabs 2019-09-02 16:39:21 +02:00
fourtf 0e62192732 post update 2019-09-02 14:01:43 +02:00
fourtf dc1c7cb419 2.1.3 2019-09-02 12:29:18 +02:00
fourtf e1e953272b moved some settings around 2019-09-02 10:55:17 +02:00
fourtf 42581598e1 added "beta update" settings 2019-09-02 10:55:17 +02:00
fourtf 54c26d2228 fixed width when searching 2019-09-02 09:44:25 +02:00
fourtf 0b49f696ce added filtering to general page and greying out some items to the other
pages
2019-09-01 23:23:20 +02:00
fourtf ae20acb7ea renamed AccountSwitchPopupWidget -> AccountSwitchPopup
This has been triggering me forever
2019-09-01 14:13:44 +02:00
fourtf 19960b5d8f Fixes #1261 size on startup 2019-09-01 14:06:30 +02:00
fourtf 5c0f81defd Fixed stuff in user popup 2019-09-01 13:06:56 +02:00
Mm2PL b441e3e159 Add copy button for user ids 2019-09-01 11:06:07 +02:00
Mm2PL 6732aab323 Add user IDs to user cards (#1247)
* Add user ids to user cards and a setting to the misc section of the settings

* Fix letter casing

* Forgot to run clang-format, now it's fixed

* Fix crash in UserInfoPopup::updateUserData()

* Removed setting as per Apa420's and fourtf's advice

* Removed remnants of the setting
2019-08-31 17:58:28 +02:00
Rasmus Karlsson a878ca8062 Remove unused lambda capture to fix warnings 2019-08-31 17:45:13 +02:00
Rasmus Karlsson 7ff567d584 rename "messageReceived" to "readConnectionMessageReceived" to match the "readConnected/writeConnected" and "writeConnectionMessageReceived" functions 2019-08-31 17:44:41 +02:00
Rasmus Karlsson 829c63be51 Change in which "message received" handler IRC commands are handled after the change in CAP REQs.
Fixes #1252
2019-08-31 17:41:49 +02:00
fourtf 671c9ed654 fixed commands like /mods not working 2019-08-27 20:45:42 +02:00
Mm2PL 7aa2bf4fec Fix build and rename variables to be camelCase 2019-08-27 20:10:30 +02:00
Mm2PL 1c242a51dd Create a copy icon. Change the copy button text to be an icon 2019-08-27 20:10:30 +02:00
Mm2PL f2f5ae9c93 Add a copy button near the username in usercards 2019-08-27 20:10:30 +02:00
apa420 a624d14a4f Fetch FFZ channel emotes with channel id instead of name 2019-08-27 20:08:17 +02:00
fourtf 450f3bc492 removed useless const 2019-08-27 20:08:17 +02:00
apa420 677017a8bd Now shows connect and reconnect messages 2019-08-27 19:54:37 +02:00
fourtf 2d64d79c17 enabled commit titles 2019-08-27 10:19:39 +02:00
fourtf 7b43f0a30a 2.1.2 2019-08-26 23:04:55 +02:00
fourtf 810acbcfcc fixed window frame for minimized and maximized windows on startup 2019-08-26 22:32:17 +02:00
fourtf a831c1d5d8 enabled commit number again 2019-08-26 17:45:58 +02:00
fourtf 377a30fd9e 2.1.1 2019-08-26 17:16:22 +02:00
fourtf f949605477 added descriptions to collection settings 2019-08-26 14:36:06 +02:00
fourtf e7b4527a0f added regex help link 2019-08-26 14:07:21 +02:00
fourtf a64e5b2834 made follow mode text shorter 2019-08-26 13:48:07 +02:00
fourtf 238d213072 punctuation changes 2019-08-26 13:29:04 +02:00
fourtf a6ab9be8d6 fixed double : in general settings 2019-08-26 13:22:44 +02:00
fourtf e095db87bc changed screen out of bounds detection from contains() to intersects() 2019-08-26 13:18:40 +02:00
fourtf 20e978ad85 changed up settings 2019-08-26 13:18:23 +02:00
fourtf cced199eaf added button to import commands from chatterino 1 2019-08-26 11:46:52 +02:00
fourtf ea28269951 attempt to fix the tabs that sometimes get added 2019-08-26 11:26:58 +02:00
fourtf 748920e8fd fixed shift+(home/end) 2019-08-26 11:11:02 +02:00
fourtf 77aec1d3eb improved description of double click link setting 2019-08-26 10:58:47 +02:00
fourtf 6cb82307e6 switched std::optional to boost::optional 2019-08-25 22:58:19 +02:00
fourtf 84c7c40e86 added some flush() calls just to be sure 2019-08-25 21:26:14 +02:00
fourtf 38bceba5ec improved browser extension 2019-08-25 21:25:31 +02:00
fourtf 68a96e3be8 added prompt to move windows into bounds 2019-08-25 21:24:43 +02:00
Mm2PL 1a25c5afe8 Add a switch for follower only mode (#1241)
* Add a switch follower only mode

* Format the code
2019-08-25 19:08:04 +02:00
pajlada def839bef9
Merge pull request #1232 from Chatterino/pajlada-manually-send-req
manually send req, this ensures we send it before JOIN
2019-08-23 22:37:52 +02:00
fourtf 0577692c99 Updated chatterino badges api 2019-08-23 16:52:44 +02:00
Rasmus Karlsson ab0d70300c manually send req, this ensures we send it before JOIN
Fixes #1229
2019-08-22 22:04:26 +02:00
apa420 0c6760d0ca Fixes the remove button '''crash''' #1226 2019-08-22 16:34:26 +02:00
fourtf d709b98331 switched order in loaded image selection 2019-08-21 02:21:12 +02:00
fourtf e140905faf ? 2019-08-21 02:16:33 +02:00
fourtf 978d5aa1c1 Special message when login expired. 2019-08-21 02:14:01 +02:00
fourtf 3b3791e43a Special message when login expired. 2019-08-21 02:00:42 +02:00
fourtf 6d9545157e Fixes #1215 Allow previewing badges 2019-08-21 01:52:01 +02:00
fourtf dbc20baa65 fixed emote preview not using 3x images 2019-08-21 01:44:19 +02:00
fourtf 67aadfe61f Fixes #1218 Usercard link from search popup 2019-08-21 01:19:41 +02:00
fourtf b513caf572 added settings to mention users with , 2019-08-21 01:08:15 +02:00
fourtf b84c3ac3be Fixes #1220 Added setting do disable timeout stacking 2019-08-21 00:41:48 +02:00
fourtf f3e48c1325 smoll changes 2019-08-21 00:07:59 +02:00
fourtf d98318e1cc fixed compilation on linux 2019-08-20 23:54:45 +02:00
fourtf 7643c0d20d fixed deleting QTimer on wrong thread 2019-08-20 23:46:27 +02:00
fourtf 14222f84f2 made caller/concurrent rules tighter 2019-08-20 23:46:27 +02:00
fourtf 7d842e6cf7 Writing cache files async 2019-08-20 22:16:17 +02:00
fourtf d6627b531e removed old NetworkRequest api 2019-08-20 22:16:17 +02:00
fourtf 7697ec01b4 removed old NetworkRequest api 2019-08-20 22:16:17 +02:00
fourtf a7cd1fbf97 removed unused files 2019-08-20 22:16:17 +02:00
fourtf 4713862620 load cache files async 2019-08-20 22:16:17 +02:00
fourtf 0b8e0ff7cf deprecated old NetworkRequest api 2019-08-20 22:16:17 +02:00
fourtf 98053fdadf deprecated old NetworkRequest api 2019-08-20 22:16:17 +02:00
fourtf 4f6c1a8519 added NetworkRequest builder functions 2019-08-20 22:16:17 +02:00
Rasmus Karlsson d3224e7a4e Fix linux/macos compilation 2019-08-20 09:08:25 +02:00
fourtf 1b0102c948 Added fullscreen support to browser extension 2019-08-20 03:13:42 +02:00
fourtf e07d11e9a3 enabled browser extension 2019-08-19 23:15:24 +02:00
fourtf 9a7bb973b5 Re-enabled nightly title with commit hash 2019-08-19 00:27:13 +02:00
pajlada c45657da82
Merge pull request #1209 from leon-richardt/emote-autocompletion-fix
Fix Emote Completion Bug
2019-08-19 00:12:43 +02:00
fourtf 0a81a358b5 fixed manual updates for portable mode on windows 2019-08-18 23:51:10 +02:00
Leon Richardt f2b2e3142f Implement simpler fix for emote completion bug
This commit implements a simpler fix for the problem described in #1209.
The setting's signal is connected to a reset of `completionInProgress_`
so that the completion model is updated on the next word already.

This commit also removes the older approach tackling this issue.
2019-08-18 21:37:20 +02:00
fourtf 23f1dd4646 update 2.1.0 2019-08-18 21:21:48 +02:00
Leon Richardt 23a5f0bfb2 Remove unused method declaration 2019-08-17 22:10:27 +02:00
Leon Richardt be5318f275 Fix emote completion bug
This commit fixes a bug that would occur when changing the completion
mode from prefix-only to substring while mid-completion.
In that case, the suggestion list was not updated until the next
completion attempt.

This is fixed by forcing a suggestion list refresh whenever the
setting's checkbox is updated.
2019-08-17 21:31:31 +02:00
Leon Richardt 58d892a8c2 Make Emote Tab Completion Search for Substrings (#1204)
* Make emote tab completion search for substrings

Previously, tab completion only searched for emotes that start
with the current prefix under the cursor. This commit makes tab
completion look for the current prefix as a substring in any position,
not just the start.

Examples:
    * In forsen's channel, tabbing on "pls" will cycle through "DonaldPls", "forsenPls",
    "GachiPls", "nyanPls" and "SourPls".

    * As a forsen subscriber, tabbing on "sen1" will complete to "forsen1".

    * As a pajlada subscriber, tabbing on "shrug" will cycle through
    "pajaShrugL" and "pajaShrugR". (Unless you are in a channel with
    more "shrug" emotes, of course.)

* Add a setting for prefix and substring completion

This commit adds a setting under the "Miscellaneous" section to allow
user to choose whether they want prefix-only or substring emote
completion.

The QCompleter filter mode and `addString` function are now chosen
according to the user's setting.

* Improve description of emote completion setting

Also reintroduce a blank line that went missing.
2019-08-17 17:17:38 +02:00
pajlada 3dcbe89e28
Merge pull request #1208 from leon-richardt/fix-account-popup
Fix "Manage Accounts" button
2019-08-17 11:05:09 +02:00
Leon Richardt 4a1712f9a2 Fix "Manage Accounts" button
This commit fixes the unresponsiveness of the "Manage Account" button
(described in #1188).

Apparently, focus was lost when pressing down the mouse button. This is
circumvented by setting the focus policy of the button to `Qt::NoFocus`.
The button then works as expected and opens the "Account" page in the
preferences.
2019-08-17 01:35:24 +02:00
23rd f9e9ed8ed0 Improved stream header creation. 2019-08-16 23:40:30 +03:00
fourtf bdb82b6818 fixed crash related to concurrent network request 2019-08-15 20:39:35 +02:00
Mateusz Ż eb38b53c04 Fix Settings UI inconsistencies (#1202)
* Move "About" tab in Settings

* Resize Settings window

This prevents from spawning horizontal scroll (which is caused by too long line
in "Attributions" group)

* Fix "show license" link width

If you clicked empty space next to link application assumed you clicked link.
I fixed that by using QLabels instead of SignalLabel (there's something "wrong"
with them, but I couldn't find what)
2019-08-14 20:03:42 +02:00
fourtf 4679fd6753 gcc Pepega 2019-08-13 18:48:22 +02:00
fourtf 7bf5a79f8a Delete emote popup when it is closed. 2019-08-13 16:39:22 +02:00
fourtf 18f3a816ed re-enabled loading recent messages concurrently
@pajlada please check if the code can stay commented out
2019-08-13 15:03:33 +02:00
fourtf 6274c05520 Fixed always loading 1x, 2x and 3x images 2019-08-13 13:51:27 +02:00
fourtf 294c2aecdc disabled concurrent loading of recent messages
it caused some twitch emotes to load improperly
2019-08-13 13:12:09 +02:00
fourtf 96532be765 removed unused function 2019-08-13 13:02:11 +02:00
fourtf 23f1ec9ac2 Fixed using non existant 2x and 3x versions of ffz emotes and badges 2019-08-13 13:00:16 +02:00
Rasmus Karlsson e56c90c33d fix crash in name-colorizer 2019-08-11 22:18:01 +02:00
Rasmus Karlsson cd5972522b reformat 2019-08-11 21:08:18 +02:00
Rasmus Karlsson 391d75f208 try to improve readability of the "grayname colorize" function 2019-08-11 21:07:54 +02:00
23rd da039bfdfa Added setting to colorize usernames who have not set own color. 2019-08-11 19:48:43 +03:00
23rd fdb0b62dee Fixed switching tabs using trackpad scroll. 2019-08-10 13:34:59 +02:00
pajlada 0c245fbc4e
Merge pull request #1178 from 23rd/patch-29-mac-ctrl-tab
Added new submenu in menu bar for OS X to switch tabs with hotkeys.
2019-08-10 13:22:33 +02:00
pajlada 989dad1a6d
Merge pull request #1179 from 23rd/patch-30-simplified-tab-hotkeys
Moved to one place and simplified hotkeys of switching tabs.
2019-08-10 13:18:11 +02:00
Rasmus Karlsson 6e1ee84d90 Allow your own username to be set in "highlight users"
Fixes #1181
2019-08-10 13:13:00 +02:00
23rd 34841543c7 Replaced repetitive code of Ctrl+1-8 hotkeys with single loop. 2019-08-04 17:57:34 +03:00
23rd 838fd6bab6 Added ability to open last tab with Ctrl+9. (Chromium behaviour.)
- Fixed #1106.
2019-08-04 17:23:41 +03:00
23rd 485715ef30 Moved to one place and simplified hotkeys of switching tabs. 2019-08-04 17:03:58 +03:00
23rd 79a87e740a Added new submenu in menu bar for OS X to switch tabs with hotkeys.
- Fixed #1176.
 - https://bugreports.qt.io/browse/QTBUG-8596
2019-08-04 16:43:35 +03:00
Rasmus Karlsson c578cd47e1 Highlight parsing is now done after Ignores have been respected.
In the same commit, because I misunderstood the original issue, I also
split out the parsing of the highlights and triggering of the highlight
sounds/alerts into separate functions.

Fixes #1160

I also re-enabled the "sound url changer" that was commented out in an
earlier commit.

Fixes #1170
2019-08-04 14:31:57 +02:00
Rasmus Karlsson 45e2887ce8 Set our own custom User-Agent on network requests.
Format: chatterino/VERSION (COMMIT HASH)

Fixes #1169
2019-08-03 11:20:19 +02:00
fourtf e7d9422431 fixes for last commit 2019-08-01 13:30:58 +02:00
fourtf aac27c2a0d Fixes #1162 2019-07-31 23:03:55 +02:00
fourtf fff979b3c0 lock SignalVector with shared_lock to allow reading on other threads 2019-07-31 22:50:12 +02:00
fourtf 4e4c7d4c0b Set default username boldness to DemiBold (63) 2019-07-28 20:24:39 +02:00
Rasmus Karlsson 3679125e2f Reformat 2019-07-28 13:21:54 +02:00
Rasmus Karlsson 954b1b138a Add a setting for the timeout stack style:
"Stack" is the default behaviour, it will search 20 messages up and 5
seconds back in time to stack the timeout.
"Stack sparingly" will try to do the same, but only if the user has not
typed a message inbetween the this and the last timeout.

Fixes #1157
2019-07-28 13:21:54 +02:00
Rasmus Karlsson ba1a56c3b7 Don't early out after replacing a timeout message.
Otherwise, this could lead us to not gray out messages after the timeout we're stacking on

Work on #1157
2019-07-28 13:21:54 +02:00
Rasmus Karlsson 1ae66f3b7d Run newline replacer before sending message input to command executor
Fixes #1123
2019-07-28 12:19:33 +02:00
fourtf 96bed498d0 Fixed warnings in TwitchMessageBuilder 2019-07-27 12:49:45 +02:00
fourtf 39f44d74b3 Added autorun on boot setting for windows. 2019-07-23 23:56:14 +02:00
Rasmus Karlsson 628c64d138 Move "How to" options to their own sub-menu 2019-07-21 13:01:35 +02:00
TranRed a768515849 Added Subscribe option to channel menu
Added the option to visit the subscription page of a channel from chatterino
2019-07-16 21:59:04 +02:00
pajlada fb6a55847d
Merge pull request #1140 from TranRed/inlineWhisperHighlight
Added setting and functionality to highlight inline whispers
2019-07-14 19:32:09 +02:00
pajlada 645f7c74d0
Merge pull request #1139 from RAnders00/patch-4
Add VIP to settings description of badge toggle
2019-07-14 18:51:30 +02:00
pajlada dd353a56a1
Merge pull request #1136 from TranRed/viewerlist-quickfix
Make viewer list float by default
2019-07-14 18:45:50 +02:00
TranRed d725155569 Added setting and functionality to highlight inline whispers
Inline whispers will be displayed with highlighted background color.

New Flag needed to differentiate between normal whisper (highlighted) and whisper with mention.
2019-07-14 16:35:32 +02:00
Ruben Anders 667d2dbdda
Add VIP to settings description of badge toggle 2019-07-14 15:31:40 +02:00
TranRed 32d4383d5f Make button "Manage Accounts" open the Accounts tab
fixes #1135
2019-07-14 12:36:53 +02:00
TranRed 6c14fca216 Make viewer list float
- makes viewer list float
- changed Vip to VIP
- added myself as contributor
2019-07-14 11:43:57 +02:00
Ruben Anders feef6c6aaa Marked VIP badge as "channel authority" badge (#1117)
* Marked VIP badge as authority badge

* Added vip.png resource

* Registered VIP icon resource

* Update ResourcesAutogen.cpp

* Update ResourcesAutogen.hpp

* Update ResourcesAutogen.hpp
2019-07-13 15:55:15 +02:00
Rasmus Karlsson c483a87605 Right-clicking split header now opens the same menu as the hamburger icon
Fixes #1131
2019-07-13 12:17:42 +02:00
pajlada fe69dfb5e0
Merge pull request #1108 from tsoding/1100
(#1100) Clean TooltipPreviewImage on SplitHeader enterEvent
2019-06-23 09:32:55 +02:00
rexim 4cde28f29b (#1100) Clean TooltipPreviewImage on SplitHeader enterEvent
Supa quick fix for #1100

Looks like this bug may come back in other places where we use
`TooltipWidget`. For a permanent fix we have to go through all of the
places that touch `TooltipWidget` and check if they clean the preview
image correctly.

It would be better to merge TooltipPreviewImage and TooltipWidget
together and change `TooltipWidget::setText` to be

```c++
void TooltipWidget::setText(const QString &text, ImagePtr image = ptrnull);
```

But it's impossible right now, because TooltipWidget is located in
appbase and `ImagePtr` is not visible there (it's located in the main
chatterino repo). Plus we also need an access to
`getApp()->windows->gifRepaintRequested`.

First step in implementing the permanent fix would be moving
TooltipWidget to chatterino from appbase.

Any thoughts on the situation?
2019-06-22 21:39:59 +07:00