Commit Graph
2329 Commits
Author SHA1 Message Date
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
Salvatore Giordano 59b99e1cb2 fix example 2021-04-12 17:09:39 +02:00
Deven Joshi ee617439cd merged upper branch 2021-04-12 19:01:36 +05:30
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 413d6ad591 sort deps 2021-04-09 12:23:03 +02:00
Salvatore Giordano dd88cecedc fix reaction bubble 2021-04-09 11:38:25 +02:00
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 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
Salvatore Giordano 4946664220 Merge branch 'master' into develop 2021-04-07 12:25:28 +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
Deven JoshiandGitHub 13561dafae 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
2021-04-06 14:27:59 +02:00
Sahil Kumar 3a5308a9c0 chore(core): sort pub dependency
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-02 19:34:29 +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
Sahil KumarandGitHub f572cbd1c3 Merge pull request #380 from GetStream/fix/remove-from-coverage
fix: add escape character in coverage script
2021-04-02 17:27:22 +05:30
Sahil Kumar b1396cd34f fix coverage script
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-02 17:13:38 +05:30
Deven JoshiandGitHub 2135fdb971 fix: attachments upload when size exceeds (#377)
* fix: Fixed file upload error

* fix: Fixed file upload error
2021-04-02 12:06:40 +02:00
Salvatore Giordano aeb6da8d38 remove gitter 2021-04-01 15:34:43 +02:00
Salvatore GiordanoandGitHub e749b881c9 Update README.md 2021-04-01 15:33:32 +02:00
Salvatore GiordanoandGitHub 9ab33b5c7e removed gitter 2021-04-01 15:33:05 +02:00
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
Salvatore GiordanoandGitHub 425fd5c4d8 fixes #370: remove all controls on full screen media if message is of type ephemeral (#373) 2021-04-01 12:01:50 +02:00
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
Salvatore Giordano c58f415c1b Merge branch 'master' into develop 2021-04-01 09:55:48 +02:00
Salvatore Giordano de4c79f535 add probot config 2021-04-01 09:28:36 +02:00
Salvatore Giordano 3f52fbd992 Merge branch 'master' of github.com:GetStream/stream-chat-flutter 2021-04-01 09:26:35 +02:00
Sahil KumarandGitHub df5df69b24 Merge pull request #365 from GetStream/fix/accessibility-text-size-scaling 2021-03-31 20:47:27 +05:30
Sahil Kumar d34ce81096 fixes
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-31 20:04:01 +05:30
Deven JoshiandGitHub d455e3c96e feat: exposed textbuilder callback (#367)
* exposed textbuilder callback

* exposed textbuilder callback
2021-03-31 16:18:40 +02:00
Sahil Kumar 2014c25235 fix(ui-kit): fix message input dm checkbox accessibility scaling issue
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-31 17:05:07 +05:30
Sahil Kumar 8b58ac06ff fix(ui-kit): fix message widget long username overflow
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-31 16:58:24 +05:30
Sahil Kumar fec7cfa572 fix(ui-kit): fix accessibility text size scaling in message widget
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-31 12:50:41 +05:30
Salvatore GiordanoandGitHub a3e6ad2ab3 Update issue templates 2021-03-30 15:32:20 +02:00
5ae5b49f9e 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]>
2021-03-30 15:22:24 +02:00
3dcf1f5eb4 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]>
2021-03-30 15:11:20 +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
Salvatore GiordanoandGitHub 1805ceb964 Create CODE_OF_CONDUCT.md (#353)
Inspired by https://github.com/flutter/flutter/blob/master/CODE_OF_CONDUCT.md
2021-03-24 18:01:38 +01:00
Felix Angelov f45fcd0bc2 chore: publish_to: none 2021-03-24 09:32:32 -05:00
Felix Angelov c831a50753 fix(stream_chat_persistence): isNotNull -> isNull 2021-03-24 09:25:39 -05:00
Felix Angelov b39d5e1811 chore(stream_chat_persistence): remove deprecated isNotNull use 2021-03-24 00:54:55 -05:00
Felix Angelov 3815e53f72 fix(stream_chat_flutter): analysis 2021-03-24 00:52:49 -05:00
Felix Angelov 991b236ea4 fix(stream_chat_persistence): tests 2021-03-24 00:49:11 -05:00
Felix Angelov 427be05083 chore(stream_chat_flutter): update deps 2021-03-24 00:29:52 -05:00