Commit graph

1500 commits

Author SHA1 Message Date
Florian Renaud
4d3cd0709e Update screenshots 2023-05-16 14:32:23 +02:00
Florian Renaud
f6ec8357f2 Use material3 ListItem 2023-05-16 14:29:18 +02:00
Florian Renaud
afc32f4810 Merge remote-tracking branch 'origin/develop' into
feature/fre/create_room_select_avatar
2023-05-16 14:18:29 +02:00
Benoit Marty
a0206b2b2f Merge pull request #425 from vector-im/feature/bma/material3_update
Use default material3 version again and cleanup `@OptIn` annotations.
2023-05-16 09:51:17 +02:00
ganfra
1f4a442d8c Merge pull request #429 from vector-im/renovate/org.matrix.rustcomponents
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.14
2023-05-15 19:56:26 +02:00
renovate[bot]
c42154d66d Update dependency org.matrix.rustcomponents:sdk-android to v0.1.14 2023-05-15 17:32:55 +00:00
ganfra
3319f6de01 Merge pull request #428 from vector-im/feature/fga/update-rust-sdk-0.1.13
Feature/fga/update rust sdk 0.1.13
2023-05-15 19:32:04 +02:00
ganfra
b3c6d64fa3 SDK - fix compilation 2023-05-15 18:17:21 +02:00
Benoit Marty
2ca3e4530d Merge pull request #426 from vector-im/feature/bma/renovateReview
Do not let Renovate assign a reviewer anymore
2023-05-15 14:52:14 +02:00
Marco Romano
b51c19af19 Show pending invitations in room members list (#385)
Splits a Room's member list in 2 showing pending invitees first and then the actual room member.

This simple user facing change entails a host of under the hood changes:
- It copies the logic from the `userlist` module and merges it into the `roomdetails` module removing all details not related to the member list (e.g. gets rid of multiple selection, debouncing etc.).
- Uncouples the `roomdetails` module from the `userlist` one. Now leaving only the `createroom` module to depend on the `userlist` module. Therefore the `userlist` module could be in the future completely removed and merged into the `createroom` module.
 - Changes the room members count in the room details screen to only show the members who have joined (i.e. don't count those still in the invited state).

Missed ACs:
- This change does not make the member list live update. Discussion is ongoing on how to make this technically feasible.

Parent issue:
- https://github.com/vector-im/element-x-android/issues/246
2023-05-15 14:39:27 +02:00
Benoit Marty
8547d5f267 Record screenshots. 2023-05-15 13:50:21 +02:00
Benoit Marty
e2f4ec3cf0 Fix more warning and replace deprecated code. Also use TextField from our components. 2023-05-15 13:43:27 +02:00
Benoit Marty
02e0216f83 Merge pull request #421 from vector-im/renovate/kotlin
Update kotlin to v1.7.1
2023-05-15 13:32:13 +02:00
Benoit Marty
ac515afae3 Now that we have a CODEOWNERS file, there is no need for Renovate to assign a reviewer. It will be done automatically by GitHub. 2023-05-15 13:24:27 +02:00
Benoit Marty
7f108185ac Merge pull request #422 from vector-im/renovate/dagger
Update dagger to v2.46.1
2023-05-15 13:21:57 +02:00
Benoit Marty
457b83184a Use default material3 version again and cleanup @OptIn annotations.
Material3 is now 1.1.0
2023-05-15 12:28:31 +02:00
renovate[bot]
a336e5cad6 Update dependency com.google.dagger:dagger-compiler to v2.46.1 2023-05-12 21:51:50 +00:00
renovate[bot]
32d8bf0b9d Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.7.1 2023-05-12 19:15:53 +00:00
Florian Renaud
454fbe7f73 Merge pull request #400 from vector-im/renovate/kotlin
Update kotlin to v1.7.0
2023-05-12 17:03:41 +02:00
Florian Renaud
394ef825ef increase test timeout 2023-05-12 15:34:35 +02:00
Florian Renaud
53adb456ba Test cleanup 2023-05-12 13:30:06 +02:00
Florian Renaud
d7d1d01543 Add missing OptIn 2023-05-12 13:28:22 +02:00
renovate[bot]
04930167a3 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.13 2023-05-12 10:55:58 +00:00
Chris Smith
92e9d3a127 Fix a few FFI leaks (#405)
Fix a few FFI leaks

These are instances where we obtain an FFIObject and don't call
Close on it to release the underlying reference on the Rust side.

The worst instance here was leaking an object per room member
every time we refreshed the member list
2023-05-12 10:50:39 +00:00
Florian Renaud
719dd20555 Remove useless OptIn in tests 2023-05-12 10:05:39 +02:00
Florian Renaud
38967a2f4d Add more tests 2023-05-11 23:03:47 +02:00
renovate[bot]
f33742f609 Update kotlin to v1.7.0 2023-05-11 16:01:30 +00:00
Jorge Martin Espinosa
89b9db3be6 [Media upload] Upload image, video and files (#411)
* Add media upload

* Display media upload error messages using a Snackbar.
2023-05-11 15:56:13 +00:00
Florian Renaud
42e5a86c54 Fix test build 2023-05-11 17:34:40 +02:00
Florian Renaud
610faf942d Reformat some code 2023-05-11 17:31:56 +02:00
Benoit Marty
1765398eb1 No need to duplicate the workflow, the workflow can have several on sections. 2023-05-11 16:36:46 +02:00
Florian Renaud
edb2cee361 Clear cached image after room creation 2023-05-11 16:30:38 +02:00
Florian Renaud
27f6f5cd3b upload avatar within the room creation 2023-05-11 16:30:38 +02:00
Florian Renaud
17dd489e6a Add missing tests 2023-05-11 16:30:38 +02:00
Florian Renaud
7a4ed72da5 changelogs 2023-05-11 16:30:37 +02:00
Florian Renaud
750b427bc4 Add todo and screenshot tests 2023-05-11 16:30:37 +02:00
Florian Renaud
33ee366c8d Fix tests after rebase 2023-05-11 16:30:37 +02:00
Florian Renaud
929ebc79c5 Delete cached avatar URI 2023-05-11 16:30:37 +02:00
Florian Renaud
a28c0170f6 Rework and add remove button 2023-05-11 16:30:37 +02:00
Florian Renaud
fcdc737a81 WIP pick avatar image 2023-05-11 16:30:37 +02:00
Benoit Marty
92b6d0617e Merge pull request #412 from vector-im/renovate/core
Update core to v1.10.1
2023-05-11 16:22:30 +02:00
Benoit Marty
87b2cc610d Merge pull request #402 from vector-im/feature/bma/lintVersion
Upgrade version of lint from 8.0.0 to 8.2.0-alpha02 (latest).
2023-05-11 10:37:21 +02:00
renovate[bot]
c4d0de7c8e Update core to v1.10.1 2023-05-10 19:14:16 +00:00
renovate[bot]
474bc00f8e Update dependency org.matrix.rustcomponents:sdk-android to v0.1.12 (#407)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.12

* Fix Rust SDK update issues.

* Try to handle Rust memory more gracefully.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-05-10 15:27:15 +00:00
Jorge Martin Espinosa
5eaa40a14b [Media upload] Media pre-processing (#403)
* Create `mediaupload` module for media pre-processing.

* Split `mediapicker` and `mediaupload` modules.
2023-05-10 10:06:56 +02:00
Marco Romano
7c02e7ad4b Merge pull request #406 from vector-im/julioromano/codeowners
Create CODEOWNERS
2023-05-10 10:06:28 +02:00
Marco Romano
f4a51c41df Create CODEOWNERS
This change, together with enabling the "Require review from Code Owners" option in the Github's branch protection rule will effectively auto assign a reviewer to any non-draft PR.
2023-05-09 17:07:23 +02:00
Benoit Marty
845d51486f Upgrade version of lint from 8.0.0 to 8.2.0-alpha02 (latest).
Fix warning:
WARNING: The build will use lint version 8.0.0 which is older than the default.
Recommendation: Remove or update the gradle property android.experimental.lint.version to be at least 8.0.1
2023-05-09 10:59:21 +02:00
Benoit Marty
e68f91008f Merge pull request #401 from vector-im/sync-localazy
Sync Strings
2023-05-09 10:08:13 +02:00
Benoit Marty
2b7fa99117 trigger CI 2023-05-09 09:50:08 +02:00