summaryrefslogtreecommitdiff
path: root/src/mod_pubsub.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not init nodes from mod_pubsub (#609)Christophe Romain2015-07-221-9/+0
| | | | | Let each plugin do its own initialisation in init_plugins init_nodes was an old function to be removed.
* Document a few more supported protocolsBadlop2015-06-221-0/+1
|
* Don't force persistence if cache enabled (fix previous commit)Christophe Romain2015-06-181-2/+2
|
* Fix max_items and don't let PEP depends on item cacheChristophe Romain2015-06-181-5/+5
|
* Add config validation at startupEvgeniy Khramtsov2015-06-011-2/+23
|
* Fix pubsub/odbc crash on remote user unsubscribe (EJAB-1483)Christophe Romain2015-05-261-31/+34
|
* Document protocol support (EJABS-1620)Badlop2015-05-211-1/+2
|
* Call integer_to_binary using jlib (#554)Christophe Romain2015-05-181-1/+1
|
* Fix validating function for iqdiscEvgeniy Khramtsov2015-04-231-1/+1
|
* Improve purge_offline filter and speed (#543)Christophe Romain2015-04-221-39/+54
|
* Add support for publish-only (#30)Christophe Romain2015-04-211-0/+3
|
* Fix typo, oups...Christophe Romain2015-04-211-2/+2
|
* remove deferred Collection shim headerChristophe Romain2015-04-211-7/+2
|
* Fixed node type (thanks to saczawap) (#435)Christophe Romain2015-04-211-15/+9
|
* PubSub improvementsChristophe Romain2015-04-211-4272/+3083
| | | | | | | | This commit contains - code cleanup - use of db_type instead of old mod_pubsub_odbc - some minor optimizations - some minor bugfixes
* Don't bother with filtering out PEP error messagesHolger Weiss2015-03-251-33/+1
| | | | | Now that ejabberd_sm won't deliver error messages that were sent to bare JIDs anymore, PEP error messages should no longer arrive.
* Merge pull request #384 from weiss/fix-last-item-typeChristophe Romain2015-02-271-24/+37
|\ | | | | Use correct message type when sending last published PEP/PubSub items
| * Use correct message type for last published itemsHolger Weiss2014-12-211-15/+24
| | | | | | | | | | When sending last published PubSub/PEP items, set the message type that was used for broadcasting those items originally.
| * Improve add_message_type/2 functionHolger Weiss2014-12-211-9/+13
| | | | | | | | | | | | Let add_message_type/2 accept the type as an atom, and let the function handle the 'normal' message type. This doesn't change the behavior, but avoids some code duplication.
* | Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-4/+4
|/
* Fix upgrade of PubSub mnesia tables from older ejabberd version.Jerome Sautret2014-12-181-56/+99
|
* Improve interface for adding timestampsHolger Weiss2014-12-071-11/+5
| | | | | | Provide a simpler interface for adding <delay/> and <x/> timestamps to stanzas. This also makes sure that only one <delay/> tag and one <x/> tag is added to a given stanza.
* Merge pull request #363 from weiss/drop-pep-errorsEvgeny Khramtsov2014-11-251-1/+33
|\ | | | | Don't route PEP error messages to clients
| * Don't route PEP error messages to clientsHolger Weiss2014-11-241-1/+33
| |
* | Don't duplicate last published PEP itemsHolger Weiss2014-11-181-2/+6
|/ | | | | | | When a contact becomes available, usually both the 'caps_update' hook and the 'presence_probe_hook' are called. For remote contacts, both hooks triggered PEP notifications, so each item was sent twice. Fix this by ignoring the 'presence_probe_hook' for remote contacts.
* Send last PEP items to remote subscribersHolger Weiss2014-11-141-8/+17
| | | | | | | | | | When a remote subscriber becomes available, send him the last published PEP items, as we do for local subscribers. However, the current implementation depends on a running ejabberd_c2s process of the publisher to send items to remote subscribers. So, for those, the behavior is always like it is for local subscribers when "ignore_pep_from_offline" is set to "true".
* Don't broadcast last published PEP itemsHolger Weiss2014-11-141-5/+6
| | | | | When a client becomes available, don't send the last published PEP items of all his peers to all his other peers, but only to that client.
* Move routing of last PEP items into new functionHolger Weiss2014-11-141-34/+25
| | | | This doesn't change the behavior, but avoids some code duplication.
* Fix migration of pubsub nodes. Was deleting and re-creating all nodes on ↵Nathan Bruning2014-08-031-2/+2
| | | | each startup.
* Fix configuraton with custom nodetree pluginNathan Bruning2014-07-151-1/+1
|
* Fix PEP broadcasting issue (EJAB-1680)Christophe Romain2014-05-061-11/+10
|
* remove compilation warningsChristophe Romain2014-05-051-3/+3
|
* avoid sending duplicated eventsChristophe Romain2014-05-051-16/+15
|
* avoid sending empty eventsChristophe Romain2014-05-051-3/+7
|
* store item when persist_item=false and cache_last_item=false but need last_itemChristophe Romain2014-05-051-4/+1
|
* Fix small bug in presence_based_delivery implementationNathan Bruning2014-05-051-1/+1
|
* Update copyright dates to 2014 (EJAB-1679)Badlop2014-03-131-4/+4
|
* add Pubsub data migration from mnesia to odbc (EJAB-1126)Badlop2013-11-141-0/+95
| | | | | | | | | | | | | By calling: ejd2odbc:export_pubsub("localhost","/tmp/aa.txt"). it will generate SQL files like these: /tmp/pubsub_item.txt /tmp/pubsub_node.txt /tmp/pubsub_state.txt Conflicts: src/ejabberd_admin.erl src/ejd2odbc.erl
* clean subscriptions handling and avoid function_clauseChristophe Romain2013-08-271-1/+2
|
* fix call to get_session_pid with binary argumentsChristophe Romain2013-08-271-1/+1
|
* fix invalid response on get_options when no options set (EJAB-1648)Christophe Romain2013-07-091-14/+21
|
* fix feature build on node disco#infoChristophe Romain2013-06-251-2/+2
|
* fix empty itemid on publish when passing AccessChristophe Romain2013-06-201-2/+2
|
* fix pubsub issue on binary switchChristophe Romain2013-06-201-2/+2
|
* Fix node auto-creationEvgeniy Khramtsov2013-06-181-1/+1
|
* fix auto-create issue due to bad binary matchingChristophe Romain2013-06-171-1/+1
|
* cosmetic changes, move badly placed commentsChristophe Romain2013-06-141-60/+27
|
* Switch to rebar build toolEvgeniy Khramtsov2013-06-131-0/+5403
Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite