Marko
29272e130a
Migrate /unraid
to Helix. ( #4030 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-08 12:10:38 +00:00
nerix
974a8f11b7
Migrate /w
to Helix API ( #4052 )
2022-10-08 13:11:55 +02:00
nerix
874ef64216
Migrate /ban
and /timeout
to Helix API ( #4049 )
2022-10-06 23:52:25 +02:00
nerix
25bccc90b4
Migrate Remaining Chat Settings Commands to Helix API ( #4040 )
2022-10-03 19:42:02 +02:00
nerix
54129f76a3
Migrate /emoteonly and /emoteonlyoff commands to the Helix API ( #4015 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-02 14:18:10 +00:00
Marko
f8f9903892
Migrate /raid
to Helix. ( #4029 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-02 15:27:55 +02:00
Felanbird
9816722b5e
Add showInMentions
option for Badge Highlights ( #4034 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-02 11:25:10 +00:00
Aiden
a275a1793a
Migrate /unban and /untimeout to Helix API ( #4026 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-01 15:10:06 +00:00
Aiden
adbc4690af
Migrate /unvip to Helix API ( #4025 )
...
Co-authored-by: iProdigy <iProdigy@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-10-01 14:00:45 +00:00
Aiden
ced1525e75
Migrate /vip to Helix API ( #4010 )
...
Fixes #3983
Co-authored-by: iProdigy <iProdigy@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-09-25 09:45:46 +00:00
Mm2PL
8bda8a8b26
Migrate /announce command to Helix API. ( #4003 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-09-24 17:50:02 +02:00
Aiden
1c97b3d094
Migrate /unmod command to Helix API ( #4001 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-09-24 10:49:13 +00:00
Aiden
28de3e637d
Migrate /mod command to Helix API ( #4000 )
...
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-09-23 16:12:34 +00:00
Aiden
6e7b4d8ec7
Migrate /clear command to Helix API ( #3994 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-09-18 11:19:22 +00:00
pajlada
4f1976b1be
Migrate /color command to Helix API ( #3988 )
2022-09-16 21:15:28 +00:00
pajlada
5655a7d718
Include network response body in errors ( #3987 )
2022-09-11 12:32:08 +00:00
pajlada
8bdfbf7b87
Allow non-message phrases to be highlighted by self ( #3835 )
...
* All non-phrase highlights can now trigger on messages from self
New state:
Allows self highlights: Subscription, Whisper, User, Badge
Does not allow self highlights: Message
* Add changelog entry
* fix PR number in changelog
2022-06-26 10:43:34 +00:00
Daniel Sage
81caf1aae0
Rewrite & optimize LimitedQueue ( #3798 )
...
* Use circular buffer for LimitedQueue
* Reduce copying of snapshot
* Small optimizations
* Remove unneeded lock statements
* Add LimitedQueue tests
* Fix includes for limited queue benchmark
* Update CHANGELOG.md
* Use correct boost version iterators
* Use a shared_mutex to clarify reads and writes
* Update `find`/`rfind` to return the result as a boost::optional
* Use `[[nodiscard]]` where applicable
* Update comments
* Add a couple more doc comments
* Replace size with get
get is a safe (locked & checked) version of at
* Use std::vector in LimitedQueueSnapshot
* Update LimitedQueue benchmarks
* Add mutex guard to buffer accessors
We do not know whether T is an atomic type or not
so we can't safely say that we can copy the value
at a certain address of the buffer.
See https://stackoverflow.com/a/2252478
* Update doc comments, add first/last getters
* Make limit_ const
* Omit `else` if the if-case always returns
* Title case category comments
* Remove `at`
* Fix `get` comment
* Privatize/comment/lock property accessors
- `limit` is now private
- `space` is now private
- `full` has been removed
- `empty` now locks
* Remove `front` function
* Remove `back` method
* Add comment to `first`
* Add comment to `last`
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-06-18 10:44:48 +00:00
Kasia
f3f340335f
Make generic version of batcher function ( #3822 )
2022-06-17 20:52:20 +02:00
Kasia
683701623a
Added interface for highlights to Application ( #3808 )
2022-06-09 14:37:52 +00:00
pajlada
9219647b6a
Fix highlights not showing in mentions ( #3801 )
2022-06-06 15:36:53 +02:00
pajlada
7ccf60111d
Overhaul highlight system ( #3399 )
...
Checks have been moved into a Controller allowing for easier tests.
2022-06-05 15:40:57 +00:00
pajlada
b198438f25
Run httpbin docker image locally in CI ( #3778 )
2022-05-30 01:43:13 +02:00
Kasia
0ad66c0af4
Optimize formatTime utility ( #3777 )
...
Adds benchmarks and unit tests for the function
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-29 11:54:42 +00:00
Kasia
7d0023cf73
Corrected the way we parse comma-separated "list tags" in PRIVMSGs ( #3771 )
...
tl;dr: we now split by slash only its first occurrence instead of every occurrence.
2022-05-28 09:55:48 +00:00
pajlada
ec4b1627d7
Build GoogleTest & GoogleMock as submodules ( #3760 )
2022-05-22 15:43:41 +02:00
Ian
addcbb10f9
Add guide for building chatterino2 on Windows with vcpkg ( #3634 )
2022-05-15 15:57:31 +00:00
kornes
07dd8c560b
Prevent user from entering incorrect characters in Live Notifications channels list ( #3715 )
...
Co-authored-by: Sidd <iProdigy@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-08 10:27:25 +00:00
nerix
f97780d84e
Improve Twitch PubSub connection reliability ( #3643 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 15:22:39 +00:00
Sidd
b2ed4c0843
fix: parse irc tags with consecutive escapes ( #3711 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 13:57:46 +00:00
pajlada
fb9c3ad42b
Add tests to Twitch User/Channel name strip functions ( #3568 )
2022-02-12 15:06:47 +01:00
Mm2PL
703f3717e2
Add custom hotkeys. ( #2340 )
...
Co-authored-by: LosFarmosCTL <80157503+LosFarmosCTL@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-11-21 17:46:21 +00:00
pajlada
d7fd08b1d6
Fix color @usernames sometimes not working at all ( #3170 )
...
Definitely memory fuckery involved - The comment from @lubieerror https://github.com/Chatterino/chatterino2/issues/2822#issuecomment-897252673 is finally what led me to adding tests and hopefully fixing this.
2021-08-21 10:38:38 +00:00
pajlada
d0f817a60b
Add basic benchmark ( #3038 )
...
* Add basic benchmark
* Add basic documentation for how to run and add tests/benchmarks
* Update benchmark example output
* Add changelog entry
Co-authored-by: zneix <zneix@zneix.eu>
2021-08-08 14:16:30 +02:00
Paweł
de4f6a9d51
Rate limit outgoing JOIN messages ( #3115 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: Tal Neoran <talneoran@gmail.com>
2021-08-04 21:18:34 +00:00
Paweł
588ed557f0
Fixed comma appended to username completion when not at the beginning of the message ( #3060 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-24 12:01:50 +02:00
pajlada
8ceb100177
Add tests for getEmoteSetBatches
( #3036 )
2021-07-18 10:14:01 +00:00
pajlada
0c2488505c
Use an exponential backoff when deciding how long we need to wait for reconnects ( #2892 )
...
Co-authored-by: Leon Richardt <leon.richardt@gmail.com>
2021-06-20 13:29:52 +00:00
pajlada
91b0170241
Make tests use main chatterino project objects ( #2840 )
2021-06-13 11:49:59 +00:00
fourtf
3fddafb867
optimize chatter list ( #2814 )
...
* optimize chatter list
* changelog
* Fix tests
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-24 10:13:59 +00:00
pajlada
115d198434
Make AccessGuard use a shared_mutex instead ( #2702 )
...
This allows `accessConst` to use a shared lock instead of a unique lock
2021-05-01 15:19:41 +00:00
pajlada
2f906c5504
Add a function in NetworkCommon parseHeaderList
which parses a header list as a string into a vector of header pairs ( #2623 )
2021-04-17 11:49:19 +00:00
pajlada
208d017cc3
Add sanitizers for cmake ( #2608 )
...
These can be enabled using the `SANITIZE_{ADDRESS,MEMORY,THREAD,UNDEFINED}` cmake flags
2021-04-10 11:26:20 +00:00
pajlada
e00938dfde
Add support for CMake (buildsystem generator) ( #2468 )
...
Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-03-28 16:58:51 +02:00
pajlada
46f1347e4b
Don't use designated initializers ( #2457 )
...
they are a C++20 feature, we aim to support C++17.
2021-02-14 12:59:29 +01:00
pajlada
6b0ce396d6
Update to Emoji v13 (2020) ( #1555 )
2021-02-13 19:17:22 +01:00
Leon Richardt
0542b81a03
feat: add a finally
callback to NetworkRequests ( #2350 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-01-16 18:25:56 +01:00
pajlada
0e66b17ff0
Add Network tests ( #2304 )
...
Also changes the way timeouts happen, since right now if a timeout was met (which it mostly wasn't), it would run the error callback twice causing potentially undefined behaviour
2020-12-26 12:42:39 +01:00
fanway
38966e2b19
Add option for truecase username autocompletion ( #1883 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-12-20 16:43:35 +01:00
pajlada
f02e6acc27
[Tests] Make tests build again (ctor of HighlightPhrase changed) ( #2273 )
2020-12-13 13:19:22 +01:00