Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix errors and warnings for "rebar3 edoc" | Badlop | 2022-05-17 | 1 | -2/+5 |
| | |||||
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Rewrite sentences in modules options examples, to not break Docs indentation | Badlop | 2020-04-28 | 1 | -4/+3 |
| | |||||
* | Make http heades passed in custom_headers override builtin headers | Paweł Chmielowski | 2020-02-21 | 1 | -7/+9 |
| | | | | | | Previously we just appended them, so sometimes we just had duplicates This fixes issue #3056 | ||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Generate ejabberd.yml.5 man page from source code directly | Evgeny Khramtsov | 2020-01-08 | 1 | -1/+86 |
| | | | | | | | Several documentation callbacks (doc/0 and mod_doc/0) are implemented and `ejabberdctl man` command is added to generate a man page. Note that the command requires a2x to be installed (which is a part of asciidoc package). | ||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -5/+5 |
| | |||||
* | Don't retain module option on gen_mod supervisor | Evgeny Khramtsov | 2019-08-04 | 1 | -1/+2 |
| | | | | | | When module's options were updated (e.g. by reloading ejabberd.yml) and, later, the module's process crashed, gen_mod supervisor restarts the process with outdated options. This is now fixed. | ||||
* | Fix typos using codespell | Evgeny Khramtsov | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | mod_http_fileserver: Unregister 'reopen_log_hook' | Holger Weiss | 2019-07-14 | 1 | -4/+7 |
| | | | | | Unregister the global 'reopen_log_hook' on termination if the module isn't loaded for another host. | ||||
* | Process unexpected messages uniformly | Evgeny Khramtsov | 2019-07-12 | 1 | -3/+5 |
| | |||||
* | Use maps instead of dict | Evgeny Khramtsov | 2019-07-08 | 1 | -2/+2 |
| | |||||
* | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -2/+2 |
| | |||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -42/+24 |
| | |||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -3/+2 |
| | | | | | | | | | 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 | ||||
* | Optimize HTTP requests memory usage | Evgeniy Khramtsov | 2018-05-14 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | Due to historical reasons, ejabberd loads the whole file/data into the memory when serving an HTTP request. This is now improved: 1) For GET requests ejabberd uses sendfile(2) if the underlying connection is HTTP and falls back to read/write loop with 64kb buffer for HTTPS connections. This type of requests are handled by mod_http_fileserver, mod_http_upload, ejabberd_captcha, etc 2) POST requests are now limited to 20Mb and are fully downloaded into the memory for further processing (by ejabberd_web_admin, mod_bosh, etc) 3) PUT requests (e.g. for mod_http_upload) are handled by read/write loop with 64kb buffer | ||||
* | Introduce new gen_mod callback: mod_options/1 | Evgeniy Khramtsov | 2018-01-23 | 1 | -52/+33 |
| | | | | | | | 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. | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | More fix in mod_http_fileserver to log URLs with/out query elements (#2021) | Badlop | 2017-10-06 | 1 | -6/+8 |
| | |||||
* | Improve logging of mismatched Hosts | Evgeniy Khramtsov | 2017-10-05 | 1 | -2/+4 |
| | |||||
* | Log request in access.log even when Host doesn't match | Evgeniy Khramtsov | 2017-10-05 | 1 | -1/+3 |
| | |||||
* | Don't report Host mismatch as an error | Evgeniy Khramtsov | 2017-10-05 | 1 | -4/+4 |
| | |||||
* | Accept routes in Host header and map them to vhosts | Evgeniy Khramtsov | 2017-10-05 | 1 | -13/+20 |
| | |||||
* | Fix crash in mod_http_fileserver when logging URL with query elements (#2021) | Badlop | 2017-10-02 | 1 | -2/+8 |
| | |||||
* | Request basic auth dialog from browser | Paweł Chmielowski | 2017-07-28 | 1 | -3/+13 |
| | |||||
* | Don't validate an option in gen_mod:get*opt() functions | Evgeniy Khramtsov | 2017-04-30 | 1 | -23/+13 |
| | | | | | | | | | | | | | | 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. | ||||
* | Teach mod_http_fileserver ability to send 304 Not Modified | Paweł Chmielowski | 2017-03-17 | 1 | -9/+29 |
| | |||||
* | Don't polute log with known content types | Evgeniy Khramtsov | 2017-02-24 | 1 | -3/+3 |
| | |||||
* | Reload modules when reloading configuration file | Evgeniy Khramtsov | 2017-02-22 | 1 | -17/+26 |
| | |||||
* | Attach modules to gen_mod's supervisor | Evgeniy Khramtsov | 2017-02-14 | 1 | -30/+3 |
| | |||||
* | Improve modules start/stop procedures | Evgeniy Khramtsov | 2017-02-14 | 1 | -2/+3 |
| | |||||
* | Merge branch 'new_stream' | Evgeniy Khramtsov | 2017-01-20 | 1 | -6/+10 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 hooks | Evgeniy Khramtsov | 2017-01-09 | 1 | -6/+10 |
| | | |||||
* | | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
|/ | |||||
* | Add auth to mod_http_fileserver | Paweł Chmielowski | 2016-11-17 | 1 | -26/+62 |
| | |||||
* | Rewrite several modules to use XML generator | Evgeniy Khramtsov | 2016-07-29 | 1 | -3/+0 |
| | |||||
* | Make modules loading in a dependent order (#1191) | Evgeniy Khramtsov | 2016-07-06 | 1 | -1/+4 |
| | |||||
* | Update copyright to 2016 (#901) | Badlop | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Remove useless export_all flag | Christophe Romain | 2015-11-23 | 1 | -2/+0 |
| | |||||
* | Export content_type/3 needed by mod_http_upload | Christophe Romain | 2015-11-23 | 1 | -0/+3 |
| | |||||
* | Print content types more gracefully | Evgeniy Khramtsov | 2015-07-17 | 1 | -3/+10 |
| | |||||
* | Add config validation at startup | Evgeniy Khramtsov | 2015-06-01 | 1 | -2/+15 |
| | |||||
* | Update copyright dates to 2015 (EJAB-1733) | Badlop | 2015-01-08 | 1 | -1/+1 |
| | |||||
* | Use 'request' record definition from header file | Holger Weiss | 2014-10-16 | 1 | -6/+1 |
| | | | | This fixes a 'badrecord' crash in mod_http_fileserver. | ||||
* | Merge pull request #146 from jamielinux/master | badlop | 2014-04-11 | 1 | -4/+3 |
|\ | | | | | Update FSF address | ||||
| * | Update FSF address | Jamie Nguyen | 2014-02-22 | 1 | -4/+3 |
| | | |||||
* | | Update copyright dates to 2014 (EJAB-1679) | Badlop | 2014-03-13 | 1 | -1/+1 |
|/ | |||||
* | Normalize HTTP path (thanks to Justin Kirby) | Badlop | 2013-06-25 | 1 | -1/+2 |
| |