Commit Graph

3324 Commits

Author SHA1 Message Date
Benoit Marty
96372e461a Merge pull request #1167 from vector-im/feature/bma/installFromGithubRelease
[Documentation] Install from GitHub release
2023-08-31 15:42:00 +02:00
Benoit Marty
1ea4559625 fix typo in git url.
Co-authored-by: Florian Renaud <Florian14@users.noreply.github.com>
2023-08-31 15:41:48 +02:00
Marco Romano
88eda62f56 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).
2023-08-31 15:40:51 +02:00
Marco Romano
4ba8e9b7fe Enable polls (#1196)
Enable the Polls feature. Allows to create, view, vote and end polls.
2023-08-31 13:17:11 +00:00
Marco Romano
d736261317 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
e4124e93b8 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
1c4eb45a60 Protect TimelineItemAspectRatioBox against Float.NaN (#1201)
* Protect `TimelineItemAspectRatioBox` against infinite values.
2023-08-31 10:58:37 +00:00
renovate[bot]
e7cf36e2f9 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
3a9a3f9e83 Focus on question field when opening screen. (#1194) 2023-08-31 12:08:21 +02:00
Jorge Martin Espinosa
b16dc45754 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
f7dc44f35d 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
14791c3628 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
e4dd312668 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
0ee57c83a9 Rename file and update tosUri value. 2023-08-30 16:47:40 +02:00
Marco Romano
023bfc2ffa 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
35bdc95fac 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
7929181c0f 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
6aa4cd061b Iterate and reformulate after PR review. 2023-08-30 12:48:33 +02:00
Benoit Marty
e67c7ac9f1 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
400315e39a 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
bae963c4bc Reorder params. 2023-08-30 10:28:44 +02:00
Benoit Marty
79c5bd25c3 Compact the code and reorder vals for code clarity 2023-08-30 10:24:57 +02:00
Benoit Marty
c88b087feb Remove unused lambda parameter. The link is opened by the LocalUriHandler now. 2023-08-30 10:21:27 +02:00
ElementBot
68e65c6734 Update screenshots 2023-08-30 08:12:45 +00:00
Jorge Martín
0a77590e76 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
45a653be03 Fix test compilation 2023-08-30 09:31:55 +02:00
Florian Renaud
e599777b89 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]
78eb7aea81 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
b4e6d83fb7 "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
3a6de68721 Update screenshots 2023-08-29 16:13:48 +00:00
Benoit Marty
1a12e97524 Fix style (typo and color) for supporting content. 2023-08-29 18:03:29 +02:00
Benoit Marty
dcb3cf7e87 Changelog. 2023-08-29 18:03:29 +02:00
Benoit Marty
e8b6cddd6b format. 2023-08-29 16:46:59 +02:00
Benoit Marty
fb743e72c3 OptIn screen: make only the here word be clickable. 2023-08-29 16:46:42 +02:00
Benoit Marty
d80005ecf3 Remove preview Text. 2023-08-29 16:39:59 +02:00
Benoit Marty
88786cdda6 Use buildAnnotatedStringWithStyledPart and remove copied code. 2023-08-29 16:38:21 +02:00
Benoit Marty
03864b3eb0 Make the link open the policy url in the analytics setting screen. 2023-08-29 16:33:03 +02:00
Benoit Marty
62d92d3296 Fix rendering issue of the link. 2023-08-29 16:11:08 +02:00
Benoit Marty
506336401a Format. 2023-08-29 16:10:02 +02:00
Benoit Marty
ccff1d8137 Migrate AnalyticsPreferencesView from PreferenceSwitch to ListItem. 2023-08-29 16:09:26 +02:00
Florian Renaud
65ee52bb27 Factorize code and remove unused field in TimelineItemPollContent 2023-08-29 16:02:06 +02:00
Florian Renaud
c710cb7432 Add unit tests for TimelineItemContentPollFactory 2023-08-29 16:00:18 +02:00
Benoit Marty
470e135d50 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
4d35568600 Merge pull request #1166 from vector-im/feature/bma/cleanupInputs
Cleanup `LoggedInAppScopeFlowNode`
2023-08-29 12:04:31 +02:00
Benoit Marty
58fcc0b23d Grammar. 2023-08-29 11:22:14 +02:00
Benoit Marty
aafc5814eb Release script: improve prompt messages. 2023-08-29 11:19:32 +02:00
Benoit Marty
ead323c9f2 Release script: Add link to documentation to install the application from the GitHub release. 2023-08-29 11:14:33 +02:00
Benoit Marty
8403c24643 Release script: split APKs generation and APK deployment into 2 separate steps. 2023-08-29 11:11:35 +02:00
Benoit Marty
02e22b7869 Release script: do not bundle the minimal app when checking if the project compiles locally. 2023-08-29 11:06:17 +02:00
Benoit Marty
1e2bdfe511 Add documentation to explain how to install the application from a Github release. 2023-08-29 11:04:36 +02:00