Commit Graph

2971 Commits

Author SHA1 Message Date
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00
Mike Jolley 00e5189a05 Merge pull request #15070 from rasmusbe/phpdoc-missing-return-throws
Phpdoc: Add missing return and throws
2017-05-23 18:50:58 +01:00
Mike Jolley 15f47e00a2 Merge branch 'master' into feature/13088
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	assets/css/twenty-seventeen-rtl.css
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-rtl.css
#	assets/css/woocommerce.css
2017-05-23 16:35:17 +01:00
Mike Jolley db012b3a12 Merge pull request #15011 from woocommerce/fix/14999
Add abspath checks
2017-05-23 15:57:35 +01:00
Mike Jolley 2d479e0580 Update serializejson to 2.8.1
Closes #14630
2017-05-23 15:27:53 +01:00
Mike Jolley b1a5b23629 Done screen handling and form tweaks 2017-05-23 15:05:32 +01:00
Mike Jolley f09f7eb84e Merge pull request #15150 from woocommerce/fix/15118
Add handles so drag and drop does not break edit on mobile
2017-05-23 10:20:08 +01:00
Claudio Sanches ac304473c7 Allow external URL and button text for external products 2017-05-22 20:18:39 -03:00
claudiulodro cb297ad1b0 Add skip existing option 2017-05-19 10:58:31 -07:00
Mike Jolley 754e991220 Redirect if there is no mapping data 2017-05-19 15:06:36 +01:00
Mike Jolley cde32be82d Done step and styling 2017-05-19 13:25:03 +01:00
Mike Jolley 1617c62f47 Export text tweaks 2017-05-19 12:03:34 +01:00
Claudio Sanches 74b4ba8a94 Improved sanitization in product CSV importer and handle special columns 2017-05-18 21:18:47 -03:00
Claudiu Lodromanean a13668f201 Merge branch 'feature/product-csv-import-export' into feature/background-processing 2017-05-18 10:11:34 -07:00
claudiulodro 9d52ef9f61 Performance tweak 2017-05-18 10:05:31 -07:00
claudiulodro 83908bc735 Move file functions to abstract class 2017-05-18 09:59:40 -07:00
claudiulodro b2e8d31262 Clean up 2017-05-18 09:49:58 -07:00
Mike Jolley 89ece25a32 Fix stock/backorder notice when stock management is disabled
Fixes #15145
2017-05-18 15:28:38 +01:00
Mike Jolley c3c966b5fd Add handles so drag and drop does not break edit on mobile
Fixes #15118
2017-05-18 15:22:12 +01:00
Claudio Sanches 36fa838678 Allow extend auto mapping options 2017-05-17 21:10:26 -03:00
Claudio Sanches df63ea9b5a Handle special column names
Handle columns names like "Attribute 1 Name" and "Meta: _foo_bar".
2017-05-17 20:59:36 -03:00
claudiulodro 2ab0fdfe78 Styling 2017-05-17 14:55:20 -07:00
claudiulodro fa1446bc86 Clean up 2017-05-17 14:43:03 -07:00
claudiulodro 17083dafae Initial background importer implementation 2017-05-17 14:34:49 -07:00
Claudio Sanches d3ec48f378 Match regular fields between exporter and importer 2017-05-17 17:55:28 -03:00
Claudio Sanches ce6741e117 Fixed error display and incorrect use of WP_Error 2017-05-17 14:57:03 -03:00
Claudio Sanches 215a9fa0c1 Fixed warning about empty callback name 2017-05-17 14:43:48 -03:00
Mike Jolley 956b1a6181 Adds storefront/theme step to the setup wizard
Also includes a background install to get Storefront installed and
activated on demand.

