Commit Graph

45 Commits

Author SHA1 Message Date
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Claudio Sanches 81dcd6e79e Fixed docblocks in REST API v1 for #14416 2017-04-18 13:40:10 -03:00
Akeda Bagus 0b416439c8
Fixed all typos of all files in includes/ directory.
Scanning and fixing were done automatically by codespell,
https://github.com/lucasdemarchi/codespell.
2017-03-29 00:58:51 +07:00
Claudio Sanches 8db3f3eaf0 Allow filter query parameter only in v1 2017-02-17 13:13:17 -02:00
Mike Jolley e930ccd16e object types to fix unit tests 2017-01-26 20:58:55 +00:00
Mike Jolley b727c61da7 Missing arg and setting types 2017-01-26 20:06:18 +00:00
Mike Jolley def35a5aa2 Cast request ids to int 2017-01-26 18:34:11 +00:00
Claudio Sanches f23a529329 [REST API] Throw messages when trying to manipulate variations in products endpoint 2016-11-08 13:55:33 -02:00
Claudio Sanches e1b914d227 Reverted changes that allowed manipulate variations on products endpoint (#12255) 2016-11-08 11:14:01 +00:00
Rami Yushuvaev 6cc301e58c add translators comments 2016-10-29 13:16:03 +03:00
Claudio Sanches 657c312cae Fix strings case (#12069)
* Fixed case for all _e, esc_attr_e and esc_html_e strings

* Fixed case for all _n_noop strings

* Fixed case for all _x strings

* Fixed case for all __, esc_html__ and esc_attr__ strings

* Fixed a few more strings

* Fixed strings in unit tests

* Fix PayPal Standard case.

* Save Order text
2016-10-12 11:16:30 +01:00
Justin Shreve c1d7111240 Implement separate variation endpoints for managing a product's variations. Also adds tests. 2016-09-29 14:44:14 -07:00
Justin Shreve fe7e26d68d Error fixes:
* Typos
* Consistent edit error handles
* Consistent error messages
2016-08-08 14:52:46 -07:00
Mike Jolley 4a8db96c91 [2.6][api] ID needs to be capitalized
Sorting won’t work with lowercase id

Fixes #11635

@claudiosmweb
2016-08-08 12:10:29 +01:00
Nicola Mustone 5613985882 Capitalise all the things 2016-07-26 15:47:04 +02:00
Mike Jolley 9b60e0543f Allow meta_key/value in rest api filter
@claudiosmweb Closes #11518
2016-07-25 13:12:39 +01:00
Claudio Sanches 8f62c322dd [REST API] Fixed check for product types, closes #11341 2016-07-04 17:24:39 -03:00
Claudio Sanches 57e041a58f [2.6] [REST API] Fix warnings when product is not hierarchical, closes #11192 2016-06-20 17:29:56 -03:00
Claudio Sanches 11534cf457 [2.6] [REST API] Allow fetch, edit and delete a single product variation 2016-06-20 15:49:43 -03:00
Claudio Sanches 171a4a732a [REST API] Removed dead variables in posts controller 2016-06-06 14:05:55 -03:00
Claudio Sanches 638d54425a [REST API] The only post type that have slugs are products 2016-05-30 17:42:42 -03:00
Claudio Sanches 2b1d4eced6 [REST API] Allow batch create, update and delete for almost all endpoints 2016-05-11 16:34:53 -03:00
Claudio Sanches 5091b36d41 Align variables 2016-03-31 16:34:16 -03:00
Claudio Sanches bf64942b28 Align variables 2016-03-31 16:14:18 -03:00
Claudio Sanches 8df7723895 Fixed permissions error messages 2016-03-31 16:03:59 -03:00
Claudio Sanches bb029747b7 Changed $namespace from public to protected in posts controller 2016-03-31 15:28:17 -03:00
Claudio Sanches bb7e5ecfb6 Allow filter products by taxonomies and sku 2016-03-30 20:05:12 -03:00
Claudio Sanches 5d99b8b336 Register dp filter for orders and allow filter orders by customer id 2016-03-30 19:11:56 -03:00
Claudio Sanches 82a6a5f18e Settings and reports permissions 2016-03-30 14:33:33 -03:00
Claudio Sanches 0fce9c5243 New product terms permissions 2016-03-30 14:17:40 -03:00
Claudio Sanches f4012b7f1f Reviewed post permissions 2016-03-30 11:17:16 -03:00
Claudio Sanches 5bf8c808fc Added methods to create and edit products 2016-03-29 21:22:10 -03:00
Claudio Sanches f53e582566 Include prepare_links() to abstract posts controller 2016-03-15 16:55:41 -03:00
Claudio Sanches 218390071c Improve posts controller 2016-03-15 16:45:46 -03:00
Claudio Sanches 349b817d1e Fixed typo 2016-03-07 15:45:10 -03:00
Claudio Sanches 9f07be5271 Make easy to extend our rest controllers 2016-03-07 15:36:17 -03:00
Claudio Sanches 0b0aa47421 Created methods to create and update customers 2016-03-02 19:14:03 -03:00
Claudio Sanches 8fe7935925 Fixed textdomains 2016-03-02 19:03:18 -03:00
Claudio Sanches c0affe96e0 Created API functions 2016-03-01 19:41:59 -03:00
Claudio Sanches 26c325acce Fixed __() functions 2016-03-01 17:53:25 -03:00
Claudio Sanches 53db5ff4c8 Created coupons POST and PUT endpoints and coupons schema 2016-02-26 17:24:33 -03:00
Claudio Sanches f10846277b Added method to delete coupons 2016-02-23 15:28:43 -03:00
Claudio Sanches 0d88e3c380 Added endpoint to get coupons 2016-02-23 12:16:21 -03:00
Claudio Sanches a31ef08ed7 Improved permissions check 2016-02-22 17:48:38 -03:00
Claudio Sanches 43a5f6f842 Created abstract classes for posts and terms 2016-02-22 16:43:52 -03:00