annotate mod_csi_simple_compat/README.markdown @ 4260:c539334dd01a

mod_http_oauth2: Rescope oauth client config into users' storage This produces client_id of the form owner@host/random and prevents clients from being deleted by registering an account with the same name and then deleting the account, as well as having the client automatically be deleted when the owner account is removed. On one hand, this leaks the bare JID of the creator to users. On the other hand, it makes it obvious who made the oauth application. This module is experimental and only for developers, so this can be changed if a better method comes up.
author Kim Alvefur <zash@zash.se>
date Sat, 21 Nov 2020 23:55:10 +0100
parents fcea7cf91702
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4006
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 # About
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 This module allows using the [mod_csi_simple][doc:modules:mod_csi_simple]
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 setting `csi_important_payloads` (added in trunk/0.12) in Prosody 0.11.x.
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 # Config
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 ```
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 modules_enabled = {
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 -- other modules etc
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
11 "csi_simple",
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
12 "csi_simple_compat",
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
13 }
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
14
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
15 csi_important_payloads = {
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
16 -- Anything in this namespace:
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
17 "{urn:example:important-namespace}",
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
18 -- Specific element name and namespace:
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
19 "{urn:example:xmpp:priority}super-important",
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
20 }
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
21 ```
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
22
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
23 # Example
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
24
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
25 ``` lua
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
26 csi_important_payloads = {
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
27 -- XEP-0353: Jingle Message Initiation
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
28 "{urn:xmpp:jingle-message:0}",
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
29 }
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
30 ```
fcea7cf91702 mod_csi_simple_compat: Module for Prosody 0.11 that adds a setting available from Prosody 0.12
Kim Alvefur <zash@zash.se>
parents:
diff changeset
31