summaryrefslogtreecommitdiff
path: root/src/mod_caps.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Send last PEP items to owner on initial presenceHolger Weiss2017-12-131-1/+3
| | | | Closes #2112.
* Use new API for IQ routingEvgeniy Khramtsov2017-11-101-24/+27
| | | | | Functions ejabberd_local:route_iq/2,3 are now depecated: ejabberd_router:route_iq/2,3,4 should be used instead.
* Deprecate misc:encode_base64/1 and misc:decode_base64/1Evgeniy Khramtsov2017-05-231-1/+1
|
* Implement cache for rosterEvgeniy Khramtsov2017-05-171-1/+3
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-10/+8
| | | | | | | | | | | | | | The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.
* Correct option validationEvgeniy Khramtsov2017-04-201-1/+3
|
* Use new cache API in mod_capsEvgeniy Khramtsov2017-04-201-54/+71
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-1/+1
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-1/+1
| | | | | 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.
* Fix PEP issues (#1636)Christophe Romain2017-03-271-3/+3
|
* Don't pass empty resource to jid:make()Evgeniy Khramtsov2017-02-251-1/+1
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+26
|
* Change routing APIEvgeniy Khramtsov2017-02-161-3/+3
| | | | | | | | | | | Now 'From' and 'To' arguments must be omitted in functions and structures related to routing. The commit deprecates the following functions: ejabberd_router:route/3 in favor of ejabberd_router:route/1 ejabberd_router:route_error/4 in favor of ejabberd_router:route_error/2 ejabberd_local:route_iq/4 in favor of ejabberd_local:route_iq/2 ejabberd_local:route_iq/5 in favor of ejabberd_local:route_iq/3 The format of {route, From, To, Packet} is changed in favor of {route, Packet}
* Attach modules to gen_mod's supervisorEvgeniy Khramtsov2017-02-141-15/+3
|
* Merge pull request #1539 from lemenkov/use_crypto_shaEvgeny Khramtsov2017-02-141-5/+5
|\ | | | | RFE: Use crypto:hash/2 function
| * Use crypto:hash/2 functionPeter Lemenkov2017-02-131-5/+5
| | | | | | | | | | | | | | | | | | | | Use crypto:hash/2 function instead of ones from p1_sha. This function exists since commit erlang/otp@208f9ad3828313f6c659a501d53f5534ec1bdf2e and also implemented as NIF, so I believe it's safe to use it. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
* | Improve modules start/stop proceduresEvgeniy Khramtsov2017-02-141-1/+1
|/
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-109/+59
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cyrsasl.erl src/ejabberd_c2s.erl src/ejabberd_cluster.erl src/ejabberd_frontend_socket.erl src/ejabberd_node_groups.erl src/ejabberd_router.erl src/mod_bosh.erl src/mod_ip_blacklist.erl src/mod_muc_mnesia.erl src/mod_offline.erl src/mod_proxy65_sm.erl
| * Adopt remaining code to support new hooksEvgeniy Khramtsov2017-01-091-34/+38
| |
| * Initial version of new XMPP stream behaviour (for review)Evgeniy Khramtsov2016-12-111-102/+48
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Improve ODBC importChristophe Romain2016-11-221-27/+4
|
* Add xdata generator and make some code using itEvgeniy Khramtsov2016-10-071-8/+5
|
* Deprecate jlib:integer_to_binary/1 and jlib:binary_to_integer/1Evgeniy Khramtsov2016-09-241-1/+1
|
* Rename #error{} record to #stanza_error{}Evgeniy Khramtsov2016-09-081-2/+2
|
* Rewrite mod_pubsub to use XML codecEvgeniy Khramtsov2016-08-301-2/+4
|
* Improve some type specsEvgeniy Khramtsov2016-08-091-9/+19
|
* Change code to reflect recent changes in fxml_genEvgeniy Khramtsov2016-08-051-12/+8
|
* Initial version based on XML generatorEvgeniy Khramtsov2016-07-181-186/+110
|
* Make modules loading in a dependent order (#1191)Evgeniy Khramtsov2016-07-061-1/+4
|
* Improve detection of databases supported by modules (#1092)Evgeniy Khramtsov2016-04-271-1/+1
|
* Rename odbc to sql everywhereEvgeniy Khramtsov2016-04-201-2/+2
|
* Clean mod_caps.erl from DB specific codeEvgeniy Khramtsov2016-04-131-123/+17
|
* Switch to Fast XML moduleMickael Remond2016-02-031-20/+20
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Fix bug in last commitPaweł Chmielowski2015-12-071-1/+1
|
* More now() removalPaweł Chmielowski2015-12-061-1/+1
|
* Move JID related functions to jid.erl (#847)Evgeniy Khramtsov2015-11-241-6/+6
|
* Trigger PEP notifications on CAPS updatesHolger Weiss2015-07-071-21/+18
| | | | | | Let mod_pubsub send last items whenever a contact updates the entity capabilities. This was already done for remote contacts and is now also done for local contacts.
* Add MAM (XEP-0313) supportEvgeniy Khramtsov2015-06-221-11/+13
|
* Add config validation at startupEvgeniy Khramtsov2015-06-011-2/+9
|
* Document protocol support (EJABS-1620)Badlop2015-05-211-0/+2
|
* Add new 'default_db' optionEvgeniy Khramtsov2015-03-301-1/+1
|
* Update FSF addressBadlop2015-02-251-4/+3
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|
* Don't broadcast last published PEP itemsHolger Weiss2014-11-141-1/+21
| | | | | When a client becomes available, don't send the last published PEP items of all his peers to all his other peers, but only to that client.
* Fix broken hooked functionsEvgeniy Khramtsov2014-07-151-12/+11
|
* Serialize records to proplists before storing then in RiakEvgeniy Khramtsov2014-07-141-4/+10
|
* Fix compile errors introduced by previous cherry picksEvgeniy Khramtsov2014-07-101-125/+153
|