aboutsummaryrefslogtreecommitdiff
path: root/src/nodetree_tree_sql.erl (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-11Update copyright year to 2022Badlop1-1/+1
2021-08-22PubSub: Add delete_old_pubsub_items commandHolger Weiss1-1/+30
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-02-04Use SQL ESCAPE statement only with MSSQL and SQLite, improve compatibility ↵Alexey Shchepin1-2/+2
with CockroachDB (#3074)
2020-01-28Update copyright to 2020 (#3149)Badlop1-1/+1
2019-10-24Limit result set of disco#items for mod_pubsubEvgeny Khramtsov1-17/+33
The size of a list of nodes returned for disco#items request is now controlled by option 'max_nodes_discoitems'. The default value is 100. The name and the default value of the option is chosen to be consistent with mod_muc's 'max_rooms_discoitems' option.
2019-07-16Fix typos using codespellEvgeny Khramtsov1-1/+1
2019-06-22Improve extraction of translated stringsEvgeny Khramtsov1-7/+8
Now every such string MUST be encapsulated into ?T() macro. The macro itself is defined in include/translate.hrl. Example: -module(foo). -export([bar/1]). -include("translate.hrl"). bar(Lang) -> translate:translate(Lang, ?T("baz")).
2019-06-14Use new configuration validatorEvgeny Khramtsov1-8/+7
2019-01-08Update copyright to 2019 (#2756)Badlop1-1/+1
2018-06-14Get rid of ejabberd.hrl headerEvgeniy Khramtsov1-7/+7
The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5
2018-01-05Update copyright datesEvgeniy Khramtsov1-1/+1
2017-11-16PubSub: Cleanup tree requests, rename pubsub_node.type->pubsub_node.pluginChristophe Romain1-41/+35
2017-11-13Implement parentnodes seek for hometree (#1921)Christophe Romain1-8/+19
2017-10-25Allow dynamic node options on sql backendsChristophe Romain1-1/+1
2017-04-11Rename aux.erl as misc.erl17.04Christophe Romain1-3/+3
Thanks Microsoft Windows to not support some filenames
2017-03-30Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov1-3/+3
Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated.
2017-01-02Update copyright date automatically (#1442)Badlop1-1/+1
2016-09-08Improve pubsub codeEvgeniy Khramtsov1-9/+9
2016-08-01Add missing comas in sql statement (#1219)Christophe Romain1-3/+3
2016-07-05Quote reserver 'type' keyword for pgsql to fix e300f80Christophe Romain1-2/+2
2016-07-05Fix use of like parameter in sql pubsub's requestsChristophe Romain1-14/+22
2016-06-02Stronger tests in the test suite, SQL updates and fixesAlexey Shchepin1-61/+60
2016-05-13Update SQL escapingAlexey Shchepin1-4/+4
2016-04-20Rename odbc to sql everywhereEvgeniy Khramtsov1-32/+32
2016-03-31Replace some ?ERR_* macros with ?ERRT_*Evgeniy Khramtsov1-11/+12
2016-01-13Update copyright to 2016 (#901)Badlop1-1/+1
2015-12-15Fix pubsub headersChristophe Romain1-22/+20
2015-11-24Move JID related functions to jid.erl (#847)Evgeniy Khramtsov1-1/+1
2015-07-22Let nodetree call default flat plugin nowChristophe Romain1-8/+8
this fix mistake from previous commit 311fedaa
2015-04-21PubSub improvementsChristophe Romain1-373/+216
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-27fix build of Parents list in #pubsub_nodeChristophe Romain1-1/+5
2013-06-24typo fix in specChristophe Romain1-1/+1
2013-06-24cosmetic changeChristophe Romain1-2/+2
2013-06-24minor improvements and binary fixChristophe Romain1-1/+1
2013-06-24remove need of extra _odbc in pubsub plugin nameChristophe Romain1-1/+3
2013-06-20fix pubsub issue on binary switchChristophe Romain1-9/+9
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-219/+314
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-11-06Fix EDoc errorsBadlop1-1/+1
SVN Revision: 2735
2009-10-20does not use slash as default separator in nodename (EJAB-667)Christophe Romain1-22/+37
SVN Revision: 2687
2009-08-31Fix Edoc errorsBadlop1-2/+2
SVN Revision: 2569
2009-08-27several improvements, and fix odbc subscriptions issuesChristophe Romain1-7/+5
SVN Revision: 2553