Commit graph

8768 commits

Author SHA1 Message Date
Eric Decanini
45104f8cec
Merge pull request #5586 from vector-im/feature/eric/audio-files-player
Audio files in the timeline now appear with the audio player
2022-04-07 10:25:58 +01:00
Benoit Marty
90616de89d Those log must be visible in the rageshake, even when verbose log is not enabled 2022-04-07 09:30:18 +02:00
Benoit Marty
c17599604b The string ftue_auth_carousel_workplace_body was declared not translatable by mistake 2022-04-06 15:50:03 +02:00
Benoit Marty
9c1cdf6488
Merge pull request #5703 from vector-im/feature/bma/avoid_error_log
Feature/bma/avoid error log
2022-04-06 15:08:20 +02:00
Onuray Sahin
2a42eb8c87
Merge pull request #5697 from vector-im/feature/ons/live_location_pulse
Live Location Sharing - Send location data
2022-04-06 15:35:02 +03:00
Benoit Marty
26e80ba70b KeysBackup: Better handling of 404 to avoid error log 2022-04-06 12:38:52 +02:00
Benoit Marty
e8f421fe34 Create Event.isLocationMessage() 2022-04-06 11:17:55 +02:00
Benoit Marty
e27dcbc9b9 Create Event.getMsgType() extension 2022-04-06 11:15:01 +02:00
Benoit Marty
45bd1061d2 Small optimization 2022-04-06 11:06:43 +02:00
Benoit Marty
24915591f2 Avoid error log when the Event is not a LocationEvent 2022-04-06 11:04:58 +02:00
Benoit Marty
c849cc5c5d
Merge pull request #5079 from vector-im/feature/bma/konfetti2
WIP and low priority: upgrade konfetti to 2.0.2
2022-04-06 10:00:09 +02:00
ericdecanini
d9f2033a38 Removes unused import 2022-04-06 07:50:07 +01:00
ericdecanini
415985094a Removes underline in audio filename 2022-04-06 07:25:30 +01:00
Benoit Marty
0f14652932
Merge pull request #5692 from vector-im/feature/aris/threads_beta_infrom_users_on_reply
Threads Beta opt-in mechanism
2022-04-05 20:40:16 +02:00
ariskotsomitopoulos
598892de53 Injecting stringProvider instead of context in ThreadsManager class 2022-04-05 20:53:11 +03:00
ariskotsomitopoulos
37dc77cc3e Add isValid check to RealmChangeListener to prevent crashes on deleted objects 2022-04-05 20:36:33 +03:00
ariskotsomitopoulos
59d87df0ca Add string resource comment 2022-04-05 19:44:01 +03:00
ariskotsomitopoulos
5ee2579efc Revert "Remove duplicate learn more string resources"
This reverts commit 2ac3306382.
2022-04-05 19:39:13 +03:00
ariskotsomitopoulos
72d4c7612a Revert comment change 2022-04-05 19:39:11 +03:00
Onuray Sahin
e0d59efd86 Secure list while sending the location. 2022-04-05 19:08:11 +03:00
Benoit Marty
c76dc7b62f
Update vector/src/main/res/values/strings_login_v2.xml
Fix typo
2022-04-05 17:40:27 +02:00
Benoit Marty
fac317d122
Merge pull request #5647 from vector-im/feature/aris/threads_beta_feedback
Feature/aris/threads beta feedback
2022-04-05 17:25:29 +02:00
Benoit Marty
ca418afcbb
Merge pull request #5614 from vector-im/feature/aris/threads_ui_enhancements
Feature/aris/threads UI enhancements
2022-04-05 17:21:53 +02:00
ericdecanini
355db98146 Updates some text sizes and colours in audio timeline item 2022-04-05 16:09:48 +01:00
ericdecanini
dc36301070 Improves accessibility on MessageAudioItem 2022-04-05 16:01:37 +01:00
Maxime NATUREL
bebe819c54
Merge pull request #5671 from vector-im/feature/mna/PSF-673-live-loc-share-duration
#5667: [Location Sharing] - Set duration of live sharing
2022-04-05 16:13:26 +02:00
Aris Kotsomitopoulos
d484ba07cd
Merge pull request #5594 from vector-im/feature/aris/thread_root_permalink_navigation
Improve permalink on thread root message
2022-04-05 16:39:46 +03:00
ariskotsomitopoulos
6e06aed627 Merge branch 'develop' into feature/aris/threads_ui_enhancements
# Conflicts:
#	vector/src/main/res/menu/menu_timeline.xml
2022-04-05 16:32:49 +03:00
ericdecanini
76b2cfdf40 Readds onPermissionDeniedSnackbar import in TimelineFragment 2022-04-05 14:30:57 +01:00
ariskotsomitopoulos
a269aa5046 Remove unused elevation 2022-04-05 16:29:54 +03:00
ariskotsomitopoulos
858623b5a4 Change default threads beta visibility 2022-04-05 16:26:42 +03:00
Onuray Sahin
dbb43fe046 Refactor code to avoid force unwrapping. 2022-04-05 15:42:01 +03:00
ariskotsomitopoulos
aef4cce3e7 Format code ordering 2022-04-05 14:51:38 +03:00
ariskotsomitopoulos
b5f8d2c91f Update string resource 2022-04-05 14:50:18 +03:00
ariskotsomitopoulos
eecaf9602d Add urls.xml in vector-config 2022-04-05 14:12:32 +03:00
ariskotsomitopoulos
6567628b95 Format code 2022-04-05 14:02:41 +03:00
ariskotsomitopoulos
35a526a482 Improve comment format 2022-04-05 14:02:08 +03:00
ariskotsomitopoulos
e3ac5ad8c1 Remove extra space 2022-04-05 14:01:14 +03:00
ariskotsomitopoulos
2ac3306382 Remove duplicate learn more string resources 2022-04-05 13:56:12 +03:00
Weblate
587752dffe Merge branch 'origin/develop' into Weblate. 2022-04-05 10:55:25 +00:00
ariskotsomitopoulos
7662abc5f7 Add learn more to string resources 2022-04-05 13:36:44 +03:00
ariskotsomitopoulos
2bb6e77be0 Rename displayThreadsBetaNotice method 2022-04-05 13:10:59 +03:00
Onuray Sahin
db45ebd012 Lint fixes. 2022-04-05 13:05:09 +03:00
Onuray Sahin
c26c9ff1cc Send live location data. 2022-04-05 12:49:12 +03:00
fedrunov
e2481fa8e6
metrics for IA project (#5399) 2022-04-05 09:28:31 +02:00
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
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
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
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
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
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
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