Claudio Sanches
b9f596ec6f
Fixed composer license syntax
2018-01-30 13:22:00 -02:00
Rodrigo Primo
07d00fc58e
Make WC_Customer_Download() tests a bit faster
...
This commit simplifies WC_Customer_Download() tests by using hardcoded values for customer ID and e-mail instead of touching the database and creating a real customer for each test.
2018-01-26 15:44:23 -02:00
Rodrigo Primo
1195cf9eee
Improve WC_Customer_Download_Data_Store::get_downloads() performance
...
This commit improves WC_Customer_Download_Data_Store::get_downloads() performance by changing the way the SQL query is built. Before this change, this method would get all table fields even when just the permission_id field is returned. Now the method will get from the database only the fields that will be returned. The fields retrieved from the database can be controlled using the parameter `$args['return']`:
- 'objects' (default): all fields are retrieved from the database and an array of WC_Customer_Download objects is returned.
- 'ids': gets and return only permision_ids
- comma separated list of fields (new option added by this commit): gets and return only the required fields. Examples: 'user_email,download_id,order_id' or 'order_id,download_count'.
2018-01-22 17:25:26 -02:00
Rodrigo Primo
16c9bc9694
Fix PHPCS violations in class-wc-customer-download-data-store.php
2018-01-22 15:16:59 -02:00
Rodrigo Primo
656356530a
Use setUp() method in WC_Customer_Download() tests to remove code duplication
2018-01-22 14:43:28 -02:00
Rodrigo Primo
9eeb4cd0bd
Add assertion to check WC_Customer_Download_Data_Store::get_downloads() when called with the 'return' param set to 'ids'
2018-01-22 11:01:00 -02:00
Rodrigo Primo
6bb79681b9
Fix PHPCS violations in class-wc-tests-customer-download.php
2018-01-22 10:59:09 -02:00
Claudiu Lodromanean
62c4cbb0c8
Merge pull request #18487 from woocommerce/fix/18476
...
Fix tab corner offset
2018-01-19 13:33:35 -08:00
Mike Jolley
2e88b98068
border box to fix 2012
2018-01-19 16:16:56 +00:00
Rodrigo Primo
89119f89ff
Merge pull request #18529 from bsessions85/fix/e2e-CI-branch
...
Update install script to account for forked branch
2018-01-19 11:38:06 -02:00
Mike Jolley
ff7716509e
Merge pull request #18532 from woocommerce/fix/18527-numeric-username-lookup
...
Ajax customer search to cater for numeric usernames
2018-01-19 10:36:26 +00:00
Gerhard Potgieter
15e77b30a1
Merge pull request #18500 from woocommerce/tweak/pay-order-stock-filter
...
Allow stock to be overriden by filter when paying for orders
2018-01-19 10:15:58 +02:00
Gerhard Potgieter
4ef8251750
Merge pull request #18491 from woocommerce/update/helper-text
...
Updates Helper text to be correct
2018-01-19 10:13:15 +02:00
Gerhard Potgieter
8e6afdfdc7
Fix indentation
2018-01-19 09:57:27 +02:00
Gerhard Potgieter
b495e803e8
Reworks the ajax user lookup so it caters for numeric usernames without affecting performance of lookups by ID.
2018-01-19 09:52:05 +02:00
Brent Sessions
a01270f392
Rearranging some variables
2018-01-18 12:36:22 -08:00
Brent Sessions
45bf9d6805
Update install script to account for forked branch
2018-01-18 12:26:46 -08:00
Rodrigo Primo
250b94b0ce
Merge pull request #18524 from woocommerce/fix/18510
...
Saving taxes should invalidate caches.
2018-01-18 16:55:55 -02:00
Rodrigo Primo
257feb63bd
Fix doc typo
2018-01-18 16:50:27 -02:00
Brent Sessions
e372d55a3c
Run e2e tests on Travis builds ( #18374 )
2018-01-18 16:42:19 -02:00
Rodrigo Primo
54e013d5ca
Merge pull request #18492 from woocommerce/update/18447
...
Clear persistent cart with system status tool
2018-01-18 16:25:02 -02:00
Claudiu Lodromanean
1d3a9be376
Merge pull request #18521 from woocommerce/fix/18503
...
Move customer CSS rule below System.
2018-01-18 09:57:02 -08:00
Claudiu Lodromanean
ef14d85d7d
Merge pull request #18520 from woocommerce/fix/18498
...
Fix cart ajax triggers
2018-01-18 09:53:53 -08:00
Claudiu Lodromanean
ee2a562cf0
Merge pull request #18517 from woocommerce/fix/18499
...
Fix undefined var.
2018-01-18 09:50:53 -08:00
Claudiu Lodromanean
b6204fb7aa
Merge pull request #18518 from tyrann0us/patch-1
...
Remove legacy "view" key from register_post_type()
2018-01-18 09:48:31 -08:00
Mike Jolley
a110180643
Saving taxes should invalidate caches.
2018-01-18 17:47:26 +00:00
Claudiu Lodromanean
2667a064d6
Merge pull request #18515 from franticpsyx/add_html_order_preview_item_class_filter
...
[3.3-rc] Add `woocommerce_admin_html_order_preview_item_class` filter in order previews
2018-01-18 09:47:12 -08:00
Mike Jolley
01cb238adb
Move customer CSS rule below System.
...
CSS needs minifying before release
2018-01-18 16:54:22 +00:00
Claudiu Lodromanean
673546b7e0
Merge pull request #18504 from bekarice/fix/order-modal-styles
...
Fix: handle long status names in order modal
2018-01-18 08:35:15 -08:00
Mike Jolley
1fc6155167
Fix cart ajax triggers
...
Closes #18498
2018-01-18 16:31:17 +00:00
Philipp Bammes
fecc0d00fd
Remove legacy "view" key from register_post_type()
2018-01-18 16:59:53 +01:00
Mike Jolley
c618895ece
Fix undefined var. Closes #18499
2018-01-18 15:25:27 +00:00
Manos Psychogyiopoulos
e77ec2444e
Add woocommerce_admin_html_order_preview_item_class filter
...
For parity with woocommerce_admin_html_order_item_class filter in html-order-item.php view.
2018-01-18 16:57:51 +02:00
Beka Rice
e270609e33
Fix: handle long status names in order modal
2018-01-17 16:28:59 -05:00
Claudiu Lodromanean
dbb6e2716d
Merge pull request #18497 from woocommerce/update/setup-wizard-activate-but-disable-ppec-by-default
...
Setup wizard: activate but don't enable PPEC by default
2018-01-17 11:31:55 -08:00
Paul Dechov
3dee78ea54
Tweak variable name
2018-01-17 12:43:44 -05:00
Jonathan Belcher
77578c5509
Corrects string to use sprintf properly
2018-01-17 10:35:43 -05:00
Claudiu Lodromanean
9236f7b7d4
Merge pull request #18496 from ragulka/action-button-style-tweaks
...
Prevent visual "border jump" when hovering over grouped action buttons
2018-01-17 07:09:40 -08:00
Boro Sitnikovski
7b52082dc3
Allow stock to be overriden by filter when paying for orders
2018-01-17 14:31:56 +01:00
Paul Dechov
dc884c5e2f
Refactor so as to leave 'enabled' setting alone in case gateway was already enabled
2018-01-16 16:15:30 -05:00
Paul Dechov
fcf3d368f2
Setup wizard: if selected, activate but disable PPEC gateway by default
2018-01-16 16:14:35 -05:00
Jonathan Belcher
dbb0f6f1ef
Add links to Sharing and Transferring string
2018-01-16 14:35:30 -05:00
ragulka
2a2418e222
tweak grouped action button margins
2018-01-16 12:15:04 +02:00
Claudiu Lodromanean
3b895bd0a9
Merge pull request #18490 from woocommerce/fix/cart-hash-naming
...
cart_hash_key param
2018-01-15 10:13:55 -08:00
Mike Jolley
270f4c3608
Update text and clear cart meta data.
2018-01-15 17:04:50 +00:00
Jonathan Belcher
535e1c5b58
Updates Helper text to be correct
2018-01-15 11:41:32 -05:00
Claudiu Lodromanean
99f58c4c56
Merge pull request #18488 from woocommerce/fix/18474
...
Protocol-relative paths are absolute.
2018-01-15 08:28:42 -08:00
Claudiu Lodromanean
6fa23069a4
Merge pull request #18484 from woocommerce/fix/18481
...
Adding view_items string
2018-01-15 08:15:25 -08:00
Claudiu Lodromanean
1d2c27df6f
Merge pull request #18485 from ragulka/order-status-badge-styling
...
Gracefully handle order status text overflow
2018-01-15 08:13:50 -08:00
Mike Jolley
431b95dade
cart_hash_key param
2018-01-15 16:03:27 +00:00