Skip to content

Commit 5984102

Browse files
Andy ValdezAndy Valdez
authored andcommitted
Merge branch 'trunk' into andy/issue-20026
2 parents b1ebd86 + 333c1c7 commit 5984102

File tree

367 files changed

+12474
-8981
lines changed

Some content is hidden

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

367 files changed

+12474
-8981
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ Fixes #
3232

3333
-----
3434

35-
## UI Changes Testing Checklist:
35+
## Testing Checklist:
3636

37+
- [ ] WordPress.com sites and self-hosted Jetpack sites.
3738
- [ ] Portrait and landscape orientations.
3839
- [ ] Light and dark modes.
3940
- [ ] Fonts: Larger, smaller and bold text.

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ updates:
3636
# dependapot.
3737
- dependency-name: "org.wordpress:fluxc"
3838
- dependency-name: "org.wordpress:utils"
39-
# org.wordpress-mobile.gutenberg-mobile is deprecated and org.wordpress.gutenberg-mobile is used instead.
40-
# Temporarily leaving this declaration during transition, but this should be removed soon.
41-
- dependency-name: "org.wordpress-mobile.gutenberg-mobile:react-native-gutenberg-bridge"
4239
- dependency-name: "org.wordpress.gutenberg-mobile:react-native-gutenberg-bridge"
4340
- dependency-name: "org.wordpress:login"
4441
- dependency-name: "com.automattic:stories"

.github/workflows/run-danger.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: ☢️ Danger
22

33
on:
44
pull_request:
5-
types: [opened, synchronize, edited, review_requested, review_request_removed, labeled, unlabeled, milestoned, demilestoned]
5+
types: [opened, reopened, ready_for_review, synchronize, edited, labeled, unlabeled, milestoned, demilestoned]
66

77
jobs:
88
dangermattic:
9-
uses: Automattic/dangermattic/.github/workflows/reusable-run-danger.yml@trunk
9+
# runs on draft PRs only for opened / synchronize events
10+
if: ${{ (github.event.pull_request.draft == false) || (github.event.pull_request.draft == true && contains(fromJSON('["opened", "synchronize"]'), github.event.action)) }}
11+
uses: Automattic/dangermattic/.github/workflows/reusable-run-danger.yml@v1.0.0
1012
secrets:
1113
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 📝 Validate Issues
2+
3+
on:
4+
issues:
5+
types: [opened, labeled, unlabeled]
6+
7+
jobs:
8+
check-labels-on-issues:
9+
uses: Automattic/dangermattic/.github/workflows/reusable-check-labels-on-issues.yml@v1.0.0
10+
with:
11+
label-format-list: '[
12+
"^\[.+\]",
13+
"^[[:alnum:]]"
14+
]'
15+
label-error-message: '🚫 Please add a type label (e.g. **[Type] Enhancement**) and a feature label (e.g. **Stats**) to this issue.'
16+
label-success-message: 'Thanks for reporting! 👍'
17+
secrets:
18+
github-token: ${{ secrets.DANGERMATTIC_GITHUB_TOKEN }}

Dangerfile

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,46 @@
11
# frozen_string_literal: true
22

3-
def release_branch?
4-
danger.github.branch_for_base.start_with?('release/') || danger.github.branch_for_base.start_with?('hotfix/')
5-
end
3+
github.dismiss_out_of_range_messages
64

7-
def main_branch?
8-
danger.github.branch_for_base == 'trunk'
9-
end
5+
# `files: []` forces rubocop to scan all files, not just the ones modified in the PR
6+
rubocop.lint(files: [], force_exclusion: true, inline_comment: true, fail_on_inline_comment: true, include_cop_names: true)
107

11-
def wip_feature?
12-
has_wip_label = github.pr_labels.any? { |label| label.include?('WIP') }
13-
has_wip_title = github.pr_title.include?('WIP')
8+
manifest_pr_checker.check_gemfile_lock_updated
149

15-
has_wip_label || has_wip_title
16-
end
10+
android_release_checker.check_release_notes_and_play_store_strings
1711

18-
return if github.pr_labels.include?('Releases')
12+
android_strings_checker.check_strings_do_not_refer_resource
1913

20-
github.dismiss_out_of_range_messages
14+
# skip remaining checks if we're in a release-process PR
15+
if github.pr_labels.include?('Releases')
16+
message('This PR has the `Releases` label: some checks will be skipped.')
17+
return
18+
end
2119

22-
manifest_pr_checker.check_gemfile_lock_updated
20+
common_release_checker.check_internal_release_notes_changed(report_type: :message)
2321

