Commit graph

8030 commits

Author SHA1 Message Date
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
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
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
Adam Brown
8b96d8cd8d only acquire a wake lock if a lock is not already held 2021-12-15 17:32:39 +00: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
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
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
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
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
Adam Brown
f3f28f3989 limiting title to avoid overlapping with close icon 2021-12-07 11:32:51 +00:00
Adam Brown
0150d830d4 flattening preview url view layout with custom view to reduce view hierarchy 2021-12-07 11:32:50 +00:00
Adam Brown
952ceced05 updating url preview to match new designs 2021-12-07 11:32:32 +00:00
Benoit Marty
cf267ae234 Analytics: display opt-in from Home 2021-12-07 12:16:23 +01:00
Benoit Marty
c1438f0a65 Analytics: iterate on the config - and disable by default on forks 2021-12-07 12:01:01 +01:00
Onuray Sahin
71d7270da5 Add room list preview for poll response and end events. 2021-12-07 14:00:06 +03:00
Onuray Sahin
0d3444b9ce Fix poll option checkbox color. 2021-12-07 12:53:04 +03:00
Onuray Sahin
1df6b33981 Add labs flag for polls. 2021-12-07 11:53:52 +03:00
Benoit Marty
7a77ae49f1 More debouncing 2021-12-06 22:45:03 +01:00
Benoit Marty
5726c3fd21 I need the view here 2021-12-06 22:32:24 +01:00
Benoit Marty
1f8073cbbf clicks() already has debouncing with conflate(), so throttleFirst is not necessary 2021-12-06 22:15:34 +01:00
Benoit Marty
d13c252658 Use debouncedClicks where applicable 2021-12-06 22:11:56 +01:00
Benoit Marty
8421d46cd7 Use observeViewEvents facility 2021-12-06 21:53:34 +01:00
Benoit Marty
099d0ca564 private 2021-12-06 21:50:33 +01:00
Ihor Hordiichuk
17c28022d7 Translated using Weblate (Ukrainian)
Currently translated at 94.7% (2552 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-06 17:25:55 +00:00
LinAGKar
beb4dcd3ea Translated using Weblate (Swedish)
Currently translated at 99.8% (2690 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-12-06 17:25:55 +00:00
Danial Behzadi
c93fee336d Translated using Weblate (Persian)
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/fa/
2021-12-06 17:25:54 +00:00
Benoit Marty
74e573ecdc Analytics: small fixes 2021-12-06 18:19:05 +01:00
Benoit Marty
3689a62aae Analytics: add actions in debug screen to manually test the optin screen 2021-12-06 12:57:11 +01:00
Benoit Marty
d804d1b6c5 Analytics: small issue 2021-12-06 12:55:08 +01:00
Adam Brown
c208c2d5ae removing now longer needed Mode argument 2021-12-06 10:14:20 +00:00
Benoit Marty
8c794b1059 Analytics: Opt-in screen logic + remove from SplashScreen 2021-12-06 11:13:49 +01:00
random
c74633c0f8 Translated using Weblate (Italian)
Currently translated at 99.8% (2690 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2021-12-04 17:25:55 +00:00
libexus
0a35604dfa Translated using Weblate (German)
Currently translated at 98.4% (2650 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-12-04 17:25:54 +00:00
Zet
d6d1fe72a2 Translated using Weblate (Arabic)
Currently translated at 39.5% (1065 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-12-04 17:25:53 +00:00
ganfra
49eee0dc38 Merge branch 'develop' into feature/fga/timeline_chunks_rework 2021-12-03 18:39:18 +01:00
ganfra
3217277bc4 Timeline: check for create event to hide loader 2021-12-03 18:39:04 +01:00
Benoit Marty
1f58913b53
Merge pull request #4626 from vector-im/feature/adm/feature-flags
Feature flags base
2021-12-03 17:38:25 +01:00
Benoit Marty
e60d053f84
Merge pull request #4568 from vector-im/feature/fga/fix_sdk_integration_tests
Feature/fga/fix sdk integration tests
2021-12-03 17:11:33 +01:00
Adam Brown
e3155b6c98 removing notifications v1, v2 is live 2021-12-03 16:08:44 +00:00
Adam Brown
db406704c9 removing boolean notification version usage 2021-12-03 15:58:18 +00:00
Adam Brown
6a3d4044ef removing unused imports and increasing enum allowance 2021-12-03 15:30:55 +00:00
Adam Brown
11669fa2ac porting the notifications setting version to the vector features 2021-12-03 15:26:43 +00:00
Adam Brown
8007654e2a setting login version via typed build config field instead of resources 2021-12-03 15:11:31 +00:00
Adam Brown
54c45d3e71 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
2021-12-03 14:51:20 +00:00
Onuray Sahin
435dc9f9d1 Fix room list preview. 2021-12-03 15:57:07 +03:00
Adam Brown
9e367a8535 providing a features abstraction for the login
- aims to have a centralised place for all feature login, overrideable by forks and debug flavours
2021-12-03 12:16:43 +00:00
Onuray Sahin
0a7df44a12 Add confirmation dialog to end poll. 2021-12-03 15:11:23 +03:00
Adam Brown
a2a89c1ee8 moving the soft logout activity starting to the navigator 2021-12-03 11:58:13 +00:00
ganfra
8ca60eadbb Merge branch 'develop' into feature/fga/timeline_chunks_rework 2021-12-03 12:55:57 +01:00
ganfra
7fa4bf182a Timeline: get off main thread when waiting for positionOrReadMarker 2021-12-03 12:15:04 +01:00
ganfra
014da84ba6 Timeline: try to optimise a bit the loading 2021-12-03 12:14:35 +01:00
Jeff Huang
122273d22a Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2021-12-03 09:25:59 +00:00
sr093906
bfb0846ddc Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
2021-12-03 09:25:58 +00:00
Ihor Hordiichuk
a4bdf96ba3 Translated using Weblate (Ukrainian)
Currently translated at 94.6% (2549 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-12-03 09:25:58 +00:00
LinAGKar
16846f039a Translated using Weblate (Swedish)
Currently translated at 99.8% (2689 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-12-03 09:25:57 +00:00
Besnik Bleta
218e20a92e Translated using Weblate (Albanian)
Currently translated at 99.4% (2677 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-12-03 09:25:57 +00:00
lvre
bb1ffc8483 Translated using Weblate (Portuguese (Brazil))
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/pt_BR/
2021-12-03 09:25:56 +00:00
Linerly
2ec119d70f 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-03 09:25:55 +00:00
Szimszon
ef7e813598 Translated using Weblate (Hungarian)
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/hu/
2021-12-03 09:25:55 +00:00
Danial Behzadi
33a86a4add Translated using Weblate (Persian)
Currently translated at 99.9% (2692 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-12-03 09:25:54 +00:00
Priit Jõerüüt
d287f6b2f3 Translated using Weblate (Estonian)
Currently translated at 99.9% (2691 of 2693 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-12-03 09:25:54 +00:00
waclaw66
3b82e16a12 Translated using Weblate (Czech)
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/cs/
2021-12-03 09:25:53 +00:00
Onuray Sahin
c62028df68 Implement poll actions bottom sheet. 2021-12-03 11:41:21 +03:00
Onuray Sahin
32e8a7e886 Remove legacy poll ui. 2021-12-03 11:40:12 +03:00
Onuray Sahin
06485cf5e4 Implement poll in timeline ui. 2021-12-03 11:39:41 +03:00
ganfra
03961fe933 Timeline: update when loading states changed 2021-12-02 20:42:29 +01:00
Benoit Marty
3644e5d755
Merge pull request #4611 from vector-im/feature/bma/devx_view_ids
Devx view ids
2021-12-02 19:48:35 +01:00
Benoit Marty
73f5d77b05 Analytics: Opt-in screen layout - WIP 2021-12-02 15:56:54 +01:00
Adam Brown
c0c959e460 avoiding duplicate long press events when long pressing urls in messages
- infers a urls has been click by the presence of a selection
2021-12-02 14:38:38 +00:00
Benoit Marty
3917b4c8cf tmp expected result 2021-12-02 14:10:03 +01:00
Benoit Marty
729d9ce815 Create interface for the coming plan 2021-12-02 14:10:03 +01:00
Benoit Marty
f05ed4c6cc Cleanup 2021-12-02 14:10:03 +01:00
Benoit Marty
9b7650e5db Analytics: Remove / suffix in the URLs. 2021-12-02 14:10:03 +01:00
Benoit Marty
eb1a30cc30 Analytics: code quality 2021-12-02 14:10:03 +01:00
Benoit Marty
eeeab1dd0e Give analytics to Activities and Fragments 2021-12-02 14:10:03 +01:00
Benoit Marty
42d987f8ef Analytics: Fix a crash, cannot create several time a PostHog client 2021-12-02 14:10:03 +01:00
Benoit Marty
2968be2233 Analytics: Fix a race condition 2021-12-02 14:10:03 +01:00
Benoit Marty
24a6080090 Analytics: Improve logs 2021-12-02 14:10:03 +01:00
Benoit Marty
55c7270ef2 Analytics: Create PostHog client only when user has given their consent 2021-12-02 14:10:03 +01:00
Benoit Marty
be2637c426 Analytics: enable some logs 2021-12-02 14:10:03 +01:00
Benoit Marty
805fcb6bd3 Analytics: explicitly optOut, maybe useful for stats captured automatically. 2021-12-02 14:10:03 +01:00
Benoit Marty
622483cf9f Analytics: cleanup 2021-12-02 14:10:03 +01:00
Benoit Marty
a8108f2e17 Analytics: simpler API 2021-12-02 14:10:03 +01:00
Benoit Marty
869b5ad55b Analytics: add setting section 2021-12-02 14:10:03 +01:00
Benoit Marty
4c7ccfb438 Analytics: fix a swap in URL and add API keys 2021-12-02 14:10:03 +01:00
Benoit Marty
530f4a8851 Analytics: sign out 2021-12-02 14:10:03 +01:00
Benoit Marty
a3173d89e5 Analytics: manage account data 2021-12-02 14:10:03 +01:00
Benoit Marty
8752fe1e69 Analytics: observe the store and react 2021-12-02 14:10:03 +01:00
Benoit Marty
995e1e3d49 Analytics: add screen API 2021-12-02 14:10:03 +01:00
Benoit Marty
5c5a547aeb Analytics: add capture API 2021-12-02 14:10:03 +01:00
Benoit Marty
b33cddf0e3 Analytics: add PostHog library 2021-12-02 14:10:03 +01:00
Benoit Marty
8608230fa0 Analytics: add config to build.gradle 2021-12-02 14:10:03 +01:00
Benoit Marty
5606a5bfe7 Analytics: ask user consent at startup (we may iterate later) 2021-12-02 14:10:03 +01:00
Benoit Marty
b68e9e1f7f Analytics: setup the first classes 2021-12-02 14:10:03 +01:00
Benoit Marty
6cb8a2458f Remove extra new lines in XML 2021-12-01 23:06:49 +01:00
Benoit Marty
d42473becb More cleanup, remove useless attribute "orientation" 2021-12-01 22:58:21 +01:00
Benoit Marty
696c537f96 All the cleanup and rework end up by fixing some mistakes :) 2021-12-01 22:49:16 +01:00
Benoit Marty
6624039413 Use @id and not @+id when referencing ids in layouts - RelativeLayout and toolbarId 2021-12-01 22:44:07 +01:00
Benoit Marty
c84642aa33 Use @id and not @+id when referencing ids in xml 2021-12-01 22:27:57 +01:00
Benoit Marty
e106ff8de0 Use @id and not @+id when referencing ids in layouts - ConstraintLayout 2021-12-01 22:19:33 +01:00
Benoit Marty
2d17156861 Use @id and not @+id when referencing ids in layouts - accessibilityTraversal 2021-12-01 22:16:28 +01:00
Benoit Marty
6d3df0d802 Use @id and not @+id when referencing ids in layouts - ConstraintLayout 2021-12-01 22:13:21 +01:00
Benoit Marty
fa256cca25
Merge pull request #4603 from vector-im/feature/aris/remove_not_needed_job_cancel_4602
There is no need to call job.cancel() when we are using viewModelScope()
2021-12-01 18:24:06 +01:00
ariskotsomitopoulos
578a012f93 Remove unused onCleared() from viewModels 2021-12-01 16:04:56 +00:00
ariskotsomitopoulos
f8f5e7ecd3 Remove some other not needed setData(null) in controllers 2021-12-01 16:03:04 +00:00
Benoit Marty
f80069604c Version++ 2021-12-01 17:03:00 +01:00
Benoit Marty
9253a3664b
Merge pull request #4607 from vector-im/feature/bma/cursor_crash
Add robustness when getting data from cursors.
2021-12-01 16:48:50 +01:00
Adam Brown
81ee141330 only converting the voice messages when we're sending them
- stops us from eagerly converting to .ogg on android L and below devices whilst the draft phase/playback phase is ongoing, fixes unexpected .ogg when playing drafts
2021-12-01 15:18:24 +00:00
Benoit Marty
84f7eb29e0 Add robustness when getting data from cursors.
Use androidx.core.database extension for better nullability check, and ignore uncomplete data.
2021-12-01 16:09:12 +01:00
ariskotsomitopoulos
9f1e327fa5 There is no need to call job.cancel() when we are using viewModelScope() 2021-12-01 13:15:03 +00:00
ariskotsomitopoulos
7fedcbb998 Fix issue 4600 that search results sometimes are not displayed properly 2021-12-01 13:04:20 +00:00
Weblate
9726e258b5 Merge branch 'origin/develop' into Weblate. 2021-12-01 10:38:05 +00:00
Fjoerfoks
c855465e62 Translated using Weblate (Frisian)
Currently translated at 49.7% (1339 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-30 20:25:58 +00:00
Benoit Marty
3a8fd42513
Merge pull request #4558 from vector-im/feature/adm/voice-draft
Adding support for voice drafts
2021-11-30 20:44:49 +01:00
Benoit Marty
02a609164c
Merge pull request #4592 from vector-im/feature/aris/epoxy_controller_init_improvement
Feature/aris/epoxy controller init improvement
2021-11-30 18:50:32 +01:00
ariskotsomitopoulos
3f29130332 Remove requestModelBuild() from epoxy Controllers init block 2021-11-30 17:06:47 +00:00
Benoit Marty
9d6ac08a18 Move to their own file since those class are used at different places now 2021-11-30 17:46:20 +01:00
ganfra
f0ecfbbab2 Tests: TestMatrix should only be used internally by sdk tests 2021-11-30 17:22:50 +01:00
ganfra
3d31ba963d Merge branch 'develop' into feature/fga/timeline_chunks_rework 2021-11-30 16:58:55 +01:00
Benoit Marty
b66aff457a Iterate on the consent dialog of the identity server - handle the other places. 2021-11-30 16:34:16 +01:00
Benoit Marty
3d5d9ad154 Iterate on the consent dialog of the identity server. 2021-11-30 15:46:27 +01:00
Adam Brown
aaba62813c removing unused import 2021-11-30 10:22:25 +00:00
Adam Brown
cdb5376a19 Adding support for voice drafts
- introduces a new Voice draft and sender mode type
- initializes the voice recorder with a previously recorded file (the draft)
- renames RecordingUiStates to map to their actual UI states
2021-11-30 10:22:25 +00:00
Benoit Marty
df23cc4e09
Merge pull request #4567 from vector-im/feature/adm/stuck-voip
Always showing hang up button in VOIP calls
2021-11-29 16:24:16 +01:00
Benoit Marty
7beec1c726
Merge pull request #4557 from vector-im/feature/adm/voice-keep-screen-on
Keep device screen on during voice message playback and recording
2021-11-29 14:29:30 +01:00
Benoit Marty
b59ae53805
Merge pull request #4556 from vector-im/feature/adm/voice-rotation
Supporting rotation during voice recordings
2021-11-29 11:40:55 +01:00
Benoit Marty
b889641f2b
Merge pull request #4565 from vector-im/feature/adm/dismissing-listening-for-notification-on-signout
Dismissing Fdroid variant `Listening for notifications` on sign out
2021-11-29 11:33:53 +01:00
Benoit Marty
173ccc6bd4
Merge pull request #4566 from vector-im/feature/adm/typing-emoji-leftovers
Emoji insertion leftover characters
2021-11-29 11:32:22 +01:00
Ihor Hordiichuk
31b521e925 Translated using Weblate (Ukrainian)
Currently translated at 94.7% (2549 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-29 09:25:54 +00:00
Szimszon
8e807be7b0 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-11-29 09:25:53 +00:00
Zet
e0ba2a26d4 Translated using Weblate (Arabic)
Currently translated at 39.5% (1065 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-29 09:25:52 +00:00
Adam Brown
bcbfc13f0a allowing idle and create offer call states to hang up
- fixes the CallActivity looking stuck with no way to exit the call
2021-11-26 16:40:59 +00:00
Adam Brown
7b691cc433
updating comment to mention the cursor position 2021-11-26 16:21:57 +00:00
Adam Brown
20241f852a basing the emoji ':' search on the current edit text selection to avoid always replacing the last occurrence 2021-11-26 12:05:54 +00:00
Adam Brown
dffed4445d fixing single character emoji searches retaining the original query
- not entirely sure why this works but replacing the replace with separate delete + insert commands allows the previous query to be fully removed
2021-11-26 11:57:47 +00:00
Adam Brown
4986e9713b stopping the guard service on sign out
- fixes the listening the notifications lingering around when it's not needed
2021-11-26 09:36:55 +00:00
dependabot[bot]
8a8fa066f9
Bump libphonenumber from 8.12.37 to 8.12.38
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.37 to 8.12.38.
- [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.37...v8.12.38)

---
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-11-25 23:06:20 +00:00
Adam Brown
034725ef91 ignoring duplicated state updates 2021-11-25 14:49:31 +00:00
Adam Brown
9e9116df2f marking the playback tracker as idle when the voice recording stops
- fixes missing EndkeepScreenOn
2021-11-25 14:49:11 +00:00
Adam Brown
fdfac8d20a adding doc for the default clock time provision 2021-11-25 10:03:09 +00:00
Adam Brown
28af0a637f using instance based playback activity listener and updating param name to give more context 2021-11-25 09:48:14 +00:00
m1chj
c34e425ada Translated using Weblate (Polish)
Currently translated at 98.2% (2643 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-25 09:25:55 +00:00
Fjoerfoks
a77bfa058d Translated using Weblate (Frisian)
Currently translated at 46.8% (1261 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-25 09:25:54 +00:00
Danial Behzadi
5b7673c8d9 Translated using Weblate (Persian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-11-25 09:25:52 +00:00
Zet
adf18d881b Translated using Weblate (Arabic)
Currently translated at 39.5% (1065 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-25 09:25:51 +00:00
Adam Brown
5d1812008d adding clock abstraction for avoiding directly using the System.currentTimeMillis 2021-11-24 16:37:53 +00:00
Adam Brown
8fa264589a removing unused imports 2021-11-24 16:37:53 +00:00
Adam Brown
4a5e21ad21 avoiding stopping any active recording if we're rotating
- had to keep track of the recording start time in order to maintain the current length counter
2021-11-24 16:37:52 +00:00
Adam Brown
c2c495c49d keeping device screen on during any voice playback/recording within the room details activity
- Fixes playback and recording stopping due to device inactivity
- Adds a separate activity listener for monitoring if any audio is playing or being recording and keeping the screen on if so
2021-11-24 16:24:39 +00:00
Adam Brown
bbb3a6139f avoiding duplicated drag event updates 2021-11-24 14:35:45 +00:00
Adam Brown
755e3fe932 switching the player tracker to a singleton to avoid losing state on rotation
- this means we need to be extra careful about releasing any listeners
2021-11-24 14:35:45 +00:00
Benoit Marty
32441eb81b
Merge pull request #4553 from vector-im/feature/adm/stricter-voice-file-deletion
Unable to upload .ogg to rooms
2021-11-24 13:55:31 +01:00
Adam Brown
aa3631f328 fixing recursive call 2021-11-24 10:58:21 +00:00
Adam Brown
00059e7b70 adding missing . for file extension 2021-11-24 10:33:53 +00:00
Adam Brown
5ee379e10d including a new voice message attachment type
- allows for us to explictly delete voice message after uploading rather than inferring that audio message with the .ogg extension are voice messages which could have caused us to delete users files
2021-11-24 10:21:12 +00:00
Benoit Marty
bd423db98a
Merge pull request #4548 from vector-im/feature/adm/sealed-class-cleanup
Voice related sealed class cleanup
2021-11-24 11:10:10 +01:00
Ihor Hordiichuk
d1cd09acd0 Translated using Weblate (Ukrainian)
Currently translated at 94.3% (2537 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-23 20:26:07 +00:00
LinAGKar
5fd4775257 Translated using Weblate (Swedish)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-11-23 20:26:02 +00:00
m1chj
2472978756 Translated using Weblate (Polish)
Currently translated at 97.8% (2632 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-23 20:26:00 +00:00
Fjoerfoks
5025170117 Translated using Weblate (Frisian)
Currently translated at 45.9% (1235 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-23 20:25:55 +00:00
Glandos
e982dd48e8 Translated using Weblate (French)
Currently translated at 99.9% (2689 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-11-23 20:25:51 +00:00
Adam Brown
6838e701b5 reformating 2021-11-23 18:22:47 +00:00
Adam Brown
70d25653c8 removing unused base property from the sealed classes and switching to interfaces 2021-11-23 18:21:42 +00:00
Adam Brown
d1102f7be4 fixing wrong cased data class names 2021-11-23 18:19:33 +00:00
Adam Brown
56cfee572f fixing message edits thinking there's an active voice recording 2021-11-23 18:02:12 +00:00
Adam Brown
251c54ecfe creating unique files for each voice recording
- stops the recording flow from deleting/overwriting pending voice messages
2021-11-23 18:02:11 +00:00
Benoit Marty
eba6ae592b
Merge pull request #4539 from vector-im/feature/fre/fix_duplicated_settings
Remove duplicated settings declaration
2021-11-22 19:15:08 +01:00
David Langley
460596d6b3 Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/fix_reply_and_quote_newlines 2021-11-22 17:19:23 +00:00
David Langley
c4cf7fa069 lint 2021-11-22 17:15:15 +00:00
Florian Renaud
6c81bf6ee8 Remove duplicated settings declaration 2021-11-22 18:03:07 +01:00
David Langley
2b3de840f1 Force markdown parse on replies and update quote to use markdown parser. 2021-11-22 17:02:12 +00:00
Benoit Marty
ca34812f82
Merge pull request #4537 from vector-im/feature/bma/more_cleanup
Feature/bma/more cleanup
2021-11-22 18:00:00 +01:00
Benoit Marty
62293e3a4e ktlint 2021-11-22 17:59:38 +01:00
Benoit Marty
e95d603dc5 Rename fun 2021-11-22 17:19:25 +01:00
Benoit Marty
e546587efb Better ViewState 2021-11-22 17:18:11 +01:00
Benoit Marty
aee34ad552 Cleanup the ViewModels 2021-11-22 16:45:18 +01:00
Benoit Marty
e10af6476f invalidate does not work on Activity :/ 2021-11-22 16:24:14 +01:00
Benoit Marty
aa0f031910 invalidate does not work on Activity :/ 2021-11-22 16:18:57 +01:00
Benoit Marty
86d76e76a4 Fix DI 2021-11-22 15:41:54 +01:00
Benoit Marty
2586b376f5 Add a debug screen to display private settings, and use it to force display of Dialpad Tab 2021-11-22 15:05:18 +01:00
Benoit Marty
97a44a5632
Merge pull request #4523 from vector-im/feature/adm/voice-composer
Moving voice logic to the MessageComposer
2021-11-22 15:01:40 +01:00
m1chj
f3ccf83051 Translated using Weblate (Polish)
Currently translated at 95.6% (2573 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 11:14:19 +00:00
Jacob
1ffa28b079 Translated using Weblate (Polish)
Currently translated at 95.6% (2573 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 11:14:18 +00:00
Benoit Marty
e520a374e4 Format code 2021-11-22 10:45:45 +01:00