Commit graph

361 commits

Author SHA1 Message Date
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
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 fc5186a499 Remove invalid warning for gcc 2018-07-15 11:03:41 +00:00
fourtf 111853c574 improving TwitchChannel 2018-07-14 14:24:18 +02:00
apa420 c26e18c2bf Added functionality of /follow and /unfollow 2018-07-12 03:54:54 +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 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
fourtf 280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
Rasmus Karlsson 822b9737ca Remove duplicate LogsPopup.cpp in project file 2018-07-06 18:14:19 +00: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 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 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
fourtf 59332270b5 put the update button code into it's own file 2018-07-05 12:54:38 +02:00
fourtf 335cbf8758 added basic download icon to the window frame 2018-07-04 20:42:51 +02:00
Rasmus Karlsson 03b7fae09e Refactor highlight blacklist to use the model system
Fix #560
2018-07-04 11:45:10 +00:00
Rasmus Karlsson e32af3206a add another warning flag to ignore 2018-07-03 21:27:33 +00:00
fourtf cd57b2b518 renamed AppearancePage and BehaviourPage 2018-07-03 17:45:31 +02:00
fourtf 63a596ef16 added moderation action settings back in 2018-07-03 15:00:21 +02:00
fourtf eb809d1572 Fixes #538 multiple window frames on windows 2018-07-03 12:08:12 +02:00