Commit graph

8958 commits

Author SHA1 Message Date
Benoit Marty
0fbad92e8b ktlint 2022-04-15 13:06:53 +02:00
Benoit Marty
a39516534a Initial sync dialog will now come later. It allows to unignore several user without performing an initial sync each time. 2022-04-15 12:52:56 +02:00
Benoit Marty
6b9f2965da Request an initial sync when a user is unignored (#1899) 2022-04-15 12:07:28 +02:00
Adam Brown
e58677a104
Merge pull request #5763 from vector-im/feature/adm/server-selection-errors
FTUE - Server selection errors
2022-04-14 17:22:58 +01:00
Eric Decanini
ace8ae6a37
Merge pull request #5766 from vector-im/bugfix/eric/joining-space-landing
Changes destination when joining space to explore space rooms
2022-04-14 17:58:31 +02:00
Adam Brown
dc5902e8f5
Merge pull request #5737 from vector-im/feature/adm/ftue-captcha
FTUE - Registration Captcha and T&Cs screens
2022-04-14 16:42:25 +01:00
Benoit Marty
97f2206f2a
Merge pull request #5767 from vector-im/feature/bma/unignore_user
Unignore user must perform an initial sync
2022-04-14 17:31:32 +02:00
Benoit Marty
a171a29bf1
Merge pull request #5762 from vector-im/feature/bma/dokka_2
Make some data class immutable
2022-04-14 17:17:55 +02:00
Benoit Marty
c58b8acdcc
Merge pull request #5765 from chagai95/fix-setting-transfer-title
Fix setting transfer title
2022-04-14 17:11:09 +02:00
ericdecanini
8b893c4106 Collapses some named arguments on OpenRoomList startActivity 2022-04-14 16:49:32 +02:00
Benoit Marty
b1cff1a5e8 Remove unused code 2022-04-14 16:47:34 +02:00
Benoit Marty
0bc557640a Perform an initial sync after un-ignoring a user, from the slash command (#3439) 2022-04-14 16:45:37 +02:00
ericdecanini
431651ba2f Adds named parameters to OpenRoomList startActivity 2022-04-14 16:39:55 +02:00
Onuray Sahin
aa55b1f6b3
Merge pull request #5758 from vector-im/feature/ons/live_location_stop_sharing
Live Location Sharing - Update beacon info state event when sharing is ended
2022-04-14 17:12:50 +03:00
Adam Brown
47b2ae5dfd updating privacy policy title 2022-04-14 14:55:02 +01:00
Benoit Marty
8da5016767 Rename val 2022-04-14 15:50:58 +02:00
Benoit Marty
a712ffee68 data class 2022-04-14 15:34:50 +02:00
Benoit Marty
9c132a3244 Perform an initial sync after un-ignoring a user, from the room member screen (#3439) 2022-04-14 15:26:55 +02:00
Onuray Sahin
f49e7d9619 Code review fixes. 2022-04-14 16:23:43 +03:00
Benoit Marty
6d741c3844 Perform an initial sync after un-ignoring a user (#3439) 2022-04-14 15:17:29 +02:00
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
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
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
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
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
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