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

Merge master into bucket/order_modifiers_coupons_fees #2245

Open
wants to merge 167 commits into
base: bucket/order_modifiers_coupon_fees
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
167 commits
Select commit Hold shift + click to select a range
c381772
build(composer.json) update stellarwp/assets to 1.2.2
lucatume Jun 6, 2024
e551649
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Jun 17, 2024
be620be
chore(Seating) set dev version"
lucatume Jun 17, 2024
1faf809
fix(Schema) init to let other plugins build on it
lucatume Jun 17, 2024
4813cca
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Jun 20, 2024
8667fdb
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Jul 17, 2024
8b55686
build(package.lock) update
lucatume Jul 17, 2024
8314515
feat(Traits) add the WP_Remote_Mocks trait
lucatume Jul 18, 2024
9aa568b
feat(tests/_support) add wp_send_json test harness
lucatume Jul 19, 2024
e52cbb8
test(_support/traits) iterate over spies and wp_send_json mocks
lucatume Jul 19, 2024
0d877b7
tests(WP_Remote_Mocks) better mocking of all methods, tear down
lucatume Jul 22, 2024
c4be5e2
Merge branch 'feat/slr-support' of github.com:the-events-calendar/tri…
lucatume Jul 22, 2024
79502c9
test(Traits) fix Function_Spy issue
lucatume Jul 22, 2024
cb00eb9
Add the stellarwp/uplink library
borkweb Jun 3, 2024
1fd10da
Initial implementation of the uplink library
borkweb Jun 28, 2024
d37d72b
Support uplink Licensing
dpanta94 Jul 10, 2024
23b4000
Update composer after rebase
dpanta94 Jul 10, 2024
1abe992
Fixing phpcs
dpanta94 Jul 11, 2024
384fcba
Setup test for Uplink controller.
redscar Jul 15, 2024
7ca583f
Added more tests.
redscar Jul 15, 2024
9b8c0f2
Added license key to test.
redscar Jul 15, 2024
570a920
Combined tests.
redscar Jul 15, 2024
84c5254
Fixing tests
dpanta94 Jul 16, 2024
d90d5e0
Use possible pre existent keys of migrated to uplink products
dpanta94 Jul 18, 2024
03ae396
Changes for compat with latest uplink version
dpanta94 Jul 22, 2024
f397e06
Include dev version of uplink
dpanta94 Jul 22, 2024
5bbf471
Fix phpcs
dpanta94 Jul 22, 2024
9e67ae6
Save empty license keys
dpanta94 Jul 23, 2024
98653a7
bump uplink being used
dpanta94 Jul 23, 2024
11b134d
ignore phpcs
dpanta94 Jul 23, 2024
e440dd3
Fixes an issue with `uopz_redefine` where we weren't used the class.
redscar Jul 24, 2024
d4fdf90
Merge pull request #2159 from the-events-calendar/feat/support-uplink…
redscar Jul 24, 2024
043a351
CR amends - move uplink controller's file
dpanta94 Jul 29, 2024
dd27657
Fix tests
dpanta94 Jul 29, 2024
ee64897
Merge pull request #2139 from the-events-calendar/feat/support-uplink…
dpanta94 Jul 30, 2024
8eb012b
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Jul 31, 2024
a80c99a
set version to 6.1.0.0-dev
lucatume Jul 31, 2024
52abb1e
build(npm) update lock file
lucatume Jul 31, 2024
ebf2557
tests(_support) add the With_Clock_Mock trait
lucatume Aug 2, 2024
120f445
test(With_Uopz) return unset closure
lucatume Aug 7, 2024
0d92e45
refactor(_support/Traits) fix trait name case
lucatume Aug 12, 2024
99f132f
test(_support/Traits) add Service_Locator_Mocks trait
lucatume Aug 12, 2024
bb9fbee
Updating uplink to version 2
dpanta94 Aug 13, 2024
eaf414e
Merge pull request #2173 from the-events-calendar/feat/update-uplink-…
lucatume Aug 14, 2024
0818b52
build(composer.json) track dev-slr/sl-142 of Uplink
lucatume Aug 19, 2024
83df559
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Aug 23, 2024
b806c60
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Aug 29, 2024
0fb6635
Check Uplink before invalid license
dpanta94 Aug 30, 2024
07447e7
cover change to Pue Checker get method
dpanta94 Aug 30, 2024
9722806
Merge pull request #2193 from the-events-calendar/fix/check-uplink-be…
dpanta94 Aug 30, 2024
9975ae0
Merge remote-tracking branch 'origin/feat/slr-support' into slr/sl-142
lucatume Sep 2, 2024
0cf17dd
build(composer.lock) update tracked version of uplink
lucatume Sep 2, 2024
be52be1
build(composer.lock) track main of stellarwp/uplink
lucatume Sep 4, 2024
a929568
Merge pull request #2196 from the-events-calendar/slr/sl-142
lucatume Sep 4, 2024
70152ad
build(Composer) pull correct version of stellarwp/uplink
lucatume Sep 4, 2024
2c7da7c
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Sep 10, 2024
cbe02b0
Show close modal button on twentytwenty with !important
dpanta94 Sep 10, 2024
95d30b9
Merge pull request #2205 from the-events-calendar/fix/SL-97-issues
dpanta94 Sep 11, 2024
633ae5d
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Sep 12, 2024
fdffa1d
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Sep 17, 2024
e89e0b9
build(Composer) update
lucatume Sep 17, 2024
db955ea
build(Composer) fix stellarwp/arrays at 1.2.2
lucatume Sep 17, 2024
98ba35f
Fix and enrich WP_Send_Json_Mocks
dpanta94 Sep 18, 2024
e14274f
Merge pull request #2208 from the-events-calendar/feat/sl-177-site-he…
dpanta94 Sep 26, 2024
1bdee8f
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Sep 30, 2024
d175f11
Set version to 6.2.0-dev
lucatume Sep 30, 2024
39121af
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Oct 1, 2024
1d51fc6
Bumb uplink usage to 2.2.1
dpanta94 Sep 30, 2024
e08f953
update lock file
dpanta94 Oct 1, 2024
acd6254
Merge pull request #2222 from the-events-calendar/feat/sl-47-seating-…
dpanta94 Oct 1, 2024
b821868
Add more generic upsell css
dpanta94 Oct 4, 2024
a82be48
Merge pull request #2223 from the-events-calendar/fix/issue-190
dpanta94 Oct 5, 2024
cb7e4ca
initial tweaking to allow more svg goodness through the settings sani…
Camwyn Oct 10, 2024
fb91e30
more svg goodness
Camwyn Oct 10, 2024
f291d38
readme/changelog
Camwyn Oct 10, 2024
30296e3
Add height and width to the svg tag
Camwyn Oct 10, 2024
834bc5c
Remove Marketing and Promo folder from images
bordoni Oct 10, 2024
e163c74
Fully deprecate the Marketing Class
bordoni Oct 10, 2024
b1e3e00
Merge pull request #2224 from the-events-calendar/fix/settings-tweaks
Camwyn Oct 10, 2024
bb50481
Update Strauss version
bordoni Oct 11, 2024
2ea5987
Fix one problem with changelogger
bordoni Oct 11, 2024
798dbd8
Clean bad files
bordoni Oct 11, 2024
6ffbb00
Actually remove most of these classes. They are not being used by def…
bordoni Oct 11, 2024
2955ac0
Move some classes and remove unused notice templates
bordoni Oct 11, 2024
2790e31
Simplify and prevent warning from removed methods
bordoni Oct 11, 2024
3800071
Resolve all the edge-cases related to the types of banner and include…
bordoni Oct 11, 2024
b8c45b6
Fix some code sniffer problems
bordoni Oct 11, 2024
08efbc1
Avoid spaces...
bordoni Oct 11, 2024
2740084
Docblock
bordoni Oct 11, 2024
4201ac5
Tabs, PHPStorm unlearned how to auto convert now...
bordoni Oct 11, 2024
21c009d
Tabs, PHPStorm unlearned how to auto convert now...
bordoni Oct 11, 2024
11ea932
Fix the should display to ensure we have the correct filters/constant…
bordoni Oct 11, 2024
65a55c2
Ignore one more docblock print
bordoni Oct 11, 2024
55d63fb
Fix some translations Code Sniff
bordoni Oct 11, 2024
a4b1b4d
Fix some translations Code Sniff
bordoni Oct 11, 2024
44fe9dd
Fix some translations Code Sniff
bordoni Oct 11, 2024
0cc425c
Correct the docblock for a self return
bordoni Oct 11, 2024
d76111e
Updated the code to match some of the docblock code standards
bordoni Oct 12, 2024
557415b
Fix a couple more things Jeremy mentioned
bordoni Oct 12, 2024
fdab5a4
Fix spacing
bordoni Oct 12, 2024
b239fee
Avoid fully qualified name
bordoni Oct 12, 2024
8235425
Weird usage of spaces
bordoni Oct 12, 2024
5ba54c4
Remove unwanted tests.
bordoni Oct 12, 2024
37ab593
Remove associated snapshots
bordoni Oct 12, 2024
3cfd0ec
Remove more marketing tests
bordoni Oct 12, 2024
b676cb2
Clean the Script to avoid problems with bad GHA php versions
bordoni Oct 14, 2024
6a053ab
Test ZIP.
bordoni Oct 14, 2024
6c5b0b7
put back the strauss scripts
bordoni Oct 14, 2024
3ca07a3
Apply suggestions from code review
bordoni Oct 14, 2024
db9d4ee
Bad replacement
bordoni Oct 14, 2024
6612db7
Merge branch 'fix/marketing-notices' of github.com:the-events-calenda…
bordoni Oct 14, 2024
86a55bd
Include conditional content JS
bordoni Oct 14, 2024
2d84873
Correct usage of Tribe__Main
bordoni Oct 14, 2024
fae268d
Fix the loading time for assets
bordoni Oct 14, 2024
85b2add
Include a Dismissable Trait for conditional content, allowing certain…
bordoni Oct 15, 2024
fdbda1a
Update src/Common/Admin/Entities/Link.php
bordoni Oct 15, 2024
216664c
Update src/Common/Admin/Settings_Sidebar_Section.php
bordoni Oct 15, 2024
951bf72
Modify methods based on feedback from Jeremy
bordoni Oct 15, 2024
5bbc440
Fix a couple alignment problems
bordoni Oct 15, 2024
13c2d9d
Clean up the Link entity
bordoni Oct 15, 2024
afcde72
Clean up the Link entity
bordoni Oct 15, 2024
b4147fd
Merge remote-tracking branch 'origin/master' into feat/slr-support
lucatume Oct 15, 2024
189ce37
Modify dates and remove forced conditional
bordoni Oct 15, 2024
6cc1963
Resolve problems with Code Standards
bordoni Oct 15, 2024
5c9c8ce
Improve translation usage
bordoni Oct 15, 2024
ce54952
Spacing
bordoni Oct 15, 2024
95d8431
Use slug on the check
bordoni Oct 15, 2024
4fb9615
Apply suggestions from code review
bordoni Oct 15, 2024
e6182b4
Re-include deprecated classes properly.
bordoni Oct 15, 2024
c498e72
Re-include deprecated classes properly.
bordoni Oct 15, 2024
110cc02
Apply suggestions from code review
bordoni Oct 15, 2024
7c6cf49
Last few changes
bordoni Oct 15, 2024
3edd0e2
Last few changes from code reviews
bordoni Oct 15, 2024
027f5c0
Remove slug to avoid complications
bordoni Oct 15, 2024
95d8f9a
Fixes Mobile sidebar for settings and resolve last conflicts
bordoni Oct 15, 2024
65c5f20
Remove the always displayh
bordoni Oct 15, 2024
26a91dc
Merge pull request #2225 from the-events-calendar/fix/marketing-notices
bordoni Oct 15, 2024
7723942
Merge pull request #2225 from the-events-calendar/fix/marketing-notices
bordoni Oct 15, 2024
f1fe4ea
Merge branch 'release/T24.ettin' of github.com:the-events-calendar/tr…
Camwyn Oct 16, 2024
3bb9cf1
Updating pot file
tec-bot Oct 16, 2024
046b073
Merge branch 'release/T24.ettin' of github.com:the-events-calendar/tr…
Camwyn Oct 16, 2024
6c47525
Add language entry
Camwyn Oct 16, 2024
6007951
Fix problems with Sidebar, Nav and Form settings Spacing
bordoni Oct 17, 2024
e610bab
Tweak changelogs a bit
bordoni Oct 18, 2024
a8ffa18
update triage ticket numbers
Camwyn Oct 21, 2024
ca4e341
Merge remote-tracking branch 'origin/release/T24.ettin' into feat/slr…
dpanta94 Oct 21, 2024
6bc85cb
Updating mascot
borkweb Oct 23, 2024
21b26bd
Version bump for release/T24.fetch
dpanta94 Oct 24, 2024
5371d71
Merge pull request #2235 from the-events-calendar/task/version-bump-r…
bordoni Oct 24, 2024
656f7fa
Merge remote-tracking branch 'origin/release/T24.fetch' into feat/slr…
dpanta94 Oct 24, 2024
ca88faf
Merge pull request #2236 from the-events-calendar/feat/slr-support
dpanta94 Oct 24, 2024
3fbc2ba
added changelog for common
dpanta94 Oct 24, 2024
aa24c9c
Merge pull request #2238 from the-events-calendar/feat/seating-change…
bordoni Oct 24, 2024
e4d09ba
Updating pot file
tec-bot Oct 25, 2024
efb1c93
πŸ”„ created local '.github/actions/process-changelog/action.yml' from r…
Oct 25, 2024
cd37526
πŸ”„ created local '.github/workflows/process-changelog.yml' from remote…
Oct 25, 2024
cecc505
Merge pull request #2239 from the-events-calendar/repo-sync/actions/m…
dpanta94 Oct 25, 2024
dec8216
Language Changelog
bordoni Oct 25, 2024
5b96e68
πŸ”„ synced local '.github/workflows/release-branch.yml' with remote 'te…
Oct 26, 2024
ca72cb3
Merge pull request #2240 from the-events-calendar/repo-sync/actions/m…
bordoni Oct 26, 2024
506f813
Merge remote-tracking branch 'origin/master' into release/T24.fetch
lucatume Oct 27, 2024
31c70e8
πŸ”„ synced local '.github/workflows/phpcs.yml' with remote 'templates/w…
Oct 28, 2024
cc56110
Replace TBDs for T24.fetch on version 6.3.0
bordoni Oct 29, 2024
227a06b
Merge pull request #2242 from the-events-calendar/repo-sync/actions/m…
bordoni Oct 29, 2024
b63dfa2
Amend Release date for fetch
dpanta94 Oct 30, 2024
6d60de4
Merge pull request #2243 from the-events-calendar/fix/amend-release-d…
lucatume Oct 30, 2024
cefbd1b
Merge branch 'master' of github.com:moderntribe/tribe-common into rel…
bordoni Oct 30, 2024
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
52 changes: 52 additions & 0 deletions .github/actions/process-changelog/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "Process the changelog"
description: "Generate or amend the changelog entries"

