Commit Graph
98 Commits
Author SHA1 Message Date
Sahil Kumar e8e1d53aa3 add client_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-16 22:19:00 +05:30
Sahil Kumar 7c9bc3b950 merge origin/develop into ref/segregate-api-layer
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-15 17:32:09 +05:30
Salvatore Giordano f521e13aca fix better stream builder 2021-06-11 10:51:25 +02:00
Salvatore Giordano b1201003f5 fix review 2021-06-11 10:31:57 +02:00
Salvatore Giordano a6ff8e7039 fix tests 2021-06-10 12:33:20 +02:00
Salvatore Giordano 33f19ebd5d add comments 2021-06-10 11:06:15 +02:00
Salvatore Giordano dc6c3094e9 performance fixes 2021-06-09 16:11:59 +02:00
Sahil Kumar eac8093b22 merge fixes
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-02 18:03:22 +05:30
Salvatore GiordanoandGitHub 08877f4927 Merge branch 'develop' into perf 2021-06-02 09:52:25 +02:00
Salvatore Giordano c10166dbff experiment with streambuilder 2021-06-01 17:24:26 +02:00
Salvatore Giordano 06bf2cdfe5 fix rebuild message list view 2021-06-01 15:42:45 +02:00
Sahil Kumar 644c8b67d8 re-subscribe connectivityStream if widget.connectivityStream changes
Signed-off-by: Sahil Kumar <[email protected]>
2021-05-28 12:02:49 +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 65bf45306a fix lint and tests 2021-05-27 16:27:23 +02:00
Salvatore Giordano 4f5958a067 implement connectivity plus 2021-05-27 11:04:30 +02:00
Salvatore Giordano 4c90b7229f remove prints 2021-05-19 15:58:49 +02:00
Salvatore Giordano d5820d25d9 fix rxdart 2021-05-19 13:50:25 +02:00
Salvatore Giordano f5e73d3cc6 update rxdart 2021-05-19 12:59:21 +02:00
Salvatore Giordano c00faa123d fix stream channel query 2021-05-17 14:48:17 +02:00
Salvatore Giordano fe262ca422 fix stream channel query 2021-05-17 14:37:56 +02:00
Salvatore Giordano 5de52d6601 fix tests 2021-05-12 16:09:46 +02:00
Salvatore Giordano ea19e9000b move get replies logic to didupdatewidget 2021-05-12 15:39:21 +02:00
Salvatore Giordano 5f010ce82d fix tests 2021-05-12 13:52:02 +02:00
Salvatore Giordano a7f00b3d85 update didchangedependencies 2021-05-12 11:50:06 +02:00
Salvatore Giordano 5c04492176 perform heavy calls only first time 2021-05-11 15:21:30 +02:00
Salvatore Giordano 777eaa23fc remove final 2021-05-06 13:43:02 +02:00
Salvatore Giordano 63c447c7a5 fix analysis 2021-05-06 13:33:12 +02:00
Salvatore Giordano 9392d150c0 [core]: move .of calls to didChangeDependencies 2021-05-06 13:25:41 +02:00
Salvatore Giordano 18ce268e48 use common analysis options 2021-05-06 11:48:26 +02:00
Salvatore Giordano 80bd84e1ff Merge branch 'master' into develop 2021-05-05 16:04:55 +02:00
Salvatore Giordano b75ca8d9a9 remove events 2021-05-05 15:34:46 +02:00
Salvatore Giordano 86698614f6 fixes #413: channels bloc does not perform the call if pagination is ended 2021-05-05 12:52:05 +02:00
Salvatore Giordano 452d0c5717 fix rebase 2021-04-30 15:20:03 +02:00
Sahil Kumar a2d8ddc72b add type safe filters in queryUsers and queryMembers
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-30 14:21:10 +05:30
Sahil Kumar 8c666caa52 refactor (core <-> ui <-> persistence) with the new filter changes.
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-27 15:41:00 +05:30
Salvatore Giordano 4f37190fcc change default direction in paginate data 2021-04-20 16:39:10 +02:00
Salvatore Giordano c5647652e2 remove log 2021-04-20 16:23:41 +02:00
Salvatore Giordano 4c4473d4b5 migrate sample app 2021-04-20 13:14:07 +02:00
Salvatore Giordano 987da10cba migrate code 2021-04-20 12:44:11 +02:00
Neevash RamdialandSalvatore Giordano 34f2539595 wip stream_chat.dart 2021-04-20 10:35:40 +02:00
Neevash RamdialandSalvatore Giordano 8f7471fec2 migrate channels_bloc 2021-04-20 10:35:40 +02:00
Neevash RamdialandSalvatore Giordano e52e79bafa wip message_list_core 2021-04-20 10:35:40 +02:00
Neevash RamdialandSalvatore Giordano 2f4595c379 migrate message_search_bloc.dart 2021-04-20 10:35:40 +02:00
Neevash RamdialandSalvatore Giordano e2fed83946 remove assert for nullable constructor params 2021-04-20 10:35:40 +02:00
Deven JoshiandSalvatore Giordano 74fb9d8dd8 added non-nullability for core 2021-04-20 10:35:40 +02:00
87ca818a9a chore: 1.5.1 (#387)
* lint(persistence): Apply team linter

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

* style: flutter format

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

* test(persistence): Add tests for channel dao

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

* refactor(persistence): remove dummy comments

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

* test(persistence): Add test for channel query dao

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

* test(persistence): add tests for connection event dao

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

* test(persistence): add test for member dao

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

* test(persistence): add tests for message dao

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

* test(persistence): add test for pinned message dao

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

* test(persistence): add test for reaction dao

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

* test(persistence): add test for read dao

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

* test(persistence): minor improvement in update function tests

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

* test(persistence): add tests for user dao

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

* test(persistence): add test for list converter

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

* test(persistence): add test for map converter

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

* test(persistence): add tests for message sending status converter

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

* test(persistence): add tests for channel mapper

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

* test(persistence): add test for event mapper

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

* test(persistence): add tests for member mapper

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

* remove useless dependencies

* test(persistence): add tests for message mapper

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

* test(persistence): add tests for pinned message mapper

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

* test(persistence): add tests for reaction mapper

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

* test(persistence): add tests for read mapper

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

* test(persistence): add tests for user mapper

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

* refactor(persistence): remove redundant UsersTable getter from ConnectionEventDao

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

* test(persistence): add tests for stream chat persistence client

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

* test(persistence): add tests moor chat database

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

* test(persistence): add moor schemas for future migration tests

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

* test(persistence): add clear queryCache test in channel query dao

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

* test(persistence): add getThreadMessagesByParentId along with pagination test in message, pinned message dao.

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

* test(persistence): add getMessagesByCid along with pagination test in message, pinned message dao.

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

* update ci

* apply locale to jiffy

* fix test

* test(persistence): add getMessagesByCid along with quotedMessage test in message, pinned message dao.

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

* test(persistence): add extra checks in getMessagesByCid along with pagination test in message, pinned message dao.

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

* test(persistence): add return channel with pagination applies test in channel query dao

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

* test(persistence): improve message mapper, pinned message mapper test

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

* test(persistence): add client constructor test in stream chat persistence client

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

* test(persistence): add coverage:ignore-file for entities and db/shared directory

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

* skip pub publish --dry-run for develop branch

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

* add remove from coverage script

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

* fix

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

* fix

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

* fix

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

* fix

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

* fix locale

* fix message input _parseExistingMessage

* fix(UI-Kit): Show selected attachment file as file in message input widget

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

* fix: ws disconnection (#345)

* update ws removing custom implementation; fixed disconnection while connecting

* add test

* feat: Apply team lints to core package (#334)

* Add analyzer file to core package

* Apply team lint rules to core package

* clean up analyzer warnings in stream chat flutter

* remove unused line

* add ignore

* sync analysis options

* [Core -> MessageWidget] Fix variable dynamic types

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

Co-authored-by: Salvatore Giordano <[email protected]>
Co-authored-by: Sahil Kumar <[email protected]>

* test: add tests for stream chat flutter core (#354)

* test(core): add tests for channels bloc

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

* test(core): refactor some tests due to changes in channels bloc

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

* test(core): add tests for channel list core

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

* test(core): add tests for users bloc, minor improvements

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

* test(core): add tests for user list core, minor improvements

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

* test(core): add tests for message search bloc, refactor

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

* test(core): add tests for message search list core, refactor

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

* test(core): add tests for lazy load scroll view

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

* test(core): add tests for stream chat core

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

* test(core): add tests for message list core

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

* test(core): add tests for stream channel

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

* Fix merge conflicts

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

* flutter format

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

* fixes

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

* update workflow

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

* chore(core): fix analyzer issues

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

* chore(ui-kit): fix analyzer issues

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

* refactor(ui-kit): update giphy interaction (#361)

* refactor(ui-kit): update giphy interaction

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

* fix overflow

Co-authored-by: Salvatore Giordano <[email protected]>

* fix: Fixed sendingbutton.outside case (#355)

* fix: Fixed sendingbutton.outside case

* fix: Fixed all actionbutton cases

* fix review

Co-authored-by: Salvatore Giordano <[email protected]>

* fix(ui-kit): fix accessibility text size scaling in message widget

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

* fix(ui-kit): fix message widget long username overflow

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

* fix(ui-kit): fix message input dm checkbox accessibility scaling issue

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

* feat: exposed textbuilder callback (#367)

* exposed textbuilder callback

* exposed textbuilder callback

* fixes

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

* check if user.mutes is null

* check if user.mutes is null

* fixes #370: remove all controls on full screen media if message is of type ephemeral (#373)

* fix: fix channel list pagination spinner (#375)

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

* fix: attachments upload when size exceeds (#377)

* fix: Fixed file upload error

* fix: Fixed file upload error

* fix coverage script

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

* fix: message input (#382)

* feat: Added mentions suffix builder

* feat: Added builders for mentions and theme element for message input expanded button

* refactor: refactored PR to suit other style

* fix: fixes trailing commas and changes names

* doc: added documentation to new elements

* doc: added documentation to new elements

* bump version

* add meta dep to core

* sort deps

Co-authored-by: Sahil Kumar <[email protected]>
Co-authored-by: Neevash Ramdial (Nash) <[email protected]>
Co-authored-by: Deven Joshi <[email protected]>
2021-04-07 12:24:29 +02:00
Sahil Kumar 9b36f012b3 Merge branch 'feat/nullsafety-stream-chat' of git://github.com/felangel/stream-chat-flutter into felangel-feat/nullsafety-stream-chat 2021-04-02 18:59:52 +05:30
Sahil KumarandGitHub 63705693dc fix: fix channel list pagination spinner (#375)
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-01 13:25:12 +02:00
Sahil KumarandGitHub 420d6384c4 test: add tests for stream chat flutter core (#354)
* test(core): add tests for channels bloc

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

* test(core): refactor some tests due to changes in channels bloc

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

* test(core): add tests for channel list core

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

* test(core): add tests for users bloc, minor improvements

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

* test(core): add tests for user list core, minor improvements

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

* test(core): add tests for message search bloc, refactor

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

* test(core): add tests for message search list core, refactor

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

* test(core): add tests for lazy load scroll view

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

* test(core): add tests for stream chat core

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

* test(core): add tests for message list core

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

* test(core): add tests for stream channel

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

* Fix merge conflicts

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

* flutter format

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

* fixes

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

* update workflow

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

* chore(core): fix analyzer issues

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

* chore(ui-kit): fix analyzer issues

Signed-off-by: Sahil Kumar <[email protected]>
2021-03-30 10:16:12 +02:00