Commit graph

67 commits

Author SHA1 Message Date
330a79f6f1 made message grey out when user it timed out 2018-01-01 23:29:54 +01:00
3fc4ddea56 I hate c++ and everything it stands for 2018-01-01 22:29:21 +01:00
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
ad001431f2 renamed resources to ResourceManager 2017-12-31 02:21:33 +01:00
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00
Rasmus Karlsson
091e7b9dbe update subscribe url 2017-12-28 18:17:25 +01:00
Rasmus Karlsson
307dc16d79 use twitch get with rapidjson json in refreshLiveStatus
we now check that all values are legit, which can be an issue if we are
sent invalid json data
2017-12-28 18:17:25 +01:00
4a405379d0 remove the double space after username 2017-12-28 17:56:00 +01:00
Cranken
cb75c2a725 Fixed messages getting loaded multiple times. (#170)
* Implemented loading recent messages.

* Fixed messages getting loaded multiple times.
2017-12-28 00:03:52 +01:00
Cranken
223f4af55a Implemented loading recent messages. (#162) 2017-12-27 01:22:12 +01:00
Rasmus Karlsson
03962db367 move some logic abou updated state to twitchuser 2017-12-26 11:59:26 +01:00
fourtf
9b90b1b590 made usernames bold 2017-12-23 23:48:10 +01:00
fourtf
2bf53f73f8 oh no the bad commit descriptions are back D: 2017-12-23 23:24:35 +01:00
fourtf
fc81b118c7 replaced qt font scaling
remove the qt font scaling and added code that uses the actual scale/dpi value
2017-12-23 21:18:13 +01:00
Rasmus Karlsson
be3c85d72d Move some variables into const.hpp
Clean up some code in the AccountManager
2017-12-19 16:13:02 +01:00
Rasmus Karlsson
1e3aca1b7a Add method for updating a twitch users client id/oauth token 2017-12-19 15:09:54 +01:00
Rasmus Karlsson
4b36893818 Add simple tooltip system 2017-12-19 03:38:42 +01:00
fourtf
c950e9c58a added some code for collapsing messages 2017-12-19 00:10:03 +01:00
fourtf
625e33d654 ping sound media doesn't get recreated on every message 2017-12-18 17:57:56 +01:00
Rasmus Karlsson
03958420be We now also add localized names to the autocompletion
Changed the login name in autocompletion to the display name
Autocompletion model is now only updated on the "first completion"
2017-12-17 21:05:48 +01:00
Rasmus Karlsson
5839b9f522 add username to message (simple) 2017-12-17 17:48:46 +01:00
Rasmus Karlsson
70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
Rasmus Karlsson
eb8e14b8fe Move more settings over to pajlada settings system 2017-12-17 01:19:56 +01:00
Rasmus Karlsson
ad8ee97de9 Fall back to default subscriber badge if there's no other badge available 2017-11-04 17:22:53 +01:00
Rasmus Karlsson
7b2e3a94a6 Moved online status checking logic from ChatWidgetHeader to TwitchChannel
- Channel now needs to be initialized with a name. Special cases like the emote window just sends an empty string.
 - ChatWidget now has a signal which is called whenever the widgets channel is changed
 - Changed roomID from an std::string to a QString
2017-11-04 14:57:29 +01:00
Rasmus Karlsson
23651fd513 Add option to play highlight sounds even if Chatterino is focused.
This is off by default
2017-10-08 21:27:27 +02:00
Rasmus Karlsson
81e06f3a53 debug::Log can now be used instead of qDebug()
Usage:
```
QString string("world");
debug::Log("hello: {}", string);
```
2017-09-24 19:23:07 +02:00
Rasmus Karlsson
c14dc43b18 fix highlights - reformat some stuff 2017-09-24 18:43:24 +02:00
Rasmus Karlsson
903cf30ddf fix currentUser thing 2017-09-24 18:14:22 +02:00
Cranken
881e695189 Added some functionality to the accountPopup (#117)
* Added some buttons.

* Added some more functionality.

* Finished adding button functionality.

* Implemented @fourtf's suggestions.
2017-09-23 19:23:10 +02:00
fourtf
bd4601a5d4 added MessageColor to represet special colors 2017-09-21 00:54:10 +02:00
fourtf
c7b3480aaf ChatWidgetView -> ChannelView, added Emote Picker 2017-09-16 00:05:06 +02:00
Rasmus Karlsson
8d2e48f944 Implement an advanced method of adding a user to chatterino.
You can now switch between multiple users in the settings dialog.
(Requires a restart for reconnecting etc)
2017-08-19 15:37:56 +02:00
fourtf
cac2786c58 fixed emotes after emojis not showing 2017-08-17 22:46:16 +02:00
Rasmus Karlsson
a82774543c Fix warnings/reformat some code 2017-08-12 15:58:46 +02:00
Rasmus Karlsson
63f85e9bee Implement Chatterino badges
Fix #63
2017-08-12 13:20:52 +02:00
Rasmus Karlsson
3bfaba2d95 Split parseUsername into parseUsername and apendUsername 2017-08-12 13:18:48 +02:00
Rasmus Karlsson
ac6db75dc6 Reformat according to .clang-format 2017-08-12 12:09:26 +02:00
Rasmus Karlsson
f455ef9f24 Fix textColor leaking after links 2017-08-12 12:07:53 +02:00
fourtf
e1364f2bd2 gave links color 2017-08-05 18:44:14 +02:00
Rasmus Karlsson
950a84ec50 Fix wrong default value on doHighlight
Add debug message for when a highlight is triggered for debugging
purposes
2017-07-31 11:08:32 +02:00
Rasmus Karlsson
51f81262d5 Clean up highlight code
Fix bug if no account is selected
2017-07-31 01:19:25 +02:00
Rasmus Karlsson
626002c8ff reformat code 2017-07-31 00:57:42 +02:00
Cranken
8fb0671834 Added Highlights (#86)
Added Highlights
2017-07-31 00:37:22 +02:00
Rasmus Karlsson
0563136a34 Add option to display/hide localized names
Fix #49
2017-07-23 11:59:32 +02:00
Rasmus Karlsson
ab814d1e63 refactor stuff 2017-07-23 09:56:06 +02:00
Rasmus Karlsson
5aa892e834 Refactor ConcurrentMap
* Add operator[] to ConcurrentMap which returns a TValue reference
* BTTV/FFZ channel emotes are now stored in the Emote Manager, and each Channel object has a reference to their own BTTV/FFZ channel emote map.
* Restructure EmoteManager a bit (simplify the ConcurrentMap havoc).
* Add EmoteData struct which can store emote data (for now only messages::LazyLoadedImage*)
* Add CompletionManager that does nothing
2017-07-09 17:58:59 +02:00
Rasmus Karlsson
73ed39da14 Clean up twitch message parsing 2017-07-02 18:13:16 +02:00
Rasmus Karlsson
a58cd3333e Implement emoji parsing
Fix #60
2017-07-02 17:39:51 +02:00
Rasmus Karlsson
5245cfacd1 Store channel room ID as a string instead of an int 2017-07-02 15:12:00 +02:00