24-
labels_checker.check(
25-
required_labels: [//],
26-
required_labels_error: 'PR requires at least one label.'
27-
)
22+
android_release_checker.check_modified_strings_on_release
2823

29-
view_changes_need_screenshots.view_changes_need_screenshots
24+
view_changes_checker.check
3025

3126
pr_size_checker.check_diff_size(
32-
file_selector: ->(path) { !path.include?('/src/test') },
33-
max_size: 300
27+
max_size: 300,
28+
file_selector: ->(path) { !path.include?('/src/test') }
3429
)
3530

3631
android_unit_test_checker.check_missing_tests
3732

38-
# skip check for draft PRs and for WIP features unless the PR is against the main branch or release branch
39-
milestone_checker.check_milestone_due_date(days_before_due: 4) unless github.pr_draft? || (wip_feature? && !(release_branch? || main_branch?))
33+
# skip remaining checks if the PR is still a Draft
34+
if github.pr_draft?
35+
message('This PR is still a Draft: some checks will be skipped.')
36+
return
37+
end
38+
39+
labels_checker.check(
40+
do_not_merge_labels: ['Do Not Merge'],
41+
required_labels: [//],
42+
required_labels_error: 'PR requires at least one label.'
43+
)
4044

41-
rubocop.lint(inline_comment: true, fail_on_inline_comment: true, include_cop_names: true)
45+
# runs the milestone check if this is not a WIP feature and the PR is against the main branch or the release branch
46+
milestone_checker.check_milestone_due_date(days_before_due: 4) if (github_utils.main_branch? || github_utils.release_branch?) && !github_utils.wip_feature?

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source 'https://rubygems.org'
44

5-
gem 'danger-dangermattic', git: 'https://github.com/Automattic/dangermattic'
5+
gem 'danger-dangermattic', '~> 1.0'
66
gem 'fastlane', '~> 2'
77
gem 'nokogiri'
88

Gemfile.lock

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
GIT
2-
remote: https://github.com/Automattic/dangermattic
3-
revision: 9ba0e5824e66e16526897a4583c9b900f9b8635c
4-
specs:
5-
danger-dangermattic (0.0.1)
6-
danger (~> 9.3)
7-
danger-junit (~> 1.0)
8-
danger-plugin-api (~> 1.0)
9-
danger-rubocop (~> 0.11)
10-
danger-swiftlint (~> 0.29)
11-
danger-xcode_summary (~> 1.0)
12-
rubocop (~> 1.56)
13-
141
GEM
152
remote: https://rubygems.org/
163
specs:
@@ -26,7 +13,7 @@ GEM
2613
minitest (>= 5.1)
2714
mutex_m
2815
tzinfo (~> 2.0)
29-
addressable (2.8.5)
16+
addressable (2.8.6)
3017
public_suffix (>= 2.0.2, < 6.0)
3118
artifactory (3.0.15)
3219
ast (2.4.2)
@@ -66,7 +53,7 @@ GEM
6653
connection_pool (2.4.1)
6754
cork (0.3.0)
6855
colored2 (~> 3.1)
69-
danger (9.4.0)
56+
danger (9.4.3)
7057
claide (~> 1.0)
7158
claide-plugins (>= 0.9.2)
7259
colored2 (~> 3.1)
@@ -77,8 +64,16 @@ GEM
7764
kramdown (~> 2.3)
7865
kramdown-parser-gfm (~> 1.0)
7966
no_proxy_fix
80-
octokit (>= 6.0, < 8.0)
67+
octokit (>= 4.0)
8168
terminal-table (>= 1, < 4)
69+
danger-dangermattic (1.0.0)
70+
danger (~> 9.4)
71+
danger-junit (~> 1.0)
72+
danger-plugin-api (~> 1.0)
73+
danger-rubocop (~> 0.12)
74+
danger-swiftlint (~> 0.35)
75+
danger-xcode_summary (~> 1.0)
76+
rubocop (~> 1.60)
8277
danger-junit (1.0.2)
8378
danger (> 2.0)
8479
ox (~> 2.0)
@@ -87,10 +82,10 @@ GEM
8782
danger-rubocop (0.12.0)
8883
danger
8984
rubocop (~> 1.0)
90-
danger-swiftlint (0.34.0)
85+
danger-swiftlint (0.35.0)
9186
danger
9287
rake (> 10)
93-
thor (~> 0.19)
88+
thor (~> 1.0.0)
9489
danger-xcode_summary (1.2.0)
9590
danger-plugin-api (~> 1.0)
9691
xcresult (~> 0.2)
@@ -122,7 +117,7 @@ GEM
122117
faraday-em_http (1.0.0)
123118
faraday-em_synchrony (1.0.0)
124119
faraday-excon (1.1.0)
125-
faraday-http-cache (2.5.0)
120+
faraday-http-cache (2.5.1)
126121
faraday (>= 0.8)
127122
faraday-httpclient (1.0.1)
128123
faraday-multipart (1.0.4)
@@ -193,7 +188,7 @@ GEM
193188
rake-compiler (~> 1.0)
194189
xcodeproj (~> 1.22)
195190
gh_inspector (1.1.3)
196-
git (1.18.0)
191+
git (1.19.1)
197192
addressable (~> 2.8)
198193
rchardet (~> 1.8)
199194
google-apis-androidpublisher_v3 (0.53.0)
@@ -241,7 +236,7 @@ GEM
241236
concurrent-ruby (~> 1.0)
242237
java-properties (0.3.0)
243238
jmespath (1.6.2)
244-
json (2.6.3)
239+
json (2.7.1)
245240
jwt (2.7.1)
246241
kramdown (2.4.0)
247242
rexml
@@ -253,7 +248,7 @@ GEM
253248
mini_portile2 (2.8.5)
254249
minitest (5.20.0)
255250
multi_json (1.15.0)
256-
multipart-post (2.3.0)
251+
multipart-post (2.4.0)
257252
mutex_m (0.2.0)
258253
nanaimo (0.3.0)
259254
nap (1.1.0)
@@ -270,8 +265,8 @@ GEM
270265
optparse (0.1.1)
271266
os (1.1.4)
272267
ox (2.14.17)
273-
parallel (1.23.0)
274-
parser (3.2.2.4)
268+
parallel (1.24.0)
269+
parser (3.3.0.5)
275270
ast (~> 2.4.1)
276271
racc
277272
plist (3.7.0)
@@ -285,7 +280,7 @@ GEM
285280
rake-compiler (1.2.5)
286281
rake
287282
rchardet (1.8.0)
288-
regexp_parser (2.8.2)
283+
regexp_parser (2.9.0)
289284
representable (3.2.0)
290285
declarative (< 0.1.0)
291286
trailblazer-option (>= 0.1.1, < 0.2.0)
@@ -294,15 +289,15 @@ GEM
294289
rexml (3.2.6)
295290
rmagick (4.3.0)
296291
rouge (2.0.7)
297-
rubocop (1.57.2)
292+
rubocop (1.60.2)
298293
json (~> 2.3)
299294
language_server-protocol (>= 3.17.0)
300295
parallel (~> 1.10)
301-
parser (>= 3.2.2.4)
296+
parser (>= 3.3.0.2)
302297
rainbow (>= 2.2.2, < 4.0)
303298
regexp_parser (>= 1.8, < 3.0)
304299
rexml (>= 3.2.5, < 4.0)
305-
rubocop-ast (>= 1.28.1, < 2.0)
300+
rubocop-ast (>= 1.30.0, < 2.0)
306301
ruby-progressbar (~> 1.7)
307302
unicode-display_width (>= 2.4.0, < 3.0)
308303
rubocop-ast (1.30.0)
@@ -325,7 +320,7 @@ GEM
325320
terminal-notifier (2.0.0)
326321
terminal-table (3.0.2)
327322
unicode-display_width (>= 1.1.1, < 3)
328-
thor (0.20.3)
323+
thor (1.0.1)
329324
trailblazer-option (0.1.2)
330325
tty-cursor (0.7.1)
331326
tty-screen (0.8.1)
@@ -354,7 +349,7 @@ PLATFORMS
354349
ruby
355350

356351
DEPENDENCIES
357-
danger-dangermattic!
352+
danger-dangermattic (~> 1.0)
358353
fastlane (~> 2)
359354
fastlane-plugin-wpmreleasetoolkit (~> 9.2)
360355
nokogiri

RELEASE-NOTES.txt

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
11
*** PLEASE FOLLOW THIS FORMAT: [<priority indicator, more stars = higher priority>] <description> [<PR URL>]
22

3-
24.2
3+
24.3
44
-----
5+
* [**] Added support to use third-party passkey providers and other devices passkeys as a WordPress.com login option [https://github.com/wordpress-mobile/WordPress-Android/pull/20174]
6+
* [*] [Jetpack-only] Fix the visibility issue with the menu button on the stats [https://github.com/wordpress-mobile/WordPress-Android/pull/20175]
57

8+
24.2
9+
-----
10+
* [**] Fix editor crash occurring on large posts [https://github.com/wordpress-mobile/WordPress-Android/pull/20046]
11+
* [*] [Jetpack-only] Site Monitoring: Add Metrics, PHP Logs, and Web Server Logs under Site Monitoring [https://github.com/wordpress-mobile/WordPress-Android/issues/20067]
12+
* [**] Prevent images from temporarily disappearing when uploading media [https://github.com/WordPress/gutenberg/pull/57869]
13+
* [***] [Jetpack-only] Reader: introduced new UI/UX for content navigation and filtering [https://github.com/wordpress-mobile/WordPress-Android/pull/19978]
14+
* [**] Prevents crashes when the webview state is too big [https://github.com/wordpress-mobile/WordPress-Android/pull/20139]
15+
* [*] [WordPress-only] Prevents a crash occurring when uploading videos under certain conditions [https://github.com/wordpress-mobile/WordPress-Android/pull/20168]
616

717
24.1
818
-----
19+
* [**] Disabled the ability of creating new Story posts. [#20014]
20+
* [**] Disable Story block [https://github.com/wordpress-mobile/WordPress-Android/pull/20005]
21+
22+
24.0.2
23+
-----
24+
* [**] Fix Aztec editor crash when losing or gaining network connectivity [https://github.com/wordpress-mobile/WordPress-Android/pull/20053]
925

1026
24.0.1
1127
-----

0 commit comments

Comments
 (0)