Commit a7e71c1
* Improve `Message.createdLocallyAt` creation logic using estimated server time (#6199)
* Fix createdLocallyAt using NTP-style server clock offset estimation
Co-Authored-By: Claude <noreply@anthropic.com>
* Pr remarks
* Adjust thread message createdLocallyAt.
* Ensure exceedsSyncThreshold is compared against estimated server time (where applicable).
* Add max allowed offset.
---------
Co-authored-by: Claude <noreply@anthropic.com>
* [skip ci] Update SDK sizes
* Update README cover image (#6282)
* Fix XML image flicker caused by `interceptorCoroutineContext(Dispatchers.IO)` (#6284)
Co-authored-by: Claude <noreply@anthropic.com>
* [skip ci] Update SDK sizes
* AUTOMATION: Version Bump
* Fix race condition in plugin resolution during disconnect (#6269)
* Update `DependencyResolverTest` to verify error handling when dependency resolution races with disconnection.
* Prevent race conditions during disconnects in `ChatClient`.
* Handle unresolvable attachments in picker (#6285)
- Update `StorageHelper` and `AttachmentMetaDataMapper` to safely handle cases where content URIs (e.g. cloud-backed files) cannot be opened.
- Introduce `hasUnresolvedAttachments` state in `AttachmentsPickerViewModel` to track failed attachment resolutions.
- Show a toast message in both View-based and Compose attachment pickers when files are unavailable and need to be downloaded to the device.
- Add `clearUnresolvedAttachments` to reset the error state after it has been consumed by the UI.
- Add unit tests for unresolved attachment scenarios in `AttachmentsPickerViewModelTest`.
* [skip ci] Update SDK sizes
* Fix wrong message selected on quoted message long click (#6292)
* Use type-specific attachment URL fields and deprecate `imagePreviewUrl` (#6280)
* Deprecate imagePreviewUrl and use type-specific attachment URL fields
Co-Authored-By: Claude <noreply@anthropic.com>
* Extract common extensions.
---------
Co-authored-by: Claude <noreply@anthropic.com>
* Expose optional completion callback for audio recording (#6290)
Co-authored-by: Claude <noreply@anthropic.com>
* AUTOMATION: Version Bump
* AUTOMATION: Clean Detekt Baseline Files (#6299)
Co-authored-by: adasiewiczr <17440581+adasiewiczr@users.noreply.github.com>
* Add support for intercepting CDN file requests (#6295)
* Add new CDN contract.
* Add CDN for document files.
* Add CDN support for downloading attachments.
* Deprecate current CDN methods.
* Add progress indicator snackbar.
* Add useDocumentGView config flag.
* Add file sharing cache handling.
* Add file sharing cache handling.
* Remove CDNResponse.kt
* Add tests
* PR remarks
* [skip ci] Update SDK sizes
* Post-merge clean-up.
* Post-merge clean-up.
* ApiDump.
* Improve attachment URI resolution and error handling in `AttachmentsPickerViewModel` and `AttachmentStorageHelper`.
- Add `isUriResolvable` to `StorageHelper` to verify if a content URI can be opened for reading.
- Implement `partitionResolvable` in `AttachmentStorageHelper` to separate metadata based on URI accessibility.
- Update `AttachmentsPickerViewModel.resolveAndSubmitUris` to exclude inaccessible URIs (e.g., undownloaded cloud files) from the submission.
- Ensure `hasUnresolvedAttachments` is correctly set when URIs are inaccessible, independent of file type support.
- Add unit tests in `AttachmentStorageHelperTest` and `AttachmentsPickerViewModelTest` to verify partitioning logic and view model state updates.
* Handle unresolvable attachments in XML
* apiDump.
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: André Mion <andremion@gmail.com>
Co-authored-by: Gianmarco <47775302+gpunto@users.noreply.github.com>
Co-authored-by: stream-pr-merger[bot] <117762243+stream-pr-merger[bot]@users.noreply.github.com>
Co-authored-by: adasiewiczr <17440581+adasiewiczr@users.noreply.github.com>
1 parent 0df0b42 commit a7e71c1
File tree
94 files changed
+3188
-394
lines changed- docs
- stream-chat-android-client
- api
- src
- main/java/io/getstream/chat/android/client
- api/state
- audio
- cdn
- internal
- di
- internal
- file
- state
- plugin/factory
- sync/internal
- socket
- utils/internal
- test/java/io/getstream/chat/android/client
- cdn/internal
- chatclient
- debugger
- internal
- file
- state/internal
- socket
- utils/internal
- stream-chat-android-compose-sample/src/main/java/io/getstream/chat/android/compose/sample/ui
- channel/attachments
- chats
- stream-chat-android-compose
- api
- src
- main/java/io/getstream/chat/android/compose
- ui
- attachments
- content
- preview
- handler
- internal
- channel/attachments
- components
- composer
- messages
- messages/attachments
- theme
- util
- extensions/internal
- viewmodel
- channel
- messages
- test/kotlin/io/getstream/chat/android/compose
- ui/components/messages
- viewmodel/messages
- stream-chat-android-ui-common/src
- main
- kotlin/io/getstream/chat/android/ui/common
- feature
- documents
- messages/composer
- helper
- internal
- images
- internal
- internal/file
- utils/extensions
- res/values
- test/kotlin/io/getstream/chat/android/ui/common
- helper/internal
- images/internal
- internal/file
- utils/extensions
- stream-chat-android-ui-components
- api
- src/main/kotlin/io/getstream/chat/android/ui
- feature
- gallery
- internal
- overview/internal
- messages
- composer
- attachment/picker
- internal
- list
- adapter
- viewholder/impl
- view/internal
- viewmodel/messages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
94 files changed
+3188
-394
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Binary file not shown.
Loading
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
909 | 910 | | |
910 | 911 | | |
911 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
912 | 934 | | |
913 | 935 | | |
914 | 936 | | |
| |||
Lines changed: 63 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
| |||
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
289 | 293 | | |
290 | 294 | | |
291 | 295 | | |
| 296 | + | |
| 297 | + | |
292 | 298 | | |
293 | 299 | | |
294 | 300 | | |
| 301 | + | |
| 302 | + | |
295 | 303 | | |
296 | 304 | | |
297 | 305 | | |
| |||
353 | 361 | | |
354 | 362 | | |
355 | 363 | | |
| 364 | + | |
356 | 365 | | |
357 | 366 | | |
358 | 367 | | |
| |||
399 | 408 | | |
400 | 409 | | |
401 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
402 | 415 | | |
403 | 416 | | |
404 | 417 | | |
405 | 418 | | |
406 | 419 | | |
407 | | - | |
| 420 | + | |
408 | 421 | | |
409 | 422 | | |
410 | 423 | | |
| |||
1569 | 1582 | | |
1570 | 1583 | | |
1571 | 1584 | | |
1572 | | - | |
| 1585 | + | |
| 1586 | + | |
1573 | 1587 | | |
1574 | | - | |
1575 | 1588 | | |
1576 | 1589 | | |
1577 | 1590 | | |
| |||
2534 | 2547 | | |
2535 | 2548 | | |
2536 | 2549 | | |
2537 | | - | |
2538 | | - | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
2539 | 2553 | | |
2540 | 2554 | | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
| 2567 | + | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
2544 | 2577 | | |
2545 | | - | |
2546 | | - | |
2547 | 2578 | | |
2548 | 2579 | | |
2549 | 2580 | | |
| |||
4608 | 4639 | | |
4609 | 4640 | | |
4610 | 4641 | | |
| 4642 | + | |
4611 | 4643 | | |
4612 | 4644 | | |
4613 | 4645 | | |
| |||
4736 | 4768 | | |
4737 | 4769 | | |
4738 | 4770 | | |
| 4771 | + | |
| 4772 | + | |
| 4773 | + | |
4739 | 4774 | | |
| 4775 | + | |
4740 | 4776 | | |
4741 | 4777 | | |
4742 | 4778 | | |
| |||
4807 | 4843 | | |
4808 | 4844 | | |
4809 | 4845 | | |
| 4846 | + | |
| 4847 | + | |
| 4848 | + | |
| 4849 | + | |
| 4850 | + | |
| 4851 | + | |
| 4852 | + | |
| 4853 | + | |
| 4854 | + | |
4810 | 4855 | | |
4811 | 4856 | | |
4812 | 4857 | | |
| |||
4933 | 4978 | | |
4934 | 4979 | | |
4935 | 4980 | | |
| 4981 | + | |
| 4982 | + | |
4936 | 4983 | | |
4937 | 4984 | | |
4938 | 4985 | | |
| |||
4945 | 4992 | | |
4946 | 4993 | | |
4947 | 4994 | | |
| 4995 | + | |
4948 | 4996 | | |
4949 | 4997 | | |
4950 | 4998 | | |
4951 | 4999 | | |
4952 | 5000 | | |
4953 | 5001 | | |
| 5002 | + | |
4954 | 5003 | | |
4955 | 5004 | | |
4956 | 5005 | | |
4957 | 5006 | | |
4958 | 5007 | | |
| 5008 | + | |
4959 | 5009 | | |
4960 | | - | |
| 5010 | + | |
4961 | 5011 | | |
4962 | 5012 | | |
4963 | 5013 | | |
| |||
4991 | 5041 | | |
4992 | 5042 | | |
4993 | 5043 | | |
| 5044 | + | |
4994 | 5045 | | |
4995 | 5046 | | |
4996 | 5047 | | |
| |||
5011 | 5062 | | |
5012 | 5063 | | |
5013 | 5064 | | |
| 5065 | + | |
5014 | 5066 | | |
5015 | 5067 | | |
5016 | 5068 | | |
| |||
Lines changed: 25 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
305 | 312 | | |
306 | 313 | | |
307 | 314 | | |
| |||
326 | 333 | | |
327 | 334 | | |
328 | 335 | | |
329 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
330 | 348 | | |
331 | 349 | | |
332 | | - | |
| 350 | + | |
333 | 351 | | |
334 | 352 | | |
335 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
336 | 359 | | |
337 | 360 | | |
338 | 361 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | | - | |
| 200 | + | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
206 | | - | |
| 205 | + | |
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
| |||
232 | 231 | | |
233 | 232 | | |
234 | 233 | | |
235 | | - | |
| 234 | + | |
236 | 235 | | |
237 | 236 | | |
238 | 237 | | |
| |||
0 commit comments