zulip/zerver
Feorlen 676f0ad63f Add WordPress webhook.
Adds a new webhook integration for WordPress blogs. Both WordPress.com
and self-installed blogs are supported, with minor differences that
are described in the documentation. It creates a new message for each
action, the stream and topic may be specified or use default values.

WordPress actions supported:

publish_post:  a new blog post was published
publish_page:  a new page was published
user_register: a new user account was created
wp_login:      a user logged in

Notes: comment_post only provides the id of the parent post, not title
or link, so was not included. On further testing, I found edit_post is
not very practical, it also fires while a new post is being written, and
when posts are deleted. (I think it tracks drafts too.) I've removed it,
as it seems more confusing than useful.

Fixes #3245
2017-02-07 18:14:31 -08:00
..
fixtures Add WordPress webhook. 2017-02-07 18:14:31 -08:00
lib Add WordPress webhook. 2017-02-07 18:14:31 -08:00
management i18n: Fix compilemessages processing extra files in production. 2017-02-03 17:17:23 -08:00
migrations translations: Improve some poorly-worded strings. 2017-01-28 18:04:17 -08:00
templatetags minify: Clean up unnecessary tuple/list complexity. 2017-01-19 14:51:16 -08:00
tests Type annotate a variable to prevent future errors. 2017-02-06 22:34:01 -08:00
tornado lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
views DevAuthBackend: Improve the query for dev users. 2017-02-06 21:59:31 -08:00
webhooks Add WordPress webhook. 2017-02-07 18:14:31 -08:00
worker errors: Use hostname to report deployment. 2017-01-28 13:07:09 -08:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
context_processors.py lint: Clean up E241 PEP-8 rule. 2017-01-23 21:21:14 -08:00
decorator.py Fix unnecessary traceback in authenticated_rest_api_view. 2017-01-29 12:48:10 -08:00
exceptions.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
filters.py errors: Remove build_request_repr logic. 2017-01-29 14:18:22 -08:00
forms.py Rename models.get_realm_by_string_id to get_realm. 2017-01-04 17:12:23 -08:00
logging_handlers.py lint: fix PEP8 issue with logging_handlers.py. 2017-02-07 13:22:01 -08:00
middleware.py middleware: Fix recursive DisallowedHost exceptions. 2017-01-29 20:26:58 -08:00
models.py streams: Consider stream name validation logic. 2017-01-29 22:07:14 -08:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py storage: Fix static files storage reuse issues. 2017-02-06 16:10:24 -08:00