Commit Graph

13 Commits

Author SHA1 Message Date
Allen Snook de105648be Activity Panel: Inbox: Filter update and error notes out of the inbox (https://github.com/woocommerce/woocommerce-admin/pull/893)
* Filter update and error notes out of the inbox

* Remove redundant trim().

* Fix test for admin notes API type parameter.
2018-12-11 09:00:57 +08:00
Allen Snook 24c80427fc Fix a bug in the notes updater; better handle test case where
note expiration/expired date changes at woocommerce.com causing
an expired note to become an expiring note (corner case)
2018-11-07 07:21:23 -05:00
Allen Snook a46d83aea3 Rewrite the queries a bit to leverage prepare when possible 2018-10-19 15:48:38 -07:00
Allen Snook bb14dcd995 One argument per line in multi argument calls 2018-10-19 15:05:40 -07:00
Allen Snook 04b33f9e6b Hook up the remainder of the sales record message. There can only be one. 2018-10-19 14:45:03 -07:00
Allen Snook 2a94177f71 Fix per_page default handling, json encoding options, schema help 2018-10-16 12:49:01 -07:00
Allen Snook 054fbb4ee3 Accept page and per page params in REST query, return total count of notes in header 2018-10-16 12:49:01 -07:00
Allen Snook e5e175cfab Fix static visibility, textdomain and use of JSON_FORCE_OBJECT 2018-09-27 10:48:25 -07:00
Allen Snook cb7a5b3607 PHPCS all the things 2018-09-27 09:28:15 -07:00
Allen Snook 677c205ad2 Remove interface for this PR (actions will be hooked up later);
persist actions given during creation through to the db
2018-09-27 09:28:15 -07:00
Allen Snook a930293c43 Improve prop validation, especially date handling 2018-09-27 09:28:15 -07:00
Allen Snook 4d8dfea84c Break out separate note and notes classes for clarity 2018-09-27 09:28:14 -07:00
Allen Snook 45eeb57b62 Add CRUD and Data Stores for Admin Notes 2018-09-27 09:28:14 -07:00