Commit graph

1471 commits

Author SHA1 Message Date
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
457b83184a Use default material3 version again and cleanup @OptIn annotations.
Material3 is now 1.1.0
2023-05-15 12:28:31 +02: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
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
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
Benoit Marty
1765398eb1 No need to duplicate the workflow, the workflow can have several on sections. 2023-05-11 16:36:46 +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
bmarty
f54b4e9f7e Sync Strings from Localazy 2023-05-08 00:08:48 +00:00
Florian Renaud
0036328790 Merge pull request #399 from vector-im/bugfix/fre/fix_create_room_navigation
Fix navigation broken
2023-05-05 17:28:12 +02:00
Florian Renaud
403014b1dd Fix navigation broken 2023-05-05 17:11:45 +02:00
Benoit Marty
c27487839c Merge pull request #394 from vector-im/feature/bma/moveShowkaseButton
Move showkase button
2023-05-05 16:40:01 +02:00
Benoit Marty
0a77dd6150 Fix test. 2023-05-05 16:22:00 +02:00
Benoit Marty
629c87153b Cleanup 2023-05-05 15:38:21 +02:00
Benoit Marty
125116c14e Merge pull request #392 from vector-im/renovate/org.robolectric
Update dependency org.robolectric:robolectric to v4.10.2
2023-05-05 15:16:01 +02:00
Benoit Marty
8b2a663672 Merge pull request #395 from vector-im/renovate/com.squareup-kotlinpoet-1.x
Update dependency com.squareup:kotlinpoet to v1.13.2
2023-05-05 15:15:34 +02:00
renovate[bot]
d36338b4ef Update dependency com.squareup:kotlinpoet to v1.13.2 2023-05-05 10:13:05 +00:00
Benoit Marty
ebf3ebfb54 Merge pull request #332 from vector-im/renovate/kotlin
Update kotlin
2023-05-05 12:12:29 +02:00
Benoit Marty
4d7ec3916b Re-order parameters. 2023-05-05 11:49:27 +02:00
Chris Smith
6165e60e53 Make danger check view changes (#391)
Make danger check view changes

Add a check that if a file with @Preview or @LargeHeightPreview
in it is changed, then the corresponding build file includes
the showkase processor.

Also change the check that prompts about screenshots to use
the same @Preview logic instead of checking for "/layout" in
the path which doesn't work with compose.

Also add missing showkase processors
2023-05-05 08:24:12 +00:00
Benoit Marty
2223e87087 Record screenshot tests. 2023-05-05 09:49:28 +02:00
Benoit Marty
6fd12448cb Update documentation about screenshot test. 2023-05-05 09:47:10 +02:00
Benoit Marty
f3ee05b939 Fix issue in task, previous screenshot were never deleted. 2023-05-05 09:43:08 +02:00
renovate[bot]
b3b0dadee1 Update dependency com.google.android.material:material to v1.9.0 (#393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-05 09:32:26 +02:00
renovate[bot]
8f5ae86c7d Update dependency org.robolectric:robolectric to v4.10.2 2023-05-04 20:39:10 +00:00
Benoit Marty
e89fcdcc94 Avoid using hard-coded key, use ShowkaseBrowserActivity.getIntent() instead. 2023-05-04 17:31:08 +02:00
Chris Smith
ee909fcbd8 Show badges for new invites (#355)
Show badges for new invites

Closes #238
2023-05-04 15:30:55 +00:00
Benoit Marty
6b77313fd6 Move the button to open the Showkase browser to the developer settings screen. (#389) 2023-05-04 17:29:03 +02:00
Florian Renaud
c103ed549b Merge pull request #379 from vector-im/feature/fre/get_profile_on_search
Enable start chat feature and perform get profile request when searching for a matrix ID
2023-05-04 16:55:08 +02:00
Florian Renaud
73473bc2d2 Add tests 2023-05-04 16:34:38 +02:00
Florian Renaud
f99ea2f297 changelog 2023-05-04 16:28:19 +02:00
Florian Renaud
ca35d696dd Enable create DM action 2023-05-04 16:27:50 +02:00
Florian Renaud
310be7a14a Perform get profile request on matrix ID 2023-05-04 16:27:50 +02:00
Chris Smith
e5912edfb5 Add Marco to dangerfile (#388) 2023-05-04 12:39:40 +00:00
Chris Smith
a6569387e3 Add debounce/minimum length for add user search (#387)
This functionality was already implemented, it just didn't
have the right parameters configured for the user list
presenter.

Closes #109
2023-05-04 12:30:20 +00:00
Jorge Martin Espinosa
014c0f4186 [Media upload] Add media pickers to the Room screen and the composer (#380)
* Add media pickers to the Room screen and the composer.

* Fix exclude rules for translations
2023-05-04 11:51:03 +02:00
renovate[bot]
8c00b19ba9 Update kotlin 2023-05-03 17:40:41 +00:00