bmarty
e25ba65170
Sync Strings from Localazy
2024-10-07 00:28:33 +00:00
Jorge Martin Espinosa
eeec7cc785
Centralise the DI code generation logic ( #3562 )
...
* Create Anvil extension helper
* Use the helper everywhere
2024-09-30 12:20:28 +00:00
bmarty
bb0a281342
Sync Strings from Localazy
2024-09-16 18:40:24 +00: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
9e60fa9367
Add missing test on reset methods.
2024-09-04 10:57:14 +02:00
ElementBot
8bd48fdc60
Sync Strings ( #3297 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-08-12 06:03:23 +00:00
bmarty
76804d9e48
Sync Strings from Localazy
2024-07-29 00:26:27 +00:00
ElementBot
1f01bd73c4
Sync Strings ( #3232 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-07-22 08:59:47 +00:00
jmartinesp
dabaa2d265
Sync Strings from Localazy
2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa
b0cebf5ca0
Improve screenshot testing with ComposablePreviewScanner ( #3125 )
...
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
bmarty
32c5da898b
Sync Strings from Localazy
2024-07-01 00:22:10 +00:00
ElementBot
fd6bcb7857
Sync Strings ( #3077 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
b68b08300a
Add test on DefaultFtueService.reset().
2024-06-17 15:04:20 +02:00
bmarty
f3d286911c
Sync Strings from Localazy
2024-06-10 00:17:04 +00:00
bmarty
ca5bc71057
Sync Strings from Localazy
2024-05-29 12:44:57 +00:00
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
2024-05-27 14:51:32 +02:00
bmarty
0910da0a14
Sync Strings from Localazy
2024-05-13 12:47:48 +00:00
bmarty
4f82baa2b0
Sync Strings from Localazy
2024-04-29 00:18:59 +00:00
Benoit Marty
5310456b6c
Fix test compilation.
2024-04-02 19:50:41 +02:00
Benoit Marty
cb435c523b
Create dedicated module for notification troubleshoot.
2024-04-02 18:12:36 +02:00
Benoit Marty
e18e5f1cc5
Run ./tools/localazy/downloadStrings.sh --all
2024-04-02 18:12:36 +02:00
Benoit Marty
09b2cbaaf5
Localize Troubleshoot notification feature.
2024-04-02 16:15:04 +02:00
Benoit Marty
74048cca8f
Avoid tryEmit(), use emit()
2024-04-02 16:15:01 +02:00
Benoit Marty
2bfe125a77
Troubleshoot notifications screen
2024-04-02 16:15:00 +02:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Benoit Marty
764d7685c2
Remove useless constructor keyword.
2023-12-12 15:29:44 +01:00
Benoit Marty
d19b624c6f
Rename Event for clarity
2023-09-21 15:33:03 +02:00
Benoit Marty
86bfd5c04a
Rename file to match the class it contains.
2023-09-21 15:24:26 +02:00
Benoit Marty
dd5d67d186
Move open system setting to the PermissionsPresenter
2023-09-21 14:20:41 +02:00
Benoit Marty
f3456cafa7
Rename Event for clarity
2023-09-21 11:29:29 +02:00
Benoit Marty
4b928af21b
Fix behavior of DefaultPermissionsPresenter. Do not show dialog immediately.
2023-09-21 11:27:30 +02:00
Marco Romano
7fdd83bf91
GRemove the @JvmField annotation whenever using WarmUpRule.
2023-09-13 15:19:26 +02:00
jonnyandrew
f214493c9d
[Rich text editor] Integrate rich text editor library ( #1172 )
...
* Integrate rich text editor
* Also increase swapfile size in test CI
Fixes issue where screenshot tests are terminated due to lack of CI
resources.
See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-07 15:21:29 +00:00
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
2023-09-06 10:08:21 +00:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen ( #1223 )
...
* Replace notification permission dialog with a screen
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty
d7760003cf
Remove the log, was causing a crash.
...
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Function 'handleEvents' (JVM signature: present$handleEvents(Landroidx/compose/runtime/MutableState;Lkotlin/jvm/internal/Ref$ObjectRef;Lio/element/android/libraries/permissions/api/PermissionsEvents;)V) not resolved in class kotlin.jvm.internal.Intrinsics$Kotlin: no members found
at kotlin.reflect.jvm.internal.KDeclarationContainerImpl.findFunctionDescriptor(KDeclarationContainerImpl.kt:131)
at kotlin.reflect.jvm.internal.KFunctionImpl$descriptor$2.invoke(KFunctionImpl.kt:56)
at kotlin.reflect.jvm.internal.KFunctionImpl$descriptor$2.invoke(KFunctionImpl.kt:55)
at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:93)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:32)
at kotlin.reflect.jvm.internal.KFunctionImpl.getDescriptor(KFunctionImpl.kt:55)
at kotlin.reflect.jvm.internal.KFunctionImpl.toString(KFunctionImpl.kt:185)
at kotlin.jvm.internal.FunctionReference.toString(FunctionReference.java:130)
at java.lang.String.valueOf(String.java:4092)
at java.lang.StringBuilder.append(StringBuilder.java:179)
at io.element.android.libraries.permissions.api.PermissionsState.toString
at java.lang.String.valueOf(String.java:4092)
at java.lang.StringBuilder.append(StringBuilder.java:179)
at io.element.android.libraries.permissions.impl.DefaultPermissionsPresenter.present(DefaultPermissionsPresenter.kt:128)
2023-08-31 17:41:00 +02:00
Benoit Marty
4312a96851
Cleanup: there are no androidTest on those modules.
2023-07-24 12:41:02 +02:00
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 ( #925 )
...
* Update dependency app.cash.molecule:molecule-runtime to v1
* Replace `RecompositionClock` with `RecompositionMode`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-07-20 07:36:19 +02:00
Benoit Marty
659b9d3d9c
Now that the composer as been removed, we do not need element resource module anymore.
2023-06-27 13:34:55 +02:00
Florian Renaud
719dd20555
Remove useless OptIn in tests
2023-05-12 10:05:39 +02:00
Jorge Martin Espinosa
de010545fb
Update Gradle to 8.1 and AGP to v8.0 ( #329 )
...
* Update AGP to 8.0.0.
* Set JAVA_HOME to JDK17
* Update lint version.
* Use right JDK for dependency analysis, replace deprecated env var.
* Upgrade to Gradle 8.1.
* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Benoit Marty
0eb1d95fec
Log: create and use a loggerTag
2023-04-12 09:41:22 +02:00
Benoit Marty
9bdc23a049
Fix bad log.
2023-04-12 09:41:22 +02:00
Benoit Marty
35d02a4271
Fix ktlint issue.
2023-04-07 10:38:47 +02:00
Benoit Marty
dc25257645
Fix wildcard import
2023-04-05 18:14:32 +02:00
Benoit Marty
aa36398b4e
Fix lint warnings.
2023-04-05 16:59:17 +02:00
Benoit Marty
6cf070bfa7
Comment unused code.
2023-04-05 16:59:17 +02:00
Benoit Marty
08fa22069b
Use presenter factory
2023-04-05 16:31:09 +02:00
Benoit Marty
000ed480ee
Be able to test PermissionsPresenterTest. Create interface to abstract Accompanist implementation
2023-04-05 16:25:27 +02:00