aboutsummaryrefslogtreecommitdiff
path: root/src/node_pep_sql.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-10-31node_pep: Fix remove_expired_items/2 argument nameHolger Weiss1-2/+2
2021-10-30PubSub: Add delete_expired_pubsub_items commandHolger Weiss1-1/+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-1/+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-03-16Don't fail on PEP unsubscribeHolger Weiss1-1/+1
Don't crash if a PEP node is explicitly unsubscribed. This fixes a regression introduced by 45eb49125ba46cd692a9fb430c567c0c2cf4a84d. Thanks to Melvin Keskin for reporting the bug.
2021-01-27Update newest copyright year to 2021 (#3464)Badlop1-1/+1
2020-02-04Use SQL ESCAPE statement only with MSSQL and SQLite, improve compatibility ↵Alexey Shchepin1-4/+4
with CockroachDB (#3074)
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-1/+5
2019-06-14Use new configuration validatorEvgeny Khramtsov1-1/+0
2019-01-08Update copyright to 2019 (#2756)Badlop1-1/+1
2018-11-12Don't suppress notifications on PEP node removalHolger Weiss1-2/+1
Send node deletion notifications (as per XEP-0060, #8.4.2) also for PEP nodes.
2018-01-05Update copyright datesEvgeniy Khramtsov1-1/+1
2017-11-16PubSub: Cleanup tree requests, rename pubsub_node.type->pubsub_node.pluginChristophe Romain1-4/+4
2017-11-15Cleanup pubsub subscriptions quering, fix pep caseChristophe Romain1-67/+67
2017-08-01Fix PEP node removal (#1839)Christophe Romain1-1/+1
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-07-30Get rid of "jlib.hrl" dependency in some modulesEvgeniy Khramtsov1-1/+0
2016-07-06Make modules loading in a dependent order (#1191)Evgeniy Khramtsov1-20/+4
2016-06-02Stronger tests in the test suite, SQL updates and fixesAlexey Shchepin1-6/+6
2016-05-25Add support for PubSub publishing optionsHolger Weiss1-3/+4
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-05-13Update SQL escapingAlexey Shchepin1-6/+8
2016-04-20Rename odbc to sql everywhereEvgeniy Khramtsov1-49/+49
2016-01-13Update copyright to 2016 (#901)Badlop1-1/+1
2015-12-15Fix pubsub headersChristophe Romain1-23/+22
2015-11-24Move JID related functions to jid.erl (#847)Evgeniy Khramtsov1-5/+5
2015-10-07cosmetic cleanupChristophe Romain1-1/+2
2015-07-22Let flat be default plugin (#609)Christophe Romain1-40/+40
2015-04-21PubSub improvementsChristophe Romain1-348/+154
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-08-21Change configuration file format to YAMLEvgeniy Khramtsov1-1/+1
2013-07-09fix badmatch on remove_user on PEP nodes (EJAB-1649)Christophe Romain1-1/+1
2013-06-24fix missing binarization switch on pep nodesChristophe Romain1-4/+4
2013-06-24remove obsolete node attributeChristophe Romain1-1/+0
2013-06-24change default PEP config for simpler setup (EJAB-1494)Christophe Romain1-2/+2
2013-06-20fix pubsub issue on binary switchChristophe Romain1-2/+2
2013-06-13Switch to rebar build toolEvgeniy Khramtsov1-0/+1
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-174/+286
2013-01-24Update copyright datesAlexey Shchepin1-3/+3
2012-02-23Update copyright datesAlexey Shchepin1-3/+3
2011-08-25typo fix (thanks to Artem Sh)(EJAB-1424)Christophe Romain1-2/+2
2011-02-14update copyright up to 2011Christophe Romain1-3/+3
2010-03-05add pubsub#purge_offline (EJAB-1186) (thanks karim)Christophe Romain1-0/+1
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/+8
SVN Revision: 2687
2009-09-24fix EJAB-1044 and EJAB-1055Christophe Romain1-0/+1
SVN Revision: 2626
2009-09-23fix EJAB-819 thanks to badlopChristophe Romain1-1/+1
SVN Revision: 2615
2009-08-27fix pep not fetching subscriptionsChristophe Romain1-8/+8
SVN Revision: 2551
2009-08-07initial merge of pubsub odbc, compilation pass okChristophe Romain1-69/+107
SVN Revision: 2437