Commit graph

5051 commits

Author SHA1 Message Date
Nicolas Mauri
37bd17798c Delete a voice broadcast with all related events if MSC3912 is supported. 2023-01-19 18:22:25 +01:00
Alfonso Grillo
fdf1839b12
Merge pull request #7284 from vector-im/alfogrillo/reply_to_ended_polls
Render replies to ended polls (PSG-1131)
2023-01-19 10:34:42 +01:00
Andy Uhnak
9480bb714a Display migration progress during startup 2023-01-18 16:45:32 +00:00
Yoan Pintas
f410ad13ad
Voice broadcast connection error handling while recording (#7282) 2023-01-18 16:27:13 +00:00
Alfonso Grillo
2a2df206b5 Improve code 2023-01-18 17:22:38 +01:00
Alfonso Grillo
80ce6b7f51 Handle edge cases for plain “body” 2023-01-18 16:35:39 +01:00
Alfonso Grillo
69f3df0867 Improve formatter 2023-01-18 16:35:39 +01:00
Alfonso Grillo
a8d041da3b Add replacement logic for “Ended poll” text 2023-01-18 16:35:39 +01:00
Alfonso Grillo
8ad5489a5e Add new localisation for ended poll replies 2023-01-18 16:35:39 +01:00
Yoan Pintas
02477cc240
Handle a connection issue when we try to start a new voice broadcast (#7276) 2023-01-17 14:49:36 +00:00
Nicolas Mauri
a9ff1282cf
Merge pull request #7257 from vector-im/nimau/PSF-1734_vb_control_center
Fix the now playing info center while a voice broadcast is played
2023-01-17 09:38:28 +01:00
Nicolas Mauri
f8a851b5dd Make sure we store the last block sequence sent (even if it's 0) 2023-01-16 16:00:18 +01:00
Nicolas Mauri
648b4091a6 Live voice broadcast should not appear in Info Center while playing 2023-01-16 15:24:40 +01:00
Philippe Loriaux
dcd5e66068 Remove "Leave" button on Room details screen 2023-01-16 14:58:18 +01:00
Nicolas Mauri
ee51fc7485 Improved voice broadcast completion detection during playback 2023-01-16 14:37:53 +01:00
Andy Uhnak
f098e77ff6 Add labs settings for crypto v2 2023-01-16 12:12:54 +00:00
Alfonso Grillo
3b172e60c3
Merge pull request #7267 from vector-im/alfogrillo/active_poll_history
Active poll history UI (PSG-906)
2023-01-16 12:43:07 +01:00
Nicolas Mauri
f8717de59e
Merge pull request #7266 from vector-im/nimau/PSF-1851_VB_sent_as_VM
Fix how is resent a voice broadcast chunk
2023-01-16 12:29:15 +01:00
Nicolas Mauri
c8bdab7e18 Code cleanup 2023-01-13 15:29:51 +01:00
Alfonso Grillo
c7c3b85589 Add changelog.d file 2023-01-13 11:04:40 +01:00
Velin92
3284437fc0
Merge pull request #7262 from vector-im/mauroromito/change_link_colour
Different link colours are now supported and by default most links are now in blue in the timeline
2023-01-13 10:58:22 +01:00
Nicolas Mauri
3d8d6e10bc Fix how is resent a voice broadcast chunk 2023-01-13 08:33:30 +01:00
Mauro Romito
1b9a26c3cc replaced UIColor link with ThemeService links color everywhere it was used, and included the ThemeService in NSE and SiriIntents 2023-01-12 17:54:44 +01:00
Mauro Romito
50cf98e692 added the links color wherever possible 2023-01-12 16:45:43 +01:00
Nicolas Mauri
8ba0fea026 Remove strong references on audio players used for voicebroadcast 2023-01-12 15:55:06 +01:00
Alfonso Grillo
29da649073 Cleanup scaffolding 2023-01-12 12:06:15 +01:00
Alfonso Grillo
5ae59ea7d3 Add poll history scaffolding 2023-01-12 11:43:29 +01:00
Alfonso Grillo
a493d6fd62 Add poll history in room’s settings 2023-01-12 10:42:56 +01:00
Mauro Romito
891ceb8546 fixed a test and some code improvements 2023-01-12 10:41:52 +01:00
David Langley
7dfbdbdfce
Merge pull request #7223 from vector-im/langleyd/7222_fix_location_sharing_permissions_request
Langleyd/7222 fix location sharing permissions request
2023-01-12 09:15:24 +00:00
Nicolas Mauri
b2ae0e78b2 Fix NowPlayingInfoCenter for a live voice broadcast 2023-01-12 09:35:14 +01:00
Flavio Alescio
14b1e7f025 new icon with badge 2023-01-12 09:20:03 +01:00
Mauro Romito
b1a10750ff done 2023-01-11 23:40:35 +01:00
Mauro Romito
e40a36e462 this is required to enable custom colors for specific links 2023-01-11 21:39:09 +01:00
Mauro Romito
5335515252 fix 2023-01-11 21:29:02 +01:00
Mauro Romito
11008835bd the behaviour is now the same as android for links, except for the the "(edited)" button which should be grey and this fix has made it blue, will check how to solve this but it might also need some design inputs regarding the "reply" label (which as android is blue, but both are very different from the ) 2023-01-11 18:45:03 +01:00
Nicolas Mauri
4dec1cef86 Fixe the now playing info center while a voice broadcast is played 2023-01-11 18:14:50 +01:00
Mauro Romito
3174da6991 default link color in the RTE 2023-01-11 15:20:18 +01:00
Flavio Alescio
fee0ebbef1 Add mark as unread option for rooms 2023-01-10 16:13:14 +01:00
Phl-Pro
b8465ebd61
Handle VoIP buttons when VB is used (#7225) 2023-01-10 14:24:46 +00:00
Alfonso Grillo
fb046b2304
Merge pull request #7231 from vector-im/alfogrillo/render_poll_end_event
Render poll ended event in the timeline (PSG-196)
2023-01-10 14:49:13 +01:00
Alfonso Grillo
f43936b516 Refine MXKEventFormatter 2023-01-10 12:20:34 +01:00
Alfonso Grillo
7a3fe14963 Fix poll.end read receipts 2023-01-10 12:20:34 +01:00
Alfonso Grillo
dd1cd703af Cleanup code 2023-01-10 12:20:34 +01:00
Alfonso Grillo
f7d9c0fe64 Fix reactions layout 2023-01-10 12:19:39 +01:00
Alfonso Grillo
8d033381f8 Fix reload bug 2023-01-10 12:18:00 +01:00
Alfonso Grillo
87fe5d04db Push poll.end event to PollAggregator 2023-01-10 12:17:15 +01:00
Alfonso Grillo
601fdf9086 Remove filter for poll.end events 2023-01-10 12:17:15 +01:00
Yoan Pintas
490c7bc19e
Delete an existing broadcast (#7219) 2023-01-10 09:32:18 +00:00
Nicolas Mauri
874ec2bd5d Pause voice broadcast listening on new voice broadcast recording (#7192) 2023-01-09 17:41:21 +01:00
Nicolas Mauri
b1b2a4ba32
Merge pull request #7245 from vector-im/nimau/7235_prevent_new_voicemessage_during_VB
Send voice message should not be allowed during a voice broadcast recording (#7235)
2023-01-09 17:13:53 +01:00
Nicolas Mauri
ec02f51fbb
Merge pull request #7243 from vector-im/nimau/7179_VB_reactions
add support for reactions on VB (#7179)
2023-01-09 17:09:33 +01:00
Nicolas Mauri
61ad17785c Ensures that we only support reactions for a start event 2023-01-09 14:46:26 +01:00
Nicolas Mauri
ad4ddc7025 Allow to add reactions on VB using a long press gesture 2023-01-09 14:18:31 +01:00
Nicolas Mauri
3ba73dfc5a Send voice message should not be allowed during a voice broadcast recording (#7235) 2023-01-06 17:45:48 +01:00
Nicolas Mauri
0caba8b20d Fix clearCache method on VoiceMessageAttachmentCacheManager 2023-01-06 16:14:43 +01:00
Nicolas Mauri
48cdd5f392 add support for reactions on VB (#7179) 2023-01-06 12:18:19 +01:00
Nicolas Mauri
daea28bf73
Merge pull request #7242 from vector-im/nimau/7240_voice_message_temp_file_not_deleted
Fix temporary file deletion for a voice message (#7240)
2023-01-06 09:29:32 +01:00
Nicolas Mauri
09d9e27bb7 Fix temporary file deletion for a voice message (#7240)
Signed-off-by: Nicolas Mauri <nicolasm@element.io>
2023-01-05 16:43:04 +01:00
Nicolas Mauri
3561b4111c fixed a crash when a new DM room is created (#7232)
Signed-off-by: Nicolas Mauri <nicolasm@element.io>
2023-01-05 10:47:01 +01:00
Alfonso Grillo
5510f1205d
Merge pull request #7221 from vector-im/alfogrillo/fix_navigation_to_replied_message
Fix navigation from replies
2023-01-04 16:16:08 +01:00
David Langley
0d2baf60fb
Update Riot/Modules/LocationSharing/LocationManager.swift
Co-authored-by: Alfonso Grillo <alfogrillo@element.io>
2023-01-03 17:54:02 +00:00
David Langley
16a75563b1 remove unnecessary function 2023-01-03 16:55:28 +00:00
David Langley
20dfdb1881 Revert "remove unnecessary function"
This reverts commit 16650b4084.
2023-01-03 16:54:41 +00:00
David Langley
16650b4084 remove unnecessary function 2023-01-03 16:54:03 +00:00
David Langley
6e278e92ed Fix both issues as outlined in 7222 2023-01-03 16:52:25 +00:00
Alfonso Grillo
5e3776524e Fix module navigation 2023-01-03 15:39:08 +01:00
Johannes Marbach
e4ee7cf0ba Fix hidden live location timeline tiles after text messages
This prevents `MXEventTypeBeaconInfo` events from being added into other
bubble cell data objects.

Previously, when starting a live location share right after
sending a text message, the beacon info event would get appended into the text
message's bubble cell data which prevented it from rendering.

Similarly, when restarting the app in such a situation the events would be getting
reprocessed _in backwards order_ which meant the final beacon info landed in
its own bubble cell data (causing it to render) but a beacon info right before the
text message would now get combined with the text message causing it to go hidden.
2023-01-03 13:57:23 +01:00
Alfonso Grillo
512f45d569 Amend comment 2023-01-03 13:25:56 +01:00
Alfonso Grillo
1e4b3f992e Fix navigation to replied message 2023-01-02 19:49:52 +01:00
Gil Eluard
c4d66d6364
Merge pull request #7185 from vector-im/gil/6059-Load_thread_list_using_server-side_sorting_and_pagination
Load the thread list using server-side sorting and pagination
2022-12-28 10:36:19 +01:00
Phl-Pro
ece07c4446
VoiceBroadcast: Manage app crash cases when recording (#7188)
* Cancel automatically a Voice Broadcast from a room after an app crash
* We limit for the moment the uncompleted voice broadcast cleaning to the breadcrumbs rooms list

By considering potential performance issues, we decided to limit the uncompleted VB cleaning in the recents list service:
- we run the process only once when the application is resumed
- we run the process only on the breadcrumbs rooms list

This prevent us from checking several times in parallel the same room (because a room may be listed in several recents sections)
This prevent us from checking several times the same room (each room should be checked only once after the app resume)
If a room is not checked from the recents list, a sanity check is still done in RoomViewController (to clean the room when the user opens it)
2022-12-23 15:25:52 +01:00
Yoan Pintas
7a513cf0e5
[Voice Broadcast] Add chunk after decrypting the event. (#7181) 2022-12-19 19:32:01 +01:00
Yoan Pintas
3e9b3aa877
Update the room description in the rooms list in case of live broadcast (incoming or outgoing) (#7160) 2022-12-19 19:26:55 +01:00
Gil Eluard
8a9f1d2a78 Load the thread list using server-side sorting and pagination 2022-12-19 14:56:06 +01:00
Mauro Romito
5efc17c3f7 Merge branch 'develop' into mauroromito/inline_code 2022-12-16 10:09:31 +01:00
Mauro Romito
fd10308048 updated package and added background color 2022-12-15 18:45:33 +01:00
Mauro Romito
0633eedc06 fix that works both iOS 15 and iOS 16 2022-12-15 16:33:25 +01:00
Velin92
9c1341118c
Merge pull request #7170 from vector-im/mauroromito/7109_fix_formatted_links
Fix for formatted links appearing in black
2022-12-15 12:37:38 +01:00
Mauro Romito
32855a04b9 better comment 2022-12-15 12:36:44 +01:00
Mauro Romito
2a06ee59bc Revert "removed underline from links"
This reverts commit 3744d03556.
2022-12-15 04:29:49 +01:00
Mauro Romito
3744d03556 removed underline from links 2022-12-15 04:28:01 +01:00
Mauro Romito
2518075dc0 code improvement 2022-12-15 03:40:15 +01:00
Mauro Romito
ece237fbd8 better comment 2022-12-15 03:37:15 +01:00
Mauro Romito
3552ed7522 removed unused code 2022-12-15 01:44:26 +01:00
Mauro Romito
22479c53d6 fix 2022-12-15 01:41:45 +01:00
Andy Uhnak
9d806abcdc Fix Sentry errors 2022-12-14 17:25:27 +00:00
Velin92
a484c283cb
Merge pull request #7158 from vector-im/mauroromito/rich_text_editor_links
Rich Text Editor: Adding/Editing Links feature
2022-12-14 13:31:15 +01:00
Alfonso Grillo
7170daa82f
Merge pull request #7140 from vector-im/alfogrillo/badge_threshold
Add threshold for unread messages in all the spaces
2022-12-13 13:38:56 +01:00
Mauro Romito
5d28f87c5d link color support added 2022-12-12 19:26:45 +01:00
Mauro Romito
f1545f7485 fix 2022-12-12 18:50:26 +01:00
Mauro Romito
b12244338f implementation done, only tests, localisation and design feedback are left 2022-12-12 18:29:13 +01:00
Gil Eluard
7a05ee3a46 Turn on Threads for all users 2022-12-12 16:43:06 +01:00
Mauro Romito
ef1b189813 WIP 2022-12-12 15:39:57 +01:00
Gil Eluard
892f1a5066
Merge pull request #7152 from vector-im/gil/7151-Thread_preview_doesnt_update_in_main_timeline
Thread preview doesn't update in main timeline
2022-12-09 15:55:59 +01:00
Gil Eluard
2b66bbe57a Thread preview doesn't update in main timeline
- Fixed
2022-12-09 14:58:07 +01:00
Mauro Romito
9398240c18 boilerplate setup completed 2022-12-07 19:22:33 +01:00
Mauro Romito
bb1155b9f1 creating the coordinator for the link action view 2022-12-07 18:17:28 +01:00
Alfonso Grillo
0d76247c84 Add badge threshold logic 2022-12-07 14:53:28 +01:00
Phl-Pro
d1c3ee1c11
Merge pull request #5644 from vector-im/phlpro/fix_peeking
Update RoomDataSource init finalization to fix peeking case
2022-12-06 09:21:07 +01:00