Commit graph

11721 commits

Author SHA1 Message Date
Benoit Marty
b59ae53805
Merge pull request #4556 from vector-im/feature/adm/voice-rotation
Supporting rotation during voice recordings
2021-11-29 11:40:55 +01:00
Benoit Marty
b889641f2b
Merge pull request #4565 from vector-im/feature/adm/dismissing-listening-for-notification-on-signout
Dismissing Fdroid variant `Listening for notifications` on sign out
2021-11-29 11:33:53 +01:00
Benoit Marty
173ccc6bd4
Merge pull request #4566 from vector-im/feature/adm/typing-emoji-leftovers
Emoji insertion leftover characters
2021-11-29 11:32:22 +01:00
Adam Brown
7b691cc433
updating comment to mention the cursor position 2021-11-26 16:21:57 +00:00
Benoit Marty
bdbbdb723e
Merge pull request #4564 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.38
Bump libphonenumber from 8.12.37 to 8.12.38
2021-11-26 13:46:21 +01:00
Adam Brown
cc9fb326dd adding changelog entry 2021-11-26 12:07:19 +00:00
Adam Brown
20241f852a basing the emoji ':' search on the current edit text selection to avoid always replacing the last occurrence 2021-11-26 12:05:54 +00:00
Adam Brown
dffed4445d fixing single character emoji searches retaining the original query
- not entirely sure why this works but replacing the replace with separate delete + insert commands allows the previous query to be fully removed
2021-11-26 11:57:47 +00:00
Adam Brown
a0ffc5988f adding changelog entry 2021-11-26 09:57:58 +00:00
Adam Brown
4986e9713b stopping the guard service on sign out
- fixes the listening the notifications lingering around when it's not needed
2021-11-26 09:36:55 +00:00
dependabot[bot]
8a8fa066f9
Bump libphonenumber from 8.12.37 to 8.12.38
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.37 to 8.12.38.
- [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.37...v8.12.38)

---
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-25 23:06:20 +00:00
Adam Brown
fdfac8d20a adding doc for the default clock time provision 2021-11-25 10:03:09 +00:00
Benoit Marty
540158316e
Merge pull request #4560 from vector-im/dependabot/gradle/dagger-2.40.2
Bump dagger from 2.40.1 to 2.40.2
2021-11-25 09:26:28 +01:00
dependabot[bot]
c9637967c9
Bump dagger from 2.40.1 to 2.40.2
Bumps `dagger` from 2.40.1 to 2.40.2.

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

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

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

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

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

