Commit graph

1115 commits

Author SHA1 Message Date
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
apa420 1d2e56f19d changed return-value of errors to false 2018-07-12 11:11:21 +02:00
apa420 7288c5a0b6 removed unecessary #include 2018-07-12 10:58:29 +02:00
apa420 801779b872 fixed stuff for PR 2018-07-12 10:52:18 +02:00
apa420 c26e18c2bf Added functionality of /follow and /unfollow 2018-07-12 03:54:54 +02:00
Rasmus Karlsson 352da60d07 Fix code formatting (code wasn't clang-formatted)
Shorten "minute" to "m" etc
Fix space-adding inconsistency when adding "seconds"
2018-07-11 16:58:57 +02:00
Rasmus Karlsson 4ea1ed085f Remove unneccesary QString operator= 2018-07-11 16:53:19 +02:00
Nikolai Zimmermann f63d9d3e33 Better time display for timeouts (#601)
* Better time display for timeouts

* remove newline
2018-07-11 16:09:28 +02:00
apa420 db099260ad Added functionality of reading log-size in the moderation-folder (#600) 2018-07-11 14:23:21 +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
apa420 77f904fae4 Fixes the issue with making the chatterino window smaller with long usernames (#588) 2018-07-10 18:31:34 +02:00
23rd c3793121cb Added mention of user by right-clicking on his nickname. (#589)
* Added mention of user by right-clicking on his nickname.

* Removed possibility of choice. Always add @ to username.
2018-07-10 18:27:42 +02:00
Lajamerr Mittesdine d82c647edd Fix new emotes not loading properly because of cache (#596)
Fix #595
2018-07-10 17:47:16 +02:00
Rasmus Karlsson da1627e47d Fix historical messages not triggering highlights
For now they only trigger the highlighting of the message, but not sound
or flash alerts as I think that's weird.

Fix #308
2018-07-08 09:43:44 +00:00
Rasmus Karlsson aaa82dce75 Fix custom highlight sounds not working on Linux 2018-07-08 09:42:48 +00:00
hemirt d2450c298b remove duplicate code (#585) 2018-07-07 22:30:19 +02:00
Rasmus Karlsson ebc47b1463 trim config shit 2018-07-07 22:00:23 +02:00
Rasmus Karlsson 0d40894b47 improve error message in loadEmotes 2018-07-07 21:59:17 +02:00
Rasmus Karlsson 926a753a54 Load twitch emotes on initialize as well
Fix #581
2018-07-07 21:55:09 +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 cada32edfd Treat missing returns as errors 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
DatGuy1 b12c4e1d45 Add text command to display logs (#574)
* Add text command to display logs

* Allow @username instead of username
2018-07-07 10:25:12 +02:00
fourtf 280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
fourtf 6935619820 Changed some stuff 2018-07-06 19:24:35 +02: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 b639604a47 refactored BaseWidget 2018-07-06 17:11:37 +02:00
fourtf 741c1f7820 refactored Window 2018-07-06 17:03:57 +02:00
fourtf 314c15bb87 Small fixes for the last PR 2018-07-05 22:55:06 +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 eeb514c444 minor changes 2018-07-05 18:17:12 +02:00
fourtf 42550129e7 reworked the Look settings page 2018-07-05 17:38:24 +02:00
fourtf 80c8e11cec refactored the ignores page a bit 2018-07-05 16:45:34 +02:00
fourtf 1da23e5e91 renamed IgnoreUsersPage to IgnoresPage 2018-07-05 16:22:25 +02:00
fourtf d925704aa9 renamed file to fix compiling 2018-07-05 16:09:08 +02:00
fourtf 6059f98c21 renamed UpdatePromptDialog to UpdateDialog 2018-07-05 16:04:50 +02:00
DatGuy1 9c7c99928f Add highlighting of all messages from a certain user (#564)
* Rework to use controllers

* Rework to use controllers

* Add doHighlight

* Cherry pick?

* Fixes per PR

* Remove file
2018-07-05 15:58:20 +02:00
apa420 eb69cbf5f5 The file-url for logging is now displayed as a smaller link (#570)
* The file-url for logging is now displayed as a smaller link, todo: Show link on hover

* added a label to the folder-url in the settings
2018-07-05 15:57:08 +02:00
fourtf 3d7926cac1 added the update download button for linux/mac (updates don't work tho
so it doesn't show)
2018-07-05 13:25:10 +02:00
fourtf 59332270b5 put the update button code into it's own file 2018-07-05 12:54:38 +02:00
fourtf ef13aef7df fixes for linux 2018-07-05 12:08:33 +02:00
fourtf f2238729f1 worked on the UpdatePromptDialog 2018-07-05 11:42:40 +02:00
fourtf f02a89690e added mechanic for deleting a BaseWindow on focus out 2018-07-05 10:34:04 +02:00
fourtf 335cbf8758 added basic download icon to the window frame 2018-07-04 20:42:51 +02:00
fourtf 3303de18cd added double click to resize handle 2018-07-04 19:52:11 +02:00
fourtf 14f125ff87 added room mode selector for mods again 2018-07-04 19:44:54 +02:00
fourtf e9a112f8b3 changed order of split header items 2018-07-04 19:44:54 +02:00
apa420 2e1fdbec32 Changed where the bold @username setting is found 2018-07-04 18:10:50 +02:00
Rasmus Karlsson a66a2f2e8d Add a list of contributors to the about page 2018-07-04 16:52:14 +00:00
fourtf e76871c09c improved moderation mode icons 2018-07-04 14:13:29 +02:00
apa420 9754d1c350 I use startWith again 2018-07-04 14:01:39 +02:00
apa420 2524bb8af6 this time I compiled before pushing 2018-07-04 14:01:39 +02:00
apa420 4491bba5ec Boldness is now fontStyle 2018-07-04 14:01:39 +02:00
apa420 31a38d19a7 Fixed code, things that fourtf asked for 2018-07-04 14:01:39 +02:00
apa420 4bf174376a Fixed random code that didn't belong 2018-07-04 14:01:39 +02:00
apa420 318e8b6234 Bold @username 2018-07-04 14:01:39 +02:00
Rasmus Karlsson acf77beff2 Remove file that I accidentally re-added 2018-07-04 13:58:38 +00:00
DatGuy1 e9fb5971da Add option to make link domains lowercase (#557) 2018-07-04 13:53:49 +02:00
fourtf 06ff6e6479 added dim effect to the titlebar buttons 2018-07-04 13:13:21 +02:00
fourtf 19fdfaef42 reworked splitheader a bit 2018-07-04 13:06:26 +02:00
Rasmus Karlsson 4ea613503e Remove unused include 2018-07-04 11:45:10 +00:00
Rasmus Karlsson 03b7fae09e Refactor highlight blacklist to use the model system
Fix #560
2018-07-04 11:45:10 +00:00
fourtf 362dcb88bc put returns into #else to remove unreachable code warnings 2018-07-04 10:41:43 +02:00
fourtf 1064729e1a Fixed issue with the window frame 2018-07-04 10:38:36 +02:00
Rasmus Karlsson 5dbdb6424c Get rid of some more warnings 2018-07-03 21:27:17 +00:00
Rasmus Karlsson ba5d6e5c4b Remove unused variable from ModerationAction class 2018-07-03 18:09:17 +00:00
Rasmus Karlsson a716e93112 Remove pessemistic move 2018-07-03 18:09:07 +00:00
fourtf 3a9de8cb86 renamed classes AppearancePage and BahaviourPage 2018-07-03 17:45:31 +02:00
fourtf cd57b2b518 renamed AppearancePage and BehaviourPage 2018-07-03 17:45:31 +02:00
Rasmus Karlsson 78dede21f4 Fix linux not compiling 2018-07-03 17:42:38 +00:00
Rasmus Karlsson baad3322cf Fix warnings 2018-07-03 17:42:28 +00:00
hemirt ef4c7dbe60 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-07-03 17:21:41 +02: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
Rasmus Karlsson e757a6504b Run clang-format-all.sh 2018-07-03 15:20:00 +00:00
hemirt 126e344f18 rename Ver to Dotted, fix show current value on first open 2018-07-03 15:45:25 +02:00
hemirt 4f30d950c7 fix current index, depends on value of setting
fix default value of the combobox for the collapse lines, incorrectly
always shows first item of the box, instead of current value
2018-07-03 15:43:54 +02:00
fourtf 63a596ef16 added moderation action settings back in 2018-07-03 15:00:21 +02:00
Rasmus Karlsson 7d4feb2781 Make protocol regexes case insensitive 2018-07-03 14:57:11 +00:00
Rasmus Karlsson 35de26821a If USEWINSDK is not enabled, fall back to QWidget's nativeEvent 2018-07-03 14:22:39 +00:00
hemirt 37d3f5a24a last message pattern 2018-07-03 13:44:59 +02:00
fourtf 9f6d09db7c fmoved windows message handlers into their own functions 2018-07-03 13:04:27 +02:00
fourtf eb809d1572 Fixes #538 multiple window frames on windows 2018-07-03 12:08:12 +02:00
Rasmus Karlsson 978931bcfc Clean up twitch emote tooltips 2018-06-30 10:10:53 +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