To test, use a default theme and go to wp-admin/index.php?page=wc-setup
The theme step will be after payments!
2017-05-17 17:42:18 +01:00
claudiulodro adc8f4eacb Use correct method name 2017-05-17 09:15:49 -07:00
claudiulodro d6ef3ca855 Docblock tweak and remove unused query var 2017-05-17 08:51:45 -07:00
Mike Jolley a6537ff269 export styling 2017-05-17 14:22:41 +01:00
Mike Jolley d67fb8fb83 New style import controller
Closes #15107
2017-05-17 14:16:38 +01:00
Mike Jolley bf2979f68d Revert change - export directory contains logic only, not admin 2017-05-17 11:50:55 +01:00
Mike Jolley 8a48c7d388 Made exporter and importer screens, classes and directories consistent
Once merged, @claudiosanches @claudiulodro, we should work on
https://github.com/woocommerce/woocommerce/tree/feature/product-csv-impo
rt-export branch going forward and get this merged into it.
2017-05-17 11:24:27 +01:00
Mike Jolley 3d5f1c1fe6 Merge branch 'feature/product-csv-import-export' into feature/csv-importer 2017-05-17 10:36:39 +01:00
Kelly Dwan 3cb3a1b085 Style & escaping fixes, based on review feedback 2017-05-16 14:01:14 -04:00
Mike Jolley 5939939244 Wizard and blank state 2017-05-16 15:36:56 +01:00
Mike Jolley 7293025c92 Import page placeholder 2017-05-16 15:21:35 +01:00
Mike Jolley 2ba6613abe Hide export menu item 2017-05-16 15:21:29 +01:00
Mike Jolley 74e2f61f0c Import and export buttons 2017-05-16 15:06:22 +01:00
Mike Jolley 6949ee162e Reduce visual noise 2017-05-16 15:05:11 +01:00
Claudio Sanches 020e61927b Created abstract product class 2017-05-16 01:02:46 -03:00
Claudio Sanches cc05ed77d2 Properly display the importer results 2017-05-15 20:41:19 -03:00
Claudio Sanches 121f8f6315 Abstract the product importer 2017-05-15 19:49:53 -03:00
Kelly Dwan ce06a92e57 Profiles: Add get_user_meta helper, which can fall back on core user fields when applicable, such as first_name, last_name, and email for billing fields. 2017-05-15 17:10:31 -04:00
Kelly Dwan faea811a92 Customer profile: Add a “Copy from billing” button to shipping user meta fields 2017-05-15 17:09:02 -04:00
Claudiu Lodromanean 05132f724c Merge pull request #15067 from woocommerce/fix/15047
$post global is not required in meta box callback
2017-05-15 10:35:07 -07:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Mike Jolley 31651e41cb Merge pull request #15063 from rasmusbe/unused-vars
Remove unused local variables
2017-05-15 12:45:54 +01:00
Rasmus Bengtsson 4f00d7e5e3 PHPDoc: Add missing return statement 2017-05-15 13:37:59 +02:00
Mike Jolley 7c63c21eaf $post global is not required in meta box callback
Fixes #15047
2017-05-15 12:29:11 +01:00
Rasmus Bengtsson 6a7fc8650f Remove unused local variables 2017-05-15 12:06:52 +02:00
Rasmus Bengtsson 51fd482206 Remove duplicate entries from defined arrays 2017-05-15 10:48:02 +02:00
Mike Jolley e777b4d557 Merge branch 'feature/product-csv-import-export' into feature/csv-exporter 2017-05-12 21:03:20 +01:00
Mike Jolley 523d9d27cd Styling 2017-05-12 20:40:54 +01:00
Mike Jolley ed32dd558d Nonces and further tidyup 2017-05-12 20:15:08 +01:00
Mike Jolley 5e9f908df7 Merge pull request #15051 from reescott/fixlogtable
Fix #14967 by adding log_id as the secondary sorting column to log list.
2017-05-12 19:47:18 +01:00
Scott Rees b7b75c83f7 Fix #14967 by adding log_id as the secondary sorting column to log list. 2017-05-12 10:22:31 -07:00
claudiulodro 824d8898a2 Fix unit tests 2017-05-12 08:44:02 -07:00
Mike Jolley a35df1394c Delay final step 2017-05-12 15:26:53 +01:00
Mike Jolley 0bf749aeac Move js into script file 2017-05-12 15:03:00 +01:00
Mike Jolley 8fe0f03a95 Type exporting 2017-05-12 14:48:30 +01:00
Claudio Sanches ed09b4e350 Updated to sanitize data in parse_data method 2017-05-11 11:49:45 -03:00
Claudio Sanches 9a25f09c7b Included $item to woocommerce_csv_product_import_mapping_options filter 2017-05-10 18:57:57 -03:00
Claudio Sanches 0ec70e6b92 Allow import as meta 2017-05-10 18:56:29 -03:00
Mike Jolley 4cacceeede Variation handling 2017-05-10 22:16:53 +01:00
Claudio Sanches 6f34cdd9cf Skip mapping screen if all fields match CSV default fields 2017-05-10 17:56:00 -03:00
Claudio Sanches 244fb00a27 Initial mapping screen 2017-05-10 17:15:28 -03:00
Mike Jolley 825dcda917 Selective export 2017-05-10 20:48:56 +01:00
Mike Jolley 523cf5d4ed Protect against missing order in admin assets
Closes #15000
2017-05-10 19:26:30 +01:00
Mike Jolley bc4d36fd3f Add abspath checks
Closes #14999
2017-05-10 19:03:19 +01:00
Mike Jolley fd3bf05017 Working prototype exporter for products 2017-05-10 17:22:08 +01:00
claudiulodro 2cf4fcf8d1 formatting 2017-05-08 13:28:55 -07:00
claudiulodro d4ca99342e Line up items and some tweaks 2017-05-08 12:01:55 -07:00
claudiulodro 88d013bdd5 phpcs recommendations 2017-05-08 11:34:50 -07:00
claudiulodro a1580624f1 Couple tweaks 2017-05-08 11:30:56 -07:00
claudiulodro 5a963f74c2 Clean p 2017-05-04 14:27:40 -07:00
claudiulodro b907aa74f6 Finish parser and unit test 2017-05-04 14:20:59 -07:00
claudiulodro d642212205 More parser progress 2017-05-03 14:53:31 -07:00
claudiulodro 1f10995d80 Parser progress 2017-05-03 14:30:50 -07:00
Claudio Sanches 6f126d7c60 Merge pull request #14853 from woocommerce/fix/14818
Improve "Save Order" button to reproduce WordPress post/page behavior
2017-05-03 17:36:22 -03:00
Claudio Sanches 63552c9757 Fixed conflict between global attributes and custom attributes.
Check if is a custom attribute before trying to get an ID from a global attribute.
2017-05-03 16:30:50 -03:00
Claudio Sanches 67258ec8da Improve "Save Order" button to reproduce WordPress post/page behavior
Display "Create" when order is in "auto-draft" status and then display only "Update" after.

