From fb315931a41a2c730451a35f775eb4fa570671e8 Mon Sep 17 00:00:00 2001 From: Stephenie Harris Date: Thu, 11 Jun 2020 14:22:11 -0600 Subject: [PATCH 1/5] Remove Giphy files and usage. --- .../Classes/Services/MediaImportService.swift | 3 - .../WPAnalyticsTrackerAutomatticTracks.m | 17 -- .../Analytics/WPAppAnalytics+Media.swift | 5 - .../AztecPostViewController.swift | 12 +- .../Media/Giphy/GiphyDataLoader.swift | 60 ------ .../Media/Giphy/GiphyDataSource.swift | 199 ------------------ .../ViewRelated/Media/Giphy/GiphyMedia.swift | 102 --------- .../Media/Giphy/GiphyMediaGroup.swift | 27 --- .../Media/Giphy/GiphyPageable.swift | 39 ---- .../ViewRelated/Media/Giphy/GiphyPicker.swift | 149 ------------- .../Media/Giphy/GiphyResultsPage.swift | 24 --- .../Media/Giphy/GiphyService.swift | 30 --- .../Media/Giphy/GiphyStrings.swift | 25 --- .../Giphy/NoResultsGiphyConfiguration.swift | 28 --- .../MediaLibraryMediaPickingCoordinator.swift | 22 +- .../Media/MediaLibraryViewController.swift | 17 -- .../AztecMediaPickingCoordinator.swift | 15 +- .../giphy-attribution.imageset/Contents.json | 26 --- .../giphy-attribution.png | Bin 824 -> 0 bytes .../giphy-attribution@2x.png | Bin 5921 -> 0 bytes .../giphy-attribution@3x.png | Bin 8537 -> 0 bytes WordPress/WordPress.xcodeproj/project.pbxproj | 48 ----- 22 files changed, 4 insertions(+), 844 deletions(-) delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataLoader.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataSource.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyMedia.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyMediaGroup.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyPageable.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyPicker.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyResultsPage.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyService.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/GiphyStrings.swift delete mode 100644 WordPress/Classes/ViewRelated/Media/Giphy/NoResultsGiphyConfiguration.swift delete mode 100644 WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/Contents.json delete mode 100644 WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/giphy-attribution.png delete mode 100644 WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/giphy-attribution@2x.png delete mode 100644 WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/giphy-attribution@3x.png diff --git a/WordPress/Classes/Services/MediaImportService.swift b/WordPress/Classes/Services/MediaImportService.swift index 153a6aa06616..26b8beed66eb 100644 --- a/WordPress/Classes/Services/MediaImportService.swift +++ b/WordPress/Classes/Services/MediaImportService.swift @@ -86,9 +86,6 @@ open class MediaImportService: LocalCoreDataService { exporter.videoOptions = self.exporterVideoOptions exporter.urlOptions = self.exporterURLOptions return exporter - case let giphyMedia as GiphyMedia: - let exporter = MediaExternalExporter(externalAsset: giphyMedia) - return exporter case let stockPhotosMedia as StockPhotosMedia: let exporter = MediaExternalExporter(externalAsset: stockPhotosMedia) return exporter diff --git a/WordPress/Classes/Utility/Analytics/WPAnalyticsTrackerAutomatticTracks.m b/WordPress/Classes/Utility/Analytics/WPAnalyticsTrackerAutomatticTracks.m index 5ebe32412024..b7b0c5ce9c9b 100644 --- a/WordPress/Classes/Utility/Analytics/WPAnalyticsTrackerAutomatticTracks.m +++ b/WordPress/Classes/Utility/Analytics/WPAnalyticsTrackerAutomatticTracks.m @@ -446,10 +446,6 @@ + (TracksEventPair *)eventPairForStat:(WPAnalyticsStat)stat case WPAnalyticsStatDomainCreditRedemptionTapped: eventName = @"domain_credit_redemption_tapped"; break; - case WPAnalyticsStatEditorAddedPhotoViaGiphy: - eventName = @"editor_photo_added"; - eventProperties = @{ @"via" : @"giphy" }; - break; case WPAnalyticsStatEditorAddedPhotoViaLocalLibrary: eventName = @"editor_photo_added"; eventProperties = @{ @"via" : @"local_library" }; @@ -708,15 +704,6 @@ + (TracksEventPair *)eventPairForStat:(WPAnalyticsStat)stat case WPAnalyticsStatEnhancedSiteCreationErrorShown: eventName = @"enhanced_site_creation_error_shown"; break; - case WPAnalyticsStatGiphyAccessed: - eventName = @"giphy_accessed"; - break; - case WPAnalyticsStatGiphySearched: - eventName = @"giphy_searched"; - break; - case WPAnalyticsStatGiphyUploaded: - eventName = @"giphy_uploaded"; - break; case WPAnalyticsStatGravatarCropped: eventName = @"me_gravatar_cropped"; break; @@ -880,10 +867,6 @@ + (TracksEventPair *)eventPairForStat:(WPAnalyticsStat)stat eventName = @"media_library_photo_added"; eventProperties = @{ @"via" : @"device_library" }; break; - case WPAnalyticsStatMediaLibraryAddedPhotoViaGiphy: - eventName = @"media_library_photo_added"; - eventProperties = @{ @"via" : @"giphy" }; - break; case WPAnalyticsStatMediaLibraryAddedPhotoViaOtherApps: eventName = @"media_library_photo_added"; eventProperties = @{ @"via" : @"other_library" }; diff --git a/WordPress/Classes/Utility/Analytics/WPAppAnalytics+Media.swift b/WordPress/Classes/Utility/Analytics/WPAppAnalytics+Media.swift index 81b1093b40fe..0d4af8374aa9 100644 --- a/WordPress/Classes/Utility/Analytics/WPAppAnalytics+Media.swift +++ b/WordPress/Classes/Utility/Analytics/WPAppAnalytics+Media.swift @@ -134,8 +134,6 @@ enum MediaUploadOrigin { // Media Library case (.mediaLibrary(let source), .image) where source == .deviceLibrary: return .mediaLibraryAddedPhotoViaDeviceLibrary - case (.mediaLibrary(let source), .image) where source == .giphy: - return .mediaLibraryAddedPhotoViaGiphy case (.mediaLibrary(let source), .image) where source == .otherApps: return .mediaLibraryAddedPhotoViaOtherApps case (.mediaLibrary(let source), .image) where source == .stockPhotos: @@ -149,8 +147,6 @@ enum MediaUploadOrigin { case (.mediaLibrary(let source), .video) where source == .camera: return .mediaLibraryAddedVideoViaCamera // Editor - case (.editor(let source), .image) where source == .giphy : - return .editorAddedPhotoViaGiphy case (.editor(let source), .image) where source == .deviceLibrary: return .editorAddedPhotoViaLocalLibrary case (.editor(let source), .image) where source == .wpMediaLibrary: @@ -181,7 +177,6 @@ enum MediaSource { case wpMediaLibrary case stockPhotos case camera - case giphy case mediaEditor case tenor } diff --git a/WordPress/Classes/ViewRelated/Aztec/ViewControllers/AztecPostViewController.swift b/WordPress/Classes/ViewRelated/Aztec/ViewControllers/AztecPostViewController.swift index 6e4d97409700..4e900b4e3636 100644 --- a/WordPress/Classes/ViewRelated/Aztec/ViewControllers/AztecPostViewController.swift +++ b/WordPress/Classes/ViewRelated/Aztec/ViewControllers/AztecPostViewController.swift @@ -2392,10 +2392,10 @@ extension AztecPostViewController { attachment?.uploadID = media.uploadID } - /// Sets the badge title of `attachment` to "GIF" if either the media is being imported from Giphy, + /// Sets the badge title of `attachment` to "GIF" if either the media is being imported from Tenor, /// or if it's a PHAsset with an animated playback style. private func setGifBadgeIfNecessary(for attachment: MediaAttachment, asset: ExportableAsset, source: MediaSource) { - var isGif = [.giphy, .tenor].contains(source) + var isGif = source == .tenor if let asset = asset as? PHAsset, asset.playbackStyle == .imageAnimated { @@ -3307,14 +3307,6 @@ extension AztecPostViewController: StockPhotosPickerDelegate { } } -extension AztecPostViewController: GiphyPickerDelegate { - func giphyPicker(_ picker: GiphyPicker, didFinishPicking assets: [GiphyMedia]) { - assets.forEach { - insert(exportableAsset: $0, source: .giphy) - } - } -} - extension AztecPostViewController: TenorPickerDelegate { func tenorPicker(_ picker: TenorPicker, didFinishPicking assets: [TenorMedia]) { assets.forEach { diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataLoader.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataLoader.swift deleted file mode 100644 index 661e72401a50..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataLoader.swift +++ /dev/null @@ -1,60 +0,0 @@ -/// Implementations of this protocol will be notified when data is loaded from the GiphyService -protocol GiphyDataLoaderDelegate: class { - func didLoad(media: [GiphyMedia], reset: Bool) -} - -/// Uses the GiphyService to load GIFs, handling pagination -final class GiphyDataLoader { - private let service: GiphyService - private var request: GiphySearchParams? - - private weak var delegate: GiphyDataLoaderDelegate? - - fileprivate enum State { - case loading - case idle - } - - fileprivate var state: State = .idle - - init(service: GiphyService, delegate: GiphyDataLoaderDelegate) { - self.service = service - self.delegate = delegate - } - - func search(_ params: GiphySearchParams) { - request = params - let isFirstPage = request?.pageable?.pageIndex == GiphyPageable.defaultPageIndex - state = .loading - DispatchQueue.main.async { [weak self] in - WPAnalytics.track(.giphySearched) - self?.service.search(params: params) { resultsPage in - self?.state = .idle - self?.request = GiphySearchParams(text: self?.request?.text, pageable: resultsPage.nextPageable()) - - if let content = resultsPage.content() { - self?.delegate?.didLoad(media: content, reset: isFirstPage) - } - } - } - } - - func loadNextPage() { - // Bail out if there is another active request - guard state == .idle else { - return - } - - // Bail out if we are not aware of the pagination status - guard let request = request else { - return - } - - // Bail out if we do not expect more pages of data - guard request.pageable?.next() != nil else { - return - } - - search(request) - } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataSource.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataSource.swift deleted file mode 100644 index 915b33bd339b..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyDataSource.swift +++ /dev/null @@ -1,199 +0,0 @@ -import WPMediaPicker - - -/// Data Source for Giphy -final class GiphyDataSource: NSObject, WPMediaCollectionDataSource { - fileprivate static let paginationThreshold = 10 - - fileprivate var gifMedia = [GiphyMedia]() - var observers = [String: WPMediaChangesBlock]() - private var dataLoader: GiphyDataLoader? - - var onStartLoading: (() -> Void)? - var onStopLoading: (() -> Void)? - - private let scheduler = Scheduler(seconds: 0.5) - - private(set) var searchQuery: String = "" - - init(service: GiphyService) { - super.init() - self.dataLoader = GiphyDataLoader(service: service, delegate: self) - } - - func clearSearch(notifyObservers shouldNotify: Bool) { - gifMedia.removeAll() - if shouldNotify { - notifyObservers() - } - } - - func search(for searchText: String?) { - searchQuery = searchText ?? "" - - guard searchText?.isEmpty == false else { - clearSearch(notifyObservers: true) - scheduler.cancel() - return - } - - scheduler.debounce { [weak self] in - let params = GiphySearchParams(text: searchText, pageable: GiphyPageable.first()) - self?.search(params) - self?.onStartLoading?() - } - } - - private func search(_ params: GiphySearchParams) { - dataLoader?.search(params) - } - - func numberOfGroups() -> Int { - return 1 - } - - func group(at index: Int) -> WPMediaGroup { - return GiphyMediaGroup() - } - - func selectedGroup() -> WPMediaGroup? { - return GiphyMediaGroup() - } - - func numberOfAssets() -> Int { - return gifMedia.count - } - - func media(at index: Int) -> WPMediaAsset { - fetchMoreContentIfNecessary(index) - return gifMedia[index] - } - - func media(withIdentifier identifier: String) -> WPMediaAsset? { - return gifMedia.filter { $0.identifier() == identifier }.first - } - - func registerChangeObserverBlock(_ callback: @escaping WPMediaChangesBlock) -> NSObjectProtocol { - let blockKey = UUID().uuidString - observers[blockKey] = callback - return blockKey as NSString - } - - func unregisterChangeObserver(_ blockKey: NSObjectProtocol) { - guard let key = blockKey as? String else { - assertionFailure("blockKey must be of type String") - return - } - observers.removeValue(forKey: key) - } - - func registerGroupChangeObserverBlock(_ callback: @escaping WPMediaGroupChangesBlock) -> NSObjectProtocol { - // The group never changes - return NSNull() - } - - func unregisterGroupChangeObserver(_ blockKey: NSObjectProtocol) { - // The group never changes - } - - func loadData(with options: WPMediaLoadOptions, success successBlock: WPMediaSuccessBlock?, failure failureBlock: WPMediaFailureBlock? = nil) { - successBlock?() - } - - func mediaTypeFilter() -> WPMediaType { - return .image - } - - func ascendingOrdering() -> Bool { - return true - } - - func searchCancelled() { - searchQuery = "" - clearSearch(notifyObservers: true) - } - - // MARK: Unused protocol methods - - func setSelectedGroup(_ group: WPMediaGroup) { - // - } - - func add(_ image: UIImage, metadata: [AnyHashable: Any]?, completionBlock: WPMediaAddedBlock? = nil) { - // - } - - func addVideo(from url: URL, completionBlock: WPMediaAddedBlock? = nil) { - // - } - - func setMediaTypeFilter(_ filter: WPMediaType) { - // - } - - func setAscendingOrdering(_ ascending: Bool) { - // - } -} - - -// MARK: - Helpers - -extension GiphyDataSource { - private func notifyObservers(incremental: Bool = false, inserted: IndexSet = IndexSet()) { - DispatchQueue.main.async { - self.observers.forEach { - $0.value(incremental, IndexSet(), inserted, IndexSet(), []) - } - } - } -} - -// MARK: - Pagination - -extension GiphyDataSource { - fileprivate func fetchMoreContentIfNecessary(_ index: Int) { - if shouldLoadMore(index) { - dataLoader?.loadNextPage() - } - } - - private func shouldLoadMore(_ index: Int) -> Bool { - return index + type(of: self).paginationThreshold >= numberOfAssets() - } -} - -extension GiphyDataSource: GiphyDataLoaderDelegate { - func didLoad(media: [GiphyMedia], reset: Bool) { - defer { - onStopLoading?() - } - - guard media.count > 0 && searchQuery.count > 0 else { - clearSearch(notifyObservers: true) - return - } - - if reset { - overwriteMedia(with: media) - } else { - appendMedia(with: media) - } - } - - private func overwriteMedia(with media: [GiphyMedia]) { - gifMedia = media - notifyObservers(incremental: false) - } - - private func appendMedia(with media: [GiphyMedia]) { - let currentMaxIndex = gifMedia.count - let newMaxIndex = currentMaxIndex + media.count - 1 - - let isIncremental = currentMaxIndex != 0 - let insertedIndexes = IndexSet(integersIn: currentMaxIndex...newMaxIndex) - - gifMedia.append(contentsOf: media) - notifyObservers(incremental: isIncremental, inserted: insertedIndexes) - } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyMedia.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyMedia.swift deleted file mode 100644 index 892218f64c5e..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyMedia.swift +++ /dev/null @@ -1,102 +0,0 @@ -import WPMediaPicker -import MobileCoreServices - -struct GiphyImageCollection { - private(set) var largeURL: URL - private(set) var previewURL: URL - private(set) var staticThumbnailURL: URL - private(set) var largeSize: CGSize -} - -/// Models a Giphy image -/// -final class GiphyMedia: NSObject { - private(set) var id: String - private(set) var name: String - private(set) var caption: String - private let updatedDate: Date - private let images: GiphyImageCollection - - init(id: String, name: String, caption: String, images: GiphyImageCollection, date: Date? = nil) { - self.id = id - self.name = name - self.caption = caption - self.updatedDate = date ?? Date() - self.images = images - } -} - -extension GiphyMedia: WPMediaAsset { - func image(with size: CGSize, completionHandler: @escaping WPMediaImageBlock) -> WPMediaRequestID { - let url = imageURL(with: size) - - DispatchQueue.global().async { - do { - let data = try Data(contentsOf: url) - let image = UIImage(data: data) - completionHandler(image, nil) - } catch { - completionHandler(nil, error) - } - } - - // Giphy API doesn't return a numerical ID value - return 0 - } - - private func imageURL(with size: CGSize) -> URL { - return size == .zero ? images.previewURL : images.staticThumbnailURL - } - - func cancelImageRequest(_ requestID: WPMediaRequestID) { - // Can't be canceled - } - - func videoAsset(completionHandler: @escaping WPMediaAssetBlock) -> WPMediaRequestID { - return 0 - } - - func assetType() -> WPMediaType { - return .image - } - - func duration() -> TimeInterval { - return 0 - } - - func baseAsset() -> Any { - return self - } - - func identifier() -> String { - return id - } - - func date() -> Date { - return updatedDate - } - - func pixelSize() -> CGSize { - return images.largeSize - } - - func utTypeIdentifier() -> String? { - return String(kUTTypeGIF) - } -} - -// MARK: - ExportableAsset conformance - -extension GiphyMedia: ExportableAsset { - var assetMediaType: MediaType { - return .image - } -} - -// MARK: - MediaExternalAsset conformance -// -extension GiphyMedia: MediaExternalAsset { - var URL: URL { - return images.previewURL - } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyMediaGroup.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyMediaGroup.swift deleted file mode 100644 index 469ea0bcc829..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyMediaGroup.swift +++ /dev/null @@ -1,27 +0,0 @@ -import WPMediaPicker - -final class GiphyMediaGroup: NSObject, WPMediaGroup { - func name() -> String { - return String.giphy - } - - func image(with size: CGSize, completionHandler: @escaping WPMediaImageBlock) -> WPMediaRequestID { - return 0 - } - - func cancelImageRequest(_ requestID: WPMediaRequestID) { - // - } - - func baseGroup() -> Any { - return "" - } - - func identifier() -> String { - return "group id" - } - - func numberOfAssets(of mediaType: WPMediaType, completionHandler: WPMediaCountBlock? = nil) -> Int { - return 10 - } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyPageable.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyPageable.swift deleted file mode 100644 index 479153b46845..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyPageable.swift +++ /dev/null @@ -1,39 +0,0 @@ - -struct GiphyPageable: Pageable { - let itemsPerPage: Int - let pageHandle: Int - - static let defaultPageSize = 40 - static let defaultPageIndex = 0 - - func next() -> Pageable? { - if pageHandle == 0 { - return nil - } - - return GiphyPageable(itemsPerPage: itemsPerPage, pageHandle: pageHandle) - } - - var pageSize: Int { - return itemsPerPage - } - - var pageIndex: Int { - return pageHandle - } -} - -extension GiphyPageable { - /// Builds the Pageable corresponding to the first page, with the default page size. - /// - /// - Returns: A GiphyPageable configured with the default page size and the initial page handle - static func first() -> GiphyPageable { - return GiphyPageable(itemsPerPage: defaultPageSize, pageHandle: defaultPageIndex) - } -} - -extension GiphyPageable: CustomStringConvertible { - var description: String { - return "Giphy Pageable: count \(itemsPerPage) next: \(pageHandle)" - } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyPicker.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyPicker.swift deleted file mode 100644 index fa9b855e79bb..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyPicker.swift +++ /dev/null @@ -1,149 +0,0 @@ -import WPMediaPicker -import MobileCoreServices - -protocol GiphyPickerDelegate: AnyObject { - func giphyPicker(_ picker: GiphyPicker, didFinishPicking assets: [GiphyMedia]) -} - -/// Presents the Giphy main interface -final class GiphyPicker: NSObject { - private lazy var dataSource: GiphyDataSource = { - return GiphyDataSource(service: giphyService) - }() - - private lazy var giphyService: GiphyService = { - return GiphyService() - }() - - /// Helps choosing the correct view controller for previewing a media asset - /// - private var mediaPreviewHelper: MediaPreviewHelper! - - weak var delegate: GiphyPickerDelegate? - private var blog: Blog? - private var observerToken: NSObjectProtocol? - - private let searchHint = NoResultsViewController.controller() - - private var pickerOptions: WPMediaPickerOptions = { - let options = WPMediaPickerOptions() - options.showMostRecentFirst = true - options.filter = [.all] - options.allowCaptureOfMedia = false - options.showSearchBar = true - options.badgedUTTypes = [String(kUTTypeGIF)] - options.preferredStatusBarStyle = .lightContent - return options - }() - - private lazy var picker: WPNavigationMediaPickerViewController = { - let picker = WPNavigationMediaPickerViewController(options: pickerOptions) - picker.delegate = self - picker.startOnGroupSelector = false - picker.showGroupSelector = false - picker.dataSource = dataSource - picker.cancelButtonTitle = .closePicker - return picker - }() - - func presentPicker(origin: UIViewController, blog: Blog) { - NoResultsGiphyConfiguration.configureAsIntro(searchHint) - self.blog = blog - - origin.present(picker, animated: true) { - self.picker.mediaPicker.searchBar?.becomeFirstResponder() - } - - observeDataSource() - trackAccess() - } - - private func observeDataSource() { - observerToken = dataSource.registerChangeObserverBlock { [weak self] (_, _, _, _, assets) in - self?.updateHintView() - } - dataSource.onStartLoading = { [weak self] in - NoResultsGiphyConfiguration.configureAsLoading(self!.searchHint) - } - dataSource.onStopLoading = { [weak self] in - self?.updateHintView() - } - } - - private func shouldShowNoResults() -> Bool { - return dataSource.searchQuery.count > 0 && dataSource.numberOfAssets() == 0 - } - - private func updateHintView() { - searchHint.removeFromView() - if shouldShowNoResults() { - NoResultsGiphyConfiguration.configure(searchHint) - } else { - NoResultsGiphyConfiguration.configureAsIntro(searchHint) - } - } - - deinit { - if let token = observerToken { - dataSource.unregisterChangeObserver(token) - } - } -} - -extension GiphyPicker: WPMediaPickerViewControllerDelegate { - func mediaPickerController(_ picker: WPMediaPickerViewController, didFinishPicking assets: [WPMediaAsset]) { - guard let assets = assets as? [GiphyMedia] else { - assertionFailure("assets should be of type `[GiphyMedia]`") - return - } - delegate?.giphyPicker(self, didFinishPicking: assets) - picker.dismiss(animated: true) - dataSource.clearSearch(notifyObservers: false) - hideKeyboard(from: picker.searchBar) - } - - func emptyViewController(forMediaPickerController picker: WPMediaPickerViewController) -> UIViewController? { - return searchHint - } - - func mediaPickerControllerDidEndLoadingData(_ picker: WPMediaPickerViewController) { - if let searchBar = picker.searchBar { - WPStyleGuide.configureSearchBar(searchBar) - } - } - - func mediaPickerControllerDidCancel(_ picker: WPMediaPickerViewController) { - picker.dismiss(animated: true) - dataSource.clearSearch(notifyObservers: false) - hideKeyboard(from: picker.searchBar) - } - - func mediaPickerController(_ picker: WPMediaPickerViewController, didSelect asset: WPMediaAsset) { - hideKeyboard(from: picker.searchBar) - } - - func mediaPickerController(_ picker: WPMediaPickerViewController, didDeselect asset: WPMediaAsset) { - hideKeyboard(from: picker.searchBar) - } - - func mediaPickerController(_ picker: WPMediaPickerViewController, previewViewControllerFor assets: [WPMediaAsset], selectedIndex selected: Int) -> UIViewController? { - mediaPreviewHelper = MediaPreviewHelper(assets: assets) - return mediaPreviewHelper.previewViewController(selectedIndex: selected) - } - - private func hideKeyboard(from view: UIView?) { - if let view = view, view.isFirstResponder { - //Fix animation conflict between dismissing the keyboard and showing the accessory input view - DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { - view.resignFirstResponder() - } - } - } -} - -// MARK: - Tracks -extension GiphyPicker { - fileprivate func trackAccess() { - WPAnalytics.track(.giphyAccessed) - } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyResultsPage.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyResultsPage.swift deleted file mode 100644 index cfd9f8721071..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyResultsPage.swift +++ /dev/null @@ -1,24 +0,0 @@ - -final class GiphyResultsPage: ResultsPage { - private let results: [GiphyMedia] - private let pageable: Pageable? - - init(results: [GiphyMedia], pageable: Pageable? = nil) { - self.results = results - self.pageable = pageable - } - - func content() -> [GiphyMedia]? { - return results - } - - func nextPageable() -> Pageable? { - return pageable?.next() - } -} - -extension GiphyResultsPage { - static func empty() -> GiphyResultsPage { - return GiphyResultsPage(results: [], pageable: nil) - } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyService.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyService.swift deleted file mode 100644 index 58281c6540ef..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyService.swift +++ /dev/null @@ -1,30 +0,0 @@ -/// Encapsulates search parameters (text, pagination, etc) -struct GiphySearchParams { - let text: String - let pageable: Pageable? - - init(text: String?, pageable: Pageable?) { - self.text = text ?? "" - self.pageable = pageable - } -} - -struct GiphyService { - func search(params: GiphySearchParams, completion: @escaping (GiphyResultsPage) -> Void) { - completion(GiphyResultsPage.empty()) - } -} - - - -// Allows us to mock out the pagination in tests -protocol GPHPaginationType { - /// Total Result Count. - var totalCount: Int { get } - - /// Actual Result Count (not always == limit) - var count: Int { get } - - /// Offset to start next set of results. - var offset: Int { get } -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyStrings.swift b/WordPress/Classes/ViewRelated/Media/Giphy/GiphyStrings.swift deleted file mode 100644 index 36bc7669f246..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/GiphyStrings.swift +++ /dev/null @@ -1,25 +0,0 @@ -/// Extension on String containing the literals for the Giphy feature -extension String { - // MARK: - Entry point: alert controller - static var giphy: String { - return NSLocalizedString("Giphy", comment: "One of the options when selecting More in the Post Editor's format bar") - } - - // MARK: - Placeholder - static var giphyPlaceholderTitle: String { - return NSLocalizedString("Search to find GIFs to add to your Media Library!", comment: "Title for placeholder in Giphy picker") - } - - static var giphyPlaceholderSubtitle: String { - return NSLocalizedString("Powered by Giphy", comment: "Subtitle for placeholder in Giphy picker. `The company name 'Giphy' should always be written as it is.") - } - - static var giphySearchNoResult: String { - return NSLocalizedString("No media matching your search", comment: "Phrase to show when the user searches for GIFs but there are no result to show.") - } - - static var giphySearchLoading: String { - return NSLocalizedString("Loading GIFs...", comment: "Phrase to show when the user has searched for GIFs and they are being loaded.") - } - -} diff --git a/WordPress/Classes/ViewRelated/Media/Giphy/NoResultsGiphyConfiguration.swift b/WordPress/Classes/ViewRelated/Media/Giphy/NoResultsGiphyConfiguration.swift deleted file mode 100644 index 796a72c286d7..000000000000 --- a/WordPress/Classes/ViewRelated/Media/Giphy/NoResultsGiphyConfiguration.swift +++ /dev/null @@ -1,28 +0,0 @@ -// Empty state for Giphy - -struct NoResultsGiphyConfiguration { - - static func configureAsIntro(_ viewController: NoResultsViewController) { - viewController.configure(title: .giphyPlaceholderTitle, - image: Constants.imageName, - subtitleImage: "giphy-attribution") - - viewController.view.layoutIfNeeded() - } - - static func configureAsLoading(_ viewController: NoResultsViewController) { - viewController.configure(title: .giphySearchLoading, - image: Constants.imageName) - - viewController.view.layoutIfNeeded() - } - - static func configure(_ viewController: NoResultsViewController) { - viewController.configureForNoSearchResults(title: .giphySearchNoResult) - viewController.view.layoutIfNeeded() - } - - private enum Constants { - static let imageName = "media-no-results" - } -} diff --git a/WordPress/Classes/ViewRelated/Media/MediaLibraryMediaPickingCoordinator.swift b/WordPress/Classes/ViewRelated/Media/MediaLibraryMediaPickingCoordinator.swift index 196d60620a84..1e3a8ef638b8 100644 --- a/WordPress/Classes/ViewRelated/Media/MediaLibraryMediaPickingCoordinator.swift +++ b/WordPress/Classes/ViewRelated/Media/MediaLibraryMediaPickingCoordinator.swift @@ -3,13 +3,11 @@ import WPMediaPicker /// Prepares the alert controller that will be presented when tapping the "+" button in Media Library final class MediaLibraryMediaPickingCoordinator { - typealias PickersDelegate = StockPhotosPickerDelegate & WPMediaPickerViewControllerDelegate - & GiphyPickerDelegate & TenorPickerDelegate + typealias PickersDelegate = StockPhotosPickerDelegate & WPMediaPickerViewControllerDelegate & TenorPickerDelegate private weak var delegate: PickersDelegate? private var tenor: TenorPicker? private let stockPhotos = StockPhotosPicker() - private var giphy = GiphyPicker() private let cameraCapture = CameraCaptureCoordinator() private let mediaLibrary = MediaLibraryPicker() @@ -18,7 +16,6 @@ final class MediaLibraryMediaPickingCoordinator { stockPhotos.delegate = delegate mediaLibrary.delegate = delegate - giphy.delegate = delegate } func present(context: MediaPickingContext) { @@ -75,13 +72,6 @@ final class MediaLibraryMediaPickingCoordinator { }) } - - private func giphyAction(origin: UIViewController, blog: Blog) -> UIAlertAction { - return UIAlertAction(title: .giphy, style: .default, handler: { [weak self] action in - self?.showGiphy(origin: origin, blog: blog) - }) - } - private func tenorAction(origin: UIViewController, blog: Blog) -> UIAlertAction { return UIAlertAction(title: .tenor, style: .default, handler: { [weak self] action in self?.showTenor(origin: origin, blog: blog) @@ -106,16 +96,6 @@ final class MediaLibraryMediaPickingCoordinator { stockPhotos.presentPicker(origin: origin, blog: blog) } - private func showGiphy(origin: UIViewController, blog: Blog) { - let delegate = giphy.delegate - - // Create a new GiphyPicker each time so we don't save state - giphy = GiphyPicker() - giphy.delegate = delegate - - giphy.presentPicker(origin: origin, blog: blog) - } - private func showTenor(origin: UIViewController, blog: Blog) { let picker = TenorPicker() // Delegate to the PickerCoordinator so we can release the Tenor instance diff --git a/WordPress/Classes/ViewRelated/Media/MediaLibraryViewController.swift b/WordPress/Classes/ViewRelated/Media/MediaLibraryViewController.swift index a1f32e6caf37..01ca906d91a2 100644 --- a/WordPress/Classes/ViewRelated/Media/MediaLibraryViewController.swift +++ b/WordPress/Classes/ViewRelated/Media/MediaLibraryViewController.swift @@ -664,23 +664,6 @@ extension MediaLibraryViewController: StockPhotosPickerDelegate { } } -// MARK: Giphy Picker Delegate - -extension MediaLibraryViewController: GiphyPickerDelegate { - func giphyPicker(_ picker: GiphyPicker, didFinishPicking assets: [GiphyMedia]) { - guard assets.count > 0 else { - return - } - - let mediaCoordinator = MediaCoordinator.shared - assets.forEach { giphyMedia in - let info = MediaAnalyticsInfo(origin: .mediaLibrary(.giphy), selectionMethod: .fullScreenPicker) - mediaCoordinator.addMedia(from: giphyMedia, to: blog, analyticsInfo: info) - WPAnalytics.track(.giphyUploaded) - } - } -} - // MARK: Tenor Picker Delegate extension MediaLibraryViewController: TenorPickerDelegate { diff --git a/WordPress/Classes/ViewRelated/Media/StockPhotos/AztecMediaPickingCoordinator.swift b/WordPress/Classes/ViewRelated/Media/StockPhotos/AztecMediaPickingCoordinator.swift index 884100623fa2..edea3876973d 100644 --- a/WordPress/Classes/ViewRelated/Media/StockPhotos/AztecMediaPickingCoordinator.swift +++ b/WordPress/Classes/ViewRelated/Media/StockPhotos/AztecMediaPickingCoordinator.swift @@ -3,16 +3,13 @@ import WPMediaPicker /// Prepares the alert controller that will be presented when tapping the "more" button in Aztec's Format Bar final class AztecMediaPickingCoordinator { - typealias PickersDelegate = StockPhotosPickerDelegate & GiphyPickerDelegate & TenorPickerDelegate + typealias PickersDelegate = StockPhotosPickerDelegate & TenorPickerDelegate private weak var delegate: PickersDelegate? private var tenor: TenorPicker? - - private let giphy = GiphyPicker() private let stockPhotos = StockPhotosPicker() init(delegate: PickersDelegate) { self.delegate = delegate - giphy.delegate = delegate stockPhotos.delegate = delegate } @@ -49,12 +46,6 @@ final class AztecMediaPickingCoordinator { }) } - private func giphyAction(origin: UIViewController, blog: Blog) -> UIAlertAction { - return UIAlertAction(title: .giphy, style: .default, handler: { [weak self] action in - self?.showGiphy(origin: origin, blog: blog) - }) - } - private func tenorAction(origin: UIViewController, blog: Blog) -> UIAlertAction { return UIAlertAction(title: .tenor, style: .default, handler: { [weak self] action in self?.showTenor(origin: origin, blog: blog) @@ -75,10 +66,6 @@ final class AztecMediaPickingCoordinator { stockPhotos.presentPicker(origin: origin, blog: blog) } - private func showGiphy(origin: UIViewController, blog: Blog) { - giphy.presentPicker(origin: origin, blog: blog) - } - private func showTenor(origin: UIViewController, blog: Blog) { let picker = TenorPicker() picker.delegate = self diff --git a/WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/Contents.json b/WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/Contents.json deleted file mode 100644 index 74617fcec35b..000000000000 --- a/WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/Contents.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "giphy-attribution.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "giphy-attribution@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "giphy-attribution@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - }, - "properties" : { - "template-rendering-intent" : "template" - } -} \ No newline at end of file diff --git a/WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/giphy-attribution.png b/WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/giphy-attribution.png deleted file mode 100644 index 543c63a78f65dce1a03360cb0028df567f389096..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 824 zcmeAS@N?(olHy`uVBq!ia0vp^DL|~k!3-olQu09(-T^)#uK)l42QsMwuCLiv3^Yix zB*-tAp}|2RLBN2+L_@;Hg2kgEgQp-sL`Eknur7W;D`l4(nB}?%DImsn23E!}3WYO6olf@InPcwMridufM3u4e>N_;6C zxy-@Uhbhsl(}ToX6u{@q1;lltVHALcgEiA3E}#t@^2o) zi8HruXKG)3`+e{CCGjzvJ|Fx4*+sCkLVc5*omRVPME&kl3_MaAuPq!dE|)yDhJV9f zbBQnN>Lv1hX~E8nPae~6-z9ZJi{N>l_S~h*j#%*Ia=Jxdvy-W9=69Ao zcWc59RWntw8MEFM=c!qoozwp+!(+}y)sJ#d-JfsbuG#AD>ZdI=Dby}pg*U$ZP+xeSsr}&n4L57BFRQ-;Ly>7p1uxr~9y%Q%@ zqW}Cj)-$c;_oQ?GzpT~#xa>y4KE+D6GL=WwQIp=So+MqSG9&uzr$V;ycb<746)n4p z?szOI71&-LKT)RIWM6Fj#FqK2OOEAuhplAz(RQRi=}mm%pH7vi__;rMCxxFj+~>@6 zVgEOFruP#Sp6y(HM$&777t10x#`7Mj4MsWZT(+3}nf`}CPhX;J`J#7oK#AYe)z4*} HQ$iB}S7=A2 diff --git a/WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/giphy-attribution@2x.png b/WordPress/Resources/AppImages.xcassets/giphy-attribution.imageset/giphy-attribution@2x.png deleted file mode 100644 index 6040148d17b45b99e3e461ab402be3821c5e77ee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5921 zcmV++7vAWJP)Se!ovLn0y$T_~$;(9d*au0~w{F$1?pjp>xSSW!raxZq?4>o`L=T_* z7UVqt0{b<3?xRzccl(28!(HQDqh)k|@HYa=ug8Vx@k!zw40Cqpx@XlL?T|MTUfQ%& zCSg)=BJEJ~cmZ*MOAD&I;I&JM0 z6arv#0j@y~SP5|yYuS=cA#HHQ^ek||Kvp0II6doIyFCH`Bmg%t%Au!+@))MJ0CO9V zhn@MLxYvLSb|D9Oa~e&YX(PipCShT;*IC*iEYox7xO( z7eHe3z(EGGKm#KXjo-6Inl`pp|K8Ya8aT*822Il_JBpym;dY!kl^o-Fc~&7urGfPY z#OuU}z@yFl)M9Z@30Dla-=C~m%$kypOhd<$LiDyFq70R*&3>wW!pkv0O zHeMD3eSN%lqs0S~N8Opy?u09e$eaNVXetA&BaYV%6m<4&V5tnyz&SP-=WbXF*2OtT zyw%RW&98x|jY6O?!n(&$`rR1Fte#EGbl^48Km%>aVaNd{A&1^mX^2Z`%N&hi&IR)n zi#U6>)|W!dq2<_ebj6f}9F>8b22DJ#zpVNo%8bYym zoE7rfP(@eKJ=TZj3=H2v4Eu=XMaTn!g9&?2+ssdiu-7067Vz=F%_PxUr#Ng#aLZYK z3bMcndV^Mv8*617a12NmI9C7KPAo? zCGdcZviD~t?$M8@4CC9LX4dbPWFi2t<-zMKH?xg{09fFk*19vjuM z)J>ChgI{n69OzF&M1T+?qr$B&04#ebPJ=xG5cl#eV=nYTg>-D9$)#9iw6ODLDda*K zDhsSTirQ>Ad4t8j!yI`)7+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{)sB&g@>GXhgQatO|zNx>+ z98%wSXk^oej}-Wn^1AA^#U8N!R5})Q^pI=3pe)7pm;v6BWpC4ZW_CiKU0_xINWh}1 zj4o>`o%`5H%W3b2%gqP#_ki^$09O4ZhXhjV2DHfYljk3{e5Ix*3jgq;kZoQvt*Lb8 z%U=z!s`{Q5hfn5{C#M9go*zrDfzf4K9?J52SrqG5c{rT^D+Md0l}Gk~_2&QR&A!h^&vjff}6xcU(?YfRE6Pj?Afgw|(AQ zfvf)OLKL_ksROQF= THo&8M00000NkvXXu0mjfPVi#s diff --git a/WordPress/WordPress.xcodeproj/project.pbxproj b/WordPress/WordPress.xcodeproj/project.pbxproj index c752a7959b65..acc4ba872671 100644 --- a/WordPress/WordPress.xcodeproj/project.pbxproj +++ b/WordPress/WordPress.xcodeproj/project.pbxproj @@ -153,8 +153,6 @@ 173BCE751CEB369900AE8817 /* Domains.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 173BCE741CEB369900AE8817 /* Domains.storyboard */; }; 173BCE791CEB780800AE8817 /* Domain.swift in Sources */ = {isa = PBXBuildFile; fileRef = 173BCE781CEB780800AE8817 /* Domain.swift */; }; 173D82E7238EE2A7008432DA /* FeatureFlagTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 173D82E6238EE2A7008432DA /* FeatureFlagTests.swift */; }; - 173F6DFC21232F2A00A4C8E2 /* NoResultsGiphyConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 173F6DFB21232F2A00A4C8E2 /* NoResultsGiphyConfiguration.swift */; }; - 173F6DFE212352D000A4C8E2 /* GiphyService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 173F6DFD212352D000A4C8E2 /* GiphyService.swift */; }; 1746D7771D2165AE00B11D77 /* ForcePopoverPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1746D7761D2165AE00B11D77 /* ForcePopoverPresenter.swift */; }; 1749965F2271BF08007021BD /* WordPressAppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1749965E2271BF08007021BD /* WordPressAppDelegate.swift */; }; 174C9697205A846E00CEEF6E /* PostNoticeViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 174C9696205A846E00CEEF6E /* PostNoticeViewModel.swift */; }; @@ -175,14 +173,6 @@ 176DEEE91D4615FE00331F30 /* WPSplitViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 176DEEE81D4615FE00331F30 /* WPSplitViewController.swift */; }; 177074851FB209F100951A4A /* CircularProgressView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177074841FB209F100951A4A /* CircularProgressView.swift */; }; 177076211EA206C000705A4A /* PlayIconView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177076201EA206C000705A4A /* PlayIconView.swift */; }; - 177B4C252123161900CF8084 /* GiphyPicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C242123161900CF8084 /* GiphyPicker.swift */; }; - 177B4C27212316DC00CF8084 /* GiphyStrings.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C26212316DC00CF8084 /* GiphyStrings.swift */; }; - 177B4C292123181400CF8084 /* GiphyDataSource.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C282123181400CF8084 /* GiphyDataSource.swift */; }; - 177B4C2B2123185300CF8084 /* GiphyMediaGroup.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C2A2123185300CF8084 /* GiphyMediaGroup.swift */; }; - 177B4C2D2123192200CF8084 /* GiphyMedia.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C2C2123192200CF8084 /* GiphyMedia.swift */; }; - 177B4C3121236F0F00CF8084 /* GiphyDataLoader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C3021236F0F00CF8084 /* GiphyDataLoader.swift */; }; - 177B4C3321236F5C00CF8084 /* GiphyPageable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C3221236F5C00CF8084 /* GiphyPageable.swift */; }; - 177B4C352123706400CF8084 /* GiphyResultsPage.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177B4C342123706400CF8084 /* GiphyResultsPage.swift */; }; 177CBE501DA3A3AC009F951E /* CollectionType+Helpers.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177CBE4F1DA3A3AC009F951E /* CollectionType+Helpers.swift */; }; 177E7DAD1DD0D1E600890467 /* UINavigationController+SplitViewFullscreen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 177E7DAC1DD0D1E600890467 /* UINavigationController+SplitViewFullscreen.swift */; }; 1782BE841E70063100A91E7D /* MediaItemViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1782BE831E70063100A91E7D /* MediaItemViewController.swift */; }; @@ -2541,8 +2531,6 @@ 173BCE741CEB369900AE8817 /* Domains.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Domains.storyboard; sourceTree = ""; }; 173BCE781CEB780800AE8817 /* Domain.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Domain.swift; sourceTree = ""; }; 173D82E6238EE2A7008432DA /* FeatureFlagTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FeatureFlagTests.swift; sourceTree = ""; }; - 173F6DFB21232F2A00A4C8E2 /* NoResultsGiphyConfiguration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NoResultsGiphyConfiguration.swift; sourceTree = ""; }; - 173F6DFD212352D000A4C8E2 /* GiphyService.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyService.swift; sourceTree = ""; }; 1746D7761D2165AE00B11D77 /* ForcePopoverPresenter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ForcePopoverPresenter.swift; sourceTree = ""; }; 1749965E2271BF08007021BD /* WordPressAppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WordPressAppDelegate.swift; sourceTree = ""; }; 174C9696205A846E00CEEF6E /* PostNoticeViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PostNoticeViewModel.swift; sourceTree = ""; }; @@ -2559,14 +2547,6 @@ 176DEEE81D4615FE00331F30 /* WPSplitViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WPSplitViewController.swift; sourceTree = ""; }; 177074841FB209F100951A4A /* CircularProgressView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CircularProgressView.swift; sourceTree = ""; }; 177076201EA206C000705A4A /* PlayIconView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PlayIconView.swift; sourceTree = ""; }; - 177B4C242123161900CF8084 /* GiphyPicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyPicker.swift; sourceTree = ""; }; - 177B4C26212316DC00CF8084 /* GiphyStrings.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyStrings.swift; sourceTree = ""; }; - 177B4C282123181400CF8084 /* GiphyDataSource.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyDataSource.swift; sourceTree = ""; }; - 177B4C2A2123185300CF8084 /* GiphyMediaGroup.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyMediaGroup.swift; sourceTree = ""; }; - 177B4C2C2123192200CF8084 /* GiphyMedia.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyMedia.swift; sourceTree = ""; }; - 177B4C3021236F0F00CF8084 /* GiphyDataLoader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyDataLoader.swift; sourceTree = ""; }; - 177B4C3221236F5C00CF8084 /* GiphyPageable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyPageable.swift; sourceTree = ""; }; - 177B4C342123706400CF8084 /* GiphyResultsPage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiphyResultsPage.swift; sourceTree = ""; }; 177CBE4F1DA3A3AC009F951E /* CollectionType+Helpers.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "CollectionType+Helpers.swift"; sourceTree = ""; }; 177E7DAC1DD0D1E600890467 /* UINavigationController+SplitViewFullscreen.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UINavigationController+SplitViewFullscreen.swift"; sourceTree = ""; }; 1782BE831E70063100A91E7D /* MediaItemViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MediaItemViewController.swift; sourceTree = ""; }; @@ -5342,23 +5322,6 @@ path = Notices; sourceTree = ""; }; - 177B4C232123152D00CF8084 /* Giphy */ = { - isa = PBXGroup; - children = ( - 177B4C242123161900CF8084 /* GiphyPicker.swift */, - 173F6DFD212352D000A4C8E2 /* GiphyService.swift */, - 177B4C3021236F0F00CF8084 /* GiphyDataLoader.swift */, - 177B4C3221236F5C00CF8084 /* GiphyPageable.swift */, - 177B4C342123706400CF8084 /* GiphyResultsPage.swift */, - 177B4C26212316DC00CF8084 /* GiphyStrings.swift */, - 177B4C282123181400CF8084 /* GiphyDataSource.swift */, - 177B4C2A2123185300CF8084 /* GiphyMediaGroup.swift */, - 177B4C2C2123192200CF8084 /* GiphyMedia.swift */, - 173F6DFB21232F2A00A4C8E2 /* NoResultsGiphyConfiguration.swift */, - ); - path = Giphy; - sourceTree = ""; - }; 1797373920EBDA1100377B4E /* Universal Links */ = { isa = PBXGroup; children = ( @@ -6713,7 +6676,6 @@ isa = PBXGroup; children = ( C87501EF243AEC290002CD60 /* Tenor */, - 177B4C232123152D00CF8084 /* Giphy */, D8A3A5AD206A059100992576 /* StockPhotos */, FF8A04DF1D9BFE7400523BC4 /* CachedAnimatedImageView.swift */, 7435CE7220A4B9170075A1B9 /* AnimatedImageCache.swift */, @@ -12024,7 +11986,6 @@ B50C0C621EF42AF200372C65 /* TextList+WordPress.swift in Sources */, B5722E421D51A28100F40C5E /* Notification.swift in Sources */, 1759F1801FE1460C0003EC81 /* NoticeView.swift in Sources */, - 177B4C3321236F5C00CF8084 /* GiphyPageable.swift in Sources */, 40C403F42215D66A00E8C894 /* TopViewedAuthorStatsRecordValue+CoreDataProperties.swift in Sources */, 7E4A773920F80417001C706D /* ActivityPluginRange.swift in Sources */, 7462BFD02028C49800B552D8 /* ShareNoticeViewModel.swift in Sources */, @@ -12105,7 +12066,6 @@ E6D170371EF9D8D10046D433 /* SiteInfo.swift in Sources */, 822D60B11F4C747E0016C46D /* JetpackSecuritySettingsViewController.swift in Sources */, E16A76F31FC4766900A661E3 /* CredentialsService.swift in Sources */, - 177B4C292123181400CF8084 /* GiphyDataSource.swift in Sources */, 4070D75E20E6B4E4007CEBDA /* ActivityDateFormatting.swift in Sources */, E2AA87A518523E5300886693 /* UIView+Subviews.m in Sources */, 5D51ADAF19A832AF00539C0B /* WordPress-20-21.xcmappingmodel in Sources */, @@ -12204,7 +12164,6 @@ 405BFB20223B37A000CD5BEA /* FollowersCountStatsRecordValue+CoreDataClass.swift in Sources */, F126FE0220A33BDB0010EB6E /* DocumentUploadProcessor.swift in Sources */, 9A2D0B36225E2511009E585F /* JetpackService.swift in Sources */, - 177B4C3121236F0F00CF8084 /* GiphyDataLoader.swift in Sources */, 8236EB4B20248FF1007C7CF9 /* JetpackSpeedUpSiteSettingsViewController.swift in Sources */, 40F50B7E22130E6C00CBBB73 /* FollowersStatsRecordValue+CoreDataProperties.swift in Sources */, E66969DC1B9E55C300EC9C00 /* ReaderTopicToReaderListTopic37to38.swift in Sources */, @@ -12339,7 +12298,6 @@ 73CB13972289BEFB00265F49 /* Charts+LargeValueFormatter.swift in Sources */, ADF544C2195A0F620092213D /* CustomHighlightButton.m in Sources */, 17B7C89E20EC1D0D0042E260 /* UniversalLinkRouter.swift in Sources */, - 177B4C352123706400CF8084 /* GiphyResultsPage.swift in Sources */, F59AAC16235EA46D00385EE6 /* LightNavigationController.swift in Sources */, 40A2777F20191AA500D078D5 /* PluginDirectoryCollectionViewCell.swift in Sources */, 7E40716223741376003627FA /* GutenbergNetworking.swift in Sources */, @@ -12505,7 +12463,6 @@ 08D978571CD2AF7D0054F19A /* MenuItemCheckButtonView.m in Sources */, 08216FCC1CDBF96000304BA7 /* MenuItemLinkViewController.m in Sources */, F5D0A64E23CC159400B20D27 /* PreviewWebKitViewController.swift in Sources */, - 173F6DFE212352D000A4C8E2 /* GiphyService.swift in Sources */, 733195832284FE9F0007D904 /* PeriodChart.swift in Sources */, F1450CF52437E1A600A28BFE /* MediaHost.swift in Sources */, 08216FC81CDBF96000304BA7 /* MenuItemAbstractPostsViewController.m in Sources */, @@ -12834,7 +12791,6 @@ 9872CB30203B8A730066A293 /* SignupEpilogueTableViewController.swift in Sources */, E1B23B081BFB3B370006559B /* MyProfileViewController.swift in Sources */, B5CC05F61962150600975CAC /* Constants.m in Sources */, - 177B4C27212316DC00CF8084 /* GiphyStrings.swift in Sources */, 4326191522FCB9DC003C7642 /* MurielColor.swift in Sources */, 436D562B2117312700CEAA33 /* RegisterDomainDetailsErrorSectionFooter.swift in Sources */, 7E729C28209A087300F76599 /* ImageLoader.swift in Sources */, @@ -12999,7 +12955,6 @@ 73C8F06421BEEF3400DDDF7E /* SiteAssemblyService.swift in Sources */, B5176CC11CDCE1B90083CF2D /* ManagedPerson.swift in Sources */, F59AAC10235E430F00385EE6 /* ChosenValueRow.swift in Sources */, - 177B4C2B2123185300CF8084 /* GiphyMediaGroup.swift in Sources */, B54E1DF11A0A7BAA00807537 /* ReplyTextView.swift in Sources */, 40EE94802213213F00CD264F /* PublicizeConnectionStatsRecordValue+CoreDataProperties.swift in Sources */, 08216FCA1CDBF96000304BA7 /* MenuItemEditingFooterView.m in Sources */, @@ -13088,7 +13043,6 @@ 98AE3DF5219A1789003C0E24 /* StatsInsightsStore.swift in Sources */, 08216FCD1CDBF96000304BA7 /* MenuItemPagesViewController.m in Sources */, 40A71C6B220E1952002E3D25 /* StatsRecordValue+CoreDataProperties.swift in Sources */, - 177B4C2D2123192200CF8084 /* GiphyMedia.swift in Sources */, 57D6C840229498C5003DDC7E /* InteractivePostView.swift in Sources */, D865721221869C590023A99C /* WizardStep.swift in Sources */, 43D54D131DCAA070007F575F /* PostPostViewController.swift in Sources */, @@ -13114,7 +13068,6 @@ 98F0297C2405C9E500FFD862 /* LoginEpilogueConnectSiteCell.swift in Sources */, E100C6BB1741473000AE48D8 /* WordPress-11-12.xcmappingmodel in Sources */, 9A38DC6D218899FB006A409B /* DiffAbstractValue.swift in Sources */, - 177B4C252123161900CF8084 /* GiphyPicker.swift in Sources */, 17B7C8C120EE2A870042E260 /* Routes+Notifications.swift in Sources */, 7E92A1FB233CB1B7006D281B /* Autosaver.swift in Sources */, 9A341E5621997A340036662E /* BlogAuthor.swift in Sources */, @@ -13149,7 +13102,6 @@ 73FF7032221F469100541798 /* Charts+Support.swift in Sources */, F16601C423E9E783007950AE /* SharingAuthorizationWebViewController.swift in Sources */, 171963401D378D5100898E8B /* SearchWrapperView.swift in Sources */, - 173F6DFC21232F2A00A4C8E2 /* NoResultsGiphyConfiguration.swift in Sources */, 0815CF461E96F22600069916 /* MediaImportService.swift in Sources */, B56F25881FBDE502005C33E4 /* NSAttributedStringKey+Conversion.swift in Sources */, FFABD80821370496003C65B6 /* SelectPostViewController.swift in Sources */, From 525acaf06463f1849de8a5b744521104a3bc5aad Mon Sep 17 00:00:00 2001 From: Stephenie Harris Date: Thu, 11 Jun 2020 14:33:39 -0600 Subject: [PATCH 2/5] Remove Giphy creds. --- .configure | 2 +- .../wpcom_alpha_app_credentials.enc | Bin 880 -> 832 bytes .configure-files/wpcom_app_credentials.enc | Bin 880 -> 832 bytes .../wpcom_internal_app_credentials.enc | Bin 880 -> 832 bytes WordPress/Credentials/ApiCredentials.h | 1 - WordPress/Credentials/gencredentials.rb | 16 ++-------------- 6 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.configure b/.configure index b014cb7bd600..b783d41906f5 100644 --- a/.configure +++ b/.configure @@ -1,7 +1,7 @@ { "project_name": "WordPress-iOS", "branch": "master", - "pinned_hash": "c99db21d6160bee2218e2fd3a18f5de9b2a92eb3", + "pinned_hash": "43e751540dcdcc86bde9db7b0d08a4acdbc1472c", "files_to_copy": [ { "file": "iOS/WPiOS/wpcom_app_credentials", diff --git a/.configure-files/wpcom_alpha_app_credentials.enc b/.configure-files/wpcom_alpha_app_credentials.enc index 923b0833afbfd35f42efd95229d46b5eb0ea9270..2ea270ff13d7799af078a269c8a5a1f46eb9e021 100644 GIT binary patch delta 748 zcmV zHP$xG2EPEuqG_Vziq9RC5#qE3Z!Yg2_n3(^J1O#gNvww^u{{O0(^!oPP$JBRPz)Ph zTi19i0n}hZX1ROxs37#+=5-{jAq>O4XTt^>>=?}Bd2}q3{(tm>lTPh6sHi$4!GDj7 zwn$EKn&wK@?}AR)sjp5@cYPEJ>%bZ;PHc^OD77RiMAyMef;~aKYP}Ng1FYdO;S>a? zw!1Kf`^{p1h_0dbbuF@O=r8{4y;9!r{pEPj0Q#h2b>*9vTLBhW<}5ACdixdntP@vk zi7Jl0-jM=s_w@Z81r9^Zg zkJ^v}j4QbYAr{$Ka#)(?E9W>Lq-7Hj1F3y{=T(j5pnvDU!PUhO&K<_wQoYr>-cjAf zJN!*{=AM-xx1v zQ0isE-ac}i+tM29@wUW11EHp(E&|^t9t%kuF8Sr0Rl@eS+DW=!7vUq?TKFt|D!sQx eYi5+jdC8;TlByaMCIrXqLI#?UTZ8WLK@HT9iggJ9 delta 797 zcmV+&1LFL^2Ji-uV1Mu=U%9mfu(FA2IYe0{Im2k_hFEd~f+A<@2j5za;E?+MA{s_q z-OP(*Hzfm-PJ%V3mg&_D8pB&ArkHtUA|NYv$8p5T&0>$+Y$PAq`Ipo!k%ZxwzCNy0 zsMZ@NmRpo0QeJxgv(e<;d&AJ3c& z=1Y#EtA_$X^ndGoBbu?RlU=_6a0cTDN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U=n&BLhLE(TK z9eiTBJ!EFfLjF6{ASKmuUG1ATB^Xgw?*T36Q00VScU(G2N~O5=gW!CO6Tn+%8?~%< zYG5u>t$dv}dw&|?2Mvh?{L=DQm6*WOEn4_R;RV~q=AV^Tvff=!O3$L0%XX!A^82}7 z>mZ*!TbC$qBbH0gPN`*+y&)~u2-+=~#BKlB*zf~-#zu`{@^i?rzf zhJsCeIhwdQ;egU=k?`w**zxYrJ6SlKMm{0IZ6>q{9Cr)j6JR7l1E0Ok9DMVyg8_p@{|eVp|5!nIJJ!%9&zN=z*Ty2 z$)3b(QGW+P7TF)26k&~Y3U%l35h4l3-t9YuR!Bm^>*!2>r|qDhq&vOdfq2X@cAtk6 zm$MxKGLdC{vZ`Sa?ZHgzKJ~Jh{y25>l0Y^%<8W2xBt2Rg^7_WTA9&F+P5TVAWG2y>er;+RdM%yp?x bToxn$WjPBerL%y9xsdlYfqrv*jBRVFpxcgm diff --git a/.configure-files/wpcom_internal_app_credentials.enc b/.configure-files/wpcom_internal_app_credentials.enc index 81f13d266a3a77b56c1088c7f6985b5bef966893..f476fbf1388bfe6b549653f0f7ed9e3d3cd0f2ee 100644 GIT binary patch delta 748 zcmVTU=0Ylx1BZ5qRj`9%!X;8^86c~9)ybXz5p$Y=Chqt0rSy+pk` z*2316c*UMiQ3AhWNmc&_QA<{ent+Dys%p6l@dVRLbXko${D1F|nvXvXgNIPLQ}AEr zftu9Nw5S(G-TnUH`kCC|AM~TYqLLk0(DB0stPX7saOYfWvUV}j#Szb&;rJ|gg8jFO zT+xl9P45}i+O8bzWhc>A|JuB5z$PYwfAoNpY90DDkE2{Q&hm7y4pkxP>o6OgV+GAI zHy&2YD-Z2Z`+s!(Q(;505(Bquca_bn2IA%z&7S2sM0EjuqMyzuv9qm^7oOz2+LK_AT*ro~9+sqW`894?M)Z z$Ui4;fz02j+LZ#BqknD**vRT%xttgozzV3~Oh1P_hAwl7^+s)+?qLQ*v05!f3PPrK z)-i{uRDa8v2i9fK>K%9hQGD~d7$e72cUlQ%`YDfQgJlFlPRuCVj4(E+P=zy_4??x? ze10}YPy&j!(&-)a?Vo7QjvMEmolcG?Fu|ssq8AWwHVnf@6hD?Y#7SJ{1vuB~;Y|Y5 zWNq4aVRb|9W8~N>+?pMJofSh%x&FI~^V!IO8fCO>{8-(63t~9egR4FMCztA|c2i6_ zUpZv`LTavE)hsx^C^t+PLry{+97r=xPprxg!Bn&tOR06;HSoRChIZizTqf`r7J};5 eOT}djq>)H@A(@$Ps_fL^N9uvt0D09nZ^U91*8DGUzC^&Yn!u!t$(E}>ugMk&4!xpd9;CGV8 zk`FWTt?E>B@ZmWD?IG)u#-iXPeL8*F>c3^4bAYj?9G*=JvMc`an zE_2j1;2v~qu;>x^y$&5wzKlGVq~`{D%`!Y{Lya8g?z!XNfGqQHJU!ijI$373-z%en zv#NAjTw?OBlkb5iuyA6L(P)0w-xK4QHg%9ht~WT*=3~Dl<0r~gW4tZRdF_Wtlm9BK z0@JwoMoiVxCw~idz8W*0CAZ!{O_H!~v9^|bW0$;;+<6qoa-KT^vkJ32^=gdE`8(tq z8SI+s0lFO>c{7<&$WG3OY@&chf7(lBJK^-xGdizoVU*`~qwE%@`aMu^udjl&f^KOk zB}5BSIU;`H?z&h Date: Thu, 11 Jun 2020 15:07:38 -0600 Subject: [PATCH 3/5] Updating pod versions. --- Podfile | 12 ++++++------ Podfile.lock | 47 +++++++++++++++++++++++++++++++---------------- 2 files changed, 37 insertions(+), 22 deletions(-) diff --git a/Podfile b/Podfile index 0e7a7f73a5bf..68ae4546ef74 100644 --- a/Podfile +++ b/Podfile @@ -11,13 +11,13 @@ workspace 'WordPress.xcworkspace' ## def wordpress_shared ## for production: - pod 'WordPressShared', '~> 1.8.16' + # pod 'WordPressShared', '~> 1.9.0-beta.1' ## for development: # pod 'WordPressShared', :path => '../WordPress-iOS-Shared' ## while PR is in review: - # pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :branch => '' + pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :branch => 'issue/remove_giphy_tracks' # pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :commit => 'efe5a065f3ace331353595ef85eef502baa23497' end @@ -43,9 +43,9 @@ def wordpress_ui end def wordpress_kit - pod 'WordPressKit', '~> 4.9.0' + #pod 'WordPressKit', '~> 5.0.0-beta.1' #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :tag => '' - #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => 'feature/homepage-settings' + pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => 'issue/update_shared_pod' #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '' #pod 'WordPressKit', :path => '../WordPressKit-iOS' end @@ -184,9 +184,9 @@ target 'WordPress' do pod 'Gridicons', '~> 1.0.1' - pod 'WordPressAuthenticator', '~> 1.18.0-beta.8' + # pod 'WordPressAuthenticator', '~> 1.18.0-beta.9' # While in PR - # pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :branch => '' + pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :branch => 'issue/update_shared_pod' # pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :commit => '' # pod 'WordPressAuthenticator', :path => '../WordPressAuthenticator-iOS' diff --git a/Podfile.lock b/Podfile.lock index bb7eb0ac3d49..ab77418301a1 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -380,7 +380,7 @@ PODS: - WordPress-Aztec-iOS (1.19.2) - WordPress-Editor-iOS (1.19.2): - WordPress-Aztec-iOS (= 1.19.2) - - WordPressAuthenticator (1.18.0-beta.8): + - WordPressAuthenticator (1.18.0-beta.9): - 1PasswordExtension (= 1.8.6) - Alamofire (= 4.8) - CocoaLumberjack (~> 3.5) @@ -389,18 +389,18 @@ PODS: - lottie-ios (= 3.1.6) - "NSURL+IDN (= 0.4)" - SVProgressHUD (= 2.2.5) - - WordPressKit (~> 4.9.0) - - WordPressShared (~> 1.8.16) + - WordPressKit (~> 5.0.0-beta.1) + - WordPressShared (~> 1.9.0-beta.1) - WordPressUI (~> 1.7.0) - - WordPressKit (4.9.0): + - WordPressKit (5.0.0-beta.1): - Alamofire (~> 4.8.0) - CocoaLumberjack (~> 3.4) - NSObject-SafeExpectations (= 0.0.4) - UIDeviceIdentifier (~> 1) - - WordPressShared (~> 1.8.16) + - WordPressShared (~> 1.9.0-beta.1) - wpxmlrpc (= 0.8.5) - WordPressMocks (0.0.8) - - WordPressShared (1.8.16): + - WordPressShared (1.9.0-beta.1): - CocoaLumberjack (~> 3.4) - FormatterKit/TimeIntervalFormatter (= 1.8.2) - WordPressUI (1.7.0) @@ -483,10 +483,10 @@ DEPENDENCIES: - Starscream (= 3.0.6) - SVProgressHUD (= 2.2.5) - WordPress-Editor-iOS (~> 1.19.2) - - WordPressAuthenticator (~> 1.18.0-beta.8) - - WordPressKit (~> 4.9.0) + - WordPressAuthenticator (from `https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git`, branch `issue/update_shared_pod`) + - WordPressKit (from `https://github.com/wordpress-mobile/WordPressKit-iOS.git`, branch `issue/update_shared_pod`) - WordPressMocks (~> 0.0.8) - - WordPressShared (~> 1.8.16) + - WordPressShared (from `https://github.com/wordpress-mobile/WordPress-iOS-Shared.git`, branch `issue/remove_giphy_tracks`) - WordPressUI (~> 1.7.0) - WPMediaPicker (~> 1.7.0) - Yoga (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/3d10d026ea0175ba6ffc94345546704056662365/react-native-gutenberg-bridge/third-party-podspecs/Yoga.podspec.json`) @@ -532,10 +532,7 @@ SPEC REPOS: - UIDeviceIdentifier - WordPress-Aztec-iOS - WordPress-Editor-iOS - - WordPressAuthenticator - - WordPressKit - WordPressMocks - - WordPressShared - WordPressUI - WPMediaPicker - wpxmlrpc @@ -618,6 +615,15 @@ EXTERNAL SOURCES: RNTAztecView: :commit: 3d10d026ea0175ba6ffc94345546704056662365 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ + WordPressAuthenticator: + :branch: issue/update_shared_pod + :git: https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git + WordPressKit: + :branch: issue/update_shared_pod + :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git + WordPressShared: + :branch: issue/remove_giphy_tracks + :git: https://github.com/wordpress-mobile/WordPress-iOS-Shared.git Yoga: :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/3d10d026ea0175ba6ffc94345546704056662365/react-native-gutenberg-bridge/third-party-podspecs/Yoga.podspec.json @@ -631,6 +637,15 @@ CHECKOUT OPTIONS: RNTAztecView: :commit: 3d10d026ea0175ba6ffc94345546704056662365 :git: http://github.com/wordpress-mobile/gutenberg-mobile/ + WordPressAuthenticator: + :commit: e50154d9d1e84e7168777925c118400d17dd9040 + :git: https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git + WordPressKit: + :commit: 6ac31e3d3533baaec9ff1dbf5a240ca76c1dfd23 + :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git + WordPressShared: + :commit: d67ca763c83e561f7058db626c0d99779c1f18fc + :git: https://github.com/wordpress-mobile/WordPress-iOS-Shared.git SPEC CHECKSUMS: 1PasswordExtension: f97cc80ae58053c331b2b6dc8843ba7103b33794 @@ -703,10 +718,10 @@ SPEC CHECKSUMS: UIDeviceIdentifier: 44f805037d21b94394821828f4fcaba34b38c2d0 WordPress-Aztec-iOS: d01bf0c5e150ae6a046f06ba63b7cc2762061c0b WordPress-Editor-iOS: 5b726489e5ae07b7281a2862d69aba2d5c83f140 - WordPressAuthenticator: aa122f955529beecdb49bf7932ed9431c2ea5c97 - WordPressKit: 2e707edd1b28e8dd0f74a40469ca6e7be7b20a70 + WordPressAuthenticator: 8567813769caf5e570d3370c907422a17c174c2b + WordPressKit: 48ef1d76727cde146db44097cfb89852b171aa72 WordPressMocks: b4064b99a073117bbc304abe82df78f2fbe60992 - WordPressShared: 1bc316ed162f42af4e0fa2869437e9e28b532b01 + WordPressShared: bc1a056b5d4da040e3addf4f510c0de67651ab1b WordPressUI: 1cf47a3b78154faf69caa18569ee7ece1e510fa0 WPMediaPicker: 754bc043ea42abc2eae8a07e5680c777c112666a wpxmlrpc: 6a9bdd6ab9d1b159b384b0df0f3f39de9af4fecf @@ -720,6 +735,6 @@ SPEC CHECKSUMS: ZendeskSupportSDK: a87ab1e4badace92c75eb11dc77ede1e995b2adc ZIPFoundation: 249fa8890597086cd536bb2df5c9804d84e122b0 -PODFILE CHECKSUM: 4971991bc25c9b578af1ba513466e8e5ec25408c +PODFILE CHECKSUM: 8f76ed4065d534296035210422deb491b228bc72 COCOAPODS: 1.8.4 From b7b5efdece6232abbfd1c503483358c097dd6829 Mon Sep 17 00:00:00 2001 From: Stephenie Harris Date: Thu, 11 Jun 2020 17:04:23 -0600 Subject: [PATCH 4/5] Updating pod versions. --- Podfile | 12 +++++----- Podfile.lock | 65 ++++++++++++++++------------------------------------ 2 files changed, 26 insertions(+), 51 deletions(-) diff --git a/Podfile b/Podfile index 6a7a767e5122..2315b4a58220 100644 --- a/Podfile +++ b/Podfile @@ -11,13 +11,13 @@ workspace 'WordPress.xcworkspace' ## def wordpress_shared ## for production: - # pod 'WordPressShared', '~> 1.9.0-beta.1' + pod 'WordPressShared', '~> 1.9.0-beta.1' ## for development: # pod 'WordPressShared', :path => '../WordPress-iOS-Shared' ## while PR is in review: - pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :branch => 'issue/remove_giphy_tracks' + # pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :branch => '' # pod 'WordPressShared', :git => 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', :commit => 'efe5a065f3ace331353595ef85eef502baa23497' end @@ -43,9 +43,9 @@ def wordpress_ui end def wordpress_kit - #pod 'WordPressKit', '~> 5.0.0-beta.1' + pod 'WordPressKit', '~> 5.0.0-beta.1' #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :tag => '' - pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => 'issue/update_shared_pod' + #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :branch => '' #pod 'WordPressKit', :git => 'https://github.com/wordpress-mobile/WordPressKit-iOS.git', :commit => '' #pod 'WordPressKit', :path => '../WordPressKit-iOS' end @@ -184,9 +184,9 @@ target 'WordPress' do pod 'Gridicons', '~> 1.0.1' - # pod 'WordPressAuthenticator', '~> 1.18.0-beta.9' + pod 'WordPressAuthenticator', '~> 1.18.0-beta.9' # While in PR - pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :branch => 'issue/update_shared_pod' + # pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :branch => '' # pod 'WordPressAuthenticator', :git => 'https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git', :commit => '' # pod 'WordPressAuthenticator', :path => '../WordPressAuthenticator-iOS' diff --git a/Podfile.lock b/Podfile.lock index 525c36aa3d83..a3019694ab10 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -375,7 +375,7 @@ PODS: - Sodium (0.8.0) - Starscream (3.0.6) - SVProgressHUD (2.2.5) - - TOCropViewController (2.5.2) + - TOCropViewController (2.5.3) - UIDeviceIdentifier (1.4.0) - WordPress-Aztec-iOS (1.19.2) - WordPress-Editor-iOS (1.19.2): @@ -403,25 +403,25 @@ PODS: - WordPressShared (1.9.0-beta.1): - CocoaLumberjack (~> 3.4) - FormatterKit/TimeIntervalFormatter (= 1.8.2) - - WordPressUI (1.7.0) + - WordPressUI (1.7.1) - WPMediaPicker (1.7.0) - wpxmlrpc (0.8.5) - Yoga (1.14.0) - ZendeskCommonUISDK (4.0.0): - ZendeskSDKConfigurationsSDK (~> 1.1.2) - - ZendeskCoreSDK (2.2.2) + - ZendeskCoreSDK (2.4.0) - ZendeskMessagingAPISDK (3.0.0): - ZendeskSDKConfigurationsSDK (~> 1.1.2) - ZendeskMessagingSDK (3.0.0): - ZendeskCommonUISDK (~> 4.0.0) - ZendeskMessagingAPISDK (~> 3.0.0) - - ZendeskSDKConfigurationsSDK (1.1.3) - - ZendeskSupportProvidersSDK (5.0.1): - - ZendeskCoreSDK (~> 2.2.1) + - ZendeskSDKConfigurationsSDK (1.1.5) + - ZendeskSupportProvidersSDK (5.0.5): + - ZendeskCoreSDK (~> 2.4.0) - ZendeskSupportSDK (5.0.0): - ZendeskMessagingSDK (~> 3.0.0) - ZendeskSupportProvidersSDK (~> 5.0.0) - - ZIPFoundation (0.9.10) + - ZIPFoundation (0.9.11) DEPENDENCIES: - Alamofire (= 4.8.0) @@ -483,10 +483,10 @@ DEPENDENCIES: - Starscream (= 3.0.6) - SVProgressHUD (= 2.2.5) - WordPress-Editor-iOS (~> 1.19.2) - - WordPressAuthenticator (from `https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git`, branch `issue/update_shared_pod`) - - WordPressKit (from `https://github.com/wordpress-mobile/WordPressKit-iOS.git`, branch `issue/update_shared_pod`) + - WordPressAuthenticator (~> 1.18.0-beta.9) + - WordPressKit (~> 5.0.0-beta.1) - WordPressMocks (~> 0.0.8) - - WordPressShared (from `https://github.com/wordpress-mobile/WordPress-iOS-Shared.git`, branch `issue/remove_giphy_tracks`) + - WordPressShared (~> 1.9.0-beta.1) - WordPressUI (~> 1.7.0) - WPMediaPicker (~> 1.7.0) - Yoga (from `https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/v1.30.0/react-native-gutenberg-bridge/third-party-podspecs/Yoga.podspec.json`) @@ -532,7 +532,10 @@ SPEC REPOS: - UIDeviceIdentifier - WordPress-Aztec-iOS - WordPress-Editor-iOS + - WordPressAuthenticator + - WordPressKit - WordPressMocks + - WordPressShared - WordPressUI - WPMediaPicker - wpxmlrpc @@ -614,19 +617,7 @@ EXTERNAL SOURCES: :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/v1.30.0/react-native-gutenberg-bridge/third-party-podspecs/RNSVG.podspec.json RNTAztecView: :git: http://github.com/wordpress-mobile/gutenberg-mobile/ -<<<<<<< HEAD - WordPressAuthenticator: - :branch: issue/update_shared_pod - :git: https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git - WordPressKit: - :branch: issue/update_shared_pod - :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git - WordPressShared: - :branch: issue/remove_giphy_tracks - :git: https://github.com/wordpress-mobile/WordPress-iOS-Shared.git -======= :tag: v1.30.0 ->>>>>>> develop Yoga: :podspec: https://raw.githubusercontent.com/wordpress-mobile/gutenberg-mobile/v1.30.0/react-native-gutenberg-bridge/third-party-podspecs/Yoga.podspec.json @@ -639,19 +630,7 @@ CHECKOUT OPTIONS: :tag: v1.30.0 RNTAztecView: :git: http://github.com/wordpress-mobile/gutenberg-mobile/ -<<<<<<< HEAD - WordPressAuthenticator: - :commit: e50154d9d1e84e7168777925c118400d17dd9040 - :git: https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git - WordPressKit: - :commit: 6ac31e3d3533baaec9ff1dbf5a240ca76c1dfd23 - :git: https://github.com/wordpress-mobile/WordPressKit-iOS.git - WordPressShared: - :commit: d67ca763c83e561f7058db626c0d99779c1f18fc - :git: https://github.com/wordpress-mobile/WordPress-iOS-Shared.git -======= :tag: v1.30.0 ->>>>>>> develop SPEC CHECKSUMS: 1PasswordExtension: f97cc80ae58053c331b2b6dc8843ba7103b33794 @@ -720,7 +699,7 @@ SPEC CHECKSUMS: Sodium: 63c0ca312a932e6da481689537d4b35568841bdc Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5 SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6 - TOCropViewController: e9da34f484aedd4e5d5a8ab230ba217cfe16c729 + TOCropViewController: 20a14b6a7a098308bf369e7c8d700dc983a974e6 UIDeviceIdentifier: 44f805037d21b94394821828f4fcaba34b38c2d0 WordPress-Aztec-iOS: d01bf0c5e150ae6a046f06ba63b7cc2762061c0b WordPress-Editor-iOS: 5b726489e5ae07b7281a2862d69aba2d5c83f140 @@ -728,23 +707,19 @@ SPEC CHECKSUMS: WordPressKit: 48ef1d76727cde146db44097cfb89852b171aa72 WordPressMocks: b4064b99a073117bbc304abe82df78f2fbe60992 WordPressShared: bc1a056b5d4da040e3addf4f510c0de67651ab1b - WordPressUI: 1cf47a3b78154faf69caa18569ee7ece1e510fa0 + WordPressUI: 9da5d966b8beb091950cd96880db398d7f30e246 WPMediaPicker: 754bc043ea42abc2eae8a07e5680c777c112666a wpxmlrpc: 6a9bdd6ab9d1b159b384b0df0f3f39de9af4fecf Yoga: c920bf12bf8146aa5cd118063378c2cf5682d16c ZendeskCommonUISDK: 3c432801e31abff97d6e30441ea102eaef6b99e2 - ZendeskCoreSDK: 86513e62c1ab68913416c9044463d9b687ca944f + ZendeskCoreSDK: 804aff5229ae9500b8057b65fe53ad869856f427 ZendeskMessagingAPISDK: 7c0cbd1d2c941f05b36f73e7db5faee5863fe8b0 ZendeskMessagingSDK: 6f168161d834dd66668344f645f7a6b6b121b58a - ZendeskSDKConfigurationsSDK: 918241bc7ec30e0af9e1b16333d54a584ee8ab9e - ZendeskSupportProvidersSDK: e183d32abac888c448469e2005c4a5a8c3ed73f0 + ZendeskSDKConfigurationsSDK: 0c610c22c9e3cafcd31591344b8cc3b4398e49b2 + ZendeskSupportProvidersSDK: d21ce8eb3df1066338c7d3875bb818b32c3f124e ZendeskSupportSDK: a87ab1e4badace92c75eb11dc77ede1e995b2adc - ZIPFoundation: 249fa8890597086cd536bb2df5c9804d84e122b0 + ZIPFoundation: b1f0de4eed33e74a676f76e12559ab6b75990197 -<<<<<<< HEAD -PODFILE CHECKSUM: 8f76ed4065d534296035210422deb491b228bc72 -======= -PODFILE CHECKSUM: 408866eedca9df799cf2bd29fe537a9e3c5bbd8a ->>>>>>> develop +PODFILE CHECKSUM: f0b1fb4b6308ca3d34ea36afd78ce9e587f5e747 COCOAPODS: 1.8.4 From 8bbd606f3d5166fb9e0be2d1e2d5236d8cdd6dd0 Mon Sep 17 00:00:00 2001 From: Stephenie Harris Date: Thu, 11 Jun 2020 17:51:47 -0600 Subject: [PATCH 5/5] Updating lock file. --- Podfile.lock | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Podfile.lock b/Podfile.lock index a3019694ab10..172af2e8b427 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -375,7 +375,7 @@ PODS: - Sodium (0.8.0) - Starscream (3.0.6) - SVProgressHUD (2.2.5) - - TOCropViewController (2.5.3) + - TOCropViewController (2.5.2) - UIDeviceIdentifier (1.4.0) - WordPress-Aztec-iOS (1.19.2) - WordPress-Editor-iOS (1.19.2): @@ -403,25 +403,25 @@ PODS: - WordPressShared (1.9.0-beta.1): - CocoaLumberjack (~> 3.4) - FormatterKit/TimeIntervalFormatter (= 1.8.2) - - WordPressUI (1.7.1) + - WordPressUI (1.7.0) - WPMediaPicker (1.7.0) - wpxmlrpc (0.8.5) - Yoga (1.14.0) - ZendeskCommonUISDK (4.0.0): - ZendeskSDKConfigurationsSDK (~> 1.1.2) - - ZendeskCoreSDK (2.4.0) + - ZendeskCoreSDK (2.2.2) - ZendeskMessagingAPISDK (3.0.0): - ZendeskSDKConfigurationsSDK (~> 1.1.2) - ZendeskMessagingSDK (3.0.0): - ZendeskCommonUISDK (~> 4.0.0) - ZendeskMessagingAPISDK (~> 3.0.0) - - ZendeskSDKConfigurationsSDK (1.1.5) - - ZendeskSupportProvidersSDK (5.0.5): - - ZendeskCoreSDK (~> 2.4.0) + - ZendeskSDKConfigurationsSDK (1.1.3) + - ZendeskSupportProvidersSDK (5.0.1): + - ZendeskCoreSDK (~> 2.2.1) - ZendeskSupportSDK (5.0.0): - ZendeskMessagingSDK (~> 3.0.0) - ZendeskSupportProvidersSDK (~> 5.0.0) - - ZIPFoundation (0.9.11) + - ZIPFoundation (0.9.10) DEPENDENCIES: - Alamofire (= 4.8.0) @@ -699,7 +699,7 @@ SPEC CHECKSUMS: Sodium: 63c0ca312a932e6da481689537d4b35568841bdc Starscream: ef3ece99d765eeccb67de105bfa143f929026cf5 SVProgressHUD: 1428aafac632c1f86f62aa4243ec12008d7a51d6 - TOCropViewController: 20a14b6a7a098308bf369e7c8d700dc983a974e6 + TOCropViewController: e9da34f484aedd4e5d5a8ab230ba217cfe16c729 UIDeviceIdentifier: 44f805037d21b94394821828f4fcaba34b38c2d0 WordPress-Aztec-iOS: d01bf0c5e150ae6a046f06ba63b7cc2762061c0b WordPress-Editor-iOS: 5b726489e5ae07b7281a2862d69aba2d5c83f140 @@ -707,18 +707,18 @@ SPEC CHECKSUMS: WordPressKit: 48ef1d76727cde146db44097cfb89852b171aa72 WordPressMocks: b4064b99a073117bbc304abe82df78f2fbe60992 WordPressShared: bc1a056b5d4da040e3addf4f510c0de67651ab1b - WordPressUI: 9da5d966b8beb091950cd96880db398d7f30e246 + WordPressUI: 1cf47a3b78154faf69caa18569ee7ece1e510fa0 WPMediaPicker: 754bc043ea42abc2eae8a07e5680c777c112666a wpxmlrpc: 6a9bdd6ab9d1b159b384b0df0f3f39de9af4fecf Yoga: c920bf12bf8146aa5cd118063378c2cf5682d16c ZendeskCommonUISDK: 3c432801e31abff97d6e30441ea102eaef6b99e2 - ZendeskCoreSDK: 804aff5229ae9500b8057b65fe53ad869856f427 + ZendeskCoreSDK: 86513e62c1ab68913416c9044463d9b687ca944f ZendeskMessagingAPISDK: 7c0cbd1d2c941f05b36f73e7db5faee5863fe8b0 ZendeskMessagingSDK: 6f168161d834dd66668344f645f7a6b6b121b58a - ZendeskSDKConfigurationsSDK: 0c610c22c9e3cafcd31591344b8cc3b4398e49b2 - ZendeskSupportProvidersSDK: d21ce8eb3df1066338c7d3875bb818b32c3f124e + ZendeskSDKConfigurationsSDK: 918241bc7ec30e0af9e1b16333d54a584ee8ab9e + ZendeskSupportProvidersSDK: e183d32abac888c448469e2005c4a5a8c3ed73f0 ZendeskSupportSDK: a87ab1e4badace92c75eb11dc77ede1e995b2adc - ZIPFoundation: b1f0de4eed33e74a676f76e12559ab6b75990197 + ZIPFoundation: 249fa8890597086cd536bb2df5c9804d84e122b0 PODFILE CHECKSUM: f0b1fb4b6308ca3d34ea36afd78ce9e587f5e747