summaryrefslogtreecommitdiff
path: root/src/mod_mam_mnesia.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* mod_mam: Don't store from 'sm_receive_packet' hookHolger Weiss2017-11-141-10/+5
| | | | | | | Let mod_mam use the 'sm_receive_packet' hook to generate stanza IDs for incoming messages, but not to actually store them. The latter would require additional changes to make sure modules such as mod_privacy and mod_block_strangers continue to affect MAM.
* Get next record before deleting previous on, in case it's last one (#2069)Badlop2017-10-251-2/+2
|
* Add stanza-id to every archived message (#1477)Evgeniy Khramtsov2017-01-201-5/+10
|
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Cleanup file headersChristophe Romain2016-12-271-6/+22
|
* Improve handling of mnesia schemaChristophe Romain2016-11-301-2/+2
|
* Make common tests working againEvgeniy Khramtsov2016-11-181-3/+5
|
* Deprecate jlib:integer_to_binary/1 and jlib:binary_to_integer/1Evgeniy Khramtsov2016-09-241-2/+2
|
* Make common tests working againEvgeniy Khramtsov2016-09-131-1/+7
|
* Rewrite mod_mam and mod_muc to use XML generatorEvgeniy Khramtsov2016-07-251-14/+14
|
* mod_mam_mnesia: Force garbage collectionHolger Weiss2016-06-291-6/+9
| | | | | | The VM fails to collect the garbage generated during MAM lookups automatically, so mod_mam_mnesia's memory usage easily goes up to several gigabytes if we don't force garbage collection.
* Avoid cleanup on bag when disc_only, switch in memory (#1161)Christophe Romain2016-06-211-1/+4
|
* mod_mam_mnesia: Clarify error messageHolger Weiss2016-05-241-1/+1
|
* mod_mam_mnesia: Don't exceed table size limitHolger Weiss2016-05-241-20/+31
| | | | | | Don't write MAM messages into an Mnesia archive if the size of the table comes close to the 2 GB limit for tables with disc-only copies. That way, the table is at least not corrupted when the limit is reached.
* mod_mam_mnesia: Use transactions when writingHolger Weiss2016-05-241-21/+44
| | | | | | | | | | Let mod_mam_mnesia use transactions when storing or deleting messages. If old messages of a user are to be removed, delete the user's archive and rewrite it from scratch, as that seems to be much faster than removing individual records with delete_object/1. Closes #1065.
* Clean mod_mam.erl from DB specific codeEvgeniy Khramtsov2016-04-151-0/+178