zulip/templates
Tim Abbott 399acea755 outgoing webhooks: Call finalize_payload on payloads.
Apparently, the refactor months ago that introduced finalize_payload
wasn't applied to the outgoing webhook code path, resulting in message
dicts with an unexpected format with no avatar_url and some extra
values that were intended to be internal details not relevant to
external clients.

Because this API is not widely used, we expect there to be little to
no impact of converting this back to matching the `get_messages`
interface, as it once was and has always been intended to be.

The one somewhat tricky detail is that we include both the `content`
and `rendered_content` fields, rather than asking the client to pick
which they want via the `apply_markdown` flag, because there is no
place for the client to configure that setting.
2019-11-05 12:26:33 -08:00
..
analytics templates: Use just one webpack entry point per page. 2019-10-28 15:53:15 -07:00
confirmation templates: Use just one webpack entry point per page. 2019-10-28 15:53:15 -07:00
corporate templates: Use just one webpack entry point per page. 2019-10-28 15:53:15 -07:00
tests webhooks/freshdesk/doc.md: Remove unescape_rendered_html kludge. 2019-07-03 15:05:45 -07:00
two_factor two_factor: Add templates for 2-factor-auth setup. 2018-05-02 15:20:49 -07:00
zerver outgoing webhooks: Call finalize_payload on payloads. 2019-11-05 12:26:33 -08:00
zilencer billing: Move billing related templates from zilencer to corporate. 2018-10-01 15:43:39 -07:00
.gitignore
404.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00
500.html Make 4xx and 5xx pages full screen. 2017-08-08 11:58:22 -07:00