Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict colors to a subset of "brand colors" #1

Closed
wants to merge 56 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0d53804
External Libraries: Upgrade PHPMailer to version 6.2.0.
SergeyBiryukov Nov 30, 2020
901909b
Site Health, App Passwords: Ensure REST API responses are properly tr…
TimothyBJacobs Dec 1, 2020
0d3bc82
Editor: Update packages for WordPress 5.6 RC2.
SergeyBiryukov Dec 1, 2020
39fd44d
Media: Revert [49567].
SergeyBiryukov Dec 1, 2020
b481925
Editor: Don't unnecessarily split a translatable string in block temp…
SergeyBiryukov Dec 1, 2020
b1385b7
Administration: Make sure row actions for recent comments in Activity…
SergeyBiryukov Dec 1, 2020
17be19d
Twenty Twenty-One: Sync the latest changes for 5.6 RC2.
desrosj Dec 1, 2020
f1e6105
REST API: Pass the previous state of the post as a parameter to the `…
johnbillion Dec 1, 2020
78f4510
Docs: Clarify the `$format` parameter description in `comment_time()`.
SergeyBiryukov Dec 2, 2020
96b6783
Upgrade/Install: Check `$wp_version` global for displaying "You are u…
SergeyBiryukov Dec 3, 2020
a9064e9
Editor: Update components package for WordPress 5.6 RC3.
SergeyBiryukov Dec 3, 2020
59b018f
App Passwords: Return true when rate limiting a password's last used …
TimothyBJacobs Dec 3, 2020
3cd0c58
Upgrade/Install: Update sodium_compat to v1.14.0.
SergeyBiryukov Dec 3, 2020
cac678f
Multisite: Cache absolute `dirsize` paths to avoid PHP 8 fatal.
iandunn Dec 3, 2020
babba89
App Passwords: Ensure the Created At and Last Used dates are properly…
TimothyBJacobs Dec 3, 2020
2b0e2d6
Database: Check the correct value for displaying the "Successfully re…
SergeyBiryukov Dec 4, 2020
8724f54
Media: Return `WP_Error` when cropping with bad input to avoid fatal.
iandunn Dec 4, 2020
38361be
App Passwords: Prevent conflicts when Basic Auth is already used by t…
TimothyBJacobs Dec 4, 2020
85bc062
Tests: Correct `@ticket` references in some test files.
SergeyBiryukov Dec 5, 2020
a6e1d39
Docs, Tests: Correctly capitalize JavaScript.
peterwilsoncc Dec 6, 2020
f51bcff
Twenty Twenty-One: Fix the nesting of the `main` element.
SergeyBiryukov Dec 6, 2020
92f1498
Twenty Twenty-One: Use consistent HTML comments after closing HTML tags.
SergeyBiryukov Dec 7, 2020
175b23e
Twenty Twenty-One: Use `esc_url()` for the WordPress.org link in `foo…
SergeyBiryukov Dec 7, 2020
ae9911c
Bundled Themes: Bump theme versions ahead of WordPress 5.6.
SergeyBiryukov Dec 7, 2020
34e2503
App Passwords: Store the "in use" option in the main network options.
TimothyBJacobs Dec 7, 2020
e328e26
Docs: Fix typo in references to `WP_Error` in some DocBlocks.
SergeyBiryukov Dec 8, 2020
804db75
Help/About: Use CDN URLs for About page images.
ryelle Dec 8, 2020
ee7ba3a
App Passwords: Ensure redirection description is shown on mobile devi…
TimothyBJacobs Dec 8, 2020
83d9b86
Update `$_old_files` for 5.6.
helen Dec 8, 2020
7460614
Build/Test Tools: Remove the Appveyor configuration file.
desrosj Dec 9, 2020
6e2ba3b
Build/Test Tools: Update `package-lock.json` file with several packag…
desrosj Dec 9, 2020
cf909e1
Build/Test Tools: Disable GitHub Action workflow runs triggered on `p…
desrosj Dec 9, 2020
2a46c39
Build/Test Tools: Use NodeJS 14 in GitHub Action workflows.
desrosj Dec 9, 2020
e86d912
Build/Test Tools: Enable reporting of results to WordPress.org.
desrosj Dec 10, 2020
668581d
Build/Test Tools: Inline documentation updates for the PHPUnit workflow.
desrosj Dec 10, 2020
fe1a25f
Docs: Fix typo in some DocBlocks.
SergeyBiryukov Dec 10, 2020
14cda03
Build/Test Tools: Reestablish the codebase as a Git repo before repor…
desrosj Dec 10, 2020
f92fdb1
Docs: Fix some docblock issues introduced in 5.6.
johnbillion Dec 10, 2020
6267e41
Upgrade/Install: Remove a duplicate description for the `upgrader_ove…
johnbillion Dec 10, 2020
81b8968
Docs: Various docblock corrections.
johnbillion Dec 10, 2020
37f8276
Docs: Various docblock improvements.
johnbillion Dec 10, 2020
24f6120
Build/Test Tools: Update several NPM packages.
desrosj Dec 11, 2020
c167a94
Docs: Document the usage of `$wpdb` global in `WP_Query::get_posts()`…
SergeyBiryukov Dec 11, 2020
f4f7afb
Twenty Nineteen: Add images for use in block patterns.
ryelle Dec 11, 2020
5928678
Twenty Twenty-One: Correct version in `file-header.scss`.
SergeyBiryukov Dec 12, 2020
11e82a4
Twenty Twenty-One: Fix typos in some inline comments.
SergeyBiryukov Dec 12, 2020
f2c287a
Build/Test Tools: Remove PHPUnit 3.6.x specific settings from the mul…
desrosj Dec 12, 2020
707d5df
Build/Test Tools: Allow code coverage reports to be generated when ru…
desrosj Dec 12, 2020
ce8da7e
Twenty Twenty-One: Use a more specific link for Dark Mode instructions.
SergeyBiryukov Dec 13, 2020
6bd6758
Twenty Twenty-One: Correct the DocBlock for `map-deep-set()` Sass fun…
SergeyBiryukov Dec 14, 2020
8eda498
Twenty Twenty-One: Bring back PostCSS config.
ryelle Dec 14, 2020
34dff0e
Twenty Twenty-One: Fix typos in some inline comments.
SergeyBiryukov Dec 15, 2020
331b111
Restrict colors to a subset of "brand colors"
ryelle Aug 31, 2020
c1437f0
Update green in "copied" message
ryelle Oct 1, 2020
b19dcf2
Update active plugins to use lightest blue
ryelle Oct 9, 2020
4260e44
Update unapproved comment background color
ryelle Dec 15, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
phpcs:
name: PHP coding standards
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -85,8 +87,10 @@ jobs:
jshint:
name: JavaScript coding standards
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }}

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand All @@ -101,7 +105,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Cache NodeJS modules
uses: actions/cache@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}

