Commit Graph

10236 Commits

Author SHA1 Message Date
Benoit Marty a2180ec695 Create RequestIdHelper.createUniqueRequestId() for code clarity 2021-07-21 12:04:11 +02:00
Benoit Marty 0d408264e0 Bad copy paste 2021-07-21 11:46:11 +02:00
Benoit Marty 7513e972d1 Ensure the same txnId is reused if the Worker is started again. 2021-07-21 11:43:47 +02:00
Benoit Marty 49a44bd042 Do not change txnId it in case of retry, if not provided in the params
Also create txnId using UUID.randomUUID() instead of Random.nextInt(Integer.MAX_VALUE) for coherency
2021-07-21 11:37:15 +02:00
Benoit Marty 98720ce4a5
Merge pull request #3707 from poljar/poljar/fix/verification-transaction-id-mixup
crypto: Don't use the transaction ID of the verification for the request
2021-07-21 09:39:22 +02:00
Benoit Marty e4ae80e348
Merge pull request #3708 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.28
Bump libphonenumber from 8.12.27 to 8.12.28
2021-07-21 09:28:19 +02:00
Benoit Marty 135123d265
Merge pull request #3709 from vector-im/dependabot/gradle/daggerVersion-2.38
Bump daggerVersion from 2.37 to 2.38
2021-07-21 09:27:47 +02:00
dependabot[bot] 89dc4bb13e
Bump daggerVersion from 2.37 to 2.38
Bumps `daggerVersion` from 2.37 to 2.38.

Updates `dagger` from 2.37 to 2.38
- [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.37...dagger-2.38)

Updates `dagger-compiler` from 2.37 to 2.38
- [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.37...dagger-2.38)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-20 23:06:50 +00:00
dependabot[bot] b809d4acf4
Bump libphonenumber from 8.12.27 to 8.12.28
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.27 to 8.12.28.
- [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.27...v8.12.28)

---
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-07-20 23:06:30 +00:00
ganfra 88cc7471a8 Call notification: add missed call icons. Also set tint. 2021-07-20 18:43:44 +02:00
Damir Jelić 278bba3ada crypto: Don't use the transaction ID of the verification for the request
Verification flows have something called a transaction id. This is a
client-set custom ID that identifies the flow and is established by the
first message that gets sent out. This transaction ID needs to be kept the
same and be part of all events that are sent during the verification flow.

To-device requests have something called a transaction id. This is a
client-set custom ID that identifies a given request. It is used to
ensure idempotency of requests, i.e. retrying to send a request won't
result in two events being sent as long as the transaction id is kept
the same.

This patch removes usage of the first type of transaction ID for the
second use-case.

This closes: #3589.
2021-07-20 17:17:42 +02:00
David Langley 608a1d3f8f clarify sdk update and cleanup typos 2021-07-20 11:24:17 +01:00
Benoit Marty f5c79baf63
Merge pull request #3705 from vector-im/feature/bma/low_dm
Show low priority rooms in dm
2021-07-20 10:21:29 +02:00
ganfra c59967fb6c Missed call: make some changes on notification 2021-07-20 09:40:09 +02:00
David Langley 9811d6fefc add viewmodel, business logic, events, state, fragment and layout 2021-07-20 01:31:13 +01:00
David Langley da993b5b58 lint 2021-07-19 22:13:23 +01:00
David Langley 89ece22f73 Merge branch 'develop' of github.com:vector-im/element-android into feature/dla/fix_account_notifications_discrepancies 2021-07-19 22:08:34 +01:00
David Langley 55902b58ac checks 2021-07-19 22:07:20 +01:00
David Langley a29ccda68e move mutable push rule logic to static declarations as on web 2021-07-19 21:29:46 +01:00
ganfra f7e2e741c0 Missed call: start showing notification when there is a missed call 2021-07-19 20:25:09 +02:00
Benoit Marty 256df7e869 Rework on how we dispose the subscriptions 2021-07-19 19:18:49 +02:00
Benoit Marty ac2f1ee7fe Cleanup and comment 2021-07-19 19:03:41 +02:00
Benoit Marty 5990e5a52b Cleanup constructors 2021-07-19 18:59:27 +02:00
Benoit Marty 14b4bff477 Use the interface power! 2021-07-19 18:56:15 +02:00
Benoit Marty b8abe1b7ad Rename class for code clarity 2021-07-19 18:54:14 +02:00
Benoit Marty 40907a71b6 Cleanup 2021-07-19 18:44:57 +02:00
Benoit Marty ac8303bb99 Add low priority section in DM tab #3463 2021-07-19 18:43:05 +02:00
Benoit Marty ca2794193c Typo 2021-07-19 18:16:36 +02:00
Benoit Marty a34d445215
Merge pull request #3699 from vector-im/feature/bma/part_dl
Complement for #3656
2021-07-19 18:09:33 +02:00
Benoit Marty a2996ee042 Rename var 2021-07-19 16:32:02 +02:00
Benoit Marty 765f7d634e
Merge pull request #3700 from psrpinto/fix/naming-2
Standardise casing of terms in source strings
2021-07-19 16:26:41 +02:00
Benoit Marty 6d1cabaee3 Version++ 2021-07-19 15:28:14 +02:00
Benoit Marty 1896208181 Merge branch 'release/1.1.13' into develop 2021-07-19 15:26:50 +02:00
Paulo Pinto 0bdba9eb7d Standardise casing of terms in source strings
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-19 12:47:10 +01:00
Benoit Marty 60a9f6fcb8 Changelog - fastlane 2021-07-19 13:38:08 +02:00
Benoit Marty 1894ad21e1 Changelog 2021-07-19 13:36:34 +02:00
Benoit Marty 9f631768eb Avoid crash in debug app 2021-07-19 13:34:51 +02:00
Benoit Marty 2f6d2cfe09 Avoid crash in debug app 2021-07-19 13:31:09 +02:00
Benoit Marty c21625079e Improve the template 2021-07-19 12:34:44 +02:00
Benoit Marty 6d8262077d
Merge pull request #3698 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-07-19 11:29:47 +02:00
Benoit Marty 7643cc506d Remove part file(s) in case of failure
Will not always delete part files in case of crashes
2021-07-19 11:08:03 +02:00
Benoit Marty 9c1bec94c9 Create AtomicFileCreator class to avoid code copy/paste 2021-07-19 10:59:40 +02:00
Benoit Marty 2e64f89ec6
Merge pull request #3656 from SpiritCroc/broken_downloads
Avoid incomplete downloads in cache
2021-07-19 10:50:52 +02:00
Weblate 9b829ddd04 Merge branch 'origin/develop' into Weblate. 2021-07-19 08:08:18 +00:00
Benoit Marty f51769174d `bundle update fastlane` 2021-07-19 09:55:06 +02:00
Ihor Hordiichuk 5a5486c4b9 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (23 of 23 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/uk/
2021-07-17 21:25:06 +00:00
ppnplusdf0eb2eb726b4bb3 a4cb5b1d28 Translated using Weblate (Thai)
Currently translated at 12.3% (309 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/th/
2021-07-16 16:25:05 +00:00
Benoit Marty 45efb4386b
Merge pull request #3668 from vector-im/dependabot/gradle/org.amshove.kluent-kluent-android-1.68
Bump kluent-android from 1.67 to 1.68
2021-07-16 18:05:45 +02:00
Benoit Marty 6caa2b9ae0 Fix issue with RTL
Still a pb when Mic is on, margins are not correct
2021-07-16 17:12:08 +02:00
Benoit Marty 30bb91892d Fix issue about move overflow.
Now use limit for distances
2021-07-16 16:04:50 +02:00