Commit graph

11809 commits

Author SHA1 Message Date
Adam Brown
fdfac8d20a adding doc for the default clock time provision 2021-11-25 10:03:09 +00:00
Adam Brown
28af0a637f using instance based playback activity listener and updating param name to give more context 2021-11-25 09:48:14 +00:00
Danial Behzadi
b2b588fc2a Translated using Weblate (Persian)
Currently translated at 100.0% (38 of 38 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2021-11-25 09:25:56 +00:00
m1chj
c34e425ada Translated using Weblate (Polish)
Currently translated at 98.2% (2643 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-25 09:25:55 +00:00
Fjoerfoks
a77bfa058d Translated using Weblate (Frisian)
Currently translated at 46.8% (1261 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-25 09:25:54 +00:00
Danial Behzadi
5b7673c8d9 Translated using Weblate (Persian)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-11-25 09:25:52 +00:00
Zet
adf18d881b Translated using Weblate (Arabic)
Currently translated at 39.5% (1065 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ar/
2021-11-25 09:25:51 +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
6d2dc20ad1 adding changelog entry 2021-11-24 16:24:39 +00:00
Adam Brown
c2c495c49d keeping device screen on during any voice playback/recording within the room details activity
- Fixes playback and recording stopping due to device inactivity
- Adds a separate activity listener for monitoring if any audio is playing or being recording and keeping the screen on if so
2021-11-24 16:24:39 +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
Jacob
a237952254 Translated using Weblate (Polish)
Currently translated at 10.5% (4 of 38 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/pl/
2021-11-23 20:26:08 +00:00
Glandos
4445f55b99 Translated using Weblate (French)
Currently translated at 100.0% (38 of 38 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fr/
2021-11-23 20:26:08 +00:00
Ihor Hordiichuk
d1cd09acd0 Translated using Weblate (Ukrainian)
Currently translated at 94.3% (2537 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-23 20:26:07 +00:00
LinAGKar
5fd4775257 Translated using Weblate (Swedish)
Currently translated at 100.0% (2690 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/sv/
2021-11-23 20:26:02 +00:00
m1chj
2472978756 Translated using Weblate (Polish)
Currently translated at 97.8% (2632 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-23 20:26:00 +00:00
Fjoerfoks
5025170117 Translated using Weblate (Frisian)
Currently translated at 45.9% (1235 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fy/
2021-11-23 20:25:55 +00:00
Glandos
e982dd48e8 Translated using Weblate (French)
Currently translated at 99.9% (2689 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fr/
2021-11-23 20:25:51 +00: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