Commit Graph
360 Commits
Author SHA1 Message Date
Sahil KumarandGitHub df0a59fd5a Update packages/stream_chat/CHANGELOG.md 2021-08-03 19:30:57 +05:30
Tom BeckettandGitHub 558845aabc chore(llc): version changelog bymp 2021-08-03 14:53:19 +01:00
Tom BeckettandGitHub 5f10220bce chore(llc): Moved entry to correct heading. 2021-08-03 14:52:41 +01:00
Tom Beckett dd5b9bb256 fix(llc): channel.markAllRead 2021-08-03 14:40:53 +01:00
Tom Beckett 8ba82e8931 chore(llc): add changelog entry 2021-08-03 14:40:16 +01:00
Tom BeckettandGitHub 7aafc405f1 fix: Add missing forward slash to markAllRead url
# Submit a pull request

## CLA

- [x] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required).
- [x] The code changes follow best practices
- [ ] Code changes are tested (add some information if not applicable)

## Description of the pull request

Running latest GetStream SDK (from version 2.0.0) calling `channel.markAllRead()` will throw an error similar to this:

```bash
I/flutter (10572): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (10572): StreamChatNetworkError(code: -1, message: SocketException: Failed host lookup: 'chat-us-east-1.stream-io-api.comchannels' (OS Error: No address associated with hostname, errno = 7))
I/flutter (10572): #0      StreamHttpClient.post (package:stream_chat/src/core/http/stream_http_client.dart:158:7)
I/flutter (10572): <asynchronous suspension>
I/flutter (10572): #1      ChannelApi.markAllRead (package:stream_chat/src/core/api/channel_api.dart:87:22)
I/flutter (10572): <asynchronous suspension>
I/flutter (10572): ----------------------------------------------------
```

Adding a `/` to the front of the called URL will resolve this - I've done this locally and it works.
2021-08-03 14:26:03 +01:00
Salvatore Giordano c46397b63a bump version and changelog 2021-07-29 13:24:13 +02:00
Salvatore Giordano cf675269f0 merge event user to current user 2021-07-29 13:23:42 +02:00
Salvatore Giordano ef12e1dc11 readd event.me listener 2021-07-29 13:18:23 +02:00
Salvatore Giordano 800baec932 docs(localization): add localization docs 2021-07-28 17:20:14 +02:00
Salvatore Giordano b523510845 bump version and changelog 2021-07-28 12:28:24 +02:00
Salvatore Giordano f16bb82964 merge master 2021-07-28 12:26:29 +02:00
Salvatore Giordano 5954bb2abc fix tests 2021-07-28 11:24:10 +02:00
Salvatore Giordano fe7a8a1ed0 make language nullable 2021-07-28 11:20:07 +02:00
Sahil Kumar f6cf835b4e fix(llc): update currentUser after successful connection
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 20:23:28 +05:30
Sahil Kumar 7449540f34 fix(llc, ui): fix failing tests
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 18:35:15 +05:30
xsahil03x aad60bbc66 chore(llc): remove redundant event.me listener
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 16:48:25 +05:30
Sahil Kumar c5782e0275 chore(llc): re-generate model classes
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 16:47:24 +05:30
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 5c7877b987 chore(llc, core, ui): ignore deprecated methods from codecov
Signed-off-by: xsahil03x <[email protected]>
2021-07-26 16:45:36 +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 13df95a107 fix(llc): reverse user, event.me merge position
Signed-off-by: xsahil03x <[email protected]>
2021-07-26 12:54:41 +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 49ebb1e085 fix analysis 2021-07-23 10:33:59 +02:00
Salvatore Giordano 7b2bf3c434 add tests 2021-07-23 10:27:47 +02:00
Salvatore Giordano ad916de425 add additional qs and header to http client; add additional queryParams to websocket 2021-07-23 10:27:31 +02:00
Salvatore Giordano 9ebd8c7876 fix(llc): ignore healthcheck user.me objects 2021-07-23 09:42:59 +02:00
groovinchip 4f768024c6 chore: Add language to OwnUser 2021-07-22 11:08:10 -04:00
Sahil KumarandGitHub ead87d8ce5 chore(llc): add changelog entry 2021-07-22 12:36:10 +05:30
groovinchip f109a47909 fix: JsonKey for User.language 2021-07-21 12:28:04 -04:00
Sahil Kumar efab551fdb fix(llc): channel.stopWatching
Signed-off-by: xsahil03x <[email protected]>
2021-07-21 15:22:36 +05:30
groovinchip 25aa6f2a90 chore: update CHANGELOG.md 2021-07-20 15:23:25 -04:00
groovinchip 247efb4e8f chore: add missing JsonKey to Message.i18n 2021-07-20 15:22:15 -04:00
groovinchip 0210e2d49f chore: fill out message.i18n docs more 2021-07-20 15:19:37 -04:00
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 62b058e675 chore: add 'language' field to user.dart 2021-07-20 15:07:30 -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
Salvatore Giordano ca2c459e77 Merge branch 'develop' into release/2.0.0 2021-07-16 17:19:44 +02:00
Sahil Kumar 9a2ec7ca84 fix: sync events only in case persistence is enabled
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 18:32:38 +05:30
Salvatore Giordano 0e9ec8600a update version.dart 2021-07-16 13:11:53 +02:00
Salvatore Giordano 26dea38e33 update stream_chat_flutter_core changelog 2021-07-16 12:27:48 +02:00
Salvatore Giordano 1a55ae57e4 update stream_chat changelog 2021-07-16 12:27:31 +02:00
Salvatore Giordano 35b969994e update pubspecs 2021-07-16 12:27:25 +02: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
Deven Joshi b93ac23fa9 fix: Giphy cancel error 2021-07-14 17:09:26 +05:30
Salvatore GiordanoandGitHub 6ff2dc7089 Merge pull request #520 from GetStream/feat/connectionLessClient
feat!: connection less client [CDS-335]
2021-07-08 10:38:07 +02:00
Salvatore Giordano 2970763782 minor fix 2021-07-08 10:14:37 +02:00