Commit graph

76 commits

Author SHA1 Message Date
Benoit Marty
a84ca7ee8e Fix API break in Sealed interface used in Composable MUST be Immutable or Stable 2024-11-26 11:39:33 +01:00
Benoit Marty
e261f6f36e Fix API break in Fake classes must be named using Fake and the interface it fakes
It seems that the workaround is not necessary anymore.
2024-11-26 11:09:38 +01:00
Benoit Marty
878bd29b67 Ensure Fake classes must be named using Fake and the interface it fakes is detecting error by adding failing cases. 2024-11-26 10:48:01 +01:00
Benoit Marty
c433bab0a8 Ensure Sealed interface used in Composable MUST be Immutable or Stable is detecting error by adding a failing case. 2024-11-26 10:24:03 +01:00
Benoit Marty
81d2e0d750
Merge pull request #3906 from element-hq/feature/bma/minSizeForHiddenMedia
Min size for hidden media
2024-11-21 21:06:19 +01:00
Benoit Marty
aa1948ac44 Fix test and rename class to follow naming convention for PreviewParameterProvider. 2024-11-21 15:18:56 +01:00
Benoit Marty
4a5259f1d9 Fix tests 2024-11-21 09:45:27 +01:00
Benoit Marty
0dbfab99d1 Fix Konsist test failing 2024-11-07 20:40:19 +01:00
Benoit Marty
223eae9602 Send caption with media 2024-11-04 14:24:39 +01:00
Valere
9fb68fc58e
Bump rust-sdk version to rust-sdk 0.2.57 (#3735)
* Bump rust-sdk version to rust-sdk 0.2.57

* rust sdk update: Support persisted WedgeQueueError

* Trust & Decoration | Support new expected UTD causes

* Room Subscribtion settings not needed anymore (see https://github.com/matrix-org/matrix-rust-sdk/pull/4159)

* File/Attachement upload: update to support `storeInCache`

* feat(knock): update API to use reason and serverNames

* Add another `Konsist` exception

* Update screenshots

---------

Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-24 16:45:16 +02:00
Benoit Marty
95d95d4f89
Merge pull request #3718 from element-hq/feature/bma/verifiedUserBadge
Verified user badge
2024-10-23 14:20:23 +02:00
Benoit Marty
daaaf92a87 Let IconTitleSubtitleMolecule use BigIcon. 2024-10-22 11:53:30 +02:00
Benoit Marty
77b87af52a Move RoomBadge to atomic package and rename to MatrixBadge 2024-10-22 10:18:42 +02:00
Benoit Marty
576658988f Improve test Classes extending 'PreviewParameterProvider' name MUST end with 'Provider' and MUST contain provided class name 2024-10-16 11:17:45 +02:00
Benoit Marty
8c018c4fda Fix konsist test. 2024-10-08 11:13:56 +02:00
Benoit Marty
ac481a59de Konsist: Ensure that Presenter do not depend on other presenters. 2024-10-07 17:45:16 +02:00
Benoit Marty
f2ca3c30d7 Konsist: Ensure that unit tests are detected 2024-10-07 17:45:15 +02:00
Benoit Marty
b889e8681c Rename hideContent to hideMediaContent 2024-10-04 17:02:03 +02:00
Benoit Marty
d2bd1b7cab Fix test 2024-10-04 17:01:54 +02:00
Jorge Martin Espinosa
79c17f714f
Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
Benoit Marty
154114bfce Konsist: implement another workaround. 2024-09-27 12:14:51 +02:00
Benoit Marty
e0a9fbe063 Konsist: fix compilation issue and implement workaround. 2024-09-27 11:59:32 +02:00
Benoit Marty
2d9b0bbe19 Adapt Konsist test for Fake Rust classes. 2024-09-18 18:50:54 +02:00
Benoit Marty
49fcba1381 Migrate license to AGPL - Update KonsistLicenseTest 2024-09-06 18:02:35 +02:00
Benoit Marty
f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty
965e445d04 Replace OSS licenses plugin with Licensee and some manually done UI.
This should fix both configuration cache and reproducible F-droid builds.

Cleanup and remove gplay/fdroid diff on open source licenses.

Co-authored by @jmartinesp
2024-09-02 21:11:52 +02:00
Benoit Marty
f2b38e50e3 Add test on function name which may start or end with spaces and fix existing issues. 2024-08-20 17:11:30 +02:00
Benoit Marty
459f60d8a0 Add preview for message shield dialog. 2024-08-16 11:33:52 +02:00
Benoit Marty
faf1e7da9f Iterate on shield mapping and rendering
Also handle click on the timeline and information displayed on long click.
2024-08-14 17:24:11 +02:00
Benoit Marty
ad3c4e1216 Add exception for Konsist test. 2024-07-17 18:08:17 +02:00
Benoit Marty
a0b8679776 Add preview for Call screen in different PipState. 2024-07-15 17:23:03 +02:00
Benoit Marty
d000f956b6 Add Konsist test to ensure that we invoke callback method on all the Callback instances. 2024-07-05 12:00:04 +02:00
Benoit Marty
d22dd7c2f7 Let Konsist checks the license header 2024-07-01 11:12:02 +02:00
Benoit Marty
1b72221df7 Add first EnterpriseService. 2024-06-26 11:59:41 +02:00
Benoit Marty
3fa508f1fe Add Konsist test Class with 'ContributeBinding' annotation should have allowed prefix and fix exissting issues.
Also remove annotation `DefaultPreferences`, we only have one implementation.
2024-05-31 10:18:08 +02:00
Benoit Marty
45598a885e Rename some class from Impl to Default 2024-05-31 09:47:27 +02:00
Benoit Marty
cf4497d323 Add Konsist test about class name: Class implementing interface should have name not end with 'Impl' but start with 'Default' 2024-05-31 09:34:45 +02:00
Benoit Marty
569f3dbe0a Exclude screenshot test classes from Classes name containing @Test must end with 'Test' 2024-05-30 11:19:33 +02:00
Benoit Marty
3ecc4e9538 Fix typo in test name 2024-05-30 10:11:30 +02:00
Benoit Marty
2d47e9db52 Fix deprecation warning. 2024-05-30 09:27:05 +02:00
Benoit Marty
b994a1ea91 Fix API break in Konsist 0.15.1 2024-05-29 18:05:03 +02:00
Benoit Marty
9fee141bb8 Add a Konsist test to check function parameter name, and fix existing issue. 2024-05-29 15:31:49 +02:00
Benoit Marty
436a876317
Merge pull request #2911 from element-hq/feature/bma/reproducibleBuild
Reproducible build
2024-05-27 12:46:19 +02:00
Benoit Marty
cfc16eb790 Add Konsist test to ensure that BuildConfig.VersionCode is not used. 2024-05-24 14:55:56 +02:00
Benoit Marty
fc2d908f95 Exclude FakeRustRoom from this test. 2024-05-23 14:38:51 +02:00
Benoit Marty
86f5a844b2 Exclude FakeFileSystem from this test. 2024-05-23 14:38:51 +02:00
Benoit Marty
8e864adf72 Exclude FakeImageLoader from this test. 2024-05-23 14:38:50 +02:00
Benoit Marty
4113bae938 Add Konsist test Fake classes must be named using Fake and the interface it fakes 2024-05-23 14:38:48 +02:00
Jorge Martin Espinosa
880ebb4de8
Plain text editor implementation based on markdown input (#2840)
* Add plain text editor based on markdown input
- Fix autofocus of message composer.
- Remove `Message` data class, fetch the details in `MessagesPresenter` instead.
- Remove `enable rich text` option from advanced settings, set it as a build configuration instead.
* Fix MentionSpanProvider
* Bump RTE library to released `v2.37.3`

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-21 13:58:53 +02:00
Jorge Martin Espinosa
48bb0f4122
Add room badges (#2822)
* Add room badges

* Remove no longer used `onShareRoomMember` callback

* Update screenshots

* Add changelog

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-05-09 08:38:40 +02:00