summaryrefslogtreecommitdiff
path: root/src/gen_pubsub_node.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-10-30PubSub: Add delete_expired_pubsub_items commandHolger Weiss1-0/+4
Support XEP-0060's pubsub#item_expire feature by adding a command for deleting expired PubSub items. Thanks to Ammonit Measurement GmbH for sponsoring this work.
2021-08-22PubSub: Add delete_old_pubsub_items commandHolger Weiss1-0/+5
Add a command for keeping only the specified number of items on each node and removing all older items. This might be especially useful if nodes may be configured to have no 'max_items' limit. Thanks to Ammonit Measurement GmbH for sponsoring this work.
2021-01-27Update newest copyright year to 2021 (#3464)Badlop1-1/+1
2020-09-03Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson1-1/+1
2020-01-28Update copyright to 2020 (#3149)Badlop1-1/+1
2019-07-31For pubsub items with max_item = 1 use order by in sql queriesPaweł Chmielowski1-0/+3
2019-07-29Improve handling of errors in pubsub codeEvgeny Khramtsov1-4/+4
2019-06-14Use new configuration validatorEvgeny Khramtsov1-1/+1
2019-01-08Update copyright to 2019 (#2756)Badlop1-1/+1
2018-01-05Update copyright datesEvgeniy Khramtsov1-1/+1
2017-03-30Refactor pubsub's get_last_itemsChristophe Romain1-0/+3
2017-02-18Fix some dialyzer warningsEvgeniy Khramtsov1-10/+10
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-09-08Rename #error{} record to #stanza_error{}Evgeniy Khramtsov1-1/+1
2016-08-30Rewrite mod_pubsub to use XML codecEvgeniy Khramtsov1-14/+7
2016-05-25Add support for PubSub publishing optionsHolger Weiss1-1/+3
Add code necessary to support publishing options as described in XEP-0060, #7.1.5. A node plugin that expects publishing options must add <<"publish-options">> to the features/0 list and then handle the publishing options handed over to the publish_item/7 call. Signed-off-by: Christian Ulrich <christian@rechenwerk.net>
2016-01-13Update copyright to 2016 (#901)Badlop1-1/+1
2015-12-15Fix pubsub headersChristophe Romain1-25/+20
2015-04-21PubSub improvementsChristophe Romain1-128/+85
This commit contains - code cleanup - use of db_type instead of old mod_pubsub_odbc - some minor optimizations - some minor bugfixes
2015-01-08Update copyright dates to 2015 (EJAB-1733)Badlop1-3/+3
2014-03-13Update copyright dates to 2014 (EJAB-1679)Badlop1-3/+3
2013-06-13Switch to rebar build toolEvgeniy Khramtsov1-0/+0
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
2013-03-14Accumulated patch to binarize and indent codeBadlop1-46/+237
2013-01-24Update copyright datesAlexey Shchepin1-3/+3
2012-02-23Update copyright datesAlexey Shchepin1-3/+3
2011-02-14update copyright up to 2011Christophe Romain1-3/+3
2010-01-12Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)Badlop1-3/+3
SVN Revision: 2891
2009-10-20does not use slash as default separator in nodename (EJAB-667)Christophe Romain1-1/+3
SVN Revision: 2687
2009-07-20Implement pubsub#get-pending Ad Hoc Command (EJAB-955) (thanks to Brian Cully)Christophe Romain1-0/+1
SVN Revision: 2372
2009-07-17Fix set-subscriptions to work with multi-subscribe (EJAB-977)Christophe Romain1-1/+1
SVN Revision: 2364
2009-05-29apply patch from EJAB-845Christophe Romain1-3/+3
SVN Revision: 2118
2009-05-07several pubsub fixes and improvements. also fixes EJAB-913 and EJAB-871Christophe Romain1-1/+1
SVN Revision: 2059
2009-04-30PubSub/PEP API change for major optimizationChristophe Romain1-20/+20
SVN Revision: 2048
2009-01-12* doc/guide.tex: Update copyright date 2008 to 2009 (EJAB-842)Badlop1-3/+3
* doc/guide.html: Likewise * src/*/*.erl: Likewise * src/*/*.erl: Remove unneeded blankspaces in license text SVN Revision: 1804
2008-09-25EJAB-739 and EJAB-751 improvementsChristophe Romain1-1/+1
SVN Revision: 1576
2008-07-31* doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)Badlop1-4/+4
* doc/guide.html: Likewise * doc/api/overview.edoc: Likewise * src/*/*.erl: Likewise * src/*/*.hrl: Likewise * src/*/*.c: Likewise * src/odbc/*.sql: Likewise SVN Revision: 1499
2008-07-03PubSub improvements, and solves (EJAB-453) (EJAB-608)Christophe Romain1-0/+2
SVN Revision: 1408
2008-02-06* src/mod_pubsub/gen_pubsub_node.erl: API improvement: Added a way to ↵Mickaël Rémond1-1/+2
generate custom item name * src/mod_pubsub/node_dispatch.erl: Likewise * src/mod_pubsub/node_buddy.erl: Likewise * src/mod_pubsub/node_private.erl: Likewise * src/mod_pubsub/node_club.erl: Likewise * src/mod_pubsub/node_public.erl: Likewise * src/mod_pubsub/node_default.erl: Likewise * src/mod_pubsub/node_pep.erl: Likewise * src/mod_pubsub/mod_pubsub.erl: Small API improvements and refactoring SVN Revision: 1173
2008-01-15* doc/guide.tex: Updated copyright dates to 2008Badlop1-3/+3
* src/*: Likewise SVN Revision: 1153
2007-12-24* Applied copyright patch 3.Mickaël Rémond1-2/+17
SVN Revision: 1113
2007-12-01* src/mod_caps.erl: CAPS support (thanks to Magnus Henoch)Alexey Shchepin1-0/+55
* src/ejabberd_local.erl: Support for IQ responses * src/jlib.erl: Added iq_query_or_response_info/1 function * src/jlib.hrl: Added NS_PUBSUB_ERRORS and NS_CAPS * src/mod_pubsub/Makefile.in: New pubsub+pep implementation (thanks to Christophe Romain and Magnus Henoch) * src/ejabberd_sm.erl: Added get_session_pid/3 function * src/ejabberd_c2s.erl: Added get_subscribed_and_online/1 function SVN Revision: 1004