summaryrefslogtreecommitdiff
path: root/src/ejabberd_service.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Get rid of ejabberd receiverEvgeniy Khramtsov2017-12-261-13/+10
| | | | | | | | | | | | ejabberd receivers were meant to serve connections from frontends to backends. However, this approach was not popular and frontend related code was removed in previous releases. Now, ejabberd receiver's code was also removed, making the code shorter and cleaner. Also, in stress tests ejabberd now handles load more robustly, without c2s processes overload (even with disabled shapers). ejabberd_socket.erl is renamed to xmpp_socket.erl: it's supposed to be finally moved into stand-alone xmpp library.
* Reuse some translation stringsEvgeniy Khramtsov2017-09-241-1/+1
|
* Ciphers should be a binary stringEvgeniy Khramtsov2017-05-171-1/+1
|
* Introduce Certficate ManagerEvgeniy Khramtsov2017-05-121-1/+5
| | | | | | | | | | | | | | | | | | | | The major goal is to simplify certificate management in ejabberd. Currently it requires some effort from a user to configure certficates, especially in the situation where a lot of virtual domains are hosted. The task is splitted in several sub-tasks: * Implement basic certificate validator. The validator should check all configured certificates for existence, validity, duration and so on. The validator should not perform any actions in the case of errors except logging an error message. This is actually implemented by this commit. * All certificates should be configured inside a single section (something like 'certfiles') where ejabberd should parse them, check the full-chain, find the corresponding private keys and, if needed, resort chains and split the certficates into separate files for easy to use by fast_tls. * Options like 'domain_certfile', 'c2s_certfile' or 's2s_certfile' should probably be deprecated, since the process of matching certificates with the corresponding virtual hosts should be done automatically and these options only introduce configuration errors without any meaningful purpose.
* Check presence of some files during option validationEvgeniy Khramtsov2017-05-121-4/+4
|
* Don't call gen_mod:get_opt() outside of modulesEvgeniy Khramtsov2017-05-081-5/+5
|
* Add type specs for Module:opt_type/1Evgeniy Khramtsov2017-05-081-5/+18
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-30/+52
| | | | | | | | | | | | | | 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.
* Improve ejabberd_c2s:close()Evgeniy Khramtsov2017-04-151-1/+11
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-3/+3
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-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.
* Get rid of p1_sha callsAlexey Shchepin2017-03-141-2/+2
|
* Change routing APIEvgeniy Khramtsov2017-02-161-7/+5
| | | | | | | | | | | 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 IP metadata to every stanza received from streamEvgeniy Khramtsov2017-02-141-1/+3
|
* Add TLS support for external componentsEvgeniy Khramtsov2017-02-061-1/+22
|
* Make test suite working againEvgeniy Khramtsov2017-01-231-11/+14
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-289/+140
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+9
| |
| * More refactoring on session managementEvgeniy Khramtsov2016-12-301-1/+1
| |
| * Add xmpp_stream_out behaviour and rewrite s2s/SM codeEvgeniy Khramtsov2016-12-281-83/+83
| |
| * Rewrite ejabberd_service to use new XMPP stream APIEvgeniy Khramtsov2016-12-111-275/+123
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Uncomment forgotten block of codeEvgeniy Khramtsov2016-11-121-31/+22
|
* Merge branch 'master' into xml-ngEvgeniy Khramtsov2016-11-121-42/+52
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/adhoc.erl src/cyrsasl_oauth.erl src/ejabberd_c2s.erl src/ejabberd_config.erl src/ejabberd_service.erl src/gen_mod.erl src/mod_admin_extra.erl src/mod_announce.erl src/mod_carboncopy.erl src/mod_client_state.erl src/mod_configure.erl src/mod_echo.erl src/mod_mam.erl src/mod_muc.erl src/mod_muc_room.erl src/mod_offline.erl src/mod_pubsub.erl src/mod_stats.erl src/node_flat_sql.erl src/randoms.erl
| * Get rid of compile warnings for random/crypto modules on R19Evgeniy Khramtsov2016-10-181-2/+2
| |
| * Merge pull request #1253 from Amuhar/xep0356Christophe Romain2016-09-071-25/+136
| |
| * External Component Hookxmppjingle2016-07-211-7/+3
| | | | | | | | | | Changed Hook Trigger Event and included a Reason upon component_disconnected/2 Hook
| * External Component Connection Hooksxmppjingle2016-07-181-2/+10
| |
* | Improve namespace handlingEvgeniy Khramtsov2016-09-241-14/+2
| |
* | Add tests for s2s codeEvgeniy Khramtsov2016-09-231-7/+10
| |
* | Add tests for external componentEvgeniy Khramtsov2016-09-211-15/+14
| |
* | Rename #error{} record to #stanza_error{}Evgeniy Khramtsov2016-09-081-1/+1
| |
* | Improve some type specsEvgeniy Khramtsov2016-08-091-1/+1
| |
* | Rewrite S2S and ejabberd_service code to use XML generatorEvgeniy Khramtsov2016-07-271-213/+166
|/
* Replace some ?ERR_* macros with ?ERRT_*Evgeniy Khramtsov2016-03-311-2/+6
|
* Make it possible to get virtual host of a registered routeEvgeniy Khramtsov2016-03-131-1/+1
|
* Switch to Fast XML moduleMickael Remond2016-02-031-10/+10
|
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Simplify external components configurationEvgeniy Khramtsov2015-11-281-36/+67
|
* Move JID related functions to jid.erl (#847)Evgeniy Khramtsov2015-11-241-5/+5
|
* Remove unused validation codeEvgeniy Khramtsov2015-06-031-5/+1
|
* Add config validation at startupEvgeniy Khramtsov2015-06-011-2/+11
|
* Document protocol support (EJABS-1620)Badlop2015-05-211-0/+2
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|
* Merge pull request #146 from jamielinux/masterbadlop2014-04-111-4/+3
|\ | | | | Update FSF address
| * Update FSF addressJamie Nguyen2014-02-221-4/+3
| |
* | Update copyright dates to 2014 (EJAB-1679)Badlop2014-03-131-1/+1
|/
* Change configuration file format to YAMLEvgeniy Khramtsov2013-08-211-25/+32
|
* Fix all calls to functions of p1_tls applicationEvgeniy Khramtsov2013-06-201-1/+1
|