Commit graph

4127 commits

Author SHA1 Message Date
David Langley
5d533cc2c6 Merge branch 'langleyd/fix_emoji_shortcut_values' of https://github.com/vector-im/element-x-android into langleyd/fix_emoji_shortcut_values 2023-10-23 15:25:33 +01:00
David Langley
f159ca9d7d Update thumbs up emoji in the state provider. 2023-10-23 15:25:28 +01:00
ElementBot
6478166263 Update screenshots 2023-10-23 12:11:23 +00:00
David Langley
afc3958ecf Fix emoji shortcut values 2023-10-23 12:06:52 +01:00
jonnyandrew
7048da2e20
Fix issue where text is cleared when cancelling a reply (#1617) 2023-10-23 08:31:32 +00:00
ElementBot
c8dc364147
Sync Strings (#1623)
* Sync Strings from Localazy

* Fix strings

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-10-23 08:20:49 +00:00
renovate[bot]
94c5807f40
Update dependency org.owasp.dependencycheck to v8.4.2 (#1622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 09:36:15 +02:00
renovate[bot]
244c45797f
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63 (#1619)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63

* Update Element Call integrated APIs

* Take into account the new `MessageType.Other` from the SDK

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-10-20 22:32:59 +02:00
Benoit Marty
8aa706e97d
Merge pull request #1614 from vector-im/feature/bma/removeAppNameProvider
Remove AppNameProvider, we have buildMeta now.
2023-10-20 14:28:05 +02:00
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
Benoit Marty
510bdd47af Remove AppNameProvider, we have buildMeta now. 2023-10-20 10:41:39 +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