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
fourtf
bdb82b6818
fixed crash related to concurrent network request
2019-08-15 20:39:35 +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
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
fff979b3c0
lock SignalVector with shared_lock to allow reading on other threads
2019-07-31 22:50:12 +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
b872f83c9e
add missing files pepega
2019-05-26 21:48:45 +02:00
Rasmus Karlsson
8bf9fc92c3
Add a != operator to match the Prefix's == operator
2019-05-11 14:17:52 +02:00
Rasmus Karlsson
ee9b0f4c12
Fix tab completion
...
Fixes #813
This has the "quirk" of not updating names that are already there, which
means that display names might not always be used, instead the users
lowercase name might just be there and stick
2019-05-11 14:17:24 +02:00
Rasmus Karlsson
2492a0ba21
reformat usernamset
2019-05-11 13:59:03 +02:00
23rd
9654650bee
Renamed variables to clear some warnings.
2019-05-10 22:18:05 +02:00
23rd
efec76df5b
Removed unused local vars. Slightly refactored code.
2019-05-10 22:18:05 +02:00
apa420
3c1d264689
Added trashcan, replaced messageID var with this-message().id, removed pubsub stuff that didn't belong
2019-04-28 02:25:05 +02:00
apa420
4f79d6fc07
Added deleted messages, will also add the disabled tag to denied automod messages
2019-04-19 22:44:02 +02:00
pajlada
97faec15e0
Merge pull request #979 from hemirt/whispers
...
do not disable whispers on clears and timeouts
2019-04-16 15:06:42 +02:00
Rasmus Karlsson
a4cba22bcb
reformat
2019-04-13 16:38:01 +02:00
Rasmus Karlsson
13475332fb
Adds VIP rate limit support
...
Closes #875
2019-04-13 15:26:47 +02:00
hemirt
d6c5dd6d6c
do not disable whispers on timeout
...
changed order to short-out the if clause when its not the correct user
of the message
2019-03-20 20:59:57 +01:00
hemirt
1a1d0f305c
make whispers not disabled on clear
2019-03-20 20:53:24 +01:00
pajlada
3f41dfeff9
Merge pull request #965 from moe-ka/master
...
Fix for inline whispers being logged
2019-03-02 09:37:09 +01:00
hemirt
3c01af9805
changes and fix displayname of 'is live' message
2019-03-01 21:18:32 +01:00
moe-ka
26592c082f
check for none overriding flags
2019-02-28 05:08:46 +00:00
moe-ka
3ddac8b12a
More accurate name for flag (MessageFlag::DoNotLog), disable logging for
...
sent whispers.
2019-02-27 18:30:26 +00:00
moe-ka
89f3a3f3ea
fixes #952 (replaced unused 'Notification' MessageFlag)
2019-02-27 15:14:25 +00:00
apa420
e9bd9ddb8e
smoler commit
2019-01-20 16:28:25 +01:00
fourtf
0e242202a4
minor improvements
2018-12-02 17:49:15 +01:00
fourtf
52dcc2130e
moved more stuff into appbase
2018-11-25 21:14:42 +01:00
fourtf
a9ca33f431
moved stuff from chatterino to appbase
2018-11-23 17:51:55 +01:00
fourtf
5453c65f0f
implemented pausing on hover
2018-11-03 21:26:57 +01:00
Rasmus Karlsson
a4fd7b5366
Move settings into a separate JSON file.
...
This will unfortunately mean losing your commands, but they can be restored by
converting the old commands.txt format into the commands.json file
Fix #372
2018-11-03 13:37:09 +01:00
Rasmus Karlsson
ac4a496a06
Update to latest settings library version
2018-11-03 13:00:07 +01:00
fourtf
e259b9e39f
added brace wrapping after if and for
2018-10-21 13:43:02 +02:00
fourtf
c6e1ec3c71
disabled red background in #mentions
2018-10-21 13:29:52 +02:00
fourtf
69e0352648
improved NotebookTab
2018-10-21 12:13:23 +02:00
Rasmus Karlsson
49449379da
Added a Live status indicator to tabs
2018-10-13 14:20:06 +02:00
Rasmus Karlsson
c6bca8e97b
Allow addMessage to override message flags
2018-10-05 21:33:01 +00:00
Rasmus Karlsson
cd571a7e25
clean up warnings
2018-09-30 17:15:17 +00:00
Rasmus Karlsson
92bf1adf88
fix tabbing usernames with @
2018-09-21 13:57:49 +02:00
Rasmus Karlsson
8eba7a0182
add method to NetworkRequest to fetch the underlying url string
2018-09-20 13:37:20 +02:00
pajlada
e2a7765964
Merge branch 'master' into apa-notification-on-live
2018-09-16 17:43:53 +02:00
Rasmus Karlsson
a7487ab43e
Temporary fix for timeouts not graying out messages properly
...
Fix #669
2018-09-01 13:43:17 +00:00
apa420
8994307e51
forgot to remove an include
2018-08-29 23:52:13 +02:00
apa420
5555c41d7e
fixed toasts for all platforms
2018-08-29 23:39:02 +02:00
apa420
c3065db16d
highlighting whispers works better and looks better
2018-08-29 01:21:36 +02:00
apa420
6a29fbb6dc
Merge branch 'master' into apa-notification-on-live
2018-08-28 23:23:46 +02:00
apa420
15bcb5a2fb
Initially done with PR
2018-08-26 13:49:15 +02:00
apa420
8d5b93fe82
push for now
2018-08-19 19:02:49 +02:00
Rasmus Karlsson
a07255be2d
Add ability to customize cache folder
...
Add an advanced settings page, currently only housing the "Cache" category
Fix #541
2018-08-19 16:26:33 +02:00
fourtf
8bcc9c487b
Fixes #411 , #516
2018-08-16 00:16:33 +02:00
fourtf
af7b742a23
changed .clang-format
2018-08-15 22:46:20 +02:00
fourtf
44c16f1b3a
badges
2018-08-14 17:45:36 +02:00
fourtf
902fe684c0
Fixes #666
2018-08-14 17:35:11 +02:00
apa420
b671fc4133
Tried chaning the color of the split when a channel is live
2018-08-14 16:29:52 +02:00
fourtf
2448f6f538
cleaned up CompletionModel
2018-08-13 14:38:03 +02:00
fourtf
f6e110b7fb
fixed and optimized the autocompletion
2018-08-13 14:04:35 +02:00
fourtf
f6414c9d7e
remove settings and paths from Application
2018-08-12 12:56:28 +02:00
fourtf
44f5a15da3
turning a lot of includes into forward declares
2018-08-11 22:23:06 +02:00
fourtf
c768bd9bd9
fixed image animations
2018-08-11 17:15:17 +02:00
fourtf
c719bb6b74
categorized emtotepopup
2018-08-11 14:26:02 +02:00
Rasmus Karlsson
7aa34ef9bc
remove c++17 dependency
2018-08-11 14:12:41 +02:00
fourtf
cf9560508c
improving code quality
2018-08-10 20:53:13 +02:00
fourtf
edfae49cc9
simplified Image
2018-08-10 18:56:17 +02:00
fourtf
6344fa6b23
loading images on their own thread
2018-08-09 20:46:58 +02:00
fourtf
7a9af4ae84
moved menu code to ripple effect button
2018-08-07 23:46:00 +02:00
fourtf
381177dd24
refactored EnumFlags
2018-08-07 07:55:31 +02:00
fourtf
c26422aec1
refactored MessageBuilder
2018-08-07 01:35:24 +02:00
fourtf
f71ff08e68
changed to 80 max column
2018-08-06 21:17:03 +02:00
fourtf
35d462d1f1
worked on Image
2018-08-06 18:25:47 +02:00
fourtf
c2e2dfb577
this commit is too big
2018-08-02 14:23:27 +02:00
fourtf
3b3c5d8d75
added code to handle a single connection
2018-07-16 17:23:41 +02:00
fourtf
e51c5c692a
Merge branch 'master' of https://github.com/fourtf/chatterino2
2018-07-15 20:41:57 +02:00
fourtf
1614b11e42
Refactored TwitchChannel
2018-07-15 20:28:54 +02:00
Rasmus Karlsson
f60d649f5e
Remove UrlFetch file
2018-07-15 12:11:46 +00:00
Rasmus Karlsson
22bf008bdf
Update new settings library version
2018-07-15 11:03:25 +00:00
fourtf
111853c574
improving TwitchChannel
2018-07-14 14:24:18 +02:00
Lajamerr Mittesdine
12a21b7b1a
Fix match linking ( #608 )
...
Right now it's matching links even if they have garbage text infront of it. For example, `sahttp://www.google.com `
This change fixes that.
2018-07-12 18:56:08 +02:00
Lajamerr Mittesdine
727ccd2ff4
Add support for spotify hyperlinking ( #597 )
...
* Add support for spotify hyperlinking
* Change open link in browser to open link
2018-07-11 13:50:05 +02:00
pajlada
2ea3643100
Fix timer stuff ( #580 )
...
* Add and sort Network files to chatterino project file
2018-07-07 15:50:05 +02:00
Rasmus Karlsson
55269587f5
Trying out a solution KKona
2018-07-07 13:51:01 +02:00
fourtf
6bf7ba1ebe
fixed compilation
2018-07-07 12:03:37 +02:00
fourtf
c609a9fd37
started to refactor Application
2018-07-07 11:41:13 +02:00
Rasmus Karlsson
6a418e6e59
Refactor NetworkRequest class
...
Add followUser and unfollowUser methods to TwitchAccount
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
256aabf746
Remove unused parseJSONFromReply2 function
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
efbd0f31e6
Remove getJSON2 function
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
faa088b7e5
Remove NetworkManager urlPut function
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
091b597fe9
Remove unused "urlDelete" function from NetworkManager
...
Allow NetworkRequest to be constructed with a QUrl
2018-07-07 11:09:27 +00:00
Rasmus Karlsson
1f2968934c
Remove unused functions in NetworkManager
2018-07-07 11:09:27 +00:00
fourtf
535c0616a3
Applied project style to multiple files
2018-07-06 18:10:21 +02:00
fourtf
3993708164
Refactored NetworkRequest and misc
2018-07-06 17:56:11 +02:00
fourtf
477d4751f7
refactor CompletionModel
2018-07-06 17:42:00 +02:00
fourtf
aa3df2e6d8
refactored Channel
2018-07-06 17:30:12 +02:00
fourtf
741c1f7820
refactored Window
2018-07-06 17:03:57 +02:00
DatGuy1
086ae010b1
Add viewing logs to UserInfoPopup ( #548 )
...
* Add cbenni logviewer
* Remove unneeded includes
* Updated getLogs to check for logs on Overrustle
will check logs on overrustle if none were found on cbenni
* Formatting, fix some bugs
* Fixes per PR comments
* Should really take more time when pushing
* Changes per PR, simplify code a lot
* Style/formatting fixes
2018-07-05 22:47:51 +02:00
fourtf
14f125ff87
added room mode selector for mods again
2018-07-04 19:44:54 +02:00
Rasmus Karlsson
baad3322cf
Fix warnings
2018-07-03 17:42:28 +00:00
fourtf
d6c6a552d8
added preview channel view to the appearance tab
2018-07-03 16:56:36 +02:00
fourtf
6909d1d939
replaced 0 with nullptr in signalvector
2018-07-03 16:55:34 +02:00