Commit Graph

974 Commits

Author SHA1 Message Date
Stefan Ceriu f988fadaf0 Fixes #4935 - Enable voice message scrubbing pan gesture only after long press. 2021-10-08 14:18:53 +03:00
Stefan Ceriu 715d1382ed vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-10-08 11:33:13 +03:00
manuroe 08ce35c4c5 Merge branch 'master' into develop 2021-09-30 23:51:17 +01:00
Stefan Ceriu 010178f397 vector-im/element-ios/issues/4899 - Fixed various localization issues. 2021-09-30 09:40:12 +03:00
Stefan Ceriu 04bc95a85c vector-im/element-ios/issues/4899 - Replaced (*almost*) all NSLocalizedString calls with newly generated ObjC methods. 2021-09-30 09:40:12 +03:00
Doug 0764252138 Check whether URL previews should be shown in a single location.
Reset all cell data when this setting is changed to force a refresh.
Rename `hasClosedPreview(from:)` to `shouldShowPreview(for:)` for clarity and potentially adding more rules at a later date.
2021-09-29 11:39:11 +01:00
Doug f790d3dcae Add invalidateLayout to RoomBubbleCellData. 2021-09-29 10:36:35 +01:00
SBiOSoftWhare 1b35ced721 AvatarViewData: Make mediaManager property optional. 2021-09-29 11:28:13 +02:00
Doug 2887fd27ef Use bubbleComponentWithLinkForEventId: in RoomDataSource. 2021-09-27 18:43:53 +01:00
Doug 6745fe48f4 Move URL preview properties from RoomBubbleCellData in MXKRoomBubbleComponent.
Stop breaking up the bubble data for links now that vertical whitespace is added.
2021-09-27 18:15:48 +01:00
Doug 63e86bea1c Merge branch 'develop' into doug/4896_url_previews_string_whitespace 2021-09-27 14:44:17 +01:00
Doug d230a76c40 Rename refreshAttributedTextMessage to makeAttributedString to indicate that it doesn't affect the attributedTextMessage. 2021-09-24 17:06:50 +01:00
Doug 67f4b5bb43 Rename setNeedsUpdateContent to invalidateTextLayout. 2021-09-24 15:33:04 +01:00
Doug 6142ce51a9 Use setNeedsUpdateContent instead of setting the attributed string to nil. 2021-09-24 15:19:24 +01:00
Gil Eluard c95ae45eae Try to fix CI build issues 2021-09-23 21:33:23 +02:00
Gil Eluard 2c26097d3a Try to fix CI build issues 2021-09-23 21:06:29 +02:00
Doug 6bae045bad Include URL previews in addVerticalWhitespaceToString:forEvent: and remove heightForCellData:withMaximumWidth: from the various TextMsgBubbleCell subclasses.
Use the bubble cell data's available width when sizing URL previews and update the defaultAvailableWidth and reducedWidthThreshold accordingly.
2021-09-23 17:30:24 +01:00
Gil Eluard 3a09ee688c [Spaces] M10.6.1 Handle space link #4498
- Update after code review
2021-09-23 17:15:32 +02:00
Gil Eluard 2e2f4c638e Merge branch 'spaces' into gil/4498_Handle_space_link 2021-09-23 15:26:29 +02:00
Gil Eluard c3e2bb6880 Merge branch 'develop' into spaces 2021-09-23 15:26:06 +02:00
David Langley 8efeae2562 Merge pull request #4892 from vector-im/langleyd/4772_voice_message_drafts
Voice message draft persistence
2021-09-23 11:21:26 +00:00
David Langley 37a0a6862b use roomId for audioPlayerId, remove dead code, make functions private. 2021-09-23 10:55:35 +01:00
David Langley 9ba562944f Merge pull request #4878 from vector-im/langleyd/4774_voice_message_scrubbing
Langleyd/4774 voice message scrubbing
2021-09-23 09:35:38 +00:00
David Langley 98f73c261c Remove space 2021-09-23 09:39:09 +01:00
David Langley 35bb840d74 Use RoomId for room by room drafts. 2021-09-23 08:48:15 +01:00
David Langley 76e1095c0f Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
Gil Eluard 63a4494569 Merge branch 'gil/pre_release_fixes' into gil/4498_Handle_space_link 2021-09-22 16:58:28 +02:00
Stefan Ceriu c68bdc54b9 Merge branch 'develop' into stefan/4881-configurable-app-name-localization-strings
# Conflicts:
#	Riot/Generated/Strings.swift
2021-09-22 17:17:05 +03:00
Stefan Ceriu f9a4178f2a Fixes #4881 - Replaced InfoPlist.cfBundleDisplayName with AppInfo.current.displayName and removed the now unused InfoPlist generated class. 2021-09-22 16:59:47 +03:00
Gil Eluard 9a7a16220a Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Assets/en.lproj/Vector.strings
2021-09-22 15:39:06 +02:00
Gil Eluard ba3f71ebe1 [Spaces] M10.6.1 Handle space link #4498
- Fixed universal links
- Added support for space links
2021-09-22 14:58:19 +02:00
David Langley 7480b4c008 Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley 75fd5ae87b Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4774_voice_message_scrubbing 2021-09-22 13:17:32 +01:00
Stefan Ceriu c69d364ad1 Fixes #4881 - Using the bundle display name as the app name in localizable .strings files. Exposing generated .strings and info.plist members to Objective-C. 2021-09-22 14:10:16 +03:00
David Langley e367b670c6 Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley 8a1acece2f Merge pull request #4876 from vector-im/langleyd/4773_pause_resume_voice_messages
Add Pause/Resume support between rooms.
2021-09-22 09:38:35 +00:00
David Langley 84ad1ec372 Add scrubbing 2021-09-22 09:36:20 +01:00
David Langley a178f587c2 Add Pause/Resume support between rooms. 2021-09-21 15:52:53 +01:00
Stefan Ceriu f94dee6025 Fixes #4830 - Automatically dismissing invites for empty rooms after failing to join. 2021-09-21 16:28:48 +03:00
Gil Eluard 9715eb35d9 Merge branch 'develop' into spaces 2021-09-20 10:18:01 +02:00
SBiOSoftWhare 9fceb073ab Merge pull request #4814 from vector-im/steve/4734_room_vc_refacto
RoomVC: Add a delegate, factorize and reduce usage of AppDelegate
2021-09-17 15:58:05 +02:00
SBiOSoftWhare 7568a3b906 RoomVC: Fix comment mistake. 2021-09-17 14:21:27 +02:00
SBiOSoftWhare 6df84665d6 RoomVC: Remove unnecessary nonnull. 2021-09-17 14:19:38 +02:00
SBiOSoftWhare e04049cdbb Update Riot/Modules/Room/RoomViewController.h
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-17 13:21:53 +02:00
Doug ab09b96ee1 Use constants. 2021-09-16 17:13:56 +01:00
Doug 3729440196 Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
Gil Eluard 3c44587e87 Merge branch 'develop' into spaces 2021-09-16 15:47:32 +02:00
manuroe c838f58229 Merge remote-tracking branch 'origin/master' into develop 2021-09-16 15:01:40 +02:00
Gil Eluard 068f4b3ce0 Merge branch 'develop' into spaces
# Conflicts:
#	Riot/Modules/Common/Avatar/AvatarViewDataProtocol.swift
#	Riot/Modules/Common/Recents/RecentsViewController.m
#	Riot/Modules/Home/Views/RoomCollectionViewCell.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
2021-09-15 14:42:04 +02:00
Stefan Ceriu f1d3e5af9d Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00