Commit Graph

2261 Commits

Author SHA1 Message Date
Sahil Kumar 98b75d64ef fix
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 19:45:41 +05:30
Sahil Kumar 6dd9f6af5e add remove from coverage script
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 19:37:50 +05:30
Sahil Kumar 8f079a9924 skip pub publish --dry-run for develop branch
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 18:59:47 +05:30
Sahil Kumar e6a27754a2 Merge branches 'develop' and 'persistence/add-tests' of https://github.com/GetStream/stream-chat-flutter into persistence/add-tests
 Conflicts:
	packages/stream_chat_persistence/analysis_options.yaml
	packages/stream_chat_persistence/lib/src/dao/channel_query_dao.dart
	packages/stream_chat_persistence/lib/src/dao/message_dao.dart
	packages/stream_chat_persistence/lib/src/dao/user_dao.dart
	packages/stream_chat_persistence/lib/src/db/moor_chat_database.dart
	packages/stream_chat_persistence/lib/src/db/shared/native_db.dart
	packages/stream_chat_persistence/lib/src/db/shared/unsupported_db.dart
	packages/stream_chat_persistence/lib/src/mapper/channel_mapper.dart
	packages/stream_chat_persistence/lib/src/stream_chat_persistence_client.dart
	packages/stream_chat_persistence/pubspec.yaml
2021-03-19 18:26:31 +05:30
Sahil Kumar 74f1752ceb test(persistence): add coverage:ignore-file for entities and db/shared directory
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 18:21:59 +05:30
Sahil Kumar cc9388816a test(persistence): add client constructor test in stream chat persistence client
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 18:10:25 +05:30
Sahil Kumar b570d3332a test(persistence): improve message mapper, pinned message mapper test
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 18:03:00 +05:30
Sahil Kumar abbe72709e test(persistence): add return channel with pagination applies test in channel query dao
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 17:49:50 +05:30
Sahil Kumar 2e3baa020d test(persistence): add extra checks in getMessagesByCid along with pagination test in message, pinned message dao.
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 17:38:07 +05:30
Sahil Kumar ab9990e5bd test(persistence): add getMessagesByCid along with quotedMessage test in message, pinned message dao.
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 17:34:41 +05:30
Salvatore Giordano 2b17fcfac8 update ci 2021-03-19 12:25:43 +01:00
Salvatore Giordano 6054644f6a Merge pull request #342 from GetStream/hotfix/deps
fix: remove useless dependencies
2021-03-19 12:24:06 +01:00
Sahil Kumar 252783adf6 test(persistence): add getMessagesByCid along with pagination test in message, pinned message dao.
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 16:52:08 +05:30
Sahil Kumar e00881fbdd test(persistence): add getThreadMessagesByParentId along with pagination test in message, pinned message dao.
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 16:42:16 +05:30
Sahil Kumar 4c2a748291 test(persistence): add clear queryCache test in channel query dao
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 16:14:23 +05:30
Sahil Kumar d1e3cda2ec test(persistence): add moor schemas for future migration tests
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 16:11:47 +05:30
Sahil Kumar 66edb12736 test(persistence): add tests moor chat database
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-19 14:35:46 +05:30
Sahil Kumar bea545b154 test(persistence): add tests for stream chat persistence client
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-18 20:38:26 +05:30
Salvatore Giordano f992bfe698 fix ci 2021-03-18 14:33:42 +01:00
Sahil Kumar 827e6a5dbd refactor(persistence): remove redundant UsersTable getter from ConnectionEventDao
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 19:52:40 +05:30
Sahil Kumar 2233528609 test(persistence): add tests for user mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 17:48:39 +05:30
Sahil Kumar 818e91a106 test(persistence): add tests for read mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 17:38:14 +05:30
Sahil Kumar d688d554ce test(persistence): add tests for reaction mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 17:32:12 +05:30
Sahil Kumar a78c230ef0 test(persistence): add tests for pinned message mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 17:25:25 +05:30
Sahil Kumar 6804660c61 test(persistence): add tests for message mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 17:21:57 +05:30
Salvatore Giordano b77c4dfc5d remove useless dependencies 2021-03-17 11:50:01 +01:00
Sahil Kumar 323c5b6cba test(persistence): add tests for member mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 15:43:50 +05:30
Salvatore Giordano b653ec34d3 Merge pull request #340 from GetStream/hotfix/markRead
fix: unread count not updating while the chat is open
2021-03-17 11:07:44 +01:00
Sahil Kumar 60613d44bf test(persistence): add test for event mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 15:03:40 +05:30
Sahil Kumar 830cb0c281 test(persistence): add tests for channel mapper
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 14:57:26 +05:30
Salvatore Giordano 89e91a09a8 bump version 2021-03-17 10:21:24 +01:00
Salvatore Giordano 721b30ef7e fix: unread count not updating while the chat is open 2021-03-17 10:20:09 +01:00
Sahil Kumar b738a47c2a test(persistence): add tests for message sending status converter
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 14:19:06 +05:30
Sahil Kumar 28e3e5edc4 test(persistence): add test for map converter
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 14:11:45 +05:30
Sahil Kumar 3854bfcdc9 test(persistence): add test for list converter
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-17 14:01:39 +05:30
Thierry Schellenbach 64082ec213 Update README.md 2021-03-16 16:24:27 -06:00
Salvatore Giordano a3519ace1c Merge pull request #337 from GetStream/release/1.5.0
Release/1.5.0
2021-03-16 17:06:28 +01:00
Salvatore Giordano b9defc9413 update action 2021-03-16 17:01:53 +01:00
Salvatore Giordano fc1fec0695 fix analysis 2021-03-16 17:00:46 +01:00
Salvatore Giordano 90136c5174 no title check on master 2021-03-16 16:54:46 +01:00
Salvatore Giordano 527cc3b731 analyze on all branch 2021-03-16 16:53:18 +01:00
Salvatore Giordano a14045a09d fix analysis 2021-03-16 16:52:44 +01:00
Sahil Kumar e87a8a07a1 test(persistence): add tests for user dao
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-16 21:11:07 +05:30
Salvatore Giordano c66212c37c cleanup 2021-03-16 16:35:11 +01:00
Salvatore Giordano cb37774d54 update dependencies 2021-03-16 16:33:54 +01:00
Salvatore Giordano 574cca792b fix pana 2021-03-16 16:25:20 +01:00
Sahil Kumar 66a577901c test(persistence): minor improvement in update function tests
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-16 20:45:41 +05:30
Sahil Kumar 45870d7fab test(persistence): add test for read dao
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-16 20:45:11 +05:30
Sahil Kumar 125931d89e test(persistence): add test for reaction dao
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
2021-03-16 20:02:24 +05:30
Salvatore Giordano 37772f247a bump versions 2021-03-16 15:28:40 +01:00