Skip to content

Commit e98daf4

Browse files
keanstaskusjkmasselwpmobilebotdvdchr
authored
Merge trunk in SPM PR (#23393)
* Optimize TopTotalsCell to add rows only when the cell loads TopTotalsCell was calling addRows on every configuration of cell which in turn created and added a hierarchy of UIStackView-based views. Optimizing TopTotalsCell to only add rows once and then make manipulations on existing rows. * Optimize CountriesCell to add rows only when the cell loads * Do not track StatsTraffic tableView scrolling * Update RELEASE-NOTES.txt * Update TopTotalsCell to use setNeedsLayout for more efficiency * Update CountriesCell to use setNeedsLayout for more efficiency * Update RELEASE-NOTES * Move additional checks for adding default rows into the extension * Fix rare crash in GutenbergWebViewController * Update release notes * Remove force layout calls when setting subtitle visibility These calls were added together with dynamic type support, however, they slow down layout process of the cell * Make maximum content size category smaller for stats cell subtitles * Create StatsRowsCell with default child stack view rows and ability to configure more * Put analyticsTracker back since it's used by JetpackBanner * JPBackground as png * Move JPBackground to AppImage specific to the Jetpack app * Remove Stories related files * Remove unused site creation icons * Reduce rppreview size * Replace JPBackground with tiny-fied icons * Remove custom fonts used by Kanvas * Remove remaining Kanvas related code * Remove Kanvas related code * Remove StoryEditor * Replace remaining Kanvas usages * Remove StoriesIntroViewController * Remove Kanvas pod * Update rubocop.yml * Add unique identifier to file downloads rows (#23310) File Downloads data can be identical which can result in a rare duplicate diffable data source identifiers crash. Pass a unique identifier to ensure that each file downloads row is treated as unique. * Support editing media metadata via XML-RPC #809 (#23316) * Support media metadata editing for XML-RPC connected self-hosted sites - Updated WordPressKit supports editing title, description, and caption of the media via XML-RPC - XML-RPC API doesn't support editing alt-text * Support editing media metadata via XMLRPC in MediaService Media is a type of a post therefore "wp.editPost" can be used to edit media metadata. Note that alternative text cannot be edited due to lack of XML-RPC support https://core.trac.wordpress.org/ticket/58582 * Update RELEASE-NOTES.txt * Fix warnings in MemoryCache * Fix warnings in CachedAsyncImage * Fix more warnings * Remove deprecated in JetpackBrandingVisibility.enabled * Remove AlamofireNetworkActivityIndicator (#23385) * Merge 25.1 release finalization (#23391) * Fix announcement card keep showing up after tapping Done (#23384) * Update app translations – `Localizable.strings` * Update WordPress metadata translations * Update Jetpack metadata translations * Bump version number --------- Co-authored-by: David Christiandy <[email protected]> * Update WordPressKit and WordPressAuthentificator setup (#23392) * Install WordPressUI using SPM * Remove WordPressShared from Podfile * Add WordPressShared using SPM * Fix WordPress compilation * Fix WordPressKit being embeded in the wrong targets * Disable some warnings in WordPressKit * Remove redundant manual linker flags * Fix WordPressKit tests * Fix WordPressAuthentificator tests * Remove Specta and Expecta from Podfile * Fix WordPressAuthentificator tests by temporary disabling LoginFacadeTests * Update WordPressAuthenticator so that it could be compliled as an ObjC module again * Rewrite LoginFacadeTests * Fix WordPressTests * Add missing executable_path/../../Frameworks in the share extensions --------- Co-authored-by: Povilas Staskus <[email protected]> Co-authored-by: Jeremy Massel <[email protected]> Co-authored-by: WordPress Mobile Bot Account <[email protected]> Co-authored-by: David Christiandy <[email protected]>
1 parent 13c85e5 commit e98daf4

File tree

281 files changed

+1160
-3815
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+1160
-3815
lines changed

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ AllCops:
33
- DerivedData/**/*
44
- Pods/**/*
55
- vendor/**/*
6+
- WordPressAuthenticator/**/*
7+
- WordPressKit/**/*
68
NewCops: enable
79

810
Metrics/BlockLength:

Podfile

Lines changed: 2 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ inhibit_all_warnings!
1919
use_frameworks!
2020
workspace 'WordPress.xcworkspace'
2121

22-
## Pods shared between all the targets
23-
## ===================================
24-
##
25-
def wordpress_shared
26-
pod 'WordPressShared', '~> 2.3', '>= 2.3.1'
27-
# pod 'WordPressShared', git: 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', branch: ''
28-
# pod 'WordPressShared', git: 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', commit: ''
29-
# pod 'WordPressShared', path: '../WordPress-iOS-Shared'
30-
end
31-
3222
def aztec
3323
## When using a tagged version, feel free to comment out the WordPress-Aztec-iOS line below.
3424
## When using a commit number (during development) you should provide the same commit number for both pods.
@@ -39,14 +29,6 @@ def aztec
3929
pod 'WordPress-Editor-iOS', '~> 1.19.11'
4030
end
4131

42-
def wordpress_ui
43-
pod 'WordPressUI', '~> 1.16'
44-
# pod 'WordPressUI', git: 'https://github.com/wordpress-mobile/WordPressUI-iOS', tag: ''
45-
# pod 'WordPressUI', git: 'https://github.com/wordpress-mobile/WordPressUI-iOS', branch: ''
46-
# pod 'WordPressUI', git: 'https://github.com/wordpress-mobile/WordPressUI-iOS', commit: ''
47-
# pod 'WordPressUI', path: '../WordPressUI-iOS'
48-
end
49-
5032
def gravatar
5133
# pod 'Gravatar', path: '../Gravatar-SDK-iOS'
5234
# pod 'GravatarUI', path: '../Gravatar-SDK-iOS'
@@ -56,36 +38,9 @@ def gravatar
5638
pod 'GravatarUI', '2.0.0'
5739
end
5840

59-
def kanvas
60-
pod 'Kanvas', '~> 1.4.4'
61-
# pod 'Kanvas', git: 'https://github.com/tumblr/Kanvas-iOS.git', tag: ''
62-
# pod 'Kanvas', git: 'https://github.com/tumblr/Kanvas-iOS.git', commit: ''
63-
# pod 'Kanvas', path: '../Kanvas-iOS'
64-
end
65-
66-
def shared_with_all_pods
67-
wordpress_shared
68-
end
69-
70-
def shared_test_pods
71-
pod 'Expecta', '1.0.6'
72-
pod 'Specta', '1.0.7'
73-
gutenberg_pod
74-
end
75-
76-
def shared_with_extension_pods
77-
# The PrivacyInfo in this library is incorrectly copied to the app bundle's root directory.
78-
# That conflicts with the our own app's PrivacyInfo. We can update this library once the
79-
# issue is resolved.
80-
# See https://github.com/weichsel/ZIPFoundation/pull/314
81-
end
82-
8341
abstract_target 'Apps' do
8442
project 'WordPress/WordPress.xcodeproj'
8543

86-
shared_with_all_pods
87-
shared_with_extension_pods
88-
8944
## Gutenberg (React Native)
9045
## =====================
9146
##
@@ -106,8 +61,6 @@ abstract_target 'Apps' do
10661
## Automattic libraries
10762
## ====================
10863
##
109-
wordpress_shared
110-
kanvas
11164
gravatar
11265

11366
# Production
@@ -117,7 +70,6 @@ abstract_target 'Apps' do
11770
# pod 'MediaEditor', path: '../MediaEditor-iOS'
11871

11972
aztec
120-
wordpress_ui
12173

12274
## WordPress App iOS
12375
## =================
@@ -126,7 +78,7 @@ abstract_target 'Apps' do
12678
target 'WordPressTest' do
12779
inherit! :search_paths
12880

129-
shared_test_pods
81+
gutenberg_pod
13082
end
13183
end
13284

@@ -142,21 +94,13 @@ end
14294
target 'WordPressShareExtension' do
14395
project 'WordPress/WordPress.xcodeproj'
14496

145-
shared_with_extension_pods
146-
14797
aztec
148-
shared_with_all_pods
149-
wordpress_ui
15098
end
15199

152100
target 'JetpackShareExtension' do
153101
project 'WordPress/WordPress.xcodeproj'
154102

155-
shared_with_extension_pods
156-
157103
aztec
158-
shared_with_all_pods
159-
wordpress_ui
160104
end
161105

162106
## DraftAction Extension
@@ -165,74 +109,13 @@ end
165109
target 'WordPressDraftActionExtension' do
166110
project 'WordPress/WordPress.xcodeproj'
167111

168-
shared_with_extension_pods
169-
170112
aztec
171-
shared_with_all_pods
172-
wordpress_ui
173113
end
174114

175115
target 'JetpackDraftActionExtension' do
176116
project 'WordPress/WordPress.xcodeproj'
177117

178-
shared_with_extension_pods
179-
180118
aztec
181-
shared_with_all_pods
182-
wordpress_ui
183-
end
184-
185-
## Widgets
186-
## ============
187-
##
188-
189-
target 'JetpackStatsWidgets' do
190-
project 'WordPress/WordPress.xcodeproj'
191-
192-
shared_with_all_pods
193-
wordpress_ui
194-
end
195-
196-
## Intents
197-
## ============
198-
##
199-
200-
target 'JetpackIntents' do
201-
project 'WordPress/WordPress.xcodeproj'
202-
203-
shared_with_all_pods
204-
wordpress_ui
205-
end
206-
207-
## Notification Service Extension
208-
## ==============================
209-
##
210-
target 'WordPressNotificationServiceExtension' do
211-
project 'WordPress/WordPress.xcodeproj'
212-
213-
wordpress_shared
214-
wordpress_ui
215-
end
216-
217-
target 'JetpackNotificationServiceExtension' do
218-
project 'WordPress/WordPress.xcodeproj'
219-
220-
wordpress_shared
221-
wordpress_ui
222-
end
223-
224-
## Screenshot Generation
225-
## ===================
226-
##
227-
target 'WordPressScreenshotGeneration' do
228-
project 'WordPress/WordPress.xcodeproj'
229-
end
230-
231-
## UI Tests
232-
## ===================
233-
##
234-
target 'WordPressUITests' do
235-
project 'WordPress/WordPress.xcodeproj'
236119
end
237120

238121
## Tools
@@ -256,7 +139,7 @@ end
256139
# Linking the shared frameworks statically would lead to duplicate symbols
257140
# A future version of CocoaPods may make this easier to do. See https://github.com/CocoaPods/CocoaPods/issues/7428
258141
shared_targets = %w[WordPressFlux]
259-
dyanmic_framework_pods = %w[WordPressFlux WordPressShared WordPressUI]
142+
dyanmic_framework_pods = %w[WordPressFlux]
260143
# Statically linking Sentry results in a conflict with `NSDictionary.objectAtKeyPath`, but dynamically
261144
# linking it resolves this.
262145
dyanmic_framework_pods += %w[Sentry SentryPrivate]

Podfile.lock

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,56 +10,40 @@ PODS:
1010
- AppCenter/Distribute (5.0.4):
1111
- AppCenter/Core
1212
- CropViewController (2.5.3)
13-
- Expecta (1.0.6)
1413
- FSInteractiveMap (0.1.0)
1514
- Gravatar (2.0.0)
1615
- GravatarUI (2.0.0):
1716
- Gravatar (= 2.0.0)
1817
- Gutenberg (1.120.1)
19-
- Kanvas (1.4.9):
20-
- CropViewController
2118
- MediaEditor (1.2.2):
2219
- CropViewController (~> 2.5.3)
23-
- Specta (1.0.7)
2420
- SwiftLint (0.54.0)
2521
- WordPress-Aztec-iOS (1.19.11)
2622
- WordPress-Editor-iOS (1.19.11):
2723
- WordPress-Aztec-iOS (= 1.19.11)
28-
- WordPressShared (2.4.0)
29-
- WordPressUI (1.16.0)
3024

3125
DEPENDENCIES:
3226
- AppCenter (~> 5.0)
3327
- AppCenter/Distribute (~> 5.0)
3428
- CropViewController (= 2.5.3)
35-
- Expecta (= 1.0.6)
3629
- FSInteractiveMap (from `https://github.com/wordpress-mobile/FSInteractiveMap.git`, tag `0.2.0`)
3730
- Gravatar (= 2.0.0)
3831
- GravatarUI (= 2.0.0)
3932
- Gutenberg (from `https://cdn.a8c-ci.services/gutenberg-mobile/Gutenberg-v1.120.1.podspec`)
40-
- Kanvas (~> 1.4.4)
4133
- MediaEditor (>= 1.2.2, ~> 1.2)
42-
- Specta (= 1.0.7)
4334
- SwiftLint (= 0.54.0)
4435
- WordPress-Editor-iOS (~> 1.19.11)
45-
- WordPressShared (>= 2.3.1, ~> 2.3)
46-
- WordPressUI (~> 1.16)
4736

4837
SPEC REPOS:
4938
https://github.com/wordpress-mobile/cocoapods-specs.git:
5039
- WordPress-Aztec-iOS
5140
- WordPress-Editor-iOS
52-
- WordPressShared
53-
- WordPressUI
5441
trunk:
5542
- AppCenter
5643
- CropViewController
57-
- Expecta
5844
- Gravatar
5945
- GravatarUI
60-
- Kanvas
6146
- MediaEditor
62-
- Specta
6347
- SwiftLint
6448

6549
EXTERNAL SOURCES:
@@ -77,20 +61,15 @@ CHECKOUT OPTIONS:
7761
SPEC CHECKSUMS:
7862
AppCenter: 85c92db0759d2792a65eb61d6842d2e86611a49a
7963
CropViewController: a5c143548a0fabcd6cc25f2d26e40460cfb8c78c
80-
Expecta: 3b6bd90a64b9a1dcb0b70aa0e10a7f8f631667d5
8164
FSInteractiveMap: a396f610f48b76cb540baa87139d056429abda86
8265
Gravatar: 54fc63ea6298e9afca7329007815be25868f1dfe
8366
GravatarUI: bb5e03cda2da61e54aa1c20d4dde32b7153fa8b4
8467
Gutenberg: 0699e7dd207afb591ccd5e81252a92e6e7781391
85-
Kanvas: cc027f8058de881a4ae2b5aa5f05037b6d054d08
8668
MediaEditor: d08314cfcbfac74361071a306b4bc3a39b3356ae
87-
Specta: 3e1bd89c3517421982dc4d1c992503e48bd5fe66
8869
SwiftLint: c1de071d9d08c8aba837545f6254315bc900e211
8970
WordPress-Aztec-iOS: 3732c6d865a5c9f35788377bdeda8a80ea10d0a1
9071
WordPress-Editor-iOS: 453345420ced3d3ef20f0051b3df46ff10281e0c
91-
WordPressShared: 0160364ed24f4d67fed4e85003fefa837faad84f
92-
WordPressUI: f883fdd2508a0bc525c19805b2bbae980b581271
9372

94-
PODFILE CHECKSUM: be2b1266b694f9fb945c63ec61af8a26ee415305
73+
PODFILE CHECKSUM: 3f613d671323ac233553cfced32e6931b915bdc8
9574

9675
COCOAPODS: 1.15.2

RELEASE-NOTES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
25.2
22
-----
3+
4+
* [*] [Jetpack-only] Stats: Made optimizations to enhance scrolling performance. [#22847]
35
* [*] Simplify post list context menu sections [#23356]
46
* [*] Fix an issue with incorrect snackbar shown when saving drafts manually [#23358]
7+
* [**] Support editing media metadata for sites not powered by Jetpack and reliant on XML-RPC [#23316]
8+
* [*] Fix rare crash in the unsupported block editor [#23379]
59

610
25.1
711
-----

Scripts/BuildPhases/Authenticator/CopyResources-input.xcfilelist

Lines changed: 0 additions & 4 deletions
This file was deleted.

Scripts/BuildPhases/Authenticator/CopyResources-output.xcfilelist

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)