Commit graph

9854 commits

Author SHA1 Message Date
Benoit Marty
1b95cd537b Simplify ViewState 2022-04-14 15:11:46 +02:00
Benoit Marty
1468edd2f9 One class per file 2022-04-14 15:09:26 +02:00
Szimszon
d1db9a70f3 Translated using Weblate (Hungarian)
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/hu/
2022-04-14 13:08:57 +00:00
Jeanne Lavoie
7441dad1c0 Translated using Weblate (French)
Currently translated at 99.7% (2185 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-04-14 13:08:55 +00:00
Jiri Grönroos
c8aaeea7f2 Translated using Weblate (Finnish)
Currently translated at 84.2% (1844 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-04-14 13:08:53 +00:00
Mawoka
ebb2c7a250 Translated using Weblate (German)
Currently translated at 98.3% (2153 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-04-14 13:08:50 +00:00
Zet
6cb4eb7d49 Translated using Weblate (Arabic)
Currently translated at 32.5% (713 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-04-14 13:08:49 +00:00
ericdecanini
84960a77a5 Changes notification join space destination to explore rooms 2022-04-14 15:06:50 +02:00
Adam Brown
7f7b75cae9 removing nullable padding parameter in favour of callers handling nullability 2022-04-14 14:02:30 +01:00
chagai95
2296b89faf
Add title string in MaterialToolbar
which was added later to xml
2022-04-14 14:57:29 +02:00
chagai95
eb44a3ccb6
Remove unused line 2022-04-14 14:55:43 +02:00
Benoit Marty
04045d2b30 Improve dialog when un-ignoring user. Add title and change button labels 2022-04-14 14:55:02 +02:00
Adam Brown
55c981f18b adding back sign mode setting to fix crash when using legacy other flow 2022-04-14 12:37:46 +01:00
Adam Brown
be22be53df fixing line length 2022-04-14 12:23:35 +01:00
ericdecanini
538e6e453f Changes destination after joining space from hamburger invite 2022-04-14 13:22:54 +02:00
Adam Brown
1b33c03d91 lifting unavailable homeserver condition to the other error types 2022-04-14 12:01:23 +01:00
Adam Brown
a34b424b7b updating the server selection on non Edit/Select events
- such as deeplinks
- extracts a common function
2022-04-14 11:46:34 +01:00
Adam Brown
ee693b5ad4 flattening loading state to the handle entry points, reducing duplication 2022-04-14 11:27:13 +01:00
Adam Brown
5001be9f21 adding test around editing error flow and reducing initial test state setup boilerplate 2022-04-14 11:05:02 +01:00
Adam Brown
c9e0868917 passing the authenication start trigger instead of relying on the mutable last action state 2022-04-14 11:04:34 +01:00
Adam Brown
197df34097 only setting selected homeserver state after a successful start registration when editing 2022-04-14 10:03:45 +01:00
Benoit Marty
015438289e Immutable data class. var -> val 2022-04-13 19:29:53 +02:00
Onuray Sahin
137d5e4093 Set live as false when live location sharing is times up. 2022-04-13 20:10:24 +03:00
Eric Decanini
9b7e94ebab
Fixes myroomnick changing Display Name (#5618) 2022-04-13 18:35:33 +02:00
Adam Brown
86b87e12d7 flattening nested loading state changes to avoid flashing 2022-04-13 17:27:04 +01:00
Adam Brown
10be592094 flattening nested scope.launch 2022-04-13 17:17:41 +01:00
Maxime NATUREL
e109319b1e
Merge pull request #5752 from vector-im/feature/mna/live-location-disabled-by-default
Disable live location sharing feature by default in debug config
2022-04-13 17:56:00 +02:00
Adam Brown
c7065fc123 splitting the success action from the handleRegisterAction, allowing the homeserver editing to start the registation flow 2022-04-13 16:54:16 +01:00
Adam Brown
36ad59dc0f handling server urls as texturis to avoid auto spacing and applying errors to the input field error section 2022-04-13 16:52:12 +01:00
Onuray Sahin
33e735cbdd Stop live location sharing. 2022-04-13 17:00:37 +03:00
Adam Brown
77da82c310 removing confusing comment questions and fixing xml formatting 2022-04-13 14:56:43 +01:00
Adam Brown
1ba838a58d inverting quick returns and inlining logic since the scope is small 2022-04-13 14:56:43 +01:00
Adam Brown
45f6633e49 cleaning up the captcha webview logic, extracting function, removing redundant comments 2022-04-13 14:56:42 +01:00
Adam Brown
4e56136993 extracting common fragment behaviour to a function 2022-04-13 14:50:11 +01:00
Adam Brown
215cac2aec extracting helper for setting horizontal padding 2022-04-13 14:50:11 +01:00
Adam Brown
1f6068976d updating terms ids and applying design specified colours to the checkbox 2022-04-13 14:50:11 +01:00
Adam Brown
059b2a5424 updating copy and spacing to match designs 2022-04-13 14:50:11 +01:00
Adam Brown
f45de34db4 dynamically setting the terms item padding 2022-04-13 14:50:11 +01:00
Adam Brown
06147967a4 creating a ftue version of the policy fragment 2022-04-13 14:50:11 +01:00
Adam Brown
11dbd0e80c renaming the terms fragment in prep to duplicate with the new style 2022-04-13 14:50:11 +01:00
Adam Brown
f4747aa069 styling the captcha wth the update designs 2022-04-13 14:50:11 +01:00
Adam Brown
863b4b810f duplicating the captcha fragment to style separately for the combined register flow 2022-04-13 14:50:11 +01:00
Adam Brown
81a325b769 extracting the captcha webview logic to a reusable class 2022-04-13 14:50:11 +01:00
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
ariskotsomitopoulos
9414a29b80 Add Cancelled state to UIA 2022-04-11 15:38:18 +03: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
ariskotsomitopoulos
7e67f3c88b Fix Deactivation account loader 2022-04-07 16:05:49 +03:00
ariskotsomitopoulos
79f5a7c666 Fix crash when user navigates back 2022-04-07 14:37:18 +03: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
ganfra
ed84e38a9b Suspend api: continue moving away from callback 2022-04-06 19:02:45 +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
maciejek997
aaf3f080d0 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
Piotr Strebski
5e03526717 Translated using Weblate (Polish)
Currently translated at 93.1% (2041 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:11:46 +00:00
maciejek997
2e81f2ab2a Translated using Weblate (Polish)
Currently translated at 93.1% (2041 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:11:46 +00:00
Piotr Strebski
3d9974ed82 Translated using Weblate (Polish)
Currently translated at 93.1% (2039 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:10:42 +00:00
m1chj
be3b75e136 Translated using Weblate (Polish)
Currently translated at 93.1% (2039 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:10:42 +00:00
maciejek997
da32eb8a99 Translated using Weblate (Polish)
Currently translated at 93.1% (2039 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:10:42 +00:00
Piotr Strebski
2b9dd88554 Translated using Weblate (Polish)
Currently translated at 92.7% (2031 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:06:11 +00:00
maciejek997
b19b100150 Translated using Weblate (Polish)
Currently translated at 92.7% (2031 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:06:11 +00:00
m1chj
8f751af7e4 Translated using Weblate (Polish)
Currently translated at 92.6% (2030 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:05:13 +00:00
Piotr Strebski
232c400c08 Translated using Weblate (Polish)
Currently translated at 92.6% (2030 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:05:13 +00:00
maciejek997
3d64f13c7e Translated using Weblate (Polish)
Currently translated at 92.6% (2030 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:05:13 +00:00
Onuray Sahin
dbb43fe046 Refactor code to avoid force unwrapping. 2022-04-05 15:42:01 +03:00
ariskotsomitopoulos
aef4cce3e7 Format code ordering 2022-04-05 14:51:38 +03:00
ariskotsomitopoulos
b5f8d2c91f Update string resource 2022-04-05 14:50:18 +03:00
ariskotsomitopoulos
eecaf9602d Add urls.xml in vector-config 2022-04-05 14:12:32 +03:00
ariskotsomitopoulos
6567628b95 Format code 2022-04-05 14:02:41 +03:00
ariskotsomitopoulos
35a526a482 Improve comment format 2022-04-05 14:02:08 +03:00
ariskotsomitopoulos
e3ac5ad8c1 Remove extra space 2022-04-05 14:01:14 +03:00
ariskotsomitopoulos
2ac3306382 Remove duplicate learn more string resources 2022-04-05 13:56:12 +03:00
Weblate
587752dffe Merge branch 'origin/develop' into Weblate. 2022-04-05 10:55:25 +00:00
ariskotsomitopoulos
7662abc5f7 Add learn more to string resources 2022-04-05 13:36:44 +03:00
ariskotsomitopoulos
2bb6e77be0 Rename displayThreadsBetaNotice method 2022-04-05 13:10:59 +03:00
Onuray Sahin
db45ebd012 Lint fixes. 2022-04-05 13:05:09 +03:00
Onuray Sahin
c26c9ff1cc Send live location data. 2022-04-05 12:49:12 +03:00
fedrunov
e2481fa8e6
metrics for IA project (#5399) 2022-04-05 09:28:31 +02:00
fedrunov
0664afdf9a
Update Spaces menu ordering and capitalisation (#5539) 2022-04-05 09:27:39 +02:00
Aris Kotsomitopoulos
8c9d2410b1
Merge pull request #5688 from vector-im/feature/aris/threads_main_timeline_messages_layout
Improved thread rendering in the main timeline
2022-04-04 23:22:51 +03:00
ariskotsomitopoulos
031c1b409b Implement Beta opt-in mechanism to inform users about threads. 2022-04-04 19:51:47 +03:00
ericdecanini
d0155c9890 Adds proper handling of audio seek bar 2022-04-04 16:17:41 +01:00
Benoit Marty
4f27ab263f Update parameters 2022-04-04 16:08:56 +02:00
Benoit Marty
a0899477e9 Try with 2.0.2 2022-04-04 15:19:26 +02:00
Benoit Marty
9050c488e4 konfetti 2.0.1
Does not compile
2022-04-04 15:19:26 +02:00
Benoit Marty
3b8ffcf8a9
Merge pull request #5684 from vector-im/sync-analytics-plan
Sync analytics plan
2022-04-04 15:00:57 +02:00
Onuray Sahin
ff34ed9eb2
Merge pull request #5660 from vector-im/feature/ons/live_location_banner_visibility
Show a banner in timeline while location sharing service is running
2022-04-04 12:55:50 +03:00
Onuray Sahin
48d40d8ba2
Merge pull request #5651 from vector-im/feature/ons/live_location_beacon_info
Live Location Sharing - Beacon Info
2022-04-04 12:55:22 +03:00
NIkita Fedrunov
4c059e7819 add text to spinner when click on space member (dm) 2022-04-04 09:49:47 +02:00
bmarty
921b562fd0 Sync analytics plan 2022-04-04 00:02:56 +00:00
Sveinn í Felli
e1a08b82a3 Translated using Weblate (Icelandic)
Currently translated at 84.0% (1824 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-04-02 20:59:30 +00:00
waclaw66
5fcc3a9955 Translated using Weblate (Czech)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-04-02 20:59:30 +00:00
Adam Brown
3aac59a5ae
Merge pull request #5080 from vector-im/feature/adm/encrypted-last-message
Updating encrypted room list message previews on key updates
2022-04-01 17:48:05 +01:00
Florian Renaud
45eb3bcbc5
Merge pull request #5649 from vector-im/hotfix/fre/rageshake_no_session
Replace "open settings" button by "disable" action in RageShake dialog if there is no session
2022-04-01 17:56:49 +02:00
ganfra
9c6fccab1d Suspend API: continue moving verifications 2022-04-01 17:49:44 +02:00
Benoit Marty
b894a58849
Merge pull request #5675 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.46
Bump libphonenumber from 8.12.45 to 8.12.46
2022-04-01 17:49:03 +02:00
Onuray Sahin
97de6de8f2 Code review fixes. 2022-04-01 17:04:52 +03:00
Florian Renaud
4d37aa232f Replace "open settings" button by "disable" action in RageShake dialog if there is no session 2022-04-01 15:46:29 +02:00
ericdecanini
34dcd70a64 Adds layout with seek bar to audio stub 2022-04-01 15:15:12 +02:00
Adam Brown
5120e7a8c6 updating feature flag name to match feature name in other places 2022-04-01 13:13:29 +01:00
Onuray Sahin
922d68cfda Code review fixes, use unstable prefixes as MSCs suggest. 2022-04-01 15:01:25 +03:00
Эдуард Гера
3e3ddf706b Translated using Weblate (Hebrew)
Currently translated at 98.8% (2146 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-04-01 11:59:31 +00:00
Sveinn í Felli
49862d89a6 Translated using Weblate (Icelandic)
Currently translated at 83.9% (1822 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-04-01 11:59:31 +00:00
ariskotsomitopoulos
be77363c34 Improved thread rendering in the main timeline 2022-04-01 12:53:28 +03:00
Onuray Sahin
5ec63858ed Refactor location sharing view events. 2022-04-01 12:31:51 +03:00
Maxime NATUREL
de59f9fb66 Fixing background color and divider 2022-04-01 09:59:32 +02:00
dependabot[bot]
224eb7a968
Bump libphonenumber from 8.12.45 to 8.12.46
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.45 to 8.12.46.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.45...v8.12.46)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-31 23:08:28 +00:00
Adam Brown
13fb4e52af extracting hardcoded error message to the resources 2022-03-31 18:07:27 +01:00
Adam Brown
801fb90f7b using a consistent name for the combined register screens and events
- also adds a missing tag to the fragment adding
2022-03-31 18:04:13 +01:00
Adam Brown
c45c421e48 adding docs around the realigning of constraint layout child percentages 2022-03-31 17:56:22 +01:00
Adam Brown
468a81e1c3 fixing type in debug key names 2022-03-31 17:50:43 +01:00
Adam Brown
4c1c9a5af7 fixing new file header date 2022-03-31 17:50:21 +01:00
Adam Brown
32b54e1e9c using continuation copy for combined sign up SSO buttons 2022-03-31 17:50:20 +01:00
Adam Brown
aa5054cddf defaulting the password field to the password type by default in xml 2022-03-31 17:50:20 +01:00
Adam Brown
c83882d903 updating debug switch copy to better reflect the feature 2022-03-31 17:50:20 +01:00
Adam Brown
d302875fb7 providing more context to screen opening function 2022-03-31 17:50:20 +01:00
Adam Brown
12ae35f5ac reordering methods to match usage
- also ports the Sso listener to a functional interface
2022-03-31 17:50:20 +01:00
Adam Brown
bc4566da4d temporarily hiding the server selection edit button whilst building out the server selection screen 2022-03-31 17:50:20 +01:00
Adam Brown
53675b599d reducing the edit button min width in order to match designs
- we rely on the text size and padding instead
2022-03-31 17:50:20 +01:00
Adam Brown
e8791fb3cf renaming reset action to also capture registering along with login 2022-03-31 17:50:20 +01:00
Adam Brown
c3ab895a54 adding missing inputType, fixes max lines and ime option not being taken into account 2022-03-31 17:50:20 +01:00
Adam Brown
585ac4bf1f extracting common textinputlayer interactions to their own extensions and providing a dedicated register action 2022-03-31 17:50:20 +01:00
Adam Brown
11983443fb replacing hardcoded strings with resources 2022-03-31 17:50:20 +01:00
Adam Brown
7e5c3df7a7 adding combined server selection/sign up fragment 2022-03-31 17:50:20 +01:00
Adam Brown
2cbbfca73f adding helper for recalculating percentage heights within a constraint layout
- this allows percentages to be used which make of the screen viewport rather than the accumulated scroll height
2022-03-31 17:50:20 +01:00
Adam Brown
b439322776 adding debug flag for enabling the new combined signup/choose server screen 2022-03-31 17:50:19 +01:00
Adam Brown
ced621d469 refreshing the room summaries when new crypto sessions are recieved
- matches the same flow as the timeline by starting observing in the ViewModel init
2022-03-31 17:23:05 +01:00
Aris Kotsomitopoulos
b9934d7239
Merge pull request #5666 from vector-im/feature/aris/threads_thread_list_loader
Add loader to thread list
2022-03-31 16:24:12 +03:00
Maxime NATUREL
cc6cb41eac Increase height of share button 2022-03-31 14:44:40 +02:00
Maxime NATUREL
0f5343a614 Removing unused interface 2022-03-31 14:44:40 +02:00
Maxime NATUREL
acef51e415 Fixing text color button in dark mode 2022-03-31 14:44:40 +02:00
Maxime NATUREL
a4b81524be Quit the location sharing screen after launching live location service 2022-03-31 14:44:40 +02:00
Maxime NATUREL
a6a494170e Use existing ResultListener interface 2022-03-31 14:44:40 +02:00
Maxime NATUREL
265dd4a0c3 Using resource dimensions for margins 2022-03-31 14:44:40 +02:00
Maxime NATUREL
c18a9230e5 UI to select the duration 2022-03-31 14:44:40 +02:00
Maxime NATUREL
5abc196536 Callback interface for the choice of the duration 2022-03-31 14:44:36 +02:00
Maxime NATUREL
4da11bbdc0 Renaming duration parameter to precise the time unit 2022-03-31 14:43:32 +02:00
Maxime NATUREL
d0a255819a Creating BottomSheet to choose the live duration 2022-03-31 14:43:32 +02:00
Maxime NATUREL
f34225506a Adding strings resources 2022-03-31 14:43:32 +02:00
Maxime NATUREL
d05d697831
Merge pull request #5661 from vector-im/feature/mna/5581-live-location-feature-flag
#5581: live location sharing feature flag
2022-03-31 14:11:07 +02:00
ariskotsomitopoulos
21541642ba Exclude NegativeMargin from linter 2022-03-31 14:35:37 +03:00
ariskotsomitopoulos
f8a909b014 Enhance naming 2022-03-31 14:07:49 +03:00
Onuray Sahin
fbbadc8138 Rebind location service when the previous sharing is stopped. 2022-03-31 13:45:46 +03:00
Benoit Marty
9a2cc1a4c5
Merge pull request #5664 from vector-im/feature/bma/dep_upgrade
Upgrade Jitsi and ktlint
2022-03-31 11:32:14 +02:00
Maxime NATUREL
167fcb5366 Directly use VectorFeatures inside Fragment 2022-03-31 11:25:30 +02:00
Benoit Marty
0fe3cc3acc
Merge pull request #5663 from cketti/fix_openOutputStream
Use truncate mode to replace the contents of existing files

`ContentResolver.openOutputStream(Uri)` does not truncate existing files. If the amount of data written is smaller than the file size, you end up with new data at the beginning of the file followed by old data at the end of the file.
2022-03-31 09:56:32 +02:00
fedrunov
856a110aee
Merge pull request #5531 from vector-im/feature/nfe/create_space_copy
"Add space" copy is replaced with "create space" in left sliding panel
2022-03-31 09:16:20 +02:00
ganfra
046699bc84 Suspend API: handle cross signing service 2022-03-30 17:35:33 +02:00
cketti
29c7ea11bd Create extension function Context.safeOpenOutputStream 2022-03-30 15:38:40 +02:00
Maxime NATUREL
9e3dc4c10f Fixing unit tests 2022-03-30 10:59:47 +02:00
Maxime NATUREL
f4ef4c2e61 Fixing attempt of unit tests 2022-03-30 10:49:43 +02:00
Maxime NATUREL
2b41096518 Fixing wrong method name calls 2022-03-30 10:48:12 +02:00
Maxime Naturel
90c53b9dd5 Remove non necessary DebugOverrides 2022-03-30 10:48:12 +02:00
Maxime Naturel
78b2ccb2b5 Using VectorFeatures instead of VectorOverrides 2022-03-30 10:48:07 +02:00
Maxime Naturel
cfce144b61 Using the override setting in the LocationSharing screen 2022-03-30 10:47:44 +02:00
Maxime Naturel
424f70bc58 Adding new override setting in the debug private settings 2022-03-30 10:47:44 +02:00