Commit graph

9678 commits

Author SHA1 Message Date
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
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
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
646dfd5029
Merge pull request #3671 from vector-im/dependabot/gradle/kotlin_version-1.5.21
Bump kotlin_version from 1.5.20 to 1.5.21
2021-07-16 15:28:59 +02:00
Benoit Marty
3116b1a1c4
Merge pull request #3680 from psrpinto/fix/naming
Standardise spelling and casing of homeserver, identity server, and integration manager
2021-07-16 15:26:50 +02:00
Paulo Pinto
8ce976549f Add entry to changelog
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 16:13:12 +01:00
Paulo Pinto
5d4e71a011 Standardise casing of integration manager
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Paulo Pinto
d39e14cc5c Standardise casing of homeserver
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Paulo Pinto
74104d7d84 Standardise casing of identity server
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Paulo Pinto
e61c8c28bb Standardise spelling and casing of homeserver
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Besnik Bleta
98aec941e2 Translated using Weblate (Albanian)
Currently translated at 99.5% (2483 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sq/
2021-07-15 11:25:06 +00:00
Paulo Pinto
1dfb10d174 Translated using Weblate (Portuguese)
Currently translated at 33.8% (843 of 2494 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pt/
2021-07-15 11:25:05 +00:00
Benoit Marty
8757d0269f Added translation using Weblate (English (United Kingdom)) 2021-07-15 09:58:23 +00:00
dependabot[bot]
2afac82c81
Bump kotlin_version from 1.5.20 to 1.5.21
Bumps `kotlin_version` from 1.5.20 to 1.5.21.

Updates `kotlin-gradle-plugin` from 1.5.20 to 1.5.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.20...v1.5.21)

Updates `kotlin-stdlib-jdk7` from 1.5.20 to 1.5.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.20...v1.5.21)

Updates `kotlin-stdlib` from 1.5.20 to 1.5.21
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.5.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.5.20...v1.5.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk7
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 23:08:48 +00:00
Benoit Marty
c08bd664ab
Merge pull request #3667 from vector-im/feature/bma/permission
Permission rework
2021-07-13 10:33:40 +02:00
Benoit Marty
34723ce4f7 Cleanup 2021-07-13 10:27:29 +02:00
Benoit Marty
0f27971c96
Merge pull request #3661 from SpiritCroc/emoji_reaction_top_row
Fix top row of emoji reaction picker on small displays
2021-07-13 01:10:15 +02:00
dependabot[bot]
b0ea022eea
Bump kluent-android from 1.67 to 1.68
Bumps [kluent-android](https://github.com/MarkusAmshove/Kluent) from 1.67 to 1.68.
- [Release notes](https://github.com/MarkusAmshove/Kluent/releases)
- [Changelog](https://github.com/MarkusAmshove/Kluent/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MarkusAmshove/Kluent/commits)

---
updated-dependencies:
- dependency-name: org.amshove.kluent:kluent-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-12 23:07:08 +00:00
Benoit Marty
76ab34f1a6 Cleanup 2021-07-13 00:41:26 +02:00
Benoit Marty
59e3b421bb Cleanup 2021-07-13 00:33:29 +02:00
Benoit Marty
cc042f2d7a Fail fast 2021-07-13 00:31:05 +02:00
Benoit Marty
b553ee2a76 changelog 2021-07-13 00:26:21 +02:00
Benoit Marty
067349f602 Fix some misunderstanding about the permissions request - step 2 2021-07-13 00:22:23 +02:00