Benoit Marty
5d89647a89
Apply avatar colors to all the avatars across the app.
1 year ago
Benoit Marty
5059d67238
Iterate on tracing configuration
...
- Add targets matrix_sdk, matrix_sdk::client and matrix_sdk::oidc
- introduce default log level.
1 year ago
jonnyandrew
896c2325db
[Rich text editor] Add formatting menu ( #1261 )
...
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Benoit Marty
0e1d61bc12
rename parameter to match parent name.
1 year ago
ganfra
a3940ddc5b
Use roomInfo instead of individually access roomListItem properties
1 year ago
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>
1 year ago
ganfra
6f86fca2c2
Sync: use the new SyncIndicator api
1 year ago
Benoit Marty
1dbecaac79
Fix typo
1 year ago
Benoit Marty
3d6b5976e3
Iterate on icon in Fab in the room list.
1 year ago
Benoit Marty
b9896bab80
Use CircleShape by default on FAB, for coherency with other platforms.
1 year ago
Benoit Marty
762a03259b
Make a diff between `FeatureFlags.defaultValue` and value returned by `StaticFeatureFlagProvider.isFeatureEnabled()`.
...
Iterate after Ganfra's review.
1 year ago
Benoit Marty
aacfa0d83a
To avoid mistake, FeatureFlags does not have `defaultValue` set to true, and `StaticFeatureFlagProvider` return the default value.
...
This fixes #1241 .
1 year ago
Benoit Marty
c16c875e68
Rework the feature flag module.
...
Fix typo, rename class and interface, add doc, do small refacto, to improve code clarity.
1 year ago
Yoan Pintas
4a5a01d710
Add room notification settings ( #807 )
...
* Add room notification settings
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: David Langley <langley.dave@gmail.com>
1 year ago
jonnyandrew
9e5b46200b
Reduce test flakiness by warming up molecule tests ( #1226 )
1 year ago
Benoit Marty
128c4a7b09
SDK 0.1.49: notification decryption is now fully handled by the Rust SDK. ( #1231 )
...
* Revert "Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running."
This reverts commit 82f6f358a7
.
* Integrate SDK from https://github.com/matrix-org/matrix-rust-sdk/pull/2505
* Enable retryDecryption() on the NotificationClient.
* SDK 0.1.49 - Encryption Sync is enabled by default now, and retryDecryption is the default too.
* Remove feature flag `UseEncryptionSync`
* Fix sample project build
* Exclude `DeveloperSettingsPresenter` from kover verification.
* Add changelog
---------
Co-authored-by: Jorge Martín <jorgem@element.io>
1 year ago
Benoit Marty
ffff48b66e
Fix R8 error, due to exclusion of analytics group done in #1221 .
1 year ago
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>
1 year ago
Benoit Marty
717f632b35
Fix system bar color after login on light theme.
...
Actually for the SunsetPage, we need a light status bar.
1 year ago
Benoit Marty
6ef288c26d
Rename parameter and update comment.
1 year ago
Benoit Marty
d383590910
Use bolder font for fallback avatar.
1 year ago
Benoit Marty
ff77fca34d
Avoid hard-coded number and update the related test.
1 year ago
Benoit Marty
74fc570708
Composable functions that return a value should start with a lowercase letter
1 year ago
Benoit Marty
1cffbbdca7
Apply colors to default user avatar in the timeline.
1 year ago
Benoit Marty
e301d60648
Compute avatar color of users and apply foreground color to the sender displayname.
1 year ago
Benoit Marty
9bf3521f39
Compute avatar color of users and apply foreground color to the sender displayname.
1 year ago
jmartinesp
74b2ddebfd
Sync Strings from Localazy
1 year ago
Benoit Marty
a0ff636d0b
Exclude some groups related to analytics to be included. #1191
1 year ago
Benoit Marty
82f6f358a7
Ensure the sync is started when receiving a Push, to ensure that the encryption loop is running.
...
Fixes notification with endecrypted content (#1178 )
1 year ago
Benoit Marty
a32e5df1ab
Developer setting: add entry point to configure the Tracing.
...
Developer setting: add screen to configure log level.
Give the custom trace filter to the SDK.
1 year ago
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)
1 year ago
Marco Romano
00828b6714
New icon for "poll end" in both action menu and timeline item. ( #1203 )
...
- Also fixes preview of action list (reply is included as it will soon be added).
1 year ago
Marco Romano
33683abf59
Enable polls ( #1196 )
...
Enable the Polls feature. Allows to create, view, vote and end polls.
1 year ago
Marco Romano
3a920f1a9d
Poll end ( #1182 )
...
- Adds an "End Poll" item in the action list long press menu.
- Shows only on remote polls that have not ended yet and only if the user is the creator or has redact powers.
Closes https://github.com/vector-im/element-meta/issues/2026
1 year ago
Jorge Martin Espinosa
199f578e4a
Re-enable `SyncService.withEncryptionSync` to improve decryption of notifications ( #1199 )
...
* Re-enable `SyncService.withEncryptionSync` to improve decryption of notifications.
* Add feature flag
1 year ago
Jorge Martin Espinosa
1d3d1fe480
Fix the orientation of sent images ( #1190 )
...
* Fix the orientation of sent images
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
1 year ago
Benoit Marty
df5643bc1f
Rename file and update `tosUri` value.
1 year ago
Marco Romano
51bb7febd6
Upgrade rust sdk to v48 ( #1186 )
...
- Sends content instead of string in message reply and edit
- Adds poll response and end APIs
- Adds logoUri to OidcConfiguration
1 year ago
Jorge Martin Espinosa
36f0bec184
Make sure Snackbars are only displayed once ( #1175 )
...
* Make sure Snackbars are only displayed once
* Use a queue instead
* Fix docs
* Add tests for `SnackbarDispatcher`.
1 year ago
Benoit Marty
706896a4de
Reorder params.
1 year ago
Jorge Martín
c3f49a2451
Split link text into a `ListSupportingText` component.
...
This also requires some internal changes to `ListSupportingText`, `ClickableLinkText` and `TimelineTextView` to match the behaviour and design.
1 year ago
renovate[bot]
bb75539647
Update kotlin to 1.9.10 ( #1123 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 year ago
Marco Romano
633d5282d6
"Create poll" UI ( #1143 )
...
NB: This is missing analytics, which will be added once https://github.com/matrix-org/matrix-analytics-events/pull/85 is merged.
Closes https://github.com/vector-im/element-meta/issues/2011
1 year ago
Benoit Marty
79af05bc08
Use buildAnnotatedStringWithStyledPart and remove copied code.
1 year ago
Florian Renaud
9c6a5bed54
Add unit tests for TimelineItemContentPollFactory
1 year ago
Benoit Marty
64a7fc5f52
Use a safer algorithm, and limit the size of the hashed string.
...
Fix an issue reported by Sonar.
1 year ago
Benoit Marty
7055fea895
Add preview for SunsetPage and fix warnings about Modifiers.
1 year ago
Benoit Marty
3a8eefc927
Fix warning.
1 year ago
Benoit Marty
ff749947f8
Add the Migrate session screen ( #1145 )
1 year ago
Benoit Marty
0ef0accdf6
Localazy: move string `screen_migration_` to ftue/impl module and sync the strings.
1 year ago