Commit graph

1235 commits

Author SHA1 Message Date
Rasmus Karlsson 7cdfa173c7 enable external link opening in attributions
Fix #641
2018-07-28 11:20:18 +00:00
apa420 133bd6a766 fixed (live) issue #626 (#631) 2018-07-23 15:12:14 +02:00
DatGuy1 f060907678 Add channel badges and emotes to LogsPopup (#576)
* Add channel badges and emotes to LogsPopup

* Move roomID stuff to seperate function

* Use onSuccess
2018-07-23 14:50:09 +02:00
fourtf 3b3c5d8d75 added code to handle a single connection 2018-07-16 17:23:41 +02:00
apa420 f33cc884b2 Fixed issue with Excluded users not saving from the highlights tab (#624) 2018-07-16 17:09:29 +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 f1af162dab clean up some includes 2018-07-15 12:03:41 +00:00
Rasmus Karlsson c995e2bf0d Remove unused code 2018-07-15 11:10:23 +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
apa420 a720c76dc0 changed an #include (#622) 2018-07-14 08:53:28 +02:00
apa420 ba99d62139 Fixed /ignore and /unignore as well as give description for the command (#611)
* Fixed /ignore and /unignore as well as give description for the command
2018-07-13 22:23:03 +02:00
pajlada aa0059ffe0
Merge pull request #614 from apa420/apa-fixing-timeout-buttons
Fixed issue with timeoutbuttons #613
2018-07-13 22:15:39 +02:00
LajamerrMittesdine 588aad751b Fix QMenus from going out of screen boundaries 2018-07-13 05:56:46 -04:00
apa420 5d2be3ae2a fixed issue with timeoutbuttons #613 2018-07-13 02:06:35 +02:00
apa420 12093d1bb6 Adding elements to the preview in the look tab (#605)
* fixes issue #584

* Added different elements to the preview in the look tab
2018-07-12 18:58:56 +02:00
apa420 fb0cdf78cb Added description when typing /follow (#606)
* Added description when typing /follow

* syntax fix of 1364e0e707
2018-07-12 18:57:11 +02:00
apa420 9dda0a05fa @boldUsernames now work dynamically with the setting (#607) 2018-07-12 18:56:54 +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
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
fourtf 86347dc63e renamed Themes to Theme 2018-06-28 20:03:04 +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 8ced5a1e25 renamed *Manager classes 2018-06-28 19:51:07 +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
fourtf b667183ca5 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-06-28 18:12:43 +02:00
Rasmus Karlsson 8ff29ebe05 Normalize define naming 2018-06-28 01:26:15 +02:00
pajlada 10df071077
Breakpad implementation (#535)
* qBreakpad simple implementation

* update chatterino.pro for linux

* Add breakpad building script for linux
2018-06-27 23:06:37 +00: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
LajamerrMittesdine 7fe8ff97e0 Initial rework of matchLink 2018-06-28 00:54:34 +02:00
fourtf 37be58ebcf fixed browser extensions not working when opening the browser before
chatterino
2018-06-27 22:56:56 +02:00
fourtf 6a93aa412e moved IsBigEndian into it's own file 2018-06-27 13:03:59 +02:00
chems c22052afdd undo reformat 2018-06-27 12:59:11 +02:00
ch-ems b2d18ddd7f fixes #525 2018-06-27 12:59:11 +02:00
ch-ems 1bd97d853e fixes issue where slowmode checkbox is checked even after canceling. 2018-06-27 12:59:11 +02:00
Rasmus Karlsson e9868fdd84 Move TwitchUser deserialization to the proper Deserialize function
instead of ::fromJSON
2018-06-27 00:17:05 +00: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
ch-ems d333da3dfa fixes issue with 0245bd5 2018-06-26 19:33:42 +02:00
fourtf c5441c6d4a fixed minor issues 2018-06-26 17:51:31 +02:00
fourtf fb230423f6 fixed rename 2018-06-26 17:47:44 +02:00
fourtf 604e5ed682 fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
fourtf 8cbf575e3c added docs of main.cpp 2018-06-26 17:33:26 +02:00
fourtf 804d324d79 removed NativeEventHelper 2018-06-26 17:27:18 +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 6ee1fc303e removed SplitColumn 2018-06-26 17:16:58 +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
fourtf 0bc08a364c created directory for dialogs 2018-06-26 15:11:45 +02:00
fourtf f09c7e8b4e removed ChannelData 2018-06-26 14:55:28 +02:00
fourtf 22f528cd21 put all split widgets inside the same directory 2018-06-26 14:39:22 +02:00
fourtf a9bf9cf722 rename #3 2018-06-26 14:09:39 +02:00
fourtf c9722b9780 rename #2 2018-06-26 13:24:55 +02:00
fourtf ec04f10895 rename #1 2018-06-26 13:23:57 +02:00
fourtf 6375a902a0 fixed size of the attachedwindow for the browser extension for scaling 2018-06-25 22:07:17 +02:00
Lajamerr Mittesdine 13d28d0d8b Fix Account Switcher Popup Widget On Linux
This fixes it for me on Linux.

Not sure if this breaks anything on Windows. Needs some testing.
2018-06-25 17:01:29 +02:00
ch-ems 0245bd5c3a fixed crash when enabling 'window always on top' 2018-06-25 16:59:50 +02:00
ch-ems 7f5b07a9f9 fixes font selection window showing behind if 'window always on top' is
enabled.
2018-06-25 16:59:50 +02:00
fourtf ef2365e81a small fix and increased version number to 2.0.4 2018-06-25 12:52:07 +02:00
fourtf c75b3578a7 fixed windows 7 again 2018-06-25 12:41:55 +02:00
fourtf 7b5972f05d Fixed crash on windows 7 2018-06-25 12:20:36 +02:00
fourtf a91d6525ad Increased version number to 2.0.3 2018-06-25 00:01:03 +02:00
fourtf ba5c3555b8 fixed scaling for 1.5+ scale on windows 2018-06-24 23:58:29 +02:00
fourtf 4075ac9279 increased version number to 2.0.2 2018-06-24 23:08:52 +02:00
fourtf 640907198e I keep pushing too fast 2018-06-24 21:59:13 +02:00
fourtf 0d499313e2 fixed maximized mode margin on windows 2018-06-24 21:57:03 +02:00
fourtf 63c213a36a fixed spelling of "separate" 2018-06-24 18:32:00 +02:00
fourtf 59ee091722 fixed label ui scale 2018-06-24 18:30:48 +02:00
fourtf 22167f33f2 Fixes #491, font size in notebooktab too big 2018-06-24 17:33:55 +02:00
fourtf 68ddd1e7c9 Fixed some labels being too big on hi-dpi 2018-06-24 17:02:21 +02:00
fourtf 683017008a fixed inital scaling being wrong on windows 2018-06-24 17:02:21 +02:00
Rasmus Karlsson 24471fc2d0 Fix emote popup for certain emotes (i.e. <3)
Fix #513
2018-06-24 16:35:38 +00:00
Rasmus Karlsson 355b80680d Fix erroneous copying of emotes (twitch emotes in particular)
Fix #514
2018-06-24 16:30:28 +00:00
Rasmus Karlsson fc0e89edf3 Implement "frameless draggable" windows on Linux
Not yet tested on Mac but should work just the same

Fix #472
2018-06-24 16:09:11 +00:00
Rasmus Karlsson a105b47a6b Improve notice message handling
This should stop most duplicate notice messages from showing up

Fix #272
2018-06-24 15:33:22 +00:00
Rasmus Karlsson 8bb3ad1bf5 Only use the "duplicate message" functionality if user is not a
moderator
2018-06-24 15:20:15 +00:00
Rasmus Karlsson 715d208b6d Enable unicode regular expressions in ignore phrases too 2018-06-24 14:56:34 +00:00
pajlada eae2c2c521
Emote popup channelname (#475)
Fix #464
2018-06-24 14:42:40 +02:00
Rasmus Karlsson ebe0f0c87f Improve display name parsing
Fix #510
2018-06-24 14:27:08 +00:00
Rasmus Karlsson a5983e3876 Fix "addFakeMessage" for privmsgs 2018-06-24 14:27:08 +00:00
fourtf a505adf26c disabled openGuiMessageQueue for debug mode 2018-06-24 14:03:26 +02:00
fourtf 9a719dcd05 added completion for default twitch commands 2018-06-24 13:57:19 +02:00
Rasmus Karlsson e1f2cb3355 Enable full unicode support in Highlight phrases
Fix #509
2018-06-24 13:42:22 +00:00
fourtf 573abe9f40 fixed #486 2018-06-24 13:33:18 +02:00
Rasmus Karlsson 6c727cf82b Settings now saves unicode QString settings properly
Fix #503
2018-06-24 13:21:16 +00:00
Rasmus Karlsson ecfe9646dd Add missing this prefixes in TwitchServer 2018-06-24 13:14:05 +00:00
Rasmus Karlsson be931df4f4 Add a message if you're trying to type without being logged in
Fix #484
2018-06-24 13:11:20 +00:00
fourtf 8b4f9d066e fixed account switch popup showing behind the main window 2018-06-24 13:10:29 +02:00
fourtf 8111946858 renamed variables in twitchserver 2018-06-24 13:06:11 +02:00
fourtf 47198a5489 Fixed #501 2018-06-24 13:00:42 +02:00
Rasmus Karlsson 532737d358 Fix the "mode header thing" to not take up too much space 2018-06-24 12:21:11 +00:00
DatGuy1 5135309508 Add room mode options to splitheader (#497) 2018-06-24 12:22:50 +02:00
fourtf 02214c38a6 added comments for explanation 2018-06-24 12:16:32 +02:00
fourtf 5673cefd1b Fixes crash #504 2018-06-24 11:45:30 +02:00
fourtf f5a05543cd added autocompletion for commands 2018-06-24 11:24:21 +02:00
fourtf 2b99a3574c changed firefox extension link to the english one 2018-06-24 10:57:37 +02:00