Commit graph

3238 commits

Author SHA1 Message Date
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
358e3a5cfa added new websocketpp 2019-09-15 17:15:00 +02:00
fourtf
36e0dde911 removed websocketpp 2019-09-15 17:13:46 +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
a47ea5136c updated appveyor file 2019-09-15 16:20:32 +02:00
fourtf
64362d687a updated .travis.yml file 2019-09-15 15:55:49 +02:00
fourtf
2a9712b91f updated macos version for travis 2019-09-15 15:51:30 +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
0219cb0c36 added Chatterino/qtkeychain to fix compilation 2019-09-10 17:06:58 +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
de956d2b95 deleted qtkeychain submodule 2019-09-10 16:46:02 +02:00
fourtf
cfaf59b6a5 removed qtkeychain 2019-09-10 16:42:11 +02:00
fourtf
d0e10a937e fixed qtkeychain dependency 2019-09-10 15:53:45 +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
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
6cd3cfe79f
Merge pull request #1299 from leon-richardt/normalize-line-endings
Normalize Line Endings
2019-09-08 23:52:55 +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
3404cc503c fixed compile on unix 2019-09-08 22:01:14 +02:00
Leon Richardt
8064f8a49e Add .gitattributes file to normalize line endings
This should make sure that line endings for text files are converted to
LF.

Some reading: https://git-scm.com/docs/gitattributes#_effects
2019-09-08 22:01:12 +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
24a1996a68 fix project file 2019-09-08 18:17:18 +02:00