Commit Graph

1294 Commits

Author SHA1 Message Date
Benoit Marty 20f86a30e8 Upgrade Realm to version 10.4.0
Migration with isEmbedded tested OK
2021-05-10 13:31:38 +02:00
Benoit Marty 87b12b7e11 Add the public icon on the rooms in the room list (#3292) 2021-05-07 16:41:30 +02:00
Benoit Marty 4864137fa1 Properly clean the back stack if the user cancel registration when waiting for email/msisdn validation 2021-05-05 23:13:56 +02:00
Benoit Marty 64a37c251d
Merge pull request #3264 from vector-im/feature/bma/fix_3245
Compress video and improve file too big error detection
2021-05-05 15:50:21 +02:00
Benoit Marty dd325c4e91
Merge pull request #3270 from vector-im/feature/bma/remove_jcenter
https://github.com/Piasy/BigImageViewer is now hosted on mavenCentral()
2021-05-04 17:32:23 +02:00
Benoit Marty f7949100a7 Sent video does not contains duration (#3272)
When using the file picker (and not the media picker).
Now when using the file picker, we detect the mime type and we send the correct event
Also some code duplication
2021-05-03 21:14:06 +02:00
Benoit Marty d9ffce7e0d Add option to record a video from the camera
Replace #2411
2021-05-03 21:13:47 +02:00
Benoit Marty 30a54cfdbc User can now select video when selecting Gallery to send attachments to a room 2021-05-03 21:13:47 +02:00
Benoit Marty e108534a2a Improve file too big error detection and rendering (#3245) 2021-05-03 21:13:47 +02:00
Benoit Marty 5e1c503d2e Compress video before sending (#442) 2021-05-03 21:13:47 +02:00
Benoit Marty 0a9fdea26d https://github.com/Piasy/BigImageViewer is now hosted on mavenCentral() 2021-05-03 00:27:28 +02:00
SpiritCroc e3204c32a1 Fix updating read marker automatically
Co-authored-by: Benoit Marty <benoitm@matrix.org>
2021-05-01 13:33:53 +02:00
SpiritCroc 47aa787ecb Fix missing sender information after edits
Fixes https://github.com/vector-im/element-android/issues/3184
2021-05-01 10:11:15 +02:00
Benoit Marty c4a4a5d41c
Merge pull request #3258 from vector-im/feature/bma/fix_3250
Delete and react to stickers (#3250)
2021-04-30 18:11:55 +02:00
Benoit Marty 6180076512 Delete and react to stickers (#3250) 2021-04-30 11:14:36 +02:00
Toby Murray 33337bd772 Allow cleartext to some LAN domains
This functionality exists in the desktop client, so hoping to mirror that as much as Android allows

This addresses a number of the use cases touched on in #1793. Enabling clear text to various official and standard LAN-only domains means it's easier to develop the Android application, as a Matrix server can be deployed locally without much fuss anywhere on the developer's LAN. This can reduce the reliance on a DNS or SSL certificates when neither are really relevant to the functionality of the client/server. In particular, managing SSL certs without a public domain is a pain in the butt.

At the same time, this does not significantly diminish the security of Element Android, as at the current time these domains are either explicitly not valid TLDs or conventionally not TLDs (so would be an unexpected change if they were to become so). In the event e.g. `.home` becomes a TLD, it would be appropriate to remove it from this list.
2021-04-30 00:47:57 -04:00
Benoit Marty ab68903d7f Fix wording issue (#3242) 2021-04-29 15:47:31 +02:00
Benoit Marty 55f1f56fec `master` branch has been renamed to `main`
Also in project vector-im/jitsi_libre_maven
2021-04-29 12:29:52 +02:00
Benoit Marty 751efb57fc
Merge pull request #2840 from vector-im/feature/bca/spaces_sdk
Spaces support - beta
2021-04-29 10:18:31 +02:00
Benoit Marty c40476aa94 Add ability to install APK from directly from Element (#2381)
And cleanup `data class OpenFile`
2021-04-28 15:55:21 +02:00
Benoit Marty 195bc8e914 Fix issue when opening encrypted files (#3186)
Also always open the file after a successful download
2021-04-28 15:11:48 +02:00
Benoit Marty 9cb19c0581 Fix issues on Android 11 (#3067)
Add <queries> tag in manifest to be able to open file using external app and to use full feature of CustomTab
2021-04-28 14:04:27 +02:00
Valere d30ba9c749 Spaces quick fixes and updates
Make drawer menu more obvious + fix notification count
2021-04-28 11:15:58 +02:00
Benoit Marty 0a72cc4c93
Merge branch 'develop' into feature/bma/crashRxSingle 2021-04-26 15:17:32 +02:00
Benoit Marty 215166ab32
Merge pull request #3208 from vector-im/feature/bma/fix_theme_switch
Fix color issues when the system theme is changed (#2738)
2021-04-20 19:53:27 +02:00
Benoit Marty ff3a916cab Do not invite the current user when creating a room (#3123) 2021-04-20 18:59:49 +02:00
Benoit Marty f4c1de3c30 Fix exception in rxSingle (#3180)
Do not wrap CancellationException to Failure.Cancelled, else RxCancellable will throw.
2021-04-20 18:49:16 +02:00
Benoit Marty ef1ed28ac5 Fix color issues when the system theme is changed (#2738) 2021-04-20 16:04:59 +02:00
Benoit Marty f8be814079 RegistrationWizard.createAccount() parameters are now all optional, following Matrix spec (#3205) 2021-04-20 12:32:03 +02:00
Benoit Marty 19427fbfec merge hotfix to develop 2021-04-16 14:36:15 +02:00
Benoit Marty 9fc00fe6ff App crashes on "troubleshoot notifications" button (#3187) 2021-04-16 14:33:00 +02:00
Benoit Marty c08868bc3c Protect call to suspend fun 2021-04-16 13:22:16 +02:00
Benoit Marty 9565e8975e merge hotfix to develop 2021-04-15 11:09:58 +02:00
Benoit Marty e4375522ff Fix crash when playing video (#3179) 2021-04-14 22:35:30 +02:00
Benoit Marty 59637c4a6b Revert to Realm 10.3.1 to fix issue with migration
Waiting for https://github.com/realm/realm-java/issues/7402
2021-04-14 21:54:07 +02:00
Onuray Sahin ce7e00a499 Fix send state image color on dark theme. 2021-04-13 11:48:12 +03:00
Benoit Marty 288aed3252
Merge pull request #3151 from vector-im/feature/bma/cleanup_resources
Store description update
2021-04-12 10:47:18 +02:00
Benoit Marty 5ca71a10ec Changelog 2021-04-12 10:46:03 +02:00
Benoit Marty a1209c83bb New store descriptions 2021-04-09 19:58:29 +02:00
Benoit Marty bec6cfc46d Version++ 2021-04-09 12:42:59 +02:00
Benoit Marty 5ee8cf7ebf Prepare release 1.1.4 2021-04-09 12:40:11 +02:00
Benoit Marty 93bc5abcb5 Update the Emoji source file 2021-04-09 10:32:11 +02:00
oogm 327e75e8e5 Update CHANGES.md 2021-04-08 22:26:31 +02:00
Aleks 9ce9d1e549 CHANGES.md updated 2021-04-08 18:50:28 +02:00
Benoit Marty 8dead986a5 Always try to retry Http requests in case of 429 (#1300) 2021-04-08 10:59:51 +02:00
Benoit Marty 96153fe92a Get Event after a Push for a faster notification display in some conditions 2021-04-07 17:35:46 +02:00
Benoit Marty 835eb95aa1 If signout request fails, do not start LoginActivity, but restart the app (#3099) 2021-04-07 14:52:27 +02:00
Benoit Marty b8d01c4577 Fix quick click action (#3127) 2021-04-07 14:08:43 +02:00
Benoit Marty 0a0e3c3319
Merge pull request #3125 from Bubu/jitsi_without_gms
propagate jitsi LIBRE_BUILD exclusion rules to not pull in gms libs
2021-04-07 11:16:29 +02:00
Marcus Hoffmann 28897f7679 changes 2021-04-06 20:56:39 +02:00
Benoit Marty e3cd916105 Fix mandatory parameter in API (#3065) 2021-04-06 16:25:16 +02:00
Benoit Marty 8b15008eba
Merge branch 'develop' into feature/bma/displayname_fallback 2021-04-06 14:31:32 +02:00
Benoit Marty 3109d111a4
Merge pull request #3092 from vector-im/feature/bca/paged_room_list
Room List performance PR (use Live PagedList via Monarchy)
2021-04-06 14:13:47 +02:00
Benoit Marty f42d143679
Merge pull request #3097 from vector-im/feature/bma/retrofit_suspend
Migrate Retrofit interface to coroutine calls
2021-04-06 14:11:07 +02:00
Benoit Marty 2d4866cdc5 Add better support for empty room name fallback 2021-04-06 09:57:33 +02:00
Benoit Marty f998c2f945 Fix avatar rendering for DMs, after initial sync (#2693)
Also better handling of previous DMs management
2021-03-31 22:55:53 +02:00
Valere cd6fab0e2d Fix empty state + cleaning + changelog 2021-03-31 18:05:08 +02:00
Benoit Marty 6a91c2b355 Migrate Retrofit interface to coroutine calls 2021-03-31 17:59:13 +02:00
Benoit Marty 295be5286b
Merge branch 'develop' into feature/bma/cleanup 2021-03-31 17:55:50 +02:00
Benoit Marty f4c84d599f Add changelog for the next release. 2021-03-31 11:39:06 +02:00
ganfra c7c76d1e67 Timeline: clean code and update CHANGES 2021-03-30 20:04:26 +02:00
oogm 86e23a5300
Merge branch 'develop' into develop 2021-03-26 17:25:57 +01:00
oogm 40929b9640 Update CHANGES.md for a release with 1.1.4 2021-03-26 17:21:33 +01:00
oogm 7453509df4 Merge remote-tracking branch 'upstream/develop' into develop 2021-03-26 14:09:21 +01:00
Benoit Marty a7539d0f95 Be more robust when parsing some enums 2021-03-26 12:15:06 +01:00
Benoit Marty 627e9a9543 Add version details on the login screen, in debug or developer mode 2021-03-25 11:18:26 +01:00
Benoit Marty 967b8f4afb
Merge branch 'develop' into feature/bma/reply_image_preview 2021-03-22 20:49:32 +01:00
Onuray Sahin 7db1d81eb6 Changelog added. 2021-03-22 16:19:51 +01:00
Benoit Marty 7b8ede03bc Picture preview when replying. Also add the image preview in the message detail bottomsheet (#2916) 2021-03-19 20:09:53 +01:00
Benoit Marty fa37070884 Disable URL preview for some domains (#2995) 2021-03-19 17:23:19 +01:00
Benoit Marty 43fd9910e3
Merge pull request #3031 from vector-im/feature/bma/other_fixies
Some fixies
2021-03-19 17:06:54 +01:00
Benoit Marty 1214abdd44
Merge branch 'develop' into feature/bma/split_key_request 2021-03-19 15:57:55 +01:00
Benoit Marty 485c44454b Handle encrypted reactions (#2509) 2021-03-19 15:27:56 +01:00
Benoit Marty adca3de3b5 Improve message with Emoji only detection (#3017) 2021-03-19 13:48:49 +01:00
Benoit Marty 3b16351308 Fix bad theme change for the MainActivity 2021-03-19 13:36:24 +01:00
Benoit Marty 6b284f2a16
Merge branch 'develop' into feature/bca/bulk_no_olm 2021-03-19 10:23:37 +01:00
Benoit Marty cfefde0c06
Update CHANGES.md 2021-03-19 10:23:23 +01:00
Benoit Marty 9f47598950 Display the room shield in all room setting screens 2021-03-18 18:01:21 +01:00
Valere 35635c859d Send several NO_OLM in one request 2021-03-18 15:08:56 +01:00
Benoit Marty 9946ba8aa4 Split network request `/keys/query` into smaller requests (250 users max) (#2925) 2021-03-18 10:41:52 +01:00
Benoit Marty 3078adf0da Version++ 2021-03-18 10:40:33 +01:00
Benoit Marty 1eda7fa5bb Prepare release 1.1.3 2021-03-18 10:35:03 +01:00
Benoit Marty bab01ea309
Merge branch 'develop' into feature/bma/improve_perf 2021-03-17 18:10:14 +01:00
Benoit Marty 67ff43cecc Changelog 2021-03-17 15:04:39 +01:00
Benoit Marty 1f82b1442d
Merge branch 'develop' into feature/fga/fix_ui_timeline 2021-03-17 15:03:22 +01:00
Benoit Marty 5edf7ca520 Version++ 2021-03-16 22:31:25 +01:00
Benoit Marty 2d64fe96c1 Prepare release 1.1.2 2021-03-16 22:08:29 +01:00
ganfra 616a46294c Update CHANGES 2021-03-16 20:14:20 +01:00
Valere 3b5dacd7e2
Merge branch 'develop' into feature/bca/fix_video_wont_play 2021-03-16 16:15:24 +01:00
Benoit Marty f90bc17eb3
Merge pull request #3005 from vector-im/feature/bma/restore_code
Restore code
2021-03-16 15:54:57 +01:00
Valere a52d20eeff Regression: Video will not play upon tap 2021-03-16 15:26:06 +01:00
Benoit Marty b3ccd788f6
Merge pull request #2997 from ShadowJonathan/no-bold
Change ISSUE_TEMPLATE bold lines to proper headers
2021-03-16 15:03:15 +01:00
Benoit Marty e541a3b962
Merge branch 'develop' into feature/bca/workaround_stuck_message 2021-03-16 15:00:55 +01:00
Benoit Marty 641ce206c2 Move change to correct release version (#3001) 2021-03-16 14:48:27 +01:00
Benoit Marty 4273a6a1be
Merge pull request #3001 from timokoesters/fix-parsing-servername
fix: make cross signing work with server names containing :
2021-03-16 14:46:47 +01:00
Benoit Marty 431d450fec
Merge branch 'develop' into feature/bma/rr 2021-03-16 14:46:10 +01:00
Valere 5b94540f76 Quick Work around to remove stuck messages 2021-03-16 12:16:11 +01:00
Timo Kösters dd2a7397a4
fix: make cross signing work with server names containing :
Server names are allowed to contain ':' to specify a port, see https://matrix.org/docs/spec/appendices#server-name
User ids on the other hand are not allowed to contain ':', even
historical user ids, see https://matrix.org/docs/spec/appendices#historical-user-ids

Therefore we can use the first instance of ':' to split the user
localpart from the server name.
2021-03-15 22:31:34 +01:00
Benoit Marty 4f3734f932 Ensure message are decrypted in the room list after a clear cache 2021-03-15 16:53:19 +01:00
Benoit Marty 13cbfaf5e7 Do not load room members in e2e after init sync 2021-03-15 15:29:20 +01:00
oogm 863e199995
Update CHANGES.md to include the correct PR number 2021-03-15 01:33:46 +01:00
oogm e8015bfbd4 Update emoji_picker_datasource.json to Unicode 13.1 and dynamically filter reactions by renderability 2021-03-15 00:20:59 +01:00
Jonathan de Jong 2708b85a20 Update CHANGES.md 2021-03-14 19:17:05 +01:00
Benoit Marty 857bfcb971 Cleanup 2021-03-12 12:18:21 +01:00
Benoit Marty e8d4fab305 Add template for 1.1.2 2021-03-12 12:17:29 +01:00
Benoit Marty 8c24dd0fba Add entry in changelog 2021-03-10 21:55:59 +01:00
Benoit Marty 5aa8b0255a Fix MainActivity display (Fixes #2927) 2021-03-10 15:34:28 +01:00
Benoit Marty 8356d18a67 Improve Snackbar duration (Fixes #2929) 2021-03-10 14:49:52 +01:00
Benoit Marty 1fe8dfa810
Merge pull request #2978 from vector-im/feature/fga/send_queue_rework
Feature/fga/send queue rework
2021-03-10 09:27:21 +01:00
ganfra 3c7a108940 Send: clean and update CHANGES 2021-03-09 18:18:28 +01:00
Benoit Marty 25ea1ba641 Fix issue with local echo 2021-03-09 14:08:33 +01:00
Benoit Marty 9719c0b2f9 Split init sync insertion into 2 transactions.
Ephemeral Events can be inserted later, so the room list can be displayed faster.
2021-03-05 09:47:57 +01:00
Benoit Marty e5656e264a
Merge pull request #2940 from vector-im/feature/bma/various_fixies
Rework event edition management
2021-03-04 18:03:45 +01:00
Benoit Marty e401252c03
Merge pull request #2956 from vector-im/feature/bma/scripts
Add a script to download and install APK from Buildkite
2021-03-04 14:01:30 +01:00
Benoit Marty 0b5135b841 Add a script to download and install APK from Buildkite 2021-03-03 20:37:19 +01:00
Benoit Marty 57df61dadf Changelog 2021-03-03 14:55:45 +01:00
Benoit Marty 5c9750fb07 Moar cleanup after rebase and before merge 2021-03-02 19:18:19 +01:00
Onuray Sahin ae648c3e11 Make outbound key sharing strategy configurable. 2021-03-02 18:49:11 +01:00
Benoit Marty d504a1f266
Merge pull request #2948 from vector-im/feature/bma/redactedEvent
Make Event.type optional
2021-03-02 18:06:11 +01:00
Benoit Marty 56af0b5191
Merge pull request #2947 from kafji/kfj/room-preview-tooltip
Add tooltip for room quick actions
2021-03-02 16:36:49 +01:00
Benoit Marty 4e2e73637a Be robust if Event.type is missing (#2946) 2021-03-02 16:14:57 +01:00
Kafji 3357c78375 Add tooltip for room quick actions
Add tooltip for low priority, favorite, and room settings quick actions.

Signed-off-by: Kafji <k@kafji.net>
2021-03-02 19:47:33 +07:00
Martin Häger 33b3f0650c Permit cleartext for .onion addresses
The Tor and Onion service protocols provide encryption and authentication
respectively. Since Domain Validation certificates aren't currently being
issued for .onion addresses, the HTTPS requirement makes Element practically
incompatible with homeservers operated by individuals on Tor.

Signed-off-by: Martin Häger <martin.haeger@gmail.com>
2021-03-02 12:46:12 +01:00
Benoit Marty 097668b762 Rework edition of event management - step 2 2021-03-01 20:42:47 +01:00
Benoit Marty c152964323
Merge pull request #2908 from vector-im/feature/bma/jitsi_pip
PIP support for Jitsi call
2021-03-01 11:41:34 +01:00
Benoit Marty 60cc441092
Merge pull request #2905 from vector-im/feature/bma/preview_fix
Try to fix crash about UrlPreview (#2640)
2021-02-23 16:07:16 +01:00
Benoit Marty 486815b9ab Pip 2021-02-23 11:28:38 +01:00
Benoit Marty 29359ad119 Update change after rebase 2021-02-23 10:31:58 +01:00
Benoit Marty c938795576 Read init sync to a file and split into smaller files to handle it 2021-02-23 10:31:19 +01:00
Benoit Marty bebb956005 Try to fix crash about UrlPreview (#2640) 2021-02-22 17:44:11 +01:00
Benoit Marty b38ff46af4
Merge pull request #2896 from vector-im/feature/bma/dependabot
Upgrade dependencies
2021-02-22 12:22:43 +01:00
Benoit Marty ef3d8f365a Changelog 2021-02-21 16:52:19 +01:00
Benoit Marty 80524fb8c1 Cleanup 2021-02-19 21:29:23 +01:00
Benoit Marty e1f778e21a Changelog 2021-02-19 21:28:44 +01:00
Benoit Marty 747a5ded1a Version++ 2021-02-19 21:10:27 +01:00
Benoit Marty 809c0e720e Prepare release 1.1.0 2021-02-19 19:30:38 +01:00
Benoit Marty 1294d211d6
Merge branch 'develop' into feature/bma/fix_redirection 2021-02-19 14:43:01 +01:00
Benoit Marty 2df9b43abc Make the code a bit easier to understand (no change) 2021-02-18 18:42:55 +01:00
Benoit Marty fc1c2bc2c0
Merge pull request #2828 from vector-im/feature/bma/color_step_1
First step about color cleanup
2021-02-17 18:27:44 +01:00
Benoit Marty 0e322630f1 Ignore url override from credential if it is not valid (#2822) 2021-02-17 18:18:36 +01:00
Benoit Marty 6aa5dc992d Migrate AuthenticationService API to coroutines (#2449) 2021-02-17 18:18:36 +01:00
Benoit Marty 9501fd74f0
Merge pull request #2826 from vector-im/feature/bma/fix_crash
Fix crash reported by PlayStore (#2707)
2021-02-16 13:10:21 +01:00
Benoit Marty 3ac3f09df0
Merge branch 'develop' into feature/bma/lang 2021-02-16 11:40:24 +01:00
Benoit Marty bec4af7c87 Fix crash reported by PlayStore (#2707) 2021-02-16 11:23:36 +01:00
Benoit Marty b0ea7cecb5 Move all colors to the same file and rename it 2021-02-16 10:37:17 +01:00
Benoit Marty cf0b4d2581 Merge branch 'develop' into feature/bca/devtools 2021-02-15 16:00:32 +01:00
Benoit Marty 7c865e1a26 changelog 2021-02-12 20:59:20 +01:00
Benoit Marty ca09feb2e5
Merge branch 'develop' into feature/bma/room_settings_ux 2021-02-11 22:00:58 +01:00
Benoit Marty bfa384ad5b
Merge pull request #2807 from vector-im/feature/bca/fix_404_initialize_xs
fix post initial sync crash on 404
2021-02-11 14:02:15 +01:00
Benoit Marty c93fd2a05d
Merge pull request #2806 from vector-im/feature/bma/upgrade_jitsi
Upgrade jitsi
2021-02-11 13:58:05 +01:00