Commit graph

2816 commits

Author SHA1 Message Date
Florian Renaud
2a29c67b96 Improve timestamp rendering for poll event content 2023-08-25 09:07:10 +02:00
yostyle
69905afbd9 Rebase on develop and refactoring 2023-08-24 15:58:23 +02:00
Jorge Martín
5be6814ee5 Try to fix tests 2023-08-24 15:58:23 +02:00
Jorge Martín
4b0f9213d3 Fix lint issues 2023-08-24 15:58:23 +02:00
Jorge Martín
a210945bb1 Add debouncing to observeNotificationSettings.
This should conceal a bit the issue with notification settings 'flashing' when we receive an update.
2023-08-24 15:58:23 +02:00
yostyle
f247337fce Fix tests 2023-08-24 15:58:23 +02:00
yostyle
9e17d8f468 Fix PR comments 2023-08-24 15:58:23 +02:00
yostyle
85dd36a681 Update notification settings service interface to match rust SDK 2023-08-24 15:58:22 +02:00
yostyle
eefecaec8b Update strings 2023-08-24 15:58:22 +02:00
yostyle
eeb6c3f61c Add feature flag 2023-08-24 15:58:22 +02:00
yostyle
0214ca66a6 Fix PR comments 2023-08-24 15:58:22 +02:00
yostyle
01a0175d40 Update strings 2023-08-24 15:58:22 +02:00
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
Florian Renaud
e6490b3a89 Merge remote-tracking branch 'origin/develop' into feature/fre/improve_poll_event_timeline_rendering 2023-08-24 14:42:16 +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
Benoit Marty
7083abcf09 migrate object to data object (#1135) 2023-08-24 09:32:44 +02: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
26e5da94d6 Add a workaround to detect the Chrome Custom Tab closing (when there is no redirection). 2023-08-23 18:11:08 +02:00
Benoit Marty
c84b1747e7 Handle remarks from PR #1127 2023-08-23 17:23:12 +02: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
Florian Renaud
29cd8f287f Add missing modifier 2023-08-22 16:11:57 +02:00
Florian Renaud
dec41460ed Fix winning answers detection 2023-08-22 15:48:09 +02:00
Florian Renaud
962571bec1 Fix lint 2023-08-22 15:48:09 +02:00
Jorge Martin Espinosa
1922c505ef
Make links in messages clickable again (#1115) 2023-08-22 15:21:43 +02:00
Florian Renaud
ed62286eb8 Fix poll enabled condition 2023-08-22 10:55:18 +02:00
Florian Renaud
8657a5dfac Rename previews 2023-08-22 10:55:18 +02:00
Florian Renaud
bb2f5a1330 Render ended poll with winning answers 2023-08-22 10:55:18 +02:00
Florian Renaud
246e9c50e6 Do not handle poll end event 2023-08-22 10:55:18 +02:00
Florian Renaud
d59349184f Rename progress variable to percentage 2023-08-22 10:55:18 +02:00
Florian Renaud
df1be4f6b1 Update option progress when selected 2023-08-22 10:55:17 +02:00
Florian Renaud
81051295a4 Use custom RadioButton 2023-08-22 10:55:17 +02:00
Florian Renaud
079d89ace5 Update UI for poll in the timeline 2023-08-22 10:55:17 +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