Commit graph

14782 commits

Author SHA1 Message Date
Benoit Marty
f9a84512ad
Merge pull request #8790 from element-hq/feature/bma/externalAnalyticsPlan
Add dependency on `com.github.matrix-org:matrix-analytics-events`
2024-05-16 14:39:03 +02:00
Benoit Marty
085bf8230e
Merge pull request #8817 from element-hq/hughns/qr-mscs-closed
Add note about MSC3886, MSC3903 and MSC3906 being closed
2024-05-16 14:32:38 +02:00
Benoit Marty
0e94a499c9
Merge pull request #8810 from yostyle/yostyle/fix_file_permission
fix: update local file access permission
2024-05-16 14:31:41 +02:00
Benoit Marty
2362fcde16
TODO must not be followed by : 2024-05-16 14:02:15 +02:00
Valere
d100b62e54 Fix posthog tests 2024-05-06 10:31:45 +02:00
Valere
443db6ce8e Bump posthog version to 3.2.0 2024-05-06 09:28:53 +02:00
Hugh Nimmo-Smith
a8a9c61a69 Add note about MSC3886, MSC3903 and MSC3906 being closed 2024-05-03 13:16:31 +01:00
Benoit Marty
305372cafc
Merge pull request #6225 from element-hq/feature/adm/android-12-deeplinks
Fixing Android 12 url deeplinks
2024-05-02 16:58:10 +02:00
yostyle
33d09ecf40 fix: update local file access permission 2024-04-18 16:29:02 +02:00
Valere
0a284bbeea Analyics: stop double reporting posthog utds 2024-04-04 13:09:10 +02:00
Benoit Marty
5ccc486b7c
Merge pull request #8795 from element-hq/sync-emojis
Sync Emojis
2024-04-02 22:19:17 +02:00
Benoit Marty
6cd9e6eedd When reporting a user, use the membership state eventId for the eventId. 2024-04-02 20:47:45 +02:00
SpiritCroc
38b0b246e2 Merge tag 'v1.6.14' into sc
tag

Change-Id: I87dca48559687c9210fec8bebb031305d8d5578c
2024-04-02 19:51:29 +02:00
Benoit Marty
9aaf29d4cf
Merge pull request #8797 from element-hq/feature/bma/reportUser
Report user
2024-04-02 18:08:44 +02:00
Benoit Marty
b14cb81ece Add action to report a user form the user profile view. EventId is not relevant, but requested by the API. 2024-04-02 15:44:25 +02:00
Benoit Marty
99ec61e120 Add action to report a user form the message detail bottom sheet. #8796 2024-04-02 15:11:27 +02:00
Valere
752c884eaa Analytics | if no property use null instead of empty map 2024-04-02 11:44:05 +02:00
Valere
2bbb49bdd3 Fix: should remember already reported events 2024-04-02 09:33:10 +02:00
bmarty
e337be2795 Sync Emojis 2024-04-01 00:11:47 +00:00
Valere
393f3f3030 Use new error name for expected UTD 2024-03-27 11:59:21 +01:00
Valere
9ebc10f4c2 KDoc punctuation 2024-03-27 11:31:12 +01:00
Valere
4d04b276ff use the new updated analytics events 2024-03-27 10:49:08 +01:00
Benoit Marty
6e1b346095 Add dependency on com.github.matrix-org:matrix-analytics-events and remove local plan and management of its import. 2024-03-27 10:15:57 +01:00
Valere
28eead74cb doc update 2024-03-27 09:53:14 +01:00
Valere
fcc5181a28 Refactor Decryption Failure Tracker and report new properties 2024-03-27 09:53:14 +01:00
Valere
1f430a4015 Analytics tracker, support report custom properties not yet in schame 2024-03-27 09:53:13 +01:00
Valere
72d2199f1a refactor: StreamEventsManager report MXCryptoError instead of throwable 2024-03-27 09:53:13 +01:00
Benoit Marty
f559dcdd85 Add missing periods. 2024-03-27 08:08:58 +01:00
Valere
fda38e90e5 Update analytic events 2024-03-26 18:28:05 +01:00
Benoit Marty
1155c43fe0 BootstrapReAuthFragment: fix infinite loading wheel by submitting at start up. 2024-03-20 10:45:43 +01:00
Benoit Marty
5cd78c02aa Ensure the keys are updated as soon as possible. Else it seems that we had to wait for the next sync response. 2024-03-20 10:02:57 +01:00
ganfra
21d685f981 Fix send button blinking with RTE 2024-03-04 10:23:24 +01:00
Valere
79462bcb90 revert previous commit 2024-02-29 16:25:50 +01:00
Valere
bc5c31d8f7 Increase decryption failure grace period 2024-02-29 13:58:44 +01:00
SpiritCroc
4b3b454068 Merge tag 'v1.6.12' into sc
tag

