Commit graph

10315 commits

Author SHA1 Message Date
Benoit Marty
a712ffee68 data class 2022-04-14 15:34:50 +02:00
Benoit Marty
9c132a3244 Perform an initial sync after un-ignoring a user, from the room member screen (#3439) 2022-04-14 15:26:55 +02:00
Onuray Sahin
f49e7d9619 Code review fixes. 2022-04-14 16:23:43 +03:00
Benoit Marty
6d741c3844 Perform an initial sync after un-ignoring a user (#3439) 2022-04-14 15:17:29 +02:00
Benoit Marty
1b95cd537b Simplify ViewState 2022-04-14 15:11:46 +02:00
Benoit Marty
1468edd2f9 One class per file 2022-04-14 15:09:26 +02:00
Szimszon
d1db9a70f3 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2022-04-14 13:08:57 +00:00
Jeanne Lavoie
7441dad1c0 Translated using Weblate (French)
Currently translated at 99.7% (2185 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2022-04-14 13:08:55 +00:00
Jiri Grönroos
c8aaeea7f2 Translated using Weblate (Finnish)
Currently translated at 84.2% (1844 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2022-04-14 13:08:53 +00:00
Mawoka
ebb2c7a250 Translated using Weblate (German)
Currently translated at 98.3% (2153 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2022-04-14 13:08:50 +00:00
Zet
6cb4eb7d49 Translated using Weblate (Arabic)
Currently translated at 32.5% (713 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2022-04-14 13:08:49 +00:00
ericdecanini
84960a77a5 Changes notification join space destination to explore rooms 2022-04-14 15:06:50 +02:00
Adam Brown
7f7b75cae9 removing nullable padding parameter in favour of callers handling nullability 2022-04-14 14:02:30 +01:00
chagai95
2296b89faf
Add title string in MaterialToolbar
which was added later to xml
2022-04-14 14:57:29 +02:00
chagai95
eb44a3ccb6
Remove unused line 2022-04-14 14:55:43 +02:00
Benoit Marty
04045d2b30 Improve dialog when un-ignoring user. Add title and change button labels 2022-04-14 14:55:02 +02:00
Adam Brown
55c981f18b adding back sign mode setting to fix crash when using legacy other flow 2022-04-14 12:37:46 +01:00
Adam Brown
be22be53df fixing line length 2022-04-14 12:23:35 +01:00
ericdecanini
538e6e453f Changes destination after joining space from hamburger invite 2022-04-14 13:22:54 +02:00
Adam Brown
1b33c03d91 lifting unavailable homeserver condition to the other error types 2022-04-14 12:01:23 +01:00
Adam Brown
a34b424b7b updating the server selection on non Edit/Select events
- such as deeplinks
- extracts a common function
2022-04-14 11:46:34 +01:00
Adam Brown
ee693b5ad4 flattening loading state to the handle entry points, reducing duplication 2022-04-14 11:27:13 +01:00
Adam Brown
5001be9f21 adding test around editing error flow and reducing initial test state setup boilerplate 2022-04-14 11:05:02 +01:00
Adam Brown
c9e0868917 passing the authenication start trigger instead of relying on the mutable last action state 2022-04-14 11:04:34 +01:00
Adam Brown
197df34097 only setting selected homeserver state after a successful start registration when editing 2022-04-14 10:03:45 +01:00
Benoit Marty
015438289e Immutable data class. var -> val 2022-04-13 19:29:53 +02:00
Onuray Sahin
137d5e4093 Set live as false when live location sharing is times up. 2022-04-13 20:10:24 +03:00
Eric Decanini
9b7e94ebab
Fixes myroomnick changing Display Name (#5618) 2022-04-13 18:35:33 +02:00
Adam Brown
86b87e12d7 flattening nested loading state changes to avoid flashing 2022-04-13 17:27:04 +01:00
Adam Brown
10be592094 flattening nested scope.launch 2022-04-13 17:17:41 +01:00
Maxime NATUREL
e109319b1e
Merge pull request #5752 from vector-im/feature/mna/live-location-disabled-by-default
Disable live location sharing feature by default in debug config
2022-04-13 17:56:00 +02:00
Adam Brown
c7065fc123 splitting the success action from the handleRegisterAction, allowing the homeserver editing to start the registation flow 2022-04-13 16:54:16 +01:00
Adam Brown
36ad59dc0f handling server urls as texturis to avoid auto spacing and applying errors to the input field error section 2022-04-13 16:52:12 +01:00
Onuray Sahin
33e735cbdd Stop live location sharing. 2022-04-13 17:00:37 +03:00
Adam Brown
77da82c310 removing confusing comment questions and fixing xml formatting 2022-04-13 14:56:43 +01:00
Adam Brown
1ba838a58d inverting quick returns and inlining logic since the scope is small 2022-04-13 14:56:43 +01:00
Adam Brown
45f6633e49 cleaning up the captcha webview logic, extracting function, removing redundant comments 2022-04-13 14:56:42 +01:00
Adam Brown
4e56136993 extracting common fragment behaviour to a function 2022-04-13 14:50:11 +01:00
Adam Brown
215cac2aec extracting helper for setting horizontal padding 2022-04-13 14:50:11 +01:00
Adam Brown
1f6068976d updating terms ids and applying design specified colours to the checkbox 2022-04-13 14:50:11 +01:00
Adam Brown
059b2a5424 updating copy and spacing to match designs 2022-04-13 14:50:11 +01:00
Adam Brown
f45de34db4 dynamically setting the terms item padding 2022-04-13 14:50:11 +01:00
Adam Brown
06147967a4 creating a ftue version of the policy fragment 2022-04-13 14:50:11 +01:00
Adam Brown
11dbd0e80c renaming the terms fragment in prep to duplicate with the new style 2022-04-13 14:50:11 +01:00
Adam Brown
f4747aa069 styling the captcha wth the update designs 2022-04-13 14:50:11 +01:00
Adam Brown
863b4b810f duplicating the captcha fragment to style separately for the combined register flow 2022-04-13 14:50:11 +01:00
Adam Brown
81a325b769 extracting the captcha webview logic to a reusable class 2022-04-13 14:50:11 +01:00
Adam Brown
c98fe59965 formatting 2022-04-13 14:45:20 +01:00
Benoit Marty
2761b35b6f
Merge pull request #5731 from t3chguy/t3chguy/fix-room-type-misuse
Don't wrongly show non-space invites in the space panel
2022-04-13 15:01:45 +02:00
Benoit Marty
5075775c56
Merge pull request #5744 from vector-im/feature/bma/dokka
Set up dokka to generate SDK documentation and cleanup the API
2022-04-13 14:49:10 +02:00
SpiritCroc
23f4f72ba3 Home pager: avoid re-applying space id that we persisted onPause
Change-Id: I101de2548db20747e753c4f6401b9bf82fab31d7
2022-04-13 12:00:33 +02:00
Maxime NATUREL
9d2c704aef Removing the BuildConfigField 2022-04-13 10:56:20 +02:00
SpiritCroc
fb68ba92fa Catch possible exception during push message parsing
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: de.spiritcroc.riotx, PID: 26135
E AndroidRuntime: java.lang.RuntimeException: Unable to start receiver im.vector.app.core.pushers.VectorMessagingReceiver: com.squareup.moshi.JsonDataException: Expected BEGIN_OBJECT but was NUMBER at path $
E AndroidRuntime: 	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4384)
E AndroidRuntime: 	at android.app.ActivityThread.access$1600(ActivityThread.java:256)
E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2102)
E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:201)
E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7870)
E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
E AndroidRuntime: Caused by: com.squareup.moshi.JsonDataException: Expected BEGIN_OBJECT but was NUMBER at path $
E AndroidRuntime: 	at com.squareup.moshi.JsonUtf8Reader.beginObject(JsonUtf8Reader.java:6)
E AndroidRuntime: 	at im.vector.app.core.pushers.UnifiedPushMessageJsonAdapter.fromJson(UnifiedPushMessageJsonAdapter.kt:2)
E AndroidRuntime: 	at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:3)
E AndroidRuntime: 	at com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:3)
E AndroidRuntime: 	at im.vector.app.core.pushers.VectorMessagingReceiverKt$upHandler$1.onMessage(VectorMessagingReceiver.kt:17)
E AndroidRuntime: 	at im.vector.app.core.pushers.InjectedMessagingReceiver.onReceive(VectorMessagingReceiver.kt:49)
E AndroidRuntime: 	at im.vector.app.core.pushers.Hilt_VectorMessagingReceiver.onReceive(Hilt_VectorMessagingReceiver.java:7)
E AndroidRuntime: 	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4375)
E AndroidRuntime: 	... 9 more

