Commit graph

3314 commits

Author SHA1 Message Date
Marco Romano
582705139e Poll: Maestro tests 2023-08-31 14:49:50 +02:00
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
2023-08-31 14:39:11 +02:00
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
2023-08-31 13:37:20 +02:00
Jorge Martin Espinosa
47a0ecb3b8
Protect TimelineItemAspectRatioBox against Float.NaN (#1201)
* Protect `TimelineItemAspectRatioBox` against infinite values.
2023-08-31 10:58:37 +00:00
renovate[bot]
c0a4ca16a2
Update dagger to v2.48 (#1193)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-31 12:35:31 +02:00
Marco Romano
50869d7b28
Focus on question field when opening screen. (#1194) 2023-08-31 12:08:21 +02:00
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>
2023-08-30 17:02:37 +00:00
Benoit Marty
a435d3a1e0
Merge pull request #1192 from vector-im/feature/bma/oidcSmallChange
Rename file and update `tosUri` value.
2023-08-30 17:09:09 +02:00
Marco Romano
f0bed85458
Poll vote (#1181)
- Adds sendPollVote rust room API (still not operational, need to wait for a rust sdk release)
- Adds an optional EventId in TimelineItemPollContent
- Wires the poll answer click listeners all the way to the TimelinePresenter in order to call the new room API
- Shows question as message summary in long press menu

Closes https://github.com/vector-im/element-meta/issues/2025
2023-08-30 15:05:11 +00:00
Benoit Marty
d46b649a73 We are now using kotlinc 1.9.10, so Android Studio is updating this file. 2023-08-30 16:59:42 +02:00
Benoit Marty
df5643bc1f Rename file and update tosUri value. 2023-08-30 16:47:40 +02:00
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
2023-08-30 14:31:37 +00:00
axel simon
b8d6db2f14
Update README.md (#1187)
Remove unnecessary year from copyright mention (it was already out of date).

Cf. https://hynek.me/til/copyright-years/

Signed-off-by: axel simon <axels@element.io>
2023-08-30 14:39:05 +02:00
Jorge Martin Espinosa
4a88e3fab6
Bug reporter crashes when 'send logs' is disabled. (#1184)
* Bug reporter crashes when 'send logs' is disabled.

* Make sure generated files are cleaned up when uploading the logs fails.
2023-08-30 12:49:58 +02:00
Benoit Marty
cbe9c27880
Merge pull request #1177 from vector-im/feature/bma/analyticsSettingLink
Fix issue on analytics setting link
2023-08-30 11:16:46 +02:00
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`.
2023-08-30 10:43:23 +02:00
Benoit Marty
706896a4de Reorder params. 2023-08-30 10:28:44 +02:00
Benoit Marty
ed1c1b5048 Compact the code and reorder vals for code clarity 2023-08-30 10:24:57 +02:00
Benoit Marty
1b87565870 Remove unused lambda parameter. The link is opened by the LocalUriHandler now. 2023-08-30 10:21:27 +02:00
ElementBot
1c50786299 Update screenshots 2023-08-30 08:12:45 +00:00
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.
2023-08-30 09:33:53 +02:00
Florian Renaud
0b88dac719 Fix test compilation 2023-08-30 09:31:55 +02:00
Florian Renaud
48413bd508
Merge pull request #1161 from vector-im/feature/fre/polls_timeline_item_tests
[Polls] Add unit tests for TimelineItemContentPollFactory
2023-08-30 08:32:21 +02:00
renovate[bot]
bb75539647
Update kotlin to 1.9.10 (#1123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-30 08:28:06 +02:00
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
2023-08-29 22:31:21 +02:00
ElementBot
1111b1408c Update screenshots 2023-08-29 16:13:48 +00:00
Benoit Marty
ece82203eb Fix style (typo and color) for supporting content. 2023-08-29 18:03:29 +02:00
Benoit Marty
d3c6efc666 Changelog. 2023-08-29 18:03:29 +02:00
Benoit Marty
7537772d94 format. 2023-08-29 16:46:59 +02:00
Benoit Marty
36bf343a95 OptIn screen: make only the here word be clickable. 2023-08-29 16:46:42 +02:00
Benoit Marty
a86100003f Remove preview Text. 2023-08-29 16:39:59 +02:00
Benoit Marty
79af05bc08 Use buildAnnotatedStringWithStyledPart and remove copied code. 2023-08-29 16:38:21 +02:00
Benoit Marty
ff47629f6c Make the link open the policy url in the analytics setting screen. 2023-08-29 16:33:03 +02:00
Benoit Marty
1bf2dc1c4d Fix rendering issue of the link. 2023-08-29 16:11:08 +02:00
Benoit Marty
24fc2e77b9 Format. 2023-08-29 16:10:02 +02:00
Benoit Marty
097efc26d2 Migrate AnalyticsPreferencesView from PreferenceSwitch to ListItem. 2023-08-29 16:09:26 +02:00
Florian Renaud
992050c832 Factorize code and remove unused field in TimelineItemPollContent 2023-08-29 16:02:06 +02:00
Florian Renaud
9c6a5bed54 Add unit tests for TimelineItemContentPollFactory 2023-08-29 16:00:18 +02:00
Benoit Marty
5a85459ec2
Merge pull request #1163 from vector-im/renovate/gradle-gradle-build-action-2.x
Update gradle/gradle-build-action action to v2.8.0
2023-08-29 12:04:51 +02:00
Benoit Marty
e4a4e57ca1
Merge pull request #1166 from vector-im/feature/bma/cleanupInputs
Cleanup `LoggedInAppScopeFlowNode`
2023-08-29 12:04:31 +02:00
Benoit Marty
79d4a4c1be LoggedInAppScopeFlowNode is just having one permanent child: LoggedInFlowNode. So no need to have a Backstack here, a ParentNode with PermanentNavModel is enough. 2023-08-29 10:08:59 +02:00
Benoit Marty
f8417bda21 Format file. 2023-08-29 10:05:59 +02:00
Jorge Martin Espinosa
c280b43ecc
Bump telephoto to 0.6.0-SNAPSHOT to diagnose crash (#1164) 2023-08-29 09:59:01 +02:00
renovate[bot]
6596f5ec48
Update gradle/gradle-build-action action to v2.8.0 2023-08-28 19:24:00 +00:00
Benoit Marty
5e50639815 version++ 2023-08-28 17:20:50 +02:00
Benoit Marty
a3c37cf2ad Merge tag 'v0.1.5' into develop
tag
2023-08-28 17:19:11 +02:00
Benoit Marty
1a8289cd13 Merge branch 'release/0.1.5' into main 2023-08-28 17:18:58 +02:00
Benoit Marty
a48fad655b Adding fastlane file for version 0.1.5 2023-08-28 17:18:55 +02:00
Benoit Marty
56af73234b Changelog for version 0.1.5 2023-08-28 17:18:39 +02:00
Benoit Marty
f696fcde35 Setting version for the release 0.1.5 2023-08-28 17:17:49 +02:00