Commit Graph

1796 Commits

Author SHA1 Message Date
David Langley
b7ebff0e75 Add new ui for room notifications screen
- Add new ui for room notifications screen
- Fix error when changing default notification setting.
2023-10-20 21:08:44 +01:00
David Langley
0750002e73 Merge branch 'dla/feature/custom_room_notification_settings_list' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list 2023-10-19 16:57:37 +01:00
David Langley
ec63baa9ce Fix typo and preview 2023-10-19 16:57:35 +01:00
David Langley
3ecabd71c0 Merge branch 'develop' into dla/feature/custom_room_notification_settings_list 2023-10-19 16:36:30 +01:00
David Langley
4b43168913 Fix tests and lint 2023-10-19 16:17:57 +01:00
Marco Romano
cf3039c6f3 TimelineItemPresenterFactories (#1609)
DI infrastructure to allow injection of presenters into the timeline.
Add an `@AssistedFactory` of type `TimelineItemPresenterFactory` to a `Presenter` class and bind this factory into the TimelineItemPresenterFactory map multi binding using:

```
@Binds
@IntoMap
@TimelineItemEventContentKey(MyTimelineItemContent::class)
```

A map multibinding of such factories will be available in the `LocalTimelineItemPresenterFactories` composition local for further use down the UI tree.
2023-10-19 15:57:34 +02:00
Marco Romano
80870adfe3 Extract more content from audio messages. (#1607)
`TimelineItemAudioContent`:
- Use `java.time.Duration` instead of milliseconds. This will ease up things in the future because currently milliseconds are sent over the wire but in the future seconds will be sent (as per the stable MSC). Using `Duration` will allow our downstream code to be independent of what's passed over the wire.
- Rename `audioSource` property to `mediaSource` to better match its type.

`AudioMessageType`:
- Add and populate new fields `details` and `isVoiceMessage` to be used by voice messages.
2023-10-19 13:32:43 +02:00
Jorge Martin Espinosa
643fe1a5e5 Hide keyboard when exiting the room screen (#1593) 2023-10-19 10:49:11 +02:00
David Langley
7e7e95c8e2 Fix enabled state and ClearError events. 2023-10-18 22:30:29 +01:00
David Langley
af4a1d3fd6 Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list 2023-10-18 22:07:14 +01:00
David Langley
aece3dcc7b Fix switch and radio buttons toggling to invalid intermediate states. 2023-10-18 21:44:37 +01:00
ganfra
39e38514d8 Pin : some clean up and fixes 2023-10-18 15:55:52 +02:00
ganfra
8ccd1524d3 Fix warning 2023-10-18 11:33:34 +02:00
ganfra
3b73f171d0 Pin code: add some tests 2023-10-18 11:26:02 +02:00
ganfra
78621e4256 Pin: rename feature pin to lockscreen 2023-10-17 21:15:01 +02:00
ganfra
65bbe72ecc Pin : move some classes around and introduce PinCodeManager 2023-10-17 18:28:39 +02:00
ganfra
cec489793b Introduce CryptoService for simple cryptographic operations 2023-10-17 18:28:07 +02:00
David Langley
72e7d92571 Add tests 2023-10-17 16:08:35 +01:00
David Langley
b634db1772 List user define room notification settings
- List user define room notification settings
- Add new user defined style of the room notification settings view
- Add navigation to expose room notification settings ui to the global settings
- Add Progress indicators
- Improve error handing
2023-10-17 16:08:08 +01:00
ganfra
bcfe9918dc Pin code storage : add way to store the pin 2023-10-17 11:14:46 +02:00
bmarty
379139a88f Sync Strings from Localazy 2023-10-16 00:09:47 +00:00
Benoit Marty
155e403265 Fix issue detected by Konsist. 2023-10-13 15:44:34 +02:00
Benoit Marty
5f56961fd0 Merge pull request #1556 from vector-im/feature/bma/videoLock
Ensure screen does not turn off when playing a video (#1519)
2023-10-13 14:05:30 +02:00
ganfra
c6a6ccc844 Merge pull request #1554 from vector-im/feature/fga/init_pin_unlock
[Pin code] : setup the feature
2023-10-13 12:38:41 +02:00
Benoit Marty
e8fcf7b950 Fix issue detected by Konsist. 2023-10-12 18:46:14 +02:00
jonnyandrew
ffa6c43503 [Voice messages] Add voice recording UI (#1546)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-12 15:17:18 +00:00
ganfra
1f4cf15088 Pin setup: PR review 2023-10-12 16:19:24 +02:00
Benoit Marty
a71fb431d3 Ensure screen does not turn off when playing a video (#1519) 2023-10-12 15:53:05 +02:00
Benoit Marty
7afae87b3e Konsist: add rule obout test class name, and fix existing issue 2023-10-12 15:03:50 +02:00
Benoit Marty
84594caad3 Use existing BooleanProvider 2023-10-12 15:03:50 +02:00
Benoit Marty
12ece41317 Remove unused import 2023-10-12 14:15:22 +02:00
ganfra
227d7c7ac4 Pin setup : clean up 2023-10-12 12:29:53 +02:00
Benoit Marty
3632061009 Remove unused import 2023-10-12 12:05:22 +02:00
Benoit Marty
07a2643bd2 Merge pull request #1549 from vector-im/feature/bma/unknownMsgtype
Render unknown msgtype
2023-10-12 10:56:35 +02:00
ganfra
cb6a07b90d Pin code : add simple grace period 2023-10-11 20:52:19 +02:00
ganfra
8c115d2982 Pin : rename PinStateDataSource by PinStateService 2023-10-11 20:38:41 +02:00
ganfra
760ea44e9d Pin unlock : hides behind feature flag (disabled by default) 2023-10-11 20:36:30 +02:00
ganfra
a2ebf39cb5 Pin setup with fake lock 2023-10-11 18:09:16 +02:00
Benoit Marty
305fb81b8a Merge pull request #1520 from vector-im/feature/bma/sessionDb
Improve session db and improve deleted session behavior
2023-10-11 16:56:54 +02:00
Benoit Marty
427aae9fc1 Merge pull request #1526 from vector-im/feature/bma/konsist
Konsist
2023-10-11 16:40:22 +02:00
Benoit Marty
2e8be3a3d1 Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539 2023-10-11 16:18:24 +02:00
Benoit Marty
266612f9da MessageContent.type cannot be null 2023-10-11 16:14:15 +02:00
Benoit Marty
f52bbac3cf Fix compilation issue and improve test. 2023-10-10 22:21:02 +02:00
Benoit Marty
69c46c993e Konsist: no field should have 'm' prefix, and fix new detected issues. 2023-10-10 22:09:57 +02:00
Benoit Marty
108ce544d7 Konsist: improve test about no default value for State classes, and fix new detected issues. 2023-10-10 21:42:18 +02:00
Benoit Marty
187117926e SignedOutView: iterate on design. 2023-10-10 21:00:12 +02:00
Benoit Marty
352d89fdfb Import strings for SigneddOut module. 2023-10-10 20:09:05 +02:00
Benoit Marty
669e0a2ff5 Move SignedOut classes to their own module. 2023-10-10 20:05:07 +02:00
ganfra
e1a5c4dc86 Setup the pin feature module 2023-10-10 18:09:46 +02:00
Benoit Marty
16841e9721 data object 2023-10-10 17:31:04 +02:00