Commit graph

1974 commits

Author SHA1 Message Date
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
apa420 a12bd3df18 Now show joined setting doesn't also show parted and parted shows parted (#1376) 2019-10-20 20:11:12 +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
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
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
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