inputs:
release-version:
description: "The release version for which the action should generate the changelog (e.g. 4.5.0)"
required: true
release-date:
description: "The release date (format: YYYY-MM-DD) for which the action should generate the changelog (default: unreleased)"
required: false
default: "unreleased"
action-type:
description: 'Whether this is to generate or amend the changelog entries (generate or amend)'
required: false
default: "generate"

outputs:
changelog:
description: "The escaped changelog content"
value: ${{ steps.process_changelog.outputs.CHANGELOG }}

runs:
using: composite
steps:
- name: "Verify the action type"
id: verify_action_type
if: ${{ inputs.action-type == 'generate' }}
shell: bash
env:
RELEASE_VERSION: ${{ inputs.release-version }}
RELEASE_DATE: ${{ inputs.release-date }}
ACTION_TYPE: ${{ inputs.action-type }}
run: |
FINAL_RELEASE_VERSION=$(echo "$RELEASE_VERSION" | grep -Po '\d+\.\d+\.\d+(\.\d+)?') # Keep only x.y.z(.k) from x.y.z(.k)(-test-n)
CURRENT_RELEASE_VERSION=$(jq '.version' package.json -r)

# If the changelog directory is empty (except .gitkeep) and the final release version is already defined in package.json, we need to switch to amend
# This use case is mainly for the last test package created from the release branch, to avoid an empty changelog
if [ "$(ls -A changelog | wc -l)" -eq 1 ] && [[ "$FINAL_RELEASE_VERSION" == "$CURRENT_RELEASE_VERSION" ]]; then
echo "ACTION_TYPE=amend-version" >> $GITHUB_OUTPUT
echo "CURRENT_VERSION=$CURRENT_RELEASE_VERSION" >> $GITHUB_OUTPUT
fi

