Commit graph

13421 commits

Author SHA1 Message Date
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
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
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
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
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
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
Benoit Marty
1b3be240b3
Merge pull request #8645 from vector-im/hughns/oidc-device-logout-in-chrome-tab
Open OIDC account management URL in chrome tab
2023-09-14 21:54:23 +02:00
Benoit Marty
8c1cc44255
Merge pull request #8627 from vector-im/feature/bma/hideAccountDeactivation
Hide deactivate account section in case of account managed externally.
2023-09-14 21:53:13 +02:00
Hugh Nimmo-Smith
470557c59e Open OIDC account management URL in chrome tab
Not the external browser
2023-09-14 11:23:19 +01:00
Yoan Pintas
ff548d2f98
Fix crash when max shortcuts count is exceeded (#8644) 2023-09-13 10:43:03 +00:00
Benoit Marty
d31c741f9d Hide deactivate account section in case of account managed externally. 2023-09-12 16:28:28 +02:00
Benoit Marty
ec9a066900
Merge pull request #8620 from vector-im/feature/bma/oidcSessionEnd
Feature/bma/OIDC session end
2023-09-12 16:25:46 +02:00
Benoit Marty
52a06931f4 Change the test to hide multi signout of devices.
We do not need an external account management URL, which is optional, but we need to know if account management is delegate to Oidc.
2023-08-31 16:04:45 +02:00
Benoit Marty
a3be0286ee
Merge pull request #8341 from tomtit/bugfix/issue-7758
Fixes #7758: Fixed JWT token for Jitsi openidtoken-jwt authentication
2023-08-28 13:15:05 +02:00
Benoit Marty
880ed69f97 OIDC redirect to the web page to delete a session (new session manager) #8616 2023-08-22 12:17:23 +02:00
Benoit Marty
8941e6396c Hide multi signout if we have an external account manager (#8616) 2023-08-22 12:08:33 +02:00
Benoit Marty
425441546e Format 2023-08-22 12:08:06 +02:00
Benoit Marty
12395e9b04 OIDC redirect to the web page to delete a session (legacy session manager) #8616 2023-08-22 11:40:47 +02:00
Benoit Marty
39a783196e Hide setting entry point to manage 3Pid if homeserver capability m.3pid_changes is set to false. 2023-08-21 17:25:48 +02:00
Benoit Marty
ae52d4cd3c Fix crash in the setting when enabling/disabling integration manager and there is no network. 2023-07-11 18:10:54 +02:00
Benoit Marty
2a5df54ae4 Fix crash: show an error message with a Retry button when there is no network when displaying the BootstrapBottomSheet. 2023-07-11 18:09:00 +02:00
Benoit Marty
2b4b5f05eb
Merge pull request #8556 from vector-im/feature/bma/noJcenter
Feature/bma/no jcenter
2023-06-27 17:04:59 +02:00
valere
7205cd73d4 quality 2023-06-26 11:13:08 +02:00
valere
3e73137c18 Fixes new device detections banner problems 2023-06-26 10:48:58 +02:00
Benoit Marty
e9f9decf00 Import source from https://github.com/dm77/barcodescanner 2023-06-23 18:58:42 +02:00
Benoit Marty
69680a9856 Import source from https://github.com/2dxgujun/Kpan 2023-06-23 18:23:14 +02:00
Benoit Marty
cd292488b6 Fix warning 2023-06-23 17:51:57 +02:00
Benoit Marty
3da1497d27 Import source from https://github.com/natario1/Autocomplete 2023-06-23 17:46:12 +02:00
Benoit Marty
f304e40d57 Import source from https://github.com/amulyakhare/TextDrawable 2023-06-23 17:35:14 +02:00
David Langley
a065cd338c
Merge pull request #8440 from vector-im/jonny/feat/rich-text-mentions
[Rich text editor] Add mentions and slash commands
2023-06-21 11:26:13 +01:00
David Langley
cfae6e9e51 Remove TODO causing failed lint check. 2023-06-21 09:49:44 +01:00
David Langley
e988308dc6 Add space after mention inserstion. 2023-06-21 09:30:45 +01:00
jonnyandrew
9d239bf94d
Use proper API to insert mention from timeline user 2023-06-19 13:41:08 +01:00
Benoit Marty
4af2f700f7
Merge pull request #8541 from abaker/fix_fallback_key_sharing_strategy
Fix fallbackKeySharingStrategy
2023-06-16 13:05:30 +02:00
Yoan Pintas
710d21f6a4
Implement MSC3987: Push actions clean-up (#8530) 2023-06-16 09:13:13 +00:00
Alex Baker
572bdb6dfe Fix fallbackKeySharingStrategy
Signed-off-by: Alex Baker <alex@beeper.com>
2023-06-14 16:29:22 -05:00
David Langley
cb64175c2b Fix line length and typo. 2023-06-09 19:43:26 +01:00
David Langley
3b887fdf4e Test room alias links and fix bug found with PillDisplayHander not handling them 2023-06-09 18:12:52 +01:00
David Langley
36b97b1647 Merge branch 'main' of github.com:vector-im/element-android into jonny/feat/rich-text-mentions 2023-06-09 16:05:46 +01:00
David Langley
cfa0f95799 Add PillDisplayHandler tests for custom domains. 2023-06-09 16:02:09 +01:00
David Langley
f3db4a857a always use getText().insert for adding pills 2023-06-09 14:58:17 +01:00
Benoit Marty
48df1136ca
Merge pull request #8471 from vector-im/bugfix/cjs/poll-finish-contents
Show correct details when a poll is ended.
2023-06-09 14:28:07 +02:00
David Langley
7d084f18a0
Merge pull request #8517 from vector-im/dla/feature/rte_paste_images
Update rich text editor library to support pasting of images
2023-06-09 13:22:05 +01:00
David Langley
38330a7b67 Update RTE library to support pasting of images. 2023-06-09 09:29:01 +01:00
Yoan Pintas
07e06957ef
Prompt the user when the invited MatrixId is not recognized (#8483) 2023-06-05 20:02:11 +00:00
dependabot[bot]
7f8a19f194
Bump org.checkerframework:checker from 3.34.0 to 3.35.0 (#8497) 2023-06-02 09:59:16 +00:00
Valere
2f1a7b76ad
Merge pull request #8485 from vector-im/feature/bca/fix_anrs
Make cryptoDevice calls suspendable
2023-06-01 16:36:29 +02:00
Benoit Marty
f741c4e7d9
Merge pull request #8463 from vector-im/dla/feature/always_allow_signout
Always allow users sign out
2023-06-01 14:55:39 +02:00
valere
7e6376bf90 remove log 2023-05-31 15:14:28 +02:00
valere
8c1938987b Code review 2023-05-31 12:18:27 +02:00
valere
dc969f502a ktlint 2023-05-31 10:55:56 +02:00
valere
2d335c1307 fix unit test 2023-05-31 10:42:46 +02:00
valere
268cbb83cd Make cryptoDevice calls suspendable 2023-05-30 23:47:50 +02:00