aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Let's assume ex_doc is no longer neededBadlop2022-03-101-1/+0
| | | | | | | | | | | | | | | | It was added in e6f72333
* | | | Update ejabberd to not use Distillery (#3788)Badlop2022-03-101-1/+0
| | | |
* | | | Sync old-to-new schema script with reality (#3790)Stu Tomlinson2022-03-082-10/+40
| | | | | | | | | | | | Update the update_sql function to match current "new" sql schema
* | | | Use correct timestamp when hibernation_time is not set at allPaweł Chmielowski2022-03-071-1/+1
| | | |
* | | | Don't request the whole MUC room state in get_room_occupants_number command ↵Alexey Shchepin2022-03-072-2/+18
| | | | | | | | | | | | | | | | (#3684) (#1964)
* | | | Determine compile definitions based on Erlang versionBadlop2022-02-242-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fix bug introduced in 8d8a3177 (#3782)Badlop2022-02-241-1/+1
| | | |
* | | | Test also with recent Erlang/OTP 25.0-rc1Badlop2022-02-241-2/+5
| | | |
* | | | Update jiffy and p1_acme in mix.lockBadlop2022-02-241-2/+2
| | | |
* | | | 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-242-3/+3
| | | |
* | | | Support Erlang 25 in "make options": returns attribute with simpler syntaxBadlop2022-02-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was introduced in Erlang/OTP 25.0-rc1 https://erlang.org/download/otp_src_25.0-rc1.readme https://github.com/erlang/otp/pull/5509 OTP-17894 Application(s): syntax_tools Related Id(s): PR-5509 The erl_syntax_lib:analyze_attribute/1 function would return {Name, {Name, Value}} instead of {Name, Value} (which is the documented return value).
* | | | Add link in mod_http_api documentation to the docs API sectionBadlop2022-02-241-2/+3
| | | |
* | | | Fix WebSocket uppercaseBadlop2022-02-243-5/+5
| | | |
* | | | Only care about CT results when CT are ran, and check failsBadlop2022-02-241-2/+3
| | | |
* | | | The lager dependency is used only with old Erlang versionsBadlop2022-02-243-5/+7
| | | |
* | | | mix.exs: Don't forget to include epam/luerlHolger Weiss2022-02-211-1/+3
| | | | | | | | | | | | | | | | | | | | If --enable-lua and/or --enable-pam was specified, include the corresponding applications with Mix releases.
* | | | mix.exs: Be more careful while editing the versionHolger Weiss2022-02-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Make sure only leading zeroes are removed while turning the ejabberd version into SemVer format for Mix. For example, remove the zero in "21.04", but keep the zero in "21.12.102".
* | | | ejabberdctl: Remove unused environment variableHolger Weiss2022-02-191-2/+0
| | | | | | | | | | | | | | | | | | | | The EJABBERD_DOC_PATH variable is no longer used (cf. commit 949e71efb644f6b79030e26ed880bb2e74b93da0).
* | | | mix.lock: Add missing dependenciesHolger Weiss2022-02-191-0/+3
| | | |
* | | | Put esip in mix included_applications only when it's enabledPaweł Chmielowski2022-02-181-1/+2
| | | |
* | | | Improve compatibility with various db engine versionsPaweł Chmielowski2022-02-182-24/+51
| | | |
* | | | Fix compilation on OTP < 21 and remove dialyzer warningPaweł Chmielowski2022-02-182-10/+13
| | | |
* | | | Fix sqlite schemaPaweł Chmielowski2022-02-182-2/+2
| | | |
* | | | Optimize room_unused_* commandsPaweł Chmielowski2022-02-1811-42/+99
| | | | | | | | | | | | | | | | | | | | | | | | Previously to check if hibernated room was old enough we had to fetch info about all rooms from database. Now we repurpose created_at field in sql to store that info, that allow us to have more efficient query just for it.
* | | | Check producing and starting releasesBadlop2022-02-111-1/+24
| | | |
* | | | Provide proper path to the compiled libraries in relive's ejabberdctlBadlop2022-02-111-1/+2
| | | |
* | | | Update copyright year to 2022Badlop2022-02-11278-279/+279
| | | |
* | | | Detect debug option, and maybe disable debug_infoBadlop2022-02-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | As explained in https://hexdocs.pm/mix/1.13.2/Mix.Tasks.Compile.Erlang.html > The option :debug_info is always added to the end of it. You can disable that using: > erlc_options: [debug_info: false]
* | | | Add forgotten option NO_CUSTOMIZE_HOSTNAME_CHECK to mix.exsBadlop2022-02-111-0/+1
| | | |
* | | | Nowadays NEW_SQL_SCHEMA is only used to determine the default sql schemaBadlop2022-02-111-1/+1
| | | |
* | | | ejabberd_sql_pt got USE_NEW_SCHEMA in 78dfb83 and removed in e15595dBadlop2022-02-111-6/+0
| | | |
* | | | Fix typo introduced in 99fdba0, present since 16.01Badlop2022-02-112-2/+2
| | | |
* | | | Some dependencies are optional, check them in mix.exsBadlop2022-02-111-6/+6
| | | |
* | | | Implement Get List of Registered/Online Users from XEP-0133Badlop2022-02-111-0/+38
| | | |
* | | | Remove obsolete db_type defined environmentBadlop2022-02-113-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Disable mssql in Actions: it's known mssql doesn't pass the testsBadlop2022-02-031-0/+1
| | | |
* | | | Ensure db_type default value is set when no mssql was defined. Fix typoBadlop2022-02-031-2/+2
| | | |
* | | | Fix configure when mssql option not set, and add it to --enable-allBadlop2022-02-031-4/+4
| | | |
* | | | Reorganize and complete documentation of node start/debug commandsBadlop2022-02-031-6/+12
| | | |
* | | | Improve explanation of s2s_access option. Add link to access_rules optionBadlop2022-02-031-4/+7
| | | |
* | | | Use the same wording in all the identical options db_type and ram_db_typeBadlop2022-02-034-13/+10
| | | |
* | | | Fix support for MSSQL testingBadlop2022-02-033-2/+4
| | | |
* | | | New "make relive" similar to "ejabberdctl live" without installingBadlop2022-02-037-18/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* | | | mod_pubsub: Unsubscribe JID on whitelist removalHolger Weiss2022-02-021-1/+13
| | | | | | | | | | | | | | | | | | | | If a JID is removed from the affiliation lists of a node with access model 'whitelist', remove it from the list of subscribers as well.
* | | | Make dialyzer happyPaweł Chmielowski2022-02-021-4/+8
| | | |
* | | | One more place where we need to handle socket field not being availablePaweł Chmielowski2022-02-021-3/+3
| | | |
* | | | Don't expect that socket will be available in c2s_terminated hookPaweł Chmielowski2022-02-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For detached connection we free socket, so let's make code account for this (and we really need it for printing debug informations). This makes sure we call ejabberd_sm:close_session
* | | | Store all mucsub notifications not only message notificationsPaweł Chmielowski2022-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Previously we stored only message/subject change notifications, but if user request also change notificaitons for affiliation/config/subscribers then i don't see reason why we shouldn't store it as well.
* | | | mod_shared_roster: Adjust special group cache sizeHolger Weiss2022-01-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let the size of the cache used for 'special' groups (such as @all@ or @online@) depend on the number of virtual hosts, as the cache will contain seperate entries per domain. Thanks to Ingo Jürgensmann for reporting the issue.