Commit Graph

32 Commits

Author SHA1 Message Date
Claudio Sanches 7437289418 Check for permissions before allow edit REST API keys 2018-11-02 10:21:18 -07:00
Claudio Sanches b044e4c46d Fixed missing bulk action notices for REST API keys 2018-07-04 16:24:27 -03:00
Claudio Sanches 8f3af95004 Fixed revoke key bulk action 2018-07-04 16:09:04 -03:00
Claudio Sanches 44f081ac7e Prevents save notice in keys table list 2018-07-04 16:07:17 -03:00
Claudio Sanches 2a0a826be1 Fixed form parameters for webhooks and keys admin forms
Fixes #20705
2018-07-04 15:30:08 -03:00
Mike Jolley 1b34cd4745 Moved settings tabs around to allow for privacy page. 2018-04-12 16:59:42 +01:00
Rodrigo Primo 23b69eba53 Use phpcbf to fix coding standard violations in includes/admin
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Shiva Poudel e4bcc1d285 Rename the prefix for per page options 2018-02-23 10:03:56 +05:45
Shiva Poudel 3ea8629b6e Check admin referer instead of nonce, just like webhooks
CC @claudiosanches
2018-02-10 13:03:22 +05:45
Shiva Poudel 5e7b0e2925 Tweaks and PHPCS fixes 2018-02-10 12:23:33 +05:45
Shiva Poudel c35fb04455 Seperate the {create|edit}-key isset check, as it won't work 2018-02-10 10:07:06 +05:45
Shiva Poudel 5c991a6929 Load list tables before columns are rendered in screen option 2018-02-06 01:35:16 +05:45
Shiva Poudel 018da951ce Save and use the per page screen option value for API Keys 2018-02-06 01:30:12 +05:45
Mike Jolley 3403e39740 Add icons and fix links 2017-04-27 12:23:16 +01:00
corsonr c126ee9a99 Add maybe blank check for API keys & webhooks
For consistency purpose in the way we display empty data (like orders
or coupons), the maybe blank check replaces the default empty table by
a more friendly message explaining the purpose of API keys and webhooks.

Results:

![](http://cld.wthms.co/cEF9+)
2017-03-17 23:49:19 +01: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
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +03:00
Mike Jolley 045ef70143 literal check 2016-06-14 11:10:13 +01:00
Shiva Poudel d4ca34f8ac Prevent on empty section, as we want to check API keys settings page 2016-06-14 12:17:35 +05:45
Justin Shreve 608f651133 Fix hierarchy on settings screens. 2016-02-18 08:39:02 -08:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches efa19f799d Fixed some coding standards for docblocks 2015-11-03 10:28:01 -02:00
Claudio Sanches e0be5a2e9f Added truncated consumer key and last access fields in woocommerce_api_keys table 2015-07-16 15:42:00 -03:00
Claudio Sanches 89ddda9ff6 Added new api key generation methods 2015-06-08 19:41:35 -03:00
Claudio Sanches 3f45c874fe Created wc_api_hash() 2015-06-08 12:57:19 -03:00
Claudio Sanches 3697ad9de2 Improved the API keys entropy 2015-06-08 12:01:54 -03:00
Claudio Sanches db87add809 Updated the auth endpoint to works with the new woocommerce_api_keys database 2015-05-18 16:46:52 -03:00
Claudio Sanches 22bf7d5c81 Created bulk revoke keys 2015-05-18 16:12:47 -03:00
Claudio Sanches 772d45bd06 Added method to revoke api keys 2015-05-18 15:46:16 -03:00
Claudio Sanches 2f5df9c185 Added methods to generate and edit API keys 2015-05-18 15:23:05 -03:00
Claudio Sanches c49ab520b8 Created page to edit and create keys 2015-05-16 00:09:29 -03:00
Claudio Sanches 2689d8b51e Created api keys table list 2015-05-15 23:03:24 -03:00