Commit Graph

8721 Commits

Author SHA1 Message Date
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 38e83e1f35
Merge pull request #3249 from vector-im/feature/bma/fixwl
Feature/bma/fixwl
2021-04-29 20:55:22 +02:00
Benoit Marty 5d9d984c73
Merge pull request #3235 from vector-im/feature/bca/spaces_justme_beta
Just me spaces support
2021-04-29 17:47:19 +02:00
Benoit Marty 90f4a9490d Fix lint issues 2021-04-29 17:33:14 +02:00
Benoit Marty d28c6039c0 Fix issue in string template 2021-04-29 17:06:46 +02:00
Benoit Marty bea9abd9a6
Merge pull request #3248 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-04-29 17:05:00 +02:00
Benoit Marty ab68903d7f Fix wording issue (#3242) 2021-04-29 15:47:31 +02:00
Weblate 79f125cccd Merge branch 'origin/develop' into Weblate. 2021-04-29 13:38:14 +00:00
Benoit Marty 98177da6b1
Merge pull request #3197 from vector-im/feature/bma/crashfix
WIP - introduce sessionScope
2021-04-29 15:34:42 +02:00
Benoit Marty 659d012e13
Merge pull request #3247 from vector-im/feature/bma/master_main
`master` branch has been renamed to `main`
2021-04-29 14:29:49 +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
Valere 30d7c73b2d code review 2021-04-29 11:56:57 +02:00
Valere f89a7496aa Add action to create new room 2021-04-29 11:51:07 +02:00
Valere 31ffa65fd0 Update add room screen as per design 2021-04-29 11:51:07 +02:00
Valere 7465ac2ef6 Add just me space flow Initial commit 2021-04-29 11:51:07 +02:00
Benoit Marty 264eb3b0a2
Merge pull request #3246 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.22
Bump libphonenumber from 8.12.21 to 8.12.22
2021-04-29 11:12:29 +02:00
Benoit Marty e073563a67 Cleanup 2021-04-29 11:10:41 +02:00
ganfra 80b155e042 Refact coroutine session scope 2021-04-29 11:10:41 +02:00
Benoit Marty bd0fcce572 Return Job 2021-04-29 11:10:41 +02:00
Benoit Marty a5c0c23bae Inject constructor... 2021-04-29 11:10:41 +02:00
Benoit Marty e5d0a8f3d8 Cleanup 2021-04-29 11:10:41 +02:00
Benoit Marty dc69d5c68a Create a holder 2021-04-29 11:10:41 +02:00
Benoit Marty ecd2d0fb76 Use session scope 2021-04-29 11:10:41 +02:00
Benoit Marty c33da38ddb GlobalScope -> sessionScope 2021-04-29 11:10:41 +02:00
Benoit Marty 0e563596dd Remove useless call to parent method 2021-04-29 11:10:41 +02:00
Benoit Marty 8afa697591 GlobalScope -> sessionScope 2021-04-29 11:10:41 +02:00
Benoit Marty 82ee2567b7 Provide a session scope, to launch coroutines without using the ViewModelScope
It could be used elsewhere, will change other location in another commit.
2021-04-29 11:10:41 +02:00
Benoit Marty 95639927a7 Catch Throwable on not only Exception 2021-04-29 11:10:41 +02:00
Benoit Marty 4acc308864
Merge pull request #3190 from vector-im/feature/bma/fix_troubleshoot
Fix a race condition
2021-04-29 11:08:00 +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
dependabot[bot] 7593c3f03d
Bump libphonenumber from 8.12.21 to 8.12.22
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.21 to 8.12.22.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.21...v8.12.22)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 07:18:14 +00:00
Vivek K J cacc83bf17 Translated using Weblate (Malayalam)
Currently translated at 38.7% (915 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ml/
2021-04-28 16:34:44 +00:00
Line c043e6e958 Translated using Weblate (Latvian)
Currently translated at 86.8% (2052 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/lv/
2021-04-28 16:34:33 +00:00
Benoit Marty 4d3a02f71f Translated using Weblate (French)
Currently translated at 100.0% (2363 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-04-28 16:34:26 +00:00
Juhana Uuttu ea645d147d Translated using Weblate (Finnish)
Currently translated at 79.3% (1875 of 2363 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fi/
2021-04-28 16:34:25 +00:00
Benoit Marty 7beb483972
Merge pull request #3238 from vector-im/feature/bma/android11
Android 11 fixes an other fixes for attachement
2021-04-28 16:57:51 +02:00
Benoit Marty b86fd37c15
Merge branch 'develop' into feature/bca/spaces_sdk 2021-04-28 16:57:02 +02:00
Benoit Marty b2e6b3f0db Latest cleanup before merging to develop 2021-04-28 16:55:09 +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
Yoan Pintas ba641a6e76
Merge pull request #3178 from vector-im/expose_directUserId
Expose directUserId in RoomSummary
2021-04-28 13:45:21 +02:00
Valere 8c1afbaa66 Fix / empty space pannel on new accounts 2021-04-28 12:54:19 +02:00
yostyle 506bdd8eb0 directUserId can be null 2021-04-28 12:22:43 +02:00
Valere 32605be6e8 Fix / migration recover room type 2021-04-28 11:42:08 +02:00
Valere 70476b912f Fix / placeholder in dark time 2021-04-28 11:15:58 +02:00
Valere 7d3d080603 Code review 2021-04-28 11:15:58 +02:00
Valere 872c45d5a3 Fix / kebab menu not always visible in space item
Bug due to cell reuse not showing back menu
2021-04-28 11:15:58 +02:00
Valere 3378e23cc2 Add lab flag to use restricted access rule
Fixes #3226
2021-04-28 11:15:58 +02:00
Valere 46834d2178 Fix / dm filtering not working when going back to home 2021-04-28 11:15:58 +02:00