Skip to content

Commit

Permalink
Merge branch 'trunk' into add/converge-wpcomsh
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Jun 12, 2024
2 parents e79719a + d6e18b5 commit 79a3ebb
Show file tree
Hide file tree
Showing 64 changed files with 482 additions and 302 deletions.
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.eslint": "explicit"
},
"files.exclude": {
"**/.cache/**": true,
Expand All @@ -25,7 +25,7 @@
"**/packages/**/wordpress/**",
"**/projects/**/wordpress/**",
"**/plugins/**/wordpress/**",
"**/vendor/**",
"**/vendor/**",
],
"phpCodeSniffer.autoExecutable": true,
"phpCodeSniffer.standard": "Automatic",
Expand All @@ -38,4 +38,4 @@
"**/vendor/**",
],
"prettier.prettierPath": "tools/js-tools/node_modules/prettier/index.cjs"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.35] - 2024-06-12
### Changed
- Updated package dependencies. [#37796]

## [1.0.34] - 2024-03-04
### Changed
- Updated package dependencies. [#36142]
Expand Down Expand Up @@ -157,6 +161,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Initial release.
- Replace missing domains too.

[1.0.35]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.34...v1.0.35
[1.0.34]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.33...v1.0.34
[1.0.33]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.32...v1.0.33
[1.0.32]: https://github.com/Automattic/babel-plugin-replace-textdomain/compare/v1.0.31...v1.0.32
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/babel-plugin-replace-textdomain",
"version": "1.0.35-alpha",
"version": "1.0.35",
"description": "A Babel plugin to replace the textdomain in gettext-style function calls.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/babel-plugin-replace-textdomain/#readme",
"bugs": {
Expand Down
5 changes: 5 additions & 0 deletions projects/js-packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### This is a list detailing changes for the Jetpack RNA Components package releases.

## [0.53.10] - 2024-06-12
### Changed
- Updated package dependencies. [#37796]

## [0.53.9] - 2024-06-11
### Changed
- Updated package dependencies. [#37779]
Expand Down Expand Up @@ -1063,6 +1067,7 @@
### Changed
- Update node version requirement to 14.16.1

[0.53.10]: https://github.com/Automattic/jetpack-components/compare/0.53.9...0.53.10
[0.53.9]: https://github.com/Automattic/jetpack-components/compare/0.53.8...0.53.9
[0.53.8]: https://github.com/Automattic/jetpack-components/compare/0.53.7...0.53.8
[0.53.7]: https://github.com/Automattic/jetpack-components/compare/0.53.6...0.53.7
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion projects/js-packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-components",
"version": "0.53.10-alpha",
"version": "0.53.10",
"description": "Jetpack Components Package",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand Down
5 changes: 5 additions & 0 deletions projects/js-packages/connection/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### This is a list detailing changes for the Jetpack RNA Connection Component releases.

## [0.33.16] - 2024-06-12
### Changed
- Updated package dependencies. [#37796]

## [0.33.15] - 2024-06-11
### Changed
- Updated package dependencies. [#37779]
Expand Down Expand Up @@ -781,6 +785,7 @@
- `Main` and `ConnectUser` components added.
- `JetpackRestApiClient` API client added.

[0.33.16]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.15...v0.33.16
[0.33.15]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.14...v0.33.15
[0.33.14]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.13...v0.33.14
[0.33.13]: https://github.com/Automattic/jetpack-connection-js/compare/v0.33.12...v0.33.13
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion projects/js-packages/connection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-connection",
"version": "0.33.16-alpha",
"version": "0.33.16",
"description": "Jetpack Connection Component",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/connection/#readme",
"bugs": {
Expand Down
5 changes: 5 additions & 0 deletions projects/js-packages/i18n-check-webpack-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.9] - 2024-06-12
### Changed
- Updated package dependencies. [#37796]

## [1.1.8] - 2024-05-06
### Changed
- Internal updates.
Expand Down Expand Up @@ -206,6 +210,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Initial release.

[1.1.9]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.8...v1.1.9
[1.1.8]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.7...v1.1.8
[1.1.7]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.6...v1.1.7
[1.1.6]: https://github.com/Automattic/i18n-check-webpack-plugin/compare/v1.1.5...v1.1.6
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/i18n-check-webpack-plugin",
"version": "1.1.9-alpha",
"version": "1.1.9",
"description": "A Webpack plugin to check that WordPress i18n hasn't been mangled by Webpack optimizations.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/i18n-check-webpack-plugin/#readme",
"bugs": {
Expand Down
4 changes: 4 additions & 0 deletions projects/js-packages/idc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### This is a list detailing changes for the Jetpack RNA IDC package releases.

## 0.11.1 - 2024-06-12
### Changed
- Updated package dependencies. [#37796]

## 0.11.0 - 2024-06-10
### Added
- Safe mode: Added new screen for staging sites. [#37023]
Expand Down
4 changes: 0 additions & 4 deletions projects/js-packages/idc/changelog/renovate-babel-monorepo

This file was deleted.

2 changes: 1 addition & 1 deletion projects/js-packages/idc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@automattic/jetpack-idc",
"version": "0.11.1-alpha",
"version": "0.11.1",
"description": "Jetpack Connection Component",
"author": "Automattic",
"license": "GPL-2.0-or-later",
Expand Down
4 changes: 4 additions & 0 deletions projects/js-packages/webpack-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 3.2.8 - 2024-06-12
### Changed
- Updated package dependencies. [#37796]

## 3.2.7 - 2024-06-05
### Changed
- Updated package dependencies. [#37669]
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion projects/js-packages/webpack-config/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@automattic/jetpack-webpack-config",
"version": "3.2.8-alpha",
"version": "3.2.8",
"description": "Library of pieces for webpack config in Jetpack projects.",
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/webpack-config/#readme",
"bugs": {
Expand Down
5 changes: 5 additions & 0 deletions projects/packages/connection/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.10.1] - 2024-06-12
### Changed
- Updated package dependencies. [#37796]

## [2.10.0] - 2024-06-10
### Added
- Staging: deprecating staging mode and separating the logic into is_development_site and in_safe_mode [#37023]
Expand Down Expand Up @@ -1111,6 +1115,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Separate the connection library into its own package.

[2.10.1]: https://github.com/Automattic/jetpack-connection/compare/v2.10.0...v2.10.1
[2.10.0]: https://github.com/Automattic/jetpack-connection/compare/v2.9.3...v2.10.0
[2.9.3]: https://github.com/Automattic/jetpack-connection/compare/v2.9.2...v2.9.3
[2.9.2]: https://github.com/Automattic/jetpack-connection/compare/v2.9.1...v2.9.2
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion projects/packages/connection/src/class-package-version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class Package_Version {

const PACKAGE_VERSION = '2.10.1-alpha';
const PACKAGE_VERSION = '2.10.1';

const PACKAGE_SLUG = 'connection';

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Replace the wp-admin/about.php links with a link to wp-admin/ main page. This is needed for Simple Sites where we restrict access to the about.php and contribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,40 @@ function add_all_sites_menu_to_masterbar( $wp_admin_bar ) {
}
add_action( 'admin_bar_menu', 'add_all_sites_menu_to_masterbar', 15 );

/**
* Replace the WP logo /about.php link with /wp-admin/.
*
* This is needed because on Simple Sites we don't expose the about and contribute pages.
* Although really needed only on Simple, it would make sense to have the same behavior on AT.
*
* @param WP_Admin_Bar $wp_admin_bar The WP_Admin_Bar core object. On Simple sites it's a different class.
*
* @return void
*/
function replace_wp_logo_menu_on_masterbar( $wp_admin_bar ) {
if ( ! function_exists( 'wpcom_is_nav_redesign_enabled' ) || ! wpcom_is_nav_redesign_enabled() ) {
return;
}

$wp_admin_bar->remove_menu( 'wp-logo' );

$wp_logo_menu_args = array(
'id' => 'wp-logo',
'title' => '<span class="ab-icon" aria-hidden="true"></span><span class="screen-reader-text">' .
/* translators: Hidden accessibility text. */
__( 'About WordPress', 'jetpack-mu-wpcom' ) .
'</span>',
'href' => get_dashboard_url(),
'meta' => array(
'menu_title' => __( 'About WordPress', 'jetpack-mu-wpcom' ),
),
);

$wp_admin_bar->add_node( $wp_logo_menu_args );
}

add_action( 'admin_bar_menu', 'replace_wp_logo_menu_on_masterbar', 11 );

/**
* Enqueue scripts and styles needed by the WP.com menu.
*/
Expand Down
7 changes: 7 additions & 0 deletions projects/plugins/automattic-for-agencies-client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.2.1 - 2024-06-12
### Changed
- Dashboard: switch to a smaller and faster dependency (`clsx`) to handle class names. [#37708]
- Dashboard: update the connection screen's messaging to make our Terms of Service clearer. [#37536]
- Dependencies: remove the 'jetpack-identity-crisis' dependency. [#36968]
- Dependencies: update multiple dependencies. [#37669], [#37767], [#37776], [#37796]

## 0.2.0 - 2024-05-28
### Added
- Add autotagger and autorelease to composer.json to enable auto-tagging and auto-release actions [#37143]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Automattic for Agencies Client
* Plugin URI: https://wordpress.org/plugins/automattic-for-agencies-client
* Description: Securely connect your clients’ sites to the Automattic for Agencies Sites Dashboard. Manage your sites from one place and see what needs attention.
* Version: 0.2.1-alpha
* Version: 0.2.1
* Author: Automattic
* Author URI: https://jetpack.com/
* License: GPLv2 or later
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
"automattic/jetpack-autoloader": true,
"automattic/jetpack-composer-plugin": true
},
"autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_automattic_for_agencies_clientⓥ0_2_1_alpha"
"autoloader-suffix": "c4802e05bbcf59fd3b6350e8d3e5482c_automattic_for_agencies_clientⓥ0_2_1"
}
}
Loading

0 comments on commit 79a3ebb

Please sign in to comment.