Commit Graph

4705 Commits

Author SHA1 Message Date
jonnyandrew
634d8167ea Allow polls to be edited (#1869)
Polls can be edited if they do not have any votes

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-24 16:47:58 +00:00
ganfra
198147e813 Merge pull request #1885 from vector-im/feature/fga/room_list_all_not_left_filter
Fix see room in room list after leaving
2023-11-24 17:45:24 +01:00
Benoit Marty
a6e7714812 Merge pull request #1866 from vector-im/feature/bma/morePreview
More preview on TimelineItemEventRow
2023-11-24 17:21:53 +01:00
Benoit Marty
951f1d516f Merge pull request #1872 from vector-im/feature/bma/removeDeadCode
Remove unused code to increase code coverage.
2023-11-24 17:18:14 +01:00
Benoit Marty
ce9755638f Merge pull request #1878 from vector-im/feature/bma/moreTests2
Add more unit tests
2023-11-24 17:17:52 +01:00
Benoit Marty
6d02d05d01 Test the request which has been done. 2023-11-24 16:47:38 +01:00
Benoit Marty
b5b14d38a0 Add test for DefaultBugReporter 2023-11-24 16:30:06 +01:00
Benoit Marty
124e708160 Cleanup DefaultBugReporter before testing it. 2023-11-24 14:14:48 +01:00
ganfra
b844862785 Fix see room in room list after leaving it #1006 2023-11-24 12:03:37 +01:00
Benoit Marty
d29219169a Merge pull request #1862 from vector-im/feature/bma/moreTests
Remove lambda default value
2023-11-24 11:00:34 +01:00
ganfra
77a1dfa5e2 Merge pull request #1861 from vector-im/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.70
2023-11-24 10:53:19 +01:00
Benoit Marty
842b046139 Add test for VectorUncaughtExceptionHandler 2023-11-24 10:36:15 +01:00
Benoit Marty
b3ab4e0173 Add test for IntentResolver 2023-11-24 10:22:23 +01:00
Benoit Marty
3c4629e74c Add test for IntentProviderImpl 2023-11-24 09:56:45 +01:00
renovate[bot]
032329f648 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.70 2023-11-24 01:22:04 +00:00
Benoit Marty
19c549d9a5 Merge pull request #1858 from vector-im/renovate/org.owasp.dependencycheck-9.x
Update plugin dependencycheck to v9
2023-11-23 22:33:27 +01:00
Benoit Marty
805867d9e8 More removal of dead code. 2023-11-23 22:18:28 +01:00
Benoit Marty
2af7fe4e9c Merge pull request #1875 from vector-im/feature/bma/testTimelineItemContentMessageFactory
Add test for TimelineItemContentMessageFactory
2023-11-23 21:20:28 +01:00
Benoit Marty
c10525bbc1 Add test for TimelineItemContentMessageFactory 2023-11-23 20:18:53 +01:00
Benoit Marty
73a062451c Remove UnknownMessageType, should be handled by OtherMessageType now. 2023-11-23 20:18:53 +01:00
Benoit Marty
2e66719559 Move test to impl sub package and optimize imports. 2023-11-23 20:17:39 +01:00
Benoit Marty
e84e8c8270 Merge pull request #1871 from vector-im/feature/bma/testNotifiableEventResolver
Add test for NotifiableEventResolver
2023-11-23 20:09:46 +01:00
Benoit Marty
304be71122 Remove unused code to increase code coverage. 2023-11-23 17:55:50 +01:00
Benoit Marty
9420597622 Small rework code to avoid dead code. 2023-11-23 17:41:28 +01:00
Benoit Marty
fc7898ca36 Add tests for NotifiableEventResolver 2023-11-23 17:36:23 +01:00
ganfra
6e4635b4cd Merge pull request #1865 from vector-im/feature/fga/room_list_dynamic_api
RoomList : rework a bit the api and make usage of entriesWithDynamicAdapter
2023-11-23 12:07:55 +01:00
ElementBot
d989874c44 Update screenshots 2023-11-23 11:05:52 +00:00
Benoit Marty
0a2b0f1a10 Create TimelineItemEventRowWithRRPreview to preview read receipts and send state in a timeline.
Also introduce ATimelineItemEventRow.
2023-11-23 11:59:06 +01:00
Benoit Marty
5e44722b51 Improve TimelineItemEventRowWithReplyPreview and coverage for fun attachmentThumbnailInfoForInReplyTo 2023-11-23 10:26:39 +01:00
Benoit Marty
1b872b074f Simplify: TimelineItemEventRowWithReplyPreview. Short reply text and remove reactions. 2023-11-23 09:53:37 +01:00
Benoit Marty
067b441edb Split previews of TimelineItemEventRow to multiple files, to improve performance of the rendering in the IDE, and before adding more previews. No code change. 2023-11-23 09:45:28 +01:00
Jorge Martin Espinosa
f55d347387 Add plain text representation of messages (#1850)
* Add plain text representation of messages.

This is used in the room list as the last message in a room, in the message summary when a message is selected, in the 'replying to' block, in the 'replied to' block in a message in the timeline, and in notifications.
2023-11-23 08:29:20 +01:00
Jorge Martin Espinosa
b1f2370e72 Run 'record screenshots' flow if label is present (#1860)
* Run 'record screenshots' flow if label is present

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-23 08:25:33 +01:00
ganfra
d04b26365d RoomList : rework a bit the api and make usage of entriesWithDynamicAdapters 2023-11-22 18:06:19 +01:00
Benoit Marty
ec2fa8b5a2 Merge pull request #1845 from vector-im/feature/bma/sendingStateA11y
Content description: add for sending state and fix other issues.
2023-11-22 17:51:48 +01:00
Benoit Marty
4ae0790cc1 Remove default value for lambda.
We enforce a value to be provided and it's better for code coverage.
2023-11-22 17:28:23 +01:00
Marco Romano
611967803c Show poll question in timeline replies (#1857)
Forgot to add this bit to: https://github.com/vector-im/element-x-android/pull/1848
2023-11-22 16:14:10 +01:00
renovate[bot]
a64e6e8251 Update plugin dependencycheck to v9 2023-11-22 14:46:21 +00:00
Jorge Martin Espinosa
8b5538ef7e Run Maestro flow only then Run-Maestro label is present in a PR (#1852)
* Run Maestro only when the `Run-Maestro` label is present in a PR.
2023-11-22 15:45:52 +01:00
Benoit Marty
542de5a487 Remove default value for lambda.
We enforce a value to be provided and it's better for code code coverage.
2023-11-22 14:55:14 +01:00
Marco Romano
202173c8e3 Update poll icons from Compound (#1849)
* Use compound icons for polls

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-22 13:35:04 +01:00
Marco Romano
6441c54c8b Reply to a poll (#1848)
<!-- Please read [CONTRIBUTING.md](https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md) before submitting your pull request -->
 
## Type of change

- [x] Feature
- [ ] Bugfix
- [ ] Technical
- [ ] Other :

## Content

Polls can now be replied to.

## Motivation and context

User story: https://github.com/vector-im/element-meta/issues/1976

## Screenshots / GIFs

<!--
We have screenshot tests in the project, so attaching screenshots to a PR is not mandatory, as far as there
is a Composable Preview covering the changes. In this case, the change will appear in the file diff.
Note that all the UI composables should be covered by a Composable Preview.

Providing a video of the change is still very useful for the reviewer and for the history of the project.

You can use a table like this to show screenshots comparison.
Uncomment this markdown table below and edit the last line `|||`:
|copy screenshot of before here|copy screenshot of after here|

|Before|After|
|-|-|
|||
 -->

## Tests

<!-- Explain how you tested your development -->

- Step 1
- Step 2
- Step ...

## Tested devices

- [ ] Physical
- [ ] Emulator
- OS version(s):

## Checklist

<!-- Depending on the Pull Request content, it can be acceptable if some of the following checkboxes stay unchecked. -->

- [ ] Changes have been tested on an Android device or Android emulator with API 23
- [ ] UI change has been tested on both light and dark themes
- [ ] Accessibility has been taken into account. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
- [ ] Pull request is based on the develop branch
- [ ] Pull request includes a new file under ./changelog.d. See https://github.com/vector-im/element-x-android/blob/develop/CONTRIBUTING.md#changelog
- [ ] Pull request includes screenshots or videos if containing UI changes
- [ ] Pull request includes a [sign off](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html#sign-off)
- [ ] You've made a self review of your PR
2023-11-22 10:52:12 +01:00
Jorge Martín
3390188afe version++ 2023-11-22 10:37:16 +01:00
Jorge Martín
09b211b74e Merge tag 'v0.3.2' into develop
Version 0.3.2
2023-11-22 10:34:37 +01:00
Jorge Martín
d13d4f4aa7 Merge branch 'release/0.3.2' 2023-11-22 10:34:27 +01:00
Jorge Martín
0ea6fbf838 Adding fastlane file for version 0.3.2 2023-11-22 10:34:26 +01:00
Jorge Martín
dbac49088f Changelog for version 0.3.2 2023-11-22 10:30:15 +01:00
Benoit Marty
468331ca0f Merge pull request #1815 from vector-im/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha11
2023-11-22 09:45:30 +01:00
Marco Romano
eb2836f42b Voice message scrubbing improvements (#1847)
- Voice messages can be scrubbed (i.e. seeked to) even when they have not been played yet..
- The progress bar is displayed also when paused.
- Multiple voice messages can keep their state when paused.
- Tries to adhere as much as possible at the detailed "green cursor" behavior in the story (but might not be 100% compliant).

Story: https://github.com/vector-im/element-meta/issues/2113
2023-11-21 20:48:08 +01:00
Benoit Marty
6b467d95a7 Merge pull request #1813 from vector-im/renovate/mobile-dev-inc-action-maestro-cloud-1.x
Update mobile-dev-inc/action-maestro-cloud action to v1.8.0
2023-11-21 17:43:52 +01:00