Chris Smith
ebac9ef4b4
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
c22d181d8c
Remove useless OptIn in tests
2023-05-12 10:05:39 +02:00
Florian Renaud
deea472001
Add more tests
2023-05-11 23:03:47 +02:00
Freezlex
dda51e1667
fix: Add dash to MATRIX_ROOM_IDENTIFIER_REGEX in order to allow URLS such as foo-bar:foo.bar
2023-05-11 20:43:35 +02:00
renovate[bot]
363162e252
Update kotlin to v1.7.0
2023-05-11 16:01:30 +00:00
Jorge Martin Espinosa
ed16ea5e48
[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
5e38049e75
Fix test build
2023-05-11 17:34:40 +02:00
Florian Renaud
14fba4c559
Reformat some code
2023-05-11 17:31:56 +02:00
Benoit Marty
6a2cb1bbb5
No need to duplicate the workflow, the workflow can have several on sections.
2023-05-11 16:36:46 +02:00
Florian Renaud
1b1dbca96b
Clear cached image after room creation
2023-05-11 16:30:38 +02:00
Florian Renaud
5a0665a27a
upload avatar within the room creation
2023-05-11 16:30:38 +02:00
Florian Renaud
4a444c24c4
Add missing tests
2023-05-11 16:30:38 +02:00
Florian Renaud
83463a731b
changelogs
2023-05-11 16:30:37 +02:00
Florian Renaud
4fd3cb4c0e
Add todo and screenshot tests
2023-05-11 16:30:37 +02:00
Florian Renaud
c81e673111
Fix tests after rebase
2023-05-11 16:30:37 +02:00
Florian Renaud
a38fbb3419
Delete cached avatar URI
2023-05-11 16:30:37 +02:00
Florian Renaud
554ce9f650
Rework and add remove button
2023-05-11 16:30:37 +02:00
Florian Renaud
6641afdd17
WIP pick avatar image
2023-05-11 16:30:37 +02:00
Benoit Marty
4e88700f19
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
f7ab48a7de
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]
1ad90364c7
Update core to v1.10.1
2023-05-10 19:14:16 +00:00
renovate[bot]
081c86e8db
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
cd298b9359
[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
1b39a782c5
Merge pull request #406 from vector-im/julioromano/codeowners
...
Create CODEOWNERS
2023-05-10 10:06:28 +02:00
Marco Romano
907ae36fee
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
1b4a0255ce
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
019e2d17ac
Merge pull request #401 from vector-im/sync-localazy
...
Sync Strings
2023-05-09 10:08:13 +02:00
Benoit Marty
b713911c42
trigger CI
2023-05-09 09:50:08 +02:00
bmarty
367b659edc
Sync Strings from Localazy
2023-05-08 00:08:48 +00:00
ganfra
fe246e0a7b
ZoomableBox small changes
2023-05-05 19:49:04 +02:00
ganfra
266d48b48b
Introduce Attachments and LocalMedia (WIP)
2023-05-05 19:48:50 +02:00
ganfra
72dea2f817
Introduce MatrixMediaSource
2023-05-05 19:47:10 +02:00
Florian Renaud
6eba85a993
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
25adc1cc60
Fix navigation broken
2023-05-05 17:11:45 +02:00
Benoit Marty
c8dc2a5e57
Merge pull request #394 from vector-im/feature/bma/moveShowkaseButton
...
Move showkase button
2023-05-05 16:40:01 +02:00
Benoit Marty
b1c5eb53ae
Fix test.
2023-05-05 16:22:00 +02:00
Benoit Marty
f5a8805640
Cleanup
2023-05-05 15:38:21 +02:00
Benoit Marty
8d6caeedd6
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
0bf77bbd20
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
ganfra
affb928801
Merge develop into feature/fga/image_loading
2023-05-05 12:51:00 +02:00
renovate[bot]
ebb90c56fe
Update dependency com.squareup:kotlinpoet to v1.13.2
2023-05-05 10:13:05 +00:00
Benoit Marty
3fc4604f9c
Merge pull request #332 from vector-im/renovate/kotlin
...
Update kotlin
2023-05-05 12:12:29 +02:00
Benoit Marty
f881bd849d
Re-order parameters.
2023-05-05 11:49:27 +02:00
Chris Smith
1d041578f7
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
6e9eb254ef
Record screenshot tests.
2023-05-05 09:49:28 +02:00
Benoit Marty
59e630c99e
Update documentation about screenshot test.
2023-05-05 09:47:10 +02:00
Benoit Marty
d5363a1d3f
Fix issue in task, previous screenshot were never deleted.
2023-05-05 09:43:08 +02:00
renovate[bot]
8eb826370d
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]
d11ad873c6
Update dependency org.robolectric:robolectric to v4.10.2
2023-05-04 20:39:10 +00:00
Benoit Marty
232ae32051
Avoid using hard-coded key, use ShowkaseBrowserActivity.getIntent() instead.
2023-05-04 17:31:08 +02:00