Software / code / prosody-modules
Annotate
mod_storage_memory/README.md @ 6199:fe8222112cf4
mod_conversejs: Serve base app at /
This makes things slightly less awkward for the browser to figure out which
URLs belong to a PWA. The app's "start URL" was previously without the '/' and
therefore was not considered within the scope of the PWA. Now the canonical
app URL will always have a '/'.
Prosody/mod_http should take care of redirecting existing links without the
trailing / to the new URL.
If you have an installation at https://prosody/conversejs then it is now at
https://prosody/conversejs/ (the first URL will now redirect to the second
URL if you use it).
The alternative would be to make the PWA scope include the parent, i.e.
the whole of https://prosody/ in this case. This might get messy if other
PWAs are provided by the same site or Prosody installation, however.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 11 Feb 2025 13:18:38 +0000 |
| parent | 6098:ad3c709a1b16 |
| 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: |
|
3667
f5d4e23fa8f7
mod_storage_memory: Also merged into core
Kim Alvefur <zash@zash.se>
parents:
1821
diff
changeset
|
3 - 'Stage-Merged' |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
4 - 'Type-Storage' |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
5 - ArchiveStorage |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
6 summary: 'Simple memory-only storage module' |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
7 ... |
| 1782 | 8 |
|
6098
ad3c709a1b16
mod_storage_memory: Cleanup old community version and add note to Readme for prosody integration.
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
9 |
|
ad3c709a1b16
mod_storage_memory: Cleanup old community version and add note to Readme for prosody integration.
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
10 ::: {.alert .alert-warning} |
|
ad3c709a1b16
mod_storage_memory: Cleanup old community version and add note to Readme for prosody integration.
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
11 This module has been merged into |
|
ad3c709a1b16
mod_storage_memory: Cleanup old community version and add note to Readme for prosody integration.
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
12 [prosodys storage backend as "memory"][doc:storage] and is therefore obsolete. |
|
ad3c709a1b16
mod_storage_memory: Cleanup old community version and add note to Readme for prosody integration.
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
13 You will be redirected shortly. |
|
ad3c709a1b16
mod_storage_memory: Cleanup old community version and add note to Readme for prosody integration.
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
14 ::: |
|
ad3c709a1b16
mod_storage_memory: Cleanup old community version and add note to Readme for prosody integration.
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
15 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
16 Introduction |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
17 ============ |
| 1782 | 18 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
19 This module acts as a normal storage module for Prosody, but saves all |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
20 data in memory only. All data is lost when the server stops. This makes |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
21 it useful for testing, or certain specialized applications. |
| 1782 | 22 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
23 Details |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
24 ======= |
| 1782 | 25 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
26 Because the accounts store will always begin empty, it is mostly useful |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
27 combined with an authentication plugin which doesn't use Prosody's |
| 1821 | 28 storage API, or with [mod\_auth\_any](mod_auth_any.html), or you can |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
29 create user accounts manually each time the server starts. |
| 1782 | 30 |
|
1803
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
31 Compatibility |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
32 ============= |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
33 |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
34 ----- ------- |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
35 0.9 Works |
|
4d73a1a6ba68
Convert all wiki pages to Markdown
Kim Alvefur <zash@zash.se>
parents:
1782
diff
changeset
|
36 ----- ------- |