Commit Graph

3821 Commits

Author SHA1 Message Date
Jonathan Belcher c43f4c65be Merge Commit 2017-12-06 12:07:27 -05:00
Jonathan Belcher bbaabb5b80 Remove unused function 2017-12-06 12:03:50 -05:00
Jonathan Belcher b5c1025621 Fixes from code review 2017-12-06 12:02:09 -05:00
Paul Dechov c75f5f54af Show PPEC instead of Braintree in US, and remove Braintree altogether 2017-12-06 10:02:32 -05:00
Paul Dechov 94da7ffbed Default PPEC to enabled 2017-12-06 10:01:55 -05:00
Paul Dechov 28c4dc0fbe Install WCS if PPEC settings set 2017-12-06 09:19:39 -05:00
Paul Dechov eecd0db0f0 Tweak checkbox label 2017-12-06 09:19:08 -05:00
Paul Dechov 4155f02ec8 Make sure PPEC settings are opened if enabled on load 2017-12-06 09:18:06 -05:00
Marcin Bot 0d12b31a13 Updated the Klarna logo 2017-12-06 14:04:28 +00:00
Mike Jolley 67a4339ee0
Merge pull request #18031 from woocommerce/fix/admin-product-warnings
Fixed "PHP Warning: printf(): Too few arguments"
2017-12-06 13:32:26 +00:00
Gerhard Potgieter 6ff40c2821
Merge pull request #18011 from WPprodigy/add-helper-notice
Add admin notice when helper plugin is deactivated
2017-12-06 12:37:34 +02:00
Paul Dechov 6500b11db8 Adjust logo widths to match design and approximately equalize prominence 2017-12-05 19:55:43 -05:00
Paul Dechov 9a3b63036f Address 'Undefined index' notice by checking for set param 2017-12-05 14:56:15 -05:00
Paul Dechov 570a2e9512 Add PPEC settings to wizard, to facilitate rerouting via WCS 2017-12-05 14:53:44 -05:00
Claudio Sanches 79e6821685 Fixed coding standards 2017-12-05 17:11:33 -02:00
Claudio Sanches 9e93d99056 Fixed "PHP Warning: printf(): Too few arguments" 2017-12-05 16:57:26 -02:00
Claudio Sanches a56018b967 Removed webhook custom topic input and included better error messages 2017-12-05 16:07:36 -02:00
Marcin Bot 399e2893e1 Updated the Klarna logo 2017-12-05 17:06:35 +00:00
Marcin Bot 10f912a0a9 Split Klarna into two plugins and updated their display logic 2017-12-05 16:38:19 +00:00
Marcin Bot d1e4d0fe3c Fixed a <label>'s id 2017-12-05 16:21:36 +00:00
Marcin Bot fbc630114c Fixed the payment gateways link 2017-12-05 16:21:36 +00:00
Marcin Bot 628906a5bc Added Klarna and Square CSS classes 2017-12-05 16:20:15 +00:00
Marcin Bot 6dae7f3451 Fixed an i18n domain 2017-12-05 16:20:15 +00:00
Marcin Bot 8b0e0e3df4 Fixed the copies 2017-12-05 16:20:15 +00:00
Valerie 8c6d069377 Add Square to wizard payment step 2017-12-05 16:20:15 +00:00
Valerie e28341a9a3 Wizard: Ask user if selling in person 2017-12-05 16:20:15 +00:00
Valerie 6d2ca0fd15 Add Klarna to wizard payment step 2017-12-05 16:20:15 +00:00
Jonathan Belcher f05ed543fa Fix css and add search query header 2017-12-05 11:15:09 -05:00
Jonathan Belcher 2c12dcfacd Merge Commit 2017-12-05 10:16:28 -05:00
Jonathan Belcher 66dbcdead6 Update for API changes 2017-12-05 10:06:58 -05:00
Mike Jolley 3e00533183 phpcs 2017-12-05 14:02:40 +00:00
Mike Jolley 5a5f179346 translators 2017-12-05 13:41:56 +00:00
Mike Jolley 4e7da70185 Update permalink setting text #17745 2017-12-05 13:40:40 +00:00
Mike Jolley 5a8cdb1ded Update wording for #17968 2017-12-05 13:31:42 +00:00
Caleb Burks 21e798e1a8 Add admin notice when helper plugin is deactivated 2017-12-04 23:57:47 -06:00
claudiulodro d60456cc73 Resolve conflicts and bring up to date with master 2017-12-04 13:56:59 -08:00
Claudio Sanches 0f4f8a3f16
Merge branch 'master' into feature/webhook-crud 2017-12-04 12:37:10 -02:00
Mike Jolley 0a9485c465 Merge branch 'master' into feature/11259
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	includes/admin/list-tables/class-wc-admin-list-table-products.php
#	includes/class-wc-install.php
#	includes/wc-update-functions.php
2017-12-04 14:14:03 +00:00
Mike Jolley 050ba6642f
Merge pull request #17928 from woocommerce/fix/selectwoofocus
Fix some focus issues in selectWoo
2017-12-04 13:55:17 +00:00
Mike Jolley d8921de735 min 2017-12-04 13:45:52 +00:00
Mike Jolley 5d42a64b73 Merge branch 'master' into update/order-screen-refinements 2017-12-04 13:44:27 +00:00
Gerhard Potgieter 3ed021241f
Merge pull request #17862 from davefx/patch-6
Add filters to mark terms in product list
2017-12-04 10:39:53 +02:00
David Marín 7660767aa7
Adding $termlist and $terms as parameters for the new filter 2017-12-04 09:34:10 +01:00
Claudiu Lodromanean 1a2a332f54
Merge pull request #17939 from woocommerce/feature/17734
Apply Webhooks CRUD into REST API
2017-12-01 10:07:21 -08:00
Claudio Sanches 270c0a200e Merge branch 'master' into feature/webhook-crud 2017-11-30 16:55:28 -02:00
Jonathan Belcher 9983352d60 Account for user searching on featured tab 2017-11-29 14:50:38 -05:00
Jonathan Belcher 7296f69e54 Fix comments to follow standard 2017-11-29 13:03:22 -05:00
Jonathan Belcher 3d86535c6d Adds geo and install plugin control to extensions featured page 2017-11-29 12:41:08 -05:00
Jonathan Belcher 01ed1bea76 Remove testing code 2017-11-29 10:25:34 -05:00
Shiva Poudel 1bf1f84560 Fix - Bulk action in status logs table, Closes #17919 2017-11-29 14:49:49 +05:45
Jonathan Belcher 54e686c44e Change placeholder text in searchbar 2017-11-28 15:45:55 -05:00
Claudio Sanches 2f9a8e3f75 Set user_id by defaul while creating webhooks on admin screen 2017-11-28 18:03:55 -02:00
Claudio Sanches 88e4d021ab Fixed webhook pagination results 2017-11-28 15:27:31 -02:00
Claudio Sanches c6f8e95b97 Merge branch 'master' into feature/webhook-crud 2017-11-28 15:09:10 -02:00
claudiulodro 9d2b76da2b Fix some focus issues in selectWoo 2017-11-27 14:34:05 -08:00
Jonathan Belcher 2cd514ccb6 Clean up search bar spacing 2017-11-27 16:23:03 -05:00
Jonathan Belcher a549133a2e [WIP] Adds search functionality to extensions page 2017-11-27 16:11:55 -05:00
David Marín 12bc63d64f
Fix space before parenthesis 2017-11-23 20:01:41 +01:00
David Marín ab6528e844
Update class-wc-admin-list-table-products.php 2017-11-23 19:59:44 +01:00
David Marín e21631925a
Swapping filter parameters, to adapt to what @mikejolley proposed 2017-11-23 15:52:02 +01:00
David Marín 4210da0341
Using proposed filter name 2017-11-23 15:49:58 +01:00
Mike Jolley cd3d61bf98 Add back category filtering which somehow was removed 2017-11-23 14:26:12 +00:00
The Dramatist 8ac49d448b Unused parameter removed form get_filters method of WC_Helper class. (#17888) 2017-11-23 11:49:12 +00:00
David Marín 654a036f1a
Added third parameter with taxonomy to filter call 2017-11-23 12:43:37 +01:00
David Marín 50f3db7693
Changed filter so it receives the array instead of the final imploded string 2017-11-23 12:40:00 +01:00
Shiva Poudel a0215d85da Txn clickable (#17878)
* Make transactional link clickable

* Oops, fix in modal tmpl
2017-11-23 10:18:23 +00:00
David Marín 55972f4623
Changing the filter name to 'admin_term_links' 2017-11-23 09:33:55 +01:00
claudiulodro 5513dc4546 Update with master 2017-11-22 11:02:14 -08:00
Claudio Sanches 1034a4bd38
Merge pull request #17867 from woocommerce/update/17851
Use an action/option rather than cron to queue rule flushing
2017-11-22 16:11:47 -02:00
Mike Jolley 3773b81bc9 Merge branch 'master' into update/order-screen-refinements
# Conflicts:
#	includes/admin/meta-boxes/views/html-order-item.php
2017-11-22 16:32:34 +00:00
Mike Jolley f0cbaf08b1 Clickable transaction IDs 2017-11-22 16:31:27 +00:00
Mike Jolley 29fed057af Mobile styling 2017-11-22 16:28:11 +00:00
Mike Jolley b3e7260c95 Improve styling of order actions columns 2017-11-22 16:14:30 +00:00
David Marín d1274acd02
Changing filter so it applies to the full list 2017-11-22 14:01:34 +01:00
Mike Jolley 39e86db7a7 Use an action/option rather than cron to queue rule flushing
Closes #17851
2017-11-22 11:39:57 +00:00
Mike Jolley 2b1243ea04 Confirm navigation if nonce has expired in reports.
Closes #17850
2017-11-22 11:30:22 +00:00
David Marín 7d843b1802
Add filters to mark terms in product list
In order to add marks to some terms (category and tags) in the product list, I've added two new filters.
2017-11-22 10:47:51 +01:00
claudiulodro 99aefc91f3 Changes from feedback 2017-11-21 14:08:17 -08:00
The Dramatist 1783953f15 Admin metaboxes views translation escaping fix (#17776)
* Data escaped and validated. Plus translator comment documentation added.

* If it should be int then we should change the empty string default parameter to 0 as in 'if' condition checking 0 and empty string are same.

* Extra bracket removed.

* Indentation is fixed now.

* The taxonomy object should not be assigned to a variable before checking if this is a taxonomy or not.

* echo esc_attr__ replaced by esc_attr_e and visually tested.

* As I use WordPress VIP Coding Standard, they were marking them as warnings. But now it's fixed again.

* Escaping fix

* Extra Bracket Fix Again
2017-11-21 17:50:30 +00:00
Mike Jolley 98bebd14f2 Hooks for columns and preview list tables 2017-11-21 16:22:43 +00:00
Mike Jolley 1c12459367
Merge pull request #17827 from woocommerce/fix/missing-text-domain
Fixed missing text domain in setup wizard
2017-11-21 13:13:59 +00:00
Claudio Sanches f395fcd2e8 Fixed missing text domain in setup wizard 2017-11-20 22:08:23 -02:00
Mike Jolley 830ef8ed73 Change status action buttons 2017-11-20 22:43:37 +00:00
claudiulodro a73436bdcd Merge remote-tracking branch 'origin/master' into HEAD 2017-11-20 14:43:12 -08:00
Mike Jolley 698db6c131 When custom attributes are created, they are decoded. Make the values match.
When we create/link variations, the entities are decoded.

When the variation form is posted, the entities are encoded (esc_attr).
This decodes them so they match correctly. Fixes #17820
2017-11-20 20:51:32 +00:00
Mike Jolley 86a1f11dd3 Hide actions by default so users have full control over it. 2017-11-20 18:10:15 +00:00
Mike Jolley 79250f274e Switch order items placements 2017-11-20 17:24:00 +00:00
Mike Jolley 812e8928a1 Add methods back to billing/shipping columns 2017-11-20 17:06:08 +00:00
Mike Jolley d74d79471f Don't hide columns based on view width 2017-11-20 15:51:25 +00:00
Claudio Sanches 13978e496b
Merge branch 'master' into feature/webhook-crud 2017-11-20 10:34:35 -02:00
The Dramatist 67aced7d62 Unused variable removed and some comment added. (#17786) 2017-11-20 11:47:16 +00:00
Gerhard Potgieter 0360801994 Add deprecated param to deprecated functions, use wc_print_r instead of print_r, PHPCS fix 2017-11-20 08:11:10 +02:00
Michael Weichselgartner ff8326b20e
Fix method upload_dir in class WC_Admin_Post_Types
Fix undefined variable `$uploads` in method `upload_dir` from class `WC_Admin_Post_Types` by reverting back to `$pathdata` as reported in #17789
2017-11-18 20:06:45 +01:00
Mike Jolley 55433aa7a9
Merge pull request #17785 from shivapoudel/fix/visibility-featured
Correct escape for featured product checkbox
2017-11-18 18:29:30 +00:00
Mike Jolley a765367dd5
Merge pull request #17747 from woocommerce/feature/allow-add-content-to-order-preview
Introduce hooks to allow custom content into order preview
2017-11-18 18:26:08 +00:00
Michael Weichselgartner 7164a7e190
Update class-wc-admin-post-types.php 2017-11-18 18:16:18 +01:00
Shiva Poudel 1fbc4e77cc Tweak - Display featured product checkbox inline 2017-11-18 21:43:09 +05:45
Claudio Sanches 7c955591d7 Introduces _start and _end hooks into order preview template 2017-11-17 18:30:01 -02:00
Gerhard Potgieter c64a73274d Deprecate WC_Admin_Webhooks::logs_output not used in new crud webhooks 2017-11-17 14:46:09 +02:00
Mike Jolley e9ba9736fc
Merge pull request #17740 from woocommerce/fix/wizard-payment-escaping
Wizard: Fix escaping in payment description
2017-11-17 11:47:59 +00:00
Gerhard Potgieter 98a382174c Merge branch 'feature/webhook-crud' into feature/webhook-delivery-logging 2017-11-17 08:48:57 +02:00
claudiulodro 0eba98a4e7 Filter by stock status 2017-11-16 13:07:14 -08:00
Claudio Sanches 563896931e Introduced hooks to allow custom content into order preview 2017-11-16 18:48:47 -02:00
claudiulodro 0390cf3e26 Bring up-to-date with master 2017-11-16 10:06:07 -08:00
Valerie e9985146d5 Wizard: Fix escaping in payment description 2017-11-16 11:29:21 -05:00
claudiulodro dd0f748211 Fix invalid html 2017-11-16 08:01:59 -08:00
Mike Jolley 591806fd20
Merge pull request #17730 from JeroenSormani/profile-copy-button
Assign type='button' to 'Copy from billing address'
2017-11-16 14:43:46 +00:00
Claudio Sanches 94ae9678c8 Merge branch 'master' into feature/webhook-crud 2017-11-16 12:21:56 -02:00
Claudio Sanches 9fe0c7261e Merge branch 'master' into feature/webhook-crud 2017-11-16 12:20:22 -02:00
JeroenSormani 453862c02f Assign type='button' to 'Copy from billing address' 2017-11-16 14:46:05 +01:00
Boro Sitnikovski fe9b9658a5 Skip wp_kses_post call on image 2017-11-16 13:48:04 +01:00
Mike Jolley 541dde95b3
Merge pull request #17710 from woocommerce/fix/17697-coupon-spend-incl-taxes
Coupon min/max spend based on displayed subtotal
2017-11-16 10:59:43 +00:00
Gerhard Potgieter 3af77f13d8 Change tooltip to just say subtotal 2017-11-16 12:28:43 +02:00
claudiulodro 4ef2152881 Hide/set fields depending on whether managing stock 2017-11-15 14:10:06 -08:00
claudiulodro bb7f1b1273 Logic tweaks 2017-11-15 13:04:24 -08:00
Mike Jolley 56d86aee96 trashed styling 2017-11-15 13:41:20 +00:00
Mike Jolley 128b826791 Merge branch 'master' into tweak/order-screens
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	includes/admin/class-wc-admin-post-types.php
2017-11-15 13:36:13 +00:00
Mike Jolley dea454c88e Clickable elements 2017-11-15 12:51:14 +00:00
Gerhard Potgieter 3524ed2cf0 Merge branch 'master' of github.com:woocommerce/woocommerce into feature/webhook-delivery-logging 2017-11-15 14:28:14 +02:00
Mike Jolley da004f3229 fix edit link 2017-11-15 12:25:44 +00:00
Gerhard Potgieter 4521011219 Adjust discount on min/max spend to work based on the displayed subtotal. 2017-11-15 13:44:07 +02:00
Mike Jolley 8dcd7f5b59
Merge pull request #17696 from yratof/patch-1
Removed class within class for admin meta boxes
2017-11-15 10:02:19 +00:00
claudiulodro db117d6344 Backordered products should count as in stock 2017-11-14 14:54:11 -08:00
claudiulodro 3050959836 Variations stock status 2017-11-14 14:18:03 -08:00
claudiulodro dbf6db9373 Show backordered items in admin menu 2017-11-14 13:56:56 -08:00
Claudiu Lodromanean cc5c182f9d
Merge pull request #17679 from woocommerce/update/12517-download-reporting
Download reporting
2017-11-14 12:23:01 -08:00
Mike Jolley 992d6e3aed Dump old settings 2017-11-14 16:36:18 +00:00
Mike Jolley 79d918d33e Merge branch 'feature/unsupported-theme' into update/move-settings-to-customizer-17148
# Conflicts:
#	assets/css/admin-rtl.css
#	assets/css/admin.css
#	assets/css/woocommerce-rtl.css
#	assets/css/woocommerce.css
2017-11-14 16:02:02 +00:00
Mike Jolley bc16a85d22 Cropping settings 2017-11-14 16:01:36 +00:00
Andrew Lazarus ba52e583f9
Removed class within class
'<div class="class="wc-order-item-name"">` outputs `<div class="class=" wc-order-item-name="">`
2017-11-14 16:01:57 +01:00
Claudio Sanches f27120f649 Introduced product category filter threshold and load categories dropdown
Only use WooSelect when have more than 100 terms
2017-11-13 19:47:48 -02:00
Claudio Sanches 487c039b1c Fixed coding standards 2017-11-13 19:40:10 -02:00
Mike Jolley 04d8184496 More filter options 2017-11-13 19:03:08 +00:00
Mike Jolley 3621736400 PHPCS 2017-11-13 16:24:33 +00:00
Mike Jolley f1f30fc8de Fix download link 2017-11-13 16:10:32 +00:00
Mike Jolley eddd7fbfb4 Feedback 2017-11-13 15:58:22 +00:00
Mike Jolley 04d7ccfaa4 Show guest 2017-11-13 15:54:01 +00:00
Mike Jolley eedf745430 Wording and move report location 2017-11-13 15:36:22 +00:00
Mike Jolley 3e7968d37b Merge branch 'master' into pr/16418 2017-11-13 14:37:18 +00:00
Mike Jolley 4245855625 self_admin_url for multisite compatibility
Fixes #17665
2017-11-13 12:09:13 +00:00
Mike Jolley 5adb1edef5 Since options are hidden, remove notices for now - allow use. 2017-11-10 16:26:33 +00:00
Claudio Sanches 74d86cf105 Fixed how update at date displays 2017-11-10 12:37:49 -02:00
Claudio Sanches 30fe4f5ab3 Fixed how check for webhooks dates 2017-11-10 12:34:25 -02:00
Claudio Sanches f60b814dd4 Stop creating webhooks when hit the "Add webhook" button
Creates only after save edited webhook.
2017-11-10 11:33:53 -02:00
Claudio Sanches d0f191c363 Use table list search box and update form method to POST 2017-11-10 10:55:58 -02:00
Claudio Sanches fbf5117e05 Merge branch 'db-log-search' of https://github.com/seostudio/woocommerce into seostudio-db-log-search 2017-11-10 10:17:29 -02:00
Gerhard Potgieter b11ab6d8d6 Convert comments to wc_logger logging, remove and deprecate unused functions and introduce a wc_get_log_file_name helper function. Still a couple of todos left regarding deprecating or removing filters related to comments. 2017-11-10 12:20:59 +02:00
Gerhard Potgieter ea73b0851d Remove old webhook log views & deprecate accompanying functions 2017-11-10 08:54:29 +02:00
Claudio Sanches 22232f29c7 Fixed PHPCompatibility issues
Closes #17625
2017-11-09 16:36:29 -02:00
Mike Jolley d765e2319c Added theme support vars for grid settings
- product_grid
   - min_rows
   - max_rows
   - min_columns
   - max_columns

If settings violate these, they will be updated.

If loop_shop_columns is defined, settings are hidden with a notice.
2017-11-09 18:11:35 +00:00