Commit Graph

13 Commits

Author SHA1 Message Date
Holger Weiss c9039a5ad2 Remove mod_mam_mnesia
Include a script and documentation for switching to the MAM module
shipped with ejabberd 15.06 and newer.
2016-03-08 00:14:25 +01:00
Holger Weiss c12e225e88 mod_mam_mnesia: Never store error messages
Don't store messages of type "error", even if it has a <store/> hint.
2015-09-02 20:45:04 +02:00
Holger Weiss 96adf84c6f mod_mam_mnesia: Check for <store/> hint
Respect the <store/> and <pretty-please-store/> hints.  Both tell the
server to store a message even if it would otherwise not be stored
(e.g., because it doesn't have a body).  These hints are not (yet) part
of XEP-0334, though.
2015-09-01 00:01:25 +02:00
Holger Weiss 69ec20b3b9 mod_mam_mnesia: Ignore whitespace within <value/>
Ignore the whitespace when a form field value is specified like this,
for example:

	<value>
	  juliet@example.com
	</value>
2015-08-19 21:45:35 +02:00
Holger Weiss 6316b0f097 mod_mam_mnesia: Also strip CDATA from <x/> element 2015-08-19 21:29:27 +02:00
Holger Weiss 26e45fa0b0 mod_mam_mnesia: Strip CDATA from form fields
Don't let mod_mam_mnesia stumble over additional whitespace when parsing
form fields.
2015-08-15 17:58:00 +02:00
Holger Weiss 941ed7c21a mod_mam_mnesia: Accept <encrypted/> messages
The <axolotl_message/> element has been renamed to <encrypted/>.
2015-08-07 00:15:07 +02:00
Holger Weiss 7cba0f88e8 mod_mam_mnesia: Also check for <no-store/> hint
Check for the <no-store/> and <no-permanent-store/> hints in addition to
<no-storage/> and <no-permanent-storage/>.  XEP-0334 (version 0.1)
mentions both variants, and unfortunately, both of them are in use.
2015-07-21 16:05:47 +02:00
Holger Weiss 1c79c86168 mod_mam_mnesia: Fix Axolotl message detection
The <axolotl_message/> element usually doesn't have CDATA content.
2015-07-20 21:39:44 +02:00
Holger Weiss 638019ec58 mod_mam_mnesia: Also store Axolotl messages 2015-07-20 12:50:33 +02:00
Holger Weiss 5363043402 Update mod_mam_mnesia to work with ejabberd 15.06 2015-06-25 21:17:17 +02:00
Holger Weiss 564691c7a6 mod_mam_mnesia: Remove TODO file
Future development efforts will focus on the mod_mam version shipped
with ejabberd.
2015-06-25 21:10:26 +02:00
Holger Weiss 932987447d Rename mod_mam to mod_mam_mnesia
Rename mod_mam so that users can continue to run it until we provide an
upgrade path to the mod_mam version shipped with ejabberd 15.06.
2015-06-25 21:08:56 +02:00