aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix potential message loss in terminating c2s sessionsPaweł Chmielowski2020-04-018-36/+43
| | | | | | | | | | Calling sync version of xmpp_stream_in/out:stop could lead to messages never being processed by c2s process if they were queued in p1_server. This could be reproduced by when having messages in offline storage, starting sessions, enabling stream_mgmt, sending initial presence, and then immediately </stream:stream>, messages that mod_offline would send process would not be bounced back by stream_mgmt.
* sql_type should be taken for LServer, not LHost (#3202)Boris Chernov2020-03-301-1/+1
| | | sql_type option should be retrieved for the main domain, not the MUC subdomain
* Make webadmin redirect to page that end with /Paweł Chmielowski2020-03-262-6/+21
|
* Revert "Pass base path instead of level to support URL missing slash (#3177)"Paweł Chmielowski2020-03-261-107/+124
| | | | This reverts commit e9d1201ea813d19c6c7403c7aa883e314991d664.
* Do not change to attribute of sent messages from bare to full jidPaweł Chmielowski2020-03-251-1/+5
| | | | This is not correct per xmpp spec
* Fix unsubscribe command result, handle_sync_event result, and dialyzerBadlop2020-03-241-2/+4
| | | | | | How to reproduce the problems fixed by this commit: Create temporary room, other account subscribes, and owner leaves Unsubscribe that account with the command: ejabberdctl unsubscribe_room ...
* Make bounce_message_queue wait for 100ms for incoming messagesPaweł Chmielowski2020-03-231-1/+1
| | | | | | | There is possibilty that between c2s process unregistering itself from sm and terminating, some other process could try to send something to c2s, which could result in messages to triggering mam/offline hooks, and causing them not to be stored in any way.
* Make mod_muc_room:unsubscirbe handle that unsubscribe may stop roomPaweł Chmielowski2020-03-231-1/+4
|
* Better handling of xml parse errors in send_stanzaPaweł Chmielowski2020-03-231-0/+3
|
* Also add "escape '\'" to prepared statements in pgsqllike_escapePaweł Chmielowski2020-03-181-1/+1
|
* Add escape '\' to like expression in pgsql to fix problem cockroachdbPaweł Chmielowski2020-03-181-1/+1
| | | | | | Cockroachdb doesn't properly handle escaping of _ in like expressions, having "like ... escape '\'" makes it work, by disabling optimization that causes this broken behaviour
* Fix type of computed field in node_flat sql queryPaweł Chmielowski2020-03-181-5/+4
|
* Use correct type for seconds field in mod_last sql queriesPaweł Chmielowski2020-03-181-2/+4
|
* Change conversion of boolean values for cockroachdbPaweł Chmielowski2020-03-181-2/+2
|
* Fix Dialyzer warning that jid can't be 'undefined'Badlop2020-03-181-1/+1
|
* Add cache to mod_shared_rosterPaweł Chmielowski2020-03-173-29/+237
| | | | | This should help with excessive queries that sql backend generates Should fix issue #3158.
* Fix issue with family field on cockroachdbPaweł Chmielowski2020-03-171-1/+5
|
* Replace mod_shared_roster:X call with just X inside that modulePaweł Chmielowski2020-03-161-30/+34
|
* Try to limit calls to groups_with_opts in mod_shared_rosterPaweł Chmielowski2020-03-161-18/+4
|
* Pass base path instead of level to support URL missing slash (#3177)Badlop2020-03-111-124/+107
|
* fix command rooms_empty_destroy (#3183)Paweł Chmielowski2020-03-051-1/+1
|
* Add reload handler to ejabberd_auth_ldapPaweł Chmielowski2020-03-041-1/+6
| | | | | | | This will restart ldap process with new options, and should made it recognize new values. This fixes issue #3181
* Use compilation flags used during build to compile modules in ext_modPaweł Chmielowski2020-03-031-1/+1
| | | | This fixes issue #3178
* Fix list parameters in sql queries on pgsqlPaweł Chmielowski2020-02-271-6/+8
|
* Allow mod_register_web to be accessed from now-served vhosts (#3173)Badlop2020-02-261-22/+11
|
* Fix handle of 'http' atom in Headers, problem introduced in 357e7e11Badlop2020-02-261-2/+6
|
* Support ssl connection on mysqlPaweł Chmielowski2020-02-261-2/+10
|
* Make http heades passed in custom_headers override builtin headersPaweł Chmielowski2020-02-213-14/+22
| | | | | | Previously we just appended them, so sometimes we just had duplicates This fixes issue #3056
* Merge pull request #3127 from area-42/allow_emojis_with_mssqlMickaël Rémond2020-02-201-29/+64
|\ | | | | allow storage of emojis in archive on mssql
| * allow storage of emojis in archive on mssqlChristoph Scholz2019-12-271-29/+64
| |
* | Support ejabberd_auth_http's auth_opts (processone/ejabberd-contrib#284)Badlop2020-02-192-0/+25
| |
* | Do read piefxis file fully before starting processing included filePaweł Chmielowski2020-02-181-8/+17
| | | | | | | | | | | | | | | | | | | | Previous method of processing files, could lead to mixing events generated by parsers for multiple files, where we could get in inconsistant state. After this change we gather all events generated by parser for single file, before we start parsing any included file. This fixes issue #3166
* | ejabberd_admin: Fix *_config command result formatHolger Weiss2020-02-141-2/+2
| | | | | | | | | | | | | | | | The 'reload_config' and 'dump_config' calls are expected to yield a 'rescode' result, which means they must return 'ok' (rather than a tuple) on success. Fixes #3170.
* | Make piefxis import properly decode scram passwordsPaweł Chmielowski2020-02-111-3/+3
| | | | | | | | | | | | | | We encoded scramed password with base64 when exporting, but didn't apply reverse operation on import, this adds base64 decoding on import. This fixes issue #3167.
* | Remove tweak introduced in 05c2995c for #1954 as it isn't needed anymoreBadlop2020-02-071-5/+7
| |
* | Use SQL ESCAPE statement only with MSSQL and SQLite, improve compatibility ↵Alexey Shchepin2020-02-046-24/+56
| | | | | | | | with CockroachDB (#3074)
* | Optimize sql queries in pubsub select_affiliation_subscriptionsPaweł Chmielowski2020-01-311-4/+17
| |
* | Update copyright to 2020 (#3149)Badlop2020-01-28207-208/+208
| |
* | mod_http_upload: Document correct put_url defaultHolger Weiss2020-01-271-1/+1
| | | | | | | | Closes #3152.
* | Do not use ~ts format in string that are put in xmpp payloadPaweł Chmielowski2020-01-2211-36/+36
| | | | | | | | | | We are expecting utf8 data here, and using that flag will convert those to unicode codepoints, which aren't handled properly later.
* | mod_stream_mgmt: Don't crash on disabled ACK timerHolger Weiss2020-01-141-5/+11
| | | | | | | | | | | | | | Don't attempt to start an ACK timer if 'ack_timeout' is set to 'infinity'. Thanks to Ingo Jürgensmann for reporting the bug.
* | mod_carboncopy: Omit check for undefined 'from'Holger Weiss2020-01-131-12/+4
| | | | | | | | | | These days, the 'from' of an outgoing #message is guaranteed to be set to the sender's JID by xmpp_stream_in:process_authenticated_packet/2.
* | mod_carboncopy: Don't process non-message stanzasHolger Weiss2020-01-131-29/+30
| | | | | | | | | | | | | | Avoid examining presence and IQ stanzas, as they're not eligible for carbon-copying. This is just an optimization and should not change the behavior.
* | mod_carboncopy: Also copy mediated MUC invitationsHolger Weiss2020-01-131-1/+6
| |
* | mod_carboncopy: Improve is_carbon_copy() checkHolger Weiss2020-01-121-30/+17
| | | | | | | | | | Make sure the hook chain is stopped early whenever a carbon copy is processed, not just in some cases.
* | mod_carboncopy: Support new copying rulesHolger Weiss2020-01-121-6/+18
| | | | | | | | | | | | | | Support the copying rules added to XEP-0280 with version 0.13.0 under the "urn:xmpp:carbons:rules:0" namespace. Closes #3011.
* | mod_sip: Omit documentation when SIP is disabledHolger Weiss2020-01-111-2/+4
| | | | | | | | | | Don't generate the actual mod_sip documentation if ejabberd is built without SIP support.
* | mod_sip: Fix compilation without SIP supportHolger Weiss2020-01-111-1/+1
| | | | | | | | | | | | | | Make sure the T() macro is also defined when ejabberd is compiled without SIP support. Fixes #3143.
* | Generate ejabberd.yml.5 man page from source code directlyEvgeny Khramtsov2020-01-0862-61/+4851
| | | | | | | | | | | | | | Several documentation callbacks (doc/0 and mod_doc/0) are implemented and `ejabberdctl man` command is added to generate a man page. Note that the command requires a2x to be installed (which is a part of asciidoc package).
* | Omit push notifications if offline storage failedHolger Weiss2020-01-052-29/+27
|/ | | | | | | | | This commit removes the 'store_offline_message' hook which didn't allow mod_push to suppress notifications when storing an offline message failed (due to the offline spool size limit being exceeded or due to database issues). Fixes #3120.