Commit graph

13250 commits

Author SHA1 Message Date
Benoit Marty
03019fdfd9 Fix lint issue "Outside Range"
Ensure that column index is not -1
2021-11-15 12:24:48 +01:00
Benoit Marty
453e6daa93 Make the Cursor extensions public
And make the code more efficient, since we call getColumnIndexOrNull only once and not on each cursor iteration
2021-11-15 12:24:48 +01:00
Benoit Marty
f88a477f04 Fix crash on Android 12: PendingIntent.FLAG_IMMUTABLE has to be set 2021-11-15 12:24:48 +01:00
Benoit Marty
f25c17881d Fix crash on Android 12
java.lang.SecurityException: To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.
2021-11-15 12:24:48 +01:00
Benoit Marty
e9f53f6b35 InputConnectionCompat.createWrapper is deprecated
Permission should be granted, according to https://developer.android.com/reference/android/view/OnReceiveContentListener#uri-permissions
2021-11-15 12:24:48 +01:00
Benoit Marty
0a9845af30 @OnLifecycleEvent is deprecated, use DefaultLifecycleObserver instead 2021-11-15 12:24:48 +01:00
Benoit Marty
9429b039de androidx.lifecycle:lifecycle-common-java8 -> androidx.lifecycle:lifecycle-common
https://developer.android.com/jetpack/androidx/releases/lifecycle#2.4.0
2021-11-15 12:24:48 +01:00
Benoit Marty
7e59c18050 Add dep for ProcessLifecycleOwner 2021-11-15 12:24:48 +01:00
Benoit Marty
a1630b5546 androidx.lifecycle:lifecycle-extensions is deprecated
See https://developer.android.com/jetpack/androidx/releases/lifecycle#declaring_dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
a1c8835f31 Same version for all lifecycle deps 2021-11-15 12:24:48 +01:00
Benoit Marty
756f846e74 android:exported has to be explicitly set when targeting Android 12 2021-11-15 12:24:48 +01:00
dependabot[bot]
56776aed21 Bump browser from 1.3.0 to 1.4.0
Bumps browser from 1.3.0 to 1.4.0.

---
updated-dependencies:
- dependency-name: androidx.browser:browser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
dependabot[bot]
2880798627 Bump core-ktx from 1.6.0 to 1.7.0
Bumps core-ktx from 1.6.0 to 1.7.0.

---
updated-dependencies:
- dependency-name: androidx.core:core-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
dependabot[bot]
540a1b52ad Bump lifecycle-livedata-ktx from 2.3.1 to 2.4.0
Bumps lifecycle-livedata-ktx from 2.3.1 to 2.4.0.

---
updated-dependencies:
- dependency-name: androidx.lifecycle:lifecycle-livedata-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
dependabot[bot]
f1e1729d40 Bump work-runtime-ktx from 2.6.0 to 2.7.0
Bumps work-runtime-ktx from 2.6.0 to 2.7.0.

