Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | PubSub: Add delete_expired_pubsub_items command | Holger Weiss | 2021-10-30 | 1 | -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 RSM | Holger Weiss | 2021-08-23 | 1 | -7/+4 |
| | | | | Apply the change made in the previous commit to Mnesia storage as well. | ||||
* | PubSub: Add delete_old_pubsub_items command | Holger Weiss | 2021-08-22 | 1 | -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 items | Holger Weiss | 2021-08-21 | 1 | -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) | Badlop | 2021-06-14 | 1 | -2/+2 |
| | |||||
* | Return proper index when using after of before in PubSub with RSM (#3618) | Badlop | 2021-06-08 | 1 | -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) | Badlop | 2021-06-08 | 1 | -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) | Badlop | 2021-06-08 | 1 | -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) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | For pubsub items with max_item = 1 use order by in sql queries | Paweł Chmielowski | 2019-07-31 | 1 | -1/+4 |
| | |||||
* | Improve handling of errors in pubsub code | Evgeny Khramtsov | 2019-07-29 | 1 | -17/+18 |
| | |||||
* | Fix typos using codespell | Evgeny Khramtsov | 2019-07-16 | 1 | -2/+2 |
| | |||||
* | Replace code using p1_time_compat wrapper with native functions | Paweł Chmielowski | 2019-02-27 | 1 | -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) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Correctly handle empty result with RSM | Evgeniy Khramtsov | 2018-09-02 | 1 | -33/+39 |
| | | | | Fixes #2588 | ||||
* | Find and fix typos using 'codespell' | Evgeniy Khramtsov | 2018-01-27 | 1 | -11/+11 |
| | |||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Don't force rsm when max_items is not defined (#2189) | Christophe Romain | 2017-12-28 | 1 | -8/+1 |
| | |||||
* | Add pubsub#multi-items to features list (#2162) | Christophe Romain | 2017-12-20 | 1 | -0/+1 |
| | |||||
* | Support pubsub#publish-options PRECONDITIONs | Holger Weiss | 2017-12-12 | 1 | -0/+1 |
| | | | | | Support PubSub publishing options that are specified as PRECONDITIONs as per XEP-0060 v1.14. | ||||
* | Cleanup pubsub subscriptions quering, fix pep case | Christophe Romain | 2017-11-15 | 1 | -11/+4 |
| | |||||
* | Fix delete item from unregistered user (#2067) | Christophe Romain | 2017-10-25 | 1 | -7/+16 |
| | |||||
* | Add basic PubSub meta-data support (#1421) | Christophe Romain | 2017-10-25 | 1 | -1/+0 |
| | |||||
* | PubSub: add RSM support for mnesia backend | Christophe Romain | 2017-09-27 | 1 | -3/+67 |
| | |||||
* | PubSub: enforce controls on publish and delete | Christophe Romain | 2017-09-27 | 1 | -16/+19 |
| | |||||
* | Unbind unused variable | Christophe Romain | 2017-09-27 | 1 | -1/+1 |
| | |||||
* | PubSub: fix get_items behaviour with mnesia | Christophe Romain | 2017-09-27 | 1 | -3/+4 |
| | |||||
* | Refactor pubsub's get_last_items | Christophe Romain | 2017-03-30 | 1 | -8/+22 |
| | |||||
* | Avoid orphan_item leak on affiliation/subscription removal (#1563) | Christophe Romain | 2017-02-23 | 1 | -1/+7 |
| | |||||
* | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Enforce pubsub node removal, revert previous commit (#1320) | Christophe Romain | 2016-12-09 | 1 | -4/+25 |
| | | | | | This reverts commit 2976c2d921fcc4eb0c55abb54842351cc0adfb86. and enforce node purge/removal instead | ||||
* | Enforce affiliation removal, remove corresponding items (#1320) | Christophe Romain | 2016-12-09 | 1 | -15/+15 |
| | |||||
* | Improve handling of mnesia schema | Christophe Romain | 2016-11-30 | 1 | -2/+2 |
| | |||||
* | Minor cosmetic changes on pubsub code | Christophe Romain | 2016-11-15 | 1 | -1/+1 |
| | |||||
* | Add xdata generator and make some code using it | Evgeniy Khramtsov | 2016-10-07 | 1 | -1/+2 |
| | |||||
* | PubSub: fix error type on item deletion with insufficient priviledge | Christophe Romain | 2016-09-30 | 1 | -5/+5 |
| | |||||
* | Make common tests working again | Evgeniy Khramtsov | 2016-09-13 | 1 | -1/+1 |
| | |||||
* | Improve pubsub code | Evgeniy Khramtsov | 2016-09-08 | 1 | -37/+37 |
| | |||||
* | Add support for PubSub publishing options | Holger Weiss | 2016-05-25 | 1 | -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 option | Holger Weiss | 2016-04-21 | 1 | -1/+2 |
| | |||||
* | Update copyright to 2016 (#901) | Badlop | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Don't read pubsub options when plugin does not use them | Christophe Romain | 2015-12-16 | 1 | -1/+1 |
| | | | | This also revert commit 6052f7b | ||||
* | Fix pubsub headers | Christophe Romain | 2015-12-15 | 1 | -20/+19 |
| | |||||
* | Fix pubsub test error | Paweł Chmielowski | 2015-12-14 | 1 | -1/+1 |
| | |||||
* | Disable use of multi-subscribe and subscription-option on standard plugins | Christophe Romain | 2015-12-11 | 1 | -15/+22 |
| | |||||
* | Remove now() in pubsub code | Paweł Chmielowski | 2015-12-07 | 1 | -1/+1 |
| | |||||
* | Move JID related functions to jid.erl (#847) | Evgeniy Khramtsov | 2015-11-24 | 1 | -29/+29 |
| |