- name: "Process changelog for changelog.md"
id: process_changelog
shell: bash
env:
ACTION_TYPE: ${{ steps.verify_action_type.outputs.ACTION_TYPE || inputs.action-type }}
CURRENT_VERSION: ${{ steps.verify_action_type.outputs.CURRENT_VERSION || 'dont-care' }}
RELEASE_VERSION: ${{ inputs.release-version }}
RELEASE_DATE: ${{ inputs.release-date }}
run: ./bin/process-changelog.sh $RELEASE_VERSION $CURRENT_VERSION $ACTION_TYPE $RELEASE_DATE
38 changes: 37 additions & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,45 @@
name: 'PHPCS'
on: [pull_request]
jobs:
conditional:
runs-on: ubuntu-latest
outputs:
has_no_php_changes: ${{ steps.skip.outputs.has_no_php_changes }}
steps:
# ------------------------------------------------------------------------------
# Checkout the repo
# ------------------------------------------------------------------------------
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
token: ${{ secrets.GH_BOT_TOKEN }}
submodules: recursive
# ------------------------------------------------------------------------------
# Check if any PHP files have changed
# ------------------------------------------------------------------------------
- name: Check PHP file changes
id: skip
run: |
php_files=$(git diff ${{ github.event.pull_request.base.sha }} HEAD --name-only | grep -E '\.php$' || true)
num_php_files=$(echo "$php_files" | grep -c '^' || echo 0)

