Commit Graph
127 Commits
Author SHA1 Message Date
Deven Joshi b920919e0f added tests 2021-08-19 17:20:59 +05:30
Deven Joshi fd13d1089f fix: tests 2021-08-16 14:48:36 +05:30
Deven Joshi 33262200a3 fix: tests 2021-08-16 14:21:12 +05:30
Deven Joshi 2e1b5c4d4a Merge branch 'develop' of https://github.com/GetStream/stream-chat-flutter into cds-189
 Conflicts:
	packages/stream_chat/lib/src/client/channel.dart
	packages/stream_chat_flutter/example/lib/main.dart
	packages/stream_chat_flutter/lib/src/message_list_view.dart
2021-08-16 14:05:18 +05:30
Sahil Kumar 702f7ee937 fix(llc): don't return cid in case name is null, minor improvements
Signed-off-by: xsahil03x <[email protected]>
2021-08-11 15:00:05 +05:30
Sahil Kumar b3a1d42f92 chore(llc): fix tests, minor changes
Signed-off-by: xsahil03x <[email protected]>
2021-08-11 12:47:20 +05:30
Gordon Hayes adfc0adea9 feat: add name get, set and update on Channel 2021-08-10 11:53:30 +02:00
Gordon Hayes ae8ebe2dba chore: prefer image and name property on image 2021-08-10 10:00:02 +02:00
Gordon Hayes eae7cb1020 feat: add image get, set and update to channel 2021-08-10 09:59:08 +02:00
Sahil KumarandGitHub 3330040d0a Merge branch 'develop' into cds-365 2021-08-05 16:41:32 +05:30
Sahil Kumar 46828764c1 feat(ui): minor fixes, add support for name in user.dart
Signed-off-by: xsahil03x <[email protected]>
2021-08-05 16:37:23 +05:30
Gordon Hayes 27893e147a test: add additional user tests 2021-08-04 16:43:45 +02:00
Tom Beckett dd5b9bb256 fix(llc): channel.markAllRead 2021-08-03 14:40:53 +01:00
Salvatore Giordano 28695fb9d8 Merge branch 'develop' into cds-189 2021-07-30 11:23:39 +02:00
Salvatore Giordano 800baec932 docs(localization): add localization docs 2021-07-28 17:20:14 +02:00
Salvatore Giordano 5954bb2abc fix tests 2021-07-28 11:24:10 +02:00
xsahil03x 6329c1e9a8 Merge remote-tracking branch 'origin/develop' into cds-328
# Conflicts:
#	packages/stream_chat/CHANGELOG.md
#	packages/stream_chat/lib/src/client/client.dart
2021-07-26 18:28:07 +05:30
Sahil Kumar f7b9511adb refactor(llc, core, ui): Deprecate .user, .userStream in favor of .currentUser, .currentUserStream
Signed-off-by: xsahil03x <[email protected]>
2021-07-26 14:57:29 +05:30
xsahil03x 23ebe009f7 Merge remote-tracking branch 'origin/develop' into cds-328
# Conflicts:
#	packages/stream_chat/CHANGELOG.md
2021-07-26 14:15:48 +05:30
Sahil Kumar 2acfaf7a7c test(llc): re-add removed tests
Signed-off-by: xsahil03x <[email protected]>
2021-07-23 15:12:52 +05:30
Sahil Kumar 44b4358c3d chore(llc): minor changes
Signed-off-by: xsahil03x <[email protected]>
2021-07-23 14:53:43 +05:30
Salvatore Giordano 7b2bf3c434 add tests 2021-07-23 10:27:47 +02:00
groovinchip 61d7661297 chore: add cooldown to channel_model.dart and test it 2021-07-22 10:11:34 -04:00
Sahil Kumar efab551fdb fix(llc): channel.stopWatching
Signed-off-by: xsahil03x <[email protected]>
2021-07-21 15:22:36 +05:30
groovinchip 0943980b51 test: add 'i18n' field test to message_test.dart 2021-07-20 15:15:09 -04:00
groovinchip c6dd3b0cd7 test: add 'language' field test to user_test.dart 2021-07-20 15:13:58 -04:00
groovinchip c3312c2da2 chore: remove the TranslatedMessage class and add the i18n field to the Message class
Tests have been updated to reflect the removal of this class
2021-07-20 14:35:15 -04:00
Reuben TurnerandGitHub b306978da6 chore: apply linter to the various example and test directories (#550)
* chore: remove examples and tests from analysis exclusion

* chore: apply linter fixes to stream_chat_flutter_core/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/main.dart

* chore: apply linter fixes to stream_chat_persistence/example/main.dart

* chore: apply linter fixes to stream_chat/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/split_view.dart

* chore: renamte tutorial files per linter

* chore: apply linter fixes to tutorial_part_1.dart

* chore: apply linter fixes to tutorial_part_2.dart

* chore: apply linter fixes to tutorial_part_3.dart

* chore: apply linter fixes to tutorial_part_4.dart

* chore: apply linter fixes to tutorial_part_5.dart

* chore: make a widget const in tutorial_part_5.dart

* chore: apply linter fixes to tutorial_part_6.dart

* chore: sort and update dependencies in stream_chat_persistence/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter_core/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: sort dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: apply linter fixes to channel_test.dart

* chore: apply linter fixes to client_test.dart

* chore: apply linter fixes to client_test.dart, stream_http_client_test.dart, and token_manager_test.dart

* chore: apply linter fixes to filter_test.dart

* chore: apply linter fixes to reaction_test.dart

* chore: apply linter fixes to chat_persistence_client_test.dart

* chore: apply linter fixes to channel_image_test.dart

* chore: apply linter fixes to deleted_message_test.dart

* chore: apply linter fixes to full_screen_media_test.dart

* chore: apply linter fixes to gallery_footer_theme_test.dart

* chore: apply linter fixes to gallery_header_theme_test.dart

* chore: apply linter fixes to message_text_test.dart

* chore: apply linter fixes to reaction_bubble_test.dart

* chore: apply linter fixes to system_message_test.dart

* chore: apply linter fixes to typing_indicator_test.dart

* chore: apply linter fixes to channel_list_core_test.dart

* chore: apply linter fixes to channels_bloc_test.dart

* chore: apply linter fixes to lazy_load_scroll_view_test.dart

* chore: apply linter fixes to channel_matcher.dart

* chore: apply linter fixes to message_matcher.dart

* chore: apply linter fixes to users_matcher.dart

* chore: apply linter fixes to message_list_core_test.dart

* chore: apply linter fixes to message_search_bloc_test.dart

* chore: apply linter fixes to message_search_list_core_test.dart

* chore: apply linter fixes to stream_channel_test.dart

* chore: apply linter fixes to stream_chat_core_test.dart

* chore: apply linter fixes to user_list_core_test.dart

* chore: apply linter fixes to channel_query_dao_test.dart, message_mapper_test.dart, user_mapper_test.dart, and users_bloc_test.dart

* chore: apply some missed dartfmt

* test: regenerate failinggolden test
2021-07-16 10:49:51 +02:00
Salvatore Giordano 2970763782 minor fix 2021-07-08 10:14:37 +02:00
Salvatore Giordano 0e6acd59b6 fix test 2021-07-02 15:43:59 +02:00
Salvatore Giordano 5d351d82e5 add copywith and merge to ownuser 2021-07-02 15:29:01 +02:00
Salvatore Giordano 7e9944730f add tests 2021-07-02 12:28:36 +02:00
Salvatore Giordano c617b3040a add connectWebsocket property to connectUser calls 2021-07-02 11:58:23 +02:00
Salvatore Giordano c7ea25c672 better user api tests 2021-06-26 13:44:06 +02:00
Salvatore Giordano ddfe015513 better moderation api tests 2021-06-26 13:41:41 +02:00
Salvatore Giordano 9857db0635 better message api tests 2021-06-26 13:37:40 +02:00
Salvatore Giordano ff8ff6d7ce better guest api tests 2021-06-26 13:27:09 +02:00
Salvatore Giordano 1a817a3282 better device api tests 2021-06-26 13:26:25 +02:00
Salvatore Giordano 9cc6ef124c better channel api tests 2021-06-26 13:25:06 +02:00
Salvatore Giordano 56bce0957c fix payload and improve tests 2021-06-26 12:41:52 +02:00
Sahil Kumar 675bffe7b9 fix offline user connection, add tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-18 16:10:34 +05:30
Sahil Kumar dc4b3f11a4 flutter format .
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-17 17:23:53 +05:30
Sahil Kumar a5bc00fe5f add channel.setExtraData tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-17 17:18:47 +05:30
Sahil Kumar 73d6527725 fix analyzer warnings
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-17 17:09:50 +05:30
Sahil KumarandGitHub a98148e0db Update packages/stream_chat/test/src/core/models/reaction_test.dart 2021-06-17 15:01:53 +05:30
Sahil KumarandGitHub 6a2efb18e4 Update packages/stream_chat/test/src/core/models/reaction_test.dart 2021-06-17 15:01:45 +05:30
Salvatore Giordano 907573dab1 add event tests 2021-06-17 10:34:53 +02:00
Salvatore Giordano 91907639ad add more user and channel config test 2021-06-17 10:01:46 +02:00
Salvatore Giordano aef63f3722 add more read test 2021-06-17 09:40:01 +02:00
Salvatore Giordano d4b5154cba add reaction test 2021-06-17 09:31:54 +02:00