Commit Graph

11795 Commits

Author SHA1 Message Date
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
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
Benoit Marty e10af6476f invalidate does not work on Activity :/ 2021-11-22 16:24:14 +01:00
Benoit Marty aa0f031910 invalidate does not work on Activity :/ 2021-11-22 16:18:57 +01:00
Benoit Marty 86d76e76a4 Fix DI 2021-11-22 15:41:54 +01:00
Benoit Marty 2586b376f5 Add a debug screen to display private settings, and use it to force display of Dialpad Tab 2021-11-22 15:05:18 +01:00
Benoit Marty 97a44a5632
Merge pull request #4523 from vector-im/feature/adm/voice-composer
Moving voice logic to the MessageComposer
2021-11-22 15:01:40 +01:00
m1chj f3ccf83051 Translated using Weblate (Polish)
Currently translated at 95.6% (2573 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 11:14:19 +00:00
Jacob 1ffa28b079 Translated using Weblate (Polish)
Currently translated at 95.6% (2573 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/pl/
2021-11-22 11:14:18 +00:00
Benoit Marty e520a374e4 Format code 2021-11-22 10:45:45 +01:00
Benoit Marty 2c6993af44 Add missing changelog for #4526 2021-11-22 10:37:04 +01:00
Benoit Marty e15c84129c Use same values than for light theme, for a better rendering
See https://github.com/vector-im/element-android/issues/4285#issuecomment-974270998
2021-11-22 10:20:01 +01:00