Commit Graph

9621 Commits

Author SHA1 Message Date
Benoit Marty
a2996ee042 Rename var 2021-07-19 16:32:02 +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
Benoit Marty
f51769174d bundle update fastlane 2021-07-19 09:55:06 +02: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
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
Benoit Marty
80657251a5 Fix some misunderstanding about the permissions request - step 1 2021-07-12 23:47:33 +02:00
Benoit Marty
fabbd6da9e Add action to see permission status in the DebugActivity 2021-07-12 22:12:51 +02:00
Benoit Marty
cca9a8007c Use new permission request management
I do not know why all has not been migrated in the previous rework
2021-07-12 21:18:01 +02:00
SpiritCroc
9aa37dfbe9 Fix top row of emoji reaction picker on small displays
Emojis were not showing if not enough space, so allow scrolling there.
2021-07-12 17:56:58 +02:00
Benoit Marty
fbcb2ea8ae
Merge pull request #3655 from SpiritCroc/unread_collapsed
Fix unread messages marker being hidden in collapsed membership item
2021-07-12 13:10:13 +02:00
Benoit Marty
219d56a4b4
Merge pull request #3660 from TheWayOfTheWarrior/patch-1
Typo in InitializeCrossSigningTask.kt
2021-07-12 12:47:58 +02:00
TheWayOfTheWarrior
995f9d87bb
Typo in InitializeCrossSigningTask.kt
Typo in comment. Was "userSigningKey" instead of "selfSigningKey".
2021-07-10 22:17:17 +02:00
SpiritCroc
512e1b339d Add changelog.d/3656.bugfix 2021-07-10 11:14:04 +02:00
SpiritCroc
4ef1f5c90f Avoid incomplete downloads in cache
Previously, when a download was aborted (e.g. due to a bad internet
connection), a partly downloaded file was remaining in cache, which
would then be delivered upon later requests.
This can lead e.g. to chats where images aren't loading.

To avoid this, first download files to a temporary file that is not the
final cache file, and only rename/move it on finish.

Note that if you already have broken downloads, you still need to clear
cache once to get rid of them after this commit, but it should not
occur anymore afterwards.
2021-07-10 11:12:15 +02:00
SpiritCroc
a52d1e4312 Add changelog.d/3655.bugfix 2021-07-10 11:07:21 +02:00
SpiritCroc
e61fc1a935 Fix unread messages marker being hidden in collapsed membership item
Scenario: the last read event in a chat is a membership change. After
that, at least two new membership changes were added, followed by normal
messages. Due to the membership changes being collapsed by default, in
this scenario the read marker would not show, since in the loop, we
would overwrite the appendReadMarker with the value for the last eventId
of the merged item, instead of showing it if any of the items matched.
2021-07-10 11:01:36 +02:00
Benoit Marty
910c0ff326
Merge pull request #3648 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.27
Bump libphonenumber from 8.12.26 to 8.12.27
2021-07-09 09:47:45 +02:00
Benoit Marty
2948f03978
Merge pull request #3551 from vector-im/feature/bca/room_upgrade
Feature/bca/room upgrade
2021-07-08 10:00:01 +02:00
dependabot[bot]
76890a3b26
Bump libphonenumber from 8.12.26 to 8.12.27
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.26 to 8.12.27.
- [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.26...v8.12.27)

---
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-07 23:06:17 +00:00
Benoit Marty
5bbb45de68
Merge pull request #3636 from vector-im/feature/bma/cleanup_interface
Decorelate interfaces for code clarity
2021-07-07 10:08:15 +02:00
Benoit Marty
07e8074c25
Merge pull request #3641 from vector-im/bmarty-patch-1
Update issue templates
2021-07-06 17:05:14 +02:00
Benoit Marty
1cb93b60c2 Update issue templates 2021-07-06 17:04:38 +02:00
Benoit Marty
e9da63e3ee
Merge pull request #3635 from vector-im/feature/bma/crash_room_aliases
Fix crash in room aliases
2021-07-06 12:15:37 +02:00
Benoit Marty
8f1b7649aa Make the code compile... 2021-07-06 12:10:06 +02:00
Benoit Marty
4963025150 Decorelate interfaces for code clarity 2021-07-06 11:36:50 +02:00
Benoit Marty
ca9f5161d1 Add retry support on Room Alias screen 2021-07-06 11:12:40 +02:00
Benoit Marty
5b149c8a34 Crash when opening room addresses screen with no internet connection 2021-07-06 10:57:59 +02:00
Benoit Marty
e22bd8f637
Merge pull request #3593 from vector-im/dependabot/gradle/androidx.test.ext-junit-1.1.3
Bump junit from 1.1.2 to 1.1.3
2021-07-05 21:36:38 +02:00
Benoit Marty
ca45cdd5c7
Merge pull request #3585 from vector-im/feature/bma/wellknown
Improve wellknown usage
2021-07-05 21:36:16 +02:00
Benoit Marty
692adffa69
Merge pull request #3626 from vector-im/dependabot/gradle/com.google.android.material-material-1.4.0
Bump material from 1.3.0 to 1.4.0
2021-07-05 21:29:49 +02:00
Benoit Marty
07d6eaacf9 Quick cleanup after #3624 2021-07-05 21:28:37 +02:00
Benoit Marty
a335c5eb4b
Merge pull request #3624 from vector-im/dbkr/scan_button_title
Use different copy for self verification
2021-07-05 21:25:57 +02:00