Commit Graph

55186 Commits

Author SHA1 Message Date
Tomek Wytrębowicz 52318b4de7
Use single public namespace for OSA JS 2023-11-27 18:59:17 +01:00
Justin Palmer ceb354e456
Enqueue Sourcebuster script from new location 2023-11-27 18:59:17 +01:00
Justin Palmer 78d42b2e72
Use Woo-forked Sourcebuster-JS package 2023-11-27 18:59:17 +01:00
Dima 84f0deba96
Fixing phpcs errors. 2023-11-27 18:59:17 +01:00
Dima 9d8b93c074
Fixing phpcs errors. 2023-11-27 18:59:17 +01:00
Dima f789cc26b0
Adding few more unit tests plus adjusting tracking controller to be able to test the exact functions set to filters and actions. 2023-11-27 18:59:17 +01:00
Dima b22519d7de
Adding AbstractInterfaceServiceProvider unit test and test supplies. 2023-11-27 18:59:16 +01:00
Justin Palmer 373af383de
Include hide/show text in detail toggle and reverse carets 2023-11-27 18:59:16 +01:00
Justin Palmer 7a91703438
Better details toggle styling and behavior 2023-11-27 18:59:16 +01:00
Justin Palmer 18d328846a
Updated customer history logic (billing email + better totals)
- Uses billing_email if no customer_id is provided
- Accounts for refunds and multiple types of order status
2023-11-27 18:59:16 +01:00
Justin Palmer 9a893c8af4
Clarify customer history tooltip wording a little bit 2023-11-27 18:59:16 +01:00
Justin Palmer 727ebe3e1b
Better details toggle alignment 2023-11-27 18:59:15 +01:00
Justin Palmer 8ed2ead224
Fix title casing in Customer history metabox 2023-11-27 18:59:15 +01:00
Justin Palmer 199158e525
Remove unused import 2023-11-27 18:59:15 +01:00
Justin Palmer 3ceb27ad21
Fix broken details toggle with `e.target`
- instead of `this` (arrow function)
2023-11-27 18:59:15 +01:00
Justin Palmer 49dff0eb9c
Remove customer source data from user admin pages
The source data will still be collected display in a future udpate
2023-11-27 18:59:15 +01:00
Justin Palmer 7fe4825fe7
Add documentation to the modified sourcebusterjs file 2023-11-27 18:59:14 +01:00
Justin Palmer 8253beafe9
Update docs for AbstractServiceProvider and AbstractInterfaceServiceProvider 2023-11-27 18:59:14 +01:00
Justin Palmer 6f911ca91c
Revert "Include sourcebuster as npm package"
Restores the customized version of sourcebuster 1.0.5
This reverts commit 096dc95c1c52d62cfc2f2bd30a2cdd2bbcf7f536.
2023-11-27 18:59:14 +01:00
Justin Palmer 9ad289cea3
Include sourcebuster as npm package 2023-11-27 18:59:14 +01:00
Justin Palmer 7f100ac88a
Clarify nonce verification ignores 2023-11-27 18:59:14 +01:00
Justin Palmer dd629741f5
Use OrderUtil to check for HPOS enabled 2023-11-27 18:59:13 +01:00
Justin Palmer 00022754e9
Remove `$theorder` manipulation 2023-11-27 18:59:13 +01:00
Justin Palmer 7a97054bb3
PHPCS fix 2023-11-27 18:59:13 +01:00
Justin Palmer 2b6d92e786
Remove leftover VersionUtil class 2023-11-27 18:59:13 +01:00
Justin Palmer eb6aee13ed
Escape wc_help_tip output 2023-11-27 18:59:13 +01:00
Justin Palmer 88318c9df2
Remove phpcs disable directive 2023-11-27 18:59:13 +01:00
Justin Palmer 196ba5a7ba
Escape wc_price output better 2023-11-27 18:59:12 +01:00
Justin Palmer c9bea33598
Escape wc_help_tip output 2023-11-27 18:59:12 +01:00
Justin Palmer f64e4a5100
Escape wc_price output 2023-11-27 18:59:12 +01:00
Justin Palmer 7c1d6b6d7c
Only display attribution meta boxes for valid orders 2023-11-27 18:59:12 +01:00
Justin Palmer c4ec613277
Clarify tracking consent and cookie management 2023-11-27 18:59:12 +01:00
Justin Palmer 602d1f2ba5
Clarify callback purpose and function 2023-11-27 18:59:12 +01:00
Justin Palmer f6f7b054e9
Remove PHPCS disable directive 2023-11-27 18:59:11 +01:00
Justin Palmer c095f9e1ce
Remove PHPCS disable directive 2023-11-27 18:59:11 +01:00
Justin Palmer d7a31e9a79
Clarify Order Source Attribution is_legacy flag being true 2023-11-27 18:59:11 +01:00
Justin Palmer d1c5af74c0
Remove extra line in PHPCS config 2023-11-27 18:59:11 +01:00
Justin Palmer 222cb6d776
Fixed test namespace
Co-authored-by: Leif Singer <leif@automattic.com>
2023-11-27 18:59:11 +01:00
Justin Palmer 05e4698af7
Better constant variable name 2023-11-27 18:59:11 +01:00
Justin Palmer cf8add7188
Const instead of let
Co-authored-by: Leif Singer <leif@automattic.com>
2023-11-27 18:59:10 +01:00
Justin Palmer 977863eacf
Remove superfluous comment
Co-authored-by: Leif Singer <leif@automattic.com>
2023-11-27 18:59:10 +01:00
Justin Palmer 23f4094ac0
Remove double newline
Co-authored-by: Leif Singer <leif@automattic.com>
2023-11-27 18:59:10 +01:00
Justin Palmer d60fe00308
Capitalize Tracks in comment
Co-authored-by: Leif Singer <leif@automattic.com>
2023-11-27 18:59:10 +01:00
Justin Palmer 378e4999e5
Clearer comment
Co-authored-by: Leif Singer <leif@automattic.com>
2023-11-27 18:59:10 +01:00
Justin Palmer df2e05e4cf
Re-add "mobiledetect/mobiledetectlib" library 2023-11-27 18:59:10 +01:00
Justin Palmer dfcaa6019d
Fix PHPCS errors in test files 2023-11-27 18:59:09 +01:00
Justin Palmer 527f51414d
Don't disable PHPCS rules 2023-11-27 18:59:09 +01:00
Justin Palmer 10b1af773c
Remove unnecessary PHPCS exclusions 2023-11-27 18:59:09 +01:00
Jeremy Pry cb116ddade
Limit registration during install, and move origin column to admin_init 2023-11-27 18:59:09 +01:00
Jeremy Pry ee93cacdd8
Add docblock to the woocommerce_order_save_attribution_source_data hook 2023-11-27 18:59:09 +01:00