Commit graph

8865 commits

Author SHA1 Message Date
ariskotsomitopoulos
be77363c34 Improved thread rendering in the main timeline 2022-04-01 12:53:28 +03:00
Onuray Sahin
5ec63858ed Refactor location sharing view events. 2022-04-01 12:31:51 +03:00
Maxime NATUREL
de59f9fb66 Fixing background color and divider 2022-04-01 09:59:32 +02:00
Adam Brown
13fb4e52af extracting hardcoded error message to the resources 2022-03-31 18:07:27 +01:00
Adam Brown
801fb90f7b using a consistent name for the combined register screens and events
- also adds a missing tag to the fragment adding
2022-03-31 18:04:13 +01:00
Adam Brown
c45c421e48 adding docs around the realigning of constraint layout child percentages 2022-03-31 17:56:22 +01:00
Adam Brown
468a81e1c3 fixing type in debug key names 2022-03-31 17:50:43 +01:00
Adam Brown
4c1c9a5af7 fixing new file header date 2022-03-31 17:50:21 +01:00
Adam Brown
32b54e1e9c using continuation copy for combined sign up SSO buttons 2022-03-31 17:50:20 +01:00
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
cc6cb41eac Increase height of share button 2022-03-31 14:44:40 +02:00
Maxime NATUREL
0f5343a614 Removing unused interface 2022-03-31 14:44:40 +02:00
Maxime NATUREL
acef51e415 Fixing text color button in dark mode 2022-03-31 14:44:40 +02:00
Maxime NATUREL
a4b81524be Quit the location sharing screen after launching live location service 2022-03-31 14:44:40 +02:00
Maxime NATUREL
a6a494170e Use existing ResultListener interface 2022-03-31 14:44:40 +02:00
Maxime NATUREL
265dd4a0c3 Using resource dimensions for margins 2022-03-31 14:44:40 +02:00
Maxime NATUREL
c18a9230e5 UI to select the duration 2022-03-31 14:44:40 +02:00
Maxime NATUREL
5abc196536 Callback interface for the choice of the duration 2022-03-31 14:44:36 +02:00
Maxime NATUREL
4da11bbdc0 Renaming duration parameter to precise the time unit 2022-03-31 14:43:32 +02:00
Maxime NATUREL
d0a255819a Creating BottomSheet to choose the live duration 2022-03-31 14:43:32 +02:00
Maxime NATUREL
f34225506a Adding strings resources 2022-03-31 14:43:32 +02: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
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
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
ariskotsomitopoulos
3ba2419e9b Replace hardcoded string 2022-03-28 14:15:15 +03:00
ariskotsomitopoulos
58cc3931b9 Add beta feedback for threads 2022-03-28 13:53:44 +03: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
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