ganfra
b07e0a47e8
Feature/fga/simplify timeline logic ( #6318 )
...
* Sync: delete all previous chunks in case of gappy sync
* Chunk: dont link chunks if we find existing timeline event (keep multiple timeline events in db)
* Timeline : remove some unused code
* Clean and add changelog
* Timeline: set named argument
* Timeline: avoid restarting the timeline when there is a CancellationException due to permalink
* Timeline: add migration to clean up old (broken) chunks
* Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/migration/MigrateSessionTo030.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
* Timeline: try to fix test
* ignoring broken instrumentation test in order to release
Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Benoit Marty <benoitm@matrix.org>
Co-authored-by: Adam Brown <adampsbrown@gmail.com>
2022-06-21 14:42:50 +01:00
Adam Brown
41431cd1d2
Merge pull request #6307 from vector-im/feature/adm/ci-test-coverage
...
Missing unit test coverage
2022-06-21 10:17:42 +01:00
Adam Brown
8754f230d3
removing debug log
2022-06-21 09:15:28 +01:00
Adam Brown
42be961681
applying sanity test filter to the start params
2022-06-21 09:15:28 +01:00
Adam Brown
a76b6e522b
splitting unit and instrumentation test tasks so that we can configure the android plugin testCoverage parameter
...
- there's a bug that causes the output to be invalid for unit tests
2022-06-21 09:15:27 +01:00
dependabot[bot]
6d53bf667c
Bump kotlinCoroutines from 1.6.2 to 1.6.3
...
Bumps `kotlinCoroutines` from 1.6.2 to 1.6.3.
Updates `kotlinx-coroutines-core` from 1.6.2 to 1.6.3
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.2...1.6.3 )
Updates `kotlinx-coroutines-android` from 1.6.2 to 1.6.3
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.2...1.6.3 )
Updates `kotlinx-coroutines-test` from 1.6.2 to 1.6.3
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases )
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md )
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.6.2...1.6.3 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 23:11:06 +00:00
Jorge Martín
b5aedd4626
Re-implement lock screen feature using our own implementation.
2022-06-20 17:38:05 +02:00
Maxime NATUREL
32c6281dd2
Merge pull request #6316 from vector-im/fix/mna/crash-offline-lls
...
[Location sharing] Fix crash when starting/stopping a live when offline (PSF-1124)
2022-06-20 14:00:56 +02:00
Maxime NATUREL
0948cab31f
Merge pull request #6304 from vector-im/feature/mna/location-sharing-service-api
...
[SDK] Improve location sharing service api (PSF-1004)
2022-06-20 13:48:13 +02:00
Maxime NATUREL
7ddec674fb
Fixing unit tests after rebase
2022-06-20 13:06:25 +02:00
Jorge Martin Espinosa
65bc4acbab
Fix flaky tests for voice recording feature ( #6330 )
2022-06-20 09:23:02 +00:00
Maxime NATUREL
9047d9d62c
Fixing coding style issues
2022-06-20 11:17:30 +02:00
Maxime NATUREL
082b39e651
Adding return type in the doc for stop API
2022-06-20 11:17:30 +02:00
Maxime NATUREL
eb503b8ab6
Adding a changelog entry
2022-06-20 11:17:30 +02:00
Maxime NATUREL
e1fc6fa727
Adding tests to cover errors thrown during start/stop process
2022-06-20 11:17:30 +02:00
Maxime NATUREL
3e05431e6f
Fixing unit tests
2022-06-20 11:17:30 +02:00
Maxime NATUREL
6c0b7f7b43
Renaming a variable to be more precise
2022-06-20 11:17:30 +02:00
Maxime NATUREL
fc98057042
Forward error to UI in map screen
2022-06-20 11:17:30 +02:00
Maxime NATUREL
31bb9eaac8
Forward error to UI in timeline screen
2022-06-20 11:17:30 +02:00
Maxime NATUREL
9eba3034db
Catching crash when offline during stop of a live location share
2022-06-20 11:17:30 +02:00
Maxime NATUREL
e55c378683
Catching crash when offline during start of a live location share
2022-06-20 11:17:30 +02:00
Maxime NATUREL
b16ccf5098
Fix unit tests after rebase
2022-06-20 10:16:27 +02:00
Maxime NATUREL
dcca546c4b
Fixing pusherTask tests
2022-06-20 09:28:35 +02:00
Maxime NATUREL
d0b598463f
Adding test for stop live location share task
2022-06-20 09:28:35 +02:00
Maxime NATUREL
af039371e1
Adding test for start live location share task
2022-06-20 09:28:35 +02:00
Maxime NATUREL
8860dac759
Improving send locations tasks tests
2022-06-20 09:28:35 +02:00
Maxime NATUREL
8d2a914c64
Wip
2022-06-20 09:28:35 +02:00
Maxime NATUREL
707507202d
Renaming method to create static location event
2022-06-20 09:28:35 +02:00
Maxime NATUREL
879cafc8d1
Unit test for send live location task
2022-06-20 09:28:35 +02:00
Maxime NATUREL
1ecc42c903
Unit test for send static location task
2022-06-20 09:28:35 +02:00
Maxime NATUREL
f981900cf3
Unit test for start/stop live location share
2022-06-20 09:28:35 +02:00
Maxime NATUREL
fb7fbced39
Unit test for live location sending
2022-06-20 09:28:35 +02:00
Maxime NATUREL
7332c08bb4
Unit test for static location sending
2022-06-20 09:28:35 +02:00
Maxime NATUREL
7d4df8be09
Unit test for method to get live data of active lives
2022-06-20 09:28:35 +02:00
Maxime NATUREL
752434acb4
Adding changelog entry
2022-06-20 09:28:35 +02:00
Maxime NATUREL
7b159c5b71
Send live location API
2022-06-20 09:28:35 +02:00
Maxime NATUREL
9b61c1aead
Send static location API
2022-06-20 09:28:35 +02:00
Maxime NATUREL
632064ffde
Stop live location share API
2022-06-20 09:28:33 +02:00
Maxime NATUREL
29f48249e2
Start live location share API
2022-06-20 09:26:51 +02:00
Maxime NATUREL
539d134b77
Merge pull request #6267 from vector-im/feature/mna/6155-tests-lls-aggregation
...
Adding unit tests for live location sharing aggregation code (PSF-1063)
2022-06-20 09:19:38 +02:00
dependabot[bot]
3db8e0b045
Bump flipper-network-plugin from 0.149.0 to 0.150.0
...
Bumps [flipper-network-plugin](https://github.com/facebook/flipper ) from 0.149.0 to 0.150.0.
- [Release notes](https://github.com/facebook/flipper/releases )
- [Commits](https://github.com/facebook/flipper/compare/v0.149.0...v0.150.0 )
---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper-network-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 23:18:10 +00:00
Benoit Marty
3dcec85dea
Merge pull request #6340 from vector-im/feature/bma/test_flipper
...
Add link to the Matrix room.
2022-06-17 18:02:19 +02:00
Maxime NATUREL
ac4b33647d
Mutualizing some similar tests with different parameters
2022-06-17 17:55:43 +02:00
Maxime NATUREL
2c96179383
Renaming helpers to clarify purpose
2022-06-17 17:55:43 +02:00
Maxime NATUREL
e3981f42e9
Introducing FakeWorkManager
2022-06-17 17:55:43 +02:00
Maxime NATUREL
b9b1e2b397
Adding tests on location data aggregation
2022-06-17 17:55:43 +02:00
Maxime NATUREL
6386c1603f
Adding tests on beacon info aggregation
2022-06-17 17:55:43 +02:00
Maxime NATUREL
dccc3b457d
Adding more tests on ignored cases
2022-06-17 17:55:43 +02:00
Maxime NATUREL
51b930147a
Adding some tests on ignored cases
2022-06-17 17:55:43 +02:00
Maxime NATUREL
dc95f4553e
Adding changelog entry
2022-06-17 17:55:43 +02:00