Commit graph

4926 commits

Author SHA1 Message Date
Benoit Marty
caea19bf38 Avoid using "element" in the resource id 2021-03-03 17:56:48 +01:00
Benoit Marty
b980ca5d31 Remove unused string 2021-03-03 17:54:14 +01:00
Benoit Marty
263ad899d8 Setup com.likethesalad.android:string-reference to have compilation time build of Strings resource with the app_name 2021-03-03 17:30:57 +01:00
Benoit Marty
5f01494ed0 Remove unused resource 2021-03-03 16:09:08 +01:00
Benoit Marty
8447bf4a2d Fix compilation issue 2021-03-03 15:05:57 +01:00
Benoit Marty
3c7750c471 Remove duplicated string resource and translation 2021-03-03 14:54:20 +01:00
Benoit Marty
9c76ee97eb Move SDK strings to the application 2021-03-03 14:50:54 +01:00
Benoit Marty
a3b1c348ef Create VectorRoomDisplayNameFallbackProvider to provide default room names 2021-03-03 14:15:40 +01:00
Benoit Marty
e2e7516a99 Remove string usage from SDK - step 2 - InitSyncStep 2021-03-03 12:45:46 +01:00
Benoit Marty
c42b42cb61 Remove string usage from SDK - step 1 - Role
Lint will also be able to detect more possible errors with this change
2021-03-03 12:13:08 +01:00
Benoit Marty
898c2d514c Add configuration for new languages 2021-03-03 11:26:12 +01:00
Benoit Marty
e96bdba752 Fix typo in resource name 2021-03-03 11:18:50 +01:00
Benoit Marty
19288f2950 Remove unused string 2021-03-03 11:17:25 +01:00
Benoit Marty
3f10be2ad3 Fix lint issue 2021-03-03 11:14:18 +01:00
Weblate
3b9adbf5c8 Merge branch 'origin/develop' into Weblate. 2021-03-03 09:29:37 +00:00
HelaBasa
36dae97161 Translated using Weblate (Sinhala)
Currently translated at 0.1% (4 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/si/
2021-03-03 09:28:50 +00:00
sx0d
b899753d07 Translated using Weblate (Uzbek)
Currently translated at 4.9% (104 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uz/
2021-03-03 09:28:50 +00:00
vachan-maker
c79e813479 Translated using Weblate (Malayalam)
Currently translated at 18.8% (393 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ml/
2021-03-03 09:28:42 +00:00
Ihor Hordiichuk
5e0ba452aa Translated using Weblate (Ukrainian)
Currently translated at 61.7% (1285 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-03-03 09:28:40 +00:00
Niels Bouma
f5baa8ac91 Translated using Weblate (Dutch)
Currently translated at 54.0% (1124 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nl/
2021-03-03 09:28:37 +00:00
Hivaa
d1e59abcf0 Translated using Weblate (Persian)
Currently translated at 99.9% (2080 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-03-03 09:28:37 +00:00
Danial Behzadi
3cbee586bd Translated using Weblate (Persian)
Currently translated at 99.9% (2080 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-03-03 09:28:35 +00:00
Benoit Marty
5c9750fb07 Moar cleanup after rebase and before merge 2021-03-02 19:18:19 +01:00
Valere
91872fe673 cleaning 2021-03-02 18:52:32 +01:00
Valere
533a7bb180 Code Review 2021-03-02 18:52:32 +01:00
Onuray Sahin
11dffacc48 Code review fixes. 2021-03-02 18:50:43 +01:00
Onuray Sahin
8b39eabc0f Code review fixes. 2021-03-02 18:50:43 +01:00
Onuray Sahin
a623395585 Code review fixes. 2021-03-02 18:50:43 +01:00
Onuray Sahin
ae648c3e11 Make outbound key sharing strategy configurable. 2021-03-02 18:49:11 +01:00
HelaBasa
2bef459107 Added translation using Weblate (Sinhala) 2021-03-02 17:29:26 +00: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
0a10817755
Merge pull request #2949 from vector-im/dependabot/gradle/com.schibsted.spain-barista-3.8.0
Bump barista from 3.7.0 to 3.8.0
2021-03-02 17:15: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
dependabot[bot]
a9f923591d
Bump barista from 3.7.0 to 3.8.0
Bumps barista from 3.7.0 to 3.8.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 15:32:08 +00:00
Benoit Marty
7d7e4a0e6d
Merge pull request #2945 from vector-im/dependabot/gradle/big_image_viewer_version-1.7.1
Bump big_image_viewer_version from 1.7.0 to 1.7.1
2021-03-02 16:30:57 +01:00
Benoit Marty
093c450d80
Merge pull request #2941 from kvadevack/feature/onion_address_fix
Permit cleartext for .onion addresses
2021-03-02 16:30:15 +01:00
Benoit Marty
2d664c423d Simplify code 2021-03-02 16:21:40 +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
b027e43615 Cleanup 2021-03-02 11:41:20 +01:00
dependabot[bot]
161804be0d
Bump big_image_viewer_version from 1.7.0 to 1.7.1
Bumps `big_image_viewer_version` from 1.7.0 to 1.7.1.

Updates `BigImageViewer` from 1.7.0 to 1.7.1
- [Release notes](https://github.com/Piasy/BigImageViewer/releases)
- [Changelog](https://github.com/Piasy/BigImageViewer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Piasy/BigImageViewer/compare/1.7.0...v1.7.1)

Updates `GlideImageLoader` from 1.7.0 to 1.7.1
- [Release notes](https://github.com/Piasy/BigImageViewer/releases)
- [Changelog](https://github.com/Piasy/BigImageViewer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Piasy/BigImageViewer/compare/1.7.0...v1.7.1)

Updates `ProgressPieIndicator` from 1.7.0 to 1.7.1
- [Release notes](https://github.com/Piasy/BigImageViewer/releases)
- [Changelog](https://github.com/Piasy/BigImageViewer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Piasy/BigImageViewer/compare/1.7.0...v1.7.1)

Updates `GlideImageViewFactory` from 1.7.0 to 1.7.1
- [Release notes](https://github.com/Piasy/BigImageViewer/releases)
- [Changelog](https://github.com/Piasy/BigImageViewer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Piasy/BigImageViewer/compare/1.7.0...v1.7.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 10:39:41 +00:00
Benoit Marty
32e7845c2b
Merge pull request #2943 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.19
Bump libphonenumber from 8.12.18 to 8.12.19
2021-03-02 11:39:38 +01:00
Benoit Marty
a8ba125bd2 Rename val for code clarity, and use facility 2021-03-02 11:37:13 +01:00
Benoit Marty
f5fad8a082 Make it compiles 2021-03-02 11:00:29 +01:00
Benoit Marty
237545622f Fix a bug I can see thanks to rework 2021-03-02 10:55:22 +01:00
Benoit Marty
7c0acc8ccf Simplify code 2021-03-02 10:54:37 +01:00
Benoit Marty
d2b39e5cb8 Convert RelationService to suspend (#2449) 2021-03-02 10:52:03 +01:00
Benoit Marty
fc468564dc Extract state from view model 2021-03-02 10:46:11 +01:00
dependabot[bot]
8c87716013
Bump libphonenumber from 8.12.18 to 8.12.19
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.18 to 8.12.19.
- [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.18...v8.12.19)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 06:59:54 +00:00
dependabot[bot]
5f29668c27
Bump epoxy_version from 4.4.1 to 4.4.2
Bumps `epoxy_version` from 4.4.1 to 4.4.2.

Updates `epoxy` from 4.4.1 to 4.4.2
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/commits)

Updates `epoxy-glide-preloading` from 4.4.1 to 4.4.2
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/commits)

Updates `epoxy-processor` from 4.4.1 to 4.4.2
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/commits)

Updates `epoxy-paging` from 4.4.1 to 4.4.2
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-02 06:57:55 +00:00
sx0d
bda776e201 Added translation using Weblate (Uzbek) 2021-03-02 06:07:54 +00:00
Benoit Marty
9a635dd906 Move VerificationState to a dedicated file and in the correct package 2021-03-01 15:47:22 +01:00
Benoit Marty
8b34caa0b1 Move capability section above Server name and version section 2021-03-01 11:51:56 +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
f7bcc521d2
Merge pull request #2917 from vector-im/dependabot/gradle/epoxy_version-4.4.1
Bump epoxy_version from 4.4.0 to 4.4.1
2021-03-01 10:56:22 +01:00
Benoit Marty
3a20792668
Merge pull request #2918 from vector-im/dependabot/gradle/androidx.recyclerview-recyclerview-1.2.0-beta02
Bump recyclerview from 1.2.0-beta01 to 1.2.0-beta02
2021-03-01 10:56:10 +01:00
vachan-maker
5cf904fb4a Translated using Weblate (Malayalam)
Currently translated at 16.6% (346 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ml/
2021-02-27 17:34:21 +00:00
sr093906
152397baad Translated using Weblate (Chinese (Simplified))
Currently translated at 97.9% (2039 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-02-27 17:34:20 +00:00
linsui
c642656577 Translated using Weblate (Chinese (Simplified))
Currently translated at 97.9% (2039 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-02-27 17:34:20 +00:00
Besnik Bleta
71a8d46e29 Translated using Weblate (Albanian)
Currently translated at 99.6% (2073 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-02-27 17:34:14 +00:00
Marcelo Filho
03cf89f8cd Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2081 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt_BR/
2021-02-27 17:34:10 +00:00
Priit Jõerüüt
4091a8612d Translated using Weblate (Estonian)
Currently translated at 100.0% (2081 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/et/
2021-02-27 17:34:08 +00:00
Lucas_c
a10b14dcc3 Translated using Weblate (Spanish)
Currently translated at 96.3% (2006 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-02-27 17:34:08 +00:00
Ricardo
7de9993204 Translated using Weblate (Spanish)
Currently translated at 96.3% (2006 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-02-27 17:34:08 +00:00
Auri B. P
2f55bb7e52 Translated using Weblate (Catalan)
Currently translated at 100.0% (2081 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2021-02-27 17:34:07 +00:00
Mouath Ibrahim
bcf5481ad5 Translated using Weblate (Arabic)
Currently translated at 34.7% (723 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-02-27 17:34:07 +00:00
dependabot[bot]
f6123d8dfd
Bump daggerVersion from 2.32 to 2.33
Bumps `daggerVersion` from 2.32 to 2.33.

Updates `dagger` from 2.32 to 2.33
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.32...dagger-2.33)

Updates `dagger-compiler` from 2.32 to 2.33
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.32...dagger-2.33)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-26 07:14:10 +00:00
Ricardo
e8a461dbb0 Translated using Weblate (Spanish)
Currently translated at 95.9% (1997 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-02-25 22:11:23 +00:00
Lucas_c
c54a9a3b88 Translated using Weblate (Spanish)
Currently translated at 95.9% (1997 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/es/
2021-02-25 22:11:22 +00:00
dependabot[bot]
8c23b0561b
Bump recyclerview from 1.2.0-beta01 to 1.2.0-beta02
Bumps recyclerview from 1.2.0-beta01 to 1.2.0-beta02.

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 07:20:31 +00:00
dependabot[bot]
6ec8be0d35
Bump epoxy_version from 4.4.0 to 4.4.1
Bumps `epoxy_version` from 4.4.0 to 4.4.1.

Updates `epoxy` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.0...4.4.1)

Updates `epoxy-glide-preloading` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.0...4.4.1)

Updates `epoxy-processor` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.0...4.4.1)

Updates `epoxy-paging` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/airbnb/epoxy/releases)
- [Changelog](https://github.com/airbnb/epoxy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbnb/epoxy/compare/4.4.0...4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 07:18:51 +00:00
ppnplusdf0eb2eb726b4bb3
6b0e66ce1f Translated using Weblate (Thai)
Currently translated at 11.7% (244 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/th/
2021-02-24 19:34:12 +00:00
William
368e1fe9c1 Translated using Weblate (Norwegian Bokmål)
Currently translated at 70.4% (1466 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-02-24 19:34:07 +00:00
William
ec99b95231 Translated using Weblate (Norwegian Bokmål)
Currently translated at 69.4% (1446 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-02-23 17:07:39 +00:00
Daniel Løvbrøtte Olsen
ba1c9aa5cd Translated using Weblate (Norwegian Bokmål)
Currently translated at 69.4% (1446 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-02-23 17:07:39 +00: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
dee3676640 Add a delay to avoid glitch when displaying the dialog 2021-02-23 13:13:15 +01:00
Benoit Marty
5e4219cf8e Jitsi: handle switch to another conference, now possible since we support PiP 2021-02-23 12:56:54 +01:00
Benoit Marty
d5f0a6d66a Remove log, I do not understand when this code has disappeared. 2021-02-23 11:52:15 +01:00
Benoit Marty
0607f835aa It's now in the manifest 2021-02-23 11:39:56 +01:00
Benoit Marty
d2a1041a51 Simpler code 2021-02-23 11:28:52 +01:00
Benoit Marty
9c1475d2f1 To squash 2021-02-23 11:28:38 +01:00
Benoit Marty
486815b9ab Pip 2021-02-23 11:28:38 +01:00
Benoit Marty
24e9e6bbd7 Move to dedicated package and split into several files 2021-02-23 10:31:19 +01:00
Benoit Marty
649edffa30 Hide menu if not in developer mode 2021-02-23 10:31:19 +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
vachan-maker
cccaf669a5 Translated using Weblate (Malayalam)
Currently translated at 16.3% (340 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ml/
2021-02-23 07:34:41 +00:00
ppnplusdf0eb2eb726b4bb3
d476dbcdda Translated using Weblate (Thai)
Currently translated at 7.7% (161 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/th/
2021-02-23 07:34:31 +00:00
LinAGKar
5317f26791 Translated using Weblate (Swedish)
Currently translated at 100.0% (2081 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-02-23 07:34:27 +00:00
Nikita Epifanov
28d1510306 Translated using Weblate (Russian)
Currently translated at 99.8% (2077 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ru/
2021-02-23 07:34:27 +00:00
Martin Johansen
316bcd728e Translated using Weblate (Norwegian Bokmål)
Currently translated at 69.4% (1445 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-02-23 07:34:26 +00:00
Tirifto
d062a23d85 Translated using Weblate (Esperanto)
Currently translated at 92.3% (1922 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2021-02-23 07:34:05 +00:00
Alexia Ŭerner
6b55960c92 Translated using Weblate (Esperanto)
Currently translated at 92.3% (1922 of 2081 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2021-02-23 07:34:04 +00: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
e162ebdf91
Merge pull request #2831 from vector-im/feature/bma/hs_version
Fetch homeserver type and version and display in a new setting screen and add info in rageshakes
2021-02-22 10:29:16 +01:00
Benoit Marty
f617a8d77f Fix compilation issue after upgrade of alerter from 5.1.2 to 7.0.1 2021-02-21 16:20:57 +01:00
dependabot[bot]
76923ad88a Bump alerter from 5.1.2 to 7.0.1
Bumps [alerter](https://github.com/Tapadoo/Alerter) from 5.1.2 to 7.0.1.
- [Release notes](https://github.com/Tapadoo/Alerter/releases)
- [Changelog](https://github.com/Tapadoo/Alerter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Tapadoo/Alerter/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-21 16:16:55 +01:00
Benoit Marty
dd3a395d11 Fix compilation issue after upgrade of browser from 1.2.0 to 1.3.0 2021-02-21 16:11:49 +01:00