if [[ -z "$php_files" || "$num_php_files" -eq 0 ]]; then
echo "has_no_php_changes=1" >> $GITHUB_OUTPUT
echo "## No PHP files changed" >> $GITHUB_STEP_SUMMARY
echo "PHPCS will not run." >> $GITHUB_STEP_SUMMARY
else
echo "has_no_php_changes=0" >> $GITHUB_OUTPUT
echo "## Found PHP file changes" >> $GITHUB_STEP_SUMMARY
echo "Total changed PHP files: $num_php_files" >> $GITHUB_STEP_SUMMARY
echo "$php_files" | sed 's/^/- /' >> $GITHUB_STEP_SUMMARY
fi
phpcs:
needs:
- conditional
if: needs.conditional.outputs.has_no_php_changes == '0'
uses: stellarwp/github-actions/.github/workflows/phpcs.yml@main
with:
ref: ${{ github.event.inputs.ref }}
secrets:
access-token: ${{ secrets.GH_BOT_TOKEN }}
access-token: ${{ secrets.GH_BOT_TOKEN }}
140 changes: 140 additions & 0 deletions .github/workflows/process-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
name: "Release - Changelog"

# This action will run when it is triggered manually
on:
workflow_dispatch:
inputs:
release-version:
description: "The release version for which the action should process the changelog (e.g. 4.5.0) (default: will try to figure it out)"
default: 'figure-it-out'
required: true
type: string
release-date:
description: "The release date in human-readable format (default: 'today')."
required: false
default: "today"
type: string
action-type:
description: "Whether this is to amend or generate the changelog entries (default: 'generate')."
required: true
default: "generate"
type: choice
options:
- amend
- generate

defaults:
run:
shell: bash

jobs:
process-changelog:
name: "Process the changelog"
runs-on: ubuntu-latest
env:
CHANGELOG_ACTION: ${{ inputs.action-type }}
RELEASE_VERSION: ${{ inputs.release-version }}
RELEASE_DATE: ${{ inputs.release-date }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0

- name: Configure PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: 7.4

- name: Set up Composer
run: composer install

- name: Set Variables
id: vars
run: echo "sha_short=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_OUTPUT

- name: Set up Git configuration
run: |
git config --global user.email "[email protected]"
git config --global user.name "github-actions"

- name: Check for .puprc file and paths.versions
id: check-puprc
run: |
if [ ! -f ".puprc" ]; then
echo "Error: .puprc file not found" >> $GITHUB_STEP_SUMMARY
exit 1
fi
if ! jq -e '.paths.versions' .puprc > /dev/null; then
echo "Error: paths.versions not found in .puprc" >> $GITHUB_STEP_SUMMARY
exit 1
fi

- name: Figure out Version
id: figure_out_version
run: |
if [ "$RELEASE_VERSION" == "figure-it-out" ]; then
existing_version=""
while read -r version; do
echo "Processing version info: $version"
file=$(echo "$version" | jq -r '.file')
regex=$(echo "$version" | jq -r '.regex')

existing_version=$(grep -Po "$regex" "$file" | grep -Po '(\d+\.\d+\.\d+(\.\d+)?)')

if [ -n "$existing_version" ]; then
echo "Release version: $existing_version"
echo "RELEASE_VERSION=$existing_version" >> $GITHUB_OUTPUT
break
fi
done < <(jq -c '.paths.versions[]' .puprc)
else
echo "Release version: $RELEASE_VERSION"
echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_OUTPUT
fi

- name: "Format the release date"
id: format_date
run: |
RELEASE_DATE=$( date "+%Y-%m-%d" -d "$RELEASE_DATE" ) # Release date formatted as YYYY-MM-DD
echo "Release date: $RELEASE_DATE"
echo "RELEASE_DATE=$RELEASE_DATE" >> $GITHUB_OUTPUT

- name: Create new branch
id: versions
run: |
changeBranch="task/process-changelog/${{ steps.format_date.outputs.RELEASE_DATE }}/${{ steps.figure_out_version.outputs.RELEASE_VERSION }}/${{ steps.vars.outputs.sha_short }}"
git checkout -b "$changeBranch"
git push origin "$changeBranch"

- name: "Process changelog"
id: process_changelog
uses: ./.github/actions/process-changelog
with:
release-version: ${{ steps.figure_out_version.outputs.RELEASE_VERSION }}
release-date: ${{ steps.format_date.outputs.RELEASE_DATE }}
action-type: ${{ env.CHANGELOG_ACTION }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
id: cpr
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: ${{ github.ref }}
branch: "task/process-changelog/${{ steps.format_date.outputs.RELEASE_DATE }}/${{ steps.figure_out_version.outputs.RELEASE_VERSION }}/${{ steps.vars.outputs.sha_short }}"
title: "Process changelog for ${{ github.ref }}"
body: |
This is an automated PR created by ${{ github.actor }}.
It was generated by [this GitHub Action](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}).
labels: "automation"
commit-message: |
Process changelog for ${{ github.ref }}
This is an automated PR created by ${{ github.actor }}.
Generated by: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
echo "## Pull Request" >> $GITHUB_STEP_SUMMARY
echo "* Number - ${{ steps.cpr.outputs.pull-request-number }}" >> $GITHUB_STEP_SUMMARY
echo "* URL - [${{ steps.cpr.outputs.pull-request-url }}](${{ steps.cpr.outputs.pull-request-url }})" >> $GITHUB_STEP_SUMMARY
2 changes: 1 addition & 1 deletion .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
uses: peter-evans/create-pull-request@v6
id: cpr
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GHA_BOT_TOKEN_MANAGER }}
base: "${{ github.event.inputs.new-branch }}"
branch: "task/version-bump-${{ github.event.inputs.new-branch }}-${{ steps.vars.outputs.sha_short }}"
title: "Version bump for ${{ github.event.inputs.new-branch }}"
Expand Down
1 change: 0 additions & 1 deletion .phpstorm.meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
'callback' => \Tribe__Utils__Callback::class,
'pue.notices' => \Tribe__PUE__Notices::class,
'admin.notice.php.version' => \Tribe__Admin__Notice__Php_Version::class,
'admin.notice.marketing' => \Tribe__Admin__Notice__Marketing::class,

// Custom alias with tribe namespace.
'tooltip.view' => \Tribe\Tooltip\View::class,
Expand Down
5 changes: 5 additions & 0 deletions bin/clean-composer.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
files=("vendor/composer/autoload_files.php" "vendor/composer/autoload_static.php")
search="symfony/deprecation-contracts/function.php"
for file in "${files[@]}"; do
grep -v "$search" "$file" > temp && mv temp "$file"
done
16 changes: 10 additions & 6 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

### [6.1.1] 2024-10-17

* Fix - allow more svg attributes through the fields sanitization. [TEC-5282]

### [6.1.0] 2024-09-26

* Feature - Update core settings functionality and styles to allow for new plugin settings layout. [TEC-5124]
Expand All @@ -13,7 +17,7 @@

* Feature - Adding the method `tec_copy_to_clipboard_button` which can be used to print a button which on click would copy a text to the user's clipboard. [ET-2158]
* Fix - Bug when term slugs were numeric.
* Fix - Optimized prime_term_cache to return early when no posts are provided [TECTRIA-229]
* Fix - Optimized prime_term_cache to return early when no posts are provided [TEC-5150]

### [6.0.0.2] 2024-07-24

Expand Down Expand Up @@ -42,26 +46,26 @@

### [5.3.0.5] 2024-07-11

* Fix - Ensure compatibility with WordPress 6.6 for removed polyfill `regenerator-runtime`. [TECTRIA-149]
* Fix - Ensure compatibility with WordPress 6.6 for removed polyfill `regenerator-runtime`. [TEC-5120]

### [5.3.0.4] 2024-06-18

* Fix - In installations where the plugins or wp-content directories were symbolic linked, assets would fail to be located. [TECTRIA-91]
* Fix - In installations where the plugins or wp-content directories were symbolic linked, assets would fail to be located. [TEC-5106]
* Language - 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted

### [5.3.0.3] 2024-06-14

* Fix - Issue where scripts would not be enqueued as modules. [TECTRIA-86]
* Fix - Issue where scripts would not be enqueued as modules. [ET-2136]
* Language - 0 new strings added, 0 updated, 1 fuzzied, and 0 obsoleted

### [5.3.0.2] 2024-06-14

* Fix - Windows Server compatibility issues with updated Assets handling. [TECTRIA-83]
* Fix - Windows Server compatibility issues with updated Assets handling. [TEC-5104]
* Language - 0 new strings added, 0 updated, 1 fuzzied, and 0 obsoleted

### [5.3.0.1] 2024-06-13

* Fix - Issue on which some assets (css,js) would not be located in WP installs which could have some WP constant modified (WP_CONTENT_DIR, WP_PLUGIN_DIR)[TECTRIA-83]
* Fix - Issue on which some assets (css,js) would not be located in WP installs which could have some WP constant modified (WP_CONTENT_DIR, WP_PLUGIN_DIR)[TEC-5104]
* Language - 0 new strings added, 0 updated, 1 fuzzied, and 0 obsoleted

### [5.3.0] 2024-06-11
Expand Down
5 changes: 0 additions & 5 deletions changelog/fix-EVA-160-endpoint-issues-automated-tests

This file was deleted.

23 changes: 18 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@
"lucatume/di52": "^3.3.7",
"monolog/monolog": "1.24.*",
"psr/container": "^1.0.0",
"stellarwp/arrays": "1.2.2",
"stellarwp/container-contract": "^1.0.4",
"stellarwp/db": "^1.0.3",
"stellarwp/installer": "^1.1.0",
"stellarwp/models": "dev-main",
"stellarwp/schema": "^1.1.3",
"stellarwp/telemetry": "^2.3.1",
"stellarwp/assets": "^1.2.6"
"stellarwp/assets": "^1.2.6",
"stellarwp/uplink": "2.2.1"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
Expand Down Expand Up @@ -63,16 +65,24 @@
}
},
"scripts": {
"clean-strauss-static-function-autoload": "bash bin/clean-composer.sh",
"strauss": [
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.19.2/strauss.phar",
"test -f ./bin/strauss.phar || curl -o bin/strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.19.4/strauss.phar",
"vendor/stellarwp/installer/bin/set-domain domain=tribe-common",
"@php bin/strauss.phar"
"@php -d display_errors=on bin/strauss.phar",
"@composer dump-autoload",
"@clean-strauss-static-function-autoload"
],
"post-install-cmd": [
"@strauss"
"@strauss",
"@stellar-uplink"
],
"post-update-cmd": [
"@strauss"
"@strauss",
"@stellar-uplink"
],
"stellar-uplink": [
"vendor/bin/stellar-uplink domain=tribe-common"
]
},
"extra": {
Expand All @@ -82,12 +92,15 @@
"classmap_prefix": "TEC__Common__",
"constant_prefix": "TEC_COMMON_",
"packages": [
"stellarwp/arrays",
"stellarwp/assets",
"stellarwp/container-contract",
"stellarwp/db",
"stellarwp/models",
"stellarwp/schema",
"stellarwp/installer",
"stellarwp/telemetry",
"stellarwp/uplink",
"lucatume/di52",
"monolog/monolog",
"firebase/php-jwt",
Expand Down
Loading
Loading