SimpleX-Chat/tests
Diogo 4d82209a3a
core: pagination API to load items around defined or the earliest unread item (#5100)
* core: auto increment chat item ids (#5088)

* core: auto increment chat item ids

* file name

* down name

* update schema

* ignore down migration on schema dump test

* fix testDirectMessageDelete test

* fix testNotes test

* core: initial api support for items around a given item (#5092)

* core: initial api support for items around a given item

* implementation and tests for local messages

* pass entities down

* unused

* getAllChatItems implementation and tests

* pagination for getting chat and tests

* remove unused import

* group implementation and tests

* refactor

* order by created at for local and direct chats

* core: initial landing api for chat and gaps  (#5104)

* initial work on initial param for loading chat

* support for initial

* controller parse

* fixed sqls

* refactor names

* fix ChatLandingSection serialized type

* total accuracy on landing section

* descriptive view message

* foldr

* refactor to make landingSection reusable

* refactor: use foldr everywhere

* propagate search

* Revert "propagate search"

This reverts commit 01611fd719.

* throw when search is sent for initial

* gap size wip (needs testing)

* final

* remove order by

* remove index

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>

* core: fix initial api latest chat items ordering (#5151)

* core: fix one item missing from latest in initial and wrong check (#5153)

* core: fix one item missing from latest in initial and wrong check

* final fixes and tests

* clearer tests

* core: remove gaps and make sure page size is always the same (#5163)

* remove gaps

* consistent pagination size

* proper fix and around fix too

* optimize

* refactor

* core: simplify pagination

* core: first unread queries (#5174)

* core: pagination nav info (#5175)

* core: pagination nav info

* wip

* rework

* rework

* group, local

* fix

* rename

* fix tests

* just

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-11-14 08:34:25 +00:00
..
Bots directory service: additional commands (#5159) 2024-11-10 15:21:33 +00:00
ChatTests core: pagination API to load items around defined or the earliest unread item (#5100) 2024-11-14 08:34:25 +00:00
fixtures core: only send voice messages without acceptance (#1444) 2022-11-26 22:39:56 +00:00
ChatClient.hs Use simplexmq with client_library flag (#5133) 2024-11-02 17:51:11 +00:00
ChatTests.hs core: api to forward messages (#3968) 2024-04-09 16:02:59 +04:00
JSONTests.hs core: test JSON conversion (#3370) 2023-11-14 22:40:15 +00:00
MarkdownTests.hs core: fix markdown for trailing / and ) characters in the links (#4357) 2024-06-29 08:41:21 +01:00
MessageBatching.hs core: multi forward api (#4704) 2024-08-22 21:36:35 +04:00
MobileTests.hs core: save the time user profile was opened at to order in ui (#4920) 2024-09-21 13:07:27 +01:00
ProtocolTests.hs core: 6.0.4.0 (simplexmq 6.0.3.0) 2024-08-30 13:39:35 +01:00
RandomServers.hs core: choose random servers for the first user profile, use the same servers for other profiles (#4584) 2024-08-06 16:13:36 +01:00
RemoteTests.hs core: multi forward api (#4704) 2024-08-22 21:36:35 +04:00
SchemaDump.hs core: pagination API to load items around defined or the earliest unread item (#5100) 2024-11-14 08:34:25 +00:00
Test.hs core: choose random servers for the first user profile, use the same servers for other profiles (#4584) 2024-08-06 16:13:36 +01:00
ValidNames.hs core: more permissive display name validation, only allow single quotes in CLI for the names with spaces (#3282) 2023-10-25 11:55:06 +01:00
ViewTests.hs remote protocol (#3225) 2023-10-22 09:42:19 +01:00
WebRTCTests.hs core: revert "deps: switch to base64 via simplexmq (#3957)" (#3985) 2024-04-03 10:47:38 +01:00