Commit Graph

2525 Commits

Author SHA1 Message Date
Doug 2937d70824 Rename setNeedsUpdateContent to invalidateTextLayout. 2021-09-24 15:33:04 +01:00
Doug 97cede6d50 Use setNeedsUpdateContent instead of setting the attributed string to nil. 2021-09-24 15:19:24 +01:00
Doug ac3b2c1677 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
David Langley e800a2ec42 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
ismailgulek 49dcce97d1 Merge pull request #4877 from vector-im/ismail/4874_fix_scroll_crash
RecentsViewController: Fix scroll crash
2021-09-22 18:43:34 +03:00
David Langley fb5b1b28e9 Simplify scrubbing logic. 2021-09-22 16:26:20 +01:00
Stefan Ceriu fc3e70891a 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 b41cd1e1a4 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
David Langley 80f407857f Build on xcode 12 2021-09-22 13:53:26 +01:00
David Langley 928e4e1cc3 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 cc8b6a8d75 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 3bd7b5ee99 Merge branch 'develop' of github.com:vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-22 11:39:42 +01:00
David Langley d0ca7fa921 Simplify scrubbing and reset to stopped if scrub to start/end 2021-09-22 11:12:45 +01:00
David Langley 5a91047f7e 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 46f31830ca Add scrubbing 2021-09-22 09:36:20 +01:00
ismailgulek 554230a2b1 Check index path is valid before scrolling 2021-09-22 11:04:56 +03:00
Stefan Ceriu eba9b1c65c Fix #4415 - Added back section header when only PIN available. 2021-09-22 08:44:48 +03:00
Stefan Ceriu 36abbc76ba Fix #4415 - Cannot disable Face ID after disabling pin. Fixed security vc cell tags comparisons. 2021-09-22 08:44:48 +03:00
Stefan Ceriu d250eb778a Fix #4461 - "PIN & (NULL)" when device biometrics not available (or not enrolled). 2021-09-22 08:44:48 +03:00
Stefan Ceriu ccf1ae95a2 Don't invoke biometrics setup after chaning the pin if already set up. 2021-09-22 08:44:48 +03:00
David Langley 6e642c4374 Add Pause/Resume support between rooms. 2021-09-21 15:52:53 +01:00
Stefan Ceriu 9a12590dc3 Fixes #4830 - Automatically dismissing invites for empty rooms after failing to join. 2021-09-21 16:28:48 +03:00
David Langley 370d4271eb Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-20 08:50:38 +01:00
Stefan Ceriu f621936f91 Fixes #4843 - Prevent home screen horizontal scroll views from capturing side menu swipe gestures. 2021-09-17 17:58:44 +03:00
SBiOSoftWhare 46b7dd67a9 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 2eb8b06b07 RoomVC: Fix comment mistake. 2021-09-17 14:21:27 +02:00
SBiOSoftWhare 73ea384cd0 RoomVC: Remove unnecessary nonnull. 2021-09-17 14:19:38 +02:00
SBiOSoftWhare 670e5f0198 Update Riot/Modules/Room/RoomViewController.h
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2021-09-17 13:21:53 +02:00
Doug 24a4fd2a93 Merge pull request #4857 from vector-im/doug/4828_enable_url_previews
Enable URL Previews by default and remove from Labs.
2021-09-16 22:23:09 +01:00
Doug 401e1b3cdf Enable URL Previews by default and remove from Labs. 2021-09-16 17:51:56 +01:00
Doug f644eaec8a Use constants. 2021-09-16 17:13:56 +01:00
Doug e2a0b5fc23 Reduce the width of URL previews on 4" devices. 2021-09-16 16:41:21 +01:00
manuroe 6724ee9a2f Merge remote-tracking branch 'origin/master' into develop 2021-09-16 15:01:40 +02:00
David Langley e8ff4e9154 Merge branch 'develop' of https://github.com/vector-im/element-ios into langleyd/4781_swiftui_template_examples 2021-09-15 14:33:05 +01:00
Stefan Ceriu ee417c21d8 Revert "Revert "#4693 - Drop iOS 11 support."" 2021-09-14 11:41:36 +03:00
SBiOSoftWhare cd922d2878 Merge pull request #4817 from pengufrost/4785_fix_sso_redirect 2021-09-14 08:43:16 +02:00
Chelsea Finnie 243dcec50b Updated SSOAuthenticationService.swift to append / to redirect path if using an identity provider 2021-09-14 10:57:35 +12:00
Doug c9e522dfd7 Override hasLink in RoomBubbleCellData to only check the last component. 2021-09-13 17:47:52 +01:00
Doug 83b8148ab5 Ensure the last bubble component has a link before loading the URL preview. 2021-09-13 16:49:34 +01:00
David Langley a962dfff29 Always get the identifier from the theme. 2021-09-10 11:14:42 +01:00
David Langley ebcaa37568 get theme id from theme, always republish theme updates. 2021-09-10 10:54:50 +01:00
Chelsea Finnie b74636f4b6 Fix redirection issue when logging in with single sign on. Fixes #4785.
Signed-off-by: Chelsea Finnie <chelseafinnie@catalyst.net.nz>
2021-09-10 15:14:38 +12:00
David Langley eaedefa3c2 Add configurable logger for RiotSwiftUI 2021-09-09 22:42:00 +01:00
SBiOSoftWhare ee7f6b52f7 Merge branch 'develop' into steve/4734_nav_room_stack
# Conflicts:
#	Riot/Modules/Room/RoomViewController.m
2021-09-09 16:45:35 +02:00
Doug 13ddb8cfaf Merge pull request #4790 from vector-im/doug/888_add_url_previews
Add URL previews as a Labs feature
2021-09-08 17:19:41 +01:00
Doug b7ed2d6d58 Revert height computation for now. 2021-09-08 15:59:30 +01:00
David Langley 350fc6a742 CoordinatorParamters, Type -> Protocol, remove MX Prefix. 2021-09-08 15:47:24 +01:00
Doug ecf9503dc9 Update for PR feedback.
URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
2021-09-08 15:10:13 +01:00
ismailgulek 591b29b644 Remove forgotten Jitsi call property and function 2021-09-08 14:07:19 +03:00
ismailgulek fff8bb63ac Wait for sync response when clearing cache 2021-09-08 14:06:41 +03:00