Mercurial > prosody-modules
annotate mod_server_contact_info/README.markdown @ 2670:6e01878103c0
mod_smacks: Ignore user when writing or reading session_cache on prosody 0.9
At least under some circumstances it seems that session.username is nil when
a user tries to resume his session in prosody 0.9.
The username is not relevant when no limiting is done (limiting the number of
entries in the session cache is only possible in prosody 0.10), so this
commit removes the usage of the username when accessing the prosody 0.9 session
cache.
author | tmolitor <thilo@eightysoft.de> |
---|---|
date | Thu, 06 Apr 2017 02:12:14 +0200 |
parents | d9c19ee16f2e |
children | 44e5adbb6ac0 |
rev | line source |
---|---|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
1 --- |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
2 labels: |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
3 - 'Stage-Beta' |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
4 summary: Contact Addresses for XMPP Services |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
5 --- |
1782 | 6 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
7 Introduction |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
8 ============ |
1782 | 9 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
10 This module lets you advertise various contact addresses for your XMPP |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
11 service via [XEP-0157]. |
1782 | 12 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
13 Configuration |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
14 ============= |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
15 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
16 Various types of contact addresses can be set via the single table |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
17 option `contact_info`. Each field is either a string or a list of |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
18 strings. Each string should be an URI. |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
19 |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
20 An example showing all possible fields: |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
21 |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
22 ``` {.lua} |
1820
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
23 contact_info = { |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
24 abuse = { "mailto:abuse@shakespeare.lit", "xmpp:abuse@shakespeare.lit" }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
25 admin = { "mailto:admin@shakespeare.lit", "xmpp:admin@shakespeare.lit" }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
26 feedback = { "http://shakespeare.lit/feedback.php", "mailto:feedback@shakespeare.lit", "xmpp:feedback@shakespeare.lit" }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
27 sales = "xmpp:bard@shakespeare.lit"; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
28 security = "xmpp:security@shakespeare.lit"; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
29 support = { "http://shakespeare.lit/support.php", "xmpp:support@shakespeare.lit" }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
30 }; |
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
31 ``` |
1782 | 32 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
33 If not set, the `admins` option will be used. |
1782 | 34 |
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
35 Compatibility |
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
36 ============= |
1782 | 37 |
2321
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
38 ------ --------------- |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
39 0.10 works |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
40 0.9 works |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
41 0.8 does not work |
d9c19ee16f2e
mod_server_contact_info/README: Update
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
42 ------ --------------- |