Commit graph

21464 commits

Author SHA1 Message Date
Benoit Marty
0b5e0fea72 No need to freeze empty RealmList
This was the source of growing memory usage. Non empty result are supposed to be temporary, so this is fine.
2023-01-17 16:32:49 +01:00
Benoit Marty
b3a50d4f68 Remove unused RealmConfiguration 2023-01-17 15:08:20 +01:00
Benoit Marty
4c06bdc14e Avoid creating too many Job, which ends up to OOM 2023-01-17 11:24:19 +01:00
Benoit Marty
4222761363 More cleanup 2023-01-16 20:15:07 +01:00
Benoit Marty
19e218ead8 Small optimization 2023-01-16 18:02:06 +01:00
Maxime NATUREL
6b98b3023e
Merge pull request #7851 from vector-im/feature/mna/poll-message-decryption-error
[Poll] Warning message on decryption failure of some events (PSG-1025)
2023-01-16 10:19:00 +01:00
Florian Renaud
31e599f2e2
Merge pull request #7919 from vector-im/bugfix/fre/handle_vb_playback_crash
Voice Broadcast - Handle exceptions during playback
2023-01-13 18:29:28 +01:00
Onuray Sahin
25edcaf5d1
Merge pull request #7950 from vector-im/feature/ons/dismiss_verification_bottomsheet
Make verification bottom sheet cancellable on tap outside (PSG-1139)
2023-01-13 19:50:33 +03:00
Maxime NATUREL
60e838a82c Check encrypted event status using the Event model 2023-01-13 16:48:53 +01:00
Onuray Sahin
4a49f2ff9b Check if bottom sheet is cancellable. 2023-01-13 18:15:52 +03:00
Florian Renaud
169c9b221c Throw an error if the media player which has completed is not the expected one 2023-01-13 15:46:48 +01:00
Florian Renaud
1b192ea45c
Merge pull request #7945 from vector-im/feature/fre/vb_notification_on_first_chunk
Voice Broadcast - only send a notification on the first chunk
2023-01-13 14:26:04 +01:00
Onuray Sahin
a12460b09c Add changelog. 2023-01-13 15:56:47 +03:00
Onuray Sahin
e5801a4f19 Make verification dialog cancelable. 2023-01-13 15:56:38 +03:00
Benoit Marty
f3e56cfa5c
Merge pull request #7940 from vector-im/dependabot/gradle/androidx.appcompat-appcompat-1.6.0
Bump appcompat from 1.5.1 to 1.6.0
2023-01-13 10:49:00 +01:00
Benoit Marty
e7cde42923
Merge pull request #7942 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2023-01-13 10:44:23 +01:00
Benoit Marty
728e5941f1
Merge pull request #7948 from vector-im/dependabot/gradle/io.element.android-wysiwyg-0.17.0
Bump wysiwyg from 0.15.0 to 0.17.0
2023-01-13 10:42:09 +01:00
dependabot[bot]
d55f1efd63
Bump wysiwyg from 0.15.0 to 0.17.0
Bumps [wysiwyg](https://github.com/matrix-org/matrix-wysiwyg) from 0.15.0 to 0.17.0.
- [Release notes](https://github.com/matrix-org/matrix-wysiwyg/releases)
- [Changelog](https://github.com/matrix-org/matrix-rich-text-editor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/matrix-org/matrix-wysiwyg/compare/0.15.0...0.17.0)

---
updated-dependencies:
- dependency-name: io.element.android:wysiwyg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-13 00:17:34 +00:00
Onuray Sahin
1787031cc6
Merge pull request #7939 from vector-im/feature/ons/fix_edit_poll
Fix rendering of edited polls (PSG-963)
2023-01-13 03:13:53 +03:00
Florian Renaud
8a2f28bc37 Add comment to explain the error handling 2023-01-12 18:29:56 +01:00
Florian Renaud
72e0dc4bd2 Voice Broadcast - only send a notification on the first chunk 2023-01-12 18:08:43 +01:00
Onuray Sahin
6813571015 Fix rendering bug when poll is edited from another client. 2023-01-12 18:46:18 +03:00
Weblate
149ff75d90 Merge branch 'origin/develop' into Weblate. 2023-01-12 10:33:32 +00:00
Szimszon
07db45a167 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2585 of 2585 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2023-01-12 10:33:29 +00:00
Christian Paul
6cdd8096cd Translated using Weblate (Esperanto)
Currently translated at 75.8% (1961 of 2585 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/eo/
2023-01-12 10:33:29 +00:00
waclaw66
90d9eaf950 Translated using Weblate (Czech)
Currently translated at 100.0% (2585 of 2585 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2023-01-12 10:33:28 +00:00
Maxime NATUREL
ee3cbd9884 Filter in only encrypted events with relatesTo content 2023-01-12 11:15:38 +01:00
Florian Renaud
b1d2581bf3
Merge pull request #7898 from vector-im/bugfix/fre/unexpected_live_vb_room_list
Fix unexpected live voice broadcast in the room list
2023-01-12 10:42:52 +01:00
Maxime NATUREL
d1ce15bf18 Renaming field in PollResponseData for better clarity 2023-01-12 10:14:47 +01:00
Maxime NATUREL
94dd599f13 Fix after rebase 2023-01-12 10:03:01 +01:00
Maxime NATUREL
8b051c5b86 Replace usage of new UnableToDecryptEventEntity by usage of existing EventInsertEntity 2023-01-12 10:02:05 +01:00
Maxime NATUREL
fd58875c31 Database migration 2023-01-12 10:02:05 +01:00
Maxime NATUREL
b001bc382f Fixing code style issue 2023-01-12 10:01:51 +01:00
Maxime NATUREL
e9f59d85b4 Adding unit tests for DefaultCreateUnableToDecryptEventEntityTask 2023-01-12 10:01:51 +01:00
Maxime NATUREL
a04c60a85b Adding unit tests for EncryptedEventRelationsAggregationProcessor 2023-01-12 10:01:51 +01:00
Maxime NATUREL
1bd11775e9 Adding unit tests for EncryptedReferenceAggregationProcessor 2023-01-12 10:01:51 +01:00
Maxime NATUREL
eb4de37603 Updating unit tests for poll aggregation processor 2023-01-12 10:01:51 +01:00
Maxime NATUREL
fdc28c0383 Add encrypted event id only if not already in the list 2023-01-12 10:01:50 +01:00
Maxime NATUREL
da6b41c34d Updating unit tests for PollItemViewStateFactory 2023-01-12 10:01:50 +01:00
Maxime NATUREL
7e1016da7e Changing where we insert UnableToDecryptEventEntity in DB 2023-01-12 10:01:50 +01:00
Maxime NATUREL
a29d4399a5 Removing encrypted related id when receiving decrypted event 2023-01-12 10:01:50 +01:00
Maxime NATUREL
3b9faa5f31 Render specific message on decryption error 2023-01-12 10:01:49 +01:00
Maxime NATUREL
c0c5e208bd Remove processing of encrypted events from EventRelationsAggregationProcessor 2023-01-12 10:00:41 +01:00
Maxime NATUREL
ae2639aeb0 Keep track of related events to a poll which had failed to be decrypted 2023-01-12 10:00:41 +01:00
Maxime NATUREL
bd7b1f9496 (WIP) Introducing new UnableToDecryptEventEntity 2023-01-12 10:00:40 +01:00
Maxime NATUREL
12ad6496c2 Adding changelog entry 2023-01-12 10:00:40 +01:00
dependabot[bot]
a4a7fa69e8
Bump appcompat from 1.5.1 to 1.6.0
Bumps appcompat from 1.5.1 to 1.6.0.

---
updated-dependencies:
- dependency-name: androidx.appcompat:appcompat
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-11 23:02:02 +00:00
Florian Renaud
f62f661d2b Room list - Do not show live broadcast if the started event is redacted 2023-01-11 17:56:12 +01:00
Florian Renaud
493fa7a0eb Use private method to mockk voice broadcast event 2023-01-11 17:31:52 +01:00
Florian Renaud
2df94807e0 Restore private visibility of fake component fields 2023-01-11 17:31:52 +01:00