steps:
- name: Cancel previous runs of this workflow (pull requests only)
if: ${{ github.event_name == 'pull_request' }}
Expand Down Expand Up @@ -63,7 +65,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Cache NodeJS modules
uses: actions/cache@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
test-js:
name: QUnit Tests
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}

steps:
- name: Cancel previous runs of this workflow (pull requests only)
if: ${{ github.event_name == 'pull_request' }}
Expand All @@ -43,7 +45,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Cache NodeJS modules
uses: actions/cache@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
php-comatibility:
name: Check PHP compatibility
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}

steps:
- name: Checkout repository
Expand Down
33 changes: 24 additions & 9 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# - Checks out the repository.
# - Checks out the WordPress Importer plugin (needed for the Core PHPUnit tests).
# - Logs debug information about the runner container.
# - Installs NodeJS 12 (todo: install the version of NPM specified in the `.nvmrc` file to support older branches).
# - Installs NodeJS 14.
# - Sets up caching for NPM.
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
# - Builds WordPress to run from the `build` directory.
Expand All @@ -35,6 +35,7 @@ jobs:
setup-wordpress:
name: Setup WordPress
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}

steps:
- name: Cancel previous runs of this workflow (pull requests only)
Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Cache NodeJS modules
uses: actions/cache@v2
Expand Down Expand Up @@ -104,7 +105,7 @@ jobs:
# - Sets up the environment variables needed for testing with memcached (if desired).
# - Downloads the built WordPress artifact from the previous job.
# - Unzips the artifact.
# - Installs NodeJS 12 (todo: install the version of NPM specified in the `nvmrc` file to support older branches)
# - Installs NodeJS 14.
# - Sets up caching for NPM.
# _ Installs NPM dependencies using install-changed to hash the `package.json` file.
# - Configures caching for Composer.
Expand All @@ -118,7 +119,9 @@ jobs:
# - Logs debug information about what's installed within the WordPress Docker containers.
# - Install WordPress within the Docker container.
# - Run the PHPUnit tests.
# - Reports test results to the Distributed Hosting Tests.
# - Checks out the WordPress Test reporter repository.
# - Reconnect the directory to the Git repository.
# - Submit the test results to the WordPress.org host test results.
# - todo: Configure Slack notifications for failing tests.
test-php:
name: ${{ matrix.php }}${{ matrix.memcached && ' with memcached' || '' }} on ${{ matrix.os }}
Expand Down Expand Up @@ -160,7 +163,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Use cached Node modules
uses: actions/cache@v2
Expand Down Expand Up @@ -270,11 +273,23 @@ jobs:
if: ${{ env.LOCAL_PHP != '8.0-fpm' }}
run: LOCAL_PHP_XDEBUG=true npm run test:php -- -v --group xdebug --exclude-group __fakegroup__