Change-Id: Iecfd29cb1d95af84fa2c8433c45e69c6ffa20a57
2024-02-20 15:01:32 +01:00
Benoit Marty
53734255ec Add a check on incoming intent. 2024-02-16 11:51:16 +01:00
SpiritCroc
f7a4cc4b31 Apply received patches from upstream
Change-Id: I0d4be766d0f75c3ba64494599e8f3c5d589d3410
2024-02-16 09:43:19 +01:00
Benoit Marty
6ea0129bee Location sharing: use Room member avatar instead of profile avatar. 2024-02-02 18:36:29 +01:00
Benoit Marty
8b1bd7940d Fix avatar with initial not displayed on message preview bottom sheet 2024-02-02 16:01:59 +01:00
Benoit Marty
ff439546c5 Improve cache of drawables used for rendering location pin.
In particular, use the Glide cache, and ensure that if an error occurs and later the avatar can be retrieved, the cache will be replaced.
Also limit cache size to 32.
Also use UserItem as a key, instead of just the userId, so that if displayName or avatarUrl change, there will be not cache hit.
2024-02-02 15:34:51 +01:00
Benoit Marty
343468717c Add a test 2024-02-02 13:56:44 +01:00
Benoit Marty
d49f6bfbb6 Equivalent code. 2024-02-02 13:56:44 +01:00
Benoit Marty
a17c75a7da Remove unused import 2024-01-31 18:49:19 +01:00
Benoit Marty
6a30a2ed32 Keep the current message formatting when switching between composer mode (Regular, Reply, etc.) 2024-01-31 18:28:39 +01:00
Benoit Marty
423b9215c4 Store the formattedText to the draft, to be able to restore the formatting. #7466 2024-01-31 18:28:39 +01:00
Jorge Martín
4cd7c60032 Make 'sign in' flow more important in the initial screen 2024-01-30 12:20:56 +01:00
SpiritCroc
4573a4235e Merge tag 'v1.6.10' into sc
Change-Id: If32b84a60de38eab046bbedeb2b1e8d9c6094bb3

Conflicts:
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/room/timeline/TimelineEvent.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/util/ContentUtils.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/RoomAvatarResolver.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/LocalEchoEventFactory.kt
	vector/src/main/java/im/vector/app/core/pushers/UnifiedPushHelper.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/PlainTextComposerLayout.kt
2024-01-10 19:57:20 +01:00
ganfra
b72039e735 Fix a bunch of issues related to edition and reply #5969 2024-01-02 08:17:26 +01:00
Benoit Marty
25d1945cdc
Merge pull request #8577 from element-hq/sync-analytics-plan
Sync analytics plan
2023-12-21 14:19:59 +01:00
Benoit Marty
03966f1c13 Fix KDoc (I know I should not edit this, but its fine) 2023-12-21 09:38:03 +01:00
Benoit Marty
d610f75f1b Fix compilation issue.
This extension is only used for Test
2023-12-21 09:30:46 +01:00
Benoit Marty
7242ad48c2 No need to use also here. 2023-12-21 09:29:31 +01:00
Benoit Marty
abccc7dd9f
Merge pull request #8710 from element-hq/feature/bma/elementHq
Element hq
2023-12-21 09:14:58 +01:00
Benoit Marty
6feee61f17
Merge pull request #8711 from element-hq/dependabot/gradle/io.element.android-wysiwyg-2.22.0
Bump io.element.android:wysiwyg from 2.14.1 to 2.22.0
2023-12-20 15:05:11 +01:00
Benoit Marty
644587a98c Fix crash... 2023-12-20 10:16:29 +01:00
Benoit Marty
fac8dd333a RTE: fix API break... 2023-12-20 10:16:29 +01:00
Benoit Marty
431a1a6fb2
Merge pull request #8672 from Amir-yazdanmanesh/develop
Change jitsi-meet constants URL
2023-12-15 18:10:40 +01:00
SpiritCroc
2117f95290 Switch prefered room preview types to best tested selection
Devs prefer this option and test this the most.

