Commit graph

7750 commits

Author SHA1 Message Date
Benoit Marty
c40fc52ef5
Merge pull request #4999 from vector-im/feature/bma/zero_vote
Fix an error in string resource (#4997)
2022-01-20 10:38:33 +01:00
Benoit Marty
953f34f5e3 Fix an error in string resource (#4997) 2022-01-19 21:40:26 +01:00
Benoit Marty
6710f9320b Add some unit test for the command parser.
Not all commands are covered, could add more tests later.
2022-01-19 20:52:31 +01:00
Benoit Marty
c7dc08ef5d data class. 2022-01-19 20:40:40 +01:00
Benoit Marty
87adaee549 use sealed interface 2022-01-19 19:05:05 +01:00
Benoit Marty
4f1de34d4c Small cleanup 2022-01-19 19:03:25 +01:00
Benoit Marty
eb4475b4d9 Command parser is not a static object anymore 2022-01-19 18:43:48 +01:00
Florian Renaud
83c961e255 Use Throwable.isLimitExceededError extension 2022-01-19 16:56:00 +01:00
Adam Brown
491044b0c5
Merge pull request #4964 from vector-im/feature/adm/splash-carousel-review
Enabling FTUE splash carousel
2022-01-19 15:52:25 +00:00
Tiago Loureiro
4dea7131b1 Fix #4991: lifecycle should be at least started 2022-01-19 11:57:12 -03:00
Benoit Marty
c0aa0cef62 Analytics: inject analyticsTracker, it has a better scope 2022-01-19 15:24:25 +01:00
Benoit Marty
880b97cc5c Analytics: import latest plan 2022-01-19 15:21:25 +01:00
Benoit Marty
c4046990f0 Analytics: track call start and call end 2022-01-19 15:19:19 +01:00
Benoit Marty
69a9643894 Analytics: forgot password screen 2022-01-19 15:19:19 +01:00
Benoit Marty
e3c70d1bb1 Analytics: splashscreen 2022-01-19 15:19:19 +01:00
Benoit Marty
1e3733fe8e Analytics: login/register screens 2022-01-19 15:19:19 +01:00
Benoit Marty
54108b8f8d Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
db3353feb5 Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
13b4a58eaf Analytics: Add more screen
https://github.com/matrix-org/matrix-analytics-events/pull/11
2022-01-19 15:19:19 +01:00
Benoit Marty
67f43550ac Analytics: Fix issue with the drawer 2022-01-19 15:19:19 +01:00
Benoit Marty
f307c48dd4 Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
ebd4dc0c5e Analytics: Import the plan again 2022-01-19 15:19:19 +01:00
Benoit Marty
dfb807506b Analytics: Track some screen (#4715) 2022-01-19 15:19:19 +01:00
Benoit Marty
0a08a50e11 Analytics: Framework to send screen event 2022-01-19 15:19:19 +01:00
Benoit Marty
a8c29f55f5 Analytics: Send JoinedRoom event - room preview (#4716) 2022-01-19 15:19:19 +01:00
Benoit Marty
55a6257cee Analytics: Send JoinedRoom event (#4716) 2022-01-19 15:17:54 +01:00
Benoit Marty
11f176e079 Analytics: Create extension to compute JoinedRoom.RoomSize (#4716) 2022-01-19 15:16:08 +01:00
Benoit Marty
3e125bcccf Analytics: Send the Event CreatedRoom() (#4716) 2022-01-19 15:16:08 +01:00
Benoit Marty
7a6f3cbcf7 Analytics: Send the Event Click(name = Click.Name.SendMessageButton) (#4717) 2022-01-19 15:12:41 +01:00
Benoit Marty
e487621075 Analytics: create AnalyticsTracker interface 2022-01-19 15:12:41 +01:00
Benoit Marty
e416f1024a Reformat code using AS 2022-01-19 15:12:41 +01:00
Adam Brown
3c7f2c5bdf adding tools:text for dynamically set text 2022-01-19 11:18:54 +00:00
Adam Brown
211f184066 updating splash submit copy to use Create account when the I already have an account feature is enabled 2022-01-19 10:38:28 +00:00
Adam Brown
8f98f3e6d0 promoting wip carousel strings 2022-01-19 10:17:04 +00:00
Adam Brown
00f2947636 enabling the splash carousel feature by default 2022-01-19 10:17:04 +00:00
Onuray Sahin
381dd5343a Show edit action for poll messages if it is not voted and closed. 2022-01-19 13:00:21 +03:00
Adam Brown
70a95fc373 removing unused import 2022-01-18 16:21:37 +00:00
Adam Brown
030d9ef351 extracting inner class to its own file and updating function names relative to their usage 2022-01-18 16:20:33 +00:00
Adam Brown
eb763bb5bb adding onboarding option crawling to the sanity tests 2022-01-18 16:20:33 +00:00
Adam Brown
a3dd3a830c fixing wrong wait function being used 2022-01-18 16:20:33 +00:00
Adam Brown
69c05e63d4 only reverting to the combined sign in/sign up screen when the currently login mode isn't supported
- eg for a SSO only flow or unknown/unsupported
2022-01-18 16:20:33 +00:00
Benoit Marty
1c42df7752 Move the file to the new module. 2022-01-18 14:39:02 +01:00
Benoit Marty
ffad479dad Move the file to the new module. 2022-01-18 14:30:59 +01:00
Benoit Marty
194a584e4c Merge branch hotfix/1.3.15 2022-01-18 14:21:09 +01:00
Benoit Marty
2a7719cdf6 ktlint 2022-01-18 12:12:36 +01:00
Adam Brown
114c60cfed fixing onboarding crash when signing in/up with sso -
handles the sso flows by not forwarding to the signin/signup pages and instead using the previous onLoginFlowRetrieved when the selected server type is other
2022-01-18 10:51:54 +00:00
Onuray Sahin
ede1fe39fc Disable location sharing from build settings. 2022-01-18 13:41:40 +03:00
Benoit Marty
961f821ab9 Create and use removeIfCompat (#4961) 2022-01-18 09:19:52 +01:00
Benoit Marty
a083047888 Fix typo 2022-01-18 09:12:39 +01:00
ganfra
cc89a8fc77 Timeline : fix 4959 2022-01-18 09:11:55 +01:00
Bui Minh Duc
19a3eef137 Translated using Weblate (Vietnamese)
Currently translated at 99.1% (2707 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/vi/
2022-01-17 19:26:47 +00:00
Johan Smits
039e1dd6ad Translated using Weblate (Dutch)
Currently translated at 93.5% (2553 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-01-17 19:26:47 +00:00
Linerly
67b2e8378a 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-17 19:26:11 +00:00
Priit Jõerüüt
cce8234c6f Translated using Weblate (Estonian)
Currently translated at 99.9% (2727 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-01-17 19:26:11 +00:00
Felix
5ce2d4bcd3 Translated using Weblate (German)
Currently translated at 98.9% (2700 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-17 19:26:10 +00:00
Onuray Sahin
5581e0b5ba Code review fixes. 2022-01-17 18:30:04 +03:00
Adam Brown
256929b78f
Merge pull request #4880 from vector-im/feature/adm/carousel-images-update
Updated splash carousel images and copy
2022-01-17 15:11:08 +00:00
Benoit Marty
e2e3f72564 Merge branch 'develop' into feature/bca/fix_switch_space_on_tap_notif 2022-01-17 15:28:56 +01:00
Benoit Marty
ab29a15572
Merge pull request #4942 from vector-im/feature/bma/delete_rx
Remove unused module matrix-sdk-android-rx and do some cleanup
2022-01-17 11:59:23 +01:00
Adam Brown
7d0b833aa5 using app name template for the carousel content which contains the app name
- also marks the now unused strings for deletion
2022-01-17 09:24:53 +00:00
Adam Brown
be319f596d fixing pixel rounding to 451x451, image should be 450x450 2022-01-17 09:24:53 +00:00
Adam Brown
f4cacb2d16 applying percentage based heights to the carousel hero image and paddings 2022-01-17 09:24:53 +00:00
Adam Brown
43acc7a6f8 adding dark variants of the carousel images 2022-01-17 09:24:53 +00:00
Adam Brown
c0b855e7c7 adding non light mode carousel background which uses a vertical gradient 2022-01-17 09:24:53 +00:00
Adam Brown
982b480613 including updated copy for the carousel
- marked as donottranslate whilst waiting for sign off
- removed the positioning from the naming schema in favour of location of context
2022-01-17 09:24:53 +00:00
Adam Brown
fbe60f5a52 applying english override for the last carousel page copy 2022-01-17 09:24:53 +00:00
Adam Brown
b137009e6e replacing onboarding vectors with png to avoid performance overheads
- also fixes the carousel text reposition based on line count
2022-01-17 09:24:53 +00:00
Adam Brown
e521fd9059 fixing typo in carousel body 2022-01-17 09:24:53 +00:00
Adam Brown
bb2e3b1078 splitting the CharSequence creation from the conversion to EpoxyCharSequence 2022-01-17 09:24:53 +00:00
Adam Brown
7c5e7a902d updating splash carousel copy to match latest copy 2022-01-17 09:24:53 +00:00
Adam Brown
689c817606 updating splash carousel images with latest designs 2022-01-17 09:24:53 +00:00
Adam Brown
19f328bf9d styling last full stop in the carousel titles to use the accent colour
- also meant extracting out a separate state creation factory to avoid having too much logic inside the fragment
2022-01-17 09:24:53 +00:00
Dwaris
21bafe3735 Translated using Weblate (German)
Currently translated at 98.4% (2688 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-16 19:09:37 +00:00
Lamdarer
0ac2ce10a8 Translated using Weblate (German)
Currently translated at 98.4% (2688 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-16 19:09:37 +00:00
p_0g_8mm3_
b193ccd951 Translated using Weblate (German)
Currently translated at 98.4% (2688 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-16 19:09:37 +00:00
libexus
ee1c598e54 Translated using Weblate (German)
Currently translated at 98.4% (2688 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-16 19:09:37 +00:00
Felix
2cbc529b67 Translated using Weblate (German)
Currently translated at 98.4% (2688 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-16 19:09:36 +00:00
Metehan Özyürek
db14451d92 Translated using Weblate (Turkish)
Currently translated at 58.3% (1592 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/tr/
2022-01-14 17:26:14 +00:00
Glandos
3b7098c484 Translated using Weblate (French)
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/fr/
2022-01-14 17:26:13 +00:00
Priit Jõerüüt
bd24b0db95 Translated using Weblate (Estonian)
Currently translated at 99.9% (2727 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-01-14 17:26:10 +00:00
libexus
6882f7fc00 Translated using Weblate (German)
Currently translated at 97.9% (2673 of 2729 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-01-14 17:26:08 +00:00
Benoit Marty
9232206947
Merge pull request #4948 from vector-im/feature/bma/alerter_analytics_optin
Prevent Alerts to be displayed on the analytics opt-in screen
2022-01-14 17:46:32 +01:00
Valere
1d7ce1c794 Fix switch to best space when tapping notification 2022-01-14 15:39:49 +01:00
Benoit Marty
31e487b073
Merge pull request #4911 from vector-im/feature/nfe/rename_kick_command
Remove "X kicked X" terminology when removing people from a room
2022-01-14 08:42:18 +01:00
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
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
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
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
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
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
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