Onuray Sahin
0fe4b9f07f
Test undisclosed poll state.
2022-06-22 12:57:50 +03:00
Benoit Marty
8bea64bc0c
Fix migration to 30. Seems that `isNull` with long path is not working correctly.
2022-06-22 11:56:54 +02:00
Onuray Sahin
8854b81977
Test ended poll state.
2022-06-22 12:34:52 +03:00
Onuray Sahin
a886e93c7e
Test sending poll state.
2022-06-22 12:13:53 +03:00
Adam Brown
a8cd6ca497
Merge branch 'main' into develop
2022-06-22 08:49:48 +01:00
Johan Smits
6da4245efb
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-06-22 06:32:16 +00:00
Priit Jõerüüt
cd6d06529e
Translated using Weblate (Estonian)
...
Currently translated at 100.0% (2239 of 2239 strings)
Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-06-22 06:32:16 +00:00
Cadence Ember
216de6c050
Lint (import ordering)
2022-06-22 13:10:30 +12:00
dependabot[bot]
f1056898ed
Bump com.autonomousapps.dependency-analysis from 1.5.0 to 1.7.0
...
Bumps [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin ) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/releases )
- [Changelog](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/main/CHANGELOG.md )
- [Commits](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/compare/v1.5.0...v1.7.0 )
---
updated-dependencies:
- dependency-name: com.autonomousapps.dependency-analysis
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:43:06 +00:00
dependabot[bot]
c81866f34e
Bump flipper-realm-android from 2.1.0 to 2.2.0
...
Bumps [flipper-realm-android](https://github.com/kamgurgul/Flipper-Realm ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/kamgurgul/Flipper-Realm/releases )
- [Commits](https://github.com/kamgurgul/Flipper-Realm/compare/2.1.0...2.2.0 )
---
updated-dependencies:
- dependency-name: com.kgurgul.flipper:flipper-realm-android
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 23:41:39 +00:00
Onuray Sahin
77dfd5f826
Create initial test class.
2022-06-21 17:26:26 +03:00
Cadence Ember
592f890fac
Fix formatted_body being parsed as Markdown
...
Background: Clients write Markdown and convert it to HTML before
sending the event. All events are formatted as HTML. However, if an
HTML formatted event happened to include markdown characters, Element
Android would incorrectly render that markdown.
For example, an event with formatted_body: "*test*" should be
displayed as literally *test* with no effects, but Element Android
incorrectly displayed it as test in italics.
This commit fixes this behaviour, making Element Android not parse
Markdown in HTML messages.
From the perspective of most users it will appear that backslash
escapes now work properly (even though this wasn't the real issue).
2022-06-22 02:24:07 +12:00
Onuray Sahin
bd9fa48312
Refactor poll item factory to make it testable.
2022-06-21 17:03:56 +03:00
Adam Brown
9ddded4996
generating 1.4.23 changelog
2022-06-21 14:56:33 +01:00
Adam Brown
f56703abc4
updating version for hotfix release
2022-06-21 14:48:14 +01:00
ganfra
0f29f7848b
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:47:13 +01:00
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
Onuray Sahin
ab34bb6df7
Changelog added.
2022-06-20 17:10:00 +03:00
Onuray Sahin
80abe1f675
Show live location promotional bottom sheet.
2022-06-20 17:04:56 +03:00
Onuray Sahin
13144f078a
Implement live location promotional bottom sheet.
2022-06-20 15:41:43 +03:00
Onuray Sahin
b37dce7da7
Create layout for promoting live location labs flag.
2022-06-20 15:19:22 +03: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
Onuray Sahin
9641ff132d
Show live location sharing option even if labs flag is disabled.
2022-06-20 13:58:28 +03: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