Commit Graph
68 Commits
Author SHA1 Message Date
Sahil Kumar 2a58ca535d Add retry_queue_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-14 16:56:36 +05:30
Sahil Kumar e2529231fd add initialized channel tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-09 21:01:35 +05:30
Sahil Kumar 89f989003d add core/api tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-08 16:09:17 +05:30
Sahil Kumar bdfbc27917 add stream_chat_error_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 17:09:41 +05:30
Sahil Kumar b64aa70b73 remove, refactor old tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:27:37 +05:30
Sahil Kumar dbb98811ab push mocks.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:26:35 +05:30
Sahil Kumar cb9a8a23a9 add timer_helper_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:25:12 +05:30
Sahil Kumar 214d1bcf1d add core/http tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-04 16:24:52 +05:30
Sahil Kumar 473851684b add platform_detector_test.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-03 22:29:52 +05:30
Sahil Kumar 7a95192093 add extension_test.dart, serializer_test.dart and utils_test.dart 2021-06-03 21:44:12 +05:30
Sahil Kumar 63d391ba7a add chat_persistence_client_test.dart 2021-06-03 20:04:32 +05:30
Sahil Kumar 1626d7432c add websocket_test.dart 2021-06-03 18:06:56 +05:30
Sahil Kumar d758f3df1d change file structure, replace rate_limit with the pub dependency
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-03 13:38:32 +05:30
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 d764de9f68 add test 2021-05-21 11:37:03 +02:00
Salvatore Giordano 5b39893f76 add test 2021-05-21 11:36:08 +02:00
Salvatore Giordano 26e1c21e70 add filter.raw 2021-05-17 12:53:37 +02:00
Salvatore Giordano 16953b3a0a remove print 2021-05-17 12:35:57 +02:00
Salvatore Giordano c7eeb35ef9 add test 2021-05-17 12:35:13 +02:00
Salvatore Giordano 0d12e701a0 fix tests 2021-04-30 14:59:54 +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 8735901c75 add equality tests for filters
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-27 16:07:41 +05:30
Sahil Kumar 697e14457e cleanup
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-27 15:47:00 +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
Sahil Kumar ac995b2fc9 feat(llc): add support for type safe filters
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-26 19:55:50 +05:30
Salvatore Giordano 4c4473d4b5 migrate sample app 2021-04-20 13:14:07 +02:00
Sahil Kumar 9440bd4793 modify event tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 13:57:49 +05:30
Sahil Kumar a273730b09 fix event tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 13:54:29 +05:30
Salvatore Giordano 79769acef0 ignore islocal 2021-04-20 09:41:41 +02:00
Salvatore Giordano 5c5c4bbc3f fix tests 2021-04-19 15:11:40 +02:00
Sahil Kumar 07196eab96 fix tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-19 17:43:11 +05:30
Salvatore Giordano af135ecb9c move on with the migration 2021-04-19 12:40:00 +02:00
Deven Joshi e1ab168d33 fix: client state migrated to null 2021-04-16 17:52:08 +05:30
Deven Joshi be9c841c8a fix: Review changes 2021-04-16 13:41:05 +05:30
Deven Joshi 834e29c3cc fix: generated new models, fixed reactions 2021-04-14 19:31:59 +05:30
Salvatore Giordano 1bff129deb hotfix tests 2021-04-14 14:01:34 +02:00
Deven Joshi 88f9bcc80c feat: Converted to ios models part II 2021-04-14 14:56:04 +05:30
Salvatore Giordano 97c35371af fix models 2021-04-13 15:48:05 +02:00
Deven Joshi fe07b8dbb0 feat: Converted to ios models 2021-04-13 18:20:43 +05:30
Deven Joshi 9ec4c83cfc fixed tests, null errors 2021-04-12 18:44:30 +05:30
Deven Joshi c80fc0a6b4 added null safety for llc 2021-04-08 15:03:16 +05:30
Sahil Kumar 3ec389bd71 fix tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-02 19:19:20 +05:30
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
Felix Angelov 537bcf1abb fix: interceptor handlers 2021-03-24 00:09:00 -05:00
Salvatore GiordanoandGitHub 6d259074eb fix: ws disconnection (#345)
* update ws removing custom implementation; fixed disconnection while connecting

* add test
2021-03-22 09:41:52 +01:00
Felix Angelov 67f62d0692 feat(stream_chat): upgrade to null safe dependencies 2021-03-21 23:27:26 -05:00
4488fa6c3a Release/1.4.0 beta (#318)
* fix: fixed long system messages overflowing

* fix: fixed long system messages overflowing

* [UI-Kit] Refactor, add support for downloading attachments.

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

* fix: header casing

* [UI-Kit] Disable attachment download dialog pop using back button

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

* stream_chat_flutter fix svg on web

* [UI-Kit] Pop attachment download dialog in case of any error.

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

* restore svg

* feat: add pr title linter

* fix test

* fix client headers

* update system message design

* update gh token env var

* add scopes

* expose systemMessageBuilder in messagelistview

* fix(ui): fix button size

* add dispatch workflow

* add dispatch workflow

* update dispatch acton

* add runson

* fix ref

* fix ref

* update secret

* specify repo

* fix: list scroll keyboard behaviour  (#304)

* fix: Keyboard now closes by clicking on space or scrolling.

* fix: Exposed system and normal message tap builders

* fmt: dartfmt

* feat: Add support for messages filter in `MessageListView` and `MessageListCore` (#303)

* [MessageListView, MessageListCore] Add support for message filter

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

* [UI-Kit -> Pubspec] Remove `stream_chat_flutter_core` relative import

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

* add relative import

* add relative import

* remove svg for web

* remove badge logic on web

* style: Update for team lint (#297)

* Update for team lint

* fix tests

* remove pedantic and sort deps

* remove jiffy from system message

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

* add section highlighting sample app repo (#307)

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

* add null check to debounce

* fix messagelistview loading errors

* remove core relative import

* fix: fixes message newline issue (#308)

* fix: minor

* fix: generate image thumbnails and use transparent image as placeholder for cached network images (#310)

* update cdn handling

* fix image attachment with new cdn

* fix(ui): Fix message input permission request crash (#311)

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

* fix(llc): update member presence and add skip_push to message (#314)

* update member presence

* add skip_push to message

* fix tests

* fix: Fixed shimmer overflow (#316)

* fix dialogs

* fix(llc): Fix attachment upload state uneven progress. (#315)

* feat(llc): Add rate limiter functions.
fix(llc): Fix attachment upload state uneven progress.

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

* feat(llc): Export `async.dart` and `rate_limit.dart`

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

* refactor(llc): Replace our `rate_limit` implementation with the dart port of js `lodash` to better handlw `cancel` and `flush` functions.

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

* fix(UI-Kit): Make android example run on real devices

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

* fix offline behaviour

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

* feat: Introduce onAttachmentTap on messages attachment (#309)

* introdce onAttachmentTap on message

* correct indent

* sdfsd

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

* feat: added customization options in main widgets (#312)

* polish channelpreview customization options

* polish channelheader customization options

* polish messageinput customization options

* polish threadheader customization options

* polish channellistheader customization options

* show the parent message if no messages in thread

* fix edit message

* fix channelinfo textstyle

* fix review

* fix useravatar

* add ontitle tap to thread header

* add custom message actions

* add borderradius and button builder

* add ontap to messageinput custom send button

* fix bottom sheet

* add doc

* use placeholder image

* add doc

* fix listtile density

* remove subtitle from ChannelListHeaderTheme.copyWith

* add InputDecoration.merge extension

* fix: use shimmer in images

* fix: remove notification badge logic from the sdk and move it to sample app

* fix import

* fix: Method being called during build (#317)

* method call bug fix

* dartfmt

* fix: show error messages as system and keep them in the message input (#319)

* fix: pre release (#324)

* use share_plus plugin

* bump dependency versions

* fix ui for web

* unfocus messageinput only on commands

* fix default error for messagesearchlistview

* fix thumbnail animation

* fix lint

* ignore example in linter

* update changelogs

* fix lint

* fix lint

* update stream_chat pana min

* add doc

Co-authored-by: Sahil Kumar <[email protected]>
Co-authored-by: Deven Joshi <[email protected]>
Co-authored-by: Neevash Ramdial (Nash) <[email protected]>
Co-authored-by: Nelson Nunes <[email protected]>
2021-03-09 18:58:23 +01:00
Sahil Kumar 3b8b0aa9fd flutter format
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-26 19:37:04 +05:30