annotate mod_readonly/README.markdown @ 4065:92152437ecfe

mod_muc_markers: replace configurable multi-marker tracking with better system Now tracks a single marker, but automatically applies rules from the XEP about "higher" markers implying "lower" markers - i.e. "displayed" implies "received". Still, just a single marker is tracked and synthesized at all times (the one configured with muc_marker_name).
author Matthew Wild <mwild1@gmail.com>
date Tue, 07 Jul 2020 17:08:08 +0100
parents ce5d1fa69ba3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3437
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 This module blocks configured queries that change server state.
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 E.g. to make vCard storage read-only:
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 ``` lua
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 readonly_stores = {
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 vcard = { "vcard-temp", "vCard" };
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 }
ce5d1fa69ba3 mod_readonly: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 ```