Jeff Stieler
c8b94836df
Update order stats table status index length. ( https://github.com/woocommerce/woocommerce-admin/pull/3022 )
...
* Add per-version DB upgrade routine.
Update order stats index length as well.
* Use globally namespaced methods for DB updates.
* Avoid creating duplicate DB update actions.
2019-10-10 13:54:44 -07:00
Ron Rennick
0d664fdd87
use category lookup id instead of term taxonomy id ( https://github.com/woocommerce/woocommerce-admin/pull/3027 )
2019-10-10 14:15:25 -03:00
Justin Shreve
d8132942f3
Change usage tracking prompt to modal ( https://github.com/woocommerce/woocommerce-admin/pull/2968 )
...
* Move tracking usage question to modal
* Fix PHPCS errors
* Adjust button alignment, update PHPCS version.
* Fix options check
* Handle PR feedback
2019-10-10 10:05:13 -04:00
Paul Sealock
ae413cb03e
Prepare for 0.20.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3006 )
2019-10-10 12:12:55 +13:00
Joshua T Flowers
37fbdaf5c0
Add options REST API permission checks ( https://github.com/woocommerce/woocommerce-admin/pull/3004 )
2019-10-09 06:39:40 +08:00
Jeff Stieler
e53d5daa94
Hook up download button to export endpoint. ( https://github.com/woocommerce/woocommerce-admin/pull/2900 )
...
* Move TableCard actions from packaged component to ReportTable.
* Build an IE stylesheet for the main app.
* Remove defunct TableCard download test.
* Update components changelog.
* Fix pagination.
Pull query from table data instead of ReportTable props.
* Initiate report export from download button (https://github.com/woocommerce/woocommerce-admin/pull/2951 )
* Add report export operations to API spec.
* Initiate a report export job when there is more than one page of report data.
* Add report download "type" to Tracks event.
* Ensure WC_Emails class is hooked in before sending report download emails.
* Set email parameter for background CSV download requests.
2019-10-08 15:02:26 -07:00
Jeff Stieler
ba28e41ee5
Fix Facebook extension install from inbox ( https://github.com/woocommerce/woocommerce-admin/pull/3010 )
...
* Restore FB extension to installation whitelist.
Errantly removed in fe585aa2
.
* Fix FB extension installation from inbox.
APIs have diverged.
2019-10-08 12:32:44 -07:00
Joshua T Flowers
431e465893
Hide shipping step for stores without physical products ( https://github.com/woocommerce/woocommerce-admin/pull/3005 )
2019-10-08 06:42:57 +08:00
Justin Shreve
30a31c8fdf
Fix onboarding linter errors ( https://github.com/woocommerce/woocommerce-admin/pull/3000 )
2019-10-03 15:53:10 -04:00
Justin Shreve
c2a340da55
Add Stripe, PayPal, Klarna, and Square Connection Flows to the Payments Task ( https://github.com/woocommerce/woocommerce-admin/pull/2897 )
...
* Add payment method configuration
* Add stripe connection code
* Finish stripe connection logic
* Add PayPal Connection Flows
* Handle PR feedback: Enable methods when configuring via manual mode, update error modal to just rely on the errorMessage state, add TOS link and acceptance to the profile wizard, update optionsIsRequesting usage, and update docblocks.
* Update TOS message / display
* Add missing success messages on manual save
* Add Square & Klarna to Payments Task (https://github.com/woocommerce/woocommerce-admin/pull/2960 )
* Add Square to payments task
* Add logos to payment task
* Add Klarna configuration, and fix assetUrl usage
2019-10-03 12:03:29 -04:00
Justin Shreve
9a48461921
Catch notices earlier than priority 10 ( https://github.com/woocommerce/woocommerce-admin/pull/2981 )
2019-10-02 09:25:31 -04:00
Mike Jolley
edcfc161fa
Category Lookup Table - Fix Category Segments ( https://github.com/woocommerce/woocommerce-admin/pull/2253 )
...
* Look table class and installer
* New table + stats
* Working reports/initial population
* Remove test
* Refactor, remove depth
* Unused table
* Update todo
* Add docblocks and reorder get_insert_sql params for consistency
* Adjust css braces
* clear hook on deactivation
* PSR-4 category lookup
* linting CSS closing brace last char on line
* initialize category lookup table in unit tests
* missed linting fixes
* revert move of run_all_pending call
* use consistent reference for term_relationships in queries
2019-10-02 12:35:37 +13:00
Jeff Stieler
ac9f3f4680
Use version number for cache invalidation ( https://github.com/woocommerce/woocommerce-admin/pull/2970 )
...
* Refactor report datastore cache key generation.
* Add transient-backed Cache class for Report DataStores.
* Bump reports cache version when data changes.
* Rollover cache version number after a limit and expire report transients every day.
* Use caching strategy like WC core.
Store cache version in value, not in key. Increase expiration to 1 week.
2019-10-01 09:36:05 -07:00
Kʜᴀɴ
202fde95b5
Simplified intervals_missing method of TimeInterval ( https://github.com/woocommerce/woocommerce-admin/pull/2919 )
2019-10-01 10:15:41 +13:00
Kʜᴀɴ
1673e3f01f
Simplified intervals_missing method of DataStore class ( https://github.com/woocommerce/woocommerce-admin/pull/2920 )
...
* Simplified intervals_missing method of DataStore class
* Fixed a little typo
2019-10-01 10:14:12 +13:00
Jeff Stieler
485af8576f
Add ability to receive an emailed download link to report export endpoint. ( https://github.com/woocommerce/woocommerce-admin/pull/2899 )
...
* Add ability to receive an emailed download link to report export endpoint.
* Use WC_Email to send report download links.
2019-09-26 13:38:32 -07:00
Paul Sealock
bc8127bd33
0.19.0 release changes ( https://github.com/woocommerce/woocommerce-admin/pull/2946 )
2019-09-27 07:42:24 +12:00
Mike Jolley
1d8d0df790
Prevent fatal in pageController if get_current_screen is not available ( https://github.com/woocommerce/woocommerce-admin/pull/2846 )
2019-09-25 13:59:11 -04:00
Jeff Stieler
0be875d898
Reduce size of bundled JS, and overall plugin file size. ( https://github.com/woocommerce/woocommerce-admin/pull/2933 )
...
* Remove embed-page-specific Webpack entry.
* Stop @woocommerce/components from being bundled with the app code.
2019-09-24 08:55:39 -07:00
Darren Ethier
d728d38219
Refactor: Alternative approach to implementing extendable settings from the server ( https://github.com/woocommerce/woocommerce-admin/pull/2917 )
...
* integrate with new asset data registration (php side)
- includes back-compatibility.
* update js configuration and implement settings alias
- this aliases `@woocommerce/wc-admin-settings` to the settings api exposed via blocks (either the blocks plugin or core) and all the settings provided via the server.
- Adds fallback for back-compat if `wc.wcSettings` is not available in the environment (fallsback to `wcSettings`).
* initial pass to update all wcSettings direct usage to the new api
- this is just an initial pass, more can be done in separate pulls.
* missed one spot for adding new filter implementation
* fix incorrect jest config
* Avoid unnecessary assignment and directly return.
* Remove unnecessary defaults
* Fix inline comment text case.
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Remove unnecessary inline comment.
* use @todo instead of TODO
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* fix incorrect reference in webpack config.
* add missing import and slightly delay dependency injection for scripts
* update get-setting and set-setting callbacks
* disable lint rule for console.error on dev doc builds
2019-09-23 17:47:08 -04:00
Ron Rennick
5a66f70d21
Merge pull request woocommerce/woocommerce-admin#2819 from woocommerce/add/notes-where-clause-filters
...
Add filter to notes datastore where clauses
2019-09-23 10:46:59 -03:00
Paul Sealock
c1280b5f0f
Merge pull request woocommerce/woocommerce-admin#2916 from codemascot/fix/typo-FeaturePlugin.php
...
Removed extra semicolon and line end whitespaces
2019-09-22 22:14:50 -04:00
Jeff Stieler
d2b02db128
Merge pull request woocommerce/woocommerce-admin#2898 from woocommerce/cleanup/end-of-class-files
...
indent cleanup, remove blank line before class closing brace
2019-09-19 11:10:30 -07:00
Albert Juhé Lluveras
3406bd85e0
Fix variable name typo ( https://github.com/woocommerce/woocommerce-admin/pull/2922 )
2019-09-13 18:39:51 +02:00
Khan Mohammad R
5f5b319f6a
Removed extra semicolon and line end whitespaces
2019-09-11 16:11:07 +06:00
Joshua T Flowers
f095466442
Onboarding: Add create homepage logic to "Customize Appearance" step ( https://github.com/woocommerce/woocommerce-admin/pull/2889 )
2019-09-06 22:18:44 +08:00
Joshua T Flowers
52c295b820
Onboarding: Add "Import products" step ( https://github.com/woocommerce/woocommerce-admin/pull/2868 )
2019-09-06 10:06:29 +08:00
Ron Rennick
d186ec7dc3
indent cleanup, remove blank line before class closing brace
2019-09-05 16:49:06 -03:00
Ron Rennick
d9000f4b23
add filter PHPDocs
2019-09-04 14:15:21 -03:00
Ron Rennick
e2d326b236
remove redundant filter
2019-09-04 14:08:52 -03:00
Jeff Stieler
ef313fcc6c
Merge pull request woocommerce/woocommerce-admin#2881 from cojennin/fix/customer-analytics-date
...
Fix: persist date_last_active for customer reports 👏 @cojennin
2019-09-04 09:25:39 -07:00
Ron Rennick
d74503642d
Merge pull request woocommerce/woocommerce-admin#2874 from woocommerce/fix/task-list-imports
...
use correct path for NAMESPACE import in task-list
2019-09-04 13:03:24 -03:00
Jeff Stieler
2546a3faec
Merge pull request woocommerce/woocommerce-admin#2832 from woocommerce/fix/2702-queue-customer-updates
...
Queue customer lookup updates.
2019-09-04 08:49:40 -07:00
Jeff Stieler
b6c34109f0
Look for `title` properties when using JSON schema for indicator labels.
...
Fix the dashboard labels at the same time.
2019-09-04 07:49:37 -07:00
Connor Jennings
f660f22c5e
Fix: persist date_last_active
2019-09-04 09:44:05 -04:00
Ron Rennick
d89a975dbc
remove whitespace added in woocommerce/woocommerce-admin#2862
2019-09-03 17:15:50 -03:00
Ron Rennick
24d3104eca
fix merge conflicts
2019-09-03 14:08:02 -03:00
Justin Shreve
d8a0364c61
Onboarding - add quick testing links for Calypso flows ( https://github.com/woocommerce/woocommerce-admin/pull/2863 )
...
* Add help tab for task list toggling
* Redirect after resetting profiler to remove get params
* Onboarding - add quick testing links for Calypso flows
* Handle PR feedback
2019-09-03 09:42:00 -04:00
Joshua T Flowers
c4edf4305d
Onboarding: Add task list toggle option ( https://github.com/woocommerce/woocommerce-admin/pull/2862 )
2019-09-02 11:52:47 +08:00
Joshua T Flowers
7bce0b710f
Onboarding: Add "Customize Appearance" task ( https://github.com/woocommerce/woocommerce-admin/pull/2857 )
...
* Add initial Customize Appearance task
* Add options wc endpoint
* Add wc-api specs to manage options
2019-09-02 11:45:56 +08:00
Justin Shreve
e156605bfa
Onboarding Task List - Install selected payment methods ( https://github.com/woocommerce/woocommerce-admin/pull/2858 )
...
* Onboarding Task List - Install selected payment methods
* Don't pass formData to render functions
2019-08-30 13:04:11 -04:00
Paul Sealock
dfc428e176
Merge branch 'master' into release/0.18.0
2019-08-30 20:53:47 +12:00
Justin Shreve
e5b4606047
Add base payments task & jetpack connection status method ( https://github.com/woocommerce/woocommerce-admin/pull/2853 )
...
* Add a base for the payments task, with the ability to choose methods. Also adds Jetpack connection status.
* Handle PR feedback
2019-08-29 12:41:04 -04:00
Paul Sealock
a71ae8c934
release 0.18.0
2019-08-28 16:01:13 +12:00
Joshua T Flowers
fbcd38acea
Update the product types to use IDs ( https://github.com/woocommerce/woocommerce-admin/pull/2841 )
2019-08-27 11:24:19 +08:00
Joshua T Flowers
547b771cdf
Onboarding: Add tax task. ( https://github.com/woocommerce/woocommerce-admin/pull/2830 )
2019-08-26 13:49:04 +08:00
Justin Shreve
fe585aa2ee
Onboarding - Profile Wizard: Update plugin installation step to deal with previously installed plugins ( https://github.com/woocommerce/woocommerce-admin/pull/2825 )
...
* Handle previously installed plugins during the onboarding wizard
* Allow the activate endpoint to activate multiple plugins at once, avoiding a race condition.
* Handle PR feedback
* Add the ability to fetch active plugins via wc-api
2019-08-23 08:56:57 -04:00
Jeff Stieler
f5b46ec037
Fix cleanup of customer import jobs.
2019-08-21 09:34:05 -07:00
Jeff Stieler
0659049629
Hook up customer updates in the sync class.
2019-08-21 09:00:00 -07:00
Ron Rennick
8e9a96259e
Merge pull request woocommerce/woocommerce-admin#2824 from woocommerce/remove/PSR-4-missed-constant
...
remove constant eliminated by PSR-4
2019-08-21 12:26:47 -03:00
Jeff Stieler
4ea5732097
Merge pull request woocommerce/woocommerce-admin#2817 from woocommerce/fix/2650-refunded-orders-gross-total
...
Ignore refunded amounts when calculating gross total.
2019-08-21 08:13:09 -07:00
Ron Rennick
bb8d5f64e4
remove constant eliminated by PSR-4
2019-08-21 12:07:47 -03:00
Joshua T Flowers
f4d7936b17
Onboarding: Add shipping rate base task ( https://github.com/woocommerce/woocommerce-admin/pull/2760 )
2019-08-21 13:58:47 +08:00
Ron Rennick
b770ccb987
add filters to notes datastore where clauses
2019-08-20 20:48:11 -03:00
Jeff Stieler
b3ab0c4eab
Add method to schedule customer data updates.
2019-08-20 15:56:54 -07:00
Jeff Stieler
bfefb2d647
Ignore refunded amounts when calculating gross total.
2019-08-20 11:41:28 -07:00
Ron Rennick
dd9948aa1a
Merge pull request woocommerce/woocommerce-admin#2784 from woocommerce/fix/2766
...
Allow action scheduler custom data store migration
2019-08-20 13:36:14 -03:00
Jeff Stieler
8a19d586af
Include a segment label for the variation parent when segmenting a single product report by variations.
2019-08-19 10:47:09 -07:00
Ron Rennick
effb5b8219
Merge branch 'master' into fix/2243
2019-08-19 11:34:05 -03:00
Jeff Stieler
150feee517
Base variation report endpoint extended info off of the parent product if variation ID is 0.
2019-08-17 10:23:24 -07:00
Jeff Stieler
60ff4fc067
Include "variation = 0" orders in variation report data.
...
This catches simple products with sales that have been converted to variable.
2019-08-17 10:21:33 -07:00
Jeff Stieler
e5554a5f7b
Merge pull request woocommerce/woocommerce-admin#2798 from woocommerce/add/2538-facebook-inbox-note
...
Add inbox notice promoting the Facebook extension.
2019-08-16 08:17:37 -07:00
Ron Rennick
16591e5941
use cancel_actions_by_group if action scheduler is >=3.0
2019-08-16 11:35:49 -03:00
Jeff Stieler
ed17b3f951
Refactor Note "has plugin been installed for" login into reusable trait.
2019-08-15 09:19:33 -07:00
Jeff Stieler
bece81b757
Add inbox notice promoting the Facebook extension.
2019-08-14 19:32:59 -07:00
Paul Sealock
42bba7b376
release 0.17.0
2019-08-15 13:43:22 +12:00
Ron Rennick
d2b48f0fcd
scroll import action to import section of settings page
2019-08-14 14:35:28 -03:00
Ron Rennick
0d45811e73
fix warnings in chart segmenting
2019-08-14 12:50:11 -03:00
Jeff Stieler
d3c1d34a60
Fix category report comparison chart render. ( https://github.com/woocommerce/woocommerce-admin/pull/2710 )
...
* Restrict product stats category comparison queries, fix LIMIT clause, and avoid adding dates outside of the initial interval query to response.
2019-08-14 08:02:06 -07:00
Jeff Stieler
37e849221b
Fix namespace on helper class usage.
2019-08-12 15:27:12 -07:00
Jeff Stieler
953427bea5
Remove defunct filename prefix from remaining files.
...
Excluding the note classes for third party compatibility.
2019-08-12 15:06:36 -07:00
Jeff Stieler
9bc54b3344
Remove defunct filename prefix from API init class.
2019-08-12 15:03:24 -07:00
Jeff Stieler
4356eef13d
Remove defunct filename prefix from feature classes.
2019-08-12 15:03:23 -07:00
Jeff Stieler
d4d0a31486
Flatten includes/ directory.
2019-08-12 15:03:23 -07:00
Jeff Stieler
c73325c312
PSR-4ify the loader class.
2019-08-12 15:03:22 -07:00
Jeff Stieler
13878db9ac
PSR-4ify the feature plugin and install classes.
2019-08-12 15:03:21 -07:00
Jeff Stieler
7dd4d2b791
PSR-4ify the reports time interval class.
2019-08-12 15:03:21 -07:00
Jeff Stieler
a61d292c67
PSR-4ify the report parameter exception class.
2019-08-12 15:03:20 -07:00
Jeff Stieler
57ece077a6
Fix daily cron notes task class.
2019-08-12 15:03:19 -07:00
Jeff Stieler
88f6fd9d06
PSR-4ify report query classes.
2019-08-12 15:03:19 -07:00
Jeff Stieler
8f61462328
PSR-4ify the report stats segmenter classes.
2019-08-12 15:03:18 -07:00
Jeff Stieler
3e9ef793a7
PSR-4ify the reports data store interface class.
2019-08-12 15:03:17 -07:00
Jeff Stieler
b7912bc579
PSR4-ify the Reports data store classes.
2019-08-12 15:03:17 -07:00
Jeff Stieler
a67d577ad2
PSR-4ify all Report Controller classes.
2019-08-12 15:03:16 -07:00
Jeff Stieler
b71d8c23c8
PSR4-ify core API subclasses.
2019-08-12 15:03:15 -07:00
Jeff Stieler
fe3dc0dd7c
Reorganize API classes.
2019-08-12 15:03:14 -07:00
Jeff Stieler
9d2757f1b2
PSR4-ify the API init class and Notes controllers.
2019-08-12 15:03:13 -07:00
Jeff Stieler
f871c96070
PSR-4ify the theme upgrader subclasses.
2019-08-12 15:03:12 -07:00
Jeff Stieler
416ab09653
PSR-4ify the action schedule post store subclass.
2019-08-12 15:03:12 -07:00
Jeff Stieler
e509e51552
PSR-4ify the sync class.
2019-08-12 15:03:11 -07:00
Jeff Stieler
55400474ee
PSR-4ify the feature loading classes.
2019-08-12 15:03:11 -07:00
Jeff Stieler
ce7267b198
PSR-4ify the report exporter classes.
2019-08-12 15:03:10 -07:00
Jeff Stieler
ca68769205
Update admin notes classes to PSR-4.
2019-08-12 15:03:09 -07:00
Jeff Stieler
782bbe8891
PSR-4ify the WC_Admin_Page_Controller class.
2019-08-12 15:03:09 -07:00
Jeff Stieler
24555e0e02
PSR-4 ify the WC_Admin_Order_Trait class.
2019-08-12 15:03:08 -07:00
Jeff Stieler
8602c03671
PSR-4 ify WC_Admin_Order_Refund class.
2019-08-12 15:03:08 -07:00
Jeff Stieler
54d0768892
PSR-4ify WC_Admin_Order class.
2019-08-12 15:03:07 -07:00