Wed, 01 Jan 2020 18:11:55 +0100 mod_rest: Add a JSON callback example
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 18:11:55 +0100] rev 3824
mod_rest: Add a JSON callback example
Wed, 01 Jan 2020 17:45:07 +0100 mod_rest: Fix previous commit
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 17:45:07 +0100] rev 3823
mod_rest: Fix previous commit Working with the stanza, not the JSON table
Wed, 01 Jan 2020 17:37:04 +0100 mod_rest: Guess 'get' as default type for 'iq' stanzas in JSON mapping
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 17:37:04 +0100] rev 3822
mod_rest: Guess 'get' as default type for 'iq' stanzas in JSON mapping
Wed, 01 Jan 2020 17:16:40 +0100 mod_rest: Stricter type checks in JSON mapping
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 17:16:40 +0100] rev 3821
mod_rest: Stricter type checks in JSON mapping
Wed, 01 Jan 2020 16:40:10 +0100 mod_rest: Default to replying with same type as request
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:40:10 +0100] rev 3820
mod_rest: Default to replying with same type as request If you send JSON then you get JSON back unless you say something different with the Accept header.
Wed, 01 Jan 2020 16:37:18 +0100 mod_rest: Short-circuit type selection if accept header
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:37:18 +0100] rev 3819
mod_rest: Short-circuit type selection if accept header
Wed, 01 Jan 2020 16:35:55 +0100 mod_rest: Fix return status when sending and forgetting
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:35:55 +0100] rev 3818
mod_rest: Fix return status when sending and forgetting Turns out module:send() doesn't return anything, so there's no way to know if it was routed successfully.
Wed, 01 Jan 2020 16:21:28 +0100 mod_rest: Add JSON support
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:21:28 +0100] rev 3817
mod_rest: Add JSON support
Wed, 01 Jan 2020 16:19:10 +0100 mod_rest: Factor out serialization of outgoing stanzas
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:19:10 +0100] rev 3816
mod_rest: Factor out serialization of outgoing stanzas More preparation for content negotiation
Wed, 01 Jan 2020 16:01:25 +0100 mod_rest: Factor out response content type selection
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 16:01:25 +0100] rev 3815
mod_rest: Factor out response content type selection Preparation for future addition of other encodings
Wed, 01 Jan 2020 15:43:47 +0100 mod_rest: Factor out payload parsing
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 15:43:47 +0100] rev 3814
mod_rest: Factor out payload parsing To make it easier to add new format parsers in a single place
Wed, 01 Jan 2020 12:08:25 +0100 mod_rest: Apply Python source formatting on example
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 12:08:25 +0100] rev 3813
mod_rest: Apply Python source formatting on example
Wed, 01 Jan 2020 12:06:46 +0100 mod_rest: Add an example Flask thing
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 12:06:46 +0100] rev 3812
mod_rest: Add an example Flask thing
Wed, 01 Jan 2020 10:59:24 +0100 mod_rest: Whitelist top level attributes in callback
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 10:59:24 +0100] rev 3811
mod_rest: Whitelist top level attributes in callback Already done in HTTP sending endpoint.
Wed, 01 Jan 2020 10:59:04 +0100 mod_rest: Ensure identical id attribute for error replies
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 10:59:04 +0100] rev 3810
mod_rest: Ensure identical id attribute for error replies
Wed, 01 Jan 2020 07:59:18 +0100 mod_rest: Validate stanza kind earlier
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 07:59:18 +0100] rev 3809
mod_rest: Validate stanza kind earlier
Wed, 01 Jan 2020 07:55:48 +0100 mod_rest: Use HTTP status 422 for stanza problems
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 07:55:48 +0100] rev 3808
mod_rest: Use HTTP status 422 for stanza problems Means the payload can't be processed for some reason other than syntax errors.
Wed, 01 Jan 2020 05:36:09 +0100 mod_rest: Log sent and received stanzas in style of mod_c2s etc
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 05:36:09 +0100] rev 3807
mod_rest: Log sent and received stanzas in style of mod_c2s etc
Tue, 31 Dec 2019 03:37:46 +0100 mod_rest: Add support for simple Bearer token auth
Kim Alvefur <zash@zash.se> [Tue, 31 Dec 2019 03:37:46 +0100] rev 3806
mod_rest: Add support for simple Bearer token auth Token specified in config
Mon, 30 Dec 2019 07:22:15 +0100 mod_rest: Verify that @xmlns is left empty
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 07:22:15 +0100] rev 3805
mod_rest: Verify that @xmlns is left empty Prosody needs it to be empty internally.
Mon, 30 Dec 2019 07:21:46 +0100 mod_rest: Add some text about the payload format
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 07:21:46 +0100] rev 3804
mod_rest: Add some text about the payload format
Mon, 30 Dec 2019 05:19:23 +0100 mod_rest: Allow collection of original stanza after sending HTTP request
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 05:19:23 +0100] rev 3803
mod_rest: Allow collection of original stanza after sending HTTP request Probably a premature optimization, but there should be no need to keep the full original stanza after this point.
Mon, 30 Dec 2019 05:18:52 +0100 mod_rest: Handle receipt requests on message stanzas
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 05:18:52 +0100] rev 3802
mod_rest: Handle receipt requests on message stanzas
Mon, 30 Dec 2019 05:17:18 +0100 mod_rest: Map various HTTP status codes to XMPP stanza errors
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 05:17:18 +0100] rev 3801
mod_rest: Map various HTTP status codes to XMPP stanza errors
Mon, 30 Dec 2019 05:14:49 +0100 mod_rest: Catch one (1) reply to a POST-ed stanza from an internal source
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 05:14:49 +0100] rev 3800
mod_rest: Catch one (1) reply to a POST-ed stanza from an internal source This will primarily cover error replies, and only those generated by the same Prosody instance using the `origin.reply()` method.
Mon, 30 Dec 2019 04:07:25 +0100 mod_rest: Allow specifying a webhook/callback to handle incoming stanzas
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 04:07:25 +0100] rev 3799
mod_rest: Allow specifying a webhook/callback to handle incoming stanzas
Mon, 30 Dec 2019 04:04:34 +0100 mod_rest: Initial commit of another RESTful API module
Kim Alvefur <zash@zash.se> [Mon, 30 Dec 2019 04:04:34 +0100] rev 3798
mod_rest: Initial commit of another RESTful API module
Wed, 01 Jan 2020 10:11:08 +0100 mod_pubsub_post: Fix use of 'id' field in JSON object as pubsub item id
Kim Alvefur <zash@zash.se> [Wed, 01 Jan 2020 10:11:08 +0100] rev 3797
mod_pubsub_post: Fix use of 'id' field in JSON object as pubsub item id `data` here is the source string, so there's no `id` field. Also only use the `id` field if it's a string.
Mon, 30 Dec 2019 22:44:12 +0100 mod_nodeinfo2: Only expose amount of accounts if nodeinfo2_expose_users isn’t set to false
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Mon, 30 Dec 2019 22:44:12 +0100] rev 3796
mod_nodeinfo2: Only expose amount of accounts if nodeinfo2_expose_users isn’t set to false
Mon, 30 Dec 2019 22:43:01 +0100 mod_nodeinfo2: Expose XMPP services
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> [Mon, 30 Dec 2019 22:43:01 +0100] rev 3795
mod_nodeinfo2: Expose XMPP services
(0) -3000 -1000 -300 -100 -50 -30 +30 +50 +100 +300 +1000 tip