Software /
code /
prosody-modules
Annotate
mod_cloud_notify_extensions/README.markdown @ 4832:bfd4af4caddc
mod_password_policy: Support for additional policies provided by other modules
E.g. check a password contains an uppercase character:
module:provides("password-policy", {
name = "contains_uppercase";
check_password = function (password, policy)
return (policy ~= true) or (not not password:match("%u"));
end;
})
Config:
password_policy = {
contains_uppercase = true;
}
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2021 14:48:46 +0000 |
parent | 4708:25fd5e268f90 |
child | 5059:5f1120c284c5 |
rev | line source |
---|---|
4705
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 --- |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 summary: "Tigase custom push extensions for iOS" |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 labels: |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 - 'Stage-Beta' |
4708
25fd5e268f90
mod_cloud_notify_extensions: Add depends metadata for plugin installer
Kim Alvefur <zash@zash.se>
parents:
4705
diff
changeset
|
5 rockspec: |
25fd5e268f90
mod_cloud_notify_extensions: Add depends metadata for plugin installer
Kim Alvefur <zash@zash.se>
parents:
4705
diff
changeset
|
6 dependencies: |
25fd5e268f90
mod_cloud_notify_extensions: Add depends metadata for plugin installer
Kim Alvefur <zash@zash.se>
parents:
4705
diff
changeset
|
7 - mod_cloud_notify_encrypted |
25fd5e268f90
mod_cloud_notify_extensions: Add depends metadata for plugin installer
Kim Alvefur <zash@zash.se>
parents:
4705
diff
changeset
|
8 - mod_cloud_notify_priority_tag |
25fd5e268f90
mod_cloud_notify_extensions: Add depends metadata for plugin installer
Kim Alvefur <zash@zash.se>
parents:
4705
diff
changeset
|
9 - mod_cloud_notify_filters |
4705
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
10 ... |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
11 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
12 Introduction |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
13 ============ |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
14 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
15 This is a meta-module that simply enables all the modules required to support |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
16 Siskin or Snikket iOS on a Prosody server. |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
17 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
18 These are currently: |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
19 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
20 - mod_cloud_notify_encrypted |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
21 - mod_cloud_notify_priority_tag |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
22 - mod_cloud_notify_filters |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
23 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
24 See the individual module pages for more details. |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
25 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
26 Note: On MUC services you should also load mod_muc_offline_delivery directly |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
27 under the MUC component in your config file, that is not handled by this |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
28 module. |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
29 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
30 Configuration |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
31 ============= |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
32 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
33 There is no configuration for this module, just add it to |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
34 modules\_enabled as normal. |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
35 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
36 Compatibility |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
37 ============= |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
38 |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
39 ----- ------- |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
40 0.11 Should work |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
41 ----- ------- |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
42 trunk Works |
ace4f251a64b
mod_cloud_notify_extensions: Convenience meta-module for Tigase push extensions
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
43 ----- ------- |