Commit Graph

9736 Commits

Author SHA1 Message Date
Mike Jolley 91149c4ac3 Backwards ship-to-different-address logic on checkout.
When you choose the option to ship to billing only, the second
condition would make the checkout try to set shipping address to
non-existent fields. cc @claudiosmweb
2014-09-01 10:54:16 +01:00
Max Rice 38dd928f23 [#3176] REST API webhooks endpoint tweaks from unit test 2014-09-01 03:27:19 -04:00
Max Rice 4cffe3182f [#3176] Add readme 2014-09-01 03:26:26 -04:00
Max Rice 9730201e08 [#3176] Add woocommerce class tests 2014-09-01 02:59:35 -04:00
Max Rice 93485e0891 [#3176] Add core function tests 2014-09-01 02:59:23 -04:00
Max Rice 17a1918991 [#3176] Add webhooks REST API endpoint tests
100% coverage :)
2014-09-01 02:04:49 -04:00
Max Rice 27f378bf4e [#3176] Add unit test framework 2014-09-01 02:04:02 -04:00
Max Rice 71def57a7d [#3176] Add unit test boostrap 2014-09-01 02:03:52 -04:00
Max Rice cf50957629 [#3176] Clean up gitignore 2014-09-01 02:00:12 -04:00
Tamara Zuk a0ce139f7d Coding Standards: Admin - Settings
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Tamara Zuk 0ab6b44bfa Coding Standards: Admin - Reports
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:19:13 -04:00
Tamara Zuk fc0e7adacb Coding Standards: Admin - Meta boxes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:18:21 -04:00
Tamara Zuk ce037af961 Coding Standards: Admin - Importers
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 03:17:58 -04:00
Tamara Zuk 0db4ab0f83 Coding Standards: Admin JS
Fixed spacing as per
http://make.wordpress.org/core/handbook/coding-standards/javascript/
2014-08-31 02:25:22 -04:00
Tamara Zuk e7dd92f369 Coding Standards: Less files
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
2014-08-31 01:51:21 -04:00
Tamara Zuk 9c7826319c Coding Standards: Abstract classes
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:49:58 -04:00
Tamara Zuk 59424e5fcf Coding Standards: Main plugin file
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 01:41:40 -04:00
Max Rice 456d10bcec REST API: allow coupon description in create/edit coupon 2014-08-30 18:43:47 -04:00
Max Rice 53b53114a7 REST API: Fix edit coupon typos 2014-08-30 18:43:26 -04:00
Max Rice 28536f6bd8 REST API: allow adding/updating order meta
When creating or updating orders, non-protected scalar meta can now be
set.
2014-08-30 16:17:52 -04:00
Max Rice ee8bf5bf18 REST API: tweak filter name from #6084 2014-08-30 16:16:51 -04:00
Max Rice 744c3767c3 REST API: ensure consistency in create/edit data formats
A client should be able to GET a resource, edit a single item and PUT
it back to the server without having to perform any additional
transformation. This commit ensures all PUT/POST endpoints adhere to
this standard.
2014-08-30 15:50:40 -04:00
Max Rice e1a542498d Fix notice introduced in #6084 2014-08-30 15:14:59 -04:00
Max Rice 722f888453 REST API: Add field restriction to new endpoints 2014-08-30 15:05:36 -04:00
Max Rice ec0f92878e REST API: Add order statuses endpoint 2014-08-30 15:05:31 -04:00
Max Rice f87ccd364c REST API: Mitigate possible JSONP flash attacks
see http://miki.it/blog/2014/7/8/abusing-jsonp-with-rosetta-flash/
2014-08-30 15:05:25 -04:00
Max Rice b1b7d6257b REST API: Fix JSONP content-type 2014-08-30 15:05:12 -04:00
Shiva Poudel 7ddedad4a7 Time Constant HOUR_IN_SECONDS
_wc_activation_redirect transient have HOUR_IN_SECONDS instead `60*60`.
2014-08-31 00:38:48 +05:45
Max Rice 5b68ec6c80 Backport get_avatar_url() fix to v1 REST API 2014-08-30 13:38:45 -04:00
shivapoudel 77cbf46fdf It's not necessary to include deploy folder for checktextdomain task 2014-08-30 02:57:06 +05:45
shivapoudel 85e67b93a6 Updated Grunfile.js Comments for better understanding 2014-08-30 02:49:13 +05:45
shivapoudel af680f10c2 Updated POT files 2014-08-30 00:54:14 +05:45
shivapoudel 513cd24751 Filter hook is not necessary for plugin_action_links 2014-08-30 00:50:09 +05:45
shivapoudel c6c7353d4a Filter hook is not necessary for plugin_row_meta 2014-08-30 00:49:25 +05:45
shivapoudel a3107a03a9 Reverted Documentation to Docs 2014-08-30 00:47:00 +05:45
shivapoudel 2a49bb381a Finally, finished of action-links by updating POT files 2014-08-30 00:39:35 +05:45
shivapoudel e9877726a1 Documentation will be better than Short Docs 2014-08-30 00:33:00 +05:45
shivapoudel 390e178962 Added API Docs too 2014-08-30 00:27:36 +05:45
shivapoudel 775ef9d572 Again have to update POT by excluding deploy folder..huhu 2014-08-30 00:02:15 +05:45
shivapoudel 38bf1be97a Exclude deploy folder in Gruntfile Important plz... 2014-08-29 23:59:15 +05:45
shivapoudel f7fc3d810a Updated POT files..hurray 2014-08-29 23:50:13 +05:45
shivapoudel d965f797c2 Fixed the missing comma :) 2014-08-29 23:46:31 +05:45
shivapoudel 40d66b2f57 Added Docs and Support URL in plugin_row_meta which was removed from plugin_action_links 2014-08-29 23:39:17 +05:45
shivapoudel ec64534cb7 Removed docs and support Url from plugin_action_links so that we can add it in plugin_row_meta 2014-08-29 23:28:06 +05:45
shivapoudel a5fdf5aa76 Moved the action_links from final class to WC_INSTALL class 2014-08-29 23:19:01 +05:45
shivapoudel 677f91d1ab Added some useful comments on Class Constructor Method 2014-08-29 23:13:23 +05:45
shivapoudel 5151e15da0 WC_PLUGIN_BASENAME Constant define 2014-08-29 23:11:39 +05:45
Mike Jolley 47b9e54797 Hide export csv button when browser lacks support
Closes #6122
2014-08-29 11:29:11 +01:00
Mike Jolley a1b78ec918 Add second orderby parameter when sorting by price (ID)
Fixes #6121
2014-08-29 10:26:21 +01:00
Mike Jolley 01b5f5afec Sanitize taxonomy names Closes #6124 2014-08-29 10:18:36 +01:00