Change-Id: I1a986597d539589e68c588d99074d32dd04e4833
2023-12-14 11:36:35 +01:00
Benoit Marty
6d65a74f1d Organization renaming: replace all https://github.com/vector-im by https://github.com/element-hq 2023-12-13 11:01:40 +01:00
Benoit Marty
1c1c89fb86
Merge pull request #8698 from vector-im/feature/bma/mdm
Implement Mobile Device Manager feature with 3 keys.
2023-12-11 17:03:28 +01:00
bmarty
7e40b933c0 Sync analytics plan 2023-12-11 00:03:18 +00:00
SpiritCroc
46cd827e95 Hide quick-access to matrix.org account registration for Play Store
New Play Store guidelines require easy account deletion links etc. when
the app provides a way to create accounts. For SchildiChat, we do not
provide any homeservers for users, which is hard to teach the Google
Play Store testers. Accordingly, require users to enter their homeserver
themselves. Note that entering matrix.org in the "Custom server" picker
will lead you to the same UX like previously checking the existing box.

Change-Id: I93d313e22dc18b4c1b7469cd4a7e9761c5b6ee5f
2023-12-07 17:44:58 +01:00
Benoit Marty
6452b5c2b4 Make DefaultMdmService a singleton and use Binds instead of Provides. 2023-12-04 17:54:48 +01:00
Benoit Marty
882020fdba Fix test compilation issue. 2023-12-04 15:54:17 +01:00
Benoit Marty
778dab7bb7 Cleanup and safer Json model. 2023-12-04 09:20:25 +01:00
Benoit Marty
8e0c503b45 Support Functional members #3736 2023-12-04 09:16:26 +01:00
Benoit Marty
fb077d5065 Implement Mobile Device Manager feature with 3 keys. 2023-11-30 18:18:00 +01:00
SpiritCroc
3c974e0085 Disable SC defaults button in non-internal builds
It is in the "Dev Tools" section, and it tells you to not click it.
Apparently, users have a serious problem with that.

Closes https://github.com/SchildiChat/SchildiChat-android/issues/212

Change-Id: I3e5101b107127d7d7f1dfb92ca2df225bb8a79a7
2023-11-29 09:20:20 +01:00
SpiritCroc
0cff637113 Don't auto-insert ':' after mentions
Change-Id: I348a79b985e92c32475738c1c7e0a651b475f3f9
2023-11-28 20:23:11 +01:00
SpiritCroc
b2c8548e29 Merge tag 'v1.6.8' into sc
tag

Change-Id: I0a2384fc2e4eda861a191b0b8c85641916854ac8

Conflicts:
	dependencies.gradle
	matrix-sdk-android/src/kotlinCrypto/java/org/matrix/android/sdk/internal/crypto/MXOlmDevice.kt
	matrix-sdk-android/src/kotlinCrypto/java/org/matrix/android/sdk/internal/crypto/algorithms/olm/MXOlmDecryption.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	vector-app/build.gradle
	vector/src/main/java/im/vector/app/core/di/ConfigurationModule.kt
	vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCallManager.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/MessageTextItem.kt
