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

feat(backfill): WP CLI script to backfill reader_registered, donation_new events #51

Merged
merged 27 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
fc7dfeb
feat(backfill): WP CLI script to backfill reader_registered events
adekbadek Feb 14, 2024
188ff65
feat: process donation_new events
adekbadek Feb 16, 2024
4f03b8f
feat: prevent duplicate events in the event log
adekbadek Feb 16, 2024
ecf40bf
test: update phpunit-polyfillls
adekbadek Feb 16, 2024
e575930
feat: handle all actions
adekbadek Feb 16, 2024
2233b7e
feat: handle donation_subscription_cancelled events backfill
adekbadek Feb 19, 2024
b74a619
feat: better --verbose flag handling
adekbadek Feb 19, 2024
111a7b4
feat: only query for local users
adekbadek Feb 21, 2024
baa982c
feat(backfill-cli): handle membership events
adekbadek Feb 20, 2024
0153127
feat: ignore non-donation subscription cancellations
adekbadek Feb 22, 2024
21648e6
fix: fixes
adekbadek Feb 22, 2024
f9cc61e
fix: 'all' variant success message
adekbadek Feb 22, 2024
5a0074a
Merge branch 'feat/events-backfill-cli' into feat/backfill-memberships
leogermani Feb 22, 2024
d0ea9f8
chore: refactor backfillers
leogermani Feb 22, 2024
eea0813
Merge branch 'trunk' into feat/events-backfill-cli
leogermani Feb 22, 2024
18f9898
Merge branch 'feat/events-backfill-cli' into feat/backfill-memberships
leogermani Feb 22, 2024
9b9ccdf
Merge branch 'feat/backfill-memberships' into refactor/backfillers
leogermani Feb 22, 2024
9efe435
feat: add membership backfiller
leogermani Feb 22, 2024
7bfcbb8
fix: check for verbose
leogermani Feb 22, 2024
3be8b84
fix: typos
leogermani Feb 22, 2024
17f1db6
fix: exclude external memberships
leogermani Feb 22, 2024
11c39cf
fix: avoid actions to trigger user updates
leogermani Feb 22, 2024
bf6f43b
Merge pull request #68 from Automattic/refactor/backfillers
leogermani Feb 22, 2024
210ceb2
Merge pull request #62 from Automattic/feat/backfill-memberships
leogermani Feb 22, 2024
03b66fb
chore: remove unused param
leogermani Feb 22, 2024
ec040cb
chore: tweaks
adekbadek Feb 23, 2024
1543a59
fix: get donation orders in the donation_new backfill
adekbadek Feb 23, 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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"wp-coding-standards/wpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"yoast/phpunit-polyfills": "^1.0",
"yoast/phpunit-polyfills": "^2.0",
"phpunit/phpunit": "^7.0 || ^9.5"
},
"autoload": {
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions includes/class-initializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static function init() {
Reader_Roles_Filter::init();
User_Update_Watcher::init();
Distributor_Customizations::init();
Data_Backfill::init();

register_activation_hook( NEWSPACK_NETWORK_PLUGIN_FILE, [ __CLASS__, 'activation_hook' ] );
}
Expand Down
Loading