Closes #14818
2017-05-03 15:06:06 -03:00
Konstantin Kovshenin dc2360711f Helper: Toggle subscription on plugin activation/deactivation
When a user activates or deactivates an extension, attempt to find
a valid subscription for that extensioni, and activate/deactivate it
to spare the user an extra step.
2017-05-03 14:37:36 +03:00
Konstantin Kovshenin 39218ea323 Helper: Remove everything related to woocommerce.dev 2017-05-03 13:45:43 +03:00
Konstantin Kovshenin 564327cac3 Helper: Use strict comparison when checking response code from update-check 2017-05-03 13:34:55 +03:00
Konstantin Kovshenin ca93452354 Helper: Fix some missing docblocks 2017-05-03 13:33:39 +03:00
claudiulodro f2af2d4e7c Data reader 2017-05-02 15:06:54 -07:00
claudiulodro 7531d0a022 Importer admin screen 2017-05-01 14:30:45 -07:00
Claudio Sanches e46cb8813d Fixed undefined customer_user when remove users from order in admin 2017-04-28 13:13:18 -03:00
Mike Jolley d744dce594 get_settings for shipping and checkout need to support sections for the API
Fixes #14769
2017-04-28 14:37:44 +01:00
Mike Jolley d14a679e70 Merge pull request #14697 from bekarice/tweak/confirm-log-deletion
Confirm before deleting log files
2017-04-28 12:57:48 +01:00
claudiulodro 027e7b1f94 Add restored webhook 2017-04-27 11:44:57 -07:00
Mike Jolley ca0c3e0bb8 Merge pull request #14064 from rafsuntaskin/develop
added bulk variation update for stock status, resolves #14046
2017-04-27 17:37:59 +01:00
Mike Jolley 891e55e1cf Merge pull request #14721 from woocommerce/fix/14670
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley aacb01d1e7 Merge branch 'pr/13503'
# Conflicts:
#	assets/css/twenty-seventeen.css
#	assets/css/woocommerce-layout.css
#	assets/css/woocommerce-layout.scss
#	assets/css/woocommerce.css
2017-04-27 12:46:05 +01:00
Mike Jolley 3403e39740 Add icons and fix links 2017-04-27 12:23:16 +01:00
Mike Jolley bbffbd6a9f Merge branch 'master' into maybe_blank_keys_webhooks 2017-04-27 12:11:27 +01:00
Mike Jolley a5018f5531 Merge pull request #13409 from diggy/patch-1
filter recent reviews dashboard widget query
2017-04-27 11:41:36 +01:00
Mike Jolley cf35375260 Merge branch 'pr/13712' 2017-04-27 11:39:44 +01:00