Commit Graph

2661 Commits

Author SHA1 Message Date
Benoit Marty
778155bb9e Save text in composer when navigating to a sub node (opening an image from the timeline for instance). Fixes #870. 2023-07-17 17:14:41 +02:00
Benoit Marty
f292c433ec Remove StableCharSequence, it was useful when we were using the Epoxy library. 2023-07-17 16:47:54 +02:00
Benoit Marty
4ff99e3c6b Merge pull request #871 from vector-im/renovate/com.google.firebase
Update dependency com.google.firebase:firebase-bom to v32.2.0
2023-07-17 16:12:03 +02:00
Benoit Marty
337318d68e Merge pull request #881 from vector-im/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.1
2023-07-17 16:11:37 +02:00
Chris Smith
467ce70ba8 Merge pull request #875 from vector-im/renovate/io.sentry 2023-07-17 11:17:34 +01:00
Benoit Marty
dafc8d5ebe Merge pull request #859 from vector-im/feature/bma/transactionId
Create value class for transactionId
2023-07-17 11:28:42 +02:00
Jorge Martin Espinosa
323a84db37 Disable Paparazzi tasks when Kover is running. (#884)
* Disable Paparazzi tasks when Kover is running.

It allows us to split the test jobs between unit tests, screenshot test and coverage reports.

* Move Sonar upload to the quality workflow, since we have no lint info in tests.
2023-07-17 10:55:51 +02:00
ElementBot
045d957f91 Sync Strings (#882)
* Sync Strings from Localazy

* Update screenshots

---------

Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-07-17 10:22:15 +02:00
renovate[bot]
1f4b7b1d5e Update rnkdsh/action-upload-diawi action to v1.5.1 2023-07-16 21:03:31 +00:00
Kat Gerasimova
4789ad40aa Add fixed automation for moving issues between columns
This should fix the problem we were having earlier
2023-07-14 15:33:36 +01:00
Marco Romano
a1ca7cf2ca Extract MessageComposerContext class from MessageComposerPresenter (#876)
When sending "Composer" analytics from screens other than the composer's (e.g. send location from map) we need to know the composer's mode in order to properly fill the analytics event. `MessageComposerContext` hoists this state so that other presenters can also read it.

Related to:
https://github.com/vector-im/element-meta/issues/1674
https://github.com/vector-im/element-meta/issues/1682
2023-07-14 11:32:09 +00:00
Kat Gerasimova
fcf4454c1c Revert "Try to debug project automation column issues" (#874)
This reverts commit 4dbb3994d2.
2023-07-14 12:00:02 +02:00
renovate[bot]
d23d6584fa Update dependency io.sentry:sentry-android to v6.25.2 2023-07-14 09:38:20 +00:00
renovate[bot]
b9b3d6633b Update dagger to v2.47 (#872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 08:16:52 +02:00
renovate[bot]
4696e1dd4e Update dependency com.google.firebase:firebase-bom to v32.2.0 2023-07-13 22:07:07 +00:00
Benoit Marty
be6b8c825b Fix account provider change on nightly and release (#861)
* Use parallelMap (same code)

* Add proguard rules. Fixes #818

* Rename file proguard-rules.pro to consumer-rules.pro for coherency.

* Remove empty and non-referenced proguard files.
2023-07-13 14:46:57 +02:00
renovate[bot]
af968f6e98 Update dependency io.sentry:sentry-android to v6.25.1 (#853)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-13 13:23:53 +02:00
ganfra
313b3a29b6 Merge pull request #863 from vector-im/feature/fga/timeline_pagination
Feature/fga/timeline pagination
2023-07-13 11:58:10 +02:00
ganfra
f6b29c3700 Timeline: revert back the paginateBackwards in the TimelinePresenter so it's now blocked in the Timeline if needed 2023-07-13 11:23:04 +02:00
Jorge Martin Espinosa
64b6970c89 Try to improve 'Tests' CI job times (#865)
* Try to improve 'Tests' CI job times

* Remove `-Pci-build=true` for jobs where the debug mode can be explicitly used

* Add some more excluded `*State` values for kover

* Run paparazzi verification at the same time as Kover tasks, otherwise the coverage is lost.
2023-07-13 10:47:55 +02:00
ganfra
df1c0091ab Merge pull request #856 from vector-im/feature/fga/update-rust-sdk-0.1.31
Feature/fga/update rust sdk 0.1.31
2023-07-13 09:42:46 +02:00
Jorge Martin Espinosa
7da59c61cc Set right timestamp for fallback notifications (#864) 2023-07-13 06:02:38 +00:00
ganfra
1a0dc8266b Timeline: rename file 2023-07-12 22:50:14 +02:00
ganfra
9784d8c874 Timeline: split the initial item list in small chunks to post items asap 2023-07-12 22:44:42 +02:00
ganfra
635e9b9edd Timeline: avoid pagination when timeline is not ready 2023-07-12 22:43:35 +02:00
Benoit Marty
1619b85685 Merge pull request #858 from vector-im/feature/bma/stuckNotification
Ensure pending intent data are unique.
2023-07-12 19:16:50 +02:00
Benoit Marty
771a4ecdd3 Create value class for transactionId. There is no validation on the format, but validation is a bonus for userId, roomId, etc.
The main advantage of using value classes instead of Strings everywhere is to detect errors at compilation time.
2023-07-12 18:15:17 +02:00
Kat Gerasimova
4dbb3994d2 Try to debug project automation column issues
The error I get from my private test repo is different from this one. Need to check what the first step returns
2023-07-12 17:03:02 +01:00
ganfra
bd04b579c6 Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.31 2023-07-12 17:36:05 +02:00
Benoit Marty
04890b6f15 Ensure pending intent data are unique. 2023-07-12 17:28:53 +02:00
ganfra
097b945ee7 Update rust sdk to 0.1.31: re-enable screenshot tests.. 2023-07-12 17:13:43 +02:00
Benoit Marty
d56a686b60 Merge pull request #850 from vector-im/feature/bma/fixTests
Ensure CI run all the tests.
2023-07-12 16:59:37 +02:00
ganfra
3d0440c580 Update rust sdk to 0.1.31: fix build 2023-07-12 16:50:40 +02:00
Benoit Marty
2206f70acc Merge pull request #847 from vector-im/feature/bma/blockUserUx
Improve block/unblock user ux
2023-07-12 16:33:12 +02:00
Benoit Marty
f4a68a93c5 Merge pull request #852 from vector-im/feature/bma/moreLogAndFixes
More log and various fixes
2023-07-12 16:28:47 +02:00
ganfra
ec04250a9b Update rust sdk to 0.1.31: new app service 2023-07-12 16:05:51 +02:00
ganfra
d3a86bffee Update rust sdk to 0.1.31: new notification api 2023-07-12 16:05:36 +02:00
ganfra
655c5a5ed5 Update rust sdk to 0.1.31: new uniqueId on timeline 2023-07-12 16:04:10 +02:00
ganfra
03c29817c3 Update rust sdk to 0.1.31 2023-07-12 16:03:03 +02:00
Benoit Marty
8893a8bfdc Fix crash at first startup. Inject NotLoggedInImageLoaderFactory directly to NotLoggedInFlowNode 2023-07-12 15:32:00 +02:00
Benoit Marty
1db234466c Split task in 2, due to the fact that when we run kover on the CI, run only debug test variants.
Error was:
 Some problems were found with the configuration of task ':koverMergedHtmlReport' (type 'KoverHtmlTask').
  - Gradle detected a problem with the following location: '/home/runner/work/element-x-android/element-x-android/features/analytics/api/build/tmp/kotlin-classes/release'.

    Reason: Task ':koverMergedHtmlReport' uses this output of task ':features:analytics:api:compileReleaseKotlin' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':features:analytics:api:compileReleaseKotlin' as an input of ':koverMergedHtmlReport'.
      2. Declare an explicit dependency on ':features:analytics:api:compileReleaseKotlin' from ':koverMergedHtmlReport' using Task#dependsOn.
      3. Declare an explicit dependency on ':features:analytics:api:compileReleaseKotlin' from ':koverMergedHtmlReport' using Task#mustRunAfter.
...
2023-07-12 15:11:40 +02:00
Benoit Marty
79e88bb826 Fix another warning. 2023-07-12 14:16:10 +02:00
Benoit Marty
f8338013cf Fix another warning. 2023-07-12 14:15:25 +02:00
Benoit Marty
816685a534 Use the param (bad copy paste) 2023-07-12 14:14:44 +02:00
Benoit Marty
2b84e7adc0 Fix warning (rename the base parameter name). 2023-07-12 14:11:26 +02:00
Benoit Marty
c0d2de26db Improve logs. 2023-07-12 12:39:41 +02:00
Benoit Marty
a9720e36c1 Let RootFlowNode manage MatrixClientsHolder save and restoration. 2023-07-12 12:25:04 +02:00
Benoit Marty
93c918ea2a Fix image not loading after a clear cache. 2023-07-12 12:05:31 +02:00
Benoit Marty
7ea2f28d96 More log about Node lifecycle. Will help to track user navigation. 2023-07-12 12:01:54 +02:00
Benoit Marty
0740330b39 Rework DeeplinkParser to fix a test (and fix a bug in release mode).
The test was failing in release mode because there is not check on `RoomId` format, so INVITE_LIST value ("invites") is seen as a valid RoomId.
First check for known paths, then try to parse as RoomId. The tryOrNull will return null only in debug mode, so I think we can remove it.
Error was:
value of: getFromIntent(...)
expected: InviteList(sessionId=@alice:server.org)
but was : Room(sessionId=@alice:server.org, roomId=invites, threadId=null)
	at io.element.android.libraries.deeplink.DeeplinkParserTest.nominal cases(DeeplinkParserTest.kt:54)
2023-07-12 09:59:52 +02:00