Commit graph

9324 commits

Author SHA1 Message Date
Adam Brown
aa5054cddf defaulting the password field to the password type by default in xml 2022-03-31 17:50:20 +01:00
Adam Brown
c83882d903 updating debug switch copy to better reflect the feature 2022-03-31 17:50:20 +01:00
Adam Brown
d302875fb7 providing more context to screen opening function 2022-03-31 17:50:20 +01:00
Adam Brown
12ae35f5ac reordering methods to match usage
- also ports the Sso listener to a functional interface
2022-03-31 17:50:20 +01:00
Adam Brown
bc4566da4d temporarily hiding the server selection edit button whilst building out the server selection screen 2022-03-31 17:50:20 +01:00
Adam Brown
53675b599d reducing the edit button min width in order to match designs
- we rely on the text size and padding instead
2022-03-31 17:50:20 +01:00
Adam Brown
e8791fb3cf renaming reset action to also capture registering along with login 2022-03-31 17:50:20 +01:00
Adam Brown
c3ab895a54 adding missing inputType, fixes max lines and ime option not being taken into account 2022-03-31 17:50:20 +01:00
Adam Brown
585ac4bf1f extracting common textinputlayer interactions to their own extensions and providing a dedicated register action 2022-03-31 17:50:20 +01:00
Adam Brown
11983443fb replacing hardcoded strings with resources 2022-03-31 17:50:20 +01:00
Adam Brown
7e5c3df7a7 adding combined server selection/sign up fragment 2022-03-31 17:50:20 +01:00
Adam Brown
2cbbfca73f adding helper for recalculating percentage heights within a constraint layout
- this allows percentages to be used which make of the screen viewport rather than the accumulated scroll height
2022-03-31 17:50:20 +01:00
Adam Brown
b439322776 adding debug flag for enabling the new combined signup/choose server screen 2022-03-31 17:50:19 +01:00
Adam Brown
ced621d469 refreshing the room summaries when new crypto sessions are recieved
- matches the same flow as the timeline by starting observing in the ViewModel init
2022-03-31 17:23:05 +01:00
Aris Kotsomitopoulos
b9934d7239
Merge pull request #5666 from vector-im/feature/aris/threads_thread_list_loader
Add loader to thread list
2022-03-31 16:24:12 +03:00
Maxime NATUREL
d05d697831
Merge pull request #5661 from vector-im/feature/mna/5581-live-location-feature-flag
#5581: live location sharing feature flag
2022-03-31 14:11:07 +02:00
ariskotsomitopoulos
21541642ba Exclude NegativeMargin from linter 2022-03-31 14:35:37 +03:00
ariskotsomitopoulos
f8a909b014 Enhance naming 2022-03-31 14:07:49 +03:00
Onuray Sahin
fbbadc8138 Rebind location service when the previous sharing is stopped. 2022-03-31 13:45:46 +03:00
Benoit Marty
9a2cc1a4c5
Merge pull request #5664 from vector-im/feature/bma/dep_upgrade
Upgrade Jitsi and ktlint
2022-03-31 11:32:14 +02:00
Maxime NATUREL
167fcb5366 Directly use VectorFeatures inside Fragment 2022-03-31 11:25:30 +02:00
Benoit Marty
0fe3cc3acc
Merge pull request #5663 from cketti/fix_openOutputStream
Use truncate mode to replace the contents of existing files