---
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-24 23:08:16 +00:00
Adam Brown
5d1812008d adding clock abstraction for avoiding directly using the System.currentTimeMillis 2021-11-24 16:37:53 +00:00
Adam Brown
8fa264589a removing unused imports 2021-11-24 16:37:53 +00:00
Adam Brown
5ed765999a adding changelog entry 2021-11-24 16:37:53 +00:00
Adam Brown
4a5e21ad21 avoiding stopping any active recording if we're rotating
- had to keep track of the recording start time in order to maintain the current length counter
2021-11-24 16:37:52 +00:00
Adam Brown
bbb3a6139f avoiding duplicated drag event updates 2021-11-24 14:35:45 +00:00
Adam Brown
755e3fe932 switching the player tracker to a singleton to avoid losing state on rotation
- this means we need to be extra careful about releasing any listeners
2021-11-24 14:35:45 +00:00
Benoit Marty
32441eb81b
Merge pull request #4553 from vector-im/feature/adm/stricter-voice-file-deletion
Unable to upload .ogg to rooms
2021-11-24 13:55:31 +01:00
Adam Brown
31bd4fd2d0 avoiding inferred voice type check via waveform in favour of using the attachment type 2021-11-24 11:38:28 +00:00
Adam Brown
8a8a5bfa50 adding changelog entry 2021-11-24 11:00:43 +00:00
Adam Brown
aa3631f328 fixing recursive call 2021-11-24 10:58:21 +00:00
Adam Brown
00059e7b70 adding missing . for file extension 2021-11-24 10:33:53 +00:00
Adam Brown
5ee379e10d including a new voice message attachment type
- allows for us to explictly delete voice message after uploading rather than inferring that audio message with the .ogg extension are voice messages which could have caused us to delete users files
2021-11-24 10:21:12 +00:00
Benoit Marty
bd423db98a
Merge pull request #4548 from vector-im/feature/adm/sealed-class-cleanup
Voice related sealed class cleanup
2021-11-24 11:10:10 +01:00
Benoit Marty
b3d1c4fbdb
Merge pull request #4547 from vector-im/feature/adm/voice-files
Timeline editing and offline voice message fixes
2021-11-24 11:08:05 +01:00
Adam Brown
6838e701b5 reformating 2021-11-23 18:22:47 +00:00
Adam Brown
70d25653c8 removing unused base property from the sealed classes and switching to interfaces 2021-11-23 18:21:42 +00:00
Adam Brown
d1102f7be4 fixing wrong cased data class names 2021-11-23 18:19:33 +00:00
Adam Brown
72bc442fca adding changelog entry 2021-11-23 18:12:49 +00:00
Adam Brown
56cfee572f fixing message edits thinking there's an active voice recording 2021-11-23 18:02:12 +00:00
Adam Brown
251c54ecfe creating unique files for each voice recording
- stops the recording flow from deleting/overwriting pending voice messages
2021-11-23 18:02:11 +00:00
Adam Brown
bdf9402685 only deleting voice files if they were successfully uploading
- fixes flaky networks losing the voice file and being unable to retry
2021-11-23 17:45:10 +00:00
Benoit Marty
c72dd5eec6
Merge pull request #4507 from vector-im/feature/bca/crypto_better_logs
Improve crypto log to debug UISI
2021-11-23 15:35:28 +01:00
Valere
31eeb0674b cleaning 2021-11-23 13:38:45 +01:00
Valere
77454c8ae9 code review 2021-11-23 11:58:01 +01:00
Benoit Marty
61faf71751
Merge pull request #4543 from vector-im/dependabot/gradle/com.squareup.okhttp3-okhttp-bom-4.9.3
Bump okhttp-bom from 4.9.2 to 4.9.3
2021-11-23 10:05:21 +01:00
Benoit Marty
b0275b20ee
Merge pull request #4542 from vector-im/dependabot/gradle/org.robolectric-robolectric-4.7.2
Bump robolectric from 4.7.1 to 4.7.2
2021-11-23 10:02:50 +01:00
dependabot[bot]
6a7bc5cef8
Bump okhttp-bom from 4.9.2 to 4.9.3
Bumps [okhttp-bom](https://github.com/square/okhttp) from 4.9.2 to 4.9.3.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.9.2...parent-4.9.3)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 23:10:17 +00:00
dependabot[bot]
d4db706c06
Bump robolectric from 4.7.1 to 4.7.2
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](https://github.com/robolectric/robolectric/compare/robolectric-4.7.1...robolectric-4.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 23:09:42 +00:00
Benoit Marty
eba6ae592b
Merge pull request #4539 from vector-im/feature/fre/fix_duplicated_settings
Remove duplicated settings declaration
2021-11-22 19:15:08 +01:00
Florian Renaud
6c81bf6ee8 Remove duplicated settings declaration 2021-11-22 18:03:07 +01:00
Benoit Marty
ca34812f82
Merge pull request #4537 from vector-im/feature/bma/more_cleanup
Feature/bma/more cleanup
2021-11-22 18:00:00 +01:00
Benoit Marty
62293e3a4e ktlint 2021-11-22 17:59:38 +01:00
Benoit Marty
e2f9498d2f
Merge pull request #4522 from vector-im/feature/bma/sso_providers_icons
Small fix in sso providers icons
2021-11-22 17:50:44 +01:00
Benoit Marty
e95d603dc5 Rename fun 2021-11-22 17:19:25 +01:00
Benoit Marty
e546587efb Better ViewState 2021-11-22 17:18:11 +01:00
Benoit Marty
aee34ad552 Cleanup the ViewModels 2021-11-22 16:45:18 +01:00