Commit Graph
34 Commits
Author SHA1 Message Date
Sahil Kumar 7e0997838e fix: updateChannelStates invocation sequence as per foreign keys relations.
Signed-off-by: xsahil03x <[email protected]>
2021-09-06 19:21:28 +05:30
Sahil Kumar f184da13db chore(persistence): update schema version
Signed-off-by: xsahil03x <[email protected]>
2021-08-31 15:52:15 +05:30
Dmitry Zhifarsky 5db0efadba feat(persistence): add pinned message reactions table 2021-08-28 10:04:05 +03:00
Dmitry Zhifarsky 70fdd42e58 fix(persistence): enable pragma foreign_keys 2021-08-08 21:42:08 +03:00
Sahil Kumar 05e3ca1c48 chore(persistence): update schema version
Signed-off-by: xsahil03x <[email protected]>
2021-07-28 15:30:11 +05:30
Salvatore Giordano fe7a8a1ed0 make language nullable 2021-07-28 11:20:07 +02:00
Sahil Kumar 658f7f2504 feat(persistence): add support for message.i18n
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 20:06:06 +05:30
Salvatore Giordano 657380f4e6 regenerate files 2021-07-06 17:35:48 +02:00
Salvatore Giordano 5d735f1571 regenerate files 2021-07-06 17:29:50 +02:00
Salvatore Giordano 2d6cc796e8 move jsons to fixtures 2021-06-17 09:31:53 +02:00
Sahil Kumar 12e6b9c500 unify errors, refactor retry_queue
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-02 17:56:38 +05:30
Sahil Kumar 5cada0ce49 Merge branches 'develop' and 'ref/segregate-api-layer' of https://github.com/GetStream/stream-chat-flutter into ref/segregate-api-layer
 Conflicts:
	packages/stream_chat/lib/src/api/channel.dart
	packages/stream_chat/lib/src/client.dart
	packages/stream_chat_persistence/lib/src/db/moor_chat_database.g.dart
2021-05-27 20:07:11 +05:30
Sahil Kumar 839ced618b major refactoring
Signed-off-by: Sahil Kumar <[email protected]>
2021-05-27 19:59:34 +05:30
Salvatore Giordano 229a30bd65 fix persistence not building for web 2021-05-20 11:59:43 +02:00
Salvatore Giordano d7edb844f7 regenerate files 2021-05-19 13:11:23 +02:00
Salvatore Giordano a04c46090a bump db version 2021-05-14 14:03:31 +02:00
Salvatore Giordano a46186e6a7 use Map<String, Object?> for extradata in persistence 2021-05-14 11:28:32 +02:00
Salvatore Giordano 34888d0fff migrate ui 2021-04-30 14:58:50 +02:00
Sahil Kumar 3bb1b11ee8 migrate to nnbd
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 19:52:06 +05:30
Sahil Kumar e3589a3030 modify entities according to NNBD models
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 15:37:12 +05:30
Sahil Kumar 74f1752ceb test(persistence): add coverage:ignore-file for entities and db/shared directory
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 18:21:59 +05:30
Sahil Kumar bea545b154 test(persistence): add tests for stream chat persistence client
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-18 20:38:26 +05:30
Sahil Kumar 4cbbc059d3 test(persistence): Add tests for channel dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 14:17:01 +05:30
Sahil Kumar 6bdd065888 lint(persistence): Apply team linter
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 12:00:32 +05:30
9952265109 fix: persistence (#329)
* fix(llc): Save original passed persistence for client reconnection.

Signed-off-by: Sahil Kumar <[email protected]>

* fix(persistence): Check for empty channels before applying offset

Signed-off-by: Sahil Kumar <[email protected]>

* fix(llc): Remove debug logs

Signed-off-by: Sahil Kumar <[email protected]>

* fix(persistence): Reset isolate on successful disconnect

Signed-off-by: Sahil Kumar <[email protected]>

* use mutexes in persistence client

* fix(persistence): use `super.updateChannelStates`

Signed-off-by: Sahil Kumar <[email protected]>

* fix(persistence): fix database multiple times creation.

Signed-off-by: Sahil Kumar <[email protected]>

Co-authored-by: Sahil Kumar <[email protected]>
2021-03-12 14:16:41 +01:00
39c2106497 feat: codecov (#327)
* [llc] add codecov in gh action

* update flag

* update path

* fix codevcov script

* fix codevcov script

* [persistence]: add basic test

* [persistence] add codecov

* [persistence] vgv action

* update threashold

* fix ci

* add coverage for ui packages

* fix ci

* test gh action

* test gh action

* update threashold

* fix(persistence): fix tests

Signed-off-by: Sahil Kumar <[email protected]>

Co-authored-by: Sahil Kumar <[email protected]>
2021-03-11 16:36:22 +01:00
Sahil Kumar cf6ae8761e [Persistence] Add support for pinned messages
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-22 17:39:23 +05:30
Sahil Kumar b8e9d8efdc [Persistence] Add more docs
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-01 13:55:29 +05:30
Sahil Kumar 86a122aa23 [LLC, Persistence] Add doc comments
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-28 19:48:54 +05:30
Sahil Kumar 3b9af05214 [StreamChatPersistence] Fix ownReactions userId bug
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-27 15:51:55 +05:30
Sahil Kumar 1521558304 Make stream_chat_persistence a add on dependency instead of shipping it with the llc
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-27 12:52:37 +05:30
Sahil Kumar a869e458f4 [StreamChatPersistence] Add generated files
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-26 16:52:08 +05:30
Sahil Kumar a168d3695d [StreamChatPersistence] Fix connectionEventEntity, MessageDao
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-26 15:58:11 +05:30
Sahil Kumar 657b58af8b [StreamChatPersistence] Add initial implementation
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-25 19:14:55 +05:30