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
Benoit Marty
0c5675e307
Extract Composable to new SunsetPage.
1 year ago
Benoit Marty
8415826a97
Import strings with Localazy.
1 year ago
Florian Renaud
8f2647799e
Use a single preview for radio buttons with checked & unchecked states
1 year ago
Marco Romano
0abda97d6f
ListItem: Don't apply clickable modifier if onClick is null. ( #1146 )
...
If it is applied but disabled (like before this PR) it will hijack all touch input from the view and no other component in it can respond to clicks.
1 year ago
Jorge Martín
4b0f9213d3
Fix lint issues
1 year ago
yostyle
9e17d8f468
Fix PR comments
1 year ago
yostyle
85dd36a681
Update notification settings service interface to match rust SDK
1 year ago
yostyle
1c4198db5a
Update dispatcher
1 year ago
yostyle
eefecaec8b
Update strings
1 year ago
yostyle
eeb6c3f61c
Add feature flag
1 year ago
yostyle
01a0175d40
Update strings
1 year ago
yostyle
82c8acd3dc
Update strings
1 year ago
yostyle
a611766476
Fix edition
1 year ago
yostyle
a3aac9f66a
Rebase on develop
1 year ago
yostyle
856c674361
Update unit tests
1 year ago
yostyle
2c81384894
Rebase on develop
1 year ago
yostyle
83e45adfa5
Add room notification settings
1 year ago
Jorge Martin Espinosa
b326ca28cc
Improve list items: add lists to dialogs, rework `ListItem` customizations ( #1119 )
...
* Improve list items:
- Create `ListItemContent`.
- Create `ListItemStyle`.
- Apply those to `ListItem` components.
- Create helper list item components for checkboxes, switches, radio buttons.
* Create single/multiple selection dialogs.
* Create `SingleSelectionListItem` and `MultipleSelectionListItem`
- Add `subtitle` to `AlertDialogContents`.
- Fix paddings and margins inside dialogs.
- Add `ListOption`.
* Adds small delay before hiding the single selection dialog.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
1 year ago
Jorge Martin Espinosa
c670fc9e9c
Prevent verification while initial sync is in progress ( #1138 )
...
* Prevent verification while initial sync is in progress
* Add `canVerifySessionFlow` to simplify the check
1 year ago
Marco Romano
9fb0216272
Surface send poll start API from rust sdk ( #1140 )
...
Rust api added in: https://github.com/matrix-org/matrix-rust-sdk/pull/2391
Closes https://github.com/vector-im/element-meta/issues/2010
1 year ago
Jorge Martin Espinosa
648e2c378d
Fix sent videos being cropped ( #1124 )
1 year ago
Benoit Marty
7083abcf09
migrate `object` to `data object` ( #1135 )
1 year ago
renovate[bot]
53840c1009
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46 ( #1130 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46
* Remove poll end code. The poll end event isn't shown in the timeline anymore.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
1 year ago
Benoit Marty
c84b1747e7
Handle remarks from PR #1127
1 year ago
Jorge Martin Espinosa
7eb1f1c7bf
When event has no id, just cancel parsing the latest room message ( #1126 )
1 year ago
Benoit Marty
d293cae47f
Implement didRefreshTokens(): update database with updated SessionData.
1 year ago