summaryrefslogtreecommitdiff
path: root/rebar.config (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Simplify rules for choosing jiffy versionPaweł Chmielowski2022-05-021-4/+2
|
* Switch "make rel" and "make dev" to paths: conf, database, logsBadlop2022-05-021-10/+10
|
* Update hex depsPaweł Chmielowski2022-05-021-5/+5
|
* Update depsPaweł Chmielowski2022-05-021-17/+17
|
* Determine compile definitions based on Erlang versionBadlop2022-02-241-2/+2
| | | | | | | | This gives a clear definition of what erlang versions require each workaround, instead of depending on the actual workaround details. The lib module was removed in OTP 21.0, and the formatting options were moved to erl_error. The uri_string module was introduced in OTP 21.0.
* Use jiffy 1.1.0 when erlang < 20 because it doesn't have string:split/2Badlop2022-02-241-1/+6
|
* Update to jiffy 1.1.1 and p1_acme 1.0.18 to support Erlang/OTP 25.0-rc1Badlop2022-02-241-2/+2
|
* The lager dependency is used only with old Erlang versionsBadlop2022-02-241-1/+3
|
* Update copyright year to 2022Badlop2022-02-111-1/+1
|
* Fix typo introduced in 99fdba0, present since 16.01Badlop2022-02-111-1/+1
|
* Remove obsolete db_type defined environmentBadlop2022-02-111-1/+0
| | | | | | | | | db_type as a compilation define was first introduced in 2006 in d0e2ac9, but was removed in 2015 in 25791cf. Nowadays: ./configure --enable-mssql will set {mssql, true} in vars.config; That is read by ejabberd.app.src.script to set enabled_backends; which is consulted by test/suite.erl to test only available backends.
* New "make relive" similar to "ejabberdctl live" without installingBadlop2022-02-031-0/+6
| | | | | | | | | | | | | | | | | | | Prepare with: ./autogen.sh && ./configure --with-rebar=./rebar3 && make Or use this if you installed Elixir: ./autogen.sh && ./configure --with-rebar=mix && make Start without installing (it recompiles when necessary): make relive It stores config, database and logs in _build/relive/ There's available the well-known script: _build/relive/ejabberdctl Please note this fails immediately: r3:do(compile). This crashes a few seconds later: rebar3:run(["compile"]). Workaround that works correctly: ejabberd_admin:update().
* Workaround to support rebar2 git tag "1.0" and rebar3 hex version "1.0.0"Badlop2022-01-041-1/+7
|
* Update Luerl to 1.0.0, now available in Hex.pm (rvirding/luerl#142)Badlop2022-01-041-2/+2
|
* Fix ERTS path in ejabberdctl with `rebar3 release`Holger Weiss2021-12-231-1/+1
| | | | | | | | Rebar 2 expands {{erts-vsn}} to "erts-$vsn", Rebar 3 expands it to just "$vsn". Make sure `make rel` doesn't end up with a "$vsn" directory next to "erts-$vsn" (which happened when using Rebar 3), and make sure that ejabberdctl expects both "erl" and "epmd" to be installed below "erts-$vsn" (which it didn't when using Rebar 3).
* Only provide Relx start script in dev profileBadlop2021-12-231-1/+3
| | | | | | | That script serves a similar purpose to ejabberdctl to start ejabberd, but we can't guarantee it is completely equivalent to ejabberdctl. The prod profile must provide only the well-known script. The test profile provides the Relx script so we can experiment with it.
* Revert "rebar.config: Don't create extended start script"Holger Weiss2021-12-231-1/+1
| | | | | | | This reverts commit 0881c5941a638c065a92a2c72acbcbdb9891e01c. The extended start had been enabled intentionally, as some commands (such as 'ping', 'status', or 'pid') actually do work.
* rebar.config: Don't create extended start scriptHolger Weiss2021-12-211-1/+1
| | | | We currently don't use the start script(s) generated by Relx.
* Update stun and esip dependenciesPaweł Chmielowski2021-12-091-2/+2
|
* Remove CTLLOCKDIR (/var/lock/ejabberdctl) from Makefile.inFlorian Schmaus2021-12-071-1/+0
| | | | | | | Flock'ing /var/lock/ejabberdctl by ejabberdctl was removed with f7d4aae64db8 ("Use UUID for ctl node name (#1021)"), however the according recipies in the Makefile where never removed. This commit does that.
* Eliminate xref warning from last commitPaweł Chmielowski2021-12-061-0/+1
|
* Update depsPaweł Chmielowski2021-11-291-5/+5
|
* Update Jose to 1.11.1 (the last in hex.pm correctly versioned)Badlop2021-11-171-1/+1
|
* Update 'stun' dependencyHolger Weiss2021-11-021-1/+1
| | | | The new 'stun' release should improve UDP performance quite a bit.
* Update 'xmpp' dependencyAlexey Shchepin2021-10-291-1/+1
|
* Update 'xmpp' dependencyHolger Weiss2021-10-091-1/+1
| | | | Fixes #3529.
* PubSub: Support 'max_items=max' node configurationHolger Weiss2021-08-201-1/+1
| | | | | | | | | Let clients request the maximum limit for the node configuration option 'max_items' by specifying the special value 'max' instead of an integer. This was added to XEP-0060, revision 1.17.0 (and clarified in revision 1.20.0). Thanks to Ammonit Measurement GmbH for sponsoring this work.
* Revert "Add workaround so rebar2 can use Elixir 1.12.0"Paweł Chmielowski2021-07-221-1/+1
| | | | This reverts commit 937e1c2e373e360fe47e455886d186492248f31f.
* Update pamPaweł Chmielowski2021-07-211-1/+1
|
* Update dependencesPaweł Chmielowski2021-07-211-20/+20
|
* Add workaround so rebar2 can use Elixir 1.12.0Badlop2021-07-161-1/+1
| | | | | | Notice that Elixir 1.12.0 requires Erlang/OTP 21 or higher BTW, this workaround works only with rebar2... unfortunately rebar3 doesn't compile the elixir files from lib/
* Tell relx to include src, so that the tar will contain include/ (#3633)Badlop2021-07-061-3/+6
| | | | | | That's the only way to ensure that tar.gz will contain include/ of ejabberd and its dependencies, which is required to compile ejabberd-contrib modules with "ejabberdctl module_install ..."
* Include odbc app in release only when required (#3633)Badlop2021-06-271-1/+1
|
* Copy captcha scripts in release (#3633)Badlop2021-06-271-0/+1
|
* New "make dev" and "./ejabberdctl" (requires using rebar3)Badlop2021-06-251-0/+10
|
* Add support for rebar3 to "make rel"Badlop2021-06-251-0/+21
|
* Revert luerl from v0.4 which has a compilation warning; v0.3 is enoughBadlop2021-06-081-1/+1
| | | | | | Revert "Update luerl dependency from v0.3 to v0.4" This reverts commit 64f3f3287a3ae40ffa471558835a1a4155f5e0e4.
* Update eredis dependency from v1.0.8 to v1.2.0Badlop2021-05-281-1/+1
|
* Update luerl dependency from v0.3 to v0.4Badlop2021-05-281-1/+1
|
* Update lager dependency from 3.6.10 to 3.9.1 to make Dialyzer happyBadlop2021-05-281-1/+1
|
* New ci.yml with all static and dynamic testing suites (#3613)Badlop2021-05-251-0/+2
| | | | | | | | | | It supports all that was already in .travis.yml and tests.yml, plus: - exclude paths that don't affect source code - two very distinct scenarios, ancient a recent (OTP, Rebar, Ubuntu) - cache binaries and dialyzer for small speedup and network usage - separated results, to view comfortably where and what failed - use coveralls example rebar3 code, instead of custom rebar2 - upload binaries.zip that can be used with Binary Installers
* Update xmpp to bring updated vcardPaweł Chmielowski2021-05-121-1/+1
|
* Fix invalid_encoding error when using extended plane characters in vcard.Paweł Chmielowski2021-04-291-1/+1
|
* When using OTP 24.0, use the new 'application' record definition (#3568)Badlop2021-04-141-0/+1
| | | | | This fixes "ejabberdctl update_list", "update", and the equivalent feature on ejabberd's WebAdmin that got broken when using Erlang/OTP 24
* Update rebar dependenciesBadlop2021-03-241-17/+17
|
* Remove support for HiPE, it was experimental and Erlang/OTP 24 removes itBadlop2021-03-081-3/+0
|
* Add --enable-lua, and use that for luerl instead of --enable-tools (#3508)Badlop2021-03-081-1/+1
| | | | | --enable-tools is for development tools, but prosody2ejabberd is used at runtime, so better move luerl to --enable-lua
* Update sql_query record to handle the Erlang/OTP 24 compiler reportsBadlop2021-03-041-0/+1
| | | | | | As mentioned in the Erlang/OTP 24 announcement: "Compiler warnings and errors now include column numbers in addition to line numbers."
* fix eldap certificate verification (#3528)Stu Tomlinson2021-02-151-0/+1
| | | | | | | Reported in #3527. Add hostname matching function, and specify SNI Also, OTP 23 dropped backwards compatibility for 0, 1, 2 values for verify, so replace with combination of verify_none/verify_peer and fail_if_no_peer_cert as appropriate
* Update xmppPaweł Chmielowski2021-02-101-1/+1
|