Commit graph

384 commits

Author SHA1 Message Date
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
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
20d8da8f2d
Merge branch 'master' into git_is_pepega 2020-01-01 21:06:29 +01:00
Rasmus Karlsson
25a2c04b02 Add lists of valid and invalid links 2019-12-29 15:46:29 +01:00
pajlada
2cb2f679c2
Better support for compiling with system libraries (#1447) 2019-12-29 12:47:15 +01:00
pajlada
e7698cebd8
Add GitHub Actions support (#1463) 2019-12-28 14:54:03 +01:00
Artem Polishchuk
142e967c58 Add AppData manifest (#1445)
Rename desktop file to proper UUID name scheme
2019-12-19 21:38:37 +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
bcc53c9aa7 Clean up Twitch badge appending code 2019-12-01 13:32:41 +01:00
fourtf
0c1da59564 added CONFIG += c++17 2019-10-07 16:51:46 +02:00
fourtf
d426f72453 fixed missing linker thing on mac and linux 2019-10-07 16:12:36 +02:00
fourtf
b1cbf09427 removed appbase directory 2019-10-07 15:46:41 +02:00
Mm2PL
65fab779c5
Redo all changes done before breaking the branch. 2019-09-23 19:36:52 +02:00
fourtf
f27c8eb1b4 fixed crash restart conditions 2019-09-22 16:14:16 +02:00
fourtf
7e555843ca added class containing program arguments 2019-09-22 15:30:04 +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
9c59efb985 Provide singleton class for version information 2019-09-19 23:30:18 +02:00
fourtf
3ab7362304 Merge branch 'master' into irc-support 2019-09-18 13:03:16 +02:00
fourtf
765a75f158 added irc commands 2019-09-18 10:59:28 +02:00
fourtf
96dac0fd3d moved chatters to ChannelChatters 2019-09-17 12:11:11 +02:00
fourtf
7cbbd72e7f disable updates on windows nightlies 2019-09-15 15:45:04 +02:00
fourtf
22ca20ad2a renamed TwitchServer -> TwitchIrcServer 2019-09-15 13:02:02 +02:00
fourtf
9bbc4f8a5e queue for erase/set credentials 2019-09-14 22:58:53 +02:00
fourtf
7c6f744e73 added insecure credential store 2019-09-13 19:26:52 +02:00
fourtf
99b92bf820 moved communi namespace define into libcommuni.pri 2019-09-09 22:19:20 +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
fourtf
24a1996a68 fix project file 2019-09-08 18:17:18 +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
289811dc7d Moved example cheers to new file 2019-09-08 17:25:42 +00: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
fourtf
a268abfd4c Allow searching in LogsPopup 2019-09-04 00:29:58 +02:00
fourtf
577e2e0a21 moved cache into general page 2019-09-03 12:46:22 +02:00
fourtf
6aa6e084af removed unused settings pages 2019-09-03 11:49:44 +02:00
fourtf
ae20acb7ea renamed AccountSwitchPopupWidget -> AccountSwitchPopup
This has been triggering me forever
2019-09-01 14:13:44 +02:00
fourtf
a7cd1fbf97 removed unused files 2019-08-20 22:16:17 +02:00
fourtf
7bf5a79f8a Delete emote popup when it is closed. 2019-08-13 16:39:22 +02:00
Rasmus Karlsson
381aaaa2d8 add old warnings.pri file (copied from appbase project) 2019-08-10 23:21:12 +02:00
Edgar
af59cce89b 📦 Create appimage 2019-08-04 15:38:00 +02:00
pajlada
8b1f9e91b4
Merge pull request #1173 from AnotherFoxGuy/boost-conan
👷 Manage Boost with conan
2019-08-03 11:46:23 +02:00
Edgar
654712ed64 👷 Manage Boost with conan 2019-08-03 11:39:41 +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
pajlada
4a5a7c84fc
Merge pull request #1153 from AnotherFoxGuy/openssl-conan
👷 Manage OpenSSL libs with conan
2019-07-28 12:23:48 +02:00
fourtf
a85e5821ba Remove appbase as an external dependency. 2019-07-23 23:55:31 +02:00
Edgar
88c3a5cb18 👷 Manage OpenSSL libs with conan 2019-07-21 16:12:19 +02:00
rexim
3838157d82 Extract TooltipWidget updating into a separate class 2019-06-12 01:03:04 +07: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
8c46cbf571 add chatterino icon to linux install script 2019-05-11 00:01:32 +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
Rasmus Karlsson
536e86f919 add a reasonable default installation path
modifiable in qmake with the PREFIX argument
i.e. qmake PREFIX=/usr
2019-05-07 11:08:50 +02:00
TranRed
2be81aa877 Update chatterino.pro 2019-05-02 00:01:18 +02:00
TranRed
724ad2118b Update chatterino.pro 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
23rd
780b1e8622 Fixed icon of application for OS X. 2019-04-27 16:43:03 +03:00
fourtf
9be0d7d458 removed red stripes and connected tape cut visuals 2019-04-17 17:02:13 +02: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
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
41a07a43af added switch for appbase standalone 2018-11-23 12:08:24 +01:00
fourtf
38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf
0f8a1a3ff8 added appbase submodule 2018-11-22 19:36:58 +01:00
fourtf
5c720242e4 removed unused dependencies 2018-11-22 19:11:26 +01:00
fourtf
cf26f10b80 initial appbase integration 2018-11-21 21:37:41 +01:00
Rasmus Karlsson
57069c609a maybe update chatterino.pro to work for older versions of osx 2018-11-07 12:20:45 +01:00
Rasmus Karlsson
22cf4368bd potentially fix msvc compilation 2018-11-03 15:43:38 +01:00
Rasmus Karlsson
ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00
fourtf
3c3be99177 new settings page 2018-10-31 19:49:15 +01:00
pphop
3c9bcd581a custom ffz moderator badges (#827) 2018-10-25 21:53:03 +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
hemirt
b3a41e5c1a Closed Splits 2018-10-09 19:48:22 +02:00
pajlada
e2a7765964
Merge branch 'master' into apa-notification-on-live 2018-09-16 17:43:53 +02:00
apa420
df7d256c7f
Update chatterino.pro 2018-08-29 09:57:10 +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
apa420
6a29fbb6dc
Merge branch 'master' into apa-notification-on-live 2018-08-28 23:23:46 +02:00
23rd
f4828b7d09 Rename everything. 2018-08-25 21:54:10 +03:00
Rasmus Karlsson
90e960f319 Remove non-existant files from chatterino.pro 2018-08-25 10:24:28 +00:00
23rd
5253ab3f85 Added tooltip to links via BTTV API. 2018-08-24 13:16:55 +03: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
apa420
21c4880ace for pajlada 2018-08-19 15:09:00 +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
f6e110b7fb fixed and optimized the autocompletion 2018-08-13 14:04:35 +02:00
apa420
93bbe33664 Cleaned some stuff up and did some things 2018-08-12 21:05:12 +02:00
fourtf
c719bb6b74 categorized emtotepopup 2018-08-11 14:26:02 +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
b68c7ded5f WIP notification settings, doesn't actually work 2018-08-09 15:41:03 +02:00
fourtf
e1f180ac28 added qt version number to about tab 2018-08-09 06:34:14 +02:00
fourtf
d89b62692a refined SplitHeader 2018-08-08 15:35:54 +02:00
fourtf
5df231f072 improved split header menu button 2018-08-07 09:38:18 +02:00
fourtf
c26422aec1 refactored MessageBuilder 2018-08-07 01:35:24 +02:00
fourtf
35d462d1f1 worked on Image 2018-08-06 18:25:47 +02:00
fourtf
c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00