Commit Graph

73 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 d181065321 Use the layer's corner radius rather than a custom mask.
This will ensure the mask bounds always match the view's size.
2021-07-14 10:37:54 +01:00
Doug c7176c7423 Always update the path of the attachmentView's mask to handle reuse. 2021-07-14 10:15:50 +01:00
Doug 83e05d26ac Use updated methods in MatrixKit. 2021-07-12 14:02:29 +01:00
Doug ba8123c73a Fix sending a video selected from a document picker. 2021-07-08 17:41:55 +01: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 f370438d68 Merge branch 'develop' into voip_design_updates 2021-04-09 15:12:51 +03:00
Gil Eluard 773e72e9f5 Update after review 2021-04-08 15:59:53 +02:00
Gil Eluard 1aa20c462d Update after review 2021-04-08 15:19:02 +02:00
Gil Eluard ad0f7c9143 Limit typing notifications timeline jumps 2021-04-06 13:09:30 +02:00
ismailgulek 979bfebc2a Merge branch 'develop' into voip_design_updates 2021-04-02 14:39:37 +03:00
Gil Eluard fd7d69c39d Explore typing notifications inspired by web
- prevent timeline from going up and down by keeping the space allocated for the typing notification
2021-03-29 22:26:03 +02:00
Gil Eluard 557f84cfec Explore typing notifications inspired by web
- bug fixing
2021-03-25 11:53:45 +01:00
Gil Eluard 17a92c5e2d Explore typing notifications inspired by web
- First iteration
2021-03-22 19:55:41 +01:00
manuroe ccca2efc99 Merge pull request #4127 from vector-im/4115_remove_shields_from_room_list
Room lists: Remove shields on room avatars
2021-03-19 09:54:54 +01:00
manuroe c7e413dc37 Room lists: Remove shields on room avatars
#4115

but keep it in the room screen
2021-03-17 15:32:01 +01:00
ismailgulek 83cfb26b15 Merge branch 'develop' into voip_design_updates 2021-03-17 16:37:52 +03:00
ismailgulek cad67a88f9 Fix returning number of rows in room data source 2021-03-17 15:54:10 +03:00
ismailgulek 335ddf78e8 Fix #4125 2021-03-17 00:49:07 +03:00
Gil Eluard 84d49f1344 Merge branch 'element_4014' into element_4013
# Conflicts:
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-03-09 13:22:13 +01:00
Gil Eluard 230498192a Improve the status of send messages (sending, sent, received, failed)
- update after review
2021-03-09 11:59:54 +01:00
Gil Eluard e5042aa3f9 Retrying & deleting failed messages
- If users press on Retry, send again the message and display a loading wheel
- code and UI tweaks
2021-03-03 10:27:08 +01:00
Gil Eluard 20d0d43b0a Improve the status of send messages (sending, sent, received, failed)
- Code tweaks
2021-02-26 07:19:46 +01:00
Gil Eluard 100c16b032 Merge branch 'develop' into element_4014
# Conflicts:
#	Riot.xcodeproj/project.pbxproj
#	Riot/Modules/Room/DataSources/RoomDataSource.m
2021-02-25 15:49:53 +01:00
Gil Eluard 44f1e827cd Improve the status of send messages (sending, sent, received, failed)
- tweaks and new L&F for download progress
2021-02-25 11:07:21 +01:00
Gil Eluard 36cb9c49d5 Improve the status of send messages (sending, sent, received, failed)
- Code tweaks
2021-02-23 22:05:39 +01:00
Gil Eluard f09c64439a Improve the status of send messages (sending, sent, received, failed)
- Bug fixing and imporvement
2021-02-23 21:21:15 +01:00
SBiOSoftWhare 46dc396628 RoomDataSource: Fix insertRoomCreationIntroCellDataIfNeeded method. 2021-02-23 09:34:27 +01:00
SBiOSoftWhare 75414f8ebe RoomDataSource: Add thread safety instructions for bubbles array in insertRoomCreationIntroCellDataIfNeeded. 2021-02-23 08:47:50 +01:00
Gil Eluard cd76369f9d Improve the status of send messages (sending, sent, received, failed)
- First implementation
2021-02-22 13:51:25 +01:00
SBiOSoftWhare 2b6008cea1 RoomDataSource: Handle RoomCreationIntroCell conditional display. 2021-02-22 00:12:00 +01:00
SBiOSoftWhare f19ba09ba7 RoomDataSource: Handle cells conforming to BubbleCellReactionsDisplayable. 2020-08-04 17:25:53 +02:00
manuroe 685b2931b0 Jitsi: Support v1 and v2 widget types 2020-04-24 09:04:49 +02:00
SBiOSoftWhare 25e8f7fccf Refactor DeviceVerification prefix classes to KeyVerification where needed. And move key verification related classes into the same module KeyVerification. 2020-03-18 17:39:26 +01:00
manuroe 9d2df2f0e2 MXCrypto: Rename MXDeviceVerificationManager to MXKeyVerificationManager
Because it makes more sense now
2020-02-11 13:56:36 +01:00
SBiOSoftWhare 558f3853be RoomVC: Use cells with encryption badge only if needed in order to recover horizontal white space. 2020-02-06 18:46:32 +01:00
manuroe babec2ff28 Room decoration: Use shields instead of padlocks
#2906
2020-01-31 14:59:54 +01:00
manuroe aeaf99d0d2 Shields: Shields in one self room should be green if I have no other device 2020-01-30 17:48:22 +01:00
manuroe 3c4383534a Room Shield: Use sync version of [MXRoom membersTrustLevelSummary:]
https://github.com/vector-im/riot-ios/issues/2956
to break keys downloads in loop
2020-01-30 17:16:53 +01:00
SBiOSoftWhare b37505c13f RoomDataSource: Fix refactoring. 2020-01-23 16:39:33 +01:00
SBiOSoftWhare 39727df980 RoomDataSource: Now compute encryption trust level from trusted devices percentage in room. 2020-01-23 16:37:23 +01:00
SBiOSoftWhare fed1ce4560 RoomDataSource: Handle room members trust level for an encrypted room. 2020-01-22 16:21:47 +01:00
SBiOSoftWhare 058afa4497 RoomDataSource: Handle RoomBubbleCellData key verification update. Handle incoming key verification approval. 2020-01-14 21:47:16 +01:00
SBiOSoftWhare be29cd9a58 RoomDataSource: Handle read receipts display for cells conforming to BubbleCellReadReceiptsDisplayable. 2019-12-20 10:44:01 +01:00
manuroe 27dc33431d VoiceOver: RoomVC: No VoiceOver on media
#2726
2019-09-20 16:25:15 +02:00
SBiOSoftWhare 04ae4d46bf RoomDataSource: Do not display reactions when event is redacted. 2019-07-30 18:24:12 +02:00
SBiOSoftWhare 6f1fb71a84 Reactions: Add long press gesture on bubble cell reactions. 2019-07-30 17:24:45 +02:00
SBiOSoftWhare 41ddf88fcb MXKRoomDataSource: Handle video thumbnail generation with MXKVideoThumbnailGenerator. 2019-07-11 19:07:45 +02:00
SBiOSoftWhare 411f963033 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +02:00