Software / code / prosody-modules
Annotate
mod_swedishchef/README.md @ 6193:e977174082ee
mod_invites_register_api: Use set_password() for password resets
Previously the code relied on the (weird) behaviour of create_user(), which
would update the password for a user account if it already existed. This has
several issues, and we plan to deprecate this behaviour of create_user().
The larger issue is that this route does not trigger the user-password-changed
event, which can be a security problem. For example, it did not disconnect
existing user sessions (this occurs in mod_c2s in response to the event).
Switching to set_password() is the right thing to do
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 06 Feb 2025 10:24:30 +0000 |
| parent | 6099:3a023f1d6c08 |
| 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: |
|
6099
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
3 - Stage-Beta |
|
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
4 summary: Silly little module to convert your conversations to "swedish" |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
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 |
|
6099
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
10 This module does some conversions on message bodys passed through it causing them to look like our beloved swedish chef had typed them. |
| 1782 | 11 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
12 Details |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
13 ======= |
| 1782 | 14 |
| 15 To load this on a MUC component do | |
| 16 | |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
17 Component "funconference.example.com" "muc" |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
18 modules_enabled = { "swedishchef" } |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
19 swedishchef_trigger = "!chef"; -- optional, converts only when the message starts with "!chef" |
| 1782 | 20 |
|
6099
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
21 This also works for whole servers, it is not recommended ;) |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
22 |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
23 Compatibility |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
24 ============= |
| 1782 | 25 |
|
6099
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
26 Prosody-Version Status |
|
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
27 --------------- -------------------- |
|
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
28 trunk Works as of 24-12-20 |
|
3a023f1d6c08
mod_swedishchef: update Comp of the most important module and mention whole server support as tested :-)
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
29 0.12 Works |
| 1782 | 30 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
31 Todo |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
32 ==== |
| 1782 | 33 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
34 - Possibly add xhtml-im (XEP-0071) support |