Commit Graph

254 Commits

Author SHA1 Message Date
Doug 882fcab738 Refactoring and tidy up.
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests.

PreviewManager → URLPreviewManager
URLPreviewViewData → URLPreviewData
URLPreviewCache → URLPreviewStore
2021-09-01 12:28:56 +01:00
Doug 4331994d72 Load and store URLPreviewViewData in RoomBubbleCellData.
Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
2021-09-01 10:37:37 +01:00
Doug 660b95b20a Add comments about the un-sanitized URL. 2021-08-24 09:42:55 +01:00
Doug dd600e5e7e Add PreviewManger with Core Data cache and a URLPreviewView with a view model.
Changes to RoomDataSource still to come.
2021-08-23 17:56:24 +01:00
ismailgulek f85d8c6db2 Use new strings for ended calls 2021-08-06 16:20:10 +03:00
Stefan Ceriu 7c637939a9 Remove labs setting for voice messages, enable the feature by default. Fixed incorrect ffmpeg arguments. 2021-08-06 14:22:52 +03:00
ismailgulek 6d117e374d Add strings for incoming calls 2021-08-03 17:07:15 +03:00
ismailgulek 85c8241a54 Adapt string changes & new icons 2021-08-03 17:02:40 +03:00
ismailgulek 0d831c30c9 Update icon color 2021-08-03 17:01:38 +03:00
ismailgulek 4bf9461a2a Remove type and dot labels 2021-08-03 17:01:17 +03:00
manuroe f6483d7262 Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu f19511d372 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00
Doug a4075c89cb Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
Gil Eluard 36cefffd7e #4090 - Update after review 2021-07-06 23:03:56 +02:00
Doug 0f720e56d7 Fix documentation warnings. 2021-07-02 16:46:27 +01:00
Gil Eluard 8786eb4571 #4090 - Hide voice message button when on action mode 2021-06-29 10:36:10 +02:00
Gil Eluard 721e761e84 #4090 - Fixed UI regression if BuildSettings.voiceMessagesEnabled = false 2021-06-29 10:17:15 +02:00
Stefan Ceriu d627e83d09 #4094 - Added voice message attachment decryption, transcoding and sampling caching layer. 2021-06-25 12:09:41 +03:00
Stefan Ceriu 9a6dfedbd1 Merge branch 'develop' into element_4090 2021-06-24 14:45:27 +03:00
Stefan Ceriu 7e2305464c #4094 - Added multiple observation on media services and a mediaServiceProvider that prevents simultaneous playback from multiple player instances. 2021-06-24 11:29:07 +03:00
Stefan Ceriu 9fea48b8f1 Fix retain cycle between the RoomTitleView (strong tapGestureDelegate) and the RoomViewController. 2021-06-24 09:50:32 +03:00
Stefan Ceriu 1000736265 #4094 - Various tweaks, bug fixes and improvements following code review. 2021-06-23 15:37:34 +03:00
Stefan Ceriu 220b9df8ec #4096 - Extracted logic from the VoiceMessagePlaybackView. Exposed power levels from audio recorder. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 14f312ad61 #4090 - Added voice messages feature flag. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 29e5557f7a #4096 - Added voice message decoding, timeline cell and playback UI. 2021-06-22 09:42:37 +03:00
Stefan Ceriu 08f274bd61 #4090 - Add voice message controller, audio recorder and toolbar view links. Working audio file sending and cancellation. 2021-06-22 09:42:37 +03:00
Stefan Ceriu ad83bbc0f9 #4090 - Corrected dark theme appearance. 2021-06-22 09:42:37 +03:00
Stefan Ceriu b664326555 #4090 - Corrected dark theme appearance. 2021-06-22 09:42:37 +03:00
Stefan Ceriu fbb451f33c #4090 - New voice recording toolbar ui and swipe to cancel interaction. 2021-06-22 09:42:37 +03:00
Gil Eluard 53b2b05b15 Voice Messages - Hold and send
- Added voice message button
- voice recording UI state
2021-06-22 09:42:37 +03:00
David Langley bc73650451 Merge pull request #4405 from vector-im/element_4403
Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403)
2021-06-09 10:33:21 +01:00
langleyd 68dedfb5d0 Fix crash when entering a DM after a call is hung-up/rejected while being answered (#4403) 2021-06-08 14:03:17 +01:00
SBiOSoftWhare 42384a0520 RoomCreationIntroCell: Handle RoomAvatarViewData updates. 2021-06-07 18:46:16 +02:00
SBiOSoftWhare 0280c77201 RoomAvatarView: Now inherits from AvatarView, make RoomAvatarViewData conform to AvatarViewDataProtocol. 2021-06-07 18:46:16 +02:00
Stefan Ceriu 43f6c44c78 Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek 5805cfc897 Use new tile theme color 2021-05-04 19:25:24 +03:00
ismailgulek b7d43c5c4d Update end call icon color 2021-04-29 14:58:45 +03:00
ismailgulek c9a9839b91 Use call tile bg color 2021-04-28 13:46:55 +03:00
ismailgulek 6e11d5605a Merge branch 'voip_design_updates' into voip_jitsi_remover 2021-04-27 14:51:19 +03:00
ismailgulek 0c5a94f639 Add end call button for active calls 2021-04-27 14:50:58 +03:00
ismailgulek 7d5b0fbeb9 Update connecting and ringing state strings 2021-04-27 14:35:56 +03:00
ismailgulek 81c80b97f9 Create slider view 2021-04-23 17:54:03 +03:00
ismailgulek 5c9cd4f1ed Add leave action to call tiles 2021-04-21 14:52:51 +03:00
ismailgulek fa0c0af555 Adjust join button content insets 2021-04-21 13:58:15 +03:00
ismailgulek 9c0a1e69a7 Change action button font size to 17 2021-04-19 11:44:52 +03:00
ismailgulek 58ef3431d4 Change body font size to 13px 2021-04-19 11:41:06 +03:00
ismailgulek aa9407b6e8 Change some colors to secondary 2021-04-19 11:36:11 +03:00
ismailgulek 68d0eb8194 Update group call icon and title 2021-04-15 16:49:04 +03:00
ismailgulek d81356128c Fix cell height for call tiles if read receipts displayed 2021-04-12 02:36:55 +03:00
ismailgulek bae175985e Fix read receipts on call tiles 2021-04-12 01:27:38 +03:00