Software /
code /
prosody-modules
Annotate
mod_csi_grace_period/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 | 6007:9ca62b2cdeca |
child | 6211:750d64c47ec6 |
rev | line source |
---|---|
6007
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
1 --- |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
2 summary: Don't wake inactive clients, if annother is in use. |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
3 labels: |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
4 - 'Stage-Beta' |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
5 ... |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
6 |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
7 # Introduction |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
8 |
3507
5c37d759b1e2
mod_csi_grace_period: Server-side grace period logic for CSI
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 This module helps reduces power usage of inactive mobile clients while |
5c37d759b1e2
mod_csi_grace_period: Server-side grace period logic for CSI
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
10 another client is actively used. E.g. in the case of chatting on a |
5c37d759b1e2
mod_csi_grace_period: Server-side grace period logic for CSI
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
11 desktop computer, instantly pushing messages to a phone in someones |
5c37d759b1e2
mod_csi_grace_period: Server-side grace period logic for CSI
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 pocket is not the best use of radio time. |
5c37d759b1e2
mod_csi_grace_period: Server-side grace period logic for CSI
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
13 |
6007
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
14 # Compatibility |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
15 |
3507
5c37d759b1e2
mod_csi_grace_period: Server-side grace period logic for CSI
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
16 Works with [mod_csi_simple][doc:modules:mod_csi_simple] which is |
6007
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
17 included with Prosody. |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
18 |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
19 ------- -------------- |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
20 trunk* Works |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
21 0.12 Works |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
22 ------- -------------- |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
23 |
9ca62b2cdeca
mod_csi_grace_period: ADD README lables and Sections
Menel <menel@snikket.de>
parents:
6003
diff
changeset
|
24 *as of 2024-10-22 |