This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
MXMediaManager/MXMediaLoader: Do not allow non-mxc content URLs #487
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deprecate some MXKAttachment interfaces (actualURL..) because only Matrix Content URI should be considered now. Deprecate the MXKImageView "setImageURL:" interface for the same reason.
… to fit a specific view size. CAUTION: this method is available only for the unencrypted content.
…eprecated one [setImageURL:...] .
manuroe
reviewed
Nov 12, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but could we remove all deprecated methods, please?
That will help to maintain it later.
manuroe
approved these changes
Nov 13, 2018
giomfo
added a commit
to tchapgouv/tchap-ios
that referenced
this pull request
Nov 14, 2018
Improvements: * Replace the deprecated MXMediaManager and MXMediaLoader interfaces use (see matrix-org/matrix-ios-sdk/pull/593). * Replace the deprecated MXKAttachment and MXKImageView interfaces use (see matrix-org/matrix-ios-kit/pull/487). * Server Quota Notices: Implement the blue banner (1937). * Lazy loading: Enable it by default (if the homeserver supports it). * i18n: Add Spanish (sp). * Settings: Make advanced info copyable (2023). * Settings: Made cryptography info copyable, thanks to @daverPL (PR 1999). Bug fix: * Notifications: old notifications can reappear (1985). * Fix missing read receipts when lazy-loading room members. * Weird text color when selecting a message (2046). * Fix input toolbar reset in RoomViewController on MXSession state change (2006 and 2008). * User defaults: the preset application language (if any) is ignored. * Recents: Avoid to open a room twice (it crashed on room creation on quick HSes). * Riot-bot: Do not try to create a room with it if the user homeserver is not federated. * Empty app if initial /sync fails (1975). * Fix possible race conditions in direct rooms management.
giomfo
added a commit
to tchapgouv/tchap-ios
that referenced
this pull request
Nov 14, 2018
* Rebase onto vector-im/riot-ios: Improvements: * Replace the deprecated MXMediaManager and MXMediaLoader interfaces use (see matrix-org/matrix-ios-sdk/pull/593). * Replace the deprecated MXKAttachment and MXKImageView interfaces use (see matrix-org/matrix-ios-kit/pull/487). * Server Quota Notices: Implement the blue banner (1937). * Lazy loading: Enable it by default (if the homeserver supports it). * i18n: Add Spanish (sp). * Settings: Make advanced info copyable (2023). * Settings: Made cryptography info copyable, thanks to @daverPL (PR 1999). Bug fix: * Notifications: old notifications can reappear (1985). * Fix missing read receipts when lazy-loading room members. * Weird text color when selecting a message (2046). * Fix input toolbar reset in RoomViewController on MXSession state change (2006 and 2008). * User defaults: the preset application language (if any) is ignored. * Recents: Avoid to open a room twice (it crashed on room creation on quick HSes). * Riot-bot: Do not try to create a room with it if the user homeserver is not federated. * Empty app if initial /sync fails (1975). * Fix possible race conditions in direct rooms management. - Remove deprecated MXKImageView interface use
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improvements:
Deprecated API: