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

Test Release/t25.imp #2339

Draft
wants to merge 147 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
cf93217
Fix checks in test that pass a post ID.
Camwyn May 2, 2024
75fb3ac
Fix issues with ability to tab to the search box.
stratease Oct 11, 2024
4cb427d
Removed tabindex for search and allow tabbing into the options.
stratease Oct 14, 2024
db841b8
Tab focus will highlight now.
stratease Oct 18, 2024
3635b53
Test code - removed.
stratease Oct 18, 2024
c21b8cb
Minify the last commit.
stratease Oct 18, 2024
113a186
Restructred Iframe to stop loading Frontend scripts/styles. Fixes tec…
redscar Nov 26, 2024
1f3c12c
Fixed the Help Header from being hidden by the setting styles.
redscar Nov 26, 2024
b3c6944
FF Fixes for spreadsheet rows -
redscar Nov 26, 2024
bf15b21
Moved body selector into const to be reused.
redscar Nov 27, 2024
6623882
Merge pull request #2299 from the-events-calendar/tweak/tectria-572_h…
redscar Nov 27, 2024
e5953f5
Merge pull request #2300 from the-events-calendar/tweak/Help_Hub-FF_S…
redscar Nov 27, 2024
e024e92
Moved queryselectors to const to cut down on queries.
redscar Nov 27, 2024
87215ea
Added ID, and switched to getElementById.
redscar Nov 27, 2024
15e534c
Added prefix.
redscar Nov 27, 2024
d3ecc6c
Fixed issue where going from a free plugin to a valid license could c…
redscar Dec 2, 2024
1c53d0a
Fixed issue where going from a free plugin to a valid license could c…
redscar Dec 2, 2024
b21846e
Merge pull request #2298 from the-events-calendar/tweak/tectria-569_i…
redscar Dec 5, 2024
90da8f4
Rewrote tests to use fixture/closure logic.
redscar Dec 5, 2024
1752041
Combined foreach checks.
redscar Dec 5, 2024
bc61111
Only delete the transient if the key is not valid.
redscar Dec 5, 2024
8d55060
Added logic For Uplink monitoring.
redscar Dec 5, 2024
718e339
Set `self::IS_ANY_LICENSE_VALID_TRANSIENT_KEY` to valid when valid is…
redscar Dec 5, 2024
86439eb
Using hook `wp_loaded`.
redscar Dec 5, 2024
23c039e
Implemented Uplink to also reset the transient when applicable.
redscar Dec 5, 2024
5fab8b8
Cleaning up code, `uplink, valid license, with invalid pue plugin` is…
redscar Dec 6, 2024
8990108
All tests passing.
redscar Dec 6, 2024
19c4b20
PHPCS fixes.
redscar Dec 6, 2024
969a185
Bump Uplink to version 2.2.2
redscar Dec 6, 2024
daf7bbe
Updated composer.lock.
redscar Dec 9, 2024
b13840b
Added `@since`.
redscar Dec 9, 2024
1d82331
Fixed .lock file.
redscar Dec 9, 2024
27913f3
Moved back towards using an action to monitor `IS_ANY_LICENSE_VALID_…
redscar Dec 9, 2024
f1bdada
Switched `IS_ANY_LICENSE_VALID_TRANSIENT_KEY` structure from a string…
redscar Dec 9, 2024
1fcf10a
Updated tests to validate that the transient matches the expected plu…
redscar Dec 9, 2024
69a0875
Changed to make it work with the old transient.
redscar Dec 9, 2024
763c42b
Renamed methods.
redscar Dec 9, 2024
0a3e6f7
Fixed `composer.lock` for correct version of uplink.
redscar Dec 9, 2024
2c94ebb
Updated docblock for `monitor_uplink_actions`.
redscar Dec 10, 2024
e51b9d4
Removed `test_replacemnt_key_update_in_multisite_context` since no te…
redscar Dec 10, 2024
d0607de
Merge pull request #2307 from the-events-calendar/tweak/Help_Hub_FF_t…
redscar Dec 10, 2024
31c4e4c
Merge branch 'master' into bucket/Help_Hub-FF
Camwyn Dec 18, 2024
6a25c11
Added new logic to see if a new plugin has been installed, if yes del…
redscar Dec 19, 2024
10420bc
Fixing bad merge.
redscar Dec 19, 2024
47e3cb4
Update wp core in CI
dpanta94 Dec 19, 2024
6740a09
another try to update wp core to latest
dpanta94 Dec 19, 2024
64b23ba
specify latest version
dpanta94 Dec 19, 2024
4471180
downgrade to 6.6.1
dpanta94 Dec 19, 2024
37a1454
Update dump for activation suite
dpanta94 Dec 19, 2024
ae9b244
Fix failing tests
dpanta94 Dec 19, 2024
ab4cc99
fix end2end suite
dpanta94 Dec 19, 2024
d92d1f5
Simplified logic.
redscar Dec 19, 2024
a5e4431
Creating tests for Tribe__PUE__Notices class.
redscar Dec 20, 2024
04a3be4
Implemented new method `clear_all_notices` for testing. Working on fi…
redscar Dec 20, 2024
7f0bc16
Created new tests, added fix to `Notices.php`.
redscar Dec 20, 2024
04e1205
Fixed typo.
redscar Dec 20, 2024
068eefc
Added `@since`
redscar Dec 20, 2024
8379874
Added use statement back.
redscar Dec 20, 2024
ee29544
Fix deprecated warning
pattihis Dec 22, 2024
f2443f1
Changelog entry.
stratease Dec 30, 2024
4d3f741
Merge pull request #2080 from the-events-calendar/fix/read-check
Camwyn Dec 30, 2024
a45306c
Merge branch 'master' into fix/FBAR-330-tabindex-search
Camwyn Dec 30, 2024
42597e4
Merge branch 'release/T25.imp' into fix/FBAR-330-tabindex-search
Camwyn Dec 30, 2024
6d90154
Address whitespace oddity
Camwyn Dec 30, 2024
68a6f8f
remove commented out code
Camwyn Dec 30, 2024
9d66e46
Fix whitespace indent.
stratease Dec 31, 2024
3b6d19f
Merge pull request #2335 from the-events-calendar/fix/FBAR-330-tabind…
Camwyn Dec 31, 2024
4cea177
Additional logic to also update the any license valid transient when …
redscar Jan 6, 2025
9691ceb
Created wrapper function for get_uplink_resource when the uplink `get…
redscar Jan 6, 2025
97dc970
Update tests to pass properly.
redscar Jan 6, 2025
a466513
Merge branch 'release/T25.imp' into fix/PUE_Notices_duplication
redscar Jan 6, 2025
6cb5f39
Merge branch 'release/T25.imp' of github.com:the-events-calendar/trib…
pattihis Jan 6, 2025
5dd711d
Rewrote populate logic to implement sanitize_notices method that fixe…
redscar Jan 6, 2025
6a06b02
Updated WP version for slic.
redscar Jan 6, 2025
7c494f0
WP version (6.4.1) does not meet minreq for TEC. Plugin requires WP 6.5.
pattihis Jan 6, 2025
a721a62
WP version (6.4.1) does not meet minreq for TEC. Plugin requires WP 6.5.
pattihis Jan 6, 2025
54b2a00
Add action scheduler in common
dpanta94 Jan 7, 2025
6efb95d
Load the action scheduler during early init hook
dpanta94 Jan 7, 2025
03cc940
Added changelog
dpanta94 Jan 7, 2025
4b7ce18
Update changelog/feat-move-as-to-common
dpanta94 Jan 7, 2025
8f4d3ca
Update core version in CI
dpanta94 Jan 7, 2025
44abfbf
Merge remote-tracking branch 'origin/feat/move-as-to-common' into fea…
dpanta94 Jan 7, 2025
9d15231
update end2end dump
dpanta94 Jan 7, 2025
4560a97
update activation dump
dpanta94 Jan 7, 2025
55c6ec8
prevent fail fast on eva tests
dpanta94 Jan 7, 2025
21b9b50
Less aggressive composer update
dpanta94 Jan 7, 2025
fd5446c
Update tests
dpanta94 Jan 7, 2025
6ce3003
ensure the theme is active before checking it
dpanta94 Jan 7, 2025
e356f04
Fix dumps
dpanta94 Jan 7, 2025
200cecd
Fix workflows
dpanta94 Jan 7, 2025
4517ae0
Fix suite set ups
dpanta94 Jan 7, 2025
9665f2a
include rest module
dpanta94 Jan 7, 2025
8562c36
Fix wp core versions
dpanta94 Jan 7, 2025
b785ab0
Updating user names in snapshots
dpanta94 Jan 7, 2025
9f8c99e
Try to update woo in CI
dpanta94 Jan 7, 2025
137a2b2
install woo and edd after core updates
dpanta94 Jan 7, 2025
bf5d043
Revert "Updating user names in snapshots"
dpanta94 Jan 8, 2025
3d4483d
update snapshot assertion package
dpanta94 Jan 8, 2025
3105370
enable airplane mode for slic
dpanta94 Jan 8, 2025
4d9d906
disable plugin,theme and core update checks
dpanta94 Jan 8, 2025
e76f240
disable airplane mode allowing external requests -_-
dpanta94 Jan 8, 2025
a6b770c
amend eva integration suite
dpanta94 Jan 8, 2025
dc7dad0
Amend eva_integration snapshots
dpanta94 Jan 8, 2025
8cef5c1
Update the dump
dpanta94 Jan 8, 2025
e179061
APITest testcase fixes
dpanta94 Jan 8, 2025
8b09c62
APITest testcase update snapshot
dpanta94 Jan 8, 2025
ff5eca6
added airplane mode in end2end suite
dpanta94 Jan 8, 2025
3954b03
update user creation in tests
dpanta94 Jan 8, 2025
30f0148
update snapshot
dpanta94 Jan 8, 2025
2aa7e76
Update remaining snapshots
dpanta94 Jan 8, 2025
0b0aa0e
Update name of end2end dump
dpanta94 Jan 8, 2025
7c50267
change slic version
dpanta94 Jan 8, 2025
2930d26
Merge pull request #2340 from the-events-calendar/feat/move-as-to-common
dpanta94 Jan 8, 2025
c057af7
Merge branch 'release/T25.imp' into fix/PUE_Notices_duplication
redscar Jan 8, 2025
23536d9
Reverting changes I made to tests-php-eva.yml
redscar Jan 8, 2025
fadc09e
Reverting changes I made to tests-php.yml
redscar Jan 8, 2025
32cfabc
Added changelog entry.
redscar Jan 8, 2025
989abbf
Merge branch 'release/T25.imp' into fix/TEC-5086_deprecated_notice
Camwyn Jan 8, 2025
f9fb8e5
Merge pull request #2334 from the-events-calendar/fix/TEC-5086_deprec…
pattihis Jan 8, 2025
46cb0d1
Add action scheduler to safelist
Camwyn Jan 8, 2025
a2f4bd4
Refactored populate logic to optimize it.
redscar Jan 8, 2025
2e4bddf
Remove redundant blank lines in Notices.php
redscar Jan 8, 2025
2e5faba
Add action scheduler FOLDER to safelist, as well as ,distfiles, since…
Camwyn Jan 8, 2025
266ac43
check paths for accuracy
Camwyn Jan 8, 2025
25e30e8
Simplify populate and store logic of notices
dpanta94 Jan 9, 2025
6cd59cc
Fix test cases
dpanta94 Jan 9, 2025
19a673f
Added memory exhaustion test
dpanta94 Jan 9, 2025
4671719
Update src/Tribe/PUE/Notices.php
dpanta94 Jan 9, 2025
5f2c642
Update src/Tribe/PUE/Notices.php
dpanta94 Jan 9, 2025
3235b4e
Added TBD to `save_notices`.
redscar Jan 9, 2025
d141fa4
Merge release/T25.imp into branch.
redscar Jan 9, 2025
06403f5
Merge release/T25.imp into branch.
redscar Jan 9, 2025
a3e701c
Merge pull request #2343 from the-events-calendar/tweak/merge_imp_int…
redscar Jan 9, 2025
b748650
Merge branch 'bucket/Help_Hub-FF' into tweak/TEC-5332_transients
redscar Jan 9, 2025
3bad27a
Rollback changes to QueueTest.php
redscar Jan 9, 2025
1d1c108
Removed the `clear_all_notices` method and replaced `tribe()` calls w…
redscar Jan 9, 2025
f496ff6
Moved the admin_init method back to the bottom.
redscar Jan 9, 2025
d64465a
Added changelog.
redscar Jan 9, 2025
e51748b
Merge pull request #2332 from the-events-calendar/fix/PUE_Notices_dup…
redscar Jan 9, 2025
28237f7
Merge pull request #2331 from the-events-calendar/tweak/TEC-5332_tran…
redscar Jan 9, 2025
8eed041
CR changes.
redscar Jan 9, 2025
78bd5a6
Merge pull request #2345 from the-events-calendar/tweak/help_hub_changes
redscar Jan 9, 2025
5fc31e3
Merge pull request #2344 from the-events-calendar/bucket/Help_Hub-FF
redscar Jan 9, 2025
0beb150
Improve plugin monitoring and transient updates in PUE Checker
redscar Jan 9, 2025
f9fa2c1
Simplified the code even more.
redscar Jan 9, 2025
268c0d0
Fixed spacing and typo.
redscar Jan 9, 2025
70e7580
Merge pull request #2346 from the-events-calendar/tweak/help-hub-tran…
redscar Jan 9, 2025
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
1 change: 1 addition & 0 deletions .distfiles
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@
/vendor/vendor-prefixed/autoload-classmap.php
/vendor/vendor-prefixed/autoload.php
/vendor/vendor-prefixed/stellarwp/**/*
/vendor/woocommerce/action-scheduler/**/*.php
16 changes: 6 additions & 10 deletions .github/workflows/tests-php-eva.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ on: [ pull_request ]
jobs:
test:
strategy:
fail-fast: false
matrix:
suite: [ eva_integration, restv1, restv1_et, end2end ]
suite: [ restv1, end2end ]
runs-on: ubuntu-latest
steps:
# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -41,7 +42,7 @@ jobs:
if: steps.skip.outputs.value != 1
with:
repository: stellarwp/slic
ref: main
ref: 1.8.0
path: slic
fetch-depth: 1
# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -322,12 +323,6 @@ jobs:
docker network prune -f
${SLIC_BIN} use events-pro
${SLIC_BIN} composer install --no-dev
# --------------------------------------------------------------------------
# Install and activate WooCommerce
# ------------------------------------------------------------------------------
- name: Install WooCommerce
if: steps.skip.outputs.value != 1
run: ${SLIC_BIN} site-cli plugin install woocommerce --version='8.2.2'
# ------------------------------------------------------------------------------
# Install and activate Easy Digital Downloads
# ------------------------------------------------------------------------------
Expand All @@ -350,13 +345,14 @@ jobs:
run: |
${SLIC_BIN} use the-events-calendar/common
${SLIC_BIN} composer install
- name: Init the WordPress container
- name: Init the WordPress container and Set up a theme
if: steps.skip.outputs.value != 1
run: |
${SLIC_BIN} up wordpress
${SLIC_BIN} wp core version
${SLIC_BIN} wp core update --force --version=6.4.1
${SLIC_BIN} wp core update --force --version=6.5
${SLIC_BIN} wp core version
${SLIC_BIN} wp theme install twentytwenty --activate
- name: Run suite tests
if: steps.skip.outputs.value != 1
run: ${SLIC_BIN} run ${{ matrix.suite }}
Expand Down
392 changes: 392 additions & 0 deletions .github/workflows/tests-php-with-woo.yml

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions .github/workflows/tests-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,14 @@ jobs:
# ------------------------------------------------------------------------------
# Update WordPress version to our min required.
# ------------------------------------------------------------------------------
- name: Init the WordPress container
- name: Init the WordPress container and set up a theme
if: steps.skip.outputs.value != 1
run: |
${SLIC_BIN} up wordpress
${SLIC_BIN} wp core version
${SLIC_BIN} wp core update --force --version=6.4.1
${SLIC_BIN} wp core update --force --version=6.5
${SLIC_BIN} wp core version
${SLIC_BIN} wp theme install twentytwenty --activate
- name: Run suite tests
if: steps.skip.outputs.value != 1
run: ${SLIC_BIN} run ${{ matrix.suite }}
4 changes: 4 additions & 0 deletions changelog/feat-move-as-to-common
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: tweak

