Commit Graph

11691 Commits

Author SHA1 Message Date
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
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
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
Benoit Marty 72360104fb
Merge pull request #4526 from vector-im/feature/bma/setarguments
Some cleanup on Fragment argument
2021-11-19 21:05:31 +01:00
Benoit Marty e709896fb0 ktlint 2021-11-19 18:27:30 +01:00
Adam Brown c0f8984d16 updating workaround factory doc 2021-11-19 16:45:38 +00:00
Benoit Marty 35ee555252 Moar cleanup 2021-11-19 17:35:02 +01:00
Benoit Marty 28e9d4e090
Merge pull request #4525 from vector-im/feature/bma/migration_cleanup
Remove useless module, it's a miss of the migration to hilt
2021-11-19 17:33:16 +01:00
Benoit Marty 4af2780ad9 Password hidden by default 2021-11-19 17:31:04 +01:00
Benoit Marty 23f726a2f0 Cleanup API 2021-11-19 17:17:23 +01:00
Benoit Marty 0f42f379c6 Cleanup: use setArguments() and avoid direct usage of Mavericks.KEY_ARG
`fun <T : Fragment> T.withArgs` should not be used anymore
2021-11-19 17:12:38 +01:00
Benoit Marty 292c09b176 Cleanup: Use extension, use setArguments() and avoid direct usage of Mavericks.KEY_ARG 2021-11-19 17:03:18 +01:00
Benoit Marty d0f5a10c76 Use extension 2021-11-19 16:45:32 +01:00
Benoit Marty 909e93b6d6 Fix crash (#4520) 2021-11-19 16:42:56 +01:00
Benoit Marty 430e171f85 Remove useless module, it's a miss of the migration to hilt 2021-11-19 16:09:27 +01:00
Benoit Marty eb32fd95e4
Merge pull request #4521 from vector-im/feature/bma/di_cleanup
Fix "@JvmStatic used for @Provides function in an object class" Lint warning
2021-11-19 16:08:32 +01:00
Adam Brown cca50ed669 using project terminoloy for rendering ui states on views 2021-11-19 15:03:37 +00:00
Adam Brown 9ce228c5bc fixing import ordering 2021-11-19 15:03:01 +00:00
Adam Brown f140dbc0a0 update text composer classes to message composer (as they include voice not just text) 2021-11-19 15:03:01 +00:00
Adam Brown 8837640b5a renaming text composer files to message composer 2021-11-19 15:03:01 +00:00
Adam Brown b5055453d1 moving voice recording logic to the TextComposerViewModel (name to be updated) from the RoomDetailViewModel 2021-11-19 15:03:01 +00:00
Benoit Marty 35f9bef94a
Merge pull request #4515 from vector-im/feature/adm/voice-state
Voice recording UI state in ViewModel
2021-11-19 15:59:17 +01:00
Adam Brown 7d0d105e82 adding changelog entry 2021-11-19 14:53:20 +00:00
Benoit Marty 0240aa15a6
Merge pull request #4506 from vector-im/feature/adm/non-dismissing-notifications
Non dismissing notifications
2021-11-19 15:45:49 +01:00
Benoit Marty d80a25feac Fix "@JvmStatic used for @Provides function in an object class" Lint warning.
See https://github.com/google/dagger/releases/tag/dagger-2.25.2 point 2.ii. : @Module object classes no longer need @JvmStatic on the provides methods.
Ensure this warning does not appear again.
2021-11-19 15:29:11 +01:00