aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Omit summary form for push testsHolger Weiss2018-06-201-2/+7
|
* mod_push: Include a static body text by defaultHolger Weiss2018-06-191-1/+1
| | | | | | | Set the 'include_body' option to a static text by default. Some app servers check for the presence of a 'last-message-body' field to distinguish between notifications generated for actual chat messages and notifications triggered by other types of traffic.
* mod_push_keepalive: Increase default timeoutHolger Weiss2018-06-191-1/+1
| | | | | Set the default session timeout to three days. This way, sessions will survive a weekend without traffic, for example.
* Fix reset_stream in websocket using pre-rfc protocolPaweł Chmielowski2018-06-191-5/+9
|
* Render roomname, allowinvites and allowpm in room disco#infoEvgeniy Khramtsov2018-06-192-5/+17
|
* mod_push_mnesia: Simplify record matchingHolger Weiss2018-06-181-8/+2
| | | | Omit record fields that aren't used for matching.
* mod_push_mnesia: Fix lookup of all host sessionsHolger Weiss2018-06-181-2/+2
|
* mod_mam: Don't replace existing stanza IDHolger Weiss2018-06-161-0/+2
| | | | | Preserve the original stanza ID for resent messages. This avoids storing duplicates in the MAM archive.
* New shaper implementationPaweł Chmielowski2018-06-151-60/+59
|
* Make connected_users_info and user_sessions_info DB-agnostic (#2448)Badlop2018-06-152-69/+47
| | | | | | | The result returned by connected_users_info command has changed, and is now similar to the result of user_sessions_info. Notice that num_active_users and process_rosteritems still require Mnesia.
* Improve type specEvgeniy Khramtsov2018-06-141-1/+1
|
* Get rid of all calls to jlib.erl moduleEvgeniy Khramtsov2018-06-141-25/+5
|
* Update mod_muc_room.hrlEvgeniy Khramtsov2018-06-141-9/+7
|
* Get rid of jlib.hrl/jlib.erlEvgeniy Khramtsov2018-06-149-1571/+4
|
* Do not check for deprecated typesEvgeniy Khramtsov2018-06-1411-77/+16
| | | | | Since we support only Erlang >= OTP-17.5, the check for old-style dict/queue/etc types is no longer needed
* Get rid of ejabberd.hrl reference from the test suiteEvgeniy Khramtsov2018-06-141-1/+0
|
* Get rid of ejabberd.hrl headerEvgeniy Khramtsov2018-06-14148-409/+283
| | | | | | | | | 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
* Log modules startupEvgeniy Khramtsov2018-06-141-4/+13
|
* mod_push: Omit summary for outgoing messagesHolger Weiss2018-06-132-28/+54
| | | | | | | | Don't include a urn:xmpp:push:summary form in push notifications that are triggered by outgoing messages. App servers might use the form fields to generate user-visible notifications directly (as opposed to just waking the client app). This is usually not desired for outgoing messages.
* Advertise disco#info and disco#items features in mod_discoEvgeniy Khramtsov2018-06-133-6/+12
| | | | Fixes #2470
* mod_push: Further improve handling of carbonsHolger Weiss2018-06-131-2/+3
| | | | | Also check for carbon-copied messages (with a body) in the queue of unacknowledged stanzas.
* mod_push: Also include sender/body for carbonsHolger Weiss2018-06-121-1/+1
| | | | | | If the 'include_sender' and/or 'include_body' options are specified, also include a urn:xmpp:push:summary form in push notifications that are generated for carbon-copied messages (with a body).
* Update mix depsChristophe Romain2018-06-112-10/+9
|
* Avoid lager crash on external authentication failureEvgeniy Khramtsov2018-06-082-3/+3
| | | | Fixes #2463
* Increase start-up/stop timeout in systemd unitHolger Weiss2018-06-071-0/+1
| | | | | On slow systems, it can take quite a while for "ejabberdctl started" and/or "ejabberdctl stopped" to return.
* Add ability to modify version stringPaweł Chmielowski2018-06-071-3/+10
|
* Merge pull request #2460 from imShara/patch-1Evgeny Khramtsov2018-06-061-1/+2
|\ | | | | OMEMO enable HOWTO added
| * OMEMO enable HOWTO addedimShara2018-06-061-1/+2
|/ | | Depend on #2425
* upload_tests: Make size error check stricterHolger Weiss2018-06-041-1/+1
|
* Omit 'xmlns' field from 'feature_csi' recordHolger Weiss2018-06-042-2/+2
| | | | | The 'xmpp' library has been updated to omit the 'xmlns' field from the 'feature_csi' record.
* Return detailed error if HTTP upload is too largeHolger Weiss2018-06-043-12/+23
| | | | | If the file size specified in an HTTP upload slot request exceeds the the configured maximum size, include the limit with the stanza error.
* Also format gracefully errors returned during module reloadEvgeniy Khramtsov2018-06-031-25/+29
|
* Fix problem in commit 548ef7b835fbf2ad965bb4bb3a6f4e4905717002Paweł Chmielowski2018-06-011-1/+1
|
* Don't crash in bosh when we receive request with RID < prev_ridPaweł Chmielowski2018-06-011-9/+10
|
* Always display room's xdata in disco#infoEvgeniy Khramtsov2018-06-011-6/+12
|
* Display muc#roomconfig_changesubject in room's disco#infoEvgeniy Khramtsov2018-06-012-1/+2
| | | | Fixes #2449
* Send trailer and close socket explicitly on stream endEvgeniy Khramtsov2018-06-011-2/+1
|
* Improve indentationEvgeniy Khramtsov2018-05-301-12/+12
|
* Merge remote-tracking branch 'processone/pr/2446'Holger Weiss2018-05-301-10/+13
|\ | | | | | | | | * processone/pr/2446: Fix authentication for usernames containing uppercase characters
| * Fix authentication for usernames containing uppercase charactersStu Tomlinson2018-05-301-10/+13
| | | | | | | | | | | | | | Applies to authentication methods that compare User (normalized) and AuthzId (was not being normalized). These are external, ldap & pam. Fixes #2280
* | Get rid of direct calls to 'session' Mnesia tableEvgeniy Khramtsov2018-05-302-33/+21
|/ | | | Fixes #2439
* Bump xmpp version in order to support language tags validationEvgeniy Khramtsov2018-05-301-1/+1
|
* Support for roomconfig_lang/roominfo_langEvgeniy Khramtsov2018-05-303-4/+15
| | | | | | | | | | | 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
* Use 'list-multi' type for XEP-0157 xdata fieldsEvgeniy Khramtsov2018-05-291-1/+3
| | | | Thanks to Jonas Wielicki for spotting this
* Merge pull request #2438 from licaon-kter/patch-3Evgeny Khramtsov2018-05-281-0/+8
|\ | | | | Add default_db in the example config
| * Add default_db in the example configLicaon_Kter2018-05-281-0/+8
|/ | | I only found it in the docs after setting up per module db_
* Better report errors of module startupEvgeniy Khramtsov2018-05-281-19/+38
|
* Don't call Mod:function() in xmpp_stream callbacksEvgeniy Khramtsov2018-05-262-190/+247
| | | | | | If a callback function is not defined by the `Mod` then a call to code_server process is performed. Under heavy load this may cause code_server to get overloaded. We now avoid this.
* mod_muc_sql: Fix export to SQLHolger Weiss2018-05-241-2/+2
| | | | The "host" column is supposed to hold the MUC host name.
* mod_push_mnesia: Apply cosmetic changesHolger Weiss2018-05-231-17/+15
| | | | Improve the readability of the 'max_user_sessions' check.