Commit Graph
302 Commits
Author SHA1 Message Date
Deven JoshiandGitHub 170f18093e Update packages/stream_chat/lib/src/client/channel.dart 2021-08-18 17:31:44 +05:30
Deven Joshi f28b6b61a0 fix: cooldown and teams, added correct textfield hint 2021-08-18 15:45:46 +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 5e2c6975e2 chore: update error description 2021-08-10 13:59:41 +02:00
Gordon Hayes 4dff4d4cbe chore: additional descriptions for channel update 2021-08-10 12:17:19 +02:00
Gordon Hayes 250162b7bd use image getter 2021-08-10 11:56:32 +02:00
Gordon Hayes adfc0adea9 feat: add name get, set and update on Channel 2021-08-10 11:53:30 +02:00
Gordon Hayes eae7cb1020 feat: add image get, set and update to channel 2021-08-10 09:59:08 +02:00
Gordon Hayes aa223ce258 chore: format comments 2021-08-09 14:30:07 +02:00
Gordon Hayes 22f323b37d chore: fix formatting 2021-08-05 13:40:00 +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 acd932ccc9 feat: add image property to user 2021-08-04 16:42:01 +02: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 b989fbc3ad fix(llc): use channel partial update for slowmode 2021-07-30 11:48:23 +02:00
Salvatore Giordano 28695fb9d8 Merge branch 'develop' into cds-189 2021-07-30 11:23:39 +02: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 b523510845 bump version and changelog 2021-07-28 12:28:24 +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
groovinchip 9fb60e93c1 progress on slow mode 2021-07-26 11:42:24 -04: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 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 848aa550f7 chore: add doc for cooldown in channel_model.dart 2021-07-22 13:47:58 -04:00
groovinchip c2b6ea13d8 fix: use the right stream for cooldown stream 2021-07-22 13:46:04 -04:00
groovinchip 4f768024c6 chore: Add language to OwnUser 2021-07-22 11:08:10 -04:00
groovinchip da3cf4d6de chore: start adding cooldown and cooldown stream to channel.dart 2021-07-22 10:20:31 -04:00
groovinchip 61d7661297 chore: add cooldown to channel_model.dart and test it 2021-07-22 10:11:34 -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
Salvatore Giordano ca2c459e77 Merge branch 'develop' into release/2.0.0 2021-07-16 17:19:44 +02:00