- name: WordPress Test Reporter
if: ${{ matrix.report }}
- name: Checkout the WordPress Test Reporter
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
uses: actions/checkout@v2
with:
repository: 'WordPress/phpunit-test-runner'
path: 'test-runner'
# TODO: Configure hidden keys to successfully report test results.
# run: docker-compose run --rm -e WPT_REPORT_API_KEY -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php

- name: Set up the Git repository
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
run: |
git init
git remote add origin https://github.com/WordPress/wordpress-develop.git
git fetch
git reset origin/master

- name: Submit test results to the WordPress.org host test results
if: ${{ github.repository == 'WordPress/wordpress-develop' && github.ref == 'refs/heads/master' && matrix.report }}
env:
WPT_REPORT_API_KEY: "${{ secrets.WPT_REPORT_API_KEY }}"
run: docker-compose run --rm -e WPT_REPORT_API_KEY -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php
4 changes: 3 additions & 1 deletion .github/workflows/verify-npm-on-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
test-npm:
name: Tests NPM on Windows
runs-on: windows-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }}

steps:
- name: Cancel previous runs of this workflow (pull requests only)
if: ${{ github.event_name == 'pull_request' }}
Expand All @@ -45,7 +47,7 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 14

- name: Get NPM cache directory
id: npm-cache
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/welcome-new-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
# Comments on a pull request when the author is a new contributor.
post-welcome-message:
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/wordpress-develop' }}

steps:
- uses: bubkoo/welcome-action@v1
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ module.exports = function(grunt) {
} );

// Travis CI tasks.
grunt.registerTask('travis:js', 'Runs Javascript Travis CI tasks.', [ 'jshint:corejs', 'qunit:compiled' ]);
grunt.registerTask('travis:js', 'Runs JavaScript Travis CI tasks.', [ 'jshint:corejs', 'qunit:compiled' ]);
grunt.registerTask('travis:phpunit', 'Runs PHPUnit Travis CI tasks.', [ 'build', 'phpunit' ]);
grunt.registerTask('travis:phpcs', 'Runs PHP Coding Standards Travis CI tasks.', [ 'format:php:error', 'lint:php:travisErrors:error', 'lint:php:travisWarnings:error' ]);

Expand Down
34 changes: 0 additions & 34 deletions appveyor.yml

This file was deleted.

Loading