Commit Graph

10647 Commits

Author SHA1 Message Date
dependabot[bot]
0e463875f9
Bump flipper-network-plugin from 0.150.0 to 0.151.1
Bumps [flipper-network-plugin](https://github.com/facebook/flipper) from 0.150.0 to 0.151.1.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.150.0...v0.151.1)

---
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-27 23:12:39 +00:00
dependabot[bot]
a8c1214417
Bump flipper from 0.150.0 to 0.151.1
Bumps [flipper](https://github.com/facebook/flipper) from 0.150.0 to 0.151.1.
- [Release notes](https://github.com/facebook/flipper/releases)
- [Commits](https://github.com/facebook/flipper/compare/v0.150.0...v0.151.1)

---
updated-dependencies:
- dependency-name: com.facebook.flipper:flipper
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 23:11:59 +00:00
Benoit Marty
a398391908
Merge pull request #6366 from vector-im/feature/ons/poll_view_state_unit_tests
Poll view state unit tests [PSF-1130]
2022-06-27 19:59:13 +02:00
Onuray Sahin
863cc7e0fc Code review fix. 2022-06-27 18:37:03 +03:00
Maxime NATUREL
1df71d31e2 Small improvements in tests 2022-06-27 17:27:27 +02:00
Maxime NATUREL
4c3f6db55c Fix code quality issues 2022-06-27 16:39:46 +02:00
Maxime NATUREL
0488ce822f Updating location tracker tests 2022-06-27 16:13:02 +02:00
Benoit Marty
43f4dae62b
Bump android-embedded_fcm_distributor from 2.0.0 to 2.1.1 (#6331)
* Bump android-embedded_fcm_distributor from 2.0.0 to 2.1.1

Bumps [android-embedded_fcm_distributor](https://github.com/UnifiedPush/android-embedded_fcm_distributor) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/UnifiedPush/android-embedded_fcm_distributor/releases)
- [Commits](https://github.com/UnifiedPush/android-embedded_fcm_distributor/compare/2.0.0...2.1.1)

---
updated-dependencies:
- dependency-name: com.github.UnifiedPush:android-embedded_fcm_distributor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix compilation issue

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2022-06-27 15:51:53 +02:00
Maxime NATUREL
3b09323ee4 Avoid stopping location service twice 2022-06-27 15:10:54 +02:00
Maxime NATUREL
353a8a70eb Using SharedFlow instead of callback for location updates to remove the need of synchronization 2022-06-27 15:07:09 +02:00
Onuray Sahin
30115fa2b9 Code review fixes. 2022-06-27 15:43:21 +03:00
Onuray Sahin
8100a2e674 Remove duplicated unit tests. 2022-06-27 15:19:26 +03:00
Onuray Sahin
4f9b361346 Fix ready poll unit test. 2022-06-27 15:06:08 +03:00
Onuray Sahin
d7c2dbe83f Fix voted poll unit test. 2022-06-27 14:48:58 +03:00
Johannes Marbach
c3ae0c2251
Merge pull request #6369 from vector-im/johannes/expose-profile-tag
Expose pusher profile tag in advanced settings
2022-06-27 13:33:36 +02:00
Onuray Sahin
6f4e079a2e Fix undisclosed poll unit test. 2022-06-27 14:07:26 +03:00
Adam Brown
1d573e3f5d
Merge pull request #6357 from cloudrac3r/fix-formatted-message-display
Fix formatted_body being parsed as Markdown
2022-06-27 12:07:18 +01:00
Onuray Sahin
1a668da077 Fix ended poll unit test. 2022-06-27 13:57:35 +03:00
Onuray Sahin
a9358e98b2 Fix sending poll unit test. 2022-06-27 13:39:21 +03:00
Valere
9929d6a4eb Update button design 2022-06-27 10:13:18 +02:00
Valere
142c87314c show option to accept other verif not ready 2022-06-27 09:14:20 +02:00
Robin NICOLE
abc0e51f1e Translated using Weblate (English (United Kingdom))
Currently translated at 0.8% (19 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/en_GB/
2022-06-27 02:32:24 +00:00
Ihor Hordiichuk
d342a86cbc Translated using Weblate (Ukrainian)
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/uk/
2022-06-27 02:32:21 +00:00
Nui Harime
7e4b8ac868 Translated using Weblate (Russian)
Currently translated at 98.8% (2213 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2022-06-27 02:32:20 +00:00
Arusekk
484657ccf9 Translated using Weblate (Polish)
Currently translated at 99.9% (2238 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-06-27 02:32:18 +00:00
Szimszon
0e94bffd5c Translated using Weblate (Hungarian)
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/hu/
2022-06-27 02:32:17 +00:00
iaiz
838b9477ef Translated using Weblate (Spanish)
Currently translated at 99.5% (2228 of 2239 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-06-27 02:32:17 +00:00
Glandos
bed5f28c2f Translated using Weblate (French)
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/fr/
2022-06-25 11:32:17 +00:00
Cadence Ember
e940736938
Combine plugin creation and configuration
As requested in PR feedback.
2022-06-25 15:27:56 +12:00
Maxime NATUREL
d3fb12da19 Copy lists/maps when iterating to avoid concurrent exceptions 2022-06-24 17:37:17 +02:00
Maxime NATUREL
c581564bb1 Remove non necessary main Handler in LocationSharingService 2022-06-24 17:09:33 +02:00
Maxime NATUREL
f57c46de9a Remove non necessary @Synchronized annotations in LocationSharingServiceConnection 2022-06-24 17:08:14 +02:00
Onuray Sahin
e63fa2d83f Move epoxy related poll functions back to MessageItemFactory. 2022-06-24 17:28:59 +03:00
Adam Brown
e655a54064 removing duplicate fake method 2022-06-24 15:08:48 +01:00
Adam Brown
c6ef972e3c adding missing fullstop and removing unused import 2022-06-24 15:08:48 +01:00
Adam Brown
4f09160697 adding logout_devices parameter to the password change sdk api, matching reset password 2022-06-24 15:08:48 +01:00
Adam Brown
6e3283cb34 moving homeserver feature for logout all devices to the selected homeserver state via the LoginFlowResult 2022-06-24 15:08:48 +01:00
Adam Brown
a2646c56cf adding the logout all devices state to the reset state in preparation for the UI to take it into account 2022-06-24 15:05:18 +01:00
Adam Brown
c10254dbfa exposing if the homeserver supports signing out all devices when starting the reset process 2022-06-24 15:05:18 +01:00
Adam Brown
924e668023 adding missing loading state when confirming password reset
- adds reset test cases to the onboarding view model
2022-06-24 15:05:18 +01:00
Onuray Sahin
532bc18b1e Refactor poll item view state factory. 2022-06-24 16:52:16 +03:00
Maxime NATUREL
945026730c Use ActiveSessionHolder in stop live use case 2022-06-24 15:12:38 +02:00
Maxime NATUREL
519d43ceb7 Simplify loop to remove room args 2022-06-24 14:33:19 +02:00
Maxime NATUREL
81e14c7c3b Observing live status in DB from location sharing Android service 2022-06-24 10:45:49 +02:00
Maxime NATUREL
3cffedd353 Changing in API to get livedata on a live of a given id 2022-06-24 10:45:49 +02:00
Maxime NATUREL
785ce03e67 Synchronizing access to map of roomArgs 2022-06-24 10:45:48 +02:00
Maxime NATUREL
9a39354332 Adding use case to retrieve flow on live summaries given a list of event ids 2022-06-24 10:45:48 +02:00
Maxime NATUREL
d50b0fbb6b Adding unit tests for the stop live use case 2022-06-24 10:45:48 +02:00
Maxime NATUREL
8406b2a4eb Adding use case to stop live location share
WIP
2022-06-24 10:45:48 +02:00
Adam Brown
84ece3b575 ignoring inferred registration disabled when going through the sign in flow 2022-06-23 18:17:33 +01:00
Maxime NATUREL
a4cae9ef07 Fixing missing "u=" in geo URI pattern for uncertainty 2022-06-23 17:40:16 +02:00
Johannes Marbach
231bd6292a Remove empty textStyle properties
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-23 12:14:02 +02:00
Johannes Marbach
ec073552bd Expose pusher profile tag in advanced settings
Signed-off-by: Johannes Marbach <johannesm@element.io>
2022-06-23 10:56:28 +02:00
Onuray Sahin
2be43e9294 Test isVotable function. 2022-06-22 17:18:17 +03:00
Onuray Sahin
aab558af09 Test ended poll option view states. 2022-06-22 16:40:11 +03:00
Onuray Sahin
d0d2929a84 Test undisclosed option view states. 2022-06-22 16:29:19 +03:00
dependabot[bot]
4e6e5041d8
Bump flipper from 0.149.0 to 0.150.0
Bumps [flipper](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
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 13:04:17 +00:00
Benoit Marty
29d4916a2e
Cleanup of #5187 (#6326)
Update design and behaviour on widget permission bottom sheet
2022-06-22 15:04:02 +02:00
Benoit Marty
c4e578a653
Merge pull request #6344 from vector-im/dependabot/gradle/com.facebook.flipper-flipper-network-plugin-0.150.0
Bump flipper-network-plugin from 0.149.0 to 0.150.0
2022-06-22 15:02:46 +02:00
Benoit Marty
03d6ace3ae
Merge pull request #6359 from vector-im/dependabot/gradle/com.kgurgul.flipper-flipper-realm-android-2.2.0
Bump flipper-realm-android from 2.1.0 to 2.2.0
2022-06-22 14:54:52 +02:00
Adam Brown
0aacde9d9d updating version for next development cycle
- also fixes wrong version in changes doc
2022-06-22 13:48:56 +01:00
Onuray Sahin
8bb421a916 Test poll voted option view states. 2022-06-22 15:44:28 +03:00
Onuray Sahin
0f0492db3b Test ready option view states. 2022-06-22 15:27:04 +03:00
Onuray Sahin
2cf40cbcf2 Test sending option view states. 2022-06-22 14:05:42 +03:00
Onuray Sahin
5a948891f0 Test ready poll state. 2022-06-22 13:27:52 +03:00
Onuray Sahin
2c5ddca821 Test voted poll state. 2022-06-22 13:21:50 +03:00
Onuray Sahin
0fe4b9f07f Test undisclosed poll state. 2022-06-22 12:57:50 +03: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
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]
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
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
Jorge Martín
b5aedd4626 Re-implement lock screen feature using our own implementation. 2022-06-20 17:38:05 +02: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
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
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
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
Auri B. P
61ff944994 Translated using Weblate (Catalan)
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/ca/
2022-06-19 20:32:15 +00: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
cd74f09d70
Merge pull request #5923 from vector-im/fix/mna/issue-5913-location-tracker
[Location tracker] - Fix some location tracking issues (PSF-1000)
2022-06-17 17:53:48 +02:00
Benoit Marty
ba0898831b Fix compilation issue 2022-06-17 17:22:31 +02:00