`ContentResolver.openOutputStream(Uri)` does not truncate existing files. If the amount of data written is smaller than the file size, you end up with new data at the beginning of the file followed by old data at the end of the file.
2022-03-31 09:56:32 +02:00
fedrunov
856a110aee
Merge pull request #5531 from vector-im/feature/nfe/create_space_copy
"Add space" copy is replaced with "create space" in left sliding panel
2022-03-31 09:16:20 +02:00
cketti
29c7ea11bd Create extension function Context.safeOpenOutputStream 2022-03-30 15:38:40 +02:00
Maxime NATUREL
9e3dc4c10f Fixing unit tests 2022-03-30 10:59:47 +02:00
Maxime NATUREL
f4ef4c2e61 Fixing attempt of unit tests 2022-03-30 10:49:43 +02:00
Maxime NATUREL
2b41096518 Fixing wrong method name calls 2022-03-30 10:48:12 +02:00
Maxime Naturel
90c53b9dd5 Remove non necessary DebugOverrides 2022-03-30 10:48:12 +02:00
Maxime Naturel
78b2ccb2b5 Using VectorFeatures instead of VectorOverrides 2022-03-30 10:48:07 +02:00
Maxime Naturel
cfce144b61 Using the override setting in the LocationSharing screen 2022-03-30 10:47:44 +02:00
Maxime Naturel
424f70bc58 Adding new override setting in the debug private settings 2022-03-30 10:47:44 +02:00
Maxime Naturel
93876737e7 Adding forceEnableLiveLocationSharing field in VectorOverride interface 2022-03-30 10:47:44 +02:00
Adam Brown
9d3d574d28
FTUE - Finalising personalisation journey (#5519)
* enabling the personalisation flow and promoting the strings for translation

* delegating the fake vector features to the static defaults, the fake exists for allowing overrides when needed

* incorporating the personalisation screens into the UI test signup

* adding changelog entry

* removing unused import

* putting the personalisation UI test flow behind the feature flag so that we can keep it disabled

* disabling the personalisation flow, we'll batch enable with other parts of the FTUE flow

* enabling the personalisation feature for registration unit tests which expect it to be enabled
2022-03-30 09:09:46 +01:00
cketti
b9b5cab772 Use truncate mode to replace the contents of existing files
`ContentResolver.openOutputStream(Uri)` does not truncate existing files. If the amount of data written is smaller than the file size, you end up with new data at the beginning of the file followed by old data at the end of the file.
2022-03-29 18:57:22 +02:00
Benoit Marty
587948c1b9 Bump Jitsi lib from 5.0.1 to 5.0.2
https://github.com/jitsi/jitsi-meet-release-notes/blob/master/CHANGELOG-MOBILE-SDKS.md#502-2022-03-29
2022-03-29 18:24:44 +02:00
Benoit Marty
0d2d1339e0 Bump Jitsi lib from 3.10.0 to 5.0.1 2022-03-29 16:29:35 +02:00
Eric Decanini
9c333c96c4
Merge pull request #5548 from vector-im/bugfix/eric/call-button-disappearing
Fixes voice call button disappearing in DM rooms with more than 2 members
2022-03-29 16:10:06 +02:00
ariskotsomitopoulos
0f7d6a1946 Add loader to thread list 2022-03-29 16:26:47 +03:00
Onuray Sahin
7999bd7523 Show a banner in timeline while location sharing service is running. 2022-03-29 15:34:50 +03:00
Benoit Marty
539d198f8f
Merge pull request #5645 from vector-im/feature/bma/fix_create_room
Fix regression from #4471
2022-03-29 14:00:34 +02:00
Florian Renaud
ea96718af5 Translated using Weblate (French)
Currently translated at 99.2% (2155 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-03-29 11:59:29 +00:00
Szimszon
33d197a429 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-03-29 11:59:29 +00:00
Adam Brown
223cec53ff
Merge pull request #5588 from vector-im/sync-analytics-plan
Sync analytics plan
2022-03-29 11:59:47 +01:00
Adam Brown
1b2e3502cb
Merge pull request #5628 from vector-im/feature/adm/direct-login-tests
Direct login tests
2022-03-29 11:44:11 +01:00
Onuray Sahin
2a4182ea84 Code review fixes. 2022-03-29 11:53:44 +03:00
Benoit Marty
ff1fb63bf6 Fix some ktlint issues, ignore some others 2022-03-28 18:22:04 +02:00
ganfra
ebee66cfaf Update versions to 1.4.10 2022-03-28 16:37:24 +02:00
Benoit Marty
4c40615871 Remove Flair Fragment (not used, and part of group, which will be removed) 2022-03-28 16:31:50 +02:00
Onuray Sahin
152c921017 Send beacon info. 2022-03-28 16:23:51 +03:00
ganfra
3cf7765aaf Merge tag '1.4.8' into develop
no message
2022-03-28 13:37:42 +02:00
Onuray Sahin
08476a91e4
Merge pull request #5595 from vector-im/feature/ons/live_location_service
Live Location Sharing - Foreground Service
2022-03-28 12:50:35 +03:00
Benoit Marty
bb19987314 is Loading has been replaced by Uninitialized, is Loading in when statements, which is not strictly equivalent
This commit revert those changes.
2022-03-28 11:09:15 +02:00
Adam Brown
e01c5049f6 updating version to 1.4.8 2022-03-28 09:46:26 +01:00
ClaireG
a9b87de7a3
[Subscribing] Blank display name 2022-03-28 10:34:22 +02:00
bmarty
ee9c8d8626 Sync analytics plan 2022-03-28 00:03:23 +00:00
Sveinn í Felli
cc8fd0c9a7 Translated using Weblate (Icelandic)
Currently translated at 82.5% (1793 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-03-27 20:53:20 +00:00
LinAGKar
883c1816bc Translated using Weblate (Swedish)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-03-27 20:53:11 +00:00
Adam Brown
f5d2ba39f4 moving the live location sharing permission debug only to unblock releases whilst the feature is WIP 2022-03-25 15:07:06 +00:00
Onuray Sahin
bdbdfe52cd Cancel timers when service is destroyed. 2022-03-25 14:24:42 +03:00
Adam Brown
cfb3aa8a22 adding direct login error path tests 2022-03-25 11:15:05 +00:00
Adam Brown
230c37597c adding happy path tests for the direct login use case 2022-03-25 11:15:05 +00:00
Adam Brown
88197991e1 extracting the direct login logic to its own use case along with viewmodel test case
- will ensure we emit account sign in when going via direct login flow
2022-03-25 11:15:05 +00:00
Onuray Sahin
7285bc6889 Code review fixes. 2022-03-25 13:58:48 +03:00
Onuray Sahin
79afdf724f Code review fixes. 2022-03-25 13:48:20 +03:00
Sveinn í Felli
129c6aa7fb Translated using Weblate (Icelandic)
Currently translated at 75.1% (1632 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-03-24 21:53:39 +00:00
Jeff Huang
57ad361750 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-03-24 21:53:28 +00:00
Jozef Gaal
9004d23f38 Translated using Weblate (Slovak)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-03-24 21:53:26 +00:00
Ultimator14
44f064c484 Translated using Weblate (German)
Currently translated at 99.2% (2154 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-03-24 21:53:25 +00:00
waclaw66
345ce171ff Translated using Weblate (Czech)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-03-24 21:53:24 +00:00
Priit Jõerüüt
c042e5f3cf Translated using Weblate (Estonian)
Currently translated at 99.9% (2169 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-03-24 21:53:21 +00:00
Besnik Bleta
0e91511db1 Translated using Weblate (Albanian)
Currently translated at 99.3% (2157 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-03-24 21:53:19 +00:00
Ihor Hordiichuk
9317d42c49 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-03-24 21:53:18 +00:00
Linerly
5e79c9367b Translated using Weblate (Indonesian)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-03-24 21:53:18 +00:00
Danial Behzadi
237bb87955 Translated using Weblate (Persian)
Currently translated at 99.8% (2168 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-03-24 21:53:17 +00:00
ravit
604f38bfa3 Translated using Weblate (Hebrew)
Currently translated at 96.4% (2095 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-24 21:53:14 +00:00
Эдуард Гера
b9d10c9d6e Translated using Weblate (Hebrew)
Currently translated at 96.4% (2095 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-24 21:53:14 +00:00
lvre
7352faa2d9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-03-24 21:53:12 +00:00
LinAGKar
ce28da3ae4 Translated using Weblate (Swedish)
Currently translated at 99.3% (2157 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-03-24 21:53:10 +00:00
random
47415a8ef1 Translated using Weblate (Italian)
Currently translated at 100.0% (2171 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-03-24 21:53:10 +00:00
Eric Decanini
10974366fb
Merge pull request #5473 from vector-im/bugfix/eric/voting-ended-poll
Fixes ended poll voting
2022-03-24 20:23:38 +01:00
ganfra
3410e75790 Merge tag '1.4.7' into develop 2022-03-24 19:34:14 +01:00
ganfra
8bcc2f5b0c Fix formating 2022-03-24 19:07:44 +01:00
ganfra
04b136e3e4 RoomList: more fixes on count 2022-03-24 18:50:33 +01:00
ganfra
87438085c6 RoomList: fix count not showing if not collapsable 2022-03-24 18:49:57 +01:00
Florian Renaud
1ef1bd81bc Improve room section collapsing 2022-03-24 15:46:16 +01:00
Florian Renaud
a97d3eae7e Pass lambda to updateSection method 2022-03-24 15:46:16 +01:00
Florian Renaud
a362d5427d Fix arrow visibility on section header 2022-03-24 15:46:16 +01:00
ganfra
745382cdfa RoomList : avoid using flow extension on realm results (leads to frozen object and leaks). 2022-03-24 15:41:42 +01:00
ganfra
70e5698082 Update versions to 1.4.7 2022-03-24 15:41:35 +01:00
Florian Renaud
1a0bd3f31e Revert "Revert "Do not suggest collapse if there is only one section""
This reverts commit 55b1a60f96.
2022-03-24 15:27:35 +01:00
ericdecanini
edfe81cc2b Merge remote-tracking branch 'origin/develop' into bugfix/eric/voting-ended-poll
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
2022-03-24 14:40:28 +01:00
Эдуард Гера
516e548fcd Translated using Weblate (Hebrew)
Currently translated at 95.5% (2075 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-24 13:16:51 +00:00
ravit
481274088c Translated using Weblate (Hebrew)
Currently translated at 95.5% (2075 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-24 13:16:51 +00:00
Adam Brown
4ef0bc9052 fixing wrong account created flag when creating a session from a direct login 2022-03-24 10:19:53 +00:00
Onuray Sahin
7a575ed062 Lint fixes. 2022-03-24 13:10:06 +03:00
Adam Brown
e7a1c20132 handling the username in use as a username field error 2022-03-23 17:29:06 +00:00
Adam Brown
5aa35899bc extracting error cases to extensions and handles invalid username as a specific case 2022-03-23 17:29:06 +00:00
Adam Brown
373385b29f moving the not accepting registration error handling to the login fragment 2022-03-23 17:29:06 +00:00
Adam Brown
11cc284bcc reusing showFailure from the base fragment instead of resubscribing to the view events 2022-03-23 17:29:05 +00:00
Adam Brown
7d80cfed0b replacing async reset password,mail and homeserver requests with shared isLoading with error view events 2022-03-23 17:25:10 +00:00