---
updated-dependencies:
- dependency-name: androidx.work:work-runtime-ktx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:24:48 +01:00
Benoit Marty
f7b2059fe1 Target API 31 - Handle deprecated API 2021-11-15 12:24:48 +01:00
Benoit Marty
31809a595c Temporary fix for Android 12. android:exported has to be explicitly set when targeting Android 12
Do it for services coming from dependencies
2021-11-15 12:24:48 +01:00
Benoit Marty
aa3f36b7b7 Target API 31 - Android 12 - #4262 2021-11-15 12:24:48 +01:00
Benoit Marty
a7582257aa
Merge pull request #4463 from vector-im/dependabot/gradle/org.robolectric-robolectric-4.7
Bump robolectric from 4.6.1 to 4.7
2021-11-15 12:20:27 +01:00
Onuray Sahin
fff47b8243 Lint fix. 2021-11-15 13:26:31 +03:00
Benoit Marty
5d44dae7ed
Merge pull request #4455 from vector-im/dependabot/gradle/dagger-2.40.1
Bump dagger from 2.40 to 2.40.1
2021-11-15 11:10:31 +01:00
Benoit Marty
63683a3ce5
Merge pull request #4452 from kittykat/issue-template
Bring the bug issue template in line with web
2021-11-15 11:03:47 +01:00
dependabot[bot]
3b469921a6
Bump robolectric from 4.6.1 to 4.7
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.6.1 to 4.7.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.6.1...robolectric-4.7)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 10:03:30 +00:00
Benoit Marty
ceb16cc301
Merge pull request #4469 from vector-im/sync-emojis
Sync Emojis
2021-11-15 11:03:10 +01:00
Benoit Marty
afe05eddc2
Merge pull request #4456 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.37
Bump libphonenumber from 8.12.36 to 8.12.37
2021-11-15 11:02:07 +01:00
Benoit Marty
087a987f88
Merge pull request #4443 from kittykat/actions
Actions: fix up triage conditionals
2021-11-15 09:51:45 +01:00
bmarty
a33bcbb81a Sync Emojis 2021-11-15 00:01:55 +00:00
Lynn Nakanishi Lin
ebd1592131 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (118 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/zh_Hans/
2021-11-14 15:47:56 +01:00
Linerly
02e10aca69 Translated using Weblate (Indonesian)
Currently translated at 100.0% (118 of 118 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/id/
2021-11-14 15:47:56 +01:00
Weblate
4e1d759910 Added translation using Weblate (Chinese (Traditional)) 2021-11-14 15:47:56 +01:00
Weblate
c67b7c0c37 Added translation using Weblate (Chinese (Simplified)) 2021-11-14 15:47:56 +01:00
SpiritCroc
cd16168516 Hide "member made no changes" events in the timeline
Change-Id: Ia7016d46e5b6aebb94fe32d2602af829b37c9201
2021-11-14 15:44:24 +01:00
Linerly
89e50225d1 Translated using Weblate (Indonesian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2021-11-12 22:25:57 +00:00
Michael Mihai
66bbb02bae Translated using Weblate (Romanian)
Currently translated at 15.3% (410 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ro/
2021-11-12 22:25:56 +00:00
Fjoerfoks
41ac1d3b7b Translated using Weblate (Frisian)
Currently translated at 42.3% (1134 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-12 22:25:51 +00:00
waclaw66
47a8f1afbb Translated using Weblate (Czech)
Currently translated at 100.0% (2675 of 2675 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-11-12 22:25:46 +00:00
opusforlife2
556275b208
Address PR review 2021-11-12 15:46:16 +00:00
Valere
c8577eb951
Merge pull request #4447 from vector-im/feature/bca/fix_fallback_key_support
Fix fallback otk support
2021-11-12 14:33:07 +01:00
SpiritCroc
d309d0e396 Remove unused function
Change-Id: Ie0985d061297d5ad364c71ae82539b3b10ee809e
2021-11-12 12:17:07 +01:00
SpiritCroc
69d90fc8dd Color preference: fix crash on Android < N
Change-Id: Id14a76c1933028a97c1da43dbcce61bd92547d65
2021-11-12 12:17:03 +01:00
SpiritCroc
6bca1bf18b Change presence color to green for some accents
Closes https://github.com/SchildiChat/SchildiChat-android/issues/97

Change-Id: I31095c9677a5c00162d8cb2416a12c31ad77f372
2021-11-12 12:16:47 +01:00
SpiritCroc
bd767a82dd Verification shield should be green, independent of accent color
https://github.com/SchildiChat/SchildiChat-android/issues/97

Change-Id: I650beda71b9f06f1c40a06a128972ffa70185d25
2021-11-12 12:16:31 +01:00
dependabot[bot]
ad48223273
Bump libphonenumber from 8.12.36 to 8.12.37
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.36 to 8.12.37.
- [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.36...v8.12.37)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 23:08:34 +00:00
dependabot[bot]
6afed3d5b7
Bump dagger from 2.40 to 2.40.1
Bumps `dagger` from 2.40 to 2.40.1.

Updates `hilt-android-gradle-plugin` from 2.40 to 2.40.1
- [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.40...dagger-2.40.1)

Updates `dagger` from 2.40 to 2.40.1
- [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.40...dagger-2.40.1)

Updates `dagger-compiler` from 2.40 to 2.40.1
- [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.40...dagger-2.40.1)

Updates `hilt-android` from 2.40 to 2.40.1
- [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.40...dagger-2.40.1)

Updates `hilt-compiler` from 2.40 to 2.40.1
- [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.40...dagger-2.40.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:hilt-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 23:08:23 +00:00
Onuray Sahin
94ae3c6dc0 Merge branch 'feature/ons/poll' into feature/ons/poll_timeline
* feature/ons/poll:
  Hide poll icon from attachment type selector for now.
  Code review fixes.
  Lint fixes.
  Design review fixes.
2021-11-11 17:29:16 +03:00
Onuray Sahin
a6c88b74a4 Hide poll icon from attachment type selector for now. 2021-11-11 13:42:04 +03:00
Onuray Sahin
b6717f4e46 Code review fixes. 2021-11-11 13:38:39 +03:00
Onuray Sahin
89db5a6ecd Lint fixes. 2021-11-11 11:52:01 +03:00
Ekaterina Gerasimova
3d86c10132 Bring the bug issue template in line with web
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-11 08:38:14 +00:00
yostyle
6ddf3f6e5a Fix lint errors 2021-11-10 22:31:23 +01:00