Commit Graph

9201 Commits

Author SHA1 Message Date
TarasSmakula 2839d1467f
Feature/5575 custom auth params for sign up (#5577)
Add a fun `RegistrationWizard.registrationCustom()` to be able to use any parameters during the registration.
Move terms converter into `api` package.
2022-04-21 20:02:27 +00:00
Benoit Marty 3ed6a90fde Fix sanity test after #5773 2022-04-21 21:08:28 +02:00
ariskotsomitopoulos e368046b84 Add KEYS_WITHHELD error type to analytics 2022-04-21 19:31:12 +03:00
ariskotsomitopoulos cc705d5458 Remove unused import 2022-04-21 17:23:00 +03:00
ariskotsomitopoulos cf8031bbc6 Remove unused comment 2022-04-21 17:14:25 +03:00
Maxime NATUREL 914db8c6be Removing BeaconInfo structure 2022-04-21 15:52:16 +02:00
Onuray Sahin 56b3e8aaa4 Merge branch 'develop' into feature/ons/voip_screen_sharing_permission
* develop: (107 commits)
  Fixes long line and comment lint errors
  Fixes lint errors
  Adds changelog file
  Formats entire project
  Adds changelog file
  Makes MediaType internal
  Bump libphonenumber from 8.12.46 to 8.12.47
  updating release version in preparation for next cycle
  generating changelog
  Replaces writeAsync with awaitTransaction
  Replaces doWithRealm with writeAsync
  Translated using Weblate (Polish)
  Translated using Weblate (Slovak)
  Crash: open private room by link. Use RoomId instead of the alias.
  Translated using Weblate (Arabic)
  Makes MediaFileUtils function internal
  Removes runCatching from TemporaryFileCreator
  using unix end of line character instead of windows as *nix OSes are more common dev environments
  remove spaces feedback from left panel (#5686)
  Translated using Weblate (French)
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/call/VectorCallViewModel.kt
2022-04-21 15:16:04 +03:00
Onuray Sahin 949d476623 Code review fixes. 2022-04-21 15:09:41 +03:00
Benoit Marty 729a2e6372 Move `pushrules` package to the `session` package 2022-04-21 12:30:11 +02:00
ericdecanini a5eca12824 Fixes long line and comment lint errors 2022-04-21 12:02:47 +02:00
Onuray Sahin 534d55a24e Fix import. 2022-04-21 13:00:51 +03:00
ericdecanini 8e569af60c Fixes lint errors 2022-04-21 11:54:29 +02:00
ericdecanini de899bbb18 Formats entire project 2022-04-21 11:50:15 +02:00
Benoit Marty 7f3e72b9cb
Merge pull request #5772 from vector-im/feature/bma/ignore_users
Delete Events from ignored users and trigger a clear cache request dialog when unignoring user(s)
2022-04-21 11:03:09 +02:00
Onuray Sahin 0693e3c3aa Add feature flag for screen sharing. 2022-04-21 11:56:05 +03:00
Onuray Sahin f9ee06cd2a Implement foreground service for Android Q and later. 2022-04-21 11:23:25 +03:00
Benoit Marty 7947d128fe
Merge pull request #5774 from vector-im/feature/bma/ignored_users_in_memberlist
Add a picto for ignored users in the room member list screen
2022-04-21 10:00:19 +02:00
Benoit Marty f4f9c85bf7
Merge pull request #5773 from vector-im/feature/bma/ignore_user_settings
Move "Ignored users" setting section into "Security & Privacy"
2022-04-21 09:59:32 +02:00
ariskotsomitopoulos d240e3c453 Enhance crypto posthog errors with more details 2022-04-20 16:40:12 +03:00
Onuray Sahin fa3476d6cd Create a foreground service during screen sharing. 2022-04-20 13:33:35 +03:00
Weblate a46630fd05 Merge branch 'origin/develop' into Weblate. 2022-04-20 08:16:01 +00:00
Jozef Gaal 7d4e647b3b 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-20 08:15:32 +00:00
ClaireG e0556cd5e6
Crash: open private room by link. Use RoomId instead of the alias. 2022-04-20 09:17:16 +02:00
Zet ebf821011b Translated using Weblate (Arabic)
Currently translated at 37.6% (825 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-04-19 16:59:37 +00:00
Onuray Sahin 99cab794c4 Show screen sharing permission dialog. 2022-04-19 17:47:06 +03:00
Onuray Sahin 00bbb94b3b Add screen sharing option to call menu. 2022-04-19 17:42:38 +03:00
Adam Brown 2d7b71f70d extracting stage ordering to its own class with test 2022-04-19 12:30:33 +01:00
Adam Brown 1a76b4d680 ordering the ftue onboarding steps to match the design flow
- only applied when the combined register flag is enabled
2022-04-19 11:56:13 +01:00
Adam Brown 5b01290057 extracting registration flow handling to its own function
- flattening nested ifs
- formatting
2022-04-19 11:41:17 +01:00
ariskotsomitopoulos 945d0ce035 Fix import ordering 2022-04-19 11:50:50 +03:00
ariskotsomitopoulos 459ae7276d Refactor packages 2022-04-19 11:36:59 +03:00
ariskotsomitopoulos b96adadf1b Merge branch 'develop' into feature/aris/fix_account_deactivation_issue
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/tasks/InitializeCrossSigningTask.kt
#	vector/src/main/java/im/vector/app/features/settings/account/deactivation/DeactivateAccountViewModel.kt
2022-04-19 11:06:43 +03:00
Aris Kotsomitopoulos abe07c73a4
Merge pull request #5775 from vector-im/feature/aris/threads_after_release_experience
Enhance user experience when home servers do not support threads.
2022-04-19 10:59:41 +03:00
fedrunov 48680c3e2d
remove spaces feedback from left panel (#5686) 2022-04-19 09:27:17 +02:00
Jozef Gaal cb577756f9 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-17 12:59:40 +00:00
Suguru Hirahara dc4f11a613 Translated using Weblate (Japanese)
Currently translated at 98.2% (2151 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2022-04-17 12:59:40 +00:00
Glandos fb3e037ed5 Translated using Weblate (French)
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/fr/
2022-04-17 12:59:38 +00:00
Zet f8a2b6cdf4 Translated using Weblate (Arabic)
Currently translated at 35.9% (787 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-04-17 12:59:38 +00:00
Lucas a17e5010f0 Translated using Weblate (French)
Currently translated at 99.9% (2189 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-04-15 21:59:34 +00:00
Zet e1bb4da978 Translated using Weblate (Arabic)
Currently translated at 32.8% (719 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-04-15 21:59:34 +00:00
Benoit Marty 948566c625
Merge pull request #5685 from vector-im/feature/nfe/space_member_spinner_text
add text to spinner when click on space member (dm)
2022-04-15 15:14:40 +02:00
Benoit Marty 09abab6ce3 Add a picto for ignored users in the room member list screen (#5764) 2022-04-15 14:17:35 +02:00
Benoit Marty 2fdf71db64 Tint the icon 2022-04-15 13:27:23 +02:00
Benoit Marty 68fe0516eb improve preview of this vector drawable 2022-04-15 13:18:55 +02:00
ariskotsomitopoulos d24ba65b5b Enhance user experience when home servers do not support threads. 2022-04-15 14:18:38 +03:00
Benoit Marty a50bf4582c Move "Ignored users" setting section into "Security & Privacy", as per Element Web 2022-04-15 13:14:03 +02:00
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 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