Gordon Hayes
22f323b37d
chore: fix formatting
2021-08-05 13:40:00 +02:00
Sahil Kumar and GitHub
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
acd932ccc9
feat: add image property to user
2021-08-04 16:42:01 +02:00
Tom Beckett and GitHub
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
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
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
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
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
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
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
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
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
Deven Joshi
b93ac23fa9
fix: Giphy cancel error
2021-07-14 17:09:26 +05:30
Salvatore Giordano
2970763782
minor fix
2021-07-08 10:14:37 +02:00
Salvatore Giordano
1dc23583a6
return event user
2021-07-02 15:56:14 +02:00
Salvatore Giordano
88e9cd67ef
merge persistence storage user with passed one
2021-07-02 15:29:28 +02:00
Salvatore Giordano
5d351d82e5
add copywith and merge to ownuser
2021-07-02 15:29:01 +02:00
Salvatore Giordano
c617b3040a
add connectWebsocket property to connectUser calls
2021-07-02 11:58:23 +02:00
Sahil Kumar
e38381483a
deprecate baseUrl in StreamChatClient
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-28 16:03:33 +05:30
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
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
Salvatore Giordano
c987e8b488
add comments
2021-06-22 14:20:43 +02:00
Sahil Kumar
7059e2fe21
remove unused imports
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-21 17:09:51 +05:30
Sahil Kumar
ae3a7e9904
wrap WebSocketChannelError errors into StreamWebSocketError.
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-21 16:05:33 +05:30
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
0fcea3f546
handle offline user connect case
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-18 15:27:38 +05:30
Salvatore Giordano
3eb336e93d
fix analysis
2021-06-18 11:04:53 +02:00
Salvatore Giordano
279e4f2fbf
Merge branch 'develop' into ref/segregate-api-layer
2021-06-18 10:47:46 +02:00
Sahil Kumar
73d6527725
fix analyzer warnings
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-17 17:09:50 +05:30
Salvatore Giordano
5cd9a3be53
fix analysis
2021-06-17 13:15:01 +02:00