summaryrefslogtreecommitdiff
path: root/src/misc.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix specPaweł Chmielowski2022-05-061-1/+1
|
* Return userinfo from misc:uri_parsePaweł Chmielowski2022-05-061-5/+5
|
* Have consistent schema type in misc:uri_parsePaweł Chmielowski2022-05-061-1/+1
|
* Improve misc:uri_parsePaweł Chmielowski2022-05-051-8/+15
|
* Remove dialyzer warningPaweł Chmielowski2022-04-281-2/+2
|
* Guard agains erlang:system_info(logical_processors) not always returning numberPaweł Chmielowski2022-04-281-3/+11
|
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Tell io_lib:print to not care about line length, to avoid newlines in SQL exportBadlop2021-05-141-1/+1
|
* Update newest copyright year to 2021 (#3464)Badlop2021-01-271-1/+1
|
* Handle unix sockets in misc:ip_to_listPaweł Chmielowski2020-12-011-0/+2
|
* Use include_lib() to include headers from dependencies (#3369)Stu Tomlinson2020-09-031-1/+1
|
* In fact misc:try_url/1 is not used anymoreBadlop2020-07-151-25/+1
|
* Fix try_url/1 parsing of uri_parse result format, reported by DialyzerBadlop2020-07-141-8/+9
|
* misc: Don't crash on URLs without port numberHolger Weiss2020-06-031-2/+8
| | | | | | Let misc:uri_parse/1 return default HTTP(S) port number if the URL doesn't specify a port number, analogous to the behavior when USE_OLD_HTTP_URI is defined.
* misc: Make sure uri_parse/1 returns stringsHolger Weiss2020-06-031-0/+2
| | | | | | | The uri_string:parse/1 function returns the URI elements as strings or as binaries depending on the input. Make sure misc:uri_parse/1 returns strings in both cases, analogous to the behavior when USE_OLD_HTTP_URI is defined.
* Use old http_uri, crypto and pg2 only with old Erlang/OTP (#3284)Badlop2020-06-011-1/+22
|
* Rename 'turn_v4_ip' and 'turn_v6_ip' optionsHolger Weiss2020-05-291-6/+6
| | | | | The 'turn_ipv4_address' and 'turn_ipv6_address' option names are probably more intuitive.
* mod_stun_disco: Offer local IPv6 servicesHolger Weiss2020-05-191-4/+12
| | | | | Also announce local STUN/TURN services listening on IPv6 sockets (unless the 'offer_local_services' option is set to 'false').
* Fix most EDoc errors, even if that's not used nowadays apparentlyBadlop2020-05-111-2/+2
|
* ejabberd_stun: Set a default 'turn_ip'Holger Weiss2020-04-201-2/+10
| | | | | | Try to resolve the local hostname, use the result as the default 'turn_ip', and only log a warning if that fails. Using the local hostname's address by default is analogous to mod_proxy65's behavior.
* Update copyright to 2020 (#3149)Badlop2020-01-281-1/+1
|
* Improve best matchEvgeny Khramtsov2019-09-281-8/+14
|
* Correctly handle unicode in log messagesEvgeny Khramtsov2019-09-231-6/+6
|
* Improve ACME implementationEvgeny Khramtsov2019-09-201-1/+39
| | | | Fixes #2487, fixes #2590, fixes #2638
* Fall back to map/2 and foreach/2 on single-core machinesEvgeny Khramtsov2019-07-101-28/+36
|
* Avoid using broad map() type wherever possibleEvgeny Khramtsov2019-06-271-1/+3
|
* Fix exception formatting on old ErlangEvgeny Khramtsov2019-06-141-0/+10
|
* Use new configuration validatorEvgeny Khramtsov2019-06-141-8/+105
|
* Rename ejabberd_config:similar_option/2 -> misc:best_match/2Evgeny Khramtsov2019-04-301-1/+31
|
* Change implementation of misc:unique_timestamp()Paweł Chmielowski2019-04-161-3/+2
|
* Make misc:unique_timestamp not overflow microsecond part.Paweł Chmielowski2019-04-161-2/+3
| | | | This should fix issue #2860
* Use xmpp:get_subtags/2Evgeny Khramtsov2019-04-011-1/+1
|
* Make misc:add_delay_info properly handle multiple delay tags in elementPaweł Chmielowski2019-03-291-9/+11
|
* Add option to mod_offline to make it not bounce mucsub/groupchat messagesPaweł Chmielowski2019-03-141-1/+22
|
* Copy p1_time_compat:unique_timestamp() to misc and make use of itPaweł Chmielowski2019-02-271-1/+7
|
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Move unwrap_mucsub_message/1 into miscHolger Weiss2018-10-251-1/+19
|
* Move some functions from xmpp back into ejabberdHolger Weiss2018-10-251-1/+55
|
* Report available options in lexical orderEvgeny Khramtsov2018-10-041-1/+1
|
* Improve error formattingEvgeny Khramtsov2018-09-171-5/+14
|
* Move cancel_timer/1 function into 'misc' moduleHolger Weiss2018-07-171-1/+14
|
* Clean up contributed code for Redis SMEvgeniy Khramtsov2018-07-141-3/+11
|
* Improve value formattingEvgeniy Khramtsov2018-07-091-1/+1
|
* Better format invalid values when logging themEvgeniy Khramtsov2018-07-081-1/+14
|
* Reload internal room's configuration when mod_muc is reloadedEvgeniy Khramtsov2018-07-081-1/+8
| | | | Fixes #2513
* Fix misc:try_url for erlang < R20Paweł Chmielowski2018-06-291-1/+5
|
* Improve URLs validationEvgeniy Khramtsov2018-06-291-1/+20
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-141-26/+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
* misc: Catch all Base64 decoding errorsHolger Weiss2018-04-241-1/+1
|
* Remove old hex conversion functionsHolger Weiss2018-04-031-13/+1
| | | | Depend on list_to_integer/2 and integer_to_list/2 being available.