Commit Graph

8526 Commits

Author SHA1 Message Date
fedrunov d92e0e48f6 code review changes 2022-01-13 17:50:38 +01:00
Adam Brown a208b48c15
Merge pull request #4927 from vector-im/feature/adm/ftue-usecase
FTUE Use case UI/UX
2022-01-13 14:48:49 +00:00
Benoit Marty 1c948c19af
Merge pull request #4101 from vector-im/feature/bca/spaces_fix_3932
Add "Create room" shortcut in Explore Space screen
2022-01-13 13:44:35 +01:00
Adam Brown 18207da94e
Merge pull request #4918 from vector-im/feature/adm/lock-ftue-onboarding-to-portrait
Locking phones to portrait during FTUE onboarding
2022-01-13 12:42:59 +00:00
ganfra d06df45e85 Merge branch 'develop' into feature/fga/message_bubbles 2022-01-13 13:17:23 +01:00
ganfra 5ac155285b Bubbles: some clean up 2022-01-13 13:14:37 +01:00
Adam Brown c3ac60f563 fixing import ordering 2022-01-13 12:08:27 +00:00
Adam Brown b371e24d9f wrapping the use case into a scrollview to avoid overlapping on smaller devices 2022-01-13 12:00:59 +00:00
ganfra baee076e41 Bubbles: fix types using wrong layout 2022-01-13 12:33:58 +01:00
ganfra b9cc795996 Bubbles : fix background colors 2022-01-13 12:33:36 +01:00
Benoit Marty 457534b1df
Merge branch 'develop' into feature/bca/spaces_fix_3932 2022-01-13 12:04:47 +01:00
Adam Brown 807ceb74ad
Merge pull request #4914 from vector-im/feature/adm/ftue-carousel-disable-automatic-transitions
Disabling automatic carousel transitions on user interaction
2022-01-13 11:03:05 +00:00
Benoit Marty 1b24b9d764
Merge pull request #4895 from vector-im/feature/bma/empty_state_key
Avoid allowing null String for state_key.
2022-01-13 12:00:48 +01:00
Adam Brown 83af0d7bb9 moving the work in progress strings out of the production strings files to avoid translations before they're signed off 2022-01-13 10:57:04 +00:00
Adam Brown 1f876b9088 adding text to design preview for programatically set text 2022-01-13 10:39:34 +00:00
Adam Brown 47c9e75a77 making the text only buttons a button widget to give them touch feedback 2022-01-13 10:36:42 +00:00
Adam Brown f3cc7e9f0b adding reset use case action, is todo until the persistence is implemented 2022-01-13 10:30:40 +00:00
Adam Brown c3a7f6e7c8 reusing existing helper to replace partial in string template 2022-01-13 10:22:46 +00:00
Adam Brown 5d0c55b617 extracting usecase enum to its own file 2022-01-13 10:05:07 +00:00
Adam Brown 6f8533c7d6 locking the analytics opt in screen to portrait for phones 2022-01-13 09:46:28 +00:00
ganfra 37af93fba4 Bubbles: fix avatar/name visibility in modern layout 2022-01-12 19:22:14 +01:00
ganfra 32e72f54b3 Bubbles: add quick settings (temporary) 2022-01-12 19:01:13 +01:00
ganfra f7df0b891e Bubbles: fix recycling issue 2022-01-12 18:45:40 +01:00
ariskotsomitopoulos 53fecef2d4 Fix compilation error on TimelineFragment 2022-01-12 18:47:34 +02:00
ariskotsomitopoulos c049351130 Fix kltint errors 2022-01-12 18:30:43 +02:00
ariskotsomitopoulos 9d48ecea2f Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	.github/workflows/integration.yml
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewState.kt
2022-01-12 18:20:50 +02:00
Benoit Marty f8afe04a3b
Merge pull request #4842 from vector-im/feature/aris/integration_tests_improvement
Trying to fix integration tests
2022-01-12 17:11:16 +01:00
Jeff Huang 97ff707e06 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-01-12 15:26:22 +00:00
Ihor Hordiichuk 10c6153542 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-01-12 15:26:20 +00:00
Besnik Bleta b8f72879d3 Translated using Weblate (Albanian)
Currently translated at 99.4% (2715 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-01-12 15:26:18 +00:00
lvre 099c0ddc36 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-01-12 15:26:16 +00:00
random 3f81ec4d86 Translated using Weblate (Italian)
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-01-12 15:26:14 +00:00
Linerly b12cf686ef Translated using Weblate (Indonesian)
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-01-12 15:26:12 +00:00
Szimszon 95496a0cd7 Translated using Weblate (Hungarian)
Currently translated at 99.3% (2712 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-01-12 15:26:11 +00:00
Danial Behzadi bc003a547b Translated using Weblate (Persian)
Currently translated at 99.8% (2726 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-01-12 15:26:10 +00:00
waclaw66 cae2011d0e Translated using Weblate (Czech)
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-01-12 15:26:09 +00:00
Benoit Marty c194568b08
Merge pull request #4923 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.41
Bump libphonenumber from 8.12.40 to 8.12.41
2022-01-12 14:54:34 +01:00
Adam Brown 42e6c54e8f fixing line length 2022-01-12 13:51:53 +00:00
Benoit Marty ea6347b1c7 Add signing config for the release buildType. No secret added
To be able to test the release build sooner during the release process.
2022-01-12 14:07:51 +01:00
Adam Brown a7e8da4438 removing unused action instance (will be needed once we decide how to act on the use caseselection) 2022-01-12 12:30:15 +00:00
Adam Brown c29dc89756 typing the use case selections and binding the label and usecase type at the same time for visibility 2022-01-12 12:30:15 +00:00
Onuray Sahin ae8ca5356f Fix recyclerview issues on async map functions. 2022-01-12 15:14:13 +03:00
Adam Brown 878371cd9a fading the server selection when coming from the use case page 2022-01-12 12:06:10 +00:00
Adam Brown 0ba6f55ad4 aligning the use case image padding to the other onboarding pages 2022-01-12 12:06:10 +00:00
Adam Brown 8c67cc0076 only showing the use case screen for the sign up flow 2022-01-12 12:06:10 +00:00
Adam Brown 3d4caeaa75 extracting use case copy to the resources 2022-01-12 12:06:10 +00:00
Adam Brown 00bbede802 respecting the underline parameter by only applying an underline when it's set
- updates the default value to true and that was the existing intentional behaviour
2022-01-12 12:06:10 +00:00
Adam Brown b6ff6aa4cc adding barebones ftue use case fragment 2022-01-12 12:06:10 +00:00
Adam Brown 1ae112daae adding feature flag and entry point for the _wip_ usecase screen 2022-01-12 12:06:09 +00:00
Adam Brown 7cea0352f9 adding debug feature flag for the splash carousel 2022-01-12 12:05:37 +00:00
Benoit Marty c1d89c5304 Version++ 2022-01-12 12:56:19 +01:00
Benoit Marty 8038d40195 Prepare for hotfix release 1.3.14 2022-01-12 12:28:16 +01:00
Adam Brown 01ef46517e flattening branch to avoid empty code block 2022-01-12 09:16:46 +00:00
dependabot[bot] 1951130c43
Bump libphonenumber from 8.12.40 to 8.12.41
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.40 to 8.12.41.
- [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.40...v8.12.41)

---
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-01-11 23:07:26 +00:00
Adam Brown ce7a93bcae locking phones to portait during the ftue auth onboarding flow
- uses a resource bucket flag for determining if the device is big enough to be considered a tablet and in turn, enable a landscape experience
2022-01-11 17:28:29 +00:00
Adam Brown 672d4e591c disabling the automatic carousel transitions on user interaction
- extracts all the logic to its own extension
2022-01-11 16:54:37 +00:00
Benoit Marty 848a7f4062 Version++
Also add comment about the new versioning strategy
2022-01-11 17:44:04 +01:00
ariskotsomitopoulos 4560d748d3 Display encrypted messages in thread summary and in thread list 2022-01-11 17:52:14 +02:00
fedrunov 9fa38c5cc5 web version aliases 2022-01-11 16:21:56 +01:00
fedrunov 2aabbf0aa6 added aliases to commands 2022-01-11 16:21:51 +01:00
fedrunov 9ec662ccdc replace "kick" with "remove" 2022-01-11 16:21:42 +01:00
ganfra af542a8243 Bubbles: start adding "theming" mechanism 2022-01-11 15:38:58 +01:00
Valere 6798492cc3 Quick fix warning nullable 2022-01-11 14:56:31 +01:00
Valere aa7d284dd9 Post rebase fix 2022-01-11 14:56:31 +01:00
Valere 57b78a6223 code review 2022-01-11 14:56:31 +01:00
Valere b10bc7000a Update room badge when e2e misconfigured 2022-01-11 14:56:31 +01:00
Valere 74dfddeeea missing resource 2022-01-11 14:56:31 +01:00
Valere fca32da204 Code review 2022-01-11 14:56:31 +01:00
Valere 1fdb851845 open room profile for admin when clicked on notification area for e2e pb 2022-01-11 14:56:31 +01:00
Valere 38fbfad8d5 Code review 2022-01-11 14:56:31 +01:00
Valere 6b05e7a6bb Support misconfigured room encryption 2022-01-11 14:56:31 +01:00
ariskotsomitopoulos 753e3e7519 - fix ktlint format
- Update Threads toolbar UI
2022-01-11 15:31:21 +02:00
ariskotsomitopoulos 3bd21d04d8 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/TokenChunkEventPersistor.kt
#	tools/check/forbidden_strings_in_code.txt
2022-01-11 14:09:49 +02:00
Onuray Sahin 9ea30445ef Merge branch 'develop' into feature/ons/static_location
* develop: (281 commits)
  Add a comment about the workaround
  Remove deprecated restricted lab option (#4889)
  Bump actions/github-script from 3 to 5.1.0
  Add some missing language in the change language screen
  Workaround to not to reuse poll option cells.
  Olm lib is now hosted in MavenCentral. Upgrade to 3.2.10
  Changelog
  Test: Fix test after change on OnBoarding screens
  Test: Analytics opt-in
  Cleanup
  Revert "Disable automatic opt-in screen display."
  - Do not add GitHub comments on successful ktlint runs  - Remove already existing comments when ktlint succeed
  restore deprecated lab preference
  Update nb of enum classes
  Change autoUisi label + rename matching_issue
  code review
  Fix enabling was broken
  Simple rate limiting of RS sending
  use flow instead of reactivex
  Fix UISIS preference listener
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/attachments/AttachmentTypeSelectorView.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt
#	vector/src/main/res/layout/view_attachment_type_selector.xml
#	vector/src/main/res/values/strings.xml
2022-01-11 14:42:11 +03:00
Benoit Marty 51c764c2f3 Remove unused strings 2022-01-11 12:41:37 +01:00
Benoit Marty 5b1de70742
Merge pull request #4902 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-01-11 12:26:23 +01:00
Benoit Marty d2bad95044
Merge pull request #4904 from vector-im/feature/adm/ftue-copy-typo
Typo in carousel title
2022-01-11 12:15:59 +01:00
Adam Brown d485e69062
Merge pull request #4740 from vector-im/feature/adm/automatic-splash-carousel-transitions
Automatic carousel rotation
2022-01-11 11:14:41 +00:00
Adam Brown 71eaac39aa fixing typo in carousel title 2022-01-11 11:06:29 +00:00
ganfra f7c9b36cef Bubbles: continue exploration 2022-01-11 11:57:35 +01:00
Weblate 7cbaf92690 Merge branch 'origin/develop' into Weblate. 2022-01-11 09:08:49 +00:00
Benoit Marty 6a1940cdd2
Merge pull request #4896 from vector-im/feature/bma/add_languages
Add some missing languages in the change language screen
2022-01-11 10:04:02 +01:00
Benoit Marty f5291f4730 Add a comment about the workaround 2022-01-11 10:03:30 +01:00
Valere bf447afa5a
Remove deprecated restricted lab option (#4889)
Remove deprecated restricted lab option
2022-01-11 09:01:37 +00:00
Benoit Marty 008034895b
Merge pull request #4893 from vector-im/feature/ons/fix_create_poll_recyclerview
Workaround to not to reuse poll option cells
2022-01-11 10:00:16 +01:00
Weblate 175b8cc78b Merge branch 'origin/develop' into Weblate. 2022-01-11 08:54:39 +00:00
Benoit Marty 75541e0296 Add some missing language in the change language screen 2022-01-10 18:22:30 +01:00
Benoit Marty 7be01ab7ae Avoid allowing null String for state_key. Should always be an empty String according to the Matrix specification.
There is no functional change, just a change in the SDK API for clarity regarding the Matrix specs.
2022-01-10 17:47:27 +01:00
Valere 5cbb1d99c7 Code review 2022-01-10 17:38:35 +01:00
Valere 5c5f2766b6 post rebase fix 2022-01-10 17:17:35 +01:00
Valere 2dbe2b5f30 show/hide fab on scroll 2022-01-10 17:00:46 +01:00
Valere ff4bbf0a8a Add "Create room" shortcut in Explore Space screen 2022-01-10 17:00:32 +01:00
Onuray Sahin 5feafbdbf1 Workaround to not to reuse poll option cells. 2022-01-10 17:28:07 +03:00
Benoit Marty f368ec15d8
Merge pull request #4892 from vector-im/feature/bma/analytics_opt_in
Revert "Disable automatic opt-in screen display."
2022-01-10 15:03:19 +01:00
Benoit Marty d5968e442c Test: Fix test after change on OnBoarding screens 2022-01-10 14:31:29 +01:00
Benoit Marty a552be040d Test: Analytics opt-in 2022-01-10 14:16:58 +01:00
Benoit Marty 67c2f9ac51 Cleanup 2022-01-10 14:16:03 +01:00
Benoit Marty 6f348813a2 Revert "Disable automatic opt-in screen display."
This reverts commit 08def813cc.
2022-01-10 13:45:02 +01:00
ariskotsomitopoulos 1b41a72e72 Fix Quote from within a thread 2022-01-10 14:14:11 +02:00
ariskotsomitopoulos 6503412928 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/LocalEchoEventFactory.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
2022-01-10 13:26:57 +02:00
ariskotsomitopoulos e541636802 Make TimelineSettings aware of rootThreadEventId and welcome a new Thread mode for the timeline creation 2022-01-10 11:20:31 +02:00
Valere a047bcbabe restore deprecated lab preference 2022-01-10 09:46:11 +01:00
Valere 258d731102 Change autoUisi label + rename matching_issue 2022-01-10 09:41:51 +01:00
Valere de08afdfad code review 2022-01-10 09:41:51 +01:00
Valere aa89e721aa Fix enabling was broken 2022-01-10 09:41:51 +01:00
Valere 56dac76ca8 Simple rate limiting of RS sending 2022-01-10 09:41:51 +01:00
Valere 401e8e6712 use flow instead of reactivex 2022-01-10 09:41:51 +01:00
Valere cf026b22b8 Fix UISIS preference listener 2022-01-10 09:41:51 +01:00
Valere be119ea161 Support for lab auto rageshake UISI 2022-01-10 09:41:51 +01:00
Jozef Gaal b9b2dd420f Translated using Weblate (Slovak)
Currently translated at 67.8% (1842 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-01-09 13:26:37 +00:00
Johan Smits 31dcd9ab3f Translated using Weblate (Dutch)
Currently translated at 76.9% (2089 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-01-09 13:26:36 +00:00
Jozef Gaal 7bea203187 Translated using Weblate (Slovak)
Currently translated at 67.7% (1839 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-01-08 08:26:07 +00:00
Szimszon 34cd11b439 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-01-08 08:26:06 +00:00
Danial Behzadi 459c294147 Translated using Weblate (Persian)
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-01-08 08:26:06 +00:00
waclaw66 8e855f6dcf Translated using Weblate (Czech)
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-01-08 08:26:05 +00:00
Adam Brown 70c82443ee simplifying the automatic transitions and matching iOS by scheduling the next transition once the page settles
- means there's always a 5 second delay when manually skipping toa page
2022-01-07 15:51:03 +00:00
Adam Brown a0bda02824 disabling user input whilst the automatic animation is taking place, fixes crashes when user input is attempted at the same time 2022-01-07 15:41:53 +00:00
Adam Brown 5de76380ad supporting rtl dragging in the viewpager setCurrentItem 2022-01-07 14:44:20 +00:00
ariskotsomitopoulos 50e51cbe29 Merge branch 'develop' into feature/aris/threads 2022-01-07 16:36:48 +02:00
Adam Brown 0d2ad2d85d adding back debug option to enable carousel (was rebased away) 2022-01-07 13:47:20 +00:00
Benoit Marty d14dadde27
Merge branch 'develop' into feature/dla/fix_reply_and_quote_newlines 2022-01-07 14:43:41 +01:00
Adam Brown 486671f385 making the incrementing helper specific to increments of 1 and incrementing first before returning the minimum value 2022-01-07 13:38:22 +00:00
Adam Brown fa30691583 adding automatic rotation of the onboarding carousel items
- items change every 5 seconds
- uses fake dragging to control the page transition speed, by default it's too fast
2022-01-07 13:38:22 +00:00
Adam Brown 28f6d10af9
Merge pull request #4727 from vector-im/feature/adm/splash-carousel
FTUE Splash carousel MVP
2022-01-07 13:36:39 +00:00
ariskotsomitopoulos ac5caccdf9 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/common/CommonTestHelper.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/EventEntity.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/DefaultTimeline.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/TokenChunkEventPersistor.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
#	tools/check/forbidden_strings_in_code.txt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/res/menu/menu_timeline.xml
2022-01-07 13:29:43 +02:00
Adam Brown 785a142720 moving the carousel backgrounds to the ui-styles module 2022-01-07 11:17:39 +00:00
Adam Brown 8a3652aec2 moving the static carousel state creation to the state constructor 2022-01-07 11:16:24 +00:00
Benoit Marty 3f9bea308a
Merge pull request #4872 from vector-im/feature/adm/enabling-ftue-already-have-account
Enabling FTUE_AUTH onboarding variant
2022-01-06 20:57:51 +01:00
Benoit Marty b852b9de9c
Merge pull request #4871 from vector-im/feature/nfe/qr_scanner_toolbar
Toolbar is added to a views with QR code scan
2022-01-06 20:55:06 +01:00
Adam Brown 0868ca9c77 deleting tmp carousel images from the hdpi package, will wait until we have the final images before creating separate densities 2022-01-06 19:54:48 +00:00
Adam Brown 313a2a88e6 removing redundant strings provider 2022-01-06 19:54:48 +00:00
Adam Brown f62ebbc33a using fragment module provided injections to enable using the constructor for project consistent 2022-01-06 19:54:48 +00:00
Adam Brown 58d9da5bd2 adding missing super 2022-01-06 19:54:48 +00:00
Adam Brown 5df47fba53 reverting rebased named change 2022-01-06 19:54:48 +00:00
Adam Brown d71930901b disabling ftue auth carousel whilst its in dev 2022-01-06 19:54:48 +00:00
Adam Brown 633f495e2c extracting the inner carousel fragment classes 2022-01-06 19:54:48 +00:00
Adam Brown c0db9f7ca1 converting temporary carousel images to webp 2022-01-06 19:54:48 +00:00
Adam Brown 6929c947b0 adding gradient backgrounds to the carousel pages
- also coverts the carousel pages to constraint layout and makes use of gutters to provide percentage based sizing
2022-01-06 19:54:48 +00:00
Adam Brown a2f780bef4 adding carousel content, images are temporary 2022-01-06 19:54:48 +00:00
Adam Brown 955fb03532 adding barebones splash carousel fragment, based on feature flag 2022-01-06 19:54:48 +00:00
Adam Brown 773d335add adding debug feature flag for the splash carousel 2022-01-06 19:54:47 +00:00
ganfra ad63d3de1c Bubbles: still R&D. Not sure how to handle every event types. 2022-01-06 19:07:28 +01:00
Adam Brown 2541c3f6a5 copying all of the login fragments into the ftue auth domain 2022-01-06 17:50:13 +00:00
Adam Brown 16ed3f799f adding I already have an account functionality to the ftue auth splash 2022-01-06 17:50:13 +00:00
Adam Brown fa939a2181 cloning the splash fragment into the onboarding 2022-01-06 17:50:13 +00:00
Adam Brown e75764632c renaming the ftue domain to onboarding and ftue to ftue auth 2022-01-06 17:50:13 +00:00
Adam Brown 3465b7d844 switching the element onboarding flow to use FTUE_AUTH
- this flow consistent of feature flag which can enable disable other parts, by default the I already have an account is enabled
2022-01-06 17:21:08 +00:00
Adam Brown f24c962a4a
Merge pull request #4668 from vector-im/feature/adm/i-already-have-an-account
FTUE Auth - I already have an account
2022-01-06 17:11:44 +00:00
fedrunov f35ffb0a60 referencing layout with @+id changed to @id according to code quality rules 2022-01-06 17:57:16 +01:00
fedrunov 6bfd9d07a9 Toolbar is added to a views with QR code scan 2022-01-06 17:11:23 +01:00
Adam Brown 41f931e466 renaming parameters and properties to avoid clashing with kotlin/java8 keywords 2022-01-06 14:17:23 +00:00
Adam Brown b40324a8ba
Merge pull request #4738 from vector-im/feature/adm/cloning-login-fragments-to-ftue
Cloning the `Login` fragments to `FtueAuth`
2022-01-06 13:59:46 +00:00
Benoit Marty 296929e179
Merge pull request #4790 from vector-im/feature/adm/emoji-recycling
Timeline recycling crash
2022-01-06 14:55:29 +01:00
Jeff Huang aa480bc470 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-01-06 10:26:09 +00:00
Ihor Hordiichuk e6c5d008a1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-01-06 10:26:08 +00:00
Besnik Bleta cde91af855 Translated using Weblate (Albanian)
Currently translated at 99.5% (2700 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-01-06 10:26:08 +00:00
lvre 4d3dda0b62 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-01-06 10:26:07 +00:00
random d8c971c273 Translated using Weblate (Italian)
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-01-06 10:26:07 +00:00
Linerly d9c303508e Translated using Weblate (Indonesian)
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-01-06 10:26:06 +00:00
Priit Jõerüüt 495f03b177 Translated using Weblate (Estonian)
Currently translated at 99.8% (2710 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-01-06 10:26:06 +00:00
waclaw66 d588743d48 Translated using Weblate (Czech)
Currently translated at 100.0% (2713 of 2713 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-01-06 10:26:05 +00:00
Adam Brown 6fbf8faf53 using fragment constructor vai fragment module instead of hilt entry point 2022-01-06 10:03:13 +00:00
Adam Brown ccd2d95f0f removing duplicated layout file 2022-01-06 10:03:13 +00:00
Adam Brown c6396ac03a updating debug feature label to explain that it's related to the ftue auth 2022-01-06 10:03:13 +00:00
Adam Brown 380f079ab7 taking the already have an account feature flag into account in the ftue auth splash 2022-01-06 10:03:13 +00:00
Adam Brown e3c0b34651 adding support for the boolean features and adding a new flag for the already have an account 2022-01-06 10:03:13 +00:00
Adam Brown 768419b11a using correct views instances - fixes missing loading 2022-01-06 10:03:13 +00:00
Adam Brown d5373545f0 styling the debug trigger in the ftue splash 2022-01-06 10:03:13 +00:00
Adam Brown 2647e061a2 copying all of the login fragments into the ftue auth domain 2022-01-06 10:03:13 +00:00
Adam Brown 811613fa4d adding I already have an account functionality to the ftue auth splash 2022-01-06 10:03:13 +00:00
Adam Brown 538f51e2d2 adds a debug menu entry point in the splash debug info 2022-01-06 10:03:13 +00:00
Adam Brown 7b3163e140 cloning the splash fragment into the onboarding 2022-01-06 10:03:13 +00:00
Adam Brown 8de892bc60 renaming the ftue domain to onboarding and ftue to ftue auth 2022-01-06 10:03:13 +00:00
Adam Brown 3e1801a5c4 clones the login view model domain to the ftue so that we can start overriding and merge login2 behaviour 2022-01-06 10:03:13 +00:00
Adam Brown e091ea82da porting the LoginActivty2 to a dynamic FTUE activity
- supports switching between a copied legacy flow (DefaultFTUE) and the WIP variant
- this will allow us to make iterative changes to the default ftue flow without affecting the legacy flow/forks
2022-01-06 10:03:13 +00:00
Adam Brown 603c2fa690 updating out of sync provider function name 2022-01-06 10:02:49 +00:00
Adam Brown 98b88c104a adding all the ftue auth fragments to the fragment module 2022-01-06 10:02:48 +00:00
Adam Brown 8d819c76ab copying all of the login fragments into the ftue auth domain 2022-01-06 09:44:59 +00:00
Adam Brown 355d8ebdc6
Merge pull request #4657 from vector-im/feature/adm/cloning-login-domain-to-ftue
Cloning the `LoginViewModel` domain to `Onboarding`
2022-01-06 09:43:46 +00:00
Adam Brown 22bab47dad adding back the beforeSetText logic for markwon integraton and adding a nullable check to avoid attempt to cast a null to non null 2022-01-06 09:28:08 +00:00
ariskotsomitopoulos 261030f51e - Fix integration tests (still not perfect while github actions are very very limited for that)
- Split them in msdk and app test along with multiple smaller steps.
- Mark the not working tests with @Ignore so that they will not run neither local or on github actions
- Add user friendly comment on PR to view the results
2022-01-05 23:42:57 +02:00
Benoit Marty 1490854b4c
Merge pull request #4799 from vector-im/feature/adm/inconsistent-outgoing-call-output
Outgoing call ringtone using wrong audio device
2022-01-05 22:05:23 +01:00
Benoit Marty 17e485fde1
Merge pull request #4826 from vector-im/feature/bma/nick_color_final
Nick color
2022-01-05 22:01:03 +01:00
Benoit Marty fd854a6172
Merge pull request #4856 from vector-im/feature/bca/posthog_e2e
Track decryption failures
2022-01-05 18:54:21 +01:00
Valere b275546a8a Code review + reduce grace period 2022-01-05 16:43:05 +01:00
Valere e5431d9fb4 Track decryption failures 2022-01-05 16:43:05 +01:00
Benoit Marty 02a8fd231c Fix compilation issue after develop being merged. 2022-01-05 16:35:07 +01:00
Benoit Marty 608e01abf1 Merge branch 'develop' into feature/bma/nick_color_final 2022-01-05 16:33:13 +01:00
Benoit Marty fc7beb7e5f Prefer usage of `any` or `none` rather `indexOfFirst` wherever it is possible 2022-01-05 15:24:20 +01:00
Benoit Marty 51c9c2f032 Optimize call flow 2022-01-05 14:56:17 +01:00
Benoit Marty 5efe1f4bd8
Merge pull request #4841 from vector-im/feature/bma/safe_start_activity
Small cleanup
2022-01-05 14:43:13 +01:00
Benoit Marty 24c7064cc6
Merge pull request #4857 from vector-im/feature/bma/emoji_upgrade
Manual upgrade of the emoji2 lib
2022-01-05 14:40:29 +01:00
Benoit Marty 8fa36750a2 Manual upgrade of the emoji2 lib
Dependabot does not care about this dependency, I do not know why.
2022-01-05 13:50:16 +01:00
Adam Brown 603ddf7eac taking into account when the current call is not yet available and defaulting to the audio call mode 2022-01-05 10:35:00 +00:00
Adam Brown 98078da13d renaming the ftue domain to onboarding and ftue to ftue auth 2022-01-05 10:32:31 +00:00
Adam Brown 1e5c057223 clones the login view model domain to the ftue so that we can start overriding and merge login2 behaviour 2022-01-05 10:31:30 +00:00
ganfra bde1df0322 Bubbles: continue R&D on UI 2022-01-05 11:00:12 +01:00
Adam Brown 6380ee9176 allowing nullable message content in order to reset the content when recycling and an item doesn't contain a message 2022-01-05 09:59:39 +00:00
Adam Brown 57e0ce2303 removing any existing text futures before setting new text
- tentatively fixes IllegalArgumentException when recycling the text views due to AppCompatTextView.consumeTextFutureAndSetBlocking attempting to consuming any futures, even if they may be invalid
2022-01-05 09:58:46 +00:00
Adam Brown 4daef6018e extracting the emoji text setting to an extension 2022-01-05 09:58:08 +00:00
Benoit Marty 5fc1efb542
Merge pull request #4852 from vector-im/feature/bma/tooltip
Add tooltip to explain what are the actions behind the icons
2022-01-05 09:47:12 +01:00
Benoit Marty d07dd154b8 Remove audio item from attachment picker.
Keep some related code for now
2022-01-04 18:50:32 +01:00
Benoit Marty 97459bc822 Update wording of tooltips (Gaelle's review) 2022-01-04 18:43:17 +01:00
Benoit Marty 10a63f8949 Fix code after #4837 has been merged 2022-01-04 16:22:06 +01:00
Benoit Marty 7bbea52e66
Merge branch 'develop' into feature/bma/math_final 2022-01-04 16:13:23 +01:00
Benoit Marty ecc4009689 Add tooltip to explain what are the actions behind the buttons 2022-01-04 16:00:06 +01:00
Benoit Marty ed00f9f712
Merge pull request #4848 from vector-im/cgizard/translate_error_message_joining_room
Update error message when joining room
2022-01-04 15:27:49 +01:00
Benoit Marty e724c2e26c
Merge pull request #4849 from vector-im/feature/bma/fix_lint
Fix lint after #4843
2022-01-04 15:24:56 +01:00
ganfra e540b26112 Merge develop into feature/fga/message_bubbles 2022-01-04 15:13:42 +01:00
Benoit Marty d52e61413d Ask for user confirmation before deleting Widget 2022-01-04 14:32:03 +01:00
Benoit Marty 185afe403f Rename some string resources 2022-01-04 14:25:36 +01:00
Benoit Marty 3db27f89bb Remove useless comments in translations 2022-01-04 14:02:52 +01:00
Claire Gizard 63c63bc462 Update error message when joining room 2022-01-04 13:49:18 +01:00
Benoit Marty 108e924783 Remove unused strings 2022-01-04 13:17:41 +01:00
Benoit Marty ee69ece697 Fix some typo in string resource name 2022-01-04 13:06:02 +01:00
Benoit Marty eb875823d5 Remove unused class and resource after new poll implementation 2022-01-04 13:02:17 +01:00
Benoit Marty 64e56b0dd7 Remove unused strings 2022-01-04 12:56:36 +01:00
Benoit Marty 99d77c5bca Reanme some string (and group them together) 2022-01-04 12:51:20 +01:00
Benoit Marty 9946e64c23 Fix lint issue (TypographyDashes) 2022-01-04 12:47:46 +01:00
Benoit Marty 81e2e8db06 Fix lint issue 2022-01-04 12:42:24 +01:00
Weblate b1d18eb8b6 Merge branch 'origin/develop' into Weblate. 2022-01-04 09:35:17 +00:00
Benoit Marty 279f9e00a3
Merge pull request #4837 from vector-im/feature/bma/safe_epoxy_char_sequence
Safe epoxy char sequence
2022-01-04 09:53:49 +01:00
Benoit Marty d670d3e872
Merge pull request #4405 from vector-im/feature/fga/timeline_chunks_rework
Feature/fga/timeline chunks rework
2022-01-03 20:20:42 +01:00
Benoit Marty 2c7df1c376
Merge pull request #4825 from vector-im/feature/bma/call_cleanup
Remove dead code and do some cleanup in CallService
2022-01-03 16:34:50 +01:00
Benoit Marty 74af485137 Small cleanup.
Remove unused methods.
2022-01-03 16:33:41 +01:00
ganfra 91215854f4 Merge branch 'develop' into feature/fga/timeline_chunks_rework 2022-01-03 16:07:05 +01:00
Benoit Marty e03c806fd8 Split long line 2022-01-03 15:30:51 +01:00
Benoit Marty a38f5f9644 Format 2022-01-03 14:23:29 +01:00
Benoit Marty 27161bf794 preventMutation is not needed anymore, since we now uses EpoxyCharSequence 2022-01-03 14:23:29 +01:00
Benoit Marty ca44d8f4d8 Use EpoxyCharSequence for all Epoxy items
Or use String if possible
2022-01-03 14:23:29 +01:00
Benoit Marty d7c9e15a73 Create EpoxyCharSequence: wrapper for a CharSequence, which support mutation of the CharSequence, which can happen during rendering 2022-01-03 12:01:10 +01:00
ariskotsomitopoulos c2183800d3 Github actions improvement test 2022-01-03 12:14:14 +02:00
ariskotsomitopoulos 694b8de034 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	library/ui-styles/src/main/res/values/dimens.xml
2022-01-03 11:08:22 +02:00
Jozef Gaal fa65156e87 Translated using Weblate (Slovak)
Currently translated at 67.7% (1845 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-01-02 10:26:21 +00:00
Denys Nykula 03cc812a35 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-31 22:26:14 +00:00
LinAGKar d1e46a18fa Translated using Weblate (Swedish)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-12-31 22:26:14 +00:00
Jozef Gaal 6a44606c78 Translated using Weblate (Slovak)
Currently translated at 59.4% (1619 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2021-12-31 22:26:13 +00:00
libexus 47e4ff4768 Translated using Weblate (German)
Currently translated at 98.5% (2686 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-12-31 22:26:04 +00:00
Tobias Preuss 74363ff823 Let ShareCompat.IntentBuilder create the chooser intent for sharing content.
+ Although the system's intent chooser normally takes care of cases when
  no app is found we still keep the safeguard here to be prepared for
  exotic devices behaving different.

Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
2021-12-31 22:37:42 +01:00
Tobias Preuss 70b07471cf Use ShareCompat.IntentBuilder in "shareText()" utility function.
Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
2021-12-31 22:37:39 +01:00
Tobias Preuss 5fd3317197 Use property access syntax.
Signed-off-by: Tobias Preuss <tobias.preuss@googlemail.com>
2021-12-31 22:37:32 +01:00
Benoit Marty a80f8b96c1 Format 2021-12-31 17:35:53 +01:00
Benoit Marty c3480bfd16 Add summary to the setting 2021-12-31 16:47:46 +01:00
Benoit Marty 95b1ae9488
Merge branch 'develop' into maths 2021-12-31 16:41:06 +01:00
Benoit Marty 96d5652fcd Small cleanup 2021-12-31 15:48:08 +01:00
Benoit Marty 6d8b5db18e Fix latest small bugs 2021-12-31 15:34:42 +01:00
Benoit Marty a7b72ed39d Fix latest small bugs 2021-12-31 15:22:48 +01:00
Benoit Marty 1cb91ca5df Use color parser 2021-12-31 15:13:01 +01:00
Benoit Marty ddadefdbd6 Move logic to ViewModel 2021-12-31 15:08:30 +01:00
Benoit Marty 07d2a15cf8 Code cleanup 2021-12-31 14:45:35 +01:00
Benoit Marty 364457d102 Move logic to dedicated ViewModel 2021-12-31 13:13:48 +01:00
Onuray Sahin 4d6eec8972 Rate limited maptiler key is added. 2021-12-31 15:12:46 +03:00
Benoit Marty 454baf8beb
Merge branch 'develop' into feature/issue-2610-override-nick-color-via-user-account-data 2021-12-31 13:02:24 +01:00
Benoit Marty ce0a582b3e
Merge pull request #4823 from vector-im/feature/ons/attachment_picker
Attachment Picker UI Improvements
2021-12-31 11:43:49 +01:00
Benoit Marty 561f32c1f3 Remove dead code and do some cleanup 2021-12-31 10:20:16 +01:00
Benoit Marty 5eebc995ff Animate the attachment open/close button 2021-12-30 16:52:58 +01:00
Benoit Marty 464ac3bce2 Fix blink effect when opening the attachment popup, and improve clickability of the buttons 2021-12-30 16:36:36 +01:00
Onuray Sahin cc8da82d02 New attachment picker implemented. 2021-12-30 16:28:50 +03:00
Benoit Marty 2ddc7f04b3
Merge pull request #4747 from vector-im/feature/bca/clean_state_in_tl
cleaning rendering of state event in timeline
2021-12-30 12:41:22 +01:00
Benoit Marty 753d704c69
Merge pull request #4757 from vector-im/feature/fre/minor_code_enhancements
Some code enhancements
2021-12-30 11:33:57 +01:00
Benoit Marty f124eba665
Merge pull request #4810 from vector-im/feature/adm/voip-mute-notification
Fixing duplicated/empty notifications when joining/muting/leaving a VOIP call
2021-12-30 11:31:06 +01:00
Benoit Marty abcdfc6f73
Merge pull request #4758 from vector-im/feature/adm/emoji-inconsistencies
Wrong emojis in composer
2021-12-30 10:34:22 +01:00
Benoit Marty 6a73c9315a
Merge pull request #4809 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.40
Bump libphonenumber from 8.12.39 to 8.12.40
2021-12-30 10:30:27 +01:00
Benoit Marty bb0725b2e2
Merge pull request #4656 from vector-im/feature/adm/dynamic-login-flow
Feature based FTUE flows
2021-12-30 10:29:52 +01:00
Onuray Sahin 6e1911e686 Lint fixes. 2021-12-28 17:04:51 +03:00
Onuray Sahin fc4d18f84e Dummy maptiler key added for CI. 2021-12-28 14:00:37 +03:00
Szimszon d632d54b6d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-12-27 21:26:02 +00:00
Onuray Sahin 15fa42ba9b Lint fixes. 2021-12-27 17:55:48 +03:00
Onuray Sahin de809d6013 Add settings item to allow location sharing. 2021-12-27 17:17:20 +03:00
Onuray Sahin 46c7c7421e Merge branch 'develop' into feature/ons/static_location
* develop: (87 commits)
  Update versions to 1.3.13
  Release: prepare CHANGES
  adding changelog entry
  removing android version bypass for using text futures - the emoji span changes affect all android versions
  Update versions to 1.3.12
  Release: prepare CHANGES
  removing trailing space
  extracting the emoji processing to an interface so that we can override the behaviour in the unit test
  adding comment to explain SpannableStringBuilder usage
  adding changelog entry
  using the safe emoji processor to avoid the timeline failing when processing the content and the emoji library hasn't initialised yet
  Update changelog.d/4743.bugfix
  Small UI fix in room member profile hearder (#4700)
  Add changelog
  adding changelog entry
  adding missing binding options emote content - fixes android 12+ crash when certain emojis are used within the emote content
  Fix crash ImmutableModelException
  Update Gradle Wrapper from 7.3.1 to 7.3.2.
  Call banner: center text vertically
  adding changelog entry
  ...
2021-12-27 14:27:19 +03:00
Onuray Sahin ccd4396336 Allow to reply location messages. 2021-12-27 14:04:36 +03:00
Onuray Sahin a0afab45fb Show location preview and allow to share with external apps. 2021-12-27 14:03:59 +03:00
Bjørn I.Svindseth fec74bf864 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 33.6% (918 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nn/
2021-12-26 19:26:01 +00:00
ariskotsomitopoulos 0e30f4e817 Fix code quality issues 2021-12-25 23:35:40 +02:00
ariskotsomitopoulos 9ef4e1e83f Fix code quality issues 2021-12-25 13:42:53 +02:00
ariskotsomitopoulos d3e9e19779 Fix code quality issues 2021-12-25 13:11:42 +02:00
Van Linh Nguyen 01b5544261 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-12-25 10:28:02 +00:00
Dinh Quang Tuyen 2e56d3811e Translated using Weblate (Vietnamese)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2021-12-25 10:28:01 +00:00
lvre 6d7d80e7c1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-12-25 10:26:02 +00:00
Martin Berg Alstad d41ad89c9e Translated using Weblate (Norwegian Bokmål)
Currently translated at 59.2% (1614 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-12-25 10:26:02 +00:00
egrimstad 302b24a6b7 Translated using Weblate (Norwegian Bokmål)
Currently translated at 59.2% (1614 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-12-25 10:26:01 +00:00
Adam Brown 41ae67d214 only converting encrypted events to NotifiableMessageEvent if the decrypted type is also a message
- fixes the app displaying encrypted non message events as notification messages
2021-12-24 11:12:59 +00:00
dependabot[bot] 863b201793
Bump libphonenumber from 8.12.39 to 8.12.40
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.39 to 8.12.40.
- [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.39...v8.12.40)

---
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>
2021-12-23 23:07:37 +00:00
ariskotsomitopoulos 581f71e89d Remove unused code 2021-12-23 17:22:27 +02:00
ariskotsomitopoulos f06397023a Add support when there no threads messages to init timeline. Init as the normal one and hide them on the app side. That is also helpful to work to load all the threads when there is no server support 2021-12-23 17:19:36 +02:00
Adam Brown eb8a704ee7 forcing the outgoing calls to use the same audio config as the call itself
- tentatively fixes the speaker being used by previous instance changes if a reset fails
2021-12-22 15:57:47 +00:00
ariskotsomitopoulos dcabaa0dab Merge branch 'feature/aris/threads' into feature/aris/threads_api_support 2021-12-21 20:16:17 +02:00
ariskotsomitopoulos d7546db26f Fix code quality issues 2021-12-21 20:09:25 +02:00
ariskotsomitopoulos 5a7d12a9a5 Enhance RoomEventFilter with MSC3440 2021-12-21 20:04:50 +02:00
Denys Nykula 945749c6fb Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-21 16:26:06 +00:00
Ihor Hordiichuk 47f29e63c2 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-21 16:26:06 +00:00
LinAGKar fa38db7d93 Translated using Weblate (Swedish)
Currently translated at 99.9% (2724 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-12-21 16:26:05 +00:00
Glandos f58aab6e9d Translated using Weblate (French)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-12-21 16:26:03 +00:00
waclaw66 db2e52bb25 Translated using Weblate (Czech)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-12-21 16:25:59 +00:00
ariskotsomitopoulos 7048080ee0 Merge branch 'develop' into feature/aris/threads 2021-12-21 13:24:03 +02:00
ariskotsomitopoulos ed48eb38c9 Apply ktlinFormat 2021-12-21 13:23:17 +02:00
ganfra 55c0f1fcb3 Update versions to 1.3.13 2021-12-20 15:35:09 +01:00
Adam Brown f1dff33dc2 removing android version bypass for using text futures
- the emoji span changes affect all android versions
2021-12-20 10:09:17 +00:00
rickeesingh b8f9c3f600 Translated using Weblate (Punjabi)
Currently translated at 4.0% (110 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pa/
2021-12-19 12:26:29 +00:00
Adam Brown b72d40a3e7 Translated using Weblate (Hebrew)
Currently translated at 76.1% (2075 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2021-12-19 12:26:18 +00:00
Ihor Hordiichuk b2477af0f1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-19 12:26:13 +00:00
Denys Nykula f1c31f048a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-19 12:26:13 +00:00
LinAGKar dff9bbcf94 Translated using Weblate (Swedish)
Currently translated at 99.0% (2700 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-12-19 12:26:13 +00:00
Jozef Gaal 50a9e444ce Translated using Weblate (Slovak)
Currently translated at 53.6% (1461 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2021-12-19 12:26:12 +00:00
lvre 0495cdf343 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-12-19 12:26:08 +00:00
Anon Translator d25d407cc4 Translated using Weblate (Polish)
Currently translated at 97.6% (2662 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-12-19 12:26:08 +00:00
Arūnas Svečiulis cb06ba3ad0 Translated using Weblate (Lithuanian)
Currently translated at 4.6% (126 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2021-12-19 12:26:06 +00:00
Linerly 4c33f7c512 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-12-19 12:26:05 +00:00
notramo 597616ea92 Translated using Weblate (Hungarian)
Currently translated at 99.9% (2723 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-12-19 12:26:05 +00:00
Danial Behzadi 8ad8f05e12 Translated using Weblate (Persian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-12-19 12:26:02 +00:00
Priit Jõerüüt a33f49739c Translated using Weblate (Estonian)
Currently translated at 99.8% (2722 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-12-19 12:25:59 +00:00
waclaw66 c9d650eb0c Translated using Weblate (Czech)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-12-19 12:25:59 +00:00
rickeesingh 9b6b74ae2e Added translation using Weblate (Punjabi) 2021-12-18 01:35:55 +00:00
ganfra c6a118fc1f Update versions to 1.3.12 2021-12-17 19:05:17 +01:00
Florian Renaud 7e2eb2a21e Remove useless `val` in RoomListViewModel constructor 2021-12-17 17:31:24 +01:00
Florian Renaud c13feb983e Remove useless nullability in method param 2021-12-17 17:31:24 +01:00
Florian Renaud 61b74bb083 Add missing setting key constant 2021-12-17 17:31:00 +01:00
ganfra 461beda634
Merge pull request #4742 from vector-im/feature/aris/fix_immutable_model_crash
Fix crash ImmutableModelException
2021-12-17 15:30:19 +01:00
Adam Brown 680c22d4c8 using app compat edit text for official emoji support 2021-12-17 13:41:19 +00:00
Onuray Sahin 6495bd9e5e Send location event. 2021-12-17 15:09:02 +03:00
ganfra e155eefb7b
Merge pull request #4748 from vector-im/feature/adm/late-emoji-initialisation
Unable to render messages
2021-12-17 12:35:37 +01:00
ganfra ac65942c28
Merge pull request #4744 from vector-im/feature/adm/emoji-notice-fix
Emojis in emotes causing crashes on Android 12+
2021-12-17 11:47:16 +01:00
Adam Brown ddbf8582dd removing trailing space 2021-12-17 10:46:03 +00:00
Adam Brown 6918372a87 extracting the emoji processing to an interface so that we can override the behaviour in the unit test 2021-12-17 10:38:49 +00:00
Adam Brown b73bae452a
adding comment to explain SpannableStringBuilder usage 2021-12-17 09:37:50 +00:00
Adam Brown 37db28ae7c using the safe emoji processor to avoid the timeline failing when processing the content and the emoji library hasn't initialised yet 2021-12-17 09:25:16 +00:00
Valere 240ce6873b cleaning rendering of state event in timeline 2021-12-17 09:20:17 +01:00
ClaireGizard ca58a04f57
Small UI fix in room member profile hearder (#4700)
Small ui fix on room member profile name

Co-authored-by: Claire Gizard <cgizard>
2021-12-16 21:10:03 +01:00
ganfra 9a5934dd33 Bubbles: R&D try to find the best way to provide dynamic layout 2021-12-16 20:57:05 +01:00
ariskotsomitopoulos dca5bea744 Merge branch 'feature/aris/fix_immutable_model_crash' into feature/aris/threads 2021-12-16 20:56:10 +02:00
ariskotsomitopoulos f769d84443 Merge branch 'develop' into feature/aris/threads 2021-12-16 20:55:52 +02:00
Adam Brown ae6be3fdc4 adding missing binding options emote content
- fixes android 12+ crash when certain emojis are used within the emote content
2021-12-16 18:34:00 +00:00
ariskotsomitopoulos 2275bdd4fa Fix crash ImmutableModelException 2021-12-16 20:14:21 +02:00
David Langley e7bb030d52 full markdown should work in replies, was hardcoded to simple irrespective of prefrence. 2021-12-16 14:10:49 +00:00
Benoit Marty 3b35be510f
Merge pull request #4729 from vector-im/feature/adm/avoid-leaking-window-when-showing-loading
Avoid leaking Activity Window when showing loading dialog
2021-12-16 11:07:23 +01:00
Benoit Marty 818a8898b3 Call banner: center text vertically 2021-12-15 22:19:23 +01:00
Adam Brown 4c238e81cf dismisses any potential loading dialogs when the linked fragment is destroyed
- fixes leaking the activity window when the fragment is destroyed
2021-12-15 18:16:10 +00:00
Onuray Sahin 5904a5955f Show and track the current location of the user on map. 2021-12-15 21:07:16 +03:00
Adam Brown 8b96d8cd8d only acquire a wake lock if a lock is not already held 2021-12-15 17:32:39 +00:00
ariskotsomitopoulos bc6e89b503 Disable user typing from thread timeline 2021-12-15 18:49:22 +02:00
ariskotsomitopoulos 3acdccb339 Disable polls from within threads but allow users to vote if the poll is a root thread message 2021-12-15 16:31:58 +02:00
ariskotsomitopoulos 20357ce5c4 - Fix remaining conflicts with develop
- Disable thread awareness when threads are enabled
2021-12-15 14:38:08 +02:00
Onuray Sahin 824e713c51 Add mapview to the layout. 2021-12-15 13:57:43 +03:00
Jeff Huang 2d490a98cd Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2021-12-15 09:57:34 +00:00
sr093906 75ca3bab09 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-12-15 09:57:30 +00:00
Ihor Hordiichuk 7c791e3482 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-15 09:57:26 +00:00
Denys Nykula 531c06da50 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-15 09:57:26 +00:00
Besnik Bleta e6a94d6387 Translated using Weblate (Albanian)
Currently translated at 99.4% (2711 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-12-15 09:57:26 +00:00
lvre eb18bbb3b8 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-12-15 09:57:22 +00:00
AmeliMeow d594ee780a Translated using Weblate (Lithuanian)
Currently translated at 4.5% (125 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2021-12-15 09:57:22 +00:00
Arūnas Svečiulis ad763e6fb3 Translated using Weblate (Lithuanian)
Currently translated at 4.5% (125 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lt/
2021-12-15 09:57:21 +00:00
random 657d7ee85a Translated using Weblate (Italian)
Currently translated at 99.8% (2722 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-12-15 09:57:20 +00:00
Linerly 09854abf25 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-12-15 09:57:16 +00:00
Balázs Meskó b8d8b9b718 Translated using Weblate (Hungarian)
Currently translated at 98.8% (2694 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-12-15 09:57:12 +00:00
Priit Jõerüüt e9010dff94 Translated using Weblate (Estonian)
Currently translated at 99.8% (2722 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-12-15 09:57:11 +00:00
waclaw66 469dde33b6 Translated using Weblate (Czech)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-12-15 09:57:07 +00:00
Daimar Stein 218f8f51ab Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-12-14 21:36:32 +00:00
lvre 18d2da4d25 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-12-14 21:36:31 +00:00
Onuray Sahin bf48617fc6 Create base UI components of location sharing screen. 2021-12-15 00:13:52 +03:00
ariskotsomitopoulos cd95fc41e4 Merge branch 'develop' into feature/aris/threads
# Conflicts:
#	library/ui-styles/src/main/res/values/dimens.xml
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/events/model/RelationType.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/model/EventEntity.kt
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/LocalEchoEventFactory.kt
#	vector/src/main/java/im/vector/app/core/di/FragmentModule.kt
#	vector/src/main/java/im/vector/app/core/di/ScreenComponent.kt
#	vector/src/main/java/im/vector/app/features/command/Command.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailActivity.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewEvents.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewState.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/navigation/DefaultNavigator.kt
#	vector/src/main/java/im/vector/app/features/navigation/Navigator.kt
#	vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt
#	vector/src/main/java/im/vector/app/features/permalink/PermalinkHandler.kt
#	vector/src/main/res/layout/fragment_room_detail.xml
2021-12-14 20:18:54 +02:00
David Langley 96062b7daa Enable on replies and quotes even if preference is disabled to fix newline issues. 2021-12-14 17:10:54 +00:00
Denys Nykula f3ede9db6a Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-14 14:45:55 +00:00
Ihor Hordiichuk ccee4a9952 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2725 of 2725 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-14 14:45:50 +00:00
ariskotsomitopoulos 2aa24f0a0d Fix threads sort order, newest first 2021-12-14 16:30:59 +02:00
David Langley 20b5742227 Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/fix_reply_and_quote_newlines 2021-12-14 13:46:45 +00:00
Benoit Marty fa65cc59fe Version++ 2021-12-14 14:46:08 +01:00
Benoit Marty 73dba2b692 Fix another crash 2021-12-14 14:37:01 +01:00
Benoit Marty 32820f7893 Comment out some part of the test to make it pass. Tested manually for this time. 2021-12-14 13:27:33 +01:00
Benoit Marty 1961309458 Fix a crash on reactions bottom sheet 2021-12-14 13:26:03 +01:00
Onuray Sahin 03a4194047 Add location attachment icon with required permissions. 2021-12-14 14:44:09 +03:00
ariskotsomitopoulos d56281dca7 - Enhance local notification to work with read receipt & the latest chunk
- Local notification mentioning system
- Fix/Improve thread list filtering
2021-12-14 13:35:08 +02:00
Benoit Marty 0411291515
Merge pull request #4708 from vector-im/feature/bma/analytics_before_release
Disable automatic opt-in screen display
2021-12-14 12:07:12 +01:00
Benoit Marty 08def813cc Disable automatic opt-in screen display.
We want to wait for translations to be available in the project before showing this screen to every users.
2021-12-14 11:34:06 +01:00
Adam Brown 74594d8fc3 porting the LoginActivty2 to a dynamic FTUE activity
- supports switching between a copied legacy flow (DefaultFTUE) and the WIP variant
- this will allow us to make iterative changes to the default ftue flow without affecting the legacy flow/forks
2021-12-14 09:06:15 +00:00
Weblate 1e40b5cd34 Merge branch 'origin/develop' into Weblate. 2021-12-14 08:58:12 +00:00
Adam Brown fd0e1e44c4 renaming login version to variants to better describe the different flows 2021-12-14 08:50:57 +00:00
Adam Brown dae2e9988f moving the sso redirect parameter to the sso redirect activity for sharing 2021-12-14 08:50:57 +00:00
Adam Brown 01d4a48b8b adding ability to lazily create viewmodels
- helpful when multiple view models are injected but not all are needed
2021-12-14 08:50:57 +00:00
Adam Brown a3ad8c5e2e removing non accessible softlogout2 activity
- there's no manifest entry
- the implementation looks like it delegates back to login 1, will look to add back as part of the FTUE changes
2021-12-14 08:50:56 +00:00
Benoit Marty f4cfb5d6d3
Merge pull request #4559 from vector-im/feature/bma/posthog
Analytics
2021-12-14 09:31:55 +01:00
Benoit Marty aad19e4bce code qual 2021-12-14 09:06:36 +01:00
Denys Nykula cb4690a3e6 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2693 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-14 02:26:03 +00:00
Jozef Gaal d3d5d79b7d Translated using Weblate (Slovak)
Currently translated at 52.6% (1417 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2021-12-14 02:25:58 +00:00
DUCKCHI 0a090fab65 Translated using Weblate (Korean)
Currently translated at 49.0% (1322 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2021-12-14 02:25:57 +00:00
Benoit Marty ea9a524048 Fix compilation issue after merge develop 2021-12-13 23:23:18 +01:00
Benoit Marty a40e60ba8f Merge branch 'develop' into feature/bma/posthog 2021-12-13 23:18:14 +01:00
Benoit Marty e519e314fe Limit width of content on tablets 2021-12-13 23:16:47 +01:00
Benoit Marty 48fa411d83
Merge pull request #4698 from vector-im/feature/bma/emoji_hotfix
Emoji fix
2021-12-13 23:15:46 +01:00
Benoit Marty 2c81e7ea08
Merge pull request #4601 from vector-im/feature/aris/search_no_data_displayed_4600
Fix issue 4600 that search results sometimes are not displayed properly
2021-12-13 23:01:03 +01:00
Benoit Marty 3719551913
Merge pull request #4693 from SpiritCroc/spaceChildIds
Fix possible crash when having identical subspaces in multiple root spaces
2021-12-13 22:59:57 +01:00
Benoit Marty 240d0c0a5e
Merge pull request #4703 from vector-im/feature/bma/fix_poll_create
Use only non empty option to create a poll
2021-12-13 22:56:58 +01:00
Benoit Marty b9799b46fd Fix test compilation 2021-12-13 22:45:24 +01:00
Benoit Marty 28588eb10c Use only non empty option to create a poll 2021-12-13 22:17:43 +01:00
Benoit Marty db81ec260e Recycle View a bit more 2021-12-13 21:49:40 +01:00
Benoit Marty 0981af3085 Remove unused attribute 2021-12-13 21:33:15 +01:00
Benoit Marty f29e14fdd8 Rename class 2021-12-13 21:17:14 +01:00
Benoit Marty da407ef8a2 Avoid lateinit 2021-12-13 21:16:44 +01:00
Benoit Marty 10b39ccd28 Do some renaming 2021-12-13 21:08:52 +01:00
Benoit Marty eac06d5401 Do some renaming 2021-12-13 21:04:52 +01:00
Benoit Marty c1ea653561 Reorder classes so that it follows the poll status logical order 2021-12-13 21:02:11 +01:00
Onuray Sahin e2bbc3f8ae Code review fixes. 2021-12-13 22:47:15 +03:00
Benoit Marty 6e646b12b5 Add some comments and default values 2021-12-13 20:34:44 +01:00
Benoit Marty 96b186ca8c Add tests to cover the new feature 2021-12-13 20:28:58 +01:00
Benoit Marty e8fbbe2b97 Fix the test 2021-12-13 20:09:33 +01:00
Benoit Marty c302148e89 Rename 2021-12-13 18:21:27 +01:00
Benoit Marty 808c401675 Fix a crash on Epoxy if text contains a MetricAffectingSpan 2021-12-13 18:16:58 +01:00
Onuray Sahin f028f9836b Merge branch 'develop' into feature/ons/poll_timeline
* develop: (49 commits)
  Update changelog.d/4592.bugfix
  Remove jcenter from here, let's see what the CI will say
  Common struct for each maven repo
  Rename the file to group them
  Add changelog file
  Revert PR 4592 for devtools
  Enhance include groups implementation by decoupling them to a separate file
  Cleanup
  Legals: improve API to get homeserver terms
  Legals: update setting icon
  Auto-review
  Add a help section in the settings.
  Changelog
  Color for links
  Use same height than the loading item to avoid dynamic resizing
  Legals: only display external URLs.
  Legals: Move the 2 copyrights items to the new legal screen
  Add some space between the 2 TextViews, and improve the layout
  Legals: Move the 3 element links to the new legal screen
  Rename some classes
  ...

# Conflicts:
#	vector/src/main/res/layout/item_timeline_event_option_buttons_stub.xml
#	vector/src/main/res/layout/item_timeline_event_poll_stub.xml
2021-12-13 17:44:21 +03:00
Onuray Sahin f6dcda6841 Code review fixes. 2021-12-13 17:37:11 +03:00
Onuray Sahin c7ad50a4d6 Code and design review fixes. 2021-12-13 17:07:17 +03:00
Benoit Marty 04d23ce7f6 Rename for clarity 2021-12-13 14:56:21 +01:00
Benoit Marty ab70ee5ae2 Change usage of SpannableStringBuilder when this is not required 2021-12-13 13:14:20 +01:00
Benoit Marty 5ea7f3cbca
Merge pull request #4652 from vector-im/feature/bma/avoid_useless_codegen
Use viewBindingIgnore="true" when we do not need the ViewBinding.
2021-12-13 12:51:05 +01:00
Benoit Marty df3f8bd88e Use emoji2 library 2021-12-13 12:36:46 +01:00
Benoit Marty b701bb7c1a Fix crash when using TextFuture with MetricAffectingSpan added by EmojiCompat (#4691) 2021-12-13 12:14:24 +01:00
Benoit Marty 406881c8a7
Merge pull request #4689 from vector-im/feature/aris/dev_tools_fix_4592
Feature/aris/dev tools fix 4592
2021-12-13 11:37:53 +01:00
Benoit Marty 3620a265d0
Merge pull request #4650 from vector-im/feature/bma/id_ref
Cleanup id ref. Use type views instead.
2021-12-13 11:32:18 +01:00
Benoit Marty a6dec7b9cb
Merge pull request #4670 from vector-im/feature/bma/safer_dependencies
Safer dependencies
2021-12-13 11:30:15 +01:00
SpiritCroc f1ee8183e5 Ensure unique ids for subspaces
When you have two root spaces with the same space as subspace, and you expand both root spaces, you end up with two times the same id in the list. This has two problems:

- The expand animation is slightly broken, if you expand the second root space first and then the first one
- If you select one of these items with same id, the app crashes:
    java.lang.IllegalStateException: Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.

As solution, just prefix the epoxy item ids with the parent spaces.
2021-12-12 12:09:25 +01:00
Denys Nykula 7d169a8a8d Translated using Weblate (Ukrainian)
Currently translated at 97.8% (2634 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-12 06:25:58 +00:00
Ihor Hordiichuk 790049f33a Translated using Weblate (Ukrainian)
Currently translated at 97.8% (2634 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-12 06:25:58 +00:00
Benoit Marty b49c30d879
Merge pull request #4635 from vector-im/feature/adm/debug-features-override
Debug features override
2021-12-11 12:39:49 +01:00
ariskotsomitopoulos 5c015a7444 Support stickers in threads 2021-12-10 20:15:39 +02:00
ariskotsomitopoulos c77fa38cc3 Revert PR 4592 for devtools 2021-12-10 19:45:27 +02:00
אלון גלסמן 431064e5f8 Translated using Weblate (Hebrew)
Currently translated at 77.0% (2075 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2021-12-10 15:26:12 +00:00
Ihor Hordiichuk 6ef556e834 Translated using Weblate (Ukrainian)
Currently translated at 97.0% (2613 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-10 15:26:03 +00:00
Denys Nykula e7cf9f51e7 Translated using Weblate (Ukrainian)
Currently translated at 97.0% (2613 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-10 15:26:03 +00:00
Jozef Gaal a940fcaf8b Translated using Weblate (Slovak)
Currently translated at 52.6% (1417 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2021-12-10 15:26:02 +00:00
Suguru Hirahara e8d8814c80 Translated using Weblate (Japanese)
Currently translated at 69.3% (1868 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ja/
2021-12-10 15:26:02 +00:00
Linerly d0400641e6 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2693 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-12-10 15:25:59 +00:00
Glandos a9aea96db4 Translated using Weblate (French)
Currently translated at 100.0% (2693 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-12-10 15:25:59 +00:00
Jiri Grönroos 07b04b6e55 Translated using Weblate (Finnish)
Currently translated at 84.9% (2289 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2021-12-10 15:25:58 +00:00
Benoit Marty a090642c67 Cleanup 2021-12-10 16:22:01 +01:00
Benoit Marty ba8121641f
Merge branch 'develop' into feature/bma/avoid_useless_codegen 2021-12-10 16:09:47 +01:00
Onuray Sahin 9b2a3cf445 Code review fixes. 2021-12-10 17:57:57 +03:00
Benoit Marty bf7907a119 Legals: improve API to get homeserver terms 2021-12-10 15:35:46 +01:00
Benoit Marty 6ba5c7af27 Legals: update setting icon 2021-12-10 15:35:46 +01:00
Benoit Marty 72bb58645b Auto-review 2021-12-10 15:35:46 +01:00
Benoit Marty 7f7199abd4 Add a help section in the settings. 2021-12-10 15:35:46 +01:00
Benoit Marty 287587f356 Color for links 2021-12-10 15:35:46 +01:00
Benoit Marty 50a84a6c56 Use same height than the loading item to avoid dynamic resizing 2021-12-10 15:35:46 +01:00
Benoit Marty eed7d15b0e Legals: only display external URLs. 2021-12-10 15:35:46 +01:00
Benoit Marty 5823777755 Legals: Move the 2 copyrights items to the new legal screen 2021-12-10 15:35:46 +01:00
Benoit Marty a8c921ef03 Add some space between the 2 TextViews, and improve the layout 2021-12-10 15:34:25 +01:00
Benoit Marty e91e26ebfb Legals: Move the 3 element links to the new legal screen 2021-12-10 15:34:25 +01:00
Benoit Marty e1fc7cfaba Rename some classes 2021-12-10 15:34:25 +01:00
Benoit Marty 411fd31d4c Legals: Trick to get the homeserver policy 2021-12-10 15:34:25 +01:00
Benoit Marty d49a0dde6e Legals: Add the screen (WIP) 2021-12-10 15:34:25 +01:00
Benoit Marty f340a19c8e Fix issue in disconnect identity server confirmation dialog content 2021-12-10 15:34:25 +01:00
Benoit Marty 0df11fc145 Remove unused dependency videocache 2021-12-09 23:47:04 +01:00
Benoit Marty 29837d48fe Alerter is now on Jitpack 2021-12-09 23:39:22 +01:00
Benoit Marty 45ee39f3c0 Add a TODO 2021-12-09 21:06:22 +01:00
Benoit Marty db60a2f6d2 Upgrade flexbox to 3.0.0
It has been moved to mavenCentral
2021-12-09 16:05:30 +01:00
Ihor Hordiichuk 022acb39e5 Translated using Weblate (Ukrainian)
Currently translated at 96.9% (2611 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-09 14:38:05 +00:00
Denys Nykula e379c690b3 Translated using Weblate (Ukrainian)
Currently translated at 96.9% (2611 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-09 14:38:04 +00:00
Onuray Sahin be9e592aa5 Do not allow to vote the same option twice. 2021-12-09 16:08:59 +03:00
Onuray Sahin d5f8931e20 Support to show hidden poll events as formatted. 2021-12-09 15:54:37 +03:00
Onuray Sahin b2e599ea2b Merge branch 'develop' into feature/ons/poll_timeline
* develop: (21 commits)
  Remove automation for new Delight board
  Remove automation for old Delight board
  Bump gradle from 7.0.3 to 7.0.4
  Bump realm-gradle-plugin from 10.8.1 to 10.9.0
  Bump libphonenumber from 8.12.38 to 8.12.39
  Bump mavericks from 2.4.0 to 2.5.0
  removing no longer possible branches
  adding a consistent padding to allow message types to avoid touching the side gutter
  Upgrade OLM to v3.2.7 and get it from our maven repository.
  removing manual send status spacing - it's no longer needed as the send status is always present (but invisible)
  removing manual end alignment for voice messages as send status gutter is now always present
  forcing the send spacing to always be taking into account - ensures all message lengths are consistent
  capping the preview image url based on the height - stops large screens eg tablets from attempting to fill the screen
  matching iOS max line rules for the preview description
  using themed colours for the close button
  limiting title to avoid overlapping with close icon
  flattening preview url view layout with custom view to reduce view hierarchy
  adding changelog entry
  updating url preview to match new designs
  removing now longer needed Mode argument
  ...

# Conflicts:
#	vector/src/main/res/layout/item_timeline_event_base.xml
2021-12-09 15:38:15 +03:00
Onuray Sahin 04a7590804 Code review fixes. 2021-12-09 15:09:12 +03:00
ganfra 1280687640 Merge branch 'develop' into feature/fga/timeline_chunks_rework 2021-12-09 12:36:59 +01:00
ganfra bf287d1827 Timeline: clean up 2021-12-09 12:35:23 +01:00
Benoit Marty 7c2bae3b6b
Merge pull request #4627 from vector-im/feature/adm/removing-notification-settings-v1
Removing notification settings v1
2021-12-09 12:30:40 +01:00
ganfra faebf95e1c Timeline: remove LifecycleOwner on EpoxyModel as it's not used (and takes some time uselessly) 2021-12-09 12:28:53 +01:00
ganfra 31ba912d6e Timeline: url preview listen to Flow in ViewModel 2021-12-09 12:28:13 +01:00
ganfra c830d49924 Timeline: remove onStateUpdated in controller 2021-12-09 12:27:36 +01:00
Benoit Marty f187c30d79 OptIn layout: Create a master flow 2021-12-08 11:44:27 +01:00
Benoit Marty a38747da22 OptIn layout: Create Flow for the buttons 2021-12-08 11:31:49 +01:00
Benoit Marty 36ff0e6e78 OptIn layout: Improve the 3 points block. Center on big screens 2021-12-08 11:30:50 +01:00
ganfra bf1be4f20d Merge branch 'develop' into feature/fga/timeline_chunks_rework 2021-12-08 10:38:42 +01:00
Adam Brown 696ee9fdfe Translated using Weblate (Hebrew)
Currently translated at 74.8% (2017 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2021-12-08 01:26:00 +00:00
Ihor Hordiichuk 1563f1234a Translated using Weblate (Ukrainian)
Currently translated at 96.2% (2593 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-08 01:25:59 +00:00
LinAGKar bfe199de9b Translated using Weblate (Swedish)
Currently translated at 100.0% (2693 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-12-08 01:25:55 +00:00
dependabot[bot] d2969766ca
Bump libphonenumber from 8.12.38 to 8.12.39
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.38 to 8.12.39.
- [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.38...v8.12.39)

---
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>
2021-12-08 00:42:33 +00:00
ganfra 29a4fd1e41 Timeline: make 3 integration tests passing (also add some suspend method on the timeline) 2021-12-07 21:13:41 +01:00
Onuray Sahin 0f11e498a0 Changelog added. 2021-12-07 20:13:45 +03:00
Benoit Marty 0a4e093e64 auto-review 2021-12-07 18:04:08 +01:00
Adam Brown cb79d20327 updating binding method to reflect the type 2021-12-07 16:54:24 +00:00
Adam Brown 05ce1414b9 updating the debug features to use the datastore api
- we're using the blocking api due to only needing to suspend in the debug variant, we may look to change this in the future
2021-12-07 16:52:02 +00:00
Benoit Marty 7cf92ec17d
Merge pull request #4610 from vector-im/feature/adm/url-preview
Updating URL preview design
2021-12-07 17:35:50 +01:00
Benoit Marty bb959b6b1e Use viewBindingIgnore="true" when we do not need the ViewBinding. 2021-12-07 17:32:52 +01:00
Benoit Marty d3a1746475 Use id from existing views instead of "hard-coded" values
And improve our extension
2021-12-07 16:56:27 +01:00
Adam Brown 90d00b96b7 avoiding unneeded cast by providing more types 2021-12-07 15:51:35 +00:00
Onuray Sahin 953fadeed4 Merge branch 'develop' into feature/ons/poll_timeline
* develop: (319 commits)
  Bump dagger from 2.40.4 to 2.40.5
  More debouncing
  Changelog
  I need the view here
  clicks() already has debouncing with conflate(), so throttleFirst is not necessary
  Use debouncedClicks where applicable
  Use `observeViewEvents` facility
  private
  use != rather that is
  Fix waring for state is not dialing or connected
  state can also be connected
  Add script to compress video and convert to gif file
  removing boolean notification version usage
  adding changelog entry
  removing unused imports and increasing enum allowance
  porting the notifications setting version to the vector features
  Add warning if unexpected state.
  setting login version via typed build config field instead of resources
  separating the SSO redirection from the login activities - adds a dedicated routing activity to proxy the uri to the login selected by the feature flags
  Removing trailing space
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailAction.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/format/DisplayableEventFormatter.kt
#	vector/src/main/res/layout/item_timeline_event_option_buttons_stub.xml
#	vector/src/main/res/xml/vector_settings_labs.xml
2021-12-07 18:50:52 +03:00
Adam Brown 6c21ed8eab switching to vector base activity and injecting epoxy controller for project consistency 2021-12-07 15:28:50 +00:00
Adam Brown 440de9741b extracting the debug feature state creation to its own factory 2021-12-07 15:19:28 +00:00
Adam Brown 2d74eb060c adding debug screen to override features
- adds enum support with persistence via class names
2021-12-07 15:19:28 +00:00
Adam Brown 96295f6102 removing no longer possible branches 2021-12-07 15:18:46 +00:00
Adam Brown 7e6a5f944f adding a consistent padding to allow message types to avoid touching the side gutter 2021-12-07 15:14:39 +00:00
Adam Brown 23bc867b95 removing manual send status spacing
- it's no longer needed as the send status is always present (but invisible)
2021-12-07 13:47:29 +00:00
Benoit Marty 673cbb29de Merge branch 'develop' into feature/bma/posthog 2021-12-07 14:26:31 +01:00
Benoit Marty 9d4835ab25 Avoid mistake by getting the id using an existing view 2021-12-07 14:23:07 +01:00
Benoit Marty d63f9073b7 Analytics: Display the opt in screen from the setting, and cleanup the code 2021-12-07 14:22:11 +01:00
Adam Brown 9ed72fd1eb removing manual end alignment for voice messages as send status gutter is now always present 2021-12-07 12:58:46 +00:00
Benoit Marty 219bb89c3a Analytics: Import the latest plan 2021-12-07 13:21:06 +01:00
Benoit Marty eba5aa94ce Analytics: ViewEvent sent before the View is ready. 2021-12-07 13:07:58 +01:00
Benoit Marty d0b62738e1 Analytics: opt-in: handle back pressed 2021-12-07 12:51:39 +01:00
Onuray Sahin 566f6332bc Set max length for poll options. 2021-12-07 14:43:27 +03:00
Adam Brown 3ff3507fa1 forcing the send spacing to always be taking into account
- ensures all message lengths are consistent
2021-12-07 11:33:57 +00:00
Adam Brown 5cfebb764c capping the preview image url based on the height
- stops large screens eg tablets from attempting to fill the screen
2021-12-07 11:32:51 +00:00
Adam Brown 9094173b52 matching iOS max line rules for the preview description 2021-12-07 11:32:51 +00:00
Adam Brown 170f34639b using themed colours for the close button 2021-12-07 11:32:51 +00:00