Change-Id: I7df9744b5987d681502638640f0fd8ee276fefa8
2022-04-13 09:26:21 +02:00
Эдуард Гера
4131465ff6 Translated using Weblate (Hebrew)
Currently translated at 97.8% (2144 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/he/
2022-04-12 14:59:37 +00:00
Johan Smits
6f2cdd2a9d Translated using Weblate (Dutch)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2022-04-12 14:59:37 +00:00
Kagami Sascha Rosylight
4bc75b2574 Translated using Weblate (Korean)
Currently translated at 38.4% (842 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ko/
2022-04-12 14:59:34 +00:00
Maxime NATUREL
4c07405220 Create a const value for the height of message location item 2022-04-12 16:10:26 +02:00
Benoit Marty
23d2a290ab Global import optimization 2022-04-12 16:06:27 +02:00
Maxime NATUREL
46700723a8 Remove the noisy reformatting of MessageItemFactory 2022-04-12 15:55:15 +02:00
Maxime NATUREL
c3fe782eb5 Fixing overlay in bubble mode 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e50192910d Keep track of time out using last location event 2022-04-12 15:51:02 +02:00
Maxime NATUREL
d78ed3215b Adding support for notifications and message preview 2022-04-12 15:51:02 +02:00
Maxime NATUREL
78a9bdeb4c Making state beacon events displayable in timeline 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e2d56e2d87 Align corner radius of banner on map view 2022-04-12 15:51:02 +02:00
Maxime NATUREL
26f89fa5f8 Handling bubble mode view 2022-04-12 15:51:02 +02:00
Maxime NATUREL
3da3589d5c Creating factory for live location items 2022-04-12 15:51:02 +02:00
Maxime NATUREL
aabfc81816 Show start event of live without conditions 2022-04-12 15:51:02 +02:00
Maxime NATUREL
e93e51d03c Adding new message item 2022-04-12 15:51:02 +02:00
Maxime NATUREL
a1fb85dcdb Creating layout for the new message item 2022-04-12 15:51:02 +02:00
Michael Telatynski
fd3bbabec5 Simplify solution based on pr feedback 2022-04-12 14:43:26 +01:00
Benoit Marty
c0aafab857 Move to the other package about crypto 2022-04-12 15:41:37 +02:00
Benoit Marty
e91541333c Move SecretShareRequest to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
e8bfbdd71a Move GossipingToDeviceObject to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
814ba43867 Move andThen extension to app module 2022-04-12 15:41:37 +02:00
Benoit Marty
1403557213 Move LocalizedFlowDataLoginTerms to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
74e475d92c Move CryptoConstants to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
0f6b47e511 Move NewSessionListener to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
02cc9d6d4e Move InitialSyncStrategy to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
16c8296735 toQrCodeData() is now internal 2022-04-12 15:41:37 +02:00
Benoit Marty
3735ac307f Add entry to keyBackupService to expose deriveKey, which becomes internal
And format code
2022-04-12 15:41:37 +02:00
Benoit Marty
1402416338 Move MXUsersDevicesMap to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
f8d0a22edf Remove combineLatest from SDK, and cleanup 2022-04-12 15:41:37 +02:00
Benoit Marty
363524b556 Move ForwardedRoomKeyContent to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
47dad42f08 Move RoomKeyShareRequest to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
9190b8b67f Move DefaultBaseAuth to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
c51967453f Move DevicesListResponse to api package 2022-04-12 15:41:37 +02:00
Benoit Marty
ed8097ed92 Create Settings module to add interface for LightweightSettingsStorage 2022-04-12 15:41:37 +02:00
Benoit Marty
a054080cee Move OlmDecryptionResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
897c711afb Move OutgoingRoomKeyRequest to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
4799326058 Move IncomingRoomKeyRequest to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
e6bc6305aa Move MegolmBackupCreationInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
af2825eb39 Move DeviceInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
e9161dd4af Move IncomingSecretShareRequest to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
7644bd46ad Move IncomingRequestCancellation to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
e6fc723bee Move KeysVersion to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
97c1929e12 Move KeysBackupLastVersionResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
36fd5706c2 Move KeysBackupVersionTrust to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
229547fa49 Move KeysVersionResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
4b7401062a Move ImportRoomKeysResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
1bc6bec973 Move Base64 facility to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
d8eac14294 MoshiProvider is now internal. Create MatrixJsonParser to expose it to the app. 2022-04-12 15:38:20 +02:00
Benoit Marty
b1f4aa91e2 Move Fingerprint to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
0720196ee6 Move CryptoDeviceInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
c9bbf6c53a Move RecoveryKey functions to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
d4ff273bc4 Move TermsResponse to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
627a1291b0 Move awaitCallback() extension to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
ccce552097 Move md5() extension to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
0cb770334c Move content data class to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
a3575fbc6b Move PrivateKeysInfo to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
3895ac85d8 Move SyncService to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
1684ba1d14 Move ElementToDecrypt to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
24d044b147 Move DeviceTrustLevel, DeviceTrustResult and UserTrustResult to api package 2022-04-12 15:38:20 +02:00
Benoit Marty
73d22d0622 Move SpacePeekResult to api package, and cleanup 2022-04-12 15:38:20 +02:00
Benoit Marty
83570dc24b Move TextContent class to api package
It is used by the app. Make the extensions internal
2022-04-12 15:38:20 +02:00
SpiritCroc
753a675914 [merge] Fix voice message rendering
Change-Id: I9a02986855a520969232746a79d86e40de7a826c
2022-04-12 12:38:52 +02:00
aringenbach
047a45d77f
Add a setting to be able to always appear offline (#5583)
Add a setting to be able to always appear offline
Move presence enabling to a app-only preference
2022-04-12 12:08:56 +02:00
SpiritCroc
8a4e914861 Automatic SchildiChat string correction
Change-Id: Ia324118f9893f08e5daa8aabf338615f5e10b2bc
2022-04-12 11:57:24 +02:00
SpiritCroc
7c35f5fda5 Merge tag 'v1.4.11' into sc
Change-Id: I454f1ec4f1df6366065d5690d9704eb1bd573c2d

Conflicts:
	dependencies_groups.gradle
	library/ui-styles/build.gradle
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt
	vector/src/main/AndroidManifest.xml
	vector/src/main/assets/open_source_licenses.html
	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewEvents.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineViewModel.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
	vector/src/main/java/im/vector/app/features/rageshake/BugReporter.kt
	vector/src/main/java/im/vector/app/features/settings/VectorSettingsLabsFragment.kt
	vector/src/main/java/im/vector/app/features/settings/notifications/VectorSettingsNotificationPreferenceFragment.kt
	vector/src/main/res/menu/menu_timeline.xml
2022-04-12 11:57:16 +02:00
David Langley
454a65602b
Merge pull request #5639 from vector-im/feature/dla/uisi_match_web_implementation
Align Autorageshake with web implementation
2022-04-12 10:36:43 +01:00
SpiritCroc
1ae13292a5 Automatic revert to unchanged upstream strings, pt.1
Change-Id: I39238d970aeee2af9fafc69604ff5d5dfb7b2b09
2022-04-12 11:07:57 +02:00
SpiritCroc
096bbb696f Open without reading: remember for rooms opened from room
Change-Id: I6ea5675b4cfb5d65d0a5a66d41a0cd489fe263b0
2022-04-12 11:02:43 +02:00
SpiritCroc
d5b0ffacf8 Home pager space swipe: ensure we don't use legacy groups
Change-Id: Icb7ce90dcb1ae013b999c9db9b7b9a3d984dc83f
2022-04-12 11:02:40 +02:00
SpiritCroc
68c9c5459d ViewPager: Change how initial page is selected
Change-Id: Id1a7f29526dc6957dfed61ba016c89e9b45638a2
2022-04-12 11:02:22 +02:00
SpiritCroc
66f5b5c771 Update ViewPager debugging
Change-Id: I969a649335f069ddc68762975be8e8aad018a37d
2022-04-12 11:01:05 +02:00
David Langley
363afd0089 Update naming to InitialSyncProgressing for clarity. 2022-04-12 09:35:35 +01:00
Benoit Marty
836a12d047
Merge pull request #5719 from vector-im/feature/bma/improved_logs
Do not cancel the current sync request when the app goes to background
2022-04-12 09:23:24 +02:00
Adam Brown
417a0d683c
Merge pull request #5725 from vector-im/sync-analytics-plan
Sync analytics plan
2022-04-11 16:47:43 +01:00
Adam Brown
c68045360e
Merge pull request #5736 from vector-im/feature/adm/confetti-z-order
Fixing onboarding confetti Z order
2022-04-11 16:12:54 +01:00
ariskotsomitopoulos
9414a29b80 Add Cancelled state to UIA 2022-04-11 15:38:18 +03:00
Adam Brown
a9df474067 fixing confetti rendering behind the onscreen text by changing z order 2022-04-11 13:20:31 +01:00
Adam Brown
4d65c42967 updating the posthog dev environment credentials 2022-04-11 11:57:00 +01:00
Michael Telatynski
51c0ff7b7a Don't wrongly show non-space invites in the space panel 2022-04-11 11:32:39 +01:00
ganfra
53c7cec55d
Merge pull request #5475 from SpiritCroc/readmarkerline
Fix some cases where the read marker line would not show up when it should
2022-04-11 11:12:13 +02:00
bmarty
9eb9b0b880 Sync analytics plan 2022-04-11 00:05:15 +00:00
Piotr Strebski
323954be33 Translated using Weblate (Polish)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-09 12:59:38 +00:00
Besnik Bleta
b4e8b07381 Translated using Weblate (Albanian)
Currently translated at 99.4% (2177 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2022-04-09 12:59:34 +00:00
ClaireG
f8a3f7ffac
Fix room name of DM in room creation item 2022-04-08 17:14:41 +02:00
Adam Brown
5f9d3e107d moving ftue ems url to the urls config file 2022-04-08 13:17:56 +01:00
Adam Brown
a2bcbfb7c7 extracting server information rendering to a reusable method to reduce duplication and better enforce consistency 2022-04-08 13:16:29 +01:00
Adam Brown
05a7d40950 extracting view setup to its own method -
follows other ftue fragment conventions
2022-04-08 13:16:29 +01:00
Adam Brown
6304d5dc93 creating a common type for the edit/selecting of homeserver urls to avoid duplication in the model 2022-04-08 13:16:29 +01:00
Adam Brown
f70d61321c renaming extension to help with discoverability 2022-04-08 13:16:29 +01:00
Adam Brown
21102a2f9f renaming homeserver url properties to better define their content 2022-04-08 13:16:29 +01:00
Adam Brown
0ce2012b83 adding link to ems copy 2022-04-08 13:16:29 +01:00
Adam Brown
2ba3bd3375 addressing line length 2022-04-08 13:16:29 +01:00
Adam Brown
1d92b4293b launching the ems site when tapping get in touch 2022-04-08 13:16:29 +01:00
Adam Brown
89f182ac35 adding missing IME handling for the register next focus and server selection submit 2022-04-08 13:16:29 +01:00
Adam Brown
c022a38dd4 checking the input field content for emptyness rather than its child count, fixes flaky initial value setting 2022-04-08 13:16:29 +01:00
Adam Brown
8b2e2a16e2 adding tests around the editing of the homeserver url 2022-04-08 13:16:29 +01:00
Adam Brown
e9f50038a4 splitting the homeserver edit from the selection so that we can handle the cases differently 2022-04-08 13:16:29 +01:00
Adam Brown
1e520121ce renaming update homeserver to select homeserver
- should better reflect this steps mvoes the onboarding process forwards
2022-04-08 13:16:29 +01:00
Adam Brown
f34df3997d extracting the authentication start logic to a dedicated use case
- moves some of the homeserver specific state to the selectServer model
2022-04-08 13:16:29 +01:00
Adam Brown
51c294a6fc launching the edit selection from the ftue variant entry point 2022-04-08 13:16:29 +01:00
Adam Brown
985dbfe97d keeping the http:// schema in the server selection input field
- helps to highlight a non secture connection, for https we strip the prefix
2022-04-08 13:16:29 +01:00
Adam Brown
7f90dda96f adding dedicated server selection state to onboarding state
- replaces previous separately url strings with state usage
- makes use of the state for updating the sign up and server selection fields
2022-04-08 13:16:29 +01:00
Adam Brown
c3cf22158b adding barebones server selection UI 2022-04-08 13:16:29 +01:00
Priit Jõerüüt
c54a124d34 Translated using Weblate (Estonian)
Currently translated at 99.9% (2188 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2022-04-07 20:00:04 +00:00
Ihor Hordiichuk
7ae42d81c1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2022-04-07 20:00:01 +00:00
lvre
9fb71130a4 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2022-04-07 19:59:57 +00:00
LinAGKar
9e39df111d Translated using Weblate (Swedish)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2022-04-07 19:59:53 +00:00
Danial Behzadi
0167e3a222 Translated using Weblate (Persian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2022-04-07 19:59:49 +00:00
Jeff Huang
fca0b042e8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hant/
2022-04-07 19:59:47 +00:00
maciejek997
de109c9772 Translated using Weblate (Polish)
Currently translated at 97.4% (2135 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-07 19:59:46 +00:00
Piotr Strebski
833798bd25 Translated using Weblate (Polish)
Currently translated at 97.4% (2135 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-07 19:59:45 +00:00
waclaw66
d538e2d9a9 Translated using Weblate (Czech)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2022-04-07 19:59:39 +00:00
Jozef Gaal
8b125923e9 Translated using Weblate (Slovak)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sk/
2022-04-07 19:59:37 +00:00
random
f2bbcddd5f Translated using Weblate (Italian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/it/
2022-04-07 19:59:34 +00:00
Linerly
23cdd4fac3 Translated using Weblate (Indonesian)
Currently translated at 100.0% (2190 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2022-04-07 19:59:33 +00:00
NIkita Fedrunov
190a425aa6 don't leave DMs when leaving all rooms in space 2022-04-07 17:55:33 +02:00
fedrunov
504a242775
tracking number of spaces user joined (#5300) 2022-04-07 16:43:41 +02:00
SpiritCroc
48d632cce5 Quicker updates of toolbar title on space swipe
Change-Id: I89b89ab50aa8dab59e6db719332641e8376f5c76
2022-04-07 15:34:43 +02:00
fedrunov
eab3e5aefa
don't leave DMs when leaving all rooms in space (#5720) 2022-04-07 15:16:12 +02:00
SpiritCroc
e4c0883312 Rageshake: add field about what debug settings to expect
Change-Id: Idd9a1954e80c24ed58bf8e1f2b93ecb7cd211407
2022-04-07 15:15:29 +02:00
ariskotsomitopoulos
7e67f3c88b Fix Deactivation account loader 2022-04-07 16:05:49 +03:00
ariskotsomitopoulos
79f5a7c666 Fix crash when user navigates back 2022-04-07 14:37:18 +03:00
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
fd76db9616 Update test 2022-04-05 22:16:42 +02: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
Piotr Strebski
157a14fdc2 Translated using Weblate (Polish)
Currently translated at 93.3% (2044 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:43 +00:00
maciejek997
bad0c0a2e1 Translated using Weblate (Polish)
Currently translated at 93.3% (2044 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:43 +00:00
Piotr Strebski
7dd56244a9 Translated using Weblate (Polish)
Currently translated at 93.2% (2043 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:20 +00:00
maciejek997
99ad49498d Translated using Weblate (Polish)
Currently translated at 93.2% (2043 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:20 +00:00
Piotr Strebski
67159f7dc9 Translated using Weblate (Polish)
Currently translated at 93.2% (2042 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:03 +00:00
maciejek997
aaf3f080d0 Translated using Weblate (Polish)
Currently translated at 93.2% (2042 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:12:03 +00:00
Piotr Strebski
5e03526717 Translated using Weblate (Polish)
Currently translated at 93.1% (2041 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:11:46 +00:00
maciejek997
2e81f2ab2a Translated using Weblate (Polish)
Currently translated at 93.1% (2041 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:11:46 +00:00
Piotr Strebski
3d9974ed82 Translated using Weblate (Polish)
Currently translated at 93.1% (2039 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:10:42 +00:00
m1chj
be3b75e136 Translated using Weblate (Polish)
Currently translated at 93.1% (2039 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:10:42 +00:00
maciejek997
da32eb8a99 Translated using Weblate (Polish)
Currently translated at 93.1% (2039 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:10:42 +00:00
Piotr Strebski
2b9dd88554 Translated using Weblate (Polish)
Currently translated at 92.7% (2031 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:06:11 +00:00
maciejek997
b19b100150 Translated using Weblate (Polish)
Currently translated at 92.7% (2031 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:06:11 +00:00
m1chj
8f751af7e4 Translated using Weblate (Polish)
Currently translated at 92.6% (2030 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:05:13 +00:00
Piotr Strebski
232c400c08 Translated using Weblate (Polish)
Currently translated at 92.6% (2030 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:05:13 +00:00
maciejek997
3d64f13c7e Translated using Weblate (Polish)
Currently translated at 92.6% (2030 of 2190 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2022-04-05 13:05:13 +00: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
SpiritCroc
14d7921f35 Persist swiped space across viewpager recreations
Change-Id: I8a4010b8eaddcfe2ee906cb559336dc4c2e05bef
2022-04-05 10:43:19 +02: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
SpiritCroc
c1149858c4 Different app icon background for debug builds
Change-Id: I58d40b5862f933a15cb1859f7755d8c5ce32007a
2022-04-04 12:44:42 +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
SpiritCroc
1894bb0b11 Update ViewPager debugging
Change-Id: I12cf51829abf0722bcc527ab6004a5378aac7cee
2022-04-04 10:12:33 +02: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
SpiritCroc
1287770b16 Add some optional ViewPager debugging
Change-Id: I30332b57779e1093d06d2d7a07bca0ca5342de15
2022-04-03 13:29:16 +02: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
SpiritCroc
45613792bf Avoid loading pager before pages known
Change-Id: I427e3e5ef9a27004b7b5f5e4eb6a2f45f8141c50
2022-03-31 11:05:33 +02:00
SpiritCroc
36c290f112 Persist selected space on home fragment pause
Change-Id: Ib7771d83c0adb7a9e228261a55bac2f1de0f118f
2022-03-31 10:46:38 +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
SpiritCroc
ca31577858 Merge remote-tracking branch 'weblate/sc' into sc
Change-Id: I1435cde28140a7f98751bcafe0005078d29dc100
2022-03-31 09:21:29 +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
SpiritCroc
e21f9443d5 ViewPager: never react to own space-changes
Change-Id: I45a1fd1e9ec6048dffdc4d54e8022d53afc627ff
2022-03-31 09:14:53 +02:00
J. Lavoie
5c6dfbba32 Translated using Weblate (French)
Currently translated at 71.4% (105 of 147 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/fr/
2022-03-30 17:46:18 +02:00
Linerly
4f1f4a8ec7 Translated using Weblate (Indonesian)
Currently translated at 100.0% (147 of 147 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2022-03-30 17:46:18 +02:00
waclaw66
2baf58d3f1 Translated using Weblate (Czech)
Currently translated at 100.0% (147 of 147 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2022-03-30 17:46:18 +02:00
Colin Xu
1fdf38268d Translated using Weblate (Chinese (Simplified))
Currently translated at 89.9% (125 of 139 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/zh_Hans/
2022-03-30 17:46:17 +02:00
SpiritCroc
886cd253ec [merge] Revert back to old section header
Change-Id: Id7a4a9b31a02acbabff028d8d684e3d02dc1c1ec
2022-03-30 17:07:24 +02:00
SpiritCroc
cb3658859e Improve unread line color on light theme
Change-Id: I3b4c54354555433fd9b3e6a53ff8440c8c05f359
2022-03-30 16:40:41 +02:00
SpiritCroc
126dfd7ded Revert "change selected space highlight"
This reverts commit 33246be2a5.
2022-03-30 16:34:50 +02:00
SpiritCroc
997f93dd3a Automatic SchildiChat string correction
Change-Id: I73a591e02f0f08ee1961f066751f4fc1b4b3a343
2022-03-30 15:53:53 +02:00
SpiritCroc
dd0897d6e4 Automatic color correction
Change-Id: I3d2b339669ab717bf5e3a08cfcdfc46762838667
2022-03-30 15:53:52 +02:00
SpiritCroc
d5d555d07f Merge tag 'v1.4.8' into merge-v1.4.8
Change-Id: Ic6338fef4f27ca95016eb11ab07a10d3f3a8986e

Conflicts:
	library/ui-styles/src/main/res/values/dimens.xml
	library/ui-styles/src/main/res/values/styles_buttons.xml
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/summary/RoomSummaryConstants.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/LoadTimelineStrategy.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/timeline/TimelineChunk.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/AbsMessageItem.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/style/TimelineMessageLayout.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/view/MessageBubbleView.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomCategoryItem.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomListSectionBuilderSpace.kt
	vector/src/main/java/im/vector/app/features/home/room/list/RoomsSection.kt
	vector/src/main/java/im/vector/app/features/home/room/list/SectionHeaderAdapter.kt
	vector/src/main/java/im/vector/app/features/roomprofile/notifications/RoomNotificationSettingsViewState.kt
	vector/src/main/res/drawable/ic_home_bottom_catchup.xml
	vector/src/main/res/drawable/ic_shield_custom.xml
	vector/src/main/res/drawable/ic_shield_trusted.xml
	vector/src/main/res/drawable/ic_shield_trusted_no_border.xml
	vector/src/main/res/layout/fragment_ftue_account_created.xml
	vector/src/main/res/layout/fragment_timeline.xml
	vector/src/main/res/layout/item_timeline_event_code_block_stub.xml
	vector/src/main/res/layout/view_attachment_type_selector.xml
	vector/src/main/res/layout/view_room_detail_toolbar.xml
	vector/src/main/res/menu/menu_submit.xml
2022-03-30 15:53:51 +02:00
cketti
29c7ea11bd Create extension function Context.safeOpenOutputStream 2022-03-30 15:38:40 +02:00
SpiritCroc
cefb0539bf Automatic revert to unchanged upstream strings, pt.1
Change-Id: I56dd0cb49f394d099f71048f7e93b85bc9d35da1
2022-03-30 14:57:34 +02:00
SpiritCroc
59ae8f521b Fix media player play icon color
Change-Id: Ie858123cedbf22129b9e465a90c30147e8bd2314
2022-03-30 14:55: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