Commit Graph

11893 Commits

Author SHA1 Message Date
ganfra f0ecfbbab2 Tests: TestMatrix should only be used internally by sdk tests 2021-11-30 17:22:50 +01:00
Benoit Marty b66aff457a Iterate on the consent dialog of the identity server - handle the other places. 2021-11-30 16:34:16 +01:00
Benoit Marty 3d5d9ad154 Iterate on the consent dialog of the identity server. 2021-11-30 15:46:27 +01:00
ganfra 51f46d199f Tests: clean after review 2021-11-30 14:15:18 +01:00
Adam Brown aaba62813c removing unused import 2021-11-30 10:22:25 +00:00
Adam Brown cdb5376a19 Adding support for voice drafts
- introduces a new Voice draft and sender mode type
- initializes the voice recorder with a previously recorded file (the draft)
- renames RecordingUiStates to map to their actual UI states
2021-11-30 10:22:25 +00:00
Benoit Marty 8fd5e426bb
Merge pull request #4572 from vector-im/dependabot/gradle/dagger-2.40.3
Bump dagger from 2.40.2 to 2.40.3
2021-11-30 10:20:48 +01:00
dependabot[bot] 7c41d3cacb
Bump dagger from 2.40.2 to 2.40.3
Bumps `dagger` from 2.40.2 to 2.40.3.

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

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

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

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

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

---
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-29 23:08:54 +00:00
ganfra 30fe564a2c Throw clear error when MatrixWorkerFactory is not set up on worker configuration 2021-11-29 19:26:55 +01:00
Benoit Marty df23cc4e09
Merge pull request #4567 from vector-im/feature/adm/stuck-voip
Always showing hang up button in VOIP calls
2021-11-29 16:24:16 +01:00
Benoit Marty 7beec1c726
Merge pull request #4557 from vector-im/feature/adm/voice-keep-screen-on
Keep device screen on during voice message playback and recording
2021-11-29 14:29:30 +01:00
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
Ihor Hordiichuk 31b521e925 Translated using Weblate (Ukrainian)
Currently translated at 94.7% (2549 of 2690 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/uk/
2021-11-29 09:25:54 +00:00
Szimszon 8e807be7b0 Translated using Weblate (Hungarian)
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/hu/
2021-11-29 09:25:53 +00:00
Zet e0ba2a26d4 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-29 09:25:52 +00:00
ganfra cfaa7268a8 Tests: clean up a bit 2021-11-26 18:17:28 +01:00
ganfra ccdeeeab4c Tests: fix timeline tests + some small others 2021-11-26 18:16:27 +01:00
Adam Brown 258d64a41e adding changelog entry 2021-11-26 16:53:57 +00:00
Adam Brown bcbfc13f0a allowing idle and create offer call states to hang up
- fixes the CallActivity looking stuck with no way to exit the call
2021-11-26 16:40:59 +00: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 034725ef91 ignoring duplicated state updates 2021-11-25 14:49:31 +00:00
Adam Brown 9e9116df2f marking the playback tracker as idle when the voice recording stops
- fixes missing EndkeepScreenOn
2021-11-25 14:49:11 +00:00
ganfra 1d9da6c7d3 Tests: do some clean-up and fix bunch of them 2021-11-25 12:46:16 +01:00
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