aboutsummaryrefslogtreecommitdiff
path: root/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-24Mark dangerous buttons with CSS (#3363)Badlop1-0/+8
2020-04-14Update links to the ejabberd Docs page in WebAdminBadlop1-2/+2
2020-03-26Make webadmin redirect to page that end with /Paweł Chmielowski1-0/+1
2020-02-04Use SQL ESCAPE statement only with MSSQL and SQLite, improve compatibility ↵Alexey Shchepin1-1/+2
with CockroachDB (#3074)
2020-01-28Update copyright to 2020 (#3149)Badlop33-33/+33
2019-10-25Use lager on OTP<22.0Evgeny Khramtsov1-2/+21
This also lowers Erlang/OTP minimum version requirement back to 19.3
2019-10-18Replace lager with built-in new logging APIEvgeny Khramtsov1-6/+6
This change requires Erlang/OTP-21.0 or higher. The commit also deprecates the following options: - log_rotate_date - log_rate_limit Furthermore, these options have no effect. The logger now fully relies on log_rotate_size, that cannot be 0 anymore. The loglevel option now accepts levels in literal formats. Those are: none, emergency, alert, critical, error, warning, notice, info, debug. Old integer values (0-5) are still supported and automatically converted into literal format.
2019-10-11Improve type spec of properties()Evgeny Khramtsov1-1/+27
2019-10-03Check redirect_uri for OAUTH implicit grantAlexey Shchepin1-3/+3
2019-10-02Update Guide links in WebAdmin to website, as local file isn't includedBadlop1-1/+1
2019-09-27Support OAUTH client authenticationAlexey Shchepin1-0/+7
2019-09-20Improve ACME implementationEvgeny Khramtsov1-53/+0
Fixes #2487, fixes #2590, fixes #2638
2019-07-29Improve handling of errors in pubsub codeEvgeny Khramtsov1-2/+2
2019-07-16Fix typos using codespellEvgeny Khramtsov1-1/+1
2019-07-16Add code for hibernating inactive muc_room processesPaweł Chmielowski1-1/+2
2019-06-28Avoid using broad p1_queue:queue() type wherever possibleEvgeny Khramtsov1-2/+2
2019-06-27Avoid using broad map() type wherever possibleEvgeny Khramtsov1-6/+13
2019-06-24Use "begin ... end" in logging macrosEvgeny Khramtsov1-5/+5
2019-06-22Improve extraction of translated stringsEvgeny Khramtsov1-9/+7
Now every such string MUST be encapsulated into ?T() macro. The macro itself is defined in include/translate.hrl. Example: -module(foo). -export([bar/1]). -include("translate.hrl"). bar(Lang) -> translate:translate(Lang, ?T("baz")).
2019-06-19Add support for backwards compatibility in command argument names (#2908)Badlop1-0/+1
2019-06-14Add forgotten header fileEvgeny Khramtsov1-0/+41
2019-06-14Use new configuration validatorEvgeny Khramtsov8-39/+43
2019-04-23Fix handling of list arguments on pgsqlPaweł Chmielowski1-2/+1
2019-02-27Replace code using p1_time_compat wrapper with native functionsPaweł Chmielowski3-3/+3
Since we now require R19, we shouldn't need that anymore. There are still couple places where p1_time_compat:unique_timestamp() is used as there is no direct equivalent.
2019-02-27Remove now() calls that sneaked in in pull requestsPaweł Chmielowski1-1/+1
2019-02-25Add MQTT supportEvgeny Khramtsov1-0/+183
2019-02-11Once just_created isn't true, use it to keep room process creation (#2787)Badlop1-1/+1
2019-01-10Update muc room state after adding extra access field to itPaweł Chmielowski1-1/+1
2019-01-08Update copyright to 2019 (#2756)Badlop31-31/+31
2018-12-13Add code for handling deprecations of get_stacktrace()Paweł Chmielowski1-0/+27
2018-12-10Increase MAX_PAYLOAD_SIZE for PubSub itemsHolger Weiss1-1/+1
Some PubSub payloads (such as PEP avatars) can easily exceed the old MAX_PAYLOAD_SIZE. Use a higher limit, but stay below the default max_stanza_size value.
2018-12-01Keep info about carbons inside session tableEvgeny Khramtsov1-27/+0
Accordingly, Mnesia/SQL/Riak table 'carboncopy' is not used anymore and can be safely removed. As a consequence, the commit deprecates the following options of mod_carboncopy: - ram_db_type - use_cache - cache_size - cache_missed - cache_life_time Fixes #2663
2018-11-15Replace dict with mapsEvgeny Khramtsov1-8/+6
This will improve performance and memory consumptions of large MUCs
2018-07-06Move XMPP stream and SASL processing to xmpp repoEvgeniy Khramtsov1-28/+0
2018-06-29Rename obsolete type in commentsChristophe Romain1-5/+5
2018-06-20Move mod_irc to ejabberd-contribEvgeniy Khramtsov1-35/+0
2018-06-14Update mod_muc_room.hrlEvgeniy Khramtsov1-9/+7
2018-06-14Get rid of jlib.hrl/jlib.erlEvgeniy Khramtsov1-501/+0
2018-06-14Do not check for deprecated typesEvgeniy Khramtsov1-35/+0
Since we support only Erlang >= OTP-17.5, the check for old-style dict/queue/etc types is no longer needed
2018-06-14Get rid of ejabberd.hrl headerEvgeniy Khramtsov5-41/+33
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
2018-05-30Support for roomconfig_lang/roominfo_langEvgeniy Khramtsov1-1/+2
Now room owners are able to set a preferred language for the discussions in the room, so other users can discover rooms based on the language they wish to talk. TODO: the language format should conform to RFC 5646. This check should be implemented in 'xmpp' library. Fixes #2436
2018-05-14Optimize HTTP requests memory usageEvgeniy Khramtsov1-1/+4
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
2018-03-28Add support for PATCH http methodMickael Remond1-1/+1
This is needed to improve out APIs.
2018-02-12Let a MUC room to route presences from its bare JIDEvgeniy Khramtsov1-0/+1
The goal for this is to provide entity capabilities (XEP-0115) and vCard-based avatar hash (XEP-0153)
2018-01-06Update copyright dates in header filesEvgeniy Khramtsov34-34/+34
2018-01-06Don't display copyright dates in vCards of servicesEvgeniy Khramtsov1-1/+1
Copyright dates in vCards may paritally disclose server version, which is not always desired
2017-11-27Improve muc#roominfo and muc#roomconfig formsEvgeniy Khramtsov1-1/+2
Now 'muc#roominfo_contactjid' and 'muc#roominfo_pubsub' fields are returned within muc#roominfo form. Also, both 'muc#roominfo_pubsub' and 'muc#roomconfig_pubsub' are now validated.
2017-11-14Explain what is needed for the acme configuration and other small changesKonstantinos Kallas1-2/+6
1. Add a request handler in ejabberd_http and explain how to configure the http listener so that the challenges can be solved. 2. Make acme configuration optional by providing defaults in ejabberd_acme. 3. Save the CA that the account has been created in so that it creates a new account when connecting to a new CA. 4. Small spec change in acme configuration.
2017-11-13Fix a record defaultEvgeniy Khramtsov1-1/+1
2017-11-02Add SQL_INSERT macro and update SQL queries to use server_host fieldAlexey Shchepin1-0/+3