Commit Graph
69 Commits
Author SHA1 Message Date
Salvatore Giordano 9e9ed0667b chore(llc): update changelog and bump version 2021-12-03 16:23:45 +01:00
Salvatore Giordano b8a6d39efb chore(llc): update changelog and bump version 2021-11-29 14:47:59 +01:00
Salvatore Giordano e9d148ef49 fix models 2021-11-26 10:47:48 +01:00
Salvatore Giordano e5abb8fffe fix(llc): ChannelEvent.membersCount default to 0 2021-11-26 10:36:57 +01:00
Salvatore Giordano 1cee3eae63 chore(llc): bump version 2021-10-29 12:45:05 +02:00
Salvatore Giordano ccd95d7bd9 chore(llc,core,ui,persistence): update dependencies 2021-10-29 12:22:46 +02:00
Sahil Kumar 506146959c chore: bump code metrics to v4.4.0
Signed-off-by: xsahil03x <[email protected]>
2021-10-07 19:50:07 +05:30
Sahil Kumar cf50a442e7 fix: reduce test to satisfy dependency for code metrics
Signed-off-by: xsahil03x <[email protected]>
2021-10-07 19:49:16 +05:30
Sahil KumarandGitHub ed43d53c5a Merge branch 'develop' into repo/dart-code-metrics 2021-10-07 18:13:34 +05:30
Salvatore Giordano 9766b38244 chore(llc,core,ui): update changelog and pubspecs 2021-10-05 14:36:47 +02:00
964d77d18e Update packages/stream_chat/pubspec.yaml
Co-authored-by: Sahil Kumar <[email protected]>
2021-10-05 14:13:51 +02:00
Salvatore Giordano d808276fe3 chore(llc,core,ui): update changelog and pubspecs 2021-10-05 10:53:00 +02:00
Salvatore Giordano ba28d9dbec chore(llc): update dependencies 2021-10-05 10:47:28 +02:00
Sahil Kumar ca7cf541a7 chore(repo): fix lints
Signed-off-by: xsahil03x <[email protected]>
2021-10-01 16:45:16 +05:30
Sahil Kumar 6e48f9754d feat(repo): add dart_code_metrics
Signed-off-by: xsahil03x <[email protected]>
2021-10-01 16:44:19 +05:30
Sahil KumarandGitHub 0983a25aca chore(llc): fix test failing on latest version 2021-10-01 15:45:01 +05:30
Salvatore Giordano 669abf59c9 chore(llc): bump version 2021-09-22 15:17:57 +02:00
Salvatore Giordano 0f8ee304a2 chore(llc,core,ui): update changelog and pubspecs 2021-09-01 11:52:12 +02:00
Salvatore Giordano fc7be96374 chore(llc): update version 2021-08-25 13:34:08 +02:00
Salvatore Giordano ad907d27b9 chore(llc,core,ui,localization): update changelogs 2021-08-25 12:36:30 +02:00
Salvatore Giordano c46397b63a bump version and changelog 2021-07-29 13:24:13 +02:00
Salvatore Giordano b523510845 bump version and changelog 2021-07-28 12:28:24 +02:00
Salvatore Giordano 35b969994e update pubspecs 2021-07-16 12:27:25 +02:00
Salvatore Giordano 184a00b195 update changelogs and pubspecs 2021-07-07 17:39:55 +02:00
Sahil Kumar 5e706ecba2 chore: prepare stream_chat for v2.0.0-nullsafety.7
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-28 16:05:10 +05:30
Sahil KumarandGitHub 837d6f3ad1 Merge branch 'develop' into ref/segregate-api-layer 2021-06-16 22:20:31 +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 94e2c97468 update changelogs and pubspecs 2021-06-15 12:38:58 +02:00
Salvatore Giordano 2fda85eb4a upgrade deps 2021-06-14 10:44:01 +02:00
Salvatore Giordano cf419f3a37 update changelogs and pubspecs 2021-06-14 10:35:19 +02:00
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 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 3ab1e1956e bump changelogs and pubspecs 2021-05-19 12:43:52 +02:00
Salvatore Giordano 88b8818e45 fix deps 2021-05-04 09:50:19 +02:00
Salvatore Giordano c41e9e8a2e update changelogs and pubspecs 2021-05-03 15:16:11 +02:00
Salvatore Giordano a40fd2303a Merge branch 'develop' into feature/null-safety 2021-05-03 10:43:26 +02:00
Salvatore Giordano 01b664bc2f Merge branch 'master' into develop 2021-05-03 10:37:24 +02:00
Salvatore Giordano ba293987e6 bump version and chanelogs 2021-04-30 11:52:26 +02:00
Salvatore Giordano 1c7c1dd81c update dio 2021-04-19 15:38:13 +02:00
Sahil KumarandGitHub 19bcbc7bc5 fix(llc): queryChannels should only throw if we do-not have any channels in cache (#394)
* fix(llc): queryChannel should throw exception if client is not yet connected

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

* prepare llc for v1.5.2

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

* fix queryChannelOnline invocation conditions

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

* fix package version

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

* queryChannels should only throw if we do-not have any channels in cache

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

* update changelog with the correct fix

Signed-off-by: Sahil Kumar <[email protected]>
2021-04-19 15:31:15 +02:00
Deven Joshi 761deb197e Merge branches 'feature/null-safety' and 'llc-nnbd' of https://github.com/GetStream/stream-chat-flutter into llc-nnbd
 Conflicts:
	packages/stream_chat/lib/src/models/attachment.dart
	packages/stream_chat/pubspec.yaml
2021-04-12 18:59:28 +05:30
Deven Joshi 9ec4c83cfc fixed tests, null errors 2021-04-12 18:44:30 +05:30
Salvatore Giordano d5efe48aa4 add equatable 2021-04-09 11:09:46 +02:00
Salvatore Giordano e8f673d3b3 Merge branch 'develop' into feature/null-safety 2021-04-09 09:34:26 +02:00
a42b3de6f4 test: add tests for stream chat flutter (#335)
* feat: Added tests

* feat: Added header test

* feat: Added new tests

* fix

* feat: Added test, fmt

* feat: Added delete test

* added system and unread ind tests

* fix: analysis

* added new tests

* fix: analysis

* added tests

* add attachment actions modal tests

* fix analysis

* fix analysis

* add backbutton tests

* fix analysis

* increase timeout

* add channelheader tests

* add infotile tests

* add reactions modal and channel unread indicator tests

* add golden test for reaction bubble

* add dark tests

* add system message golden

* add deletd message golden

* add message action modal tests

* update goldens

* update workflow runner

* update goldens

* remove channel unread indicator in favor of unread indicator

* move file and media screen to sample app

* add channel image tesst

* add channel_list_header test

* add thread_header test

* bump up test threashold

* fix review

Co-authored-by: Salvatore Giordano <[email protected]>
2021-04-08 17:43:08 +02:00
Deven Joshi c80fc0a6b4 added null safety for llc 2021-04-08 15:03:16 +05:30
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
Felix Angelov 67f62d0692 feat(stream_chat): upgrade to null safe dependencies 2021-03-21 23:27:26 -05:00