Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-23Move make_rand_string() to 'randoms' moduleMarc Schink
2018-01-23Introduce new gen_mod callback: mod_options/1Evgeniy Khramtsov
The callback is supposed to provide known options and their default values, as long as the documentation. Passing default values into get_mod functions is now deprecated: all defaults should be provided by the Mod:mod_options/1 callback.
2018-01-15Get rid of a call to misc:have_eimp()Evgeniy Khramtsov
2018-01-15Always build eimp dependencyEvgeniy Khramtsov
Even if no suitable C graphics libraries are detected at compile time, the package is still usable because it provides `eimp:get_type/1` which is used by mod_avatar.
2018-01-08Process 'name' option for all route-registering modulesEvgeniy Khramtsov
The option allows to set arbitrary text for disco#info identity name. Previously, option 'name' was supported by mod_proxy65 and mod_http_upload only. Now, all the following modules support this option as well: - mod_disco - mod_irc - mod_muc - mod_multicast - mod_pubsub - mod_vcard Example: ``` modules: ... mod_disco: name: "Cool XMPP Server" ... ```
2018-01-05Update copyright datesEvgeniy Khramtsov
2017-09-27Remove forgotten export_allEvgeniy Khramtsov
2017-09-26mod_http_upload: Don't ignore 'custom_headers'Holger Weiss
Don't ignore the 'custom_headers' option if the domain part of the 'put_url' doesn't match the XMPP domain. Closes #1482.
2017-09-25Use eimp instead of ImageMagick calls for thumbnails creationEvgeniy Khramtsov
2017-09-24Reuse some translation stringsEvgeniy Khramtsov
2017-08-17Get rid of deprecated crypto functionsEvgeniy Khramtsov
2017-08-08Introduce 'hosts' optionEvgeniy Khramtsov
The option can be used as a replacement of 'host' option when several (sub)domains are needed to be registered for the module. Note that you cannot combine both 'host' and 'hosts' in the config because 'host' option is of a higher priority. Example: mod_pubsub: ... hosts: - "pubsub1.@HOST@" - "pubsub2.@HOST@" Fixes #1883
2017-04-30Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov
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.
2017-04-21Add support for HTTP File Upload, version 0.3.0Holger Weiss
Support the current XEP-0363 version in addition to the previous revisions.
2017-04-19Don't try to load already loaded applicationsEvgeniy Khramtsov
2017-04-11Rename aux.erl as misc.erl17.04Christophe Romain
Thanks Microsoft Windows to not support some filenames
2017-03-30Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov
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-03-28mod_http_upload: Don't add "Server" header lineHolger Weiss
Administrators can add the "Server" header line using the new listener option "custom_headers", if desired.
2017-03-28ejabberd_http: Expand @VERSION@ in custom headersHolger Weiss
Let ejabberd_http expand the @VERSION@ keyword to the ejabberd version if specified in the "custom_headers" listener option. Closes #1414.
2017-03-14Get rid of p1_sha callsAlexey Shchepin
2017-02-26Don't fail on elements decodingEvgeniy Khramtsov
2017-02-26Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov
2017-02-25Don't pass empty resource to jid:make()Evgeniy Khramtsov
2017-02-18Fix some dialyzer warningsEvgeniy Khramtsov
2017-02-16Change routing APIEvgeniy Khramtsov
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}
2017-02-14Only use GEN_SERVER macro where appropriateEvgeniy Khramtsov
2017-02-14Attach modules to gen_mod's supervisorEvgeniy Khramtsov
2017-01-20Merge branch 'new_stream'Evgeniy Khramtsov
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
2017-01-13Implement database backend interface for MUC, BOSH and auth_anonyousEvgeniy Khramtsov
2017-01-02Update copyright date automatically (#1442)Badlop
2016-11-26Improve translation of some messagesEvgeniy Khramtsov
2016-11-21Fix handling mod_http_upload disco#info queries: need decoded elementsBadlop
As reported in https://www.ejabberd.im/forum/28605/ejabberd-modhttpupload-error-405-not-allowed
2016-09-24Deprecate jlib:integer_to_binary/1 and jlib:binary_to_integer/1Evgeniy Khramtsov
2016-09-08Rename #error{} record to #stanza_error{}Evgeniy Khramtsov
2016-08-09Improve some type specsEvgeniy Khramtsov
2016-07-30Rewrite mod_http_upload to use XML generatorEvgeniy Khramtsov
2016-07-06Make modules loading in a dependent order (#1191)Evgeniy Khramtsov
2016-06-21Use {access,shaper}_rules_validator in other places where access rules are usedPaweł Chmielowski
2016-05-08Let client retry HTTP upload on file size mismatchHolger Weiss
Let the main mod_http_upload process look at the size of an HTTP upload rather than performing this check in the ejabberd_http handler. This way, the upload slot won't be invalidated if the size of the uploaded file doesn't match the size requested for the slot. The PUT request is still rejected, but the client now has a chance to retry the upload.
2016-04-19Specify type of second terminate/2 parameterHolger Weiss
2016-03-31Replace some ?ERR_* macros with ?ERRT_*Evgeniy Khramtsov
2016-03-13Make it possible to get virtual host of a registered routeEvgeniy Khramtsov
2016-03-09mod_http_upload: Add XEP-0363 v0.2 supportHolger Weiss
Include the maximum file size in the service discovery information, as specified by XEP-0363, version 0.2.
2016-02-20mod_http_upload: Also expand @HOST@ in 'docroot'Holger Weiss
In some environments, it might be desirable to use separate document roots for each virtual host.
2016-02-20mod_http_upload: Expand 'docroot' before using itHolger Weiss
Expand the @HOME@ keyword within the 'docroot' value before setting the permissions of the document root directory.
2016-02-03Switch to Fast XML moduleMickael Remond
2016-01-16Use maps instead of dicts in HTTP upload modulesHolger Weiss
ejabberd currently depends on Erlang/OTP 17.1 or higher, so we can now use maps.
2016-01-13Update copyright to 2016 (#901)Badlop
2016-01-11mod_http_upload: Use application/octet-stream instead of text/html for ↵Matthias Rieber
security reasons
2016-01-06mod_http_upload: Use full PUT URL for process nameHolger Weiss
Don't just use the "put_url" domain name, but also any path components of the specified URL, to generate a mod_http_upload process name. This way, a single domain name can be used for multiple virtual hosts by specifying a "put_url" such as "https://example.com/@HOST@/".