Skip to content

Commit 16c5d23

Browse files
gmjuhaszmatticbot
authored andcommitted
Forms: track webhook requests in wpcom infra (#46273)
* Track webhook requests with mc stats * changelog Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/20229904428 Upstream-Ref: Automattic/jetpack@03af434
1 parent 35169d6 commit 16c5d23

21 files changed

+298
-30
lines changed

.github/workflows/autotagger.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- '*/branch-*'
99
workflow_dispatch:
1010

11+
# We use secrets.API_TOKEN_GITHUB for everything here, so no need for permissions.
12+
permissions: {}
13+
1114
jobs:
1215
tag:
1316
name: Tag

.github/workflows/readonly.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
pull_request_target:
77
types: opened
88

9+
permissions:
10+
# dessant/repo-lockdown
11+
issues: write
12+
pull-requests: write
13+
914
jobs:
1015
lockdown:
1116
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
This is an alpha version! The changes listed here are not final.
1111

1212
### Added
13+
- Add Jetpack Form custom post type for reusable forms with REST API support and feature flag integration
1314
- Forms: Add CTA to install/activate Akismet on empty spam dashboard
1415

1516
### Changed
1617
- Add jetpack_forms_extra_webhooks filter and include feedback ID in jetpack_forms_before_webhook_request filter
18+
- Forms: auto-generate webhook id so users don't have to fill it.
1719
- Forms: refactored how we retrieve form submission fields to send in the webhook payload.
20+
- Forms: track webhook requests done in wpcom infrastructure.
21+
- Forms: track when users enable and disable webhooks.
22+
- Forms: use entire button area for selecting multi-select options
1823
- Replace use of confusing `esc_js` with `wp_json_encode`.
1924
- Tests: Replace PHPUnit mocks with anonymous classes to eliminate PHPUnit 12 strictness warnings
2025
- Update package dependencies.
@@ -24,7 +29,11 @@ This is an alpha version! The changes listed here are not final.
2429

2530
### Fixed
2631
- Fix export functionality to handle null values properly for IP Address, Country code, and Browser fields
32+
- Fix `Contact_Form_Endpoint_Test::test_resend_email` attempting to actually send email.
33+
- Forms: ensure submission summary is contained within 100% width
34+
- Forms: Fix dashboard height
2735
- Forms: Fix slider field text labels showing borders in editor when using certain themes like Assembler
36+
- Forms: fix validation accessibility.
2837
- Make form buttons take full width on mobile devices
2938

3039
## [6.22.0] - 2025-12-08

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@
66
"require": {
77
"php": ">=7.2",
88
"automattic/jetpack-blocks": "^3.1.1",
9-
"automattic/jetpack-assets": "^4.3.16",
10-
"automattic/jetpack-connection": "^6.19.11",
9+
"automattic/jetpack-assets": "^4.3.17-alpha",
10+
"automattic/jetpack-connection": "^6.19.12-alpha",
1111
"automattic/jetpack-device-detection": "^3.3.0",
1212
"automattic/jetpack-external-connections": "^0.1.9-alpha",
1313
"automattic/jetpack-jwt": "^0.2.2",
1414
"automattic/jetpack-logo": "^3.0.5",
1515
"automattic/jetpack-plans": "^0.11.1",
16-
"automattic/jetpack-status": "^6.1.1",
17-
"automattic/jetpack-sync": "^4.24.0",
16+
"automattic/jetpack-status": "^6.1.2-alpha",
17+
"automattic/jetpack-sync": "^4.24.1-alpha",
1818
"automattic/jetpack-admin-ui": "^0.5.11"
1919
},
2020
"require-dev": {
2121
"yoast/phpunit-polyfills": "^4.0.0",
22-
"automattic/jetpack-changelogger": "^6.0.11",
23-
"automattic/jetpack-connection": "^6.19.11",
22+
"automattic/jetpack-changelogger": "^6.0.12-alpha",
23+
"automattic/jetpack-connection": "^6.19.12-alpha",
2424
"automattic/jetpack-test-environment": "@dev",
2525
"automattic/phpunit-select-config": "^1.0.3",
2626
"automattic/wp-feature-api": "@dev"

dist/blocks/editor.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-jp-i18n-loader', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'dc7715d64fecc8524d9d');
1+
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-jp-i18n-loader', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'eaf38ee985a72866cf6f');

dist/blocks/editor.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/contact-form/css/grunion-rtl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/contact-form/css/grunion.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jetpack-script-data', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '6adf36bdf7d3ae26a1d5');
1+
<?php return array('dependencies' => array('jetpack-script-data', 'lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '2dc47179e60f860284f9');

dist/dashboard/jetpack-forms-dashboard.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)