Commit Graph

9566 Commits

Author SHA1 Message Date
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
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
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
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
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