Move Action Scheduler into Common instead of TEC. [TEC-5345]
4 changes: 4 additions & 0 deletions changelog/fix-FBAR-330-tabindex-search
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Improves accessibility of select2 component, allowing tabbing into elements.
4 changes: 4 additions & 0 deletions changelog/fix-PUE_Notices_duplication
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Improved data sanitization for tribe_pue_key_notices to prevent memory exhaustion errors caused by corrupted data. [ET-2277]
4 changes: 4 additions & 0 deletions changelog/fix-TEC-5086_deprecated_notice
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Resolve warning about deprecation of passing null to version_compare function.
4 changes: 4 additions & 0 deletions changelog/tweak-TEC-5332_transients
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: tweak

When installing new plugins `TEC_IS_ANY_LICENSE_VALID_TRANSIENT` will update correctly. [TEC-5332]
14 changes: 8 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,26 @@
"stellarwp/telemetry": "^2.3.1",
"stellarwp/assets": "1.4.2",
"stellarwp/admin-notices": "^1.1",
"stellarwp/uplink": "2.2.2"
"stellarwp/uplink": "2.2.2",
"woocommerce/action-scheduler": "3.8.1"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"wp-cli/wp-cli": ">=2.0 <3.0.0",
"bordoni/phpass": "0.3.5",
"codeception/codeception": "^2.5.5",
"codeception/codeception": "^4.0.0",
"cweagans/composer-patches": "^1.7",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"fakerphp/faker": "^1.23",
"lucatume/codeception-snapshot-assertions": "^0.2.4",
"lucatume/codeception-snapshot-assertions": "^0.4.0",
"lucatume/function-mocker-le": "^1.0",
"lucatume/wp-browser": "^3.0.14",
"lucatume/wp-browser": "^3.5.0",
"stellarwp/coding-standards": "dev-main",
"the-events-calendar/tec-testing-facilities": "dev-master",
"wp-cli/checksum-command": "1.0.5",
"wp-cli/checksum-command": "2.0.0",
"wp-coding-standards/wpcs": "^3.0.0",
"automattic/jetpack-changelogger": "^4.2"
"automattic/jetpack-changelogger": "^4.2",
"codeception/module-rest": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading
Loading