Tomek Wytrębowicz
|
8347e7108c
|
Move changes from blocks repo PR
https://github.com/woocommerce/woocommerce-blocks/pull/11506
Co-authored-by: Jeremy Pry <jeremy.pry@gmail.com>
|
2023-11-27 18:59:19 +01:00 |
Tomek Wytrębowicz
|
2b5f817169
|
Move changes from blocks repo PR
https://github.com/woocommerce/woocommerce-blocks/pull/11506
Co-authored-by: Jeremy Pry <jeremy.pry@gmail.com>
|
2023-11-27 18:59:19 +01:00 |
Justin Palmer
|
07312708d1
|
Include Origin column for non-HPOS orders table
|
2023-11-27 18:59:19 +01:00 |
Justin Palmer
|
79fed9cac9
|
Don't link orders in customer history by email if customer_id differs
|
2023-11-27 18:59:18 +01:00 |
Justin Palmer
|
175f424101
|
PHPCS fix
|
2023-11-27 18:59:18 +01:00 |
Justin Palmer
|
418eb7b128
|
Remove WCCOM attribution source integration
|
2023-11-27 18:59:18 +01:00 |
Tomek Wytrębowicz
|
ad1fcbb453
|
Simplify `.closest` usage in OSA-admin.js
|
2023-11-27 18:59:18 +01:00 |
Tomek Wytrębowicz
|
c00acce374
|
Remove jQuery dependency from sourcebuster-js
|
2023-11-27 18:59:18 +01:00 |
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 |
Jeremy Pry
|
ae99921667
|
Fix typo in class name
|
2023-11-27 18:59:09 +01:00 |
Jeremy Pry
|
d6875fac14
|
Use an action to save the attribution data.
|
2023-11-27 18:59:08 +01:00 |
Jeremy Pry
|
4f305cc9cf
|
Add public get_*() methods
|
2023-11-27 18:59:08 +01:00 |
Jeremy Pry
|
f6e8a586aa
|
Cleanup @ since tags
|
2023-11-27 18:59:08 +01:00 |
Jeremy Pry
|
2dd3cc6176
|
Remove period from the end of the feature description
|
2023-11-27 18:59:08 +01:00 |
Jeremy Pry
|
de88fd19a7
|
Fix typos in comments
|
2023-11-27 18:59:08 +01:00 |
Jeremy Pry
|
62d05d9ab8
|
Make adjustments to JS files
- Use arrow functions
- Consistent use of let or const over var
- Clean up spacing and formatting
|
2023-11-27 18:59:08 +01:00 |
Jeremy Pry
|
3dafdb482d
|
Return early when there's already an order object.
|
2023-11-27 18:59:07 +01:00 |
Jeremy Pry
|
5effcb7a82
|
Handle orgin column registration for HPOS compatibility
|
2023-11-27 18:59:07 +01:00 |
Jeremy Pry
|
ab92fa13ff
|
Mark not experimental, and update description
|
2023-11-27 18:59:07 +01:00 |
Jeremy Pry
|
15c7263ba6
|
PHPCS adjustments for test files
|
2023-11-27 18:59:07 +01:00 |
Jeremy Pry
|
5cba1a762d
|
Update MobileDetect library
For now, this manually adds the mobile detect library, due to an error that should be fixed by https://github.com/serbanghita/Mobile-Detect/pull/944.
|
2023-11-27 18:59:07 +01:00 |
Jeremy Pry
|
eabda2b61e
|
Fix PHPCS errors and warnings
|
2023-11-27 18:59:07 +01:00 |
Jeremy Pry
|
5c82baef5b
|
Correct file/class name and PHPCS fixes
|
2023-11-27 18:59:07 +01:00 |
Jeremy Pry
|
7553579032
|
Use wc_get_template() for the template files
|
2023-11-27 18:59:06 +01:00 |
Jeremy Pry
|
0cb181bd9f
|
Add is_script_debug_enabled() method to the ScriptDebug trait
|
2023-11-27 18:59:06 +01:00 |
Jeremy Pry
|
cbf0da970a
|
Create VersionUtil class
|
2023-11-27 18:59:06 +01:00 |
Jeremy Pry
|
8997db5f98
|
Add actual version to the template files
|
2023-11-27 18:59:06 +01:00 |
Jeremy Pry
|
aeff5b1b82
|
Update source value processing to accept an array
This allows more flexibility in where the array of values to process originates, without this method explicitly relying on the $_POST super-global.
|
2023-11-27 18:59:06 +01:00 |
Jeremy Pry
|
228e5534b8
|
Remove get_source_label() method and add filters
|
2023-11-27 18:59:06 +01:00 |
Jeremy Pry
|
15d7a0ad48
|
Use Jetpack Constant utility class
This matches with the rest of WooCommerce technique.
|
2023-11-27 18:59:05 +01:00 |
Jeremy Pry
|
735da31595
|
Refactor device detection to a separate method
|
2023-11-27 18:59:05 +01:00 |
Jeremy Pry
|
2058928229
|
Use class directly instead of mocked
|
2023-11-27 18:59:05 +01:00 |
Jeremy Pry
|
3cee48143a
|
Move SourceAttribution test to correct location
|
2023-11-27 18:59:05 +01:00 |
Jeremy Pry
|
67c7f198b4
|
Make the on_plugins_loaded function protected
|
2023-11-27 18:59:05 +01:00 |
Jeremy Pry
|
df0f6a6fd3
|
Update Consent API test to use closures
|
2023-11-27 18:59:05 +01:00 |
Jeremy Pry
|
f8a24b6819
|
Add file headers to the new templates
|
2023-11-27 18:59:04 +01:00 |
Jeremy Pry
|
67e40fcc68
|
Mock FeaturesController class for WCCOM test
|
2023-11-27 18:59:04 +01:00 |
Jeremy Pry
|
2ef7df465a
|
Add tracks using JS
|
2023-11-27 18:59:04 +01:00 |
Jeremy Pry
|
edfe2896b4
|
Add Tracks event with source data
|
2023-11-27 18:59:04 +01:00 |
Jeremy Pry
|
b787271c86
|
Refactor source processing
|
2023-11-27 18:59:04 +01:00 |
Jeremy Pry
|
8e382813c0
|
Remove experimental feature flag
|
2023-11-27 18:59:04 +01:00 |
Jeremy Pry
|
d62bbce217
|
Add unit tests for Order Source Attribution
|
2023-11-27 18:59:03 +01:00 |
Jeremy Pry
|
fa2421758d
|
Add consent API integration
|
2023-11-27 18:59:03 +01:00 |
Jeremy Pry
|
22c82c485a
|
Add WCCom tracking controller
|
2023-11-27 18:59:03 +01:00 |
Jeremy Pry
|
a21c1cb13a
|
Create separate service provider for Order Attribution
|
2023-11-27 18:59:03 +01:00 |
Jeremy Pry
|
d8d57f3c31
|
Ensure the Attribution controller is limited by the feature being enabled
|
2023-11-27 18:59:03 +01:00 |
Jeremy Pry
|
a2c2c82310
|
Create method for setting the fields and prefix.
|
2023-11-27 18:59:03 +01:00 |
Jeremy Pry
|
0da5aff8dd
|
Create ScriptDebug trait
|
2023-11-27 18:59:02 +01:00 |
Jeremy Pry
|
892ef3435a
|
Add changelog file
|
2023-11-27 18:59:02 +01:00 |
Jeremy Pry
|
95001377b6
|
Add auto registration using the interface
|
2023-11-27 18:59:02 +01:00 |
Jeremy Pry
|
87b11e3bbb
|
Include the get_hpos_order_object() method and PHPCS fixes
|
2023-11-27 18:59:02 +01:00 |