Commit Graph
1215 Commits
Author SHA1 Message Date
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 6a32a29311 chore(ui): 2.1.2 2021-07-30 16:08:56 +02:00
Sahil Kumar 0837c5576d chore(ui): update changelog
Signed-off-by: xsahil03x <[email protected]>
2021-07-30 15:03:19 +05:30
Sahil Kumar 7561125a05 fix(ui): add null-check in currentUserMember
Signed-off-by: xsahil03x <[email protected]>
2021-07-30 14:59:52 +05:30
Salvatore GiordanoandGitHub 7f589edeb1 Merge pull request #587 from GetStream/docs/addingLocalization
docs(localization): polishing
2021-07-29 16:58:30 +02:00
GordonandGitHub 276f6a1efc docs: spelling and grammar 2021-07-29 16:34:57 +02:00
GordonandGitHub afc636bcda docs: move header 2021-07-29 15:56:44 +02:00
GordonandGitHub f159f4e23e docs: add image 2021-07-29 15:54:56 +02:00
Gordon Hayes 47fe22e03d docs: additional localization examples 2021-07-29 14:54:57 +02:00
Gordon Hayes 8f7163b3a0 fix: ios build config 2021-07-29 14:50:36 +02:00
Salvatore Giordano f893d906aa fix typo 2021-07-29 14:21:01 +02:00
Salvatore Giordano 127f83457b fix typo 2021-07-29 14:20:07 +02:00
Salvatore Giordano 4e611b35c3 bump version and changelog of localization 2021-07-29 13:30:17 +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
Gordon Hayes a7e3e3c179 Merge branch 'docs/addingLocalization' of github.com:GetStream/stream-chat-flutter into docs/addingLocalization 2021-07-29 11:58:35 +02:00
Gordon Hayes 66cc8d3ef8 docs: fix ios locales link 2021-07-29 11:58:22 +02:00
Salvatore Giordano fc5e3add5d fix analysis 2021-07-29 11:39:15 +02:00
Salvatore Giordano 993cd4ad6c docs(localization): fix translation links 2021-07-29 11:16:30 +02:00
Salvatore Giordano 3c48e70108 fix(ui): jiffy use app level locale 2021-07-29 11:14:21 +02:00
Salvatore Giordano 587fc47316 fix links 2021-07-28 17:49:27 +02:00
Sahil Kumar 236a32403e fix(localizations): minor fixes
Signed-off-by: xsahil03x <[email protected]>
2021-07-28 21:18:43 +05:30
Salvatore Giordano 800baec932 docs(localization): add localization docs 2021-07-28 17:20:14 +02:00
Salvatore Giordano 93ee4260f8 chore(ui): fix analysis 2021-07-28 12:44:10 +02:00
Salvatore Giordano fcce46cf16 fix pubspecs 2021-07-28 12:33:40 +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 1107d99076 update readmes 2021-07-28 12:12:31 +02:00
Sahil Kumar 05e3ca1c48 chore(persistence): update schema version
Signed-off-by: xsahil03x <[email protected]>
2021-07-28 15:30:11 +05:30
xsahil03x f68d3df179 Merge remote-tracking branch 'origin/develop' into feat/localization
# Conflicts:
#	packages/stream_chat_flutter/lib/src/message_text.dart
2021-07-28 15:26:30 +05:30
Sahil Kumar 24bb8ced54 chore(ui): fix merge changes
Signed-off-by: xsahil03x <[email protected]>
2021-07-28 15:24:19 +05:30
Salvatore GiordanoandGitHub 3f55aed54e Merge pull request #562 from GetStream/cds-328
feat(ui): automatic message translation [CDS-328]
2021-07-28 11:52:44 +02:00
xsahil03x 7720bf677d Merge remote-tracking branch 'origin/develop' into feat/localization
# Conflicts:
#	packages/stream_chat_flutter/lib/src/attachment/giphy_attachment.dart
#	packages/stream_chat_flutter/lib/src/channel_name.dart
#	packages/stream_chat_flutter/lib/src/message_search_item.dart
#	packages/stream_chat_flutter/lib/src/message_widget.dart
2021-07-28 15:18:09 +05:30
Salvatore Giordano 0eb85684cf fix message text with null language 2021-07-28 11:39:26 +02:00
Salvatore Giordano 3e88dbedef update stream_chat_flutter changelog 2021-07-28 11:25:55 +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 ba251e4d88 chore(ui): fix unused variable warning
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 20:25:26 +05:30
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 39449e5700 chore(persistence): update CHANGELOG.md
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 20:07:55 +05:30
Sahil Kumar 658f7f2504 feat(persistence): add support for message.i18n
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 20:06:06 +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
Sahil Kumar 467e892079 feat(ui): add support for translated message in MessageText
Signed-off-by: xsahil03x <[email protected]>
2021-07-27 16:49:04 +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
cef76aa27e Update packages/stream_chat_flutter/lib/src/message_widget.dart
Co-authored-by: Salvatore Giordano <[email protected]>
2021-07-27 15:04:10 +05:30
6cd80a7382 Update packages/stream_chat_flutter/lib/src/message_widget.dart
Co-authored-by: Salvatore Giordano <[email protected]>
2021-07-27 15:03:19 +05:30