Commit Graph

69 Commits

Author SHA1 Message Date
Mike Jolley 3a4ef0a1d8 Avoid getting all webhook ids 2019-02-18 13:19:12 +00:00
Claudio Sanches f765b47cbf Make easy to register new REST API versions into webhooks
Closes #21697
2018-10-29 19:31:47 -03:00
Claudio Sanches 1cf0c78beb Prevents "Your settings have been saved." notices on the table list 2018-07-04 16:04:47 -03:00
Claudio Sanches 2a0a826be1 Fixed form parameters for webhooks and keys admin forms
Fixes #20705
2018-07-04 15:30:08 -03:00
Roshan Sameer 384f54f951 Static call 2018-06-14 16:40:48 +05:45
Roshan Sameer 32b734a1c1 Implementation of current action check in list table 2018-06-11 15:05:13 +05:45
Roshan Sameer 72c8e3b9cc Fix - on webhook bulk action footer delete selection 2018-06-08 11:54:47 +05:45
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 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
Shiva Poudel ccc10083fe Save and use the per page screen option value in webhook 2018-02-06 01:22:09 +05:45
Shiva Poudel 8a35c8fc23 Fix - Incorrect action as it was filter hook 2018-02-06 01:15:47 +05:45
Claudio Sanches 2db8fdbf0b Removed legacy custom topic handler 2017-12-07 18:04:45 -02:00
Claudio Sanches a56018b967 Removed webhook custom topic input and included better error messages 2017-12-05 16:07:36 -02:00
Claudio Sanches 2f9a8e3f75 Set user_id by defaul while creating webhooks on admin screen 2017-11-28 18:03:55 -02: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
Gerhard Potgieter c64a73274d Deprecate WC_Admin_Webhooks::logs_output not used in new crud webhooks 2017-11-17 14:46:09 +02:00
Gerhard Potgieter 98a382174c Merge branch 'feature/webhook-crud' into feature/webhook-delivery-logging 2017-11-17 08:48:57 +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
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 f57ee1e792 Removed "trash" actions and included new "delete" actions 2017-11-09 12:07:44 -02:00
Claudio Sanches 77cb885403 Properly allow to POST data in table list without trigger save settings 2017-11-09 11:03:52 -02:00
Claudio Sanches eb63d91516 Fixed coding standards 2017-11-07 16:23:26 -02:00
Claudio Sanches bd68764682 Apply Webhook CRUD to WC_Admin_Webhooks 2017-10-10 17:15:37 -03:00
Rami Yushuvaev 17d10b3e9f i18n: Fix some translation strings (#16441)
* i18n: permissions -> permission

* i18n: permissions -> permission
2017-08-14 17:25:08 +01:00
Mike Jolley 42ebde73cd Fix is_webhook_settings_page 2017-06-16 13:58:28 +01:00
Mike Jolley b4ea8bb94f clean up comparison operators 2017-06-16 13:53:57 +01:00
Mike Jolley d3666738d8 Merge branch 'pr/15069' 2017-05-23 18:56:58 +01:00
Rasmus Bengtsson 185934fad9 Fix phpdoc to include params and correct types 2017-05-15 13:50:52 +02:00
Rasmus Bengtsson 6a7fc8650f Remove unused local variables 2017-05-15 12:06:52 +02:00
Mike Jolley 891e55e1cf Merge pull request #14721 from woocommerce/fix/14670
Avoid escaped quote chars in strings
2017-04-27 15:34:27 +01:00
Mike Jolley 3403e39740 Add icons and fix links 2017-04-27 12:23:16 +01:00
Mike Jolley bbffbd6a9f Merge branch 'master' into maybe_blank_keys_webhooks 2017-04-27 12:11:27 +01:00
Mike Jolley 801f5e1eb1 Avoid escaped quote chars in strings
Closes #14670
2017-04-26 13:51:53 +01:00
Claudio Sanches 4922e17876 Include missing REST API v2 from webhooks options. 2017-04-02 03:07:09 -03: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 a98c4b429f Fixed broke webhooks pagination label 2016-11-22 22:48:00 -02:00
Claudio Sanches 4d85905c0b Allow set webhook api version on admin 2016-11-22 21:58:36 -02:00
Rami Yushuvaev 9c9f165448 Fix travis error 2016-10-29 16:10:55 +03: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
Aristeides Stathopoulos fde1037757 fix failing tests. 2016-09-01 23:50:14 +03: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 66c61eebc8 Define full path for includes
Closes #11087
2016-07-27 11:58:43 +01:00
Claudio Sanches 53552f8028 Require create webhook secret in the REST API 2016-06-27 21:55:54 -03:00