Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-10Fix compilation errorEvgeniy Khramtsov
2016-07-09Use hooks instead of direct calls to mod_mamEvgeniy Khramtsov
2016-07-06Make modules loading in a dependent order (#1191)Evgeniy Khramtsov
2016-06-22Merge pull request #1120 from anagromataf/feature/archive-id-in-message-carbonsChristophe Romain
Send unique stanza id and archived tag also in the message carbons
2016-06-22Update supported xep versionChristophe Romain
2016-06-14mod_mam: Fix "assume_mam_usage: if_enabled"Holger Weiss
2016-05-15Send unique stanza id and archived tag also in the message carbonsTobias Kräntzer
- Change order of the hooks in mod_mam for sending and receiving packets. Messages are archived before a carbon copy is send to the other recourcces. - Add archived tag and unique stanza id to the outgoing packet to have message carbons with the archive information. - Add additional hook (in mod_mam) to strip the archive tag for outgoing packets after message carbons have been send.
2016-05-03Cosmetic change: Make variable names consistentHolger Weiß
Use the same variable names in both mod_mam:select/8 clauses to avoid confusion.
2016-04-30Fix typo in mod_mam:select() (#1098)Evgeniy Khramtsov
2016-04-27Improve detection of databases supported by modules (#1092)Evgeniy Khramtsov
2016-04-20Rename odbc to sql everywhereEvgeniy Khramtsov
2016-04-15Clean mod_mam.erl from DB specific codeEvgeniy Khramtsov
2016-03-31Replace some ?ERR_* macros with ?ERRT_*Evgeniy Khramtsov
2016-03-29Fix some LIMIT related problems with MSSQLEvgeniy Khramtsov
2016-02-11mod_mam: Send new preferences when they are setHolger Weiss
If a client updates the archiving preferences, include the new preferences with the IQ result (as mandated by XEP-0313).
2016-02-08Merge pull request #914 from weiss/mam-expose-jidEvgeny Khramtsov
Expose occupant JID in MUC MAM messages whenever possible
2016-02-08mod_mam: Don't let outcasts access MUC archiveHolger Weiss
XEP-0313 says: "A MUC archive MUST check that the user requesting the archive has the right to enter it at the time of the query [...]. In the case of open MUC rooms, the MUC archives can generally be accessed by any users [...] who do not have an affiliation of 'outcast'".
2016-02-03Switch to Fast XML moduleMickael Remond
2016-01-26Add a way to get all ejabberd_commands, not only those that was registeredPaweł Chmielowski
This is part of (TECH-1828).
2016-01-20mod_mam: Expose MUC occupant JID in more casesHolger Weiss
Include the occupant JID with MUC MAM messages if the room is not anonymous, and also when the MAM user sent the MUC message himself (not just in the case where he is a room moderator).
2016-01-19mod_mam: Strip existing JID tags from MUC messagesHolger Weiss
Strip any pre-existing <x/> tags which have an <item/> child with a 'jid' attribute from MUC MAM messages. This way, if such a tag exists, clients can be sure it was added by mod_mam.
2016-01-18mod_mam: Remove unused codeHolger Weiss
This mod_mam version doesn't store groupchat messages in user archives, and it also doesn't support the "store_body_only" option.
2016-01-15XEP-0198: Let MAM take care of pending messagesHolger Weiss
If a stream management session times out for a user who appears to be using MAM, drop any unacknowledged messages rather than resending or bouncing them. This avoids duplicates or bogus error messages. However, this is only done if the new mod_mam option "assume_mam_usage" is set to 'if_enabled' or 'on_request'. In the former case, a user is assumed to be using MAM if archiving is enabled for his account. In the latter case, MAM usage is assumed only if archiving was explicitly requested by the client, or if archiving was enabled by means of mod_mam's "request_activates_archiving" option.
2016-01-14mod_mam: Sort messages returned by MnesiaHolger Weiss
Sort the messages retrieved from an Mnesia archive before selecting the subset limited by the <max/> value. This makes sure the desired subset of messages is sent to the client.
2016-01-14mod_mam: Limit result set page sizeHolger Weiss
If the client doesn't specify a maximum number of messages to retrieve per page, set a limit of 50 messages. If the client specifies a limit larger than 250, cap the number to 250 messages. These limits aren't enforced for MAM v0.2 requests though, as that version of the XEP doesn't require clients to support RSM. The newer revisions say that "a server MAY place a reasonable limit on how many stanzas may be pushed to a client in one request. Whether or not the client query included a <set/> element, the server MAY simply return its limited results, modifying the <set/> element it returns appropriately."
2016-01-14mod_mam: Reject <index/>-based pagingHolger Weiss
If an <index/> is specified in the MAM request, reject the request rather than ignoring the desired index and returning wrong results. XEP-0059 says that the server "MAY return a <feature-not-implemented/> error."
2016-01-14mod_mam: Remove unused variableHolger Weiss
2016-01-14mod_mam: Check whether MUC message is desiredHolger Weiss
2016-01-14mod_mam: Support XEP-0313 v0.2 MUC archive queriesHolger Weiss
2016-01-14mod_mam: Respond to form requestsHolger Weiss
If the client requests a data form with the supported filters, return it as per XEP-0313 v0.3 and newer.
2016-01-14mod_mam: Add 'from' attribute to <delay/> tagHolger Weiss
2016-01-14mod_mam: Improve binary comparison of message UIDsHolger Weiss
Make sure the binary comparison performed when clients use message UIDs to page through Mnesia archives yields correct results even if the specified UIDs don't have the same number of digits as the UIDs of the stored messages. This way, MAM will continue to work as expected after migrating from mod_mam_mnesia to mod_mam.
2016-01-14mod_mam: Add "delete_old_mam_messages" commandHolger Weiss
The new "delete_old_mam_messages" command allows for purging all MAM messages of the specified type older than the specified number of days. (Currently only implemented for Mnesia archives.)
2016-01-13mod_mam: Add "request_activates_archiving" optionHolger Weiss
Enabling "request_activates_archiving" tells mod_mam not to store any messages for a user until his client issued a MAM request, regardless of mod_mam's "default" option. Once a MAM request is issued, messages are archived as usual.
2016-01-13Update copyright to 2016 (#901)Badlop
2016-01-13Fix MAM MUC for v0.4.1Evgeniy Khramtsov
2016-01-11Do not fail on incorrect data coming from SQL (898)Evgeniy Khramtsov
2015-12-29mod_mam: Use <stanza-id/> tags for deduplicationHolger Weiss
Use <stanza-id/> elements instead of <delay/> tags to check for messages resent by the stream management code. The <stanza-id/> element is preferable, as it is added by mod_mam itself.
2015-12-24Restrict access to MAM archives for members-only roomsEvgeniy Khramtsov
2015-12-22Revert "mod_mam: Keep 'to' attribute for MUC MAM messages"Holger Weiss
This reverts commit 0e330da2a631aad97ab634014c7a272a5c0a0b71. XEP-0313 says: "When sending out the archives to a requesting client, the 'to' of the forwarded stanza MUST be empty".
2015-12-16Advertise MAM in disco info for account/room JIDHolger Weiss
As per XEP-0313 version 0.2 and newer, advertise the MAM feature in the service discovery information for the bare account (or MUC room) JID. Some clients check the server's discovery information instead, so we'll continue to advertise the feature there as well.
2015-12-15Use MUC domain for 'by' attribute of <stanza-id/>Holger Weiss
Let mod_mam specify only the domain part of the room JID in the 'by' attribute of <stanza-id/> tags.
2015-12-15mod_mam: Keep 'to' attribute for MUC MAM messagesHolger Weiss
2015-12-10mod_mam: Don't store resent messagesHolger Weiss
Make sure messages that were resent by the stream management code aren't stored in MAM.
2015-12-10Document XEP-0334 supportHolger Weiss
2015-12-09Do not forget to include xmlns in mam prefs response (#859)Evgeniy Khramtsov
2015-12-09Fix problem with handling of old db entries in mod_mamPaweł Chmielowski
2015-12-09mod_mam: Update record field typeHolger Weiss
2015-12-09mod_mam: Remove unused codeHolger Weiss
2015-12-08mod_mam: Honor Message Processing Hints (XEP-0334)Holger Weiss