Commit graph

4117 commits

Author SHA1 Message Date
Benoit Marty
bfdf3c71db
Merge pull request #1601 from vector-im/renovate/com.google.firebase-firebase-bom-32.x
Update dependency com.google.firebase:firebase-bom to v32.4.0
2023-10-20 14:27:08 +02:00
Benoit Marty
9681a9dd04
Merge pull request #1615 from vector-im/bma/feature/fixMeastro2
Maestro No need to close the keyboard after fix from #1593
2023-10-20 14:26:19 +02:00
Marco Romano
f787867e87
Document the nuances in UserId and SessionId types. (#1616) 2023-10-20 12:25:20 +00:00
Benoit Marty
5cb065c341 Revert "Maestro No need to close the keyboard after fix from #1593"
This reverts commit 6ea1c40806.
2023-10-20 12:09:19 +02:00
Benoit Marty
720cb681cf Maestro No need to close the keyboard after fix from #1593 2023-10-20 12:08:59 +02:00
Benoit Marty
6ea1c40806 Maestro No need to close the keyboard after fix from #1593 2023-10-20 12:05:11 +02:00
ganfra
ef08d77ede
Merge pull request #1608 from vector-im/feature/fga/pin_create_ui
Feature/fga/pin create UI
2023-10-20 11:50:11 +02:00
ElementBot
4327689234 Update screenshots 2023-10-20 09:12:23 +00:00
ganfra
0df609cef5 Create PIN : hopefully fix remaining issues 2023-10-20 10:54:59 +02:00
Benoit Marty
12f5ee5b1b Fix small issue in the script. 2023-10-20 10:52:13 +02:00
renovate[bot]
0664f01c89
Update dependency org.jsoup:jsoup to v1.16.2 (#1613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 08:56:10 +02:00
ElementBot
a0cde93b1d Update screenshots 2023-10-19 20:39:07 +00:00
ganfra
20c2ee9e3a Merge branch 'develop' into feature/fga/pin_create_ui 2023-10-19 22:26:21 +02:00
ganfra
b4173fbe46 Create pin : fix some spacing 2023-10-19 22:23:19 +02:00
Jorge Martin Espinosa
46f78ef700
Integrate Element Call with widget API (#1581)
* Integrate Element Call with widget API.

- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-19 15:38:43 +00:00
ElementBot
0b295b7f2a Update screenshots 2023-10-19 15:24:30 +00:00
ganfra
b5a9dc80dd Create pin : fix konsist 2023-10-19 16:32:58 +02:00
ganfra
55282417a8 Create pin : change digit size box 2023-10-19 16:29:16 +02:00
ganfra
7ebe6719da Pin create: use localazy strings 2023-10-19 16:28:20 +02:00
Marco Romano
a814c4a95a
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
ganfra
e88a5fc858 Pin create: add test for presenter 2023-10-19 15:45:11 +02:00
Marco Romano
33f5c8efb8
Add global context.cacheDir provider. (#1606)
## Type of change

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

## Content

Dagger now provides the app's `cacheDir` when requesting a `@CacheDirectory File`  type.

## Motivation and context

To support some upcoming code that needs the `cacheDir` to be changed during tests.
2023-10-19 14:07:45 +02:00
Marco Romano
5a7f77bc92
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
ElementBot
3a4d32f79d Update screenshots 2023-10-19 10:47:03 +00:00
ganfra
caf6d6b674 Create pin : render failures 2023-10-19 12:34:29 +02:00
ganfra
539854b18c Create pin : remove PinCodeManager and add TODO 2023-10-19 12:18:26 +02:00
ganfra
7b611e7c7a Pin create : improve clear validation 2023-10-19 12:16:30 +02:00
ganfra
c15a193d4a Pin create : add some more states to manage validation and confirmation 2023-10-19 12:11:14 +02:00
Marco Romano
79d2941fe4
Include desugaring lib also in library modules (#1604)
## Type of change

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

## Content

Includes the `coreLibraryDesugaring(libs.android.desugar)` dependency in all modules which use one of our gradle plugins.

## Motivation and context

Right now desugaring is enabled also in library modules but the desugar dependency is not included in those.
This causes some unwanted side effects such as being unable to run compose previews in an emu.

This change will also include the desugar dependency in those libraries.
2023-10-19 09:00:32 +00:00
Jorge Martin Espinosa
9aa4c59516
Hide keyboard when exiting the room screen (#1593) 2023-10-19 10:49:11 +02:00
renovate[bot]
6bec6235b4
Update dependency io.sentry:sentry-android to v6.32.0 (#1602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 10:48:23 +02:00
renovate[bot]
a73378b0ce
Update dependency androidx.recyclerview:recyclerview to v1.3.2 (#1599)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-19 08:51:21 +02:00
renovate[bot]
9039186e2c
Update dependency com.google.firebase:firebase-bom to v32.4.0 2023-10-19 01:04:02 +00:00
ganfra
4416c0133a Create pin : start handling the text field 2023-10-18 21:20:47 +02:00
ganfra
00e885fa9f
Merge pull request #1592 from vector-im/feature/fga/setup_crypto_for_pin
Feature/fga/setup crypto for pin
2023-10-18 17:21:47 +02:00
ganfra
a2e7baddc2 Pin : start create pin view 2023-10-18 17:04:23 +02:00
ganfra
436c9e83f0 Fix kover... 2023-10-18 16:52:45 +02:00
ganfra
a896b42fa2 Pin : some clean up and fixes 2023-10-18 15:55:52 +02:00
ElementBot
c635281954 Update screenshots 2023-10-18 13:22:53 +00:00
ganfra
1d94b30b9f Revert settings.gradle.kts 2023-10-18 11:57:57 +02:00
Jorge Martin Espinosa
e5a8fd9635
Make sure Konsist tests always run (#1590)
* Make sure Konsist tests always run

* Update tests/konsist/build.gradle.kts

Co-authored-by: Benoit Marty <benoit@matrix.org>

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-10-18 09:41:47 +00:00
ganfra
1f97e95a3d Fix warning 2023-10-18 11:33:34 +02:00
ganfra
d6d553e8e0 Pin code: add some tests 2023-10-18 11:26:02 +02:00
Benoit Marty
c4bbc4ef3d
Merge pull request #1582 from vector-im/feature/bma/buildSdk
Add script to build the rust sdk locally and from different repo / branch
2023-10-18 11:03:36 +02:00
ganfra
8436806571 Pin: rename feature pin to lockscreen 2023-10-17 21:15:01 +02:00
ganfra
981430731d Pin : move some classes around and introduce PinCodeManager 2023-10-17 18:28:39 +02:00
ganfra
493d67c8ca Introduce CryptoService for simple cryptographic operations 2023-10-17 18:28:07 +02:00
ganfra
85102e3793 Crypto: add a small cryptography library module with CipherFactory 2023-10-17 14:18:28 +02:00
ganfra
c2a8e13eef Pin code storage : add way to store the pin 2023-10-17 11:14:46 +02:00
renovate[bot]
412691f20a
Update dependency com.squareup.okhttp3:okhttp-bom to v4.12.0 (#1587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 08:42:33 +02:00