300 Commits
Author SHA1 Message Date
Sahil Kumar ab9990e5bd test(persistence): add getMessagesByCid along with quotedMessage test in message, pinned message dao.
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-19 17:34:41 +05:30
Sahil Kumar 252783adf6 test(persistence): add getMessagesByCid along with pagination test in message, pinned message dao.
Signed-off-by: Sahil Kumar <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2021-03-19 16:11:47 +05:30
Sahil Kumar 66edb12736 test(persistence): add tests moor chat database
Signed-off-by: Sahil Kumar <[email protected]>
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 <[email protected]>
2021-03-18 20:38:26 +05:30
Sahil Kumar 827e6a5dbd refactor(persistence): remove redundant UsersTable getter from ConnectionEventDao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 19:52:40 +05:30
Sahil Kumar 2233528609 test(persistence): add tests for user mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:48:39 +05:30
Sahil Kumar 818e91a106 test(persistence): add tests for read mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:38:14 +05:30
Sahil Kumar d688d554ce test(persistence): add tests for reaction mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:32:12 +05:30
Sahil Kumar a78c230ef0 test(persistence): add tests for pinned message mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 17:25:25 +05:30
Sahil Kumar 6804660c61 test(persistence): add tests for message mapper
Signed-off-by: Sahil Kumar <[email protected]>
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 <[email protected]>
2021-03-17 15:43:50 +05:30
Sahil Kumar 60613d44bf test(persistence): add test for event mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 15:03:40 +05:30
Sahil Kumar 830cb0c281 test(persistence): add tests for channel mapper
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:57:26 +05:30
Sahil Kumar b738a47c2a test(persistence): add tests for message sending status converter
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:19:06 +05:30
Sahil Kumar 28e3e5edc4 test(persistence): add test for map converter
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:11:45 +05:30
Sahil Kumar 3854bfcdc9 test(persistence): add test for list converter
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-17 14:01:39 +05:30
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
Sahil Kumar e87a8a07a1 test(persistence): add tests for user dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 21:11:07 +05:30
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 <[email protected]>
2021-03-16 20:45:41 +05:30
Sahil Kumar 45870d7fab test(persistence): add test for read dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 20:45:11 +05:30
Sahil Kumar 125931d89e test(persistence): add test for reaction dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 20:02:24 +05:30
Salvatore Giordano 37772f247a bump versions 2021-03-16 15:28:40 +01:00
Sahil Kumar 8fefa3c129 test(persistence): add test for pinned message dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 18:53:07 +05:30
Sahil Kumar a24ec99a44 test(persistence): add tests for message dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 18:42:06 +05:30
Sahil Kumar 2e20616145 test(persistence): add test for member dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 16:42:47 +05:30
Sahil Kumar edc8c4d181 test(persistence): add tests for connection event dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 15:51:41 +05:30
Sahil Kumar 083ca28283 test(persistence): Add test for channel query dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 16:48:56 +05:30
Sahil KumarandGitHub 8ec54f3834 style: Apply team linter in stream chat persistence (#331)
* lint(persistence): Apply team linter

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

* style: flutter format

Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 10:23:44 +01:00
Sahil Kumar ae65b2b8b2 refactor(persistence): remove dummy comments
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 14:20:00 +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 8c0da62f79 style: flutter format
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-15 12:05:36 +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
Salvatore Giordano eaaa5c9962 fix getThreadMessagesByParentId 2021-03-12 15:07: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
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
Salvatore Giordano 16d09babb5 Merge branch 'master' into develop 2021-03-10 09:43:17 +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 b28ae12597 fix: minor 2021-03-03 12:47:19 +01:00
Salvatore Giordano e7334dcf9b fix 2021-03-01 16:28:09 +01:00
Salvatore Giordano e40240c855 add flutter dependency in stream_chat_persistence 2021-03-01 16:21:47 +01:00
Salvatore Giordano 5391919e33 fix 2021-03-01 16:09:49 +01:00
Salvatore Giordano b8e29cd88c update changelogs 2021-02-26 16:25:08 +01:00
Salvatore Giordano 7a1c470997 bump version 2021-02-26 16:21:09 +01:00