Commit graph

3382 commits

Author SHA1 Message Date
fourtf
d13b7d9768 fixed formatting in Settings.hpp 2020-09-26 15:18:48 +02:00
fourtf
f4a6b769e5 fixed some potential crashes down the line 2020-09-26 15:17:26 +02:00
tuckerrrrrrrrrr
9d885d951c
Allow reordering elements in list settings (#1595)
* Add move up, down buttons to list settings

Channel notifications, moderation buttons etc. have a move up and move
down button now for reordering.

* Selection follows moved rows, refactor

Also fixed rows past the 2nd one not moving

* Update selection property with more than 1 column

* Fix crash when moving without a row selected

* Move rows with drag and drop

Right now it's a little iffy registering the row to be moved, but I
wanna go to bed :)

* Remove EditableTableView, move to SignalVectorModel

Replace my ghetto drag and drop solution in EditableTableView with small
patches to the stuff already written in SignalVectorModel::dropMimeData
2020-09-26 15:11:45 +02:00
fourtf
f6caee6a66 removed accidentally added code 2020-09-26 14:59:04 +02:00
fourtf
affef2c5a2 Merge remote-tracking branch 'refs/remotes/origin/master' 2020-09-26 14:56:56 +02:00
fourtf
db3402a18e Merge branch 'Ch2Usercard' 2020-09-26 14:54:44 +02:00
pajlada
20e4d6b3d2
Update emote parsing (#1714)
Fixes #1707
2020-09-26 14:21:46 +02:00
fourtf
d5855ba7d6 removed latest messages 2020-09-26 14:02:18 +02:00
Auro
cc5eb7000f
Fixed the english of a system message (#1878)
* Update TwitchIrcServer.cpp

* made english better

changed "sending messages too fast" to "You are sending messages too fast"

* changed english

* Changed English

Changed the English in 2 system messages

* Update CHANGELOG.md

* Changed too fast to too quickly

Co-authored-by: fourtf <tf.four@gmail.com>
2020-09-26 13:06:37 +02:00
Rasmus Karlsson
470fe5a58a Add label that shows up if the log in link didn't open properly
This basically takes the official advice from https://github.com/Chatterino/chatterino2/issues/1779#issuecomment-699235396 and tells the user what they can do as a workaround.

Relevant issue: #1779
2020-09-26 10:24:29 +02:00
Rasmus Karlsson
64d2fc6344 Clean up the "Chatterino command" concept 2020-09-26 10:01:00 +02:00
Rasmus Karlsson
4f35842473 Only attempt to read thumbnails when we get a 200 response code.
We would have been able to keep doing this if the Network Request code
followed redirects - however, it doesn't, so this is the best we can do.
We also don't have header support in Network Result, so we can't
validate that the response we got is actually an image.

Fixes #1972
2020-09-26 09:30:50 +02:00
fourtf
8123a47898 Closes #1725 2020-09-26 01:52:39 +02:00
fourtf
828fb2c3f5 Fixes #1767 2020-09-26 01:19:47 +02:00
fourtf
b905e0afd1 Fixes #1676 2020-09-26 00:59:16 +02:00
fourtf
3375e58a4f added spacing to the split header title 2020-09-25 23:41:18 +02:00
fourtf
5fc495a073 Fixes #1404 2020-09-25 22:59:20 +02:00
fourtf
45a1034edf fixed tooltip flickering for SplitHeader 2020-09-25 22:21:30 +02:00
fourtf
ed87d6e2fa fixed recent messages being parsed concurrently 2020-09-25 22:20:15 +02:00
fourtf
1ec109748f fixed crash when removing item in settings list 2020-09-25 20:43:45 +02:00
pajlada
913193f8b5
Split up Window Layout loading into a loading and application stage (#1964)
* Split up Window Layout loading into a loading and application stage

Previously, we were creating UI elements at while we were reading the window-layout.json file.
We now read the window-layout.json file fully first, which results in a
WindowLayout struct which is built up of a list of windows with a list
of tabs with a root node which contains containers and splits.
This WindowLayout can then be applied.

This will enable PRs like #1940 to start Chatterino with Window Layouts
that aren't defined in a json file.

This commit has deprecated loading of v1 window layouts (we're now on v2). If a v1 window layout is there, it will just be ignored and Chatterino will boot up as if it did not have a window layout at all, and on save that old window layout will be gone.

* Fix compile error for mac
2020-09-19 17:14:10 +02:00
Rasmus Karlsson
7eabba959b Split up a few single-liners to help debug crash issue 2020-09-13 11:08:43 +02:00
fourtf
1baa2b266d add a settings for the duplicate message sending 2020-09-11 17:07:58 +02:00
pajlada
c7a2f4cc92
Don't make follow requests based on the check follow response (#1906)
This is done by deliberately setting and reading the enabled state of
the widget whenever the stateChanged event happens.

If the stateChanged event happens while the widget is not enabled, we
know the event must have been triggered by our "check user follow state"
event, and then we don't act upon that event
2020-09-06 12:46:35 +02:00
Daniel
b024b47afd
Changelog crash fix (macOS) (#1935)
On macOS, trying to display a dialog before showing the main window
(like when starting minimized) leads to a crash. The dialog will now
show before the main window is opened, preventing this issue.
2020-09-06 12:02:15 +02:00
Daniel
0814fca7d4
Usercard command fix (#1918)
* Add myself to contributors list
2020-08-30 11:57:46 +02:00
fourtf
07fc0c3ad7 2.2.2 2020-08-29 10:54:37 +02:00
fourtf
279a80b66f fixed a potentional bug 2020-08-27 16:17:03 +02:00
fourtf
63c167f1db 2.2.1 2020-08-24 20:24:00 +02:00
Nico Sonack
930351779c
(#1874) Disable updates on non-Windows, Linux or macOS platforms (#1914)
* (#1874) Disable update checking for unsupported platforms

As described #1874, only Windows, macOS and GNU/Linux are officially
supplied with builds. Thus checking for updates is unnecessary if we
are e.g. on FreeBSD, OpenBSD, illumos distros and possibly other
Operating Systems.

This fixes #1874 by ifdef-ing the 3 officially supported platforms
when checking for updates. Otherwise a debug warning will be emitted
and in the settings the checkbox for beta-updates is hidden and
replaced by a message, explaining the reason for why there are no beta
updates.

* Update CHANGELOG

In accordance with #1874

* (#1874) Move platform check into checkForUpdates

As discussed in #1914

* (#1874) Move check for supported OS to a seperate function.

As requested in #1914
2020-08-24 12:02:56 +02:00
fourtf
1501da7e72 reverted update code to old state 2020-08-24 09:52:24 +02:00
fourtf
df2cfa73f0 maybe fixed updates on macos 2020-08-24 09:42:59 +02:00
fourtf
b7e86a8de6 reduced COMPACT_EMOTES_OFFSET to fix a graphical glich in timed out
messages
2020-08-23 17:24:35 +02:00
fourtf
5d0cb3ada8 Closes #1903 2020-08-23 17:11:41 +02:00
fourtf
28a0e4c63c Closes #1909 2020-08-23 17:04:17 +02:00
fourtf
50da694fff
Stable (#1905)
* fixed SearchWindow memory leak

* Update CHANGELOG.md

* added DebugCount for BaseWindow

* [Bug Fix] Color of second user highlight cannot be set (#1898)

* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md

* Emote Popup Improvements (#1895)

* Put exact matching emotes first

* Close GenericListView on Escape press

* smol fix

* fixed emote input when not in the first char

* fixes #1902

* closes #1904

Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
Co-authored-by: Daniel <24928223+dnsge@users.noreply.github.com>
2020-08-23 11:28:22 +02:00
fourtf
391ba5476f fixed emote input when not in the first char 2020-08-23 09:17:19 +02:00
fourtf
ea54b10f1d smol fix 2020-08-22 23:22:00 +02:00
Daniel
184aba1be7
Emote Popup Improvements (#1895)
* Put exact matching emotes first

* Close GenericListView on Escape press
2020-08-22 23:17:56 +02:00
Leon Richardt
505581ca65
[Bug Fix] Color of second user highlight cannot be set (#1898)
* Highlighting: Fix bug preventing user highlight from being set

Before this commit, only the row of a clicked cell was checked, but not
the tab it was clicked in.

Since the "Whispers" row is the second row in the "Messages" tab on the
highlighting page, the color picker was not opened for the second entry
in the "Users" tab either. This commit fixes the bug by also checking
tab the cell was clicked in.

* Update CHANGELOG.md
2020-08-22 23:10:10 +02:00
fourtf
6e6413da02 added DebugCount for BaseWindow 2020-08-22 22:54:03 +02:00
fourtf
ebb4ffe36d
fixed SearchWindow memory leak (#1899) 2020-08-22 22:35:07 +02:00
fourtf
a8c61980ac removed default image uploader 2020-08-22 18:33:37 +02:00
fourtf
a569ee915f bump version 2020-08-22 17:00:15 +02:00
fourtf
47afca2c71 miscelaneous changes 2020-08-22 16:49:23 +02:00
fourtf
f3225275ea changed channel point messages color 2020-08-22 16:48:40 +02:00
fourtf
eeb632d4ab Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 16:03:20 +02:00
fourtf
2cc23eaae6 make highlighted messages and redeemed thingies look the same 2020-08-22 16:02:38 +02:00
pajlada
0cbddf7e9b
Fix/be respectful of special characters like exclamation marks in highlight phrases since they are also word boundaries (#1890)
* Add missing includes

We would normally have these included in another file already, or even
the precompiled headers, but having the files included here too makes
testing single parts easier.

* Modify the regex building of highlight phrases for non-regex phrases

For phrases like !test, the word boundary checking we did before was not
enough, so we now check for either a word boundary, a whitespace
character, or the line start/end.

* Add tests for ensuring I haven't fully broken the highlight system

* Add changelog entry
2020-08-22 15:37:03 +02:00
fourtf
17b26ef59c Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-08-22 15:29:06 +02:00
fourtf
459e483c62 hide link preview image if in streamer mode 2020-08-22 15:27:42 +02:00
pajlada
b98c0c2a44
Clarify "Custom stream player" functionality (#1889)
* Clarify "Custom stream player" functionality

* Remove idiotic idiot proofing
2020-08-22 15:01:16 +02:00
fourtf
5a18a0f040 updated links to go to chatterino.com redirect pages 2020-08-22 14:46:17 +02:00
fourtf
f584503673 some fixes for SplitInput 2020-08-22 12:34:19 +02:00
fourtf
758fdc28ee added margin to emote input items 2020-08-22 12:19:20 +02:00
fourtf
95f975996d added tip for search shortcut to settings 2020-08-22 12:17:20 +02:00
fourtf
048a6f661d enable word wrap in tooltip 2020-08-22 11:54:06 +02:00
fourtf
83b6fad8e6 fixed some concurrency issues 2020-08-22 11:45:18 +02:00
alazymeme
0b0f1c9c5c
Add microsoft edge support for incognito (#1875)
* Fix incognito button missing

* Update CHANGELOG.md
2020-08-21 15:33:56 +02:00
fourtf
88f45a2842 animte emotes in colon emote input 2020-08-15 21:34:57 +02:00
fourtf
f0b9f8ca59 raised emote limit in colon input to 200 2020-08-15 21:20:23 +02:00
fourtf
a23b1c7988 added twitch emotes to colon emote menu 2020-08-15 21:14:07 +02:00
fourtf
235b67f9da smooth pixmap transform in emote input item 2020-08-15 20:25:58 +02:00
fourtf
8818f3df18 added emojis to colon popup 2020-08-15 20:22:46 +02:00
fourtf
4d4056ad51 fix compilation on gcc 2020-08-15 19:46:18 +02:00
fourtf
2ad4236f10 fixed compilation 2020-08-15 19:13:50 +02:00
fourtf
f7237dccdd added colon emote popup for ffz and bttv 2020-08-15 18:59:17 +02:00
Leon Richardt
6781482485
Quick Switch: Add support for light themes (#1858) 2020-08-15 10:17:15 +02:00
alazymeme
fba049dbfb
Fix open in browser button for whisper split (#1860)
* Fix open in browser button for whisper split

* Update CHANGELOG.md
2020-08-15 10:15:57 +02:00
Matthew Marlow
8530ffb7e3
added brave browser to supported NM list (#1862)
* added brave browser to supported NM list

* updated CHANGELOG.md
2020-08-15 10:14:59 +02:00
fourtf
b2dab3cf21 xd 2020-08-13 20:59:57 +02:00
fourtf
bbcbad23a1 keybindings page in settings now scrolls 2020-08-13 20:48:47 +02:00
fourtf
46361ea859 some more stuff 2020-08-13 20:20:24 +02:00
fourtf
a566a74ef0 removed some more pointers 2020-08-13 20:10:52 +02:00
fourtf
c83fc043e0 replaced raw pointers with unique_ptr 2020-08-13 20:05:54 +02:00
Leon Richardt
a9080ceb3c
Discord-like Quick Switcher (#1588)
* Proof of Concept for Quick Switcher

* Fix crash when suggestions are empty

* QuickSwitcher: Use tab name instead of a single channel

* Rebase later

* Add missing include for <functional>

* Move QuickSwitcher related classes into own subfolder

* Refactor switcher list items

Now, items are responsible for taking the right action when selected in
the switcher list. This should allow for more focused code and
responsibilities.

* Add note about memory management

* Add option to open channel in a new tab

* Add support for using the mouse

* Spawn switcher popup in the middle of the window

Works reliably on i3 at least. Might need some additional testing on
other WMs (and especially on Windows!).

* Add some icons for switcher items

Note that the final design of the list is not final but I do plan to
incorporate these in the future.

* Set Qt::Dialog window flag on switcher popup

Prevents tiling window managers like i3 from trying to tile the window.

* Rename "SwitcherItem" to "AbstractSwitcherItem"

* Add comments about what items are inserted

* Use custom model and view

Still missing: Currently selected item is not highlighted yet. You can
move between selected items with tab and arrow keys though.

* Add helper function to convert QVariant to AbstractSwitcherItem *

* Remove useless constant

* Highlight currently selected switcher item

* Use a different method for centering QuickSwitcherPopup window

* QuickSwitcherModel: Add documentation

* Add default parameter to QuickSwitcherModel::rowCount

* QuickSwitcherPopup: Add comments

* Remove outdated TODO

* QuickSwitcherModel: Init vector with default capacity

* Remove outdated comment

* Add comment about 0 ms timeout interval

* NewTabItem: Simplify interface

* Only fetch opened splits once

This is better than the prior approach since opened splits cannot change
anyways while the switcher is open.

* Use SplitContainer to pass information instead of custom type

* Allow searching for tab titles as well

Before this commit, only channel names could be searched.

* Refactor switcher item interface to be more flexible

Also show tab name and channel name in the switcher list.

* Add documentation for AbstractSwitcherItem

* Add documentation for NewTabItem

* Add comments about {begin,end}{Insert,Remove}Rows

* Remove unused method

* Replace magic size with named constant

* Add change log entry

Co-authored-by: fourtf <tf.four@gmail.com>
2020-08-13 19:25:51 +02:00
fourtf
ce57ad9b0d fixed typo 2020-08-13 19:13:06 +02:00
fourtf
215e8b7b71 centered split header tooltip 2020-08-13 19:00:56 +02:00
fourtf
1d1fd4d7c0 reordered settings 2020-08-13 18:56:40 +02:00
fourtf
adbe92bd60 NetworkRequests now executes error callback on gui thread 2020-08-13 18:15:40 +02:00
fourtf
b1d9b55bf7 named UI Scale -> Zoom 2020-08-13 18:03:08 +02:00
fourtf
2c74e98023 edited split dropdown 2020-08-13 18:02:23 +02:00
fourtf
8661c83312 updated descriptions in notification settings 2020-08-13 17:36:45 +02:00
fourtf
6f4f66b9d0 use different window frame for user popup based on the setting 2020-08-13 17:17:53 +02:00
fourtf
b2ae2e598f moved cache and appdata settings up 2020-08-13 16:59:42 +02:00
fourtf
a50e95d9f8 changes to settings 2020-08-13 15:55:42 +02:00
Daniel
0e6ca6b097
Vertical tabs (#1815)
* Vertical tabs

* Vertical tab wrapping

* Fix formatting

* Cleanup code

* Updated changelog

* Hide button row if no buttons exist

* Fix tab width expansion

Co-authored-by: fourtf <tf.four@gmail.com>
2020-08-13 15:43:08 +02:00
Karar Al-Remahy
b52d15b9b4
fix: Crash on MS Edge browser ext connection (#1852) 2020-08-13 14:53:36 +02:00
Jonas Schmitt
58725efbd5
Fix styling of channel point reward message text. (#1845)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-08-09 11:50:53 +02:00
Jonas Schmitt
11b8948290
Add support for non-highlight channel point rewards (#1809) 2020-08-08 15:37:22 +02:00
alazymeme
1bd3d10eef
Add an "Open in browser" option to whisper split (#1828) 2020-08-08 15:17:51 +02:00
mmb L
208f9b093c
Added setting to auto close user popup (#1833)
* Set autoclose as true by default to match stable version (2.1.7) behavior
2020-08-08 14:43:26 +02:00
Matthew Marlow
e5f3bc9f3f
Improve Chatterino extension positioning (#1825)
This adds support for left-side chat
2020-08-01 15:42:56 +02:00
pajlada
214afc8fc2
Simplify Tooltip flags on Linux for Sway (#1824) 2020-07-25 15:00:12 +02:00
Matthew Marlow
caa11dda3e
removed linebreak after wrapped TextElements (#1813) 2020-07-19 12:16:58 +02:00
pajlada
382dfbc2fa
[SearchPopup] CTRL+F now focuses the search input (#1812) 2020-07-18 17:52:12 +02:00
Rasmus Karlsson
d25dee10b2 Keep last menu in memory
Might do something about #1790
2020-07-18 17:51:31 +02:00
Daniel
ba06b10135
Open usercard on mention click (#1674) 2020-07-18 16:03:51 +02:00
pajlada
276f3e1d98
[SettingDialog] CTRL+F now selects the Find input (#1811)
* Sneakily make SettingsDialog constructor private at the same time 🕵
2020-07-18 15:56:33 +02:00
pajlada
6ba9c5ec31
Reset the lastMessageHasAlternateBackground{Reverse} values when clearing all messages in a ChannelView. (#1810)
This makes it so that we consistently start with the same values after
having cleared a ChannelView.
Example place where this happens: UserInfoPopup when user messages are
loaded and refreshed
2020-07-18 14:44:10 +02:00
pajlada
ffdf5a144c
Handle conversion of historical CLEARCHAT messages to NOTICE messages in Chatterino instead of relying on the Recent Messages API to handle it for us (#1804)
This has historically been done in the Recent Messages API, but this functionality is being moved to Chatterino instead

* Remove `clearchatToNotice=true` query parameter to the Recent Messages API
2020-07-18 14:12:11 +02:00
fourtf
e928cde2d5 removed debug log 2020-07-12 22:48:29 +02:00
fourtf
9739d8d9c3 hide user profile avatar if obs is running 2020-07-12 22:44:33 +02:00
pajlada
515657be19
Add proper IRC text/word wrapping (#1802)
Fixes #1781
2020-07-11 15:12:17 +02:00
Mm2PL
c80cdc25b3
Adds support for \x0f formatting character in IRC. (#1794)
The \x0f character unsets the current foreground and background colors
as well as other formatting which is currently not interpreted by
Chatterino
2020-07-11 14:57:30 +02:00
Paweł
682caf6b69
Add support for more image uploader services (#1741)
The list of links that have been uploaded is now also stored in the json format instead of csv
2020-07-05 14:32:10 +02:00
Paweł
b66c2478a0
Added higher tier information to sub badge tooltip (#1759) 2020-07-05 14:08:28 +02:00
mmb L
0b0fdb4ba2
Fix emote popup remember last position by moving setStayInScreenRect into EmotePopup constructor (#1752) 2020-07-05 14:07:03 +02:00
Paweł
defc12c129
Added missing Keybinds to settings page (#1770)
Added:
- Zoom out/in
- reset zoom
- reopen last closed split
- select last tab
Also updated alt + arrows, so its a bit more readable
2020-07-05 14:05:39 +02:00
Paweł
208e7a68b7
Added account name to window title (#1771) 2020-07-05 14:04:39 +02:00
alazymeme
1277c72b02
Fix a spelling mistake in the settings dialog (#1786)
from "seperate" to "separate"
2020-07-05 13:55:32 +02:00
pajlada
cdf85c5084
Message menu now holds a shared pointer to a layout (#1787)
This ensures that the layout will survive for the lifetime of the menu,
     so any of the menu actions can with confidence do things with the
     layout, not having to worry whether it's dead or not.

This means that the user, while having the message menu open, could have
one extra MessageLayout alive. I have ensured that when the menu dies
the reference to the shared pointer dies with it.
2020-07-05 13:52:24 +02:00
pajlada
e4af009fda
[irc] Partially fix IRC colors (#1594)
Doesn't fix #1379 but it is a big step forward.

Needs some "real life" testing, but should be good.
2020-07-04 15:15:59 +02:00
Mm2PL
0f9a612c55
Move over wiki documentation to repo in Markdown format (#1760)
* Change in-client regex help link to point to the github repository
2020-07-04 13:40:13 +02:00
Daniel
de2108b8c5
Fix highlighted whisper crash (#1756) (#1757) 2020-06-27 13:20:21 +02:00
Paweł
205d658f80
Fixed /usercard on linux (#1755)
- /usercard command doesn't close imidiatelly
- removed "Dialog" window flag. It seems to be unnecessary and causes issues (on left-clicking user name it sometimes didnt render unless you clicked 2-3 times.
2020-06-27 12:58:44 +02:00
Mm2PL
ddd4a54e0e
Add missing tab completion for commands (#1754)
adds completion for /usercard, /follow, /unfollow, /ignore, /unignore
2020-06-27 11:30:05 +02:00
0xRainy
0e564065ba
Added recent messages to UserInfoPopup (#1729)
There's a Refresh button added to the popup to refresh the users messages in the popup. Not automatic now while we figure out how fast/slow it would be.

Co-authored-by: dnsge <sagedanielr@gmail.com>
2020-06-21 14:15:14 +02:00
Paweł
c5f6fd7568
made --version output consistent with AboutPage (#1739)
When using "chatterino --version" it now also outputs commit and date of build (if on nightly), just like in Settings -> About
2020-06-16 03:30:35 -04:00
Paweł
5e0ac814cf
Removed help tooltip for splits (#1728) 2020-06-14 12:39:17 +02:00
Rasmus Karlsson
666b577bd5 Close UserInfoPopup when Escape is pressed 2020-06-14 12:26:50 +02:00
Rasmus Karlsson
dad9677bba BaseWindow: Make sure windowTopMost signal is attached to our list of managed connections 2020-06-14 12:26:23 +02:00
23rd
78dab081d8
Added missed line break to header with empty thumbnail. (#1705) 2020-06-14 11:51:54 +02:00
Paweł
a2f2cac3fd
Added logging for uploaded images (#1712)
A list of uploaded images are stored under the message logs directory as a csv file
2020-06-13 14:53:09 +02:00
Roger Chavez
1eeb09a78e
Display authors name on hover for supported emotes (FFZ only for now) (#1721)
Co-authored-by: Paweł <44851575+zneix@users.noreply.github.com>
2020-06-13 14:15:22 +02:00
alazymeme
f3f8b2d024
Fix popout player url (#1730)
* Update TwitchChannel.cpp

* Reformatting forsenY

* fixed other things

* xd

* Update TwitchChannel.cpp
2020-06-12 19:44:05 +02:00
alazymeme
39cc421f95
Improve web extension position (#1717) 2020-06-07 11:33:45 +02:00
Paweł
50d669a1af
Added possibility to change image uploader's form body with Enviroment Variables (#1709) 2020-05-30 12:30:30 +02:00
Daniel
ccdbedb93c
Fix "Always on top" setting for MacOS and Linux (#1708)
Closes #1166
2020-05-30 11:32:25 +02:00
apa420
6d5ba0c442
Show thumbnails for live streams inside of the split header tooltip (#1702)
This feature is enabled by default and can be disabled in the Settings dialog with the "Show stream thumbnail" setting
2020-05-24 11:57:15 +02:00
Daniel Pasch
a230bc7c89
improve tooltips by only positioning the element once we know it's in… (#1693)
Things like tooltips now only sets its position once. The position used to be set twice and could cause some annoying flickering.
2020-05-24 11:51:16 +02:00
thekalio
56d09ac198
Show visual feedback when BTTV and FFZ emotes are loaded (#1671)
Upon joining a channel or pressing F5, BTTV and FFZ emotes are
(re)loaded. This change adds visual feedback of the network requests and
their outcome, in the form of a system message in the associated
channel's chat window. 

Non-error messages are suppressed when joining a
channel (which automatically loads emotes).
2020-05-16 12:43:44 +02:00
Daniel Pasch
dd5455d1cf
Improve window "move within desktop rectangle" code (#1685)
This is used by tooltips to make sure they're always visible

Behaviour changed to stick to screen instead and flip up if no space left below cursor
2020-05-16 12:16:17 +02:00
Daniel
680b500993
Fix update checker not working on macOS (#1642)
* Prevent update dialog from going off screen

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-05-10 13:13:47 +02:00
Daniel Pasch
c5a7205d12
move pause-icon to the left and increase size and visibility (#1660) 2020-05-10 12:55:13 +02:00
Daniel Pasch
be6ef6dcd5
open twitch usercard on middle mouse (#1669)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2020-05-10 12:45:19 +02:00
Daniel Pasch
8532c6d3bc
Add thumbnails to link tooltips if available (#1664)
This feature is off by default and can be enabled in the settings with the "Show link thumbnail" setting. This feature also requires the "Show link info when hovering" setting to be enabled.

thumbnails support is only there for direct image links, twitch clips, and youtube links. can be expanded in the future in the /api repo

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-05-10 12:11:10 +02:00
apa420
1a4a468ab1
Set the application name, version, and domain (#1680)
This helps window and desktop managers figure out what to do with Chatterino
2020-05-10 10:54:55 +02:00
pajlada
001dce5da1
Create uploader to i.nuuls.com (#1332)
This commit adds support for uploading images to i.nuuls.com from clipboard or by dragging an image into a split.

Documentation for how to self-host the image uploader is available in ENV.md

By default, you will be asked before an image upload takes place. There's an option in the dialog to not be asked again, if that option is chosen you can revert that choice in the settings dialog.
2020-05-09 07:34:27 -04:00
Mm2PL
2b1c9794b7
Add confirmation box for uploads. 2020-05-09 13:14:41 +02:00
pajlada
a08754b409
Remove more debug output (#1677) 2020-05-09 13:13:30 +02:00
SLCH
14783d52a7
fix typo (#1675) 2020-05-07 00:21:08 +02:00
pajlada
ef9c631c65
Only listen to new pubsub "moderator added" syntax (#1659) 2020-05-03 12:21:00 +02:00
Daniel Pasch
7719816891
Middle mouse button can now also open links (#1644) 2020-05-02 13:19:58 +02:00
pajlada
b4eb56f362
Remove "Online Logs" functionality (#1649)
The /logs command will direct users to the /user command instead

Changelog has been updated to reflect this change
2020-05-02 12:18:35 +02:00
Mm2PL
84007d2edb Merge remote-tracking branch 'main_repo/master' into git_is_pepega
check if works with new changes from master
2020-04-29 00:42:12 +02:00
fourtf
370e6dc61b fixed scrollbar thumb not moving 2020-04-21 20:57:16 +02:00
fourtf
354ad6a362 Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-04-19 21:06:06 +02:00
fourtf
6052846bc3 added checks to mitigate floating point crashes 2020-04-19 21:05:40 +02:00
pajlada
3091842ddc
Clarified that Redeemed Highlights are from Channel Points, not Bits (#1635) 2020-04-19 12:18:28 +02:00
fourtf
6b512d1052 Merge branch 'master' of https://github.com/chatterino/Chatterino2 2020-04-18 20:06:15 +02:00
fourtf
120f73db13 added additional checkbox for highlighted bits messages, fixes #1637 2020-04-18 20:05:05 +02:00
Mm2PL
3d1950b32e Merge remote-tracking branch 'main_repo/master' into git_is_pepega 2020-04-18 13:39:01 +02:00
Leon Richardt
b4a2ced180
Scroll Using Click-and-Drag with Middle Mouse Button (#1559)
* ChannelView: Rename mouse event related members

This is more in line with the naming of the other members as well as
future members.

* ChannelView: Add ability to scroll with middle mouse button

* Add scrolling resources

* Use custom icons for scroll cursor

* Slightly refactor scrolling logic

* Respect screen scaling when calculating scroll offset

* Nicer scrolling UX

This change allows scrolling to be feel smoother when close to the
starting point.

* Add scrolling with keeping middle mouse pressed

This mimics the behavior of browsers as well.

* Refactor ChannelView::enableScrolling

* Disable drag-scrolling on left or right click
2020-04-18 11:09:22 +02:00
mmb L
2076715e23
prevent moveTo from changing popup position on every launch (#1630) 2020-04-18 10:59:27 +02:00
fourtf
beda9e555f fixed scrollbar meme 2020-04-15 23:25:57 +02:00
fourtf
097f4ccb3a refined highlight and added bits highlights 2020-04-15 23:15:45 +02:00
mmb L
ebfcb49e8c
Make emote popup remember last position (#1580)
* Use existing moveTo to ensure window stay within desktop geometry
2020-04-13 13:15:51 +02:00
pajlada
6f926e7d77
Get better timeout messages for self (#1629)
* Don't require mod rights to listen to moderation actions topic

* Format timeout messages directed at you differently

e.g. "You were banned" or "You were timed out for 4h20m", also including
reason if specified.
2020-04-13 12:31:06 +02:00
apa420
2ac0b60952
option to hide viewer count and duration of the stream when you hover on the split (#1626)
Fixes #1621
2020-04-13 12:24:27 +02:00
apa420
3138efba25
Fixes #1620 (#1627)
Fixes #1620
2020-04-11 12:13:38 +02:00
23rd
f489d23a8d
Added ability to open stream in external video player via URI scheme. (#1623) 2020-04-11 11:43:35 +02:00
Rasmus Karlsson
5afb2800c9 Make the "user info popup" crash less likely (hack v2) 2020-04-05 13:00:16 +02:00
apa420
3a05700744
Changed text to moderator (#1619) 2020-04-05 12:34:16 +02:00
Mm2PL
8f076d8075
Internal changes
Add missing `static` and `const`
2020-03-29 13:47:52 +02:00
Mm2PL
175e41c586
Bring back seconds in timestamps (#1616)
Fixes #1605
2020-03-29 13:06:44 +02:00
Mm2PL
d1d17d4e4b
Add new zero-width emotes from BTTV (#1613)
New zero-width emotes are cvMask and cvHazmat

Fixes #1612
2020-03-27 21:23:32 +01:00
Leon Richardt
95c909b337
Better Highlights: Fix Wrong Color for Migrated Phrases (#1568)
* Better Highlights: Fix wrong color for migrated phrases

Prior to this commit, no default color was set when an "old" highlight
phrase (one added prior to #1320 / 5957551) was deserialized. This
commit makes highlight phrases uses the default self-highlight color for
these situations. This approach is reasonably sensible since that color
is also similar to the old highlight color.

Fixes #1565.

* Update default self-highlight color

The new default color was suggested in [1] by @RAnders00. Refer to the
link for further information.

[1]: https://github.com/Chatterino/chatterino2/issues/1565#issuecomment-590441625

* Theme: Remove highlight color

As highlight color is independent of the selected theme now, the member
has been removed from the `Theme` singleton. Instead, the fallback theme
color is defined in `HighlightPhrase` now.

Uses of `themes->messages.backgrounds.highlighted` have been replaced
with `HighlightPhrase::FALLBACK_COLOR` accordingly.

* Update src/controllers/highlights/HighlightPhrase.hpp

attempt to just remove constexpr

Co-Authored-By: Ruben Anders <ruben.anders@robotty.de>

* Initialize FALLBACK_COLOR outside header file

* Rename FALLBACK_COLOR to FALLBACK_HIGHLIGHT_COLOR

In preparation for the next commit introducing a new variable.

* Moved subscription highlight color into HighlightPhrase

* Use actual subscription color as a fallback

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Ruben Anders <ruben.anders@robotty.de>
2020-03-22 13:14:07 +01:00
pajlada
15cf8bfcfa
Don't set game to game id, always wait for the game name to be resolved (#1609)
Fixes #1606
2020-03-22 11:22:36 +01:00
Leon Richardt
17aa3f71cd
Remove Debug Output In Many Different Places (#1607)
* Application.cpp: Remove whisper debug output

* TwitchAccount.cpp: Remove AutoMod debug output

* BaseWindow.cpp: Remove mouse tracking debug output

* RunGui.cpp: Remove debug output for cleared cache items

* Notebook.cpp: Remove debug output for selected widgets

* LimitedQueue.hpp: Remove commented debug output

* IrcMessageHandler.cpp: Remove debug output when receiving whispers

* UserInfoPopup.cpp: Remove user name debug output

* ChannelView.cpp: Remove debug output when clicking a message

* Image.cpp: Remove commented debug output

* AttachedWindow.cpp: Remove commented debug output

* SplitOverlay.cpp: Remove commented debug output

* TwitchMessageBuilder.cpp: Remove debug output for highlights

* TwitchMessageBuilder.cpp: Remove debug output for blocked messages

* PubsubClient.cpp: Remove debug output on PubSub::listen

* PubsubClient.cpp: Remove debug output on PubSub::tryListen

* IncognitoBrowser.cpp: Remove debug output of browser command

* NativeMessaging.cpp: Remove debug output of message
2020-03-19 18:06:21 +01:00
pajlada
0f2355459d
Make ModBadgeElement a descendant of BadgeElement instead of EmoteElement (#1602)
this causes it to behave as it should, and not be scaled when emotes are
scaled. :)
2020-03-14 13:06:24 +01:00
pajlada
9a8b85e338
Twitch API: v5 to Helix migration (#1560)
There's a document in src/providers/twitch/api which describes how we interact with the Twitch API.
Keeping this up to date might be a healthy way for us to ensure we keep using the right APIs for the right job.
2020-03-14 12:13:57 +01:00
pajlada
20612a1381
Fix repeated signal connects on reconnect in irc server (#1576) 2020-03-01 06:05:08 -05:00
fourtf
26d3078def removed unused variables 2020-02-29 13:58:26 +01:00
mmb L
82354327e5
Add option for username tab completion only with an @ prefix (#1573)
* add an additional check for username completion without an @ prefix

* Changed setting name

* default userCompletionOnlyWithAt to false
2020-02-29 11:52:49 +01:00
fourtf
1e1a56bb87 fixed position of user icon head 2020-02-28 19:52:15 +01:00
fourtf
269d2ee67f improved user and settings icon 2020-02-28 19:48:04 +01:00
fourtf
d83b597c75 removed unused function in SettingsDialog 2020-02-28 19:12:22 +01:00
fourtf
b887f1c90e fix crash 2020-02-28 19:05:50 +01:00
fourtf
ba5d842767 removed MutedChannelController 2020-02-28 19:04:25 +01:00
fourtf
e537277fa8 did some more things and stuff 2020-02-23 23:07:28 +01:00
fourtf
5ad427bd61 moved some Settings from Application to Settings 2020-02-23 22:15:13 +01:00
fourtf
f8a9850151 absorbed HighlightController into Application 2020-02-23 21:18:40 +01:00
fourtf
d0a81f3fe7 refactored TaggedUsers and Ping 2020-02-23 20:34:00 +01:00
fourtf
df91ea44c4 refactored ModeratinActions 2020-02-23 20:10:47 +01:00
fourtf
8ae9abb250 refactored IgnoredController 2020-02-23 20:01:35 +01:00
fourtf
89389608e9 removed compat class for SignalVector 2020-02-23 19:52:10 +01:00
fourtf
7e49371ba1 fixed formatting 2020-02-23 19:44:37 +01:00
fourtf
2ebe07bace removed compat functions in SignalVector 2020-02-23 19:44:13 +01:00
fourtf
e2c493f369 removed compat aliases for SignalVector 2020-02-23 19:37:02 +01:00
fourtf
843e2ad994 refactored HighlightController 2020-02-23 19:31:43 +01:00
fourtf
4a5dc80bc6 some more refactoring 2020-02-23 17:45:59 +01:00
fourtf
e1838154ff refactored SignalVector 2020-02-23 17:11:15 +01:00
pajlada
2b5c6ffe33
Remove chatroom code (#1561)
People who had chatrooms still open should notice no difference at all, since it will just try to join a channel with the chatroom name.

Documentation for the closing/deprecation of twitch chat rooms:
    https://discuss.dev.twitch.tv/t/rooms-are-closing-how-it-affects-the-api-and-irc/22996
    https://dev.twitch.tv/docs/change-log (see 2020-01-10 entry)
2020-02-22 06:05:36 -05:00
fourtf
03cf6e81ff fixed spaces and margins in general settings 2020-02-21 03:01:48 +01:00
fourtf
5a2633ef5c fixed bug 2020-02-21 02:16:35 +01:00
fourtf
927ee09221 reordered resize call 2020-02-21 02:07:34 +01:00
fourtf
70e5bd1bfd lazily initialize settings pages 2020-02-21 01:59:58 +01:00
fourtf
78ca0cb84f moved settings tab icons to SettingsDialog 2020-02-21 01:22:50 +01:00
fourtf
39d40d6db6 some settings refactorings 2020-02-21 01:17:22 +01:00
fourtf
fbbf34878f getSettingsPage -> page 2020-02-21 00:46:19 +01:00
fourtf
0bb112a3c2 improved performance of opening the settings dialog 2020-02-20 23:47:25 +01:00
fourtf
4a69095d5f fix 2020-02-20 23:43:54 +01:00
fourtf
d6c3c99605 list settings can be reordered now 2020-02-20 23:16:46 +01:00
Leon Richardt
d0839ac36e
Make pre-defined highlight columns unselectable
Fixes #1539.
2020-02-20 00:10:10 +01:00
fourtf
6229b2f434 sync gif emotes of same length 2020-02-16 14:24:11 +01:00
Rasmus Karlsson
7a08d73434 Fix preview on hover not working when Animated emotes options was disabled.
Fixes #1546

This change introduces a "window timer" that runs every 100ms that we
use to update the pixmap if necessary, since there is no signal for "let
me know when this image is done loading".
2020-02-15 17:16:10 +01:00
Rasmus Karlsson
64c58e724a Use same sorting method in emote popup as in the completion model
Fixes #1549
2020-02-15 15:52:42 +01:00
Rasmus Karlsson
b5764c6a1f Remove stupid assert in PubSubClient
Fixes #1550
2020-02-15 14:49:22 +01:00
tuckerrrrrrrrrrrr
3fd05849a2 ctrl + end scrolls to the bottom of chat 2020-02-10 17:00:33 -08:00
fourtf
da59232913 "Open in player in browser" -> "Open player in browser" 2020-02-10 17:49:45 +01:00
fourtf
59aa59106e updated R9K shortcut text 2020-02-10 17:26:51 +01:00
fourtf
d16732f023 moved and renamed similarity settings to R9K 2020-02-10 17:25:13 +01:00
Mm2PL
979bf5e74a
Add missing return 2020-02-10 16:55:59 +01:00
fourtf
0d519b479c changed wording in settings 2020-02-10 16:41:49 +01:00
Mm2PL
dc9acf1bf3
Sort imports 2020-02-09 11:15:39 +01:00
Mm2PL
d7a7df7427
Merge branch 'master' into git_is_pepega 2020-02-08 16:42:47 +01:00
Mm2PL
a929053c4b
Dropping images now works on the whole split :) 2020-02-08 16:41:01 +01:00
Mm2PL
d53bfbfdf2
Fixes and more changes Pajlada requested :)
- get rid of `getImageFileFormat`, now uses QMimeDatabase
 - now uses a `QMutex` to be thread safe,
 - uploading two things at the same time is now impossible
2020-02-08 16:26:32 +01:00
Mm2PL
553e8f2f7b
Delete useless else block 2020-02-08 15:47:27 +01:00
Mm2PL
916fbb2551
Fix a couple things Pajlada pointed out :)
Change `CHATTERINO2_IMAGE_PASTE_SITE_URL` to `CHATTERINO2_IMAGE_UPLOADER_URL`
Remove newline at the end of `docs/ENV.md`
2020-02-08 15:44:03 +01:00
Leon Richardt
b8953157cc
Better Highlights: Rework highlight parsing order (#1524)
This commit is in response to #1523.

Whispers are now only added to the `/mentions` tab if they also match a
user name or phrase highlight. On a related note, the `highlightVisual_`
member has been removed as it is no longer necessary.
2020-02-02 08:33:25 -05:00
hemirt
1fd64be7f5
Makes it possible to hide one man spam (#1496) 2020-02-02 08:31:37 -05:00
Leon Richardt
497ce2d2f2 Better Highlights: Fix Unintentional Color Update (#1522)
* HighlightPhrase: Fix wrong documentation

* Use right constructor for new HighlightPhrases

* Fix preset highlights changing unintentionally

Prior to this commit, the callback for reacting to user input on the
highlight table (namely, `HighlightingPage::tableCellClicked`) only
checked for the row number in order to determine whether preset
highlights (self highlights, whispers, and subscriptions) need to be
updated. Hence, changing rows 0 through 2 in the "User Highlights" tab
would also update the preset highlights.

This commit adds a check to determine whether the callback was triggered
by the "Messages" highlight tab, or not.
2020-01-27 00:16:09 +01:00
Mm2PL
bfee75ec58 Show the toggle mod mode button when mod buttons are enabled. (#1518)
* Fix #1288

Show the toggle mod mode button when mod buttons are enabled.

* Automatic formatting ain't good enough i guess.
2020-01-26 10:10:40 +01:00
Leon Richardt
93a6c55ed3 Fix subscription messages triggering split highlights (#1519)
Since #1320, subscription messages are treated as highlights in order to
allow customization. This caused subscription messages to highlight the
split(s) the message was received in. This is not intended behavior.

This commit fixes the issue by additionally checking if the
`Subscription` flag is set on a highlighted message.
2020-01-26 10:08:25 +01:00
pajlada
a078d116d2
Fix ping payload not breaking portable mode (#1516)
This payload was initialized before main was called, so before the
QApplication was initialized. This broke our portable checker

Fixes #1481
2020-01-25 14:33:38 +01:00
apa420
4b1202437b Sort emotes alphabetically in emote picker (#1499) 2020-01-25 13:05:59 +01:00
Mm2PL
410de82261 Make a command that shows the Chatterino user card (/usercard) (#1375)
* Make UserInfoPopup be able to show that fetching the information failed.
2020-01-25 12:59:31 +01:00
Rasmus Karlsson
71337c4dbe Add missing include in ColorPickerDialog.hpp for MSVC2017 2020-01-25 11:28:10 +01:00
Leon Richardt
5957551d06 Better Highlights (#1320)
* Support for user-defined sounds and colors

* Make color & sound columns selectable

* Add custom row for subscription highlights

* Add subscriptions to custom highlights and centrally manage highlight colors

* Dynamically update message highlight colors
2020-01-25 11:03:10 +01:00
Alexey Kutepov
00414eb779 Synchronize Clipboard with Primary Selection on Linux when copying (#1502)
* Introduce crossPlatformCopy()

It sets the text of the clipboard and also syncs it with the selection
clipboard if it is supported. Such behaviour is pretty common for X11
application on Unix-like Operating Systems.

* Fix clang-format remarks

* Fix weird clang-format config discrepancy between my machine and CI

* Remove clipboard argument from crossPlatformCopy

* Fix clang-format remarks
2020-01-24 21:36:51 +01:00
Marcin Moskal
809b63bb5e Change CHATTERINO2_TWITCH_SERVER_PORT env default to 443 (#1513) 2020-01-24 21:30:35 +01:00
Rasmus Karlsson
81b79e14b5 Fix a crash in TwitchChannel::refreshCheerEmotes
If you closed down the split right after the refreshCheerEmotes call was
made, then refreshCheerEmotes used this after it was free'd
2020-01-12 10:06:01 +01:00
pajlada
265bab1ce6
Add the ability to tab through the emote menu (#1483)
Fixes #1478
2020-01-05 09:45:10 +01:00
DatGuy1
a6c91afde4 Remove support for CBenni's Logviewer (#1458) 2020-01-03 21:11:00 +01:00
Rasmus Karlsson
7f4b7564da Fix a windows-only occurence of log() 2020-01-03 21:08:27 +01:00
pajlada
90296a2d85
Expect a PONG response to our PINGs (#1476)
If no PONG was received, force a reconnection

Fixes #1164
2020-01-03 20:55:13 +01:00
pajlada
3c8992cac1
Remove FMT dependency (#1472)
All occurrences of log() have been replaced with qDebug()

bonus meme: remove a bunch of std::string usages in the pubsub client

Fixes #1467
2020-01-03 20:51:37 +01:00
Mm2PL
6c0b53a996
Fix wrong QSrting::arg() being called by using two calls. 2020-01-03 15:31:39 +01:00
Mm2PL
a86367f4be
Fix issues pointed out in reviews :)
Fixed PR BabyRage
2020-01-03 14:43:05 +01:00
Mm2PL
86318590bf
Fix formatting. 2020-01-01 21:27:13 +01:00
Mm2PL
20d8da8f2d
Merge branch 'master' into git_is_pepega 2020-01-01 21:06:29 +01:00
Rasmus Karlsson
f02988b657 Correct "Emote Link" for BTTV Global and Channel emotes 2019-12-31 21:21:53 +01:00
fourtf
845c8fa638 2.1.7 2019-12-29 17:35:58 +01:00
Rasmus Karlsson
db860b5907 fix semi-deterministic bug with link parser 2019-12-29 16:42:20 +01:00
Rasmus Karlsson
25a2c04b02 Add lists of valid and invalid links 2019-12-29 15:46:29 +01:00
fourtf
17ff0b9d83 fixed case sensitivity in link matching 2019-12-29 15:45:19 +01:00
fourtf
e12f76387a replaced link regex with object oriented assembly 2019-12-29 14:15:45 +01:00
fourtf
443aba3f9c fixed tooltip deselect issue 2019-12-29 11:14:55 +01:00
fourtf
c5e8c5396f oops 2019-12-26 23:41:31 +01:00
fourtf
b70806409d workaround for white border 2019-12-26 23:23:59 +01:00
fourtf
4911c62764 2.1.6 2019-12-26 22:18:46 +01:00
fourtf
6111985b77 replaced link regex 2019-12-26 22:00:31 +01:00
apa420
be898e88dd Add setting to stack bits (#1452) 2019-12-21 10:36:46 +01:00
pajlada
d5001b97f4
allow customizing twitch server parameters through environment variables (#1449) 2019-12-21 10:11:23 +01:00
apa420
0d227ab2f5 Various bits fixes (#1443)
We now make sure we don't render any fake bits
Bits now show their real value properly
2019-12-19 21:36:02 +01:00
Rasmus Karlsson
11442bba20 move titleRefreshPeriod out of the TwitchChannel class
this fixes a "use of uninitialized variable" error
2019-12-16 08:55:38 +01:00
SupDos
ba685b291f Typo in Settings (#1441)
small one character typo
2019-12-15 15:58:58 +01:00
Mm2PL
62cf7cbea2 Remove unmod button for moderators (#1439)
Fixes #1419
2019-12-14 13:22:49 +01:00
Rasmus Karlsson
58e909067e the EmotePopup now inherits from the BasePopup instead of BaseWindow
Fixes #1437
2019-12-14 12:58:15 +01:00
Rasmus Karlsson
55080bd354 Add a "BasePopup" class, which helps add default functionality to any popups (like the search popup) 2019-12-14 12:58:15 +01:00
Rasmus Karlsson
bb9eb582ec replace the QStringList with a QSet<QString> as suggested by RAnders00
2d3fb8950e (r36317456)
2019-12-14 12:13:19 +01:00
Rasmus Karlsson
2d3fb8950e hardcoded list of BTTV's christmas emotes 2019-12-05 20:10:56 -08:00
Rasmus Karlsson
bcc53c9aa7 Clean up Twitch badge appending code 2019-12-01 13:32:41 +01:00
apa420
c00f97ac53 Show exact months subscribed in Subscriber and Founder badge tooltip (#1424) 2019-12-01 02:20:56 -08:00
23rd
d99102cd23 Fixed closing tab with middle button when tab management is not allowed. (#1426) 2019-12-01 02:00:06 -08:00
Ian
e3d3f12425 Fixes C1001 compiler error on release builds with MSVC (#1417) 2019-11-16 02:58:13 -08:00
Rasmus Karlsson
d4474c4ed4 Fixes a bug where the insecure credential store could not save credentials.
Part of the fix for #1377
2019-11-02 14:05:59 +01:00
Rasmus Karlsson
0e1f1196d6 reformat 2019-11-02 12:36:42 +01:00
W Gomes
ce90253aac Removed unused variables (#1394)
* Removed unused variables

Fixes compiler warning C4189: Local variable is initialized but not
referenced

* fixed typo
2019-10-29 21:15:06 +01:00
Felanbird
6f5c4cacf8 moved hardcoded global-badges to be more inline with browser chat (#1392) 2019-10-27 13:18:07 -07:00
Felanbird
0a8d50223d switch badge tooltips from description to title (#1384) 2019-10-27 07:46:08 -07:00
Mm2PL
6c261459cf
Renamed TypedBytes to RawImageData, type to format.
FeelsGoodMan Clap
2019-10-22 17:21:46 +02:00
Mm2PL
736df48788
Smol fix. 2019-10-22 16:04:36 +02:00
apa420
a12bd3df18 Now show joined setting doesn't also show parted and parted shows parted (#1376) 2019-10-20 20:11:12 +02:00
Mm2PL
e005fe806a
Comment stuff
This includes:
 - Adding two comments
 - Fixing one spelling mistake.
2019-10-19 11:41:23 +02:00
CommName
dc1e4d2544 Show the title when offline (#1347)
* Channel text for offline chats

* Title refresh timer

* Fixed typo

* Refresh title when room id is loaded

* removed timer

* Typo

* Loaded on demand when hovered over

* removed the extra api request

* Moved refreshTitle function call

* Added thottling for 10s

* Fixed formating style

* reformat

* make status fetcher safer

* Requested changes from fourtf
2019-10-12 15:09:12 +02:00
fourtf
8153aa7d40 fixed #1362 rightclick on empty split crash 2019-10-12 11:17:40 +02:00
Mm2PL
77af5d54cf
Change more things.
Things changed:
 - make getImageFileFormat case insensitive
 - use QTextEdit::dragEnterEvent instead of QAbstractScrollArea::dragEnterEvent,
 - Make dragEnterEvent() and dropEvent() overrides.
2019-10-11 17:00:26 +02:00
Mm2PL
bf434f3ac5
Fix the stupid things.
This includes:
 - NuulsUploader.cpp
   - changing upload delay to a #define
   - moving png conversion code to `boost::optional<QByteArray> convertToPng(QImage image)`
   - in uploadImageToNuuls: moving content type definition to a variable, move things around a bit to eliminate an if
   - in upload: adding a comment about `source->hasUrls()` and `source->urls()`, change `uploadQueue.size()` to `!uploadQueue.empty()`
 - ResizingTextEdit.cpp
   - changing #include order
2019-10-11 15:41:33 +02:00
fourtf
6f710823ed renamed getInstance() -> instance() for singletons 2019-10-07 22:42:34 +02:00
fourtf
aeab038bc8 removed get function prefix in Version 2019-10-07 22:32:11 +02:00
fourtf
ec2a2f30b7 fixed windows compilation 2019-10-07 22:29:35 +02:00
fourtf
bc55a05480 clears cache files > 14 days 1 min after start 2019-10-07 22:14:00 +02:00
fourtf
a894753596 renamed isVIP -> isVip 2019-10-07 20:31:34 +02:00
fourtf
f25e52b218 attach extension to opera/vivaldi or all windows 2019-10-07 20:23:28 +02:00
fourtf
2fc799f85a run destructor of Frames in gui thread 2019-10-07 20:03:15 +02:00
fourtf
0ada53a3c1 tell user they might downgrade in update popup 2019-10-07 19:53:46 +02:00
fourtf
594c0fb255 print version on --version switch 2019-10-07 18:57:33 +02:00
fourtf
05bcf22af4 clear search field when reopening settings 2019-10-07 17:30:47 +02:00
fourtf
b1cbf09427 removed appbase directory 2019-10-07 15:46:41 +02:00
fourtf
9f52564b9c fixes tab and split header title text size 2019-10-06 21:31:59 +02:00
fourtf
4ab8a7e9dd Fixes #1312 pixelated scaling on kde 2019-10-06 20:31:29 +02:00
Cranken
f89ca517ce Fix first line of emotes in emote picker window being shifted. 2019-10-06 17:29:18 +02:00
fourtf
c6e1a1de2e Revert "changed default port from 443 to 6697"
It doens't appear to be the issue that builds aren't working

This reverts commit 56b7a3616f.
2019-10-05 19:42:46 +02:00
fourtf
56b7a3616f changed default port from 443 to 6697 2019-10-05 19:29:19 +02:00
fourtf
16b2b2458c Fixes #1331 emote picker out of bounds 2019-10-05 18:17:29 +02:00
Cranken
252e2e8bae Fix tooltips in chat not showing on ctrl hover. 2019-10-05 17:36:03 +02:00
fourtf
b64e2e9b70 Revert "Revert "added error message if settings initalizion failed""
This reverts commit f3ff40385d.
2019-10-05 16:40:04 +02:00
fourtf
50a68e380c Revert "test #7"
This reverts commit 645272718e.
2019-10-05 16:13:15 +02:00
fourtf
96a6d94699 Revert "Test #6"
This reverts commit 533516a9ed.
2019-10-05 16:13:11 +02:00
fourtf
645272718e test #7 2019-10-05 15:12:02 +02:00
fourtf
533516a9ed Test #6 2019-10-05 14:40:42 +02:00
Rasmus Karlsson
3a8f91d6f6 Change default port from 6697 to 443 2019-10-04 13:06:15 +02:00
pajlada
2284b713c1
Merge pull request #1353 from leon-richardt/comma-mention-fix
Fix Bug Regarding Mentions with Comma
2019-10-04 04:01:37 -07:00
fourtf
c46a65d173 Revert "disabled updates as a test"
This reverts commit f8c4ac8c17.
2019-10-03 22:18:03 +02:00
fourtf
245001c2f0 Revert "test #2"
This reverts commit 30587e18c9.
2019-10-03 22:18:01 +02:00
fourtf
44551b4009 Revert "test #3"
This reverts commit 08004b9181.
2019-10-03 22:17:59 +02:00
fourtf
9d1213ecad Revert "test #4"
This reverts commit a08ca1333f.
2019-10-03 22:17:57 +02:00
fourtf
34749c9d3d Revert "test #5"
This reverts commit 5aff7b0b40.
2019-10-03 22:17:54 +02:00
fourtf
f3ff40385d Revert "added error message if settings initalizion failed"
This reverts commit 2b9b96abb5.
2019-10-03 22:12:22 +02:00
fourtf
5aff7b0b40 test #5 2019-10-03 21:52:10 +02:00
fourtf
a08ca1333f test #4 2019-10-03 21:40:59 +02:00
fourtf
08004b9181 test #3 2019-10-03 21:29:18 +02:00
fourtf
30587e18c9 test #2 2019-10-03 20:36:22 +02:00
fourtf
f8c4ac8c17 disabled updates as a test 2019-10-03 20:09:58 +02:00
fourtf
2b9b96abb5 added error message if settings initalizion failed 2019-10-03 18:05:56 +02:00
fourtf
7fa2c7b4a5 init irc and restart on crash is false by default 2019-10-03 17:37:09 +02:00
Leon Richardt
d6bcd61289
Fix bug regarding mentions with comma
While tab-completing user names already respected the setting for
mentions with commas, right-clicking user names did not.

This commit adds the missing check in ChannelView::handleMouseClick.
2019-10-03 15:30:51 +02:00
fourtf
375aa221eb messed up the operator 2019-10-03 10:13:49 +02:00
fourtf
033c97e85d disabled hash<QString> for Qt 5.14 2019-10-03 10:07:14 +02:00
fourtf
e31371fdf5 Fixes #1344 Copying user id adds "ID: " 2019-10-01 22:38:21 +02:00
TranRed
1d306c1dd9 Revert "broke everything (revert if needed)"
This reverts commit f9d50954d9.
2019-09-27 14:05:03 +02:00
TranRed
f9d50954d9 broke everything (revert if needed) 2019-09-27 13:51:12 +02:00
Mm2PL
970503b755
Apply last suggestion and fix mistake not letting the user upload an
image after attempting to upload a file that is not an image.
2019-09-26 14:42:30 +02:00
Mm2PL
205122ee68
Avoid copying a QUrl in upload() when pasting files from the filesystem. 2019-09-26 14:24:41 +02:00
fourtf
9874bd779a formatted all files with clang 9 2019-09-26 00:51:05 +02:00
fourtf
e47a043a27 updated .clang-format for clang 9 2019-09-26 00:15:07 +02:00
fourtf
848d5c8789 Fixes #1336 Pause on hover breaks moves selection 2019-09-25 23:49:30 +02:00
Mm2PL
b55d08df8e
Renamed the pastedImage signal to imagePasted. 2019-09-25 22:39:02 +02:00
Mm2PL
4e9951371f
Applied a bit of foutf's suggestions. Replace uploadQueue.size() with .empty() and swap if/else bodies, move non empty queue check outside of the timer on line 60, move getImageFileFormat to an anonymous namespace, rename pasteFromClipoard to upload(), removed usesless comment, shortened message on line 83, use QMimeData.hasUrls() and QMimeData.urls(), moved GIF format case in upload() more to the top, call original functions in canInsertFromMimeData and dragEnterEvent which are overriden 2019-09-25 22:21:26 +02:00
Mm2PL
298c013fa0
Rename Env::imagePasteSiteUrl to Env::imageUploaderUrl. 2019-09-25 12:51:17 +02:00
Mm2PL
1a77df1674
Delete overloads for uploadImageToNuuls(). Use TypedBytes in the main
definition. Use QHttpMultiPart instead of manually creating the
request.
2019-09-24 18:28:28 +02:00
Mm2PL
e0eb4e5a6d
I'm Pepega too. Added two missing files. 2019-09-24 16:08:12 +02:00
Mm2PL
65fab779c5
Redo all changes done before breaking the branch. 2019-09-23 19:36:52 +02:00
fourtf
367b1970fd use C_DEBUG instead of QT_DEBUG 2019-09-22 18:09:11 +02:00
fourtf
ca0db97d09 ammend 2.1.5 added setting for experimental irc support 2019-09-22 17:12:09 +02:00
fourtf
2c25c8a5f5 2.1.5 2019-09-22 16:59:51 +02:00
fourtf
fc049d8f45 disabled irc and fixed notice messages in write conn not showing 2019-09-22 16:16:08 +02:00
fourtf
f27c8eb1b4 fixed crash restart conditions 2019-09-22 16:14:16 +02:00
fourtf
431d35e528 added setting to restart on SIGSEGV 2019-09-22 15:32:36 +02:00
fourtf
7e555843ca added class containing program arguments 2019-09-22 15:30:04 +02:00
fourtf
456065f508 moved resources out of Application 2019-09-22 10:54:32 +02:00
fourtf
da4714944d small fixes in Image 2019-09-22 10:54:32 +02:00
pajlada
038fdd5446
Merge pull request #1326 from CommName/MentionsFix
[Bug fix] Highlights in /mentions
2019-09-22 10:43:13 +02:00
pajlada
1256a7b631
Fix formatting 2019-09-22 10:42:22 +02:00
CommName
5078ecbef1 Highlight bug fix 2019-09-21 22:19:03 +02:00
Leon Richardt
19b2102fed Fix Version::dateOfBuild_ on Windows
The `CHATTERINO_NIGHTLY_VERSION_STRING` defines differ on Windows and
MacOS/Linux. (See `appveyor.yml` and `travis.yml`, respectively.)
Therefore, the Windows version string looked really messed up but it
should be fixed now.
2019-09-21 20:44:49 +02:00
Rasmus Karlsson
5871414e6b Possibly fixed PubSub over 50 listens
Keep an eye out on #1189
2019-09-21 12:46:10 +02:00
Rasmus Karlsson
137d7910c0 move more handlers from write to read 2019-09-21 11:57:09 +02:00
Rasmus Karlsson
d94be74007 handle clearchat in read connection 2019-09-21 11:54:30 +02:00
Rasmus Karlsson
88da9501f7 handle ROOMSTATE in read connection too
this fixes the "recent messages not loading" issue
2019-09-21 11:45:55 +02:00
Rasmus Karlsson
8312d4b112 Fix USERSTATE not being handled unless you write in a channel.
This commit might re-enable some duplicate messages like host requests
and what-not.
2019-09-21 11:38:08 +02:00
pajlada
452b65b4dd
Merge pull request #1315 from leon-richardt/commit-hash-settings
Add Version Information to "About" Page
2019-09-21 10:10:04 +02:00
Leon Richardt
baf52d7563 Add version information to "About" page 2019-09-19 23:31:04 +02:00
Leon Richardt
ddcce73111 Use Version singleton to set window title 2019-09-19 23:30:18 +02:00
Leon Richardt
9c59efb985 Provide singleton class for version information 2019-09-19 23:30:18 +02:00
fourtf
758a6bb41c NetworkRequest onError now uses NetworkResult 2019-09-19 19:03:50 +02:00
fourtf
986694e4bc added multipart support to NetworkRequest 2019-09-19 18:26:38 +02:00
fourtf
ce53653ecd remoed nullableptr 2019-09-19 12:19:50 +02:00
fourtf
88d8bf7cec renamed members in Helpers.cpp 2019-09-18 16:32:07 +02:00
fourtf
5ca0fc0c8f
Merge branch 'master' into moderation 2019-09-18 16:14:45 +02:00
fourtf
277bd5b179 maybe?? 2019-09-18 16:01:41 +02:00
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
99f99f0cff smol fixes 2019-09-18 14:20:21 +02:00
fourtf
3ab7362304 Merge branch 'master' into irc-support 2019-09-18 13:03:16 +02:00
fourtf
997a0598cd changed tab title to "Irc (beta)" 2019-09-18 11:16:07 +02:00
fourtf
07133166d9 added setting to show unhandled irc commands 2019-09-18 11:11:50 +02:00
fourtf
765a75f158 added irc commands 2019-09-18 10:59:28 +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
6298b74884 fixed compilation on non-msvc 2019-09-16 21:08:14 +02:00
fourtf
13c9aabf29 show all irc messages for debugging 2019-09-16 18:01:32 +02:00
fourtf
cadff4c430 Fixes #1259 highlight not added when changing channel 2019-09-16 11:54:34 +02:00
fourtf
89fd3bfce9 hide tooltip on split::leaveEvent 2019-09-16 11:48:17 +02:00
fourtf
40c1857c90 added additional dropdown for moderation mode 2019-09-16 11:44:03 +02:00
fourtf
3a9f9fa17b added setting for pause on hover length 2019-09-16 11:36:19 +02:00
fourtf
602a66f5bc Fixes #963 Highlights move while paused 2019-09-16 10:55:54 +02:00
fourtf
fd8987cf1b fixed typo 2019-09-16 10:44:05 +02:00
fourtf
63126899ec added pause while key is down 2019-09-16 10:43:20 +02:00
fourtf
b06918eb47 2.1.4 2019-09-15 19:32:31 +02:00
fourtf
84b1efcd24 fixes #1304 emote.name eating the .name 2019-09-15 19:05:04 +02:00
fourtf
04f8875c4d fixes #1303 now searches using search text instead of message text 2019-09-15 18:29:50 +02:00
fourtf
0cb918b96a fixed spaces in the wrong place 2019-09-15 17:01:18 +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
a390649d0f added sasl auth 2019-09-15 13:15:29 +02:00
fourtf
22ca20ad2a renamed TwitchServer -> TwitchIrcServer 2019-09-15 13:02:02 +02:00
fourtf
c3b65b4db0 select the right server in the dialog 2019-09-15 11:42:22 +02:00
fourtf
67ffb0e34b irc default now uses ssl 2019-09-15 11:36:59 +02:00
fourtf
2a56cef848 added irc authentificate type 2019-09-15 11:35:17 +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
eadf5355ee renamed IrcConnection_ to IrcServerData 2019-09-11 13:51:48 +02:00
fourtf
158564d0c2 disabled twitch dropdown items for irc chats 2019-09-11 13:34:59 +02:00
fourtf
b20fdc0da6 smol irc fixes 2019-09-11 13:17:36 +02:00
fourtf
2f39f4246c fixed warning + added more checks to SignalVectorModel 2019-09-11 13:12:08 +02:00
fourtf
2a8c5e654f saving irc splits now 2019-09-11 00:10:49 +02:00
fourtf
c4d0efacff added loading and saving of irc servers 2019-09-10 23:55:43 +02:00
fourtf
fe67bda136 moved .clang-format into src directory so submodules don't get formatted 2019-09-10 17:00:23 +02:00
fourtf
82f63d2f7e added send and receive for irc messages 2019-09-10 14:46:43 +02:00
fourtf
25f75f7580 added Credential class 2019-09-09 22:27:46 +02:00
fourtf
5974438edf added irc tab in SelectChannelView 2019-09-09 22:26:56 +02:00
fourtf
fd0c11964e added new function and classes for irc support 2019-09-09 22:26:14 +02:00
fourtf
9f1a5b900e fixed single connection code and deleting abstractircserver 2019-09-09 22:22:47 +02:00
fourtf
8241ce7097 added qtkeychain dependency 2019-09-09 22:18:56 +02:00
Leon Richardt
720e5aa25f Improvements to Message Search (#1237)
* Ran clang-format

* Implement user-specific search in message history

This functionality was originally requested in #1236.

This commit changes the SearchPopup::performSearch method so that only
messages from specific users can be shown.

In order to filter for a specific user, enter their username with a
leading '@' in the search popup. You can also add an additional search
phrase which will also be considered in the search.

* Naive implementation for "from:" tags

Rebase later?

* Cleverer (?) version using Predicates

Commit adds two POC predicates: one for the author of messages, and one
for substring search in messages.

Problems/TODOs:
* Best way to register new predicates?
* Clean up tags (e.g. "from:") or not?
* Test combinations of different predicates

* Add a predicate to check for links in messages

* Remove a dumb TODO

* Rewrite SearchPopup::performSearch to be cleaner

* Ran clang-format on all files

* Remove TODO I missed earlier

* Forgot to run clang-format

peepoSadDank

* Re-use {}-initialization

Was accidentally removed when fixing earlier merge conflict.

* Does this fix line endings?

No diffs are shown locally, hopefully Git doesn't lie to me.

* Rename "predicates" directory to "search"

Resolving one conversation in the review of #1237.

* Use LinkParser in LinkPredicate

Resolving a conversation in the review of #1237.

* Predicates: Use unique_ptr instead of shared_ptr

Resolves a conversation in the review of #1237.

* Refactor of SearchPopup and AuthorPredicate

Resolving some points from the review in #1237.

* Moved parsing of comma-seperated values into AuthorPredicate
  constructor.
* Rewrite SearchPopup::parsePredicates as suggested.
* Deleted now redundant methods in SearchPopup.

* MessagePredicate::appliesTo now takes a Message&

... instead of a MessagePtr.

This resolves a conversation in the review of #1237.

* Run clang-format on two files I missed

* AuthorPredicate: Check for displayName & loginName

Resolving conversation on #1237.
2019-09-09 15:21:49 +02:00
Leon Richardt
b6f632701f Fix merge conflicts 2019-09-08 22:58:17 +02:00
Leon Richardt
b06eb9df83 Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
fourtf
e1a9a437f1 fixed pingsound not playing sometimes 2019-09-08 21:57:14 +02:00
fourtf
4f356f80cf BaseWindow smol refactor 2019-09-08 21:45:46 +02:00
fourtf
3158ed4085 fixed user popup size issues 2019-09-08 20:05:40 +02:00
fourtf
343cd3970a bump version 2019-09-08 18:46:57 +02:00
fourtf
cf23838099 added irc support 2019-09-08 18:06:43 +02:00
fourtf
9f1eb654fd
Merge branch 'master' into apa-bits 2019-09-08 18:02:58 +02:00
apa420
0c6a26d897 IFDEF QT_DEBUG 2019-09-08 17:40:30 +00:00
apa420
ffc483049c Pepega 2019-09-08 17:36:26 +00:00
apa420
0eb633cfa0 Removed some examples 2019-09-08 17:31:00 +00:00
apa420
3f411805b7 Forgot to add file 2019-09-08 17:27:04 +00:00
apa420
289811dc7d Moved example cheers to new file 2019-09-08 17:25:42 +00:00
apa420
5c602fea94 Resolved review 2019-09-08 16:01:38 +00:00
fourtf
c6a05f289d removed useless table column in user highlights 2019-09-08 15:10:10 +02:00
fourtf
87c0ff76e7 added setting to open links in incognito by default 2019-09-08 14:59:51 +02:00
Rasmus Karlsson
94048595f6 Split parseChannelResponse into two functions: parseModBadge and
parseChannelEmotes
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
862164bc2b make ffz custom mod badge atomic 2019-09-08 14:08:18 +02:00
Rasmus Karlsson
2cd07435bd Remove more unused includes 2019-09-08 14:08:18 +02:00
Rasmus Karlsson
57ba829775 Remove previously added includes to Image 2019-09-08 14:08:18 +02:00
Rasmus Karlsson
dbce128cc3 Remove "custom on success" logic from Image.
Create a new message element and message layout element type for mod badges.
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
256a65a12e Load mod badge information from the FFZ API instead of assuming the URL.
This lets us load all sizes of the emote if they are available.

Channel with all versions of the mod badge: https://api.frankerfacez.com/v1/room/pajlada
Channel with only one version of the mod badge: https://api.frankerfacez.com/v1/room/apa420
Channel with no mod badge: https://api.frankerfacez.com/v1/room/forsen
2019-09-08 14:08:18 +02:00
apa420
c08eaa4640 Higher cheer tiers now show and added tests 2019-09-08 13:40:11 +02:00
apa420
cd64b5eff5 Removed old tests 2019-09-08 12:47:36 +02:00
apa420
48fcc1a1a1 Fixed cheers not showing up in chat Fixes #1031 2019-09-08 12:45:25 +02:00
fourtf
4ec10e720c adjusted size of user switch popup 2019-09-08 12:43:12 +02:00
fourtf
b14154a811 Fixes #996 can't ctrl+c in search popup 2019-09-08 12:31:27 +02:00
TranRed
21f65b716d Merge branch 'Ch2Usercard' of https://github.com/TranRed/chatterino2 into Ch2Usercard 2019-09-08 12:05:46 +02:00
TranRed
d3c4d4b8cf moved anonymous namespace into chatterino namespace 2019-09-08 12:05:41 +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
TranRed
18349ed9b3 Revert "Merge pull request #1 from TranRed/subbutton"
This reverts commit d3aa3694f2.
2019-08-26 23:02:04 +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
TranRed
23c2fa8ee5 made fillLatestMessages into a free standing function 2019-08-25 15:09:30 +02:00
TranRed
288ea5036b did first requested refactors 2019-08-25 14:57:31 +02:00
23rd
a893be796c Refactored UserInfoPopup::TimeoutWidget. 2019-08-25 12:24:35 +02:00
TranRed
d63438c351 added some improvements suggested by 23rd 2019-08-25 11:56:15 +02:00
TranRed
89a60ceea8 turned QString::compare() call into a bool
create self-similarity with bool isMyself further up in the class implementation
2019-08-25 10:02:26 +02:00
23rd
cdc7051e56 Considerably refactored code of Usercard. 2019-08-25 09:47:00 +02:00
TranRed
f7fa000266 fixed bug that terminates chatterino
seems like durationUnits[i++] tried to access a non existing element and chatterino crashed while opening the user card.

this tweek fixed it
2019-08-24 17:26:37 +02:00
23rd
25871bdc2f Slightly refactored code of Usercard. 2019-08-24 17:09:41 +02:00
TranRed
0ce5e7f529 added border to Buttons
added border to Buttons
deleted unused variables
renamed some vars
2019-08-24 11:00:55 +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
TranRed
5cd067aab0 readded used "unused" variable 2019-08-22 21:33:50 +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
TranRed
0e3ab64bd2 deleted unused QStringList 2019-08-18 18:57:30 +02:00
TranRed
ebce0c985a added missing empty line 2019-08-18 18:44:49 +02:00
TranRed
015fc155d5 Refactored settings
made settings use Vectors instead of 8 single setting entries
2019-08-18 18:42: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
TranRed
54b162afdd removed experimental profile banner code for now 2019-07-25 13:55:37 +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
125774ecb2 excluded inline whispers from latest messages in userpopup 2019-07-21 09:36:18 +02:00
TranRed
94ffc66b2a extracted latest messages logic into its own method 2019-07-20 22:42:01 +02:00
TranRed
f417006d6a Added channelView with last messages to user popup
currently uses last messages from that channel - might want to use online logs later (or make a setting for that)
2019-07-20 18:49:17 +02:00
TranRed
dc01cbf2a3 simplified settings page UI
simplfied UI and removed unneccessary code
2019-07-19 17:34:25 +02:00
TranRed
00ad80d93d unscuffed settings tab
removed copy past cody in favor of an itsy-bitsy more flexible solution
2019-07-19 16:20:31 +02:00
TranRed
c45bb144e9 Fixed spinbox ranges 2019-07-19 13:15:50 +02:00
TranRed
7a3673e9f6 changed max custom timeout input to 99
simplicity
2019-07-18 23:34:40 +02:00
TranRed
24faaf8734 created first version of settingstab: Timeouts
scuffed prototype

To-Dos:
- make the UI look cleaner
- clean up copy&pasted coding
2019-07-18 23:02:55 +02:00
TranRed
e64f37d288 Made 8 customizable timeout buttons
changed fixed timeout buttons to be read from settings
2019-07-17 16:50:03 +02:00
TranRed
d3aa3694f2 Merge pull request #1 from TranRed/subbutton
Added Subscribe option to channel menu
2019-07-17 16:49:16 +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
Rasmus Karlsson
27114c5154 Restore option to disable emote images
Condensed into a single option, which will disable/enable all emote and emoji images

Also moved badges into their own element
2019-06-22 14:34:54 +02:00
Rasmus Karlsson
a34e3084df Clean up emote parsing 2019-06-22 14:22:43 +02:00
Rasmus Karlsson
9cb5e3abb3 Fix a bug where tabbing too early would break any future tab completions
Fixes #1107
2019-06-22 13:16:16 +02:00
Rasmus Karlsson
64dc7f5d73 Fix a bug with messages jumping if you were scrolled up
The bug appeared every 100 messages (so whenever a chunk was deleted)

To fix this, we only perform the first chunk offset increment if the
item we deleted was not the last item in a chunk
2019-06-22 13:04:31 +02:00
Rasmus Karlsson
c631434cee Make use of our "Chunk" and "ChunkVector" aliases better 2019-06-22 13:03:57 +02:00
Rasmus Karlsson
8d85b9c071 Override Home and End behaviour.
Home now brings you to the beginning of the message (previously of the line)
End now brings you to the end of the message (previously of the line)
2019-06-21 22:22:43 +02:00
Rasmus Karlsson
406c0b9af8 Stop "up arrow" keyboard event from propagating furthern when we're going through message history
Fixes #1102
2019-06-21 22:15:17 +02:00
apa420
3226ab6c68 ran clang 2019-06-12 00:31:02 +02:00
apa420
70bb63d20f Added option for shift, used clang and made setting uneditable 2019-06-11 22:54:20 +02:00
rexim
f362548e28 (#976) Use int for emotesTooltipPreview 2019-06-12 02:05:18 +07:00
rexim
244252f610 (#976) Make TooltipPreviewImage non-copyable 2019-06-12 02:04:57 +07:00
rexim
483e177a39 (#976) Fix compilation errors
Which were not visible because of incremental build or something
2019-06-12 01:16:56 +07:00
rexim
3838157d82 Extract TooltipWidget updating into a separate class 2019-06-12 01:03:04 +07:00
rexim
3f4d3ce14a (#976) Make currentPreviewImage shareable between ChannelView-s 2019-06-12 00:22:26 +07:00
rexim
e1a901aa98 Adjust tooltip size after setting the text 2019-06-11 23:20:04 +07:00
rexim
0fb16d150b Preview images instead of emotes 2019-06-11 23:20:04 +07:00
rexim
a84716547b Animate gifs in the tooltip preview 2019-06-11 23:20:04 +07:00
rexim
94e705ec1b Inject Emotes into TooltipWidget directly 2019-06-11 23:20:04 +07:00
rexim
8b79faf958 Make Emotes Tooltip Preview disablable in the Settings 2019-06-11 23:20:04 +07:00
rexim
a569985315 Remove dead code 2019-06-11 23:20:04 +07:00
rexim
7251a20dfb Get the biggest version of emote from EmoteElement 2019-06-11 23:20:04 +07:00
rexim
959aa4616f pixmap() -> imagePreview() 2019-06-11 23:20:04 +07:00
rexim
aa4e7f13e7 Get rid of dynamic_cast 2019-06-11 23:20:04 +07:00
rexim
cbb1ec2d7a Remove dead code 2019-06-11 23:20:04 +07:00
rexim
f002d44370 If hover over ImageLayoutElement show the preview of image 2019-06-11 23:20:04 +07:00
rexim
d4a6defed6 Introduce a way to extract QPixmap from ImageLayoutElement
Probably should be a part of MessageLayoutElement interface, but good
for now
2019-06-11 23:20:04 +07:00
23rd
d2645b03f8 Added Preferences item in menu bar for OS X. 2019-06-10 12:43:37 +02:00
TranRed
5c350de329 overrides QTextEdit insert methods
fixes Chatterino#635
prepares for future implementation of Chatterino#79

Was a little bit hard to find the right combination for now. Pasting images from clipboard surpasses the check for dragging images in canInsertFromMimeData OMGScoots
2019-06-10 12:20:45 +02:00
apa420
99045e42da Adds support for /user 2019-06-09 10:08:04 +02:00
apa420
74d55941a0 added usercard button to link to twitch's userbutton 2019-06-09 10:08:04 +02:00
ckath
afe5e826a1 fix searchtext format again 2019-05-31 08:58:15 +02:00
ckath
83cf03fb09 format with extra : for user search 2019-05-31 08:58:15 +02:00
ckath
2e9b0cad44 make it possible to search localized names 2019-05-31 08:58:15 +02:00
Rasmus Karlsson
b872f83c9e add missing files pepega 2019-05-26 21:48:45 +02:00
Rasmus Karlsson
8ba8bbeef6 Move environment variable parsing and storage to its own class
Make the Link resolver and Twitch emotes set resolver urls modifiable with
environment variables
2019-05-26 21:44:37 +02:00
Rasmus Karlsson
e1483bfd8a Make Twitch message history loading optional (On by default) 2019-05-25 11:24:10 +02:00
Rasmus Karlsson
79e4e05a4a Fix compilation issue 2019-05-25 11:23:58 +02:00
Ruben Anders
9dbe66a19b Change emote parsing order to FFZ -> BTTV -> GlobalFFZ -> GlobalBTTV
Fixes #877
2019-05-25 10:58:51 +02:00
Rasmus Karlsson
0263248668 Add attribution for Twitch emote data provided by twitchemotes.com 2019-05-21 22:53:40 +02:00
fourtf
42cb0e4ec3 Removed left padding from general settings page 2019-05-19 01:03:31 +02:00
apa420
9a7365821d Fixed issue #1071 (#1073) 2019-05-18 17:37:26 +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
Rasmus Karlsson
1a7a5409ab do a full reformat according to our current .clang-format 2019-05-10 23:31:10 +02:00
Rasmus Karlsson
fa6c9f2fba make paths cachedirectory formatting nicer 2019-05-10 23:28:05 +02:00
apa420
834b1f3c53 Option to hide system moderation messages (#1066) 2019-05-10 23:16:34 +02:00
apa420
3ea496a99b Added boldness adjustment for fonts (#1057)
* Added boldness adjustment for fonts

* Moved setting and changed description of it
2019-05-10 22:37:44 +02:00
hemirt
c43c1dc207 Adds option to mute ping sound for specific channels (#990)
Co-Authored-By: hemirt <hemirt@hemirt.com>
2019-05-10 22:36:37 +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
hemirt
411502de44 fix comments 2019-05-07 20:28:01 +02:00
hemirt
4f5e3f6a27 fixes #1058 2019-05-07 20:28:01 +02:00
hemirt
23921f3fed show whispers notices 2019-05-07 20:28:01 +02:00
hemirt
bc8175d9ce fix #1053 2019-05-07 20:28:01 +02:00
hemirt
add312b609 fix #1062 2019-05-07 19:35:56 +02:00
Alexandr Kondratev
14eb302c3d Close search popup window on Escape pressed 2019-05-06 21:16:40 +02:00
23rd
a3f6d2b773 Fixed display of text in Go to Bottom button for Retina screen. 2019-05-04 11:55:41 +02:00
TranRed
cff1aa0959 changed some variables to const 2019-05-04 11:40:52 +02:00
TranRed
7ad6db550d made links in system messages clickable
needed to make sub ticket in sub only chat accessible.
2019-05-04 11:40:52 +02:00
Rasmus Karlsson
30430b0fb3 this ctor was used to create a system message
we now only use the ctor that takes an explicit SystemMessageTag
2019-05-02 00:28:53 +02:00
TranRed
b5efe12f56 renamed enum ToastReactions to ToastReaction (singular) 2019-05-02 00:01:18 +02:00
TranRed
cd1f717c36 deleted dead code
not needed anymore since latest commit
2019-05-02 00:01:18 +02:00
TranRed
a592a3e882 Connected ComboBox to currentIndexChanged
implemented proper connection to combobox (currentIndexChanged instead of currentTextChanged)

Thanks, pajlada! FeelsGoodMan
2019-05-02 00:01:18 +02:00
TranRed
2a590adba7 Implemented requested changes
changed setting from String to int.
changed EnumCase

I used createComboBox only has an implementation that handles stringsettings. I implemented my own combobox to handle the ToastsSettings now. Not sure if this is the best way. Won't come up with something smarter for now.
2019-05-02 00:01:18 +02:00
TranRed
c20629c165 Refactored opening from toasts
implemented maps and map look up functions
2019-05-02 00:01:18 +02:00
TranRed
d749a4771a made CommonTexts.hpp look like other headers 2019-05-02 00:01:18 +02:00
TranRed
f76df80575 creates common texts for opening streams
Texts for opening streams were used in multiple locations. Created a file to store GUI texts like this and replaced were applicable
2019-05-02 00:01:18 +02:00
pajlada
01082b123f
Merge pull request #1050 from apa420/apa-pubsub-fix
Changed to ref for better performance #1049
2019-05-01 22:36:32 +02:00
pajlada
8aa2d42ca9
Merge pull request #1045 from TranRed/patch-3
Added {message} parameter for moderation buttons
2019-05-01 22:35:07 +02:00
apa420
8d80eab649 Changed to ref for better performance 2019-05-01 22:28:46 +02:00
pajlada
216b21e0c3
Merge pull request #1049 from apa420/apa-pubsub-fix
Pubsub messages now go into the correct channel
2019-05-01 22:22:03 +02:00
Rasmus Karlsson
effe91badc clean up magic message suffix stuff 2019-05-01 22:10:51 +02:00
apa420
c60b717b98 Pubsub messages now go into the correct channel 2019-05-01 21:46:53 +02:00
TranRed
b33478d8c6 stored original message text in message 2019-05-01 16:43:52 +02:00
TranRed
bbf649bf70
Added {message} parameter for moderation buttons 2019-05-01 16:08:45 +02:00
TranRed
34f820be18 implemented fallback logic for corrupted window layout (#1039)
* fallback logic for corrupted window layout

1. before saving the window-layout a backup will created to avoid corruption due to crashes while saving

2. when starting chatterino and the window-layout file returns and empty window layout (due to corruptio) the backup will be read and the layout will be build from this data

* Update WindowManager.hpp

* used QSaveFile instead of crude custom implementation

* implemented suggested feedback from review

* proper method call

was tired and slightly drunk Kapp
2019-05-01 09:58:13 +02:00
pajlada
ad559f9d97
Merge pull request #1038 from hemirt/master
remove unprofessional (puke) inside comments
2019-04-29 20:59:16 +02:00
hemirt
e0e7d366d3 remove useless comment 2019-04-29 20:33:04 +02:00
hemirt
56956eea58 remove weeb hate 2019-04-28 23:23:04 +02:00
pajlada
77f57bcff2
Merge pull request #1012 from apa420/apa-deleted-messages
Added support for single deleted messages
2019-04-28 12:51:57 +02:00
apa420
ae0122e389 Added a message when an invalid /delete appears 2019-04-28 11:31:34 +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
23rd
53640a9097 Fixed display of text message in empty tabs for Retina screen. 2019-04-27 14:19:03 +03:00
tetyys
40b4c2fefc Change to new character to make duplicate message error bypass work again 2019-04-27 00:31:15 +03:00
pajlada
a5a0ad59b8
Merge pull request #1017 from TranRed/nightly
Opening streams from toast + quickfix highlights in light theme
2019-04-26 23:02:48 +02:00
Rasmus Karlsson
3113513290 remove stupid log message 2019-04-23 09:10:34 +02:00
TranRed
ac1957ff68 Quick fix for highlighting in light themes
set defaults for highlighting colors. Only use "hidden setting" when populated.
2019-04-22 18:32:58 +02:00
TranRed
ad38d0ca1c Added setting for opening streams from toast
Implemented #710

Added options for opening streams from clicking the toas notficiation: (according to options in splits)
- open in browser
- open player in browser
- open in streamlink (needs to be tested, but should in theory work, since I only use the already existing function)
- don't open the stream (in case someone wants to prevent opening streams "by accident")
2019-04-22 09:03:52 +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
fourtf
9be0d7d458 removed red stripes and connected tape cut visuals 2019-04-17 17:02:13 +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
pajlada
d846b723c7
Merge pull request #983 from Ckath/savemoderation
Save chat moderation state in splits
2019-04-16 14:57:45 +02:00
pajlada
0737922915
Merge pull request #998 from apa420/apa-remove-moderated-messages
Option to hide moderated messages (timed out messages)
2019-04-16 14:38:20 +02:00
apa420
817c40d733 Added continue for readability and removed to hide moderated messages 2019-04-16 14:36:15 +02:00
pajlada
43504114b5
Merge pull request #994 from apa420/apa-after-x-lines
Made wording more consistent in generalpage
2019-04-16 14:33:01 +02:00
apa420
ac9106e2f5 Will now also remove the messages when the timeout occurs, it's a bad implementation of it though, should be better 2019-04-15 22:55:10 +02:00
pajlada
d7f0bcd80a
Merge pull request #977 from Cranken/master
Made links clickable in sent whispers.
2019-04-14 17:15:09 +02:00
pajlada
695d200d79
Merge pull request #1007 from pphop/pphop-show-ignored
Show ignored users messages anyway setting
2019-04-14 16:59:40 +02:00
pphop
e4d3e6de7f requested changes 2019-04-14 19:57:41 +05:00
pajlada
a1918144e4
Merge pull request #1002 from RAnders00/mod-action-channel-replacement
Mod action channel replacement
2019-04-14 16:50:41 +02:00
Rasmus Karlsson
de4bc02b66 Add ability to easily swap out the recent messages API with your own
Environment variable: CHATTERINO2_RECENT_MESSAGES_URL

For now, the API structure of the recent messages API is undocumented,
    but once it's released it will have some documentation that
    describes how to run it yourself, and it should be easy enough to
    just make your own API that fits
2019-04-13 19:23:11 +02:00
Rasmus Karlsson
8b3867fa7d Switch to v2 of RAnders00's recent-messages API, so we support showing
old sub messages and stuff
2019-04-13 19:14:58 +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
pphop
320d74b287 implement show ignored users setting 2019-04-13 01:12:39 +05:00
pajlada
ef81029374
Merge pull request #1003 from Ckath/fixscale
stop emotes from being cut off (pajlada-dev)
2019-04-11 16:14:07 +02:00
Ruben Anders
00d4fbf9ed Add {channel} replacement 2019-04-11 12:21:11 +02:00
apa420
562bdae09f Option to hide moderated messages (timed out messages) 2019-04-10 15:32:18 +02:00
apa420
12600b553f Made wording more consistent in generalpage 2019-04-05 21:39:04 +02:00
ckath
a2fa1bad6b disable requests to resolve link info when its disabled 2019-04-04 12:06:19 +02:00
ckath
fac1a6d00c comply to style guies 2019-04-04 11:51:18 +02:00
ckath
b3af777382 add back settings for hiding buttons 2019-04-04 11:51:18 +02:00
Rasmus Karlsson
81a4bff131 Implement Randers00's recent-messages API (WIP) 2019-04-04 11:47:54 +02:00
ckath
66294ed99b add account switcher popup flag for linux 2019-04-04 11:41:12 +02:00
hemirt
da1b2f91d9 add broadcaster and vips to viewers list and chatters list (#991) 2019-04-04 11:30:50 +02:00
Ruben Anders
28967cb014 Add broadcaster + VIPs to tabbable users 2019-04-04 11:29:16 +02:00
ckath
9ca4befd9b Save chat moderation state in splits 2019-03-24 15:38:09 +01:00
ckath
b49c21a515 change comment to original so it doesnt cause a change 2019-03-23 23:55:11 +01:00
ckath
1c8373432c but dont fuck up the (dis/re)connected messages 2019-03-23 23:49:55 +01: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
Cranken
497c958485 Made links clickable in sent whispers. 2019-03-13 15:26:55 +01:00
Rasmus Karlsson
777ac017df add vim bindings to split input movement 2019-03-02 09:37:43 +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
pajlada
d739cb72d9
Merge pull request #966 from hemirt/master
Use ffz/bttv channel emotes for chatrooms
2019-03-02 09:31:29 +01:00
hemirt
3c01af9805 changes and fix displayname of 'is live' message 2019-03-01 21:18:32 +01:00
apa420
2948f3cc8b Added the broadcaster to the viewerlist close #967 2019-03-01 18:08:21 +01:00
hemirt
ec6b26cd23 fix log message 2019-02-28 19:26:32 +01:00
moe-ka
26592c082f check for none overriding flags 2019-02-28 05:08:46 +00:00
moe-ka
8516082191 fix lambda captures 2019-02-27 19:26:19 +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
hemirt
aef5f6bfd7 add : character to chatrooms 2019-02-26 21:02:53 +01:00
hemirt
e1ed3553b5 chatroom emotes 2019-02-26 21:00:57 +01:00
hemirt
63b22ecf1d HistoricMessageAppearance
Merge branch 'master' of https://github.com/fourtf/chatterino2
2019-01-30 16:00:45 +01:00
pajlada
11a6345247
Merge pull request #935 from apa420/apa-red-timeoutmessages
Option to disable the red stripes on greyed out messages
2019-01-29 18:36:05 +01:00
apa420
bf57dff4bc
Formatting to clang standard 2019-01-29 18:34:03 +01:00
apa420
fa67cdb928
Grammar 2019-01-29 18:32:24 +01:00
apa420
88b1122369 added an option to disable the red stripes over timed out messages 2019-01-29 18:23:43 +01:00
hemirt
441f6189a1 Historic messages behaviour
"Crossed and Greyed" -> default (and is current default)
"Crossed" -> just crossed
"Greyed" -> just greyed
"No change" -> no change in appearance
2019-01-27 22:15:59 +01:00
pajlada
498fb3717e
Merge pull request #927 from fourtf/pajlada-unremove-wordflagslistener-cb
Unremove wordflagslistener
2019-01-25 22:59:06 +01:00
pajlada
e6d5ede483
Merge pull request #931 from apa420/apa-fixed-automod-names
If bold usernames was ticked it wouldn't show who the automod caught
2019-01-25 14:20:38 +01:00
apa420
ee0b115484 If bold usernames was ticked it wouldn't show who the automod caught 2019-01-25 14:19:09 +01:00
pajlada
7b51123dad
Merge pull request #929 from apa420/apa-move-turbo-badge
Moved turbo badge to vanity
2019-01-24 11:44:38 +01:00
Rasmus Karlsson
be881f17f4 fix scuffed switch 2019-01-23 18:07:36 +01:00
apa420
bb840da988 Moved turbo badge to vanity 2019-01-23 17:52:53 +01:00
apa420
c87114a640 rewrote the cases with enums 2019-01-22 23:20:43 +01:00
pajlada
9629322ce7
Merge pull request #925 from apa420/apa-automod-implementation
Automod implementation
2019-01-22 22:45:34 +01:00
pajlada
5311356bed
Merge pull request #922 from apa420/apa-saving-highlighted-users
Fixed the highlighted user saving the name after chatterino closes
2019-01-22 22:24:48 +01:00
pajlada
5863b0aab2
Merge pull request #888 from 23rd/patch-21-userinfo-in-search
Fixed moderation buttons in UserInfoPopup from SearchPopup.
2019-01-22 22:23:50 +01:00
pajlada
b09e87f837
Merge pull request #914 from hemirt/surrogatepairs
Surrogatepairs
2019-01-22 22:22:03 +01:00
Rasmus Karlsson
250ef077da Unremove wordflagslistener
this relies on appbase#1 PR
2019-01-22 22:15:38 +01:00
apa420
1434225603 Implemented AutoMod and write pubsub automod messages TODO: implement that the AutoMod message gets deleted if dealt with \nFixes #887 2019-01-21 18:33:57 +01:00
apa420
cd5c373e01 smol commit, idk if I will continue this 2019-01-20 17:03:45 +01:00
apa420
e9bd9ddb8e smoler commit 2019-01-20 16:28:25 +01:00
apa420
cc5528ec18 smol commit 2019-01-20 16:07:31 +01:00
apa420
7aa798f924 Forgot to add some small stuff 2019-01-20 14:47:04 +01:00
apa420
7067b0503d Added more functionality and clickable deny and accept buttons that don't do anything, this also fixes the issue with the background not working properly 2019-01-20 14:45:59 +01:00
apa420
0b2480d715 Added a bunch of stuff, we now collect all the pubsub automod messages and also displays a caught message to a mod 2019-01-20 01:02:04 +01:00
apa420
aca95788d0 Fixed the highlighted user saving the name after chatterino closes #921 2019-01-19 15:45:25 +01:00
Ruben Anders
ae18f35dfb Use secure IRC connections 2019-01-01 22:01:42 +01:00
Chronophylos
65cae23957 made highlights not black anymore 2019-01-01 21:58:08 +01:00
Kllrt
0cf0842b99 Changed both "BTTV" entries for emote tooltip to "BetterTTV"
4HEad
2019-01-01 21:56:54 +01:00
Kllrt
0fcb98eed1 BTTV changed to uppercase 2019-01-01 21:56:54 +01:00
23rd
0d48c04d8a Made cleanUpCode() as static TwitchEmotes's method. 2019-01-01 21:48:30 +01:00
23rd
23458aa1df Fixed copying of emotes with '< >' symbols. 2019-01-01 21:48:30 +01:00
ckath
11f01947a7 stop emotes from being cut off 2018-12-14 22:40:56 +01:00
Rasmus Karlsson
8bcd27cedf fix rich text being accidentally parsed through message history in split text input 2018-12-09 00:26:37 +01:00
Rasmus Karlsson
10325518f7 escape title and game in tooltip 2018-12-09 00:21:24 +01:00
fourtf
fc93d7b738 added wip effect for (dis/re)connected messages 2018-12-04 21:07:55 +01:00
fourtf
96328a5e25 fixed pausing while 1k messages are in the channel 2018-12-04 08:56:07 +01:00
hemirt
88cffb1949 show users in ignore page sorted 2018-12-02 22:59:18 +01:00
fourtf
bdbdfe3db3 updated appbase version 2018-12-02 19:23:23 +01:00
fourtf
bd8fab7e68 fixed redraw issue 2018-12-02 19:20:14 +01:00
fourtf
0d4d301aa0 added pausable property to ChannelView 2018-12-02 18:37:51 +01:00
fourtf
2e68852768 made some things scale 2018-12-02 18:26:21 +01:00
fourtf
0e242202a4 minor improvements 2018-12-02 17:49:15 +01:00
23rd
8ec328f352 Fixed moderation buttons in UserInfoPopup from SearchPopup. 2018-11-27 21:29:59 +03:00
fourtf
52dcc2130e moved more stuff into appbase 2018-11-25 21:14:42 +01:00
fourtf
0b94d0f763 made appbase compile standalone 2018-11-25 15:02:48 +01:00
fourtf
a9ca33f431 moved stuff from chatterino to appbase 2018-11-23 17:51:55 +01:00
fourtf
38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf
cf26f10b80 initial appbase integration 2018-11-21 21:37:41 +01:00
hemirt
a5bed6d7e4 remove unused variable, format 2018-11-17 11:09:31 +01:00
hemirt
d2e43d78fc fixes twitch emotes position
changes the position in unicodepoints to position in char16 array
(qstring)
2018-11-17 11:00:44 +01:00
hemirt
27eb2d8abc fix surrogatepairs messing position of emotes to be removed (mismatch
between actual position, and position in unicode codepoints)
2018-11-15 21:14:58 +01:00
Rasmus Karlsson
9472283d76 fix twitch global badge tooltip and url 2018-11-15 00:52:54 +01:00
Rasmus Karlsson
90309d00ea attempt to load global badges if no channel badge fits
Progress on #875 - Badges now render properly. this should also fix some
other global badges not rendering
2018-11-15 00:43:05 +01:00
fourtf
d8fcc1a3ed small refactor 2018-11-14 17:27:08 +01:00
Rasmus Karlsson
0f9ef9d0aa Fix a bug with twitch channels and the livestatusChanged signal 2018-11-10 14:30:19 +01:00
23rd
dcda714715 Moved "below" button displaying in performLayout method. 2018-11-05 14:51:33 +01:00
23rd
a0ba2154ae Replaced caller in LogsPopup.cpp. 2018-11-05 11:39:54 +01:00
fourtf
d3003c171a unpause when leaving the channelview 2018-11-03 22:02:52 +01:00
fourtf
6416bf3927 alternate color for historic messages 2018-11-03 21:40:48 +01:00
fourtf
5453c65f0f implemented pausing on hover 2018-11-03 21:26:57 +01:00
Rasmus Karlsson
bcebfca477 make /logs command better
previously you had to have a split open with the channel, that's not
required anymore.
2018-11-03 15:37:56 +01:00
Rasmus Karlsson
b469c24154 Support commands with spaces 2018-11-03 14:52:38 +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
221ec4f1e8 revert a setting-related change 2018-11-03 13:22:47 +01:00
Rasmus Karlsson
ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00
fourtf
9ced50e94e improved alternate bg and seperator line 2018-11-01 18:04:14 +01:00
fourtf
2faf24e3d5 improved rendering of notebook tab with scaling 2018-11-01 10:16:55 +01:00
fourtf
5e69354178 added two missing settings 2018-10-31 21:23:19 +01:00
fourtf
7b06405a1c allowing editing the timestamp freely 2018-10-31 21:13:01 +01:00
fourtf
246f999a40 improvements on settings dialog 2018-10-31 20:57:29 +01:00
fourtf
33ecc2759d fixed compilation on linux 2018-10-31 20:40:57 +01:00
fourtf
3c3be99177 new settings page 2018-10-31 19:49:15 +01:00
fourtf
a0b6e4bb76 Fixes #756 2018-10-29 22:11:42 +01:00
fourtf
d500ab59ea added setting for compact emotes Fixed #821 2018-10-29 21:48:15 +01:00
Ckat
dd8e8ad960 fix ctrl not registering with numlock enter (#834) 2018-10-29 21:16:17 +01:00
23rd
69233b77ff Fixed Unmaximize button in title bar for Windows. (#845)
* Fixed Unmaximize button in title bar for Windows.

* Clang-formated BaseWindow.cpp.
2018-10-29 21:12:24 +01:00
Ckat
70a5a62777 save settings after clicking ok (#846) 2018-10-29 19:20:23 +01:00
fourtf
3df9850da7 fixed wrong scale value 2018-10-29 18:41:46 +01:00
Felix Schmid
c11d151b83 fixed pause on mouse hover 2018-10-27 11:15:39 +02:00
hemirt
9705570c98 render emoji short codes 2018-10-27 11:10:34 +02:00
hemirt
8adb2d340d parse emojis in whispers 2018-10-27 11:10:34 +02:00
hemirt
c8f85b7755 render emojis on sent whisper 2018-10-27 11:10:34 +02:00
apa420
7467e1d0e2 Properly displays mentions in splitheader-tabs even if 'enable highlighting on new message' is disabled 2018-10-27 10:54:27 +02:00
23rd
f3235d036d Refactored LogsPopup. (#838)
* Replaced 3rd party getting channel ID with own implementation.

* Removed useless roomID_ from LogsPopup.

* Refactored channelName_ in LogsPopup.

* Cleaned up LogsPopup.

* Removed getRoomID() method in LogsPopup.
2018-10-27 10:53:12 +02:00
23rd
06e3fabfe4 Added closing LogsPopup with QMessageBox. 2018-10-27 10:47:58 +02:00
23rd
fb14e1f88a Removed second unnecessary getLogviewerLogs() call. 2018-10-27 10:44:17 +02:00
apa420
85c1a1dbac Ability to click error message when not providing correct account info, Fixes #488 2018-10-27 10:41:26 +02:00
ckath
65f54ebac3 load custom badges for old chat as well 2018-10-27 10:31:01 +02:00
pphop
92cc283160 removed unnecessary network request (#828) 2018-10-25 23:27:45 +02:00
pphop
3c9bcd581a custom ffz moderator badges (#827) 2018-10-25 21:53:03 +02:00
hemirt
c13a88e3b6 custom theme multiplier support (#825) 2018-10-25 21:52:12 +02:00
hemirt
c176d836af render bttv/ffz global emotes in incoming whispers, bttv/ffz/twitch (#824)
emotes in outgoing whispers
2018-10-25 21:51:55 +02:00
pphop
02eeedb338 added toggle for greying out historic messages (#822) 2018-10-25 21:47:52 +02:00
pphop
0e96caad5f fixed badges scaling with emote scaling slider 2018-10-24 22:39:52 +05:00
Rasmus Karlsson
5497fec839 fix another link-resolver related crash (non auto url unshort-related) 2018-10-24 11:36:36 +02:00
TranRed
6ee7b1ef1f fixed broken "show message length" (#820)
* fixed broken "show message length"

This should fix #818. Didn't build and don't really know c++ #yolo #pleasereview #kappa

* Update SplitInput.cpp

removed a useless space that was created by copy pasting
2018-10-24 10:33:35 +02:00
Marco Schmid
c49f17cc07 help text added for f5 2018-10-23 20:08:00 +02:00
Marco Schmid
0f85999b4c changed debug keybing to f6, f5 is now for refreshing 2018-10-23 20:08:00 +02:00
Marco Schmid
077e2e089d reload working fine with f6, f5 seems to be special 2018-10-23 20:08:00 +02:00
Rasmus Karlsson
0f44a2e0f4 re-enable link resolver, but fix the underlying issue in the "link changed" signal.
The feature itself still doesn't work for me, but this code does the same thing.
only thing that's really different is it also disconnects the signal properly once
the TextLayoutElement is deleted
2018-10-23 10:32:13 +02:00
fourtf
afee4d9d37 disabled LinkResolver due to it crashing 2018-10-22 19:57:34 +02:00
fourtf
25aab4cdeb rename tab on double click 2018-10-22 19:57:02 +02:00
fourtf
3db0b5f95c open settings when right clicking moderation button 2018-10-21 16:13:26 +02:00
fourtf
1872163ec4 Open settings when clicking moderation button and no moderation actions are found 2018-10-21 15:32:28 +02:00
fourtf
27ac236115 grey out historic messages 2018-10-21 14:45:42 +02:00
ckath
e900b10e0c save messages sent with ctrl enter to history as well 2018-10-21 14:36:33 +02: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
f4cf464ddb fixed issues with surrogate pairs in text selection and rendering 2018-10-21 13:05:03 +02:00
Rasmus Karlsson
1fde45f59b Also resize tabs if height has changed
Fixes #769
2018-10-21 12:14:11 +02:00
fourtf
69e0352648 improved NotebookTab 2018-10-21 12:13:23 +02:00
Rasmus Karlsson
0abe85f53c Change image set emote scale calculation 2018-10-21 10:39:40 +02:00
Rasmus Karlsson
64669879ad Also use emote scale setting to help figure out what version emote to use 2018-10-21 10:27:36 +02:00
Rasmus Karlsson
5b23aff58d Re-enable emote scale 2018-10-21 10:23:53 +02:00
fourtf
4f4d717a52 minor changes 2018-10-20 19:15:28 +02:00
apa420
a2795dec38 got triggered by pixels 2018-10-20 18:41:32 +02:00
pphop
a584259785 improve "last message read" indicator (#802) 2018-10-20 13:25:24 +02:00
hemirt
54c1efe531 correct getSplitCount 2018-10-20 11:07:15 +02:00
coral
6eab491baa Added icons for every single settings item! 2018-10-19 15:53:19 -07:00
fourtf
2840b38e91 made links open in incognito by default for hemirt 2018-10-16 16:34:09 +02:00
fourtf
db4034d2d9 vivaldi and opera support for incognito links 2018-10-16 16:25:48 +02:00
fourtf
d14a4df9e3 opening links in private browsing mode (windows)
tested on firefox, chrome and internet explorer
2018-10-16 16:07:59 +02:00
fourtf
bf8bf37eab Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-10-16 14:22:53 +02:00
fourtf
280605e715 added basic code for incognito links 2018-10-16 14:13:19 +02:00
23rd
e13d927a4e Removed unused signal in TwitchChannel. 2018-10-14 10:17:48 +00:00
23rd
3e268637f0 Improved 'twitchChannelRegex' regexp. 2018-10-14 10:16:39 +00:00
23rd
bd04aa0074 Added more ignored words for opening new split from context menu. 2018-10-14 10:16:39 +00:00
Rasmus Karlsson
230b2006dc Experimental reconnect support 2018-10-13 15:45:41 +02:00
ckath
c38bb05bb4 correct options text of hiding buttons 2018-10-13 12:50:11 +00:00
Rasmus Karlsson
1422201570 Make "recent_messages" network request safe in case the channel is closed when the request finished 2018-10-13 14:45:51 +02:00
pajlada
b5c7c8ff26
Merge pull request #795 from hemirt/splits
ClosedSplits feature (ctrl+shift+t in browsers)
2018-10-13 12:41:46 +00:00
hemirt
6413abf885 fix visual bug 2018-10-13 14:34:33 +02:00
Rasmus Karlsson
49449379da Added a Live status indicator to tabs 2018-10-13 14:20:06 +02:00
23rd
71a51d34c7 Combined emotes of different tiers in Emote Popup. 2018-10-13 09:10:48 +00:00
hemirt
7a246cd9d8 pragma once 2018-10-13 11:08:57 +02:00
hemirt
b3a41e5c1a Closed Splits 2018-10-09 19:48:22 +02:00
fourtf
31b9d497d7 change color of + button while dragging split 2018-10-09 19:22:07 +02:00
fourtf
2b1c5113d4 reordered elements in the split-header drop-down 2018-10-09 19:04:18 +02:00
Marco Schmid
770e36c10c added winapi-call to flush clipboard (#778) 2018-10-09 18:37:51 +02:00
Nikolai Zimmermann
845c595b70 fix typo (#783) 2018-10-09 18:34:38 +02:00
flex3r
c65cdbe792 fixed message collapsing (#785) 2018-10-09 18:31:38 +02:00
fourtf
e9f0eaf82e added examples for moving and splitting 2018-10-09 18:28:40 +02:00
Marco Schmid
602ae9e874 fixed regex to display links with port correctly (#777) 2018-10-08 12:26:42 +00:00
fourtf
4270c402fb this triggered my ocd 2018-10-07 19:25:46 +02:00
Rasmus Karlsson
a947bf74c8 Occasionally save window/split/tab layout
The window layout is only saved if something has been changed.
When something relevant to the window layout is changed, a save is
queued to run after 10 seconds.
If within those 10 seconds, another thing is changed, that timer is
reset and will run after 10 seconds again.

Events that cause the save to be queued up:
 - Tab created
 - Tab removed
 - Tab moved
 - Tab name changed
 - Split created
 - Split removed
 - Split moved
 - Split channel changed
 - Split resized
 - Window moved
 - Window resized

What currently does not trigger the save to be queued up:
 - Active tab changed
2018-10-07 16:27:40 +00:00
Rasmus Karlsson
7879fef3a0 add some comments
reformat
2018-10-07 14:30:26 +00:00
Rasmus Karlsson
b720450f86 remove unnecessary getApp call 2018-10-07 13:37:17 +00:00
hemirt
2d3ce59b8b Fix emote replacement to render emotes correctly (#768)
* fix emote replacement rendering from inside the caught string

* \b -> \\b, while -> if

i actually wanted the regex identifier \b and you need to escape the
escape character \
an error in judgement made me use while, as if the api was meant to be
"consume"-like interface that boost regex uses

Fixes #26
2018-10-07 11:18:45 +00:00
apa420
bb6c2b6135 Cleaner flashing code (#774) 2018-10-07 10:55:44 +00:00
Ckat
767197ab48 fix channel suspended showing up in all channels #770 2018-10-07 10:21:47 +00:00
Rasmus Karlsson
7e073f43b6 fix notices about "short channel name" channels being sent to all channels
Fixes #770
2018-10-07 12:19:40 +00:00
Cranken
ced5508286 Removed unnecessary get on shared pointers. 2018-10-06 16:33:18 +00:00
Cranken
f13f99bb42 Fixed double clicking sometimes turning into unwanted triple-clicking. 2018-10-06 16:33:18 +00:00
Cranken
39ee6efffc Fixed user popup not working. 2018-10-06 16:33:18 +00:00
Cranken
49398300d6 Triple-clicking now also checks for distance between clicks to prevent unwanted selection. 2018-10-06 16:33:18 +00:00
Cranken
423ef19c8f Fixed a bug appearing when selecting over multiple lines in different directions. 2018-10-06 16:33:18 +00:00
Cranken
4c4d1d2042 Fixed double click selection. 2018-10-06 16:33:18 +00:00
Cranken
335b889efe Fixed emotes selecting the whole line on double-click. 2018-10-06 16:33:18 +00:00
Cranken
c8326d73e7 Added triple-clicking next to message to select whole message. 2018-10-06 16:33:18 +00:00
Cranken
5c2cdce516 Added triple clicking to select the whole message. 2018-10-06 16:33:18 +00:00
Cranken
7c367b73e6 Changed some formatting, also fixed an unrelated bug. 2018-10-06 16:33:18 +00:00
Cranken
fed8cca10e Added initial double clicking to select word functionality. 2018-10-06 16:33:18 +00:00
apa420
5dce212cb4 Added functionality of making the flash taskbar last until the app is focused again (#767)
* Added functionality of making the flash taskbar last until chatterino is focused again

* added it for every flash taskbar

Fixes #760
2018-10-06 15:51:13 +00:00
Rasmus Karlsson
98c1d61e78 reformat 2018-10-06 17:41:23 +00:00
Rasmus Karlsson
67d9910bd5 Fix uninitialized memory usage error 2018-10-06 17:41:23 +00:00
Rasmus Karlsson
a196129171 Fix wrong format syntax 2018-10-06 17:41:23 +00:00
Felix Schmid
300852bbf5 added the settings shortcut to the keybindings window 2018-10-06 14:22:07 +00:00
pajlada
099fd88098
Merge pull request #743 from 23rd/patch-15-scroll-tabs
Added scrolling over tabs with wheel to switch channels.
2018-10-06 12:32:37 +00:00
23rd
871fde5f72 Reversed scroll behavior. 2018-10-06 14:18:27 +03:00
23rd
9f5da50bce Moved creating UserInfoPopup in one place. (#761)
* Moved creating UserInfoPopup in one place.

* Added forgotten 'this'.

Fixes #759
2018-10-06 10:13:14 +00:00
23rd
1fcfd8b13a Removed few-step scroll. 2018-10-05 23:57:02 +03:00
Ckat
b4683c5b35 add menu option to reload subscriber emotes 2018-10-05 19:52:33 +00:00
Ruben Anders
79f64a21c3 Fix typo: "authority badges" 2018-10-05 19:42:27 +00:00
pajlada
1f1175a034
Merge pull request #746 from DatGuy1/patch-3
Don't change split header for whisper

Fixes #691
2018-10-05 19:41:06 +00:00
pajlada
c4c4a8d575
Merge pull request #748 from Cranken/windowPos
Fixed window moving 1px to the left each restart.
2018-10-05 19:39:41 +00:00
Rasmus Karlsson
c6bca8e97b Allow addMessage to override message flags 2018-10-05 21:33:01 +00:00
pajlada
57eb8f9eb7
Merge pull request #744 from Chronophylos/custom-highlight-color
Add hidden setting for highlight color
2018-10-05 18:41:31 +00:00
Cranken
41ba06ffc2 Fixed window moving 1px to the left each restart. 2018-10-04 11:07:46 +02:00
Rasmus Karlsson
39a8e8193c fix whispers crashing if they contained twitch badges 2018-10-02 19:27:08 +02:00
DatGuy1
ad949dc1f6
Don't change split header for whisper
Prevent normal channel split headers from changing colours when receiving a whisper
2018-10-02 10:45:26 +03:00
Rasmus Karlsson
c872db3d9f add chatterino nightly version string to nightly builds 2018-10-01 21:44:23 +02:00
Chronophylos
378ea157a1 Add hidden setting for highlight color 2018-10-01 13:05:50 +02:00
23rd
7122e47817 Added scrolling over tabs with wheel to switch channels. 2018-10-01 03:32:20 +03:00
Rasmus Karlsson
cd571a7e25 clean up warnings 2018-09-30 17:15:17 +00:00
Rasmus Karlsson
a2fb4ca104 reformat 2018-09-30 16:55:41 +00:00
pajlada
d79a8b81b1
Merge pull request #736 from TETYYS/message-limit-fix
Changed LimitedQueue::space() to signed value, eliminating underflows
2018-09-30 14:50:47 +00:00
Cranken
22d009962d Now saves the enable highlight on new message tab setting. 2018-09-30 15:02:30 +02:00
pajlada
0e794f5a6d
Merge pull request #739 from Cranken/enableHighlightTab
Option to disable highlight of tab; disabled switching tabs by only right clicking
2018-09-30 12:30:52 +00:00
Cranken
f6e6916263 Fixed variable naming style. 2018-09-30 14:31:00 +02:00
Cranken
753b2cf139 Fixed messages getting added multiple times after roomstate change. 2018-09-30 12:17:58 +00:00
tetyys
612c9c94dc Clear scroll bar when switching channels in a ChannelView 2018-09-30 11:53:17 +00:00
Cranken
abb01b54f5 Fixed clang format. 2018-09-30 13:44:41 +02:00
hemirt
e7f74aa8ca ignorephrase format 2018-09-30 11:42:23 +00:00
hemirt
6ca4f661a7 clangformat 2018-09-30 11:42:23 +00:00
hemirt
4eefeb80e7 remove dead line 2018-09-30 11:42:23 +00:00
hemirt
3184234c19 Squashed commit of the following:
commit ea07bbef0b
Merge: 0b36f436 5cfcf114
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:05:14 2018 +0200

    Merge branch 'blacklist' into blacklistnew

commit 5cfcf114b6
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:00:16 2018 +0200

    rename second pattern to replacement

commit f08cc4cf88
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:30 2018 +0200

    delete out commented code

commit 1acb1278aa
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:03 2018 +0200

    fix replacement with emotes issues

commit 646268ab18
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 01:06:36 2018 +0200

    fix build

commit ad711b4c15
Merge: e8e059f8 8bcc9c48
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:52:38 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e8e059f847
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:25:58 2018 +0200

    add replaced emotes into twitchEmotes

commit a63454f00d
Merge: e7f2f397 63eaf3b9
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 22:38:16 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e7f2f39737
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 21:54:01 2018 +0200

    emotedata

commit f00d3da537
Author: hemirt <hemirt@email.cz>
Date:   Sat Jul 28 19:53:55 2018 +0200

    rename variables to fit better, emotes in capture groups from regex work

commit 00c9fa080a
Author: hemirt <hemirt@email.cz>
Date:   Mon Jul 9 19:53:53 2018 +0200

    add case sensitivity checkbox and fix validity issues due to isValid
    that checked regex

commit 4385fcd13f
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:09:14 2018 +0200

    remove commented code

commit 1834342f74
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:03:13 2018 +0200

    IgnorePhrase replacement

    also removes twitch emotes info about the matched and changed parts and
    shifts positions of other emotes from emote infos to the corresponding new
    position

commit d3b6e294ed
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 16:21:33 2018 +0200

    ignore phrases
2018-09-30 11:42:23 +00:00
apa420
86024ade24 fixes that timeout/ban messages didn't show (#728) 2018-09-30 10:50:47 +00:00
Cranken
839f78e19b Update regardless of button. 2018-09-29 22:35:33 +02:00
Cranken
036abd4852 Don't switch tab if only right mouse is pressed on other tab. 2018-09-29 22:30:31 +02:00
Cranken
f25f31a837 Added button on tab to enable/disable highlighting. 2018-09-29 22:24:48 +02:00
tetyys
45d0bd6299 Changed LimitedQueue::space() to signed value, eliminating underflows 2018-09-26 22:21:38 +03:00
23rd
4c5a0472cd Activate opened emote popup. (#733) 2018-09-25 11:37:24 +00:00
Rasmus Karlsson
0b36f43611 make the list of ignored usernames into a set instead, making it more maintanable
change "open twitch channel in new split" menu action text
2018-09-21 22:46:00 +02:00
23rd
9a6650b56c Added button in menu to join to channel. (#724) 2018-09-21 20:35:14 +02:00
apa420
a3a7317e62 [WIP] Fixing stuff in light/white theme (#723)
* fixed color in light/white them when a tab lights pink

* fixes background color of chatterino in white/light-themes

* Fixed emoji-button in light/white-theme

* added light/white-theme addsplit-button

* forgot to add the image-file
2018-09-21 20:18:52 +02:00
Rasmus Karlsson
a733b6975d make emote popup emote insertions less risky 2018-09-21 22:01:21 +02:00
Rasmus Karlsson
92bf1adf88 fix tabbing usernames with @ 2018-09-21 13:57:49 +02:00
23rd
eb230494a6 Dont add scrollbar highlights in /mentions. 2018-09-21 13:54:12 +02:00
apa420
d751d1939e used different linebreaking as suggested from 23rd 2018-09-21 13:43:33 +02:00
apa420
f4ba61efc3 fixed tooltip on twitch emotes in a cheesy fasion 2018-09-21 13:43:33 +02:00
23rd
579c6b9bf9 Trim channelname in join channel window. 2018-09-21 13:43:10 +02:00
apa420
ea17d23224 apa fixed custom subscriber badges tooltip 2018-09-20 21:59:34 +02:00
Rasmus Karlsson
56b1fd6913 Increase timeout on FFZ channel emote requests
We might want to send some message upon these sort of errors happening

Fix #709
2018-09-20 13:39:19 +02:00
Rasmus Karlsson
8eba7a0182 add method to NetworkRequest to fetch the underlying url string 2018-09-20 13:37:20 +02:00
Rasmus Karlsson
641c5822d7 fix various warnings 2018-09-20 13:09:37 +02:00
23rd
30f51d8137 Removed useless arg from appendTwitchEmote(). 2018-09-20 10:57:36 +02:00
23rd
f813c2de3b Improved insertion of emotes from popup. 2018-09-20 10:57:22 +02:00
23rd
88477829ef Replaced size() check with empty(). 2018-09-19 13:01:22 +02:00
23rd
acd03a3280 Dont show empty categories in viewer list. 2018-09-19 13:01:22 +02:00
fourtf
47c93fb118 fixed memory corruption 2018-09-17 12:51:16 +02:00
cub
4c5f2e41e5
replace malloc with make_unique 2018-09-17 02:45:11 -03:00
pajlada
e2a7765964
Merge branch 'master' into apa-notification-on-live 2018-09-16 17:43:53 +02:00
apa420
23cf815219 Which badges that are shown are now customizable #282 (#696) 2018-09-16 17:42:30 +02:00
apa420
56aac47fde fixed chatterino badges (#698)
* fixed chatterino badges
2018-09-16 17:27:51 +02:00
23rd
0d8b5cad63 Added setting to disable auto unshort links. 2018-09-06 17:59:49 +03:00
23rd
5f19a57f5a Refresh links of new messages.
As I understand links update when all message snapshots update, so we need to refresh url manually via signal.
2018-09-06 17:11:25 +03:00
23rd
2d1701cf86 Fixed build. 2018-09-06 13:54:28 +03:00
23rd
fe24d09009 Replace url of link with new one from json. 2018-09-05 15:37:51 +03:00
fourtf
018fe2ab10 fixed some shtuff 2018-09-04 22:29:21 +02:00
fourtf
1d16c0cf77 fixed crasherino 2018-09-04 22:05:27 +02:00
fourtf
1d682c4a93 added add split button 2018-09-04 21:39:54 +02:00
fourtf
3f4e9cdf91 added text for empty categories in emote popup 2018-09-04 20:09:06 +02:00
23rd
d0ea0f2478 Clear highlights scrollbar with messages. 2018-09-02 03:02:12 +03:00
Rasmus Karlsson
a7487ab43e Temporary fix for timeouts not graying out messages properly
Fix #669
2018-09-01 13:43:17 +00:00
Rasmus Karlsson
eb04e1c3df Fix channel badges not scaling properly 2018-09-01 13:03:17 +00:00
Rasmus Karlsson
4752a3a4d4 Mark image as empty if network request fails 2018-09-01 12:47:02 +00:00
Rasmus Karlsson
d16307a484 reformat 2018-09-01 12:33:27 +00:00
Rasmus Karlsson
afeb7e719b Fix /r not working 2018-09-01 12:32:39 +00:00
Rasmus Karlsson
08b4179a44 Add back "clear messages" in split functionality 2018-09-01 12:19:15 +00:00
apa420
ca5bb104db hopefully it will now compile on linux 2018-09-01 13:01:54 +02:00
apa420
05d0b20919 I checked the wrong filepath 2018-08-31 18:18:05 +02:00
apa420
83737996ae Fixed /mentions 2018-08-30 20:18:38 +02: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
01ca055763 fixed issue where when a channel was going offline it would do a toast if the channel was notified 2018-08-29 22:22:32 +02:00
apa420
c5a88f6af3 fixed stuff 2018-08-29 19:58:55 +02:00
pajlada
597a8eeb2b
Merge pull request #686 from 23rd/patch-8-fixed-down-arrow
Fixed down key in input field.
2018-08-29 10:24:47 +02:00
pajlada
873b0b3c67
Merge pull request #693 from apa420/apa-minor
Highlighting whispers works better and looks better
2018-08-29 10:22:16 +02:00
apa420
9a0205bdc9 did request 2018-08-29 01:37:57 +02:00
pajlada
875e12f728
Merge pull request #684 from 23rd/patch-7-hotkey-emote-menu
Added hotkey for Emote menu.
2018-08-29 01:34:56 +02:00
apa420
a36a2a2939 fixed issue with having the wrong variable 2018-08-29 01:24:35 +02:00
pajlada
6eb21f4b68
Merge pull request #677 from 23rd/patch-4-link-tooltip-bttv
Added tooltip to links.
2018-08-29 01:23:17 +02:00
23rd
235f9eebf1 Added 'this'. 2018-08-29 02:22:57 +03:00
apa420
c3065db16d highlighting whispers works better and looks better 2018-08-29 01:21:36 +02:00
apa420
c5d5825b5a Added functionality of option of highlightsound on whisper (#692)
Fixes #640
2018-08-29 00:30:11 +02:00
apa420
6a29fbb6dc
Merge branch 'master' into apa-notification-on-live 2018-08-28 23:23:46 +02:00
hemirt
113cfd69b0 Fix emote copying (#687)
* Fix emote copying

* Fix (i.e. no longer add) blank spaces instead of badges

I.e. badges' names do not get copied
2018-08-28 19:25:15 +02:00
23rd
bfe87b699a Refactored cursorToEnd. 2018-08-27 21:22:53 +03:00
23rd
f6d0cc9e6b Fixed down key in input field. 2018-08-27 21:12:38 +03:00
23rd
0f2d6a4a22 Added hotkey for Emote menu. 2018-08-27 15:36:01 +03:00
23rd
bf529d5503 Rewritten check for incorrect link. 2018-08-26 16:33:04 +03:00
23rd
cb500070f2 Run away from BTTV API. 2018-08-26 15:55:44 +03:00
apa420
15bcb5a2fb Initially done with PR 2018-08-26 13:49:15 +02:00
apa420
8ea3b6c8ee Added fakechannels 2018-08-26 13:19:09 +02:00
23rd
ce155299e9 Added right-click on nickname to reply on whisper. (#680) 2018-08-26 10:42:00 +02:00
23rd
c7e2188582 Added tooltip to original link too. 2018-08-25 21:54:17 +03:00
23rd
f4828b7d09 Rename everything. 2018-08-25 21:54:10 +03:00
23rd
539d8c20d2 Put isValid() in variable. 2018-08-25 21:29:14 +03:00
23rd
f8c42918a6 Added option to turn off link info tooltips. 2018-08-25 21:29:08 +03:00
Rasmus Karlsson
70199e00d2 Remove unused 'preferred emote quality' setting 2018-08-25 12:29:43 +00:00
Rasmus Karlsson
c1ec0e49d4 Change scaling values around to look good on my setup
Might need some DPI magic to look good on every setup, but I think this
is an improvement
2018-08-25 12:29:02 +00:00
apa420
c4679bf048 almost implemented the faekchannels, just need to fix the timer, pls help pajlada 2018-08-25 14:13:26 +02:00
Rasmus Karlsson
5647c6a80c Fix crash when receiving a whisper
Fix #672
2018-08-25 10:23:58 +00:00
23rd
d6c4244b79 Fixed double click in emote popup. (#679) 2018-08-25 10:08:10 +02:00
apa420
8f77dccb91 testing emoji because having windows 8 sucks 2018-08-24 18:38:27 +02:00
apa420
e58e76ef1e added more playsound stuff 2018-08-24 18:05:36 +02:00
23rd
5253ab3f85 Added tooltip to links via BTTV API. 2018-08-24 13:16:55 +03:00
23rd
8a1c30408a Set displayName to UserInfo link as value. (#675) 2018-08-22 15:16:19 +02:00
23rd
be4b3f1a38 Don't add empty messages to message history. (#674) 2018-08-22 00:57:44 +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
Rasmus Karlsson
3fc91bded5 Move some helper functions to Helpers.hpp 2018-08-19 16:26:32 +02:00
apa420
21c4880ace for pajlada 2018-08-19 15:09:00 +02:00
apa420
3d109a6ca3 added settings for dot next to channel name 2018-08-18 13:07:12 +02:00
apa420
15e9e3e642 Added functionality of colored splits when live 2018-08-17 21:19:15 +02:00
fourtf
8bcc9c487b Fixes #411, #516 2018-08-16 00:16:33 +02:00
fourtf
5068c9a64e Fixes #161 2018-08-15 23:48:16 +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
Confuseh
d7566665d8 minor streamlink quality option fix (#664) 2018-08-14 17:36:20 +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
Daniel Pasch
c4e3bf1a8c Fix compiling on macOS High Sierra (#665)
* mac docs update relating to qt 

give a little more detailed installation guide for the qt installation

* Fix compiling on clang, now compiles on macOS High Sierra
2018-08-13 20:10:32 +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
f1fbd7ee5c Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-08-12 23:30:18 +02:00
apa420
93bbe33664 Cleaned some stuff up and did some things 2018-08-12 21:05:12 +02:00
apa420
320558ee63 more stuff done, does compile, changed vector for map 2018-08-12 20:21:21 +02:00
apa420
05d5709bb9 stuff does compile 2018-08-12 18:54:32 +02:00
apa420
54166ec130 temp stuff 2018-08-12 15:29:40 +02:00
fourtf
f6414c9d7e remove settings and paths from Application 2018-08-12 12:56:28 +02:00
Lajamerr Mittesdine
7ff4f12257 Fix Global FFZ emotes in Emote Popup (#663)
There was two instances of Global BTTV emotes.
Changed the second instance to Global FFZ emotes.
2018-08-12 01:12:03 +02:00
fourtf
1ec1ecd52b fixed crash when moderation buttons are enabled 2018-08-12 00:02:05 +02:00
Touhou-fan
b3fd278c3c Fix selecting incorrect image (#659) 2018-08-11 23:53:20 +02:00
fourtf
44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf
63eaf3b94c fixed not being able to select text backwards 2018-08-11 17:35:46 +02:00
fourtf
c768bd9bd9 fixed image animations 2018-08-11 17:15:17 +02:00
apa420
2de99ca9f5 update, should now be working Toasts for splitheader channels 2018-08-11 16:11:51 +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
Rasmus Karlsson
6fa32607d3 fix misspelling of the rapidjson include file thing 2018-08-11 14:10:20 +02:00
apa420
77411f7012 WIP commit 2018-08-11 12:47:03 +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
apa420
125af43d90 Fixed issue, everything except the main feature work now 2018-08-10 00:15:42 +02:00
apa420
5437a6dd4d update which actually let's you compile, but doesn't properly save an item after renaming it 2018-08-10 00:04:50 +02:00
fourtf
6344fa6b23 loading images on their own thread 2018-08-09 20:46:58 +02:00
fourtf
bb76a632f4 fixed image size now updating on load 2018-08-09 17:04:15 +02:00
fourtf
878daf6eee added link to license 2018-08-09 16:44:04 +02:00
fourtf
cb235ef532 fixed ocd inducing 1 pixel offsets 2018-08-09 16:20:09 +02:00
apa420
5c6d2f36b5 WIP notification settings, doesn't actually work 2018-08-09 15:41:32 +02:00
apa420
b68c7ded5f WIP notification settings, doesn't actually work 2018-08-09 15:41:03 +02:00
fourtf
81f2f8781a fixed window frame for qt 5.11.1 2018-08-09 15:13:11 +02:00
fourtf
e1f180ac28 added qt version number to about tab 2018-08-09 06:34:14 +02:00
fourtf
94813fe3df added subfunctions for ChannelView() 2018-08-08 20:06:20 +02:00
fourtf
bdfe24035b fixed rectangle being off by 1 pixel in split container 2018-08-08 19:42:14 +02:00
fourtf
5957b87298 minor changes 2018-08-08 15:50:43 +02:00
fourtf
d89b62692a refined SplitHeader 2018-08-08 15:35:54 +02:00
fourtf
7a9af4ae84 moved menu code to ripple effect button 2018-08-07 23:46:00 +02:00
fourtf
e1b8faacc9 added increased size of drag and drop regions 2018-08-07 09:45:10 +02:00
fourtf
5df231f072 improved split header menu button 2018-08-07 09:38:18 +02:00
fourtf
f34063213c fixed split header menu opening in the wrong direction 2018-08-07 09:05:27 +02:00
fourtf
0682214ba7 fixed settings background color 2018-08-07 08:12:44 +02:00
fourtf
381177dd24 refactored EnumFlags 2018-08-07 07:55:31 +02:00
fourtf
bfa75330a4 fixed crash 2018-08-07 06:25:58 +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
defa7e41fa simplified Image a bit 2018-08-06 20:00:04 +02:00
fourtf
c71795da17 Merge branch '4tf' 2018-08-06 18:41:30 +02:00
fourtf
35d462d1f1 worked on Image 2018-08-06 18:25:47 +02:00
apa420
43ba408568 Added functionality of customizable split headers #637 (#648)
* Added functionality of customizable split headers

* removed empty line
2018-08-06 16:42:23 +02:00
apa420
c6cfb548f5 added functionality of 'boldness-slider' #647 (#650) 2018-08-06 16:41:27 +02:00
apa420
82460557cb 'ignore highlights' checkbox in user info popup - did request (#618)
* Added 'ignore userhighlights' to userpopup

* removed unecesarry include

* Fixed the todo

* renamed bool

* Did request

* changed some names
2018-08-06 16:40:46 +02:00
apa420
7e3292e900 Dynamic lowercase link setting - did request (#612)
* Added functionality of dynamic lowercase links

* fixed fourtfs request, lajamerr has a better solution though

* Fix matching and lowercasing of domain only.

* Update TwitchMessageBuilder.cpp

Added what fourtf asked in a good  way
NOTE: I removed a : from the regex since otherwise it would fuck up

* fixed stuff and removed debugs

* fixed stuff
2018-08-06 16:40:12 +02:00
fourtf
c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
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