Commit Graph

7644 Commits

Author SHA1 Message Date
Benoit Marty
4cdf55e7dd Prevent Alerts to be displayed in the automatically displayed analytics opt-in screen (#4933) 2022-01-13 21:53:42 +01:00
Benoit Marty
006b212189 Change remaining Observable to something more accurate 2022-01-13 21:19:52 +01:00
Benoit Marty
b8aaa177c2 Add a module library/core-utils as a base module for all util tools 2022-01-13 20:28:50 +01:00
Adam Brown
7eb83301b3 enabling resizable activities which should in turn allow desktop mode android to resize windows 2022-01-13 17:27:13 +00:00
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
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
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
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
Adam Brown
42e6c54e8f fixing line length 2022-01-12 13:51:53 +00: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
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
Adam Brown
01ef46517e flattening branch to avoid empty code block 2022-01-12 09:16:46 +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
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
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
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
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
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
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
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
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
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
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