aboutsummaryrefslogtreecommitdiff
path: root/src/node_flat.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* PubSub: Add delete_expired_pubsub_items commandHolger Weiss2021-10-301-1/+17
| | | | | | | 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.
* node_flat: Avoid catch-all clauses for RSMHolger Weiss2021-08-231-7/+4
| | | | Apply the change made in the previous commit to Mnesia storage as well.
* PubSub: Add delete_old_pubsub_items commandHolger Weiss2021-08-221-1/+12
| | | | | | | | 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.
* PubSub: Support unlimited number of itemsHolger Weiss2021-08-211-1/+2
| | | | | | | | Allow for setting the mod_pubsub option 'max_items_node' to 'unlimited'. If clients then request a 'max_items' limit of 'max', old items aren't deleted when publishing new ones. Thanks to Ammonit Measurement GmbH for sponsoring this work.
* Fix reverse order of items when using <before/> in Pubsub with RSM (#3621)Badlop2021-06-141-2/+2
|
* Return proper index when using after of before in PubSub with RSM (#3618)Badlop2021-06-081-10/+13
| | | | | | This fixes Index attribute in examples from: https://xmpp.org/extensions/xep-0059.html#forwards https://xmpp.org/extensions/xep-0059.html#backwards
* Fix index attribute when getting last page from PubSub with RSM (#3618)Badlop2021-06-081-1/+1
| | | | | This fixes Example 11 from "2.5 Requesting the Last Page in a Result Set": https://xmpp.org/extensions/xep-0059.html#last
* Support for simple limiting the number of items in PubSub with RSM (#3618)Badlop2021-06-081-0/+2
| | | | | This fixes crash in Example 1 from "2.1 Limiting the Number of Items": https://xmpp.org/extensions/xep-0059.html#limit
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* For pubsub items with max_item = 1 use order by in sql queriesPaweł Chmielowski2019-07-311-1/+4
|
* Improve handling of errors in pubsub codeEvgeny Khramtsov2019-07-291-17/+18
|
* Fix typos using codespellEvgeny Khramtsov2019-07-161-2/+2
|
* Replace code using p1_time_compat wrapper with native functionsPaweł Chmielowski2019-02-271-1/+1
| | | | | | | Since we now require R19, we shouldn't need that anymore. There are still couple places where p1_time_compat:unique_timestamp() is used as there is no direct equivalent.
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Correctly handle empty result with RSMEvgeniy Khramtsov2018-09-021-33/+39
| | | | Fixes #2588
* Find and fix typos using 'codespell'Evgeniy Khramtsov2018-01-271-11/+11
|
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Don't force rsm when max_items is not defined (#2189)Christophe Romain2017-12-281-8/+1
|
* Add pubsub#multi-items to features list (#2162)Christophe Romain2017-12-201-0/+1
|
* Support pubsub#publish-options PRECONDITIONsHolger Weiss2017-12-121-0/+1
| | | | | Support PubSub publishing options that are specified as PRECONDITIONs as per XEP-0060 v1.14.
* Cleanup pubsub subscriptions quering, fix pep caseChristophe Romain2017-11-151-11/+4
|
* Fix delete item from unregistered user (#2067)Christophe Romain2017-10-251-7/+16
|
* Add basic PubSub meta-data support (#1421)Christophe Romain2017-10-251-1/+0
|
* PubSub: add RSM support for mnesia backendChristophe Romain2017-09-271-3/+67
|
* PubSub: enforce controls on publish and deleteChristophe Romain2017-09-271-16/+19
|
* Unbind unused variableChristophe Romain2017-09-271-1/+1
|
* PubSub: fix get_items behaviour with mnesiaChristophe Romain2017-09-271-3/+4
|
* Refactor pubsub's get_last_itemsChristophe Romain2017-03-301-8/+22
|
* Avoid orphan_item leak on affiliation/subscription removal (#1563)Christophe Romain2017-02-231-1/+7
|
* Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|
* Enforce pubsub node removal, revert previous commit (#1320)Christophe Romain2016-12-091-4/+25
| | | | | This reverts commit 2976c2d921fcc4eb0c55abb54842351cc0adfb86. and enforce node purge/removal instead
* Enforce affiliation removal, remove corresponding items (#1320)Christophe Romain2016-12-091-15/+15
|
* Improve handling of mnesia schemaChristophe Romain2016-11-301-2/+2
|
* Minor cosmetic changes on pubsub codeChristophe Romain2016-11-151-1/+1
|
* Add xdata generator and make some code using itEvgeniy Khramtsov2016-10-071-1/+2
|
* PubSub: fix error type on item deletion with insufficient priviledgeChristophe Romain2016-09-301-5/+5
|
* Make common tests working againEvgeniy Khramtsov2016-09-131-1/+1
|
* Improve pubsub codeEvgeniy Khramtsov2016-09-081-37/+37
|
* Add support for PubSub publishing optionsHolger Weiss2016-05-251-2/+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>
* Set default value for pubsub#itemreply optionHolger Weiss2016-04-211-1/+2
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Don't read pubsub options when plugin does not use themChristophe Romain2015-12-161-1/+1
| | | | This also revert commit 6052f7b
* Fix pubsub headersChristophe Romain2015-12-151-20/+19
|
* Fix pubsub test errorPaweł Chmielowski2015-12-141-1/+1
|
* Disable use of multi-subscribe and subscription-option on standard pluginsChristophe Romain2015-12-111-15/+22
|
* Remove now() in pubsub codePaweł Chmielowski2015-12-071-1/+1
|
* Move JID related functions to jid.erl (#847)Evgeniy Khramtsov2015-11-241-29/+29
|