Commit Graph
80 Commits
Author SHA1 Message Date
Salvatore Giordano 34888d0fff migrate ui 2021-04-30 14:58:50 +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 GiordanoandGitHub 7efe7de9f2 Merge branch 'feature/null-safety' into persistence-nnbd 2021-04-21 10:06:43 +02:00
Sahil Kumar 4e9f4baf23 fix example
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 21:17:43 +05:30
Sahil Kumar 3bb1b11ee8 migrate to nnbd
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 19:52:06 +05:30
Salvatore Giordano 4c4473d4b5 migrate sample app 2021-04-20 13:14:07 +02:00
Salvatore Giordano bc9e0d0285 migrate code 2021-04-20 12:44:22 +02:00
Salvatore Giordano b250bdb98e fix persistence abstract class 2021-04-19 16:21:32 +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
Neevash Ramdial 8a92392914 retryAttachmentUpload should not be null 2021-04-16 09:34:50 -04:00
Deven Joshi e1ab168d33 fix: client state migrated to null 2021-04-16 17:52:08 +05:30
Deven Joshi 72a0ca3110 fix: Review changes 2021-04-16 14:11:46 +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
Salvatore Giordano 391eb8c1ce fix lint 2021-04-13 10:30:06 +02:00
Deven Joshi 9ec4c83cfc fixed tests, null errors 2021-04-12 18:44:30 +05:30
Deven Joshi 686dcf27e6 regenerated files and fixed errors 2021-04-08 16:23:16 +05:30
Sahil Kumar c289871a56 chore(llc): re-generate all files
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-08 15:30:57 +05:30
Deven Joshi c80fc0a6b4 added null safety for llc 2021-04-08 15:03:16 +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
Salvatore Giordano b32bf7a8f1 check if user.mutes is null 2021-04-01 11:18:46 +02:00
Salvatore Giordano 73660d3760 check if user.mutes is null 2021-04-01 11:17:48 +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
cba0b1a391 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]>
2021-03-22 09:49:27 +01: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
Salvatore Giordano fc1fec0695 fix analysis 2021-03-16 17:00:46 +01:00
Salvatore Giordano a14045a09d fix analysis 2021-03-16 16:52:44 +01:00
Salvatore Giordano a8443a98b0 fix reaction new deleting quoted message 2021-03-12 15:24:47 +01:00
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
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
Salvatore Giordano 3d43c84fbb fix update channel debounce 2021-03-01 13:15:39 +01:00
Salvatore Giordano 074629a7f0 add support for named args 2021-03-01 11:59:20 +01:00
Salvatore Giordano b36c31c992 debounce updateAttachment 2021-03-01 11:55:37 +01:00
Salvatore Giordano ecb559f687 reduce calls to offlinestorage while uploading attachments using debounce 2021-03-01 11:52:32 +01:00
Salvatore Giordano 578c4efade fix ChannelState.addMessage 2021-03-01 10:12:41 +01:00
Sahil Kumar 623d48e32b Add custom sort support for offline channels
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-26 18:30:22 +05:30
Salvatore Giordano 36d0c74a0d use updatechannelstate 2021-02-24 10:17:33 +01:00
Salvatore Giordano e0e25e7caf move cleaning logic to channel state 2021-02-23 17:42:52 +01:00
Salvatore Giordano b66a16c7f1 clear expired pinned messages 2021-02-23 13:37:13 +01:00
Salvatore Giordano 750c5305f4 update pinned messages 2021-02-23 13:19:31 +01:00
Sahil Kumar 6c501d875b [LLC -> Channel] Expose channel pinned messages in the form of getter and a stream
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-22 19:46:44 +05:30
Salvatore GiordanoandGitHub 65d69cecce Merge branch 'master' into fix-attachment-upload-state 2021-02-19 16:52:45 +01:00