Commit Graph

9065 Commits

Author SHA1 Message Date
fedrunov 0664afdf9a
Update Spaces menu ordering and capitalisation (#5539) 2022-04-05 09:27:39 +02:00
Aris Kotsomitopoulos 8c9d2410b1
Merge pull request #5688 from vector-im/feature/aris/threads_main_timeline_messages_layout
Improved thread rendering in the main timeline
2022-04-04 23:22:51 +03:00
ariskotsomitopoulos 031c1b409b Implement Beta opt-in mechanism to inform users about threads. 2022-04-04 19:51:47 +03:00
ericdecanini d0155c9890 Adds proper handling of audio seek bar 2022-04-04 16:17:41 +01:00
Benoit Marty 4f27ab263f Update parameters 2022-04-04 16:08:56 +02:00
Benoit Marty 9050c488e4 konfetti 2.0.1
Does not compile
2022-04-04 15:19:26 +02:00
Benoit Marty 3b8ffcf8a9
Merge pull request #5684 from vector-im/sync-analytics-plan
Sync analytics plan
2022-04-04 15:00:57 +02:00
Onuray Sahin ff34ed9eb2
Merge pull request #5660 from vector-im/feature/ons/live_location_banner_visibility
Show a banner in timeline while location sharing service is running
2022-04-04 12:55:50 +03:00
Onuray Sahin 48d40d8ba2
Merge pull request #5651 from vector-im/feature/ons/live_location_beacon_info
Live Location Sharing - Beacon Info
2022-04-04 12:55:22 +03:00
NIkita Fedrunov 4c059e7819 add text to spinner when click on space member (dm) 2022-04-04 09:49:47 +02:00
bmarty 921b562fd0 Sync analytics plan 2022-04-04 00:02:56 +00:00
Sveinn í Felli e1a08b82a3 Translated using Weblate (Icelandic)
Currently translated at 84.0% (1824 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-04-02 20:59:30 +00:00
waclaw66 5fcc3a9955 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-04-02 20:59:30 +00:00
Adam Brown 3aac59a5ae
Merge pull request #5080 from vector-im/feature/adm/encrypted-last-message
Updating encrypted room list message previews on key updates
2022-04-01 17:48:05 +01:00
Onuray Sahin 97de6de8f2 Code review fixes. 2022-04-01 17:04:52 +03:00
Florian Renaud 4d37aa232f Replace "open settings" button by "disable" action in RageShake dialog if there is no session 2022-04-01 15:46:29 +02:00
ericdecanini 34dcd70a64 Adds layout with seek bar to audio stub 2022-04-01 15:15:12 +02:00
Adam Brown 5120e7a8c6 updating feature flag name to match feature name in other places 2022-04-01 13:13:29 +01:00
Onuray Sahin 922d68cfda Code review fixes, use unstable prefixes as MSCs suggest. 2022-04-01 15:01:25 +03:00
Эдуард Гера 3e3ddf706b Translated using Weblate (Hebrew)
Currently translated at 98.8% (2146 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-04-01 11:59:31 +00:00
Sveinn í Felli 49862d89a6 Translated using Weblate (Icelandic)
Currently translated at 83.9% (1822 of 2171 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/is/
2022-04-01 11:59:31 +00:00
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
ericdecanini 8ad4f20d99 Fixes bug where audio can be played before waveform is ready 2022-03-29 19:54:23 +02: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
ericdecanini 6adf4878f7 Fixes bugs related to audio message duration being set incorrectly between activity states 2022-03-29 17:40:00 +02:00
Benoit Marty 0d2d1339e0 Bump Jitsi lib from 3.10.0 to 5.0.1 2022-03-29 16:29:35 +02:00
ericdecanini cc5e8f35a7 Improves code formatting 2022-03-29 16:25:01 +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
David Langley b4885629af Keep live event/pagination listeners. 2022-03-28 17:23:05 +01: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
ericdecanini fa56a5efa9 Fixes playback button state not tracking after onPause 2022-03-28 13:52:47 +02: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
ericdecanini 931c0e9826 Improves accessibility talkback on MessageAudioItem 2022-03-28 11:01:31 +02:00
ericdecanini 8aaaf80262 Fixes lint error 2022-03-28 10:47:59 +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
David Langley f38bf2548f lint 2022-03-25 23:18:45 +00:00
David Langley 531b62f634 Make properties private 2022-03-25 23:00:47 +00:00
David Langley 7e930472e8 Align with web implementation 2022-03-25 22:51:34 +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
ericdecanini 313595e496 Fixes textview layout bounds in item_timeline_event_audio_stub 2022-03-25 14:30:00 +01: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
ericdecanini c8a56d63e9 Merge remote-tracking branch 'origin/develop' into feature/eric/audio-files-player
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
2022-03-24 21:26:39 +01:00
ericdecanini 806af4798a Fixes post merge errors 2022-03-24 21:02:29 +01:00
ericdecanini 82cde166db Merge remote-tracking branch 'origin/develop' into feature/eric/audio-files-player
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/VoiceMessageHelper.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/voice/VoiceMessageViews.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt
2022-03-24 20:32:28 +01: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
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
Adam Brown 2227df479c replacing async login/register state with separate failure view event and shared isLoading 2022-03-23 17:20:47 +00:00
Adam Brown e3df9c4cef using isLoading boolean instead of stateless async result for the display name and profile picture updates 2022-03-23 16:48:07 +00:00
ganfra 8d4830975d Merge tag '1.4.6' into develop
v1.4.6
2022-03-23 16:24:02 +01:00
ganfra 55b1a60f96 Revert "Do not suggest collapse if there is only one section"
This reverts commit 6787980185.
2022-03-23 16:09:05 +01:00
Onuray Sahin 5f74442f57 Reorder functions. 2022-03-23 16:34:45 +03:00
Onuray Sahin f18a107df8 Merge branch 'develop' into feature/ons/live_location_service
* develop: (152 commits)
  Remove exhaustive.
  fixing the onboarding sanity test failing - adds tapping the new take me home button within the sanity test
  Fix lint issues on weblate sync
  fixing view model tests not collecting flow results - the switch from runBlockingTest to runTest means we need to provide a separate scope from the test in order to asynchronously collect the flow results
  Do not suggest collapse if there is only one section
  Translated using Weblate (Spanish)
  Translated using Weblate (Spanish)
  runBlocking -> runTest https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
  runBlockingTest -> runTest https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
  Small cleanup
  The `.exhaustive` trick is not needed anymore in Kotlin 1.6.0 https://kotlinlang.org/docs/whatsnew16.html#stable-exhaustive-when-statements-for-enum-sealed-and-boolean-subjects
  Also upgrade the coroutine lib
  Fix compilation warning (exhaustive when)
  Fix compilation warning (exhaustive when)
  Format file (no other change)
  Fix compilation warning (exhaustive when)
  Bump moshi from 1.12.0 to 1.13.0
  Bump kotlin-gradle-plugin from 1.5.31 to 1.6.0
  Code review fixes.
  fixing presence icon anchoring to the middle of the room icon - creates a secondary verification shield and aligns to the start of the room title when presence is present
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/location/LocationSharingFragment.kt
#	vector/src/main/java/im/vector/app/features/location/LocationSharingViewModel.kt
#	vector/src/main/res/values/strings.xml
2022-03-23 16:25:01 +03:00
ariskotsomitopoulos 3b9cade1a7 Thread list filtering minor UI changes 2022-03-23 15:13:15 +02:00
Onuray Sahin 3fa4aea506 Navigate to room list when user clicks to the sticky notification. 2022-03-23 15:37:44 +03:00
Adam Brown 55b946a019 fixing the onboarding sanity test failing
- adds tapping the new take me home button within the sanity test
2022-03-23 12:57:53 +01:00
ariskotsomitopoulos 82a6ea9d85 Change thread list filtering radio buttons color 2022-03-23 13:40:32 +02:00
ariskotsomitopoulos d232c49d65 Remove filter toolbar on thread list while there no threads to display 2022-03-23 13:33:55 +02:00
Onuray Sahin 7ead3f93f4 Remove exhaustive. 2022-03-23 13:52:53 +03:00
Onuray Sahin c478503c13 Merge branch 'develop' into feature/ons/voice_message_scrubbing
* develop: (429 commits)
  fixing the onboarding sanity test failing - adds tapping the new take me home button within the sanity test
  Fix lint issues on weblate sync
  fixing view model tests not collecting flow results - the switch from runBlockingTest to runTest means we need to provide a separate scope from the test in order to asynchronously collect the flow results
  Do not suggest collapse if there is only one section
  Translated using Weblate (Spanish)
  Translated using Weblate (Spanish)
  runBlocking -> runTest https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
  runBlockingTest -> runTest https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
  Small cleanup
  The `.exhaustive` trick is not needed anymore in Kotlin 1.6.0 https://kotlinlang.org/docs/whatsnew16.html#stable-exhaustive-when-statements-for-enum-sealed-and-boolean-subjects
  Also upgrade the coroutine lib
  Fix compilation warning (exhaustive when)
  Fix compilation warning (exhaustive when)
  Format file (no other change)
  Fix compilation warning (exhaustive when)
  Bump moshi from 1.12.0 to 1.13.0
  Bump kotlin-gradle-plugin from 1.5.31 to 1.6.0
  fixing presence icon anchoring to the middle of the room icon - creates a secondary verification shield and aligns to the start of the room title when presence is present
  PR remarks
  Increase the thread summaries limit
  ...

# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/voice/VoiceMessageRecorderView.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageVoiceItem.kt
2022-03-23 13:32:36 +03:00
ariskotsomitopoulos 6568091f29 Improve thread list item UI 2022-03-23 12:29:07 +02:00
ganfra 20b2af4432
Merge pull request #5610 from vector-im/feature/adm/account-creation-sanity-test-update
Sanity test getting stuck on account created screen
2022-03-23 11:03:46 +01:00
ariskotsomitopoulos 8a1d008b3c Show keyboard when user first reply in a thread 2022-03-23 11:29:06 +02:00
Benoit Marty c6fe084507
Merge pull request #4471 from vector-im/dependabot/gradle/org.jetbrains.kotlin-kotlin-gradle-plugin-1.6.0
Bump kotlin-gradle-plugin from 1.5.31 to 1.6.0 - BLOCKED
2022-03-23 10:08:53 +01:00
Adam Brown 5bbc9dc102 fixing the onboarding sanity test failing
- adds tapping the new take me home button within the sanity test
2022-03-23 09:02:37 +00:00
Denys Nykula a8969b6dfa 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-22 22:35:40 +00:00
ganfra c06c9ea1d6 Fix lint issues on weblate sync 2022-03-22 18:55:34 +01:00
ganfra 3d3f5444b1
Merge pull request #5606 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2022-03-22 18:11:28 +01:00
Adam Brown fdf3cc36ce fixing view model tests not collecting flow results
- the switch from runBlockingTest to runTest means we need to provide a separate scope from the test in order to asynchronously collect the flow results
2022-03-22 17:01:34 +00:00
ericdecanini bfd31de05e Renames call option to be more agnostic 2022-03-22 17:56:07 +01:00
ariskotsomitopoulos 72bc613f34 Reduce thread toolbar avatar size 2022-03-22 18:54:59 +02:00
ariskotsomitopoulos f8e7ba7355 Format menu_timeline 2022-03-22 18:43:01 +02:00
ClaireG 6787980185
Do not suggest collapse if there is only one section 2022-03-22 17:31:21 +01:00
ariskotsomitopoulos b1c4ca7816 Simplify thread timeline toolbar menu more 2022-03-22 18:03:49 +02:00
Weblate 095f06bd89 Merge branch 'origin/develop' into Weblate. 2022-03-22 15:59:34 +00:00
iaiz 8550db9f23 Translated using Weblate (Spanish)
Currently translated at 95.7% (2065 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2022-03-22 15:58:54 +00:00
Benoit Marty 012cdf4b4d runBlocking -> runTest
https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
2022-03-22 16:52:18 +01:00
Benoit Marty 86829008c3 runBlockingTest -> runTest
https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-test/MIGRATION.md
2022-03-22 16:39:39 +01:00
ericdecanini 249db1820f Removes ic_headphones 2022-03-22 16:22:40 +01:00
Benoit Marty f791ddb7bb Small cleanup 2022-03-22 16:14:15 +01:00
Benoit Marty 03fee2a131 The `.exhaustive` trick is not needed anymore in Kotlin 1.6.0
https://kotlinlang.org/docs/whatsnew16.html#stable-exhaustive-when-statements-for-enum-sealed-and-boolean-subjects
2022-03-22 16:14:15 +01:00
Benoit Marty 57bee40211 Fix compilation warning (exhaustive when) 2022-03-22 16:13:06 +01:00
ariskotsomitopoulos bc9a785a59 Match timeline thread summary width with the actual text 2022-03-22 17:08:49 +02:00
ariskotsomitopoulos 1e3b859f48 Fix timeline thread summary width 2022-03-22 16:19:15 +02:00
ganfra 67804da205
Merge pull request #5604 from vector-im/feature/adm/toolbar-icon-positions
Fixing presence icon anchoring to the middle of the room icon
2022-03-22 15:16:17 +01:00
Onuray Sahin 24bdad3ae1 Code review fixes. 2022-03-22 17:04:35 +03:00
ariskotsomitopoulos c455912969 Fix timeline thread summary padding 2022-03-22 16:03:49 +02:00
ganfra a2f64e7f3c
Merge pull request #5576 from vector-im/feature/aris/thread_labs_notice_users
Threads Migration
2022-03-22 14:57:07 +01:00
Adam Brown 1e6e8b546d fixing presence icon anchoring to the middle of the room icon
- creates a secondary verification shield and aligns to the start of the room title when presence is present
2022-03-22 13:43:43 +00:00
ericdecanini 7449d15d2f 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-22 14:15:29 +01:00
Onuray Sahin 70c8a8bf34 Support sharing live location in multiple rooms. 2022-03-22 16:01:51 +03:00
ariskotsomitopoulos c6593f0cee PR remarks 2022-03-22 13:57:20 +02:00
ariskotsomitopoulos 09a017aaa8 Increase thread summary icon size 2022-03-22 13:48:07 +02:00
ariskotsomitopoulos 3c6dbd0843 Reduce timeline menu thread icon padding 2022-03-22 12:55:50 +02:00
ariskotsomitopoulos 52699357dd Change text constant 2022-03-22 12:27:11 +02:00
ericdecanini b035911d8f Fixes import lint error 2022-03-21 20:05:47 +01:00
ericdecanini c9946b6dd3 Code cleanup 2022-03-21 19:57:18 +01:00
SpiritCroc 47dddd706c Only show HasUnread -> HasUnread updates for same readMarker 2022-03-21 19:51:42 +01:00
ericdecanini 5a819bbafa Merge remote-tracking branch 'origin/develop' into feature/eric/audio-files-player
# Conflicts:
#	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
2022-03-21 19:40:14 +01:00
ericdecanini ff26829d65 Adds new audio timeline stub 2022-03-21 18:42:07 +01:00
ericdecanini 7a7d36d010 Renames functions and variables 2022-03-21 16:23:19 +01:00
Benoit Marty 835497682f
Merge pull request #5572 from p1gp1g/play-sticker
Show stickers on click
2022-03-21 15:51:36 +01:00
Benoit Marty 579e6164d6
Merge pull request #5550 from vector-im/feature/adm/presence-theme-patch
Presence indicator theme attribute
2022-03-21 15:45:36 +01:00
Onuray Sahin 7e5c293ebc Use primary color for location notification item. 2022-03-21 17:27:14 +03:00
Onuray Sahin 334368083e Track location in foreground service. 2022-03-21 16:46:40 +03:00
ariskotsomitopoulos ed2cb5f0fe Enhance text constants 2022-03-21 15:45:08 +02:00
ariskotsomitopoulos 0479049476 Permalink to a root thread message will navigate user within the thread timeline 2022-03-21 15:16:57 +02:00
Onuray Sahin c63fc3d6c2 Start the foreground service when users start live location sharing. 2022-03-21 14:27:15 +03:00
Linerly 75fe14561e Translated using Weblate (Indonesian)
Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-03-21 08:38:31 +00:00
bmarty ffb007e96d Sync Emojis 2022-03-21 00:03:12 +00:00
notramo 06af5a8017 Translated using Weblate (Hungarian)
Currently translated at 99.8% (2154 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-03-19 21:38:31 +00:00
Jeanne Lavoie 8a783a7a0b Translated using Weblate (French (Canada))
Currently translated at 83.9% (1811 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr_CA/
2022-03-19 21:38:31 +00:00
libexus 7910b4cd35 Translated using Weblate (German)
Currently translated at 99.9% (2155 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-03-19 21:38:31 +00:00
ericdecanini 2e716cb8a0 Adapts special body text for audio messages 2022-03-19 18:26:37 +01:00
ericdecanini fab78c9a6e Refactors MessageAudioItem to work for both audio files and voice messages 2022-03-19 18:16:51 +01:00
ravit cb290550a9 Translated using Weblate (Hebrew)
Currently translated at 94.5% (2039 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-18 18:38:46 +00:00
Эдуард Гера db828152a6 Translated using Weblate (Hebrew)
Currently translated at 94.5% (2039 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-03-18 18:38:39 +00:00
Modificator 20d9f68679 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.7% (2065 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2022-03-18 18:38:35 +00:00
Besnik Bleta 1ecbe41529 Translated using Weblate (Albanian)
Currently translated at 99.4% (2145 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-03-18 18:38:35 +00:00
Jeanne Lavoie d24f01c001 Translated using Weblate (French)
Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-03-18 18:38:35 +00:00
Jeanne Lavoie 4b6c8b8980 Translated using Weblate (French (Canada))
Currently translated at 83.7% (1806 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr_CA/
2022-03-18 18:38:35 +00:00
Theo 96904d0fd7 Translated using Weblate (Greek)
Currently translated at 16.0% (347 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/el/
2022-03-18 18:38:34 +00:00
waclaw66 805666b2f5 Translated using Weblate (Czech)
Currently translated at 100.0% (2157 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-03-18 18:38:33 +00:00
Zet df717dd82d Translated using Weblate (Arabic)
Currently translated at 32.7% (706 of 2157 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-03-18 18:38:33 +00:00
Adam Brown ea9c9ae490
Merge pull request #5408 from vector-im/feature/adm/onboarding-tests
FTUE - Onboarding registration steps unit tests
2022-03-18 15:57:38 +00:00
Maxime Naturel d1aba46b52 Using one line per parameter for the custom view 2022-03-18 15:58:42 +01:00
Maxime Naturel 840a224c9f Fixing coding style issue 2022-03-18 15:01:44 +01:00
Adam Brown ce2c309d72 including verification to ensure no other methods are being called 2022-03-18 14:00:56 +00:00
ariskotsomitopoulos 06db7e2374 Enhance migration logic & PR remarks 2022-03-18 14:51:06 +01:00
Adam Brown 7f943d37fd explicitly declaring the fake registrationb wizard as not relaxed and creating new test instances for each case 2022-03-18 13:15:14 +00:00
Maxime Naturel 526d11e912 Removing TODO 2022-03-18 14:12:55 +01:00
Maxime Naturel 56bffb2657 Adding stop button 2022-03-18 14:11:16 +01:00
Maxime Naturel 67297bbdef Custom View in timeline screen without stop button 2022-03-18 14:11:08 +01:00
Maxime Naturel 70ab5354c3 Adding strings of the view 2022-03-18 14:10:57 +01:00
Onuray Sahin a1d27940cd Create a foreground service. 2022-03-18 15:26:11 +03:00
ericdecanini d54b465b30 Uses messageVoiceItem for audio files 2022-03-18 13:22:49 +01:00
Maxime NATUREL 3547c5acba
Merge pull request #5565 from vector-im/feature/mna/PSF-664-5536-permissions
Live Location Sharing - Background permission
2022-03-18 12:06:30 +01:00
ariskotsomitopoulos 2e5d45ec6e Format code 2022-03-18 12:03:17 +01:00
ariskotsomitopoulos f00b1f29bf Enhance text context for thread migration notice 2022-03-18 11:58:29 +01:00
ericdecanini 26176328c4 Fixes epoxy errors with renamed epoxy attributes 2022-03-18 11:58:23 +01:00
ariskotsomitopoulos a0e6dd5f6c Merge branch 'develop' into feature/aris/thread_labs_notice_users
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/MatrixConfiguration.kt
#	vector/src/main/java/im/vector/app/core/di/SingletonModule.kt
2022-03-18 11:28:21 +01:00
sim e5c04d9cc8 Show stickers on click
Play animated stickers

Signed-off-by: sim <git@sgougeon.fr>
2022-03-18 01:03:34 +01:00
ariskotsomitopoulos 61cb7a6ffb Prepare next RC threads migration to all users 2022-03-17 19:09:09 +01:00
ariskotsomitopoulos 2ca3387ab3 Migrate Threads and notify user 2022-03-17 18:51:54 +01:00