Commit graph

313 commits

Author SHA1 Message Date
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
3ab7362304 Merge branch 'master' into irc-support 2019-09-18 13:03:16 +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
b06918eb47 2.1.4 2019-09-15 19:32:31 +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
22ca20ad2a renamed TwitchServer -> TwitchIrcServer 2019-09-15 13:02:02 +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
2f39f4246c fixed warning + added more checks to SignalVectorModel 2019-09-11 13:12:08 +02:00
fourtf
c4d0efacff added loading and saving of irc servers 2019-09-10 23:55:43 +02:00
fourtf
25f75f7580 added Credential class 2019-09-09 22:27:46 +02:00
fourtf
9f1a5b900e fixed single connection code and deleting abstractircserver 2019-09-09 22:22:47 +02:00
Leon Richardt
b06eb9df83 Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
fourtf
343cd3970a bump version 2019-09-08 18:46:57 +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
fourtf
dc1c7cb419 2.1.3 2019-09-02 12:29:18 +02:00
fourtf
450f3bc492 removed useless const 2019-08-27 20:08:17 +02:00
fourtf
7b43f0a30a 2.1.2 2019-08-26 23:04:55 +02:00
fourtf
377a30fd9e 2.1.1 2019-08-26 17:16:22 +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
fourtf
23f1dd4646 update 2.1.0 2019-08-18 21:21:48 +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
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
fourtf
836f931b23 added isSorted method to signalvector 2018-07-03 16:55:34 +02:00
fourtf
eb809d1572 Fixes #538 multiple window frames on windows 2018-07-03 12:08:12 +02:00
Rasmus Karlsson
ec4c243455 fix link parser 2018-06-29 10:22:09 +02:00
fourtf
712a292d7e renamed class SingalVector -> SimpleSignalVector 2018-06-28 20:27:24 +02:00
fourtf
6013591730 renamed files SignalVector -> SimpleSignalVector and SingalVector2 -> SignalVector 2018-06-28 20:25:37 +02:00
fourtf
c3c2b934ba moved ChatterinoSetting into src/common 2018-06-28 20:06:09 +02:00
fourtf
c01d1ed732 step 1: push, step 2: try to compile 2018-06-28 19:57:06 +02:00
fourtf
848bbc71aa removed that pile of garbage IrcManager 2018-06-28 19:54:40 +02:00
fourtf
2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf
5604ae6a67 removed functions from SettingsManager that shouldn't be there 2018-06-28 19:38:57 +02:00
Rasmus Karlsson
524be95e8b Reduce complexity of regular expression initialization 2018-06-28 00:54:34 +02:00
Rasmus Karlsson
20c17c3377 Make link regular expression only be created once 2018-06-28 00:54:34 +02:00
Rasmus Karlsson
f76512c31e Remove authenticated get function from urlfetch
Implement twitch account emote getter function in TwitchAccount
2018-06-27 00:16:30 +00:00
fourtf
fb230423f6 fixed rename 2018-06-26 17:47:44 +02:00
fourtf
d09b14db26 removed Const.hpp and Credentials.hpp in favor of TwitchCommon.hpp 2018-06-26 17:25:24 +02:00
fourtf
08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf
c74bc00106 renamed twitch api get functions 2018-06-26 17:12:50 +02:00
fourtf
54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf
2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf
15abedd869 moved files into src/common 2018-06-26 15:33:51 +02:00