2023-11-28 20:04:00 +01:00
jonnyandrew
a6fafb07da
Remove quote from message actions menu (#8689) 2023-11-27 16:30:44 +00:00
Benoit Marty
84158ece37 Ensure Background sync is not stopped when there is an active call.
It was happening since the application is foregrounded when VectorCallActivity is displayed.
2023-11-22 09:31:20 +01:00
jonnyandrew
63ef40f58b
Fix issue with timeline message view reuse while rich text editor is enabled (#8688) 2023-11-17 17:09:18 +00:00
Giom Foret
7c58af735b Unified Push: Ignore the potential SSL error when the custom gateway is testing
When the Unified Push is enabled, the application checks the potential custom gateway before applying it. If an SSL error happens, the application may ignore this error and keep using this custom gateway. The actual SSL check will be done server side where this gateway is actually used.
2023-11-15 17:10:44 +01:00
yostyle
3d7489c7c5 Fix PR comment 2023-11-14 12:38:10 +01:00
yostyle
3179dc1400 Update regex for email address 2023-11-14 12:38:10 +01:00
Valere
d045cedb46 ignore paparazzi tests 2023-11-13 15:01:19 +01:00
Valere
58a44ac668 fix test 2023-11-13 14:00:30 +01:00
Valere
e4c1913e01 Merge branch 'develop' into feature/bca/clean_up_legacy_crypto 2023-11-13 09:20:49 +01:00
Benoit Marty
7073b1647c
Merge pull request #8607 from vector-im/dependabot/gradle/io.element.android-wysiwyg-2.5.0
Bump io.element.android:wysiwyg from 2.2.2 to 2.6.0
2023-11-09 09:35:30 +01:00
Benoit Marty
dd6410794c Suppress lint warning. MenuBuilder is restricted. 2023-11-08 17:51:03 +01:00
Benoit Marty
2c75f41072 Fix lint false positive 2023-11-08 17:49:04 +01:00
Benoit Marty
454ba7bf7c
Merge branch 'develop' into feature/bca/clean_up_legacy_crypto 2023-11-07 14:13:56 +01:00
Yoan Pintas
b14338d2c4
Remove unused WebRTC dependency (#8658) 2023-11-07 14:12:27 +01:00
jonnyandrew
26e2f4e967 Fix compilation error 2023-11-06 18:15:45 +01:00
jonnyandrew
6112082d07 Update to new mentions API 2023-11-06 18:15:45 +01:00
amir
4debc49172 Change jitsi-meet constants URL 2023-10-28 21:53:56 +03:30
Valere
d4c141664b fix ignored test 2023-10-12 09:12:32 +02:00
Valere
5f68f98d3a fix unit test 2023-10-11 17:04:05 +02:00
Valere
cd101f871c missing mock 2023-10-11 15:07:48 +02:00
Valere
e8922a5fa7 property not in schema 2023-10-11 12:13:50 +02:00
Valere
25ecd599f3 Merge branch 'develop' into feature/bca/clean_up_legacy_crypto 2023-10-10 13:00:45 +02:00
Benoit Marty
60940c01df
Merge pull request #8651 from vector-im/sync-emojis
Sync Emojis
2023-10-06 17:46:54 +02:00
Benoit Marty
52082a9def Ensure the incoming call will not ring forever, in case the call is not ended by another way (#8178)
Add a safe 2 minutes timer.
2023-10-06 10:44:03 +02:00
SpiritCroc
1892cf0ff8 Merge tag 'v1.6.6' into sc
Change-Id: I785561f0b2283214dd419a6c7028e374b85dc598

Conflicts:
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
2023-10-05 17:23:23 +02:00
Valere
dfbb3122e7 Remove legacy crypto code 2023-10-02 13:58:51 +02:00
bmarty
1e00da6e2f Sync Emojis 2023-10-02 00:19:14 +00:00
Valere
2709cb2973 missing deprecated 2023-10-01 22:19:54 +02:00
Valere
0d70f6eb54 missing mock 2023-10-01 21:59:46 +02:00
SpiritCroc
29c921eb96 Drop GlideWebp
The benefit of rendering some corner-case webp images is negligible
compared to issues related to the slow update policy of the library,
such as recently in relevance to CVE-2023-4863 (but also previously
for updating glide versions).

Fixes https://github.com/SchildiChat/SchildiChat-android/issues/210

Change-Id: I3809e2b48e595809fed1a6f4e405cdf178126cdb
2023-09-28 09:47:49 +02:00