Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add link in mod_http_api documentation to the docs API section | Badlop | 2022-02-24 | 1 | -2/+3 |
| | |||||
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | Accept more types of ejabberdctl commands arguments as JSON-encoded | Alexey Shchepin | 2021-12-20 | 1 | -0/+1 |
| | |||||
* | Improve formatting and add sections links | Badlop | 2021-08-23 | 1 | -2/+2 |
| | |||||
* | Add example config to mod_http_api documentation | Badlop | 2021-08-23 | 1 | -1/+11 |
| | |||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Copy more option explanations from ejabberd Docs site | Badlop | 2020-04-08 | 1 | -2/+10 |
| | |||||
* | 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/+7 |
| | | | | | | | 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 | -6/+6 |
| | |||||
* | Documentation of mod_http_api moved from source code to Docs page | Badlop | 2019-07-16 | 1 | -45/+0 |
| | |||||
* | Use correct stacktrace in logging macros | Evgeny Khramtsov | 2019-06-26 | 1 | -3/+6 |
| | | | | | | | By calling erlang:get_stacktrace() inside a lager function we obtain actually a stacktrace of the lager function, not the one we got during exception. This is not a problem for newest Erlang versions though. | ||||
* | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -2/+2 |
| | |||||
* | Add support for backwards compatibility in command argument names (#2908) | Badlop | 2019-06-19 | 1 | -3/+14 |
| | |||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -83/+40 |
| | |||||
* | Return proper error message for duplicate or missing args in http_api call | Paweł Chmielowski | 2019-04-03 | 1 | -6/+10 |
| | |||||
* | Log message when trying to execute http_api command with extra arguments | Paweł Chmielowski | 2019-04-03 | 1 | -5/+7 |
| | |||||
* | Formating fix | Paweł Chmielowski | 2019-04-03 | 1 | -1/+1 |
| | |||||
* | Make http_api command execution exception catcher log also command and args | Paweł Chmielowski | 2019-04-03 | 1 | -1/+4 |
| | |||||
* | Produce better error for http_api request with extra parameters | Paweł Chmielowski | 2019-01-30 | 1 | -1/+4 |
| | |||||
* | Reject request http_api request that have malformed Authentication header | Paweł Chmielowski | 2019-01-30 | 1 | -11/+13 |
| | |||||
* | Allow specifying tag for listener for api_permission purposes | Paweł Chmielowski | 2019-01-30 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | This commit will allow adding tag to http listeners: listener: - port: 4000 - module: ejabberd_http - tag: "magic_listener" that later can be used to have special api_permission just for it: api_permissions: "magic_access": from: - tag: "magic_listener" who: all what: "*" | ||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Add code for handling deprecations of get_stacktrace() | Paweł Chmielowski | 2018-12-13 | 1 | -9/+7 |
| | |||||
* | Format list of {{name,string}, {value, _}} as json struct name/val | Paweł Chmielowski | 2018-12-03 | 1 | -0/+8 |
| | |||||
* | Make mod_http_api assume that missing args of type list are empty list | Paweł Chmielowski | 2018-12-03 | 1 | -4/+9 |
| | |||||
* | Don't preprocess arguments, format_args verifies and prepares them (#2629) | Badlop | 2018-10-31 | 1 | -16/+1 |
| | |||||
* | Recognize not_exists error in http_api | Paweł Chmielowski | 2018-10-19 | 1 | -3/+5 |
| | |||||
* | Get stacktrace out of lager context | Evgeniy Khramtsov | 2018-09-01 | 1 | -5/+7 |
| | | | | | Calling erlang:get_stacktrace() inside lager functions produces stacktraces of the logging function itself, not the function which has failed. | ||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -1/+0 |
| | | | | | | | | | 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 | ||||
* | Find and fix typos using 'codespell' | Evgeniy Khramtsov | 2018-01-27 | 1 | -2/+2 |
| | |||||
* | Introduce new gen_mod callback: mod_options/1 | Evgeniy Khramtsov | 2018-01-23 | 1 | -4/+5 |
| | | | | | | | 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 |
| | |||||
* | Ability to filter passwords from the log in mod_http_api (#1888) | Marco Adkins | 2017-07-27 | 1 | -2/+10 |
| | | | * Ability to filter passwords from the log when creating users through the mod_http_api | ||||
* | Don't validate an option in gen_mod:get*opt() functions | Evgeniy Khramtsov | 2017-04-30 | 1 | -3/+1 |
| | | | | | | | | | | | | | | 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. | ||||
* | Rename aux.erl as misc.erl17.04 | Christophe Romain | 2017-04-11 | 1 | -17/+17 |
| | | | | Thanks Microsoft Windows to not support some filenames | ||||
* | Deprecate jlib.erl in favor of aux.erl | Evgeniy Khramtsov | 2017-03-30 | 1 | -17/+17 |
| | | | | | 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 jid:to_string/1 and jid:from_string/1 | Evgeniy Khramtsov | 2017-02-26 | 1 | -4/+4 |
| | |||||
* | Separate list of strings with \n for srg_get_info in mod_http_api (#1500) | Badlop | 2017-02-23 | 1 | -0/+4 |
| | |||||
* | Reload modules when reloading configuration file | Evgeniy Khramtsov | 2017-02-22 | 1 | -1/+5 |
| | |||||
* | Make shim for mod_http_api admin_ip_access more robust | Paweł Chmielowski | 2017-01-20 | 1 | -20/+22 |
| | |||||
* | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | API call does not necessary use token, it could use basic auth | Mickael Remond | 2016-12-08 | 1 | -1/+1 |
| | |||||
* | Get rid of compile warnings | Evgeniy Khramtsov | 2016-11-25 | 1 | -2/+2 |
| | |||||
* | Make string args in http_api be list strings | Paweł Chmielowski | 2016-11-15 | 1 | -4/+4 |
| | |||||
* | Merge branch 'master' into xml-ng | Evgeniy Khramtsov | 2016-11-12 | 1 | -133/+186 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | New api permissions framework | Paweł Chmielowski | 2016-10-05 | 1 | -103/+92 |
| | | |||||
| * | Fix 404 response formatting (thanks to Kaggggggga)(#1306) | Badlop | 2016-09-28 | 1 | -1/+1 |
| | | |||||
| * | Expand parsing of json input to be able to handle update_roster command | Paweł Chmielowski | 2016-09-13 | 1 | -0/+19 |
| | |