Commit graph

9640 commits

Author SHA1 Message Date
Adam Brown
c98fe59965 formatting 2022-04-13 14:45:20 +01:00
Benoit Marty
2761b35b6f
Merge pull request #5731 from t3chguy/t3chguy/fix-room-type-misuse
Don't wrongly show non-space invites in the space panel
2022-04-13 15:01:45 +02:00
Benoit Marty
5075775c56
Merge pull request #5744 from vector-im/feature/bma/dokka
Set up dokka to generate SDK documentation and cleanup the API
2022-04-13 14:49:10 +02:00
Maxime NATUREL
9d2c704aef Removing the BuildConfigField 2022-04-13 10:56:20 +02:00
Эдуард Гера
4131465ff6 Translated using Weblate (Hebrew)
Currently translated at 97.8% (2144 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-04-12 14:59:37 +00:00
Johan Smits
6f2cdd2a9d Translated using Weblate (Dutch)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-04-12 14:59:37 +00:00
Kagami Sascha Rosylight
4bc75b2574 Translated using Weblate (Korean)
Currently translated at 38.4% (842 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2022-04-12 14:59:34 +00:00
Maxime NATUREL
4c07405220 Create a const value for the height of message location item 2022-04-12 16:10:26 +02:00
Benoit Marty
23d2a290ab Global import optimization 2022-04-12 16:06:27 +02:00
Maxime NATUREL
46700723a8 Remove the noisy reformatting of MessageItemFactory 2022-04-12 15:55:15 +02:00
Maxime NATUREL
c3fe782eb5 Fixing overlay in bubble mode 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e50192910d Keep track of time out using last location event 2022-04-12 15:51:02 +02:00
Maxime NATUREL
d78ed3215b Adding support for notifications and message preview 2022-04-12 15:51:02 +02:00
Maxime NATUREL
78a9bdeb4c Making state beacon events displayable in timeline 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e2d56e2d87 Align corner radius of banner on map view 2022-04-12 15:51:02 +02:00
Maxime NATUREL
26f89fa5f8 Handling bubble mode view 2022-04-12 15:51:02 +02:00
Maxime NATUREL
3da3589d5c Creating factory for live location items 2022-04-12 15:51:02 +02:00
Maxime NATUREL
aabfc81816 Show start event of live without conditions 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e93e51d03c Adding new message item 2022-04-12 15:51:02 +02:00
Maxime NATUREL
a1fb85dcdb Creating layout for the new message item 2022-04-12 15:51:02 +02:00
Michael Telatynski
fd3bbabec5 Simplify solution based on pr feedback 2022-04-12 14:43:26 +01:00
Benoit Marty
c0aafab857 Move to the other package about crypto 2022-04-12 15:41:37 +02:00
Benoit Marty
e91541333c Move SecretShareRequest to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
e8bfbdd71a Move GossipingToDeviceObject to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
814ba43867 Move andThen extension to app module 2022-04-12 15:41:37 +02:00
Benoit Marty
1403557213 Move LocalizedFlowDataLoginTerms to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
74e475d92c Move CryptoConstants to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
0f6b47e511 Move NewSessionListener to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
02cc9d6d4e Move InitialSyncStrategy to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
16c8296735 toQrCodeData() is now internal 2022-04-12 15:41:37 +02:00
Benoit Marty
3735ac307f Add entry to keyBackupService to expose deriveKey, which becomes internal
And format code
2022-04-12 15:41:37 +02:00
Benoit Marty
1402416338 Move MXUsersDevicesMap to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
f8d0a22edf Remove combineLatest from SDK, and cleanup 2022-04-12 15:41:37 +02:00
Benoit Marty
363524b556 Move ForwardedRoomKeyContent to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
47dad42f08 Move RoomKeyShareRequest to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
9190b8b67f Move DefaultBaseAuth to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
c51967453f Move DevicesListResponse to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
ed8097ed92 Create Settings module to add interface for LightweightSettingsStorage 2022-04-12 15:41:37 +02:00
Benoit Marty
a054080cee Move OlmDecryptionResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
897c711afb Move OutgoingRoomKeyRequest to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
4799326058 Move IncomingRoomKeyRequest to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
e6bc6305aa Move MegolmBackupCreationInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
af2825eb39 Move DeviceInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
e9161dd4af Move IncomingSecretShareRequest to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
7644bd46ad Move IncomingRequestCancellation to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
e6fc723bee Move KeysVersion to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
97c1929e12 Move KeysBackupLastVersionResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
36fd5706c2 Move KeysBackupVersionTrust to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
229547fa49 Move KeysVersionResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
4b7401062a Move ImportRoomKeysResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
1bc6bec973 Move Base64 facility to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
d8eac14294 MoshiProvider is now internal. Create MatrixJsonParser to expose it to the app. 2022-04-12 15:38:20 +02:00
Benoit Marty
b1f4aa91e2 Move Fingerprint to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
0720196ee6 Move CryptoDeviceInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
c9bbf6c53a Move RecoveryKey functions to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
d4ff273bc4 Move TermsResponse to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
627a1291b0 Move awaitCallback() extension to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
ccce552097 Move md5() extension to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
0cb770334c Move content data class to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
a3575fbc6b Move PrivateKeysInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
3895ac85d8 Move SyncService to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
1684ba1d14 Move ElementToDecrypt to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
24d044b147 Move DeviceTrustLevel, DeviceTrustResult and UserTrustResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
73d22d0622 Move SpacePeekResult to api package, and cleanup 2022-04-12 15:38:20 +02:00
Benoit Marty
83570dc24b Move TextContent class to api package
It is used by the app. Make the extensions internal
2022-04-12 15:38:20 +02:00
aringenbach
047a45d77f
Add a setting to be able to always appear offline (#5583)
Add a setting to be able to always appear offline
Move presence enabling to a app-only preference
2022-04-12 12:08:56 +02:00
David Langley
454a65602b
Merge pull request #5639 from vector-im/feature/dla/uisi_match_web_implementation
Align Autorageshake with web implementation
2022-04-12 10:36:43 +01:00
David Langley
363afd0089 Update naming to InitialSyncProgressing for clarity. 2022-04-12 09:35:35 +01:00
Benoit Marty
836a12d047
Merge pull request #5719 from vector-im/feature/bma/improved_logs
Do not cancel the current sync request when the app goes to background
2022-04-12 09:23:24 +02:00
Adam Brown
417a0d683c
Merge pull request #5725 from vector-im/sync-analytics-plan
Sync analytics plan
2022-04-11 16:47:43 +01:00
Adam Brown
c68045360e
Merge pull request #5736 from vector-im/feature/adm/confetti-z-order
Fixing onboarding confetti Z order
2022-04-11 16:12:54 +01:00
Adam Brown
a9df474067 fixing confetti rendering behind the onscreen text by changing z order 2022-04-11 13:20:31 +01:00
Adam Brown
4d65c42967 updating the posthog dev environment credentials 2022-04-11 11:57:00 +01:00
Michael Telatynski
51c0ff7b7a Don't wrongly show non-space invites in the space panel 2022-04-11 11:32:39 +01:00
ganfra
53c7cec55d
Merge pull request #5475 from SpiritCroc/readmarkerline
Fix some cases where the read marker line would not show up when it should
2022-04-11 11:12:13 +02:00
bmarty
9eb9b0b880 Sync analytics plan 2022-04-11 00:05:15 +00:00
Piotr Strebski
323954be33 Translated using Weblate (Polish)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-09 12:59:38 +00:00
Besnik Bleta
b4e8b07381 Translated using Weblate (Albanian)
Currently translated at 99.4% (2177 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-04-09 12:59:34 +00:00
ClaireG
f8a3f7ffac
Fix room name of DM in room creation item 2022-04-08 17:14:41 +02:00
Adam Brown
5f9d3e107d moving ftue ems url to the urls config file 2022-04-08 13:17:56 +01:00
Adam Brown
a2bcbfb7c7 extracting server information rendering to a reusable method to reduce duplication and better enforce consistency 2022-04-08 13:16:29 +01:00
Adam Brown
05a7d40950 extracting view setup to its own method -
follows other ftue fragment conventions
2022-04-08 13:16:29 +01:00
Adam Brown
6304d5dc93 creating a common type for the edit/selecting of homeserver urls to avoid duplication in the model 2022-04-08 13:16:29 +01:00
Adam Brown
f70d61321c renaming extension to help with discoverability 2022-04-08 13:16:29 +01:00
Adam Brown
21102a2f9f renaming homeserver url properties to better define their content 2022-04-08 13:16:29 +01:00
Adam Brown
0ce2012b83 adding link to ems copy 2022-04-08 13:16:29 +01:00
Adam Brown
2ba3bd3375 addressing line length 2022-04-08 13:16:29 +01:00
Adam Brown
1d92b4293b launching the ems site when tapping get in touch 2022-04-08 13:16:29 +01:00
Adam Brown
89f182ac35 adding missing IME handling for the register next focus and server selection submit 2022-04-08 13:16:29 +01:00
Adam Brown
c022a38dd4 checking the input field content for emptyness rather than its child count, fixes flaky initial value setting 2022-04-08 13:16:29 +01:00
Adam Brown
8b2e2a16e2 adding tests around the editing of the homeserver url 2022-04-08 13:16:29 +01:00
Adam Brown
e9f50038a4 splitting the homeserver edit from the selection so that we can handle the cases differently 2022-04-08 13:16:29 +01:00
Adam Brown
1e520121ce renaming update homeserver to select homeserver
- should better reflect this steps mvoes the onboarding process forwards
2022-04-08 13:16:29 +01:00
Adam Brown
f34df3997d extracting the authentication start logic to a dedicated use case
- moves some of the homeserver specific state to the selectServer model
2022-04-08 13:16:29 +01:00
Adam Brown
51c294a6fc launching the edit selection from the ftue variant entry point 2022-04-08 13:16:29 +01:00
Adam Brown
985dbfe97d keeping the http:// schema in the server selection input field
- helps to highlight a non secture connection, for https we strip the prefix
2022-04-08 13:16:29 +01:00
Adam Brown
7f90dda96f adding dedicated server selection state to onboarding state
- replaces previous separately url strings with state usage
- makes use of the state for updating the sign up and server selection fields
2022-04-08 13:16:29 +01:00
Adam Brown
c3cf22158b adding barebones server selection UI 2022-04-08 13:16:29 +01:00
Priit Jõerüüt
c54a124d34 Translated using Weblate (Estonian)
Currently translated at 99.9% (2188 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-04-07 20:00:04 +00:00
Ihor Hordiichuk
7ae42d81c1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-04-07 20:00:01 +00:00
lvre
9fb71130a4 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-04-07 19:59:57 +00:00
LinAGKar
9e39df111d Translated using Weblate (Swedish)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-04-07 19:59:53 +00:00
Danial Behzadi
0167e3a222 Translated using Weblate (Persian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-04-07 19:59:49 +00:00
Jeff Huang
fca0b042e8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-04-07 19:59:47 +00:00
maciejek997
de109c9772 Translated using Weblate (Polish)
Currently translated at 97.4% (2135 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-07 19:59:46 +00:00
Piotr Strebski
833798bd25 Translated using Weblate (Polish)
Currently translated at 97.4% (2135 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-07 19:59:45 +00:00
waclaw66
d538e2d9a9 Translated using Weblate (Czech)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-04-07 19:59:39 +00:00
Jozef Gaal
8b125923e9 Translated using Weblate (Slovak)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-04-07 19:59:37 +00:00
random
f2bbcddd5f Translated using Weblate (Italian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-04-07 19:59:34 +00:00
Linerly
23cdd4fac3 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-04-07 19:59:33 +00:00
fedrunov
504a242775
tracking number of spaces user joined (#5300) 2022-04-07 16:43:41 +02:00
fedrunov
eab3e5aefa
don't leave DMs when leaving all rooms in space (#5720) 2022-04-07 15:16:12 +02:00
Eric Decanini
45104f8cec
Merge pull request #5586 from vector-im/feature/eric/audio-files-player
Audio files in the timeline now appear with the audio player
2022-04-07 10:25:58 +01:00
Benoit Marty
90616de89d Those log must be visible in the rageshake, even when verbose log is not enabled 2022-04-07 09:30:18 +02:00
Benoit Marty
c17599604b The string ftue_auth_carousel_workplace_body was declared not translatable by mistake 2022-04-06 15:50:03 +02:00
Benoit Marty
9c1cdf6488
Merge pull request #5703 from vector-im/feature/bma/avoid_error_log
Feature/bma/avoid error log
2022-04-06 15:08:20 +02:00
Onuray Sahin
2a42eb8c87
Merge pull request #5697 from vector-im/feature/ons/live_location_pulse
Live Location Sharing - Send location data
2022-04-06 15:35:02 +03:00
Benoit Marty
26e80ba70b KeysBackup: Better handling of 404 to avoid error log 2022-04-06 12:38:52 +02:00
Benoit Marty
e8f421fe34 Create Event.isLocationMessage() 2022-04-06 11:17:55 +02:00
Benoit Marty
e27dcbc9b9 Create Event.getMsgType() extension 2022-04-06 11:15:01 +02:00
Benoit Marty
45bd1061d2 Small optimization 2022-04-06 11:06:43 +02:00
Benoit Marty
24915591f2 Avoid error log when the Event is not a LocationEvent 2022-04-06 11:04:58 +02:00
Benoit Marty
c849cc5c5d
Merge pull request #5079 from vector-im/feature/bma/konfetti2
WIP and low priority: upgrade konfetti to 2.0.2
2022-04-06 10:00:09 +02:00
ericdecanini
d9f2033a38 Removes unused import 2022-04-06 07:50:07 +01:00
ericdecanini
415985094a Removes underline in audio filename 2022-04-06 07:25:30 +01:00
Benoit Marty
02401f7f3d Version++ 2022-04-05 22:37:16 +02:00
Benoit Marty
fd76db9616 Update test 2022-04-05 22:16:42 +02:00
Benoit Marty
0f14652932
Merge pull request #5692 from vector-im/feature/aris/threads_beta_infrom_users_on_reply
Threads Beta opt-in mechanism
2022-04-05 20:40:16 +02:00
ariskotsomitopoulos
598892de53 Injecting stringProvider instead of context in ThreadsManager class 2022-04-05 20:53:11 +03:00
ariskotsomitopoulos
37dc77cc3e Add isValid check to RealmChangeListener to prevent crashes on deleted objects 2022-04-05 20:36:33 +03:00
ariskotsomitopoulos
59d87df0ca Add string resource comment 2022-04-05 19:44:01 +03:00
ariskotsomitopoulos
5ee2579efc Revert "Remove duplicate learn more string resources"
This reverts commit 2ac3306382.
2022-04-05 19:39:13 +03:00
ariskotsomitopoulos
72d4c7612a Revert comment change 2022-04-05 19:39:11 +03:00
Onuray Sahin
e0d59efd86 Secure list while sending the location. 2022-04-05 19:08:11 +03:00
Benoit Marty
c76dc7b62f
Update vector/src/main/res/values/strings_login_v2.xml
Fix typo
2022-04-05 17:40:27 +02:00
Benoit Marty
fac317d122
Merge pull request #5647 from vector-im/feature/aris/threads_beta_feedback
Feature/aris/threads beta feedback
2022-04-05 17:25:29 +02:00
Benoit Marty
ca418afcbb
Merge pull request #5614 from vector-im/feature/aris/threads_ui_enhancements
Feature/aris/threads UI enhancements
2022-04-05 17:21:53 +02:00
ericdecanini
355db98146 Updates some text sizes and colours in audio timeline item 2022-04-05 16:09:48 +01:00
ericdecanini
dc36301070 Improves accessibility on MessageAudioItem 2022-04-05 16:01:37 +01:00
Maxime NATUREL
bebe819c54
Merge pull request #5671 from vector-im/feature/mna/PSF-673-live-loc-share-duration
#5667: [Location Sharing] - Set duration of live sharing
2022-04-05 16:13:26 +02:00
Aris Kotsomitopoulos
d484ba07cd
Merge pull request #5594 from vector-im/feature/aris/thread_root_permalink_navigation
Improve permalink on thread root message
2022-04-05 16:39:46 +03:00
ariskotsomitopoulos
6e06aed627 Merge branch 'develop' into feature/aris/threads_ui_enhancements
# Conflicts:
#	vector/src/main/res/menu/menu_timeline.xml
2022-04-05 16:32:49 +03:00
ericdecanini
76b2cfdf40 Readds onPermissionDeniedSnackbar import in TimelineFragment 2022-04-05 14:30:57 +01:00
ariskotsomitopoulos
a269aa5046 Remove unused elevation 2022-04-05 16:29:54 +03:00
ariskotsomitopoulos
858623b5a4 Change default threads beta visibility 2022-04-05 16:26:42 +03:00
Piotr Strebski
157a14fdc2 Translated using Weblate (Polish)
Currently translated at 93.3% (2044 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:43 +00:00
maciejek997
bad0c0a2e1 Translated using Weblate (Polish)
Currently translated at 93.3% (2044 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:43 +00:00
Piotr Strebski
7dd56244a9 Translated using Weblate (Polish)
Currently translated at 93.2% (2043 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:20 +00:00
maciejek997
99ad49498d Translated using Weblate (Polish)
Currently translated at 93.2% (2043 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:20 +00:00
Piotr Strebski
67159f7dc9 Translated using Weblate (Polish)
Currently translated at 93.2% (2042 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:03 +00:00