Commit graph

1439 commits

Author SHA1 Message Date
yostyle
a5b15c40c3 Update room details tests 2023-08-24 15:58:22 +02:00
yostyle
82c8acd3dc Update strings 2023-08-24 15:58:22 +02:00
yostyle
a611766476 Fix edition 2023-08-24 15:58:21 +02:00
yostyle
a3aac9f66a Rebase on develop 2023-08-24 15:58:21 +02:00
yostyle
856c674361 Update unit tests 2023-08-24 15:58:21 +02:00
yostyle
2c81384894 Rebase on develop 2023-08-24 15:58:21 +02:00
yostyle
83e45adfa5 Add room notification settings 2023-08-24 15:58:21 +02:00
yostyle
d1f147d675 Add view 2023-08-24 15:58:21 +02:00
yostyle
a4d99f3c2d Prepare node 2023-08-24 15:58:21 +02:00
yostyle
aac6fb2c91 Refactoring 2023-08-24 15:58:21 +02:00
yostyle
5ef53a99f2 Update string 2023-08-24 15:58:21 +02:00
yostyle
e8b80b9a55 Add Notifications section in app settings 2023-08-24 15:58:21 +02:00
Jorge Martin Espinosa
c670fc9e9c
Prevent verification while initial sync is in progress (#1138)
* Prevent verification while initial sync is in progress

* Add `canVerifySessionFlow` to simplify the check
2023-08-24 11:43:36 +00:00
renovate[bot]
53840c1009
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46 (#1130)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.46

* Remove poll end code. The poll end event isn't shown in the timeline anymore.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-08-24 06:43:05 +00:00
Benoit Marty
8cf48986e7 Add missing tests. 2023-08-23 13:49:03 +02:00
Benoit Marty
bc57a03a39 Add setting entry point to manage account (OIDC) 2023-08-23 12:54:22 +02:00
Benoit Marty
6928dc6e44 Restore OIDC support. 2023-08-23 12:18:42 +02:00
Jorge Martin Espinosa
1922c505ef
Make links in messages clickable again (#1115) 2023-08-22 15:21:43 +02:00
Benoit Marty
b9f2c9873b
Merge pull request #1100 from vector-im/renovate/accompanist
Update accompanist to v0.32.0
2023-08-21 17:57:59 +02:00
Jorge Martin Espinosa
bfd938a970
Linkify raw links in HTML message contents (#1102)
* Linkify links in HTML too:

- Creates a `ClickableLinkText` for `String`.
- Adds a `linkify` parameter to the original function, which is `true` by default.
- Does the linkify logic inside that component, if `linkify` is true.

* Add changelog

* Make sure we don't linkify user mentions or room aliases.

* Use remember to avoid re-processing the text for no reason.
2023-08-21 16:31:01 +02:00
Benoit Marty
fdc08518a5 Migrate from com.google.accompanist.flowlayout.FlowRow (deprecated) to androidx.compose.foundation.layout.FlowRow
https://google.github.io/accompanist/flowlayout/
2023-08-21 16:09:44 +02:00
Jorge Martin Espinosa
a562bd29a0
Fix bug reporter failing after not finding some files (#1103)
- Make sure we propagate `CancellationException`.
- Make sure we do a cleanup of temp files.
- Make sure we don't re-compress any lingering temp files.
- Don't stop the upload process if we were able to upload some log files, even if we failed to read some others.
2023-08-21 15:30:16 +02:00
ElementBot
ef8a60b657
Sync Strings from Localazy (#1098)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-08-21 08:34:19 +02:00
Benoit Marty
5606c832f8
Merge pull request #963 from vector-im/julioromano/showLocationRequestPermission
Show location request permission in expanded location view
2023-08-18 16:58:51 +02:00
Benoit Marty
3f590c27ee
Merge pull request #1088 from vector-im/fix/jme/1077-textbuttons-in-dark-theme
Fix TextButtons being displayed in black
2023-08-18 16:14:42 +02:00
Benoit Marty
9b02865a70
Merge pull request #1093 from vector-im/feature/bma/senderNameBubble
Feature/bma/sender name bubble
2023-08-18 15:59:20 +02:00
Marco Romano
d5c5947ff9 Fix detekt 2023-08-18 15:55:41 +02:00
Marco Romano
e66c362fad Add missing tests 2023-08-18 15:55:41 +02:00
Marco Romano
7a96bb7047 Fix wrong packages after refactor 2023-08-18 15:55:41 +02:00
Marco Romano
4ee082ba48 Remove redundant screenshots 2023-08-18 15:55:41 +02:00
Marco Romano
c2e8dac96a Add location dialogs to show location. Always show FAB. 2023-08-18 15:55:41 +02:00
Marco Romano
a429195cbc Move AndroidLocationActions to impl package 2023-08-18 15:55:41 +02:00
Marco Romano
99ad1c231a Add permission request flow to ShowLocation feature too.
TODO:
- Presenter Tests
- Add Dialogs in View
2023-08-18 15:55:41 +02:00
Jorge Martín
2da10f22ca Merge remote-tracking branch 'origin/develop' into fix/jme/1077-textbuttons-in-dark-theme 2023-08-18 15:30:25 +02:00
Jorge Martin Espinosa
6a4a4ebf26
Fix rendering of inline elements in list items in messages (#1091)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-18 13:14:55 +00:00
Benoit Marty
946d8cd660 Fix loing sender name displayed on several lines (#1033) 2023-08-18 14:56:57 +02:00
Jorge Martín
9f1795bc04 Fix subtitle color 2023-08-18 14:55:41 +02:00
Jorge Martín
afbd998b12 Force theme and colors in WaitListView. 2023-08-18 14:55:13 +02:00
Benoit Marty
d2c7cb6020 Use generated Showkase.getBrowserIntent to avoid errors. 2023-08-17 18:09:09 +02:00
Benoit Marty
b44dde4df6
Merge pull request #1001 from vector-im/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.2.1
2023-08-17 17:48:52 +02:00
Benoit Marty
40fcb6b17d
Merge pull request #1057 from vector-im/sync-localazy
Sync Strings
2023-08-17 17:46:35 +02:00
Jorge Martin Espinosa
0324719606
Upgrade compose-material3 to 1.2.0-alpha05 version (#1011)
Co-authored-by: ElementBot <benoitm+elementbot@element.io>

Also upgrade compileSdk to 34.
2023-08-17 14:20:54 +02:00
Jorge Martin Espinosa
983b83a56f
Media upload cancellation (#1058)
* Initial implementation of media upload cancellation

* Add tests

* Add changelog

* Update screenshots

* Add documentation

* Fix lint issues

* Fix review comments

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-17 09:02:03 +00:00
renovate[bot]
4a630f141d
Update kotlin - TO BE MERGED AFTER THE RELEASE (#789)
* Update kotlin

* Update kotlinc.xml

* Update ksp

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2023-08-17 08:58:10 +00:00
Florian Renaud
41d0d21c80
Add feature flag for polls (#1064)
* Handle poll events from the sdk

* Render started poll event in the timeline

* Create poll module

* Check poll kind before revealing the results

* Check if user has voted before revealing the results

* Add active poll previews

* Minor cleanup

* Update todos

* Fix CI

* Remove hardcoded string

* Update preview

* changelog file

* Update screenshots

* Use CommonPlurals

* Set poll root view as selectableGroup

* Improve poll result rendering

* Update screenshots

* Add missing showkase processor

* Update screenshots

* Add feature flag for polls

* Add supporting text in PreferenceCheckbox

* Render poll events if feature flag is enabled

* changelog

* Update screenshots

* Fix tests

* Move feature flag check to poll factory

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-16 15:14:38 +00:00
Florian Renaud
8a62abe93e
"View only" polls in the timeline (#1031)
* Handle poll events from the sdk

* Render started poll event in the timeline

* Create poll module

* Check poll kind before revealing the results

* Check if user has voted before revealing the results

* Add active poll previews

* Minor cleanup

* Update todos

* Fix CI

* Remove hardcoded string

* Update preview

* changelog file

* Update screenshots

* Use CommonPlurals

* Set poll root view as selectableGroup

* Improve poll result rendering

* Update screenshots

* Add missing showkase processor

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-16 14:19:12 +00:00
Benoit Marty
a3ae891e51 Fix issue detected by detekt 2023-08-16 15:24:18 +02:00
Jorge Martin Espinosa
9e1ff513e4
[Compound] Implement Snackbars based on designs (#1054)
* Make `InternalButton` internal instead of private so it can be customised.

Also, change the `ButtonColors.contentColor` for text buttons to `LocalContentColor.current` by default.

* Add temporary color for Snackbar action label

* Implement `Snackbar` component based on Compound

* Propagate changes to all other components

* Use right Preview annotation config

* Move `ButtonVisuals` to their own file

* Update screenshots

* Make previews internal

* Update screenshots

* Set a custom token for contentColor in AppBars

* Change 'Label' to 'Action' in the previews

* Add changelog

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-16 10:38:28 +00:00
bmarty
b61a8a219a Sync Strings from Localazy 2023-08-14 00:08:49 +00:00
David Langley
08a0f710d7
Show selected reactions on the emoji picker. (#1014)
* Show selected reactions on the emoji picker.

* Unused import

* Update screenshots

* Use ImmutableSet

* Fix lint issues.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-08-11 15:47:06 +00:00