Commit graph

7618 commits

Author SHA1 Message Date
Benoit Marty
1ee29555c6 Merge branch 'develop' into feature/ons/static_location 2022-01-25 16:01:16 +01:00
Benoit Marty
7aba03c60a
Merge pull request #5056 from vector-im/feature/bma/fix_toolbar_title
Fix toolbar title
2022-01-25 15:55:34 +01:00
Benoit Marty
9f4deabe08
Merge pull request #5043 from vector-im/feature/bma/track_performance
Track performance
2022-01-25 15:54:57 +01:00
Benoit Marty
ed52aed432 i18n and format 2022-01-25 15:41:04 +01:00
Benoit Marty
34a703910b Set title and subtitle to the supportActionBar else on some circumstances it has no effect
https://stackoverflow.com/questions/26486730/in-android-app-toolbar-settitle-method-has-no-effect-application-name-is-shown
2022-01-25 15:36:18 +01:00
Benoit Marty
b728e062e3 Cleanup layout 2022-01-25 15:15:47 +01:00
Onuray Sahin
e0ec294c1b Hide undisclosed poll option for now. 2022-01-25 16:42:57 +03:00
Benoit Marty
460f39176c Fix compilation issues after merge of develop 2022-01-25 14:36:32 +01:00
Benoit Marty
b619f70904 Merge branch 'develop' into feature/ons/static_location 2022-01-25 14:29:13 +01:00
Adam Brown
0713877baf fixing line length 2022-01-25 13:14:32 +00:00
Benoit Marty
5bb06158c7
Merge pull request #5020 from vector-im/feature/ons/edit_polls
Edit Polls and Allow Undisclosed Polls
2022-01-25 13:47:49 +01:00
Onuray Sahin
43c8624b33 Code review fixes. 2022-01-25 15:31:59 +03:00
Onuray Sahin
04ffb951c3 Code review fixes. 2022-01-25 12:38:11 +03:00
Benoit Marty
cf86fe34d5 Improve SDK API (self review) 2022-01-24 22:37:07 +01:00
Onuray Sahin
d65899ef88 Fix sharing location action in timeline. 2022-01-24 21:55:32 +03:00
Benoit Marty
3bc7b0acee Small issue 2022-01-24 18:57:53 +01:00
Adam Brown
203c7e0cd7 adding tools preview for the use case option icons
- this is only the background layer though as the real image is programatically constructed
2022-01-24 17:55:46 +00:00
Adam Brown
57be0ba913 making use of roundToInt to avoid separate rounding and toInt 2022-01-24 17:50:22 +00:00
Benoit Marty
d24a51ce67 tiny rework 2022-01-24 18:49:50 +01:00
Benoit Marty
6c560679a5 Hide the button to make the loading wheel centered 2022-01-24 18:49:20 +01:00
Benoit Marty
3a8c788657 Add a Flow to ba able to hide one of the button 2022-01-24 18:47:26 +01:00
Adam Brown
f8e65f5872 avoiding nullable param and supplying a range for the tint alpha 2022-01-24 17:47:15 +00:00
Onuray Sahin
9516e379ea Keep build settings to enable location sharing for possible use cases of forks. 2022-01-24 18:49:49 +03:00
Onuray Sahin
12bfece89e Prevent anr in timeline. 2022-01-24 17:36:26 +03:00
Onuray Sahin
8bf39c3127 Inform mapview when fragment is stopped. 2022-01-24 17:12:17 +03:00
Onuray Sahin
c81654d769 Fix native crash (need more testing). 2022-01-24 16:07:11 +03:00
Onuray Sahin
3994373387 Delabs location sharing. 2022-01-24 15:27:20 +03:00
Valere
553e55b4d1 quick cleaning / code review 2022-01-24 13:08:47 +01:00
Onuray Sahin
749194b27c Delabs polls. 2022-01-24 14:32:27 +03:00
Onuray Sahin
b0b92c062e Undisclosed poll implementation. 2022-01-24 14:31:50 +03:00
Onuray Sahin
7f97e78ba3 Merge branch 'develop' into feature/ons/edit_polls
* develop: (66 commits)
  toolbar management  (#4887)
  adding changelog entry
  adding back periodic flag when scheduling automatic background workers
  Fix enum class warning
  Split long lines Done by https://github.com/matrix-org/matrix-analytics-events/pull/16
  Add new class in analytics plan
  Fix conditional for Delight issue automation
  Add missing import in kdoc
  Update kdoc
  Enable Delight issue automation
  Fix an error in string resource (#4997)
  Changelog
  Add some unit test for the command parser. Not all commands are covered, could add more tests later.
  data class.
  use sealed interface
  Small cleanup
  Command parser is not a static object anymore
  Add changelog
  Use Throwable.isLimitExceededError extension
  Do not automatically retry 429 with a too long delay
  ...
2022-01-23 22:15:36 +03:00
Onuray Sahin
9dd48045f6 Invalidate previous votes for edited polls. 2022-01-23 19:32:13 +03:00
libexus
bae0c2593a Translated using Weblate (German)
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/de/
2022-01-22 18:23:06 +00:00
Nart Tlisha
92ef78a9d5 Added translation using Weblate (Abkhazian) 2022-01-22 17:11:33 +00:00
Adam Brown
023409d8cf updating use case icons to match designs
- programmatically creates a layer drawable to avoid introducing new colours into the palette
2022-01-21 17:16:49 +00:00
Benoit Marty
f6d856d828 Analytics: report performance event about sync request - send number of joined rooms 2022-01-21 17:42:40 +01:00
Benoit Marty
cab06c4b52 Analytics: report performance event about sync request 2022-01-21 16:44:19 +01:00
Onuray Sahin
5d07c71dcf Open edit poll screen with the last edited content if exists. 2022-01-21 18:23:05 +03:00
fedrunov
f7aedff418
toolbar management (#4887)
Toolbar management rework and toolbar style alignment
2022-01-21 13:38:27 +01:00
Valere
4d7e46b751 Quick fixes on auto uisi RS 2022-01-21 10:27:41 +01:00
Baxtiyor M
c9f19be25d Added translation using Weblate (Kara-Kalpak) 2022-01-20 17:56:14 +00:00
Benoit Marty
9bfeb6f814
Merge pull request #4734 from vector-im/feature/bma/analytics_next
Implement analytics plan
2022-01-20 18:12:46 +01:00
Benoit Marty
af43890fab
Merge pull request #4041 from vector-im/feature/bca/fix_switch_space_on_tap_notif
Fix switch to best space when tapping notification
2022-01-20 16:54:06 +01:00
Onuray Sahin
c3d7a253e4 Allow editing polls. 2022-01-20 17:41:03 +03:00
Benoit Marty
000806550a Split long lines
Done by https://github.com/matrix-org/matrix-analytics-events/pull/16
2022-01-20 15:36:16 +01:00
Benoit Marty
81b8260eb2 Add new class in analytics plan 2022-01-20 14:42:10 +01:00
Benoit Marty
d82743eeab
Merge pull request #4995 from vector-im/feature/fre/fix_retry_delay_on_429
Do not auto-retry on 429 in case of too long retry delay
2022-01-20 14:31:29 +01:00
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
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
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
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