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
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
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
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
Maxime NATUREL
dee5dfd187
Add synchronized annotations to protect from concurrent access to callbacks
2022-06-17 17:04:54 +02:00
Benoit Marty
706e8e7627
Ensure the test is less flaky...
2022-06-17 16:54:18 +02:00
Benoit Marty
705b55c57a
Use handy kotlin.time.Duration.Companion and remove default value.
2022-06-17 16:53:33 +02:00
Maxime NATUREL
162fd0a840
Call unmockAll after each test
2022-06-17 11:34:33 +02:00
Maxime NATUREL
a1aa337edb
Stop location tracking only when callbacks list is empty to avoid non wanting stop
2022-06-17 11:34:33 +02:00
Maxime NATUREL
1b88cc39a9
Use method reference when sorting providers
2022-06-17 11:34:32 +02:00
Maxime NATUREL
755d743b06
Encapsulate callbacks calls into try/catch block
2022-06-17 11:34:32 +02:00
Maxime NATUREL
260f73b0c2
Adding unit tests for LocationTracker
2022-06-17 11:34:32 +02:00
Maxime NATUREL
45d3fe7c07
Call no provider available callback only providers list is empty
2022-06-17 11:34:32 +02:00
Maxime NATUREL
b686d30b1c
Prioritise providers: Fused, GPS and then others
2022-06-17 11:34:32 +02:00
Maxime NATUREL
a8c36e5e70
Using Debouncer to debounce location updates
2022-06-17 11:34:32 +02:00
Maxime NATUREL
c61412520d
Debouncing location updates
2022-06-17 11:34:32 +02:00
Maxime NATUREL
7860173fa2
Notify of the latest known location among all last known locations
2022-06-17 11:34:32 +02:00
Onuray Sahin
242cc28daa
Merge pull request #6320 from vector-im/feature/ons/poll_unit_tests
...
CreatePollViewModel unit tests [PSF-1122]
2022-06-17 12:14:01 +03:00
Eric Decanini
674e538131
Merge pull request #6154 from vector-im/bugfix/eric/fix-upgrade-room
...
Fixes /upgraderoom command not doing anything
2022-06-17 10:55:26 +02:00
Onuray Sahin
712a38e26a
Apply Maxime's fix to get latest state.
2022-06-16 18:27:00 +03:00
Benoit Marty
8238cd7f57
Merge pull request #6319 from vector-im/feature/bma/stateEventQuery
...
Enforce query on state event
2022-06-16 17:13:17 +02:00
Benoit Marty
fe7515761a
Merge pull request #6300 from vector-im/feature/bma/flipper
...
Setup Flipper
2022-06-16 16:44:05 +02:00
Onuray Sahin
14a4a8edd7
Workaround for mavericks bug ( https://github.com/airbnb/mavericks/issues/599 ).
2022-06-16 17:30:17 +03:00
Benoit Marty
16ca26569f
Merge pull request #6228 from vector-im/feature/bma/unifiedPush2
...
UnifiedPush
2022-06-16 16:09:31 +02:00
Adam Brown
d37b273eee
Merge pull request #6271 from vector-im/feature/adm/full-matrix-id-homeserver-switching
...
[FTUE] Switch homeserver on full matrix id entry
2022-06-16 14:23:12 +01:00
Benoit Marty
7bd2184b26
Rename fun.
2022-06-16 13:42:48 +02:00
Onuray Sahin
a1d35ae9e4
Move fake class into the right package.
2022-06-16 14:23:25 +03:00
Onuray Sahin
f13dfb8291
Test poll view state when poll option is deleted.
2022-06-16 14:11:17 +03:00
Adam Brown
4f86ad0934
Merge pull request #6297 from vector-im/feature/adm/opt-in-screenshots-in-bug-report
...
Making bug report screenshots opt in instead of opt out
2022-06-16 12:08:25 +01:00
Onuray Sahin
841b63b819
Test poll view events when poll is edited.
2022-06-16 13:40:39 +03:00
Onuray Sahin
b558d14a48
Create fake room services.
2022-06-16 13:40:00 +03:00
Onuray Sahin
94c0a020fb
Rename test data class.
2022-06-16 13:39:32 +03:00
Adam Brown
c6bae6812d
adding unavailable homeserver error messaging in the registration page
2022-06-16 11:18:38 +01:00
Adam Brown
d71d37c1ce
adding tests around the result _on_ helper callbacks
2022-06-16 11:18:38 +01:00
Adam Brown
b25fd4a540
adding tests around the login error parsing
2022-06-16 11:18:38 +01:00
Adam Brown
f89b9305e8
handling the unavailable homeserver error case in the error formatting as this is now possible via full matrix id handling#
2022-06-16 11:18:38 +01:00
Adam Brown
3a97cfcc36
updating the selected homeserver when we detect a full matrix id within the username field in the login/register input fields
2022-06-16 11:18:37 +01:00