Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prosody/util.startup: Switch to parse_args() for --root and --config | Matthew Wild | 2020-01-19 | 2 | -11/+7 |
| | |||||
* | util.startup: Add startup step for parsing command-line options | Matthew Wild | 2020-01-19 | 1 | -0/+54 |
| | |||||
* | mod_websocket: Clear mask bit when reflecting ping frames (fixes #1484)vault/0.11.4 | Kim Alvefur | 2020-01-02 | 1 | -0/+1 |
| | |||||
* | prosodyctl: Print a blank line to improve spacing and readability | Kim Alvefur | 2019-12-31 | 1 | -0/+1 |
| | |||||
* | prosodyctl check: Warn about conflict between mod_pep and mod_pep_simple | Kim Alvefur | 2019-12-31 | 1 | -0/+5 |
| | | | | Related #1483 | ||||
* | core.rostermanager: Cache rosters of offline users for faster access (fixes ↵ | Kim Alvefur | 2018-12-16 | 1 | -0/+22 |
| | | | | | | #1233) (grafted from 42a3e3a2824822cef7640ac56d182c59bdd4224e) | ||||
* | mod_mam: Fix rebase mistake [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -1/+1 |
| | | | | The 'err' was there in trunk | ||||
* | mod_muc_mam: Fix rebase mistake [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -1/+1 |
| | | | | The 'err' was there in trunk | ||||
* | mod_muc_mam: Schedule cleanup again on failure | Kim Alvefur | 2019-12-24 | 1 | -0/+1 |
| | |||||
* | mod_muc_mam: Log error when unable to delete old messages (fix #1481) [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -0/+2 |
| | |||||
* | mod_muc_mam: Log error when unable to store stanza (fix #1480) [luacheck] | Kim Alvefur | 2019-12-23 | 1 | -0/+2 |
| | |||||
* | mod_mam: Schedule cleanup again if unable to delete messages | Kim Alvefur | 2019-12-24 | 1 | -0/+1 |
| | |||||
* | mod_mam: Log error when unable to delete old messages (fix #1479) [luacheck] | Kim Alvefur | 2019-12-24 | 1 | -0/+2 |
| | |||||
* | mod_mam: Log error when unable to store stanza (fix #1478) | Kim Alvefur | 2019-12-23 | 1 | -0/+2 |
| | | | | | | Unclear what else to do here. Caught by luacheck | ||||
* | mod_auth_internal_hashed: Pass on errors from password hash function (fixes ↵ | Kim Alvefur | 2019-12-23 | 1 | -0/+6 |
| | | | | #1477) | ||||
* | mod_pep: Handle presence subscriptions in filter (fixes #1372) | Kim Alvefur | 2019-06-10 | 1 | -34/+17 |
| | | | | Take two on 045209b41b3a | ||||
* | util.pubsub: Pass subscribers trough a filter callback | Kim Alvefur | 2019-06-06 | 1 | -0/+2 |
| | |||||
* | util.pubsub: Factor out calling of broadcaster | Kim Alvefur | 2019-06-06 | 1 | -4/+8 |
| | | | | This will simplify doing things along with broadcasting. | ||||
* | net.resolvers.basic: Normalise IP literals, ensures net.server is happy | Kim Alvefur | 2019-11-24 | 1 | -0/+2 |
| | |||||
* | net.resolvers.basic: Fix resolution of IPv6 literals (in brackets) (fixes #1459) | Kim Alvefur | 2019-11-24 | 1 | -0/+3 |
| | |||||
* | net.resolvers.basic: Move IP literal check to constructor | Kim Alvefur | 2019-11-24 | 1 | -11/+14 |
| | | | | | This is to prepare for fixing #1459. An IPv6 literal in [ ] brackets does not pass IDNA and resolving it fails there. | ||||
* | core.modulemanager: Disable mod_vcard if mod_vcard_legacy is enabled to ↵ | Kim Alvefur | 2019-11-23 | 1 | -0/+5 |
| | | | | prevent conflict (#1469) | ||||
* | prosodyctl check: Warn about conflict between mod_vcard and mod_vcard_legacy ↵ | Kim Alvefur | 2019-11-23 | 1 | -0/+4 |
| | | | | (#1469) | ||||
* | MUC: Keep role across nickname change (fixes #1466) | Kim Alvefur | 2019-11-23 | 1 | -0/+3 |
| | |||||
* | util.pposix: Avoid overflow of malloc info at 2GB (fixes #1445 until 4GB) | Kim Alvefur | 2019-11-16 | 1 | -5/+5 |
| | |||||
* | net.resolvers: Fix traceback from hostname failing IDNA | Kim Alvefur | 2019-11-08 | 2 | -0/+2 |
| | | | | Related to #1426 | ||||
* | util.startup: Ensure prosody.paths are absolute (see #1430) | Kim Alvefur | 2019-11-04 | 1 | -1/+7 |
| | | | | | | | | Normally these paths are injected into the installed 'prosody' executable as absolute paths, but it is possible to override at least the config path via environment variable or command line argument. This makes sure a path relative to pwd stays relative to that instead of the data directory. | ||||
* | util.startup: Update config path (fixes #1430) | Kim Alvefur | 2019-11-03 | 1 | -1/+2 |
| | |||||
* | net.resolvers: Abort on hostnames not passing IDNA validation | Kim Alvefur | 2019-11-02 | 2 | -0/+10 |
| | | | | | | Prevents error on trying to use nil. Needs better error reporting in the future. | ||||
* | net.resolvers: Apply IDNA conversion to ascii for DNS lookups (fixes #1426) | Kim Alvefur | 2019-11-02 | 2 | -2/+4 |
| | |||||
* | util.interpolation: Support unescaped variables with more modifiers (fixes ↵ | Kim Alvefur | 2019-10-20 | 1 | -3/+3 |
| | | | | | | #1452) Tests will be added in trunk. | ||||
* | MUC: Don't advertise registration feature on host JID (fixes #1451) | Kim Alvefur | 2019-10-20 | 1 | -2/+0 |
| | | | | | | | | | | | There is currently no mention in XEP-0045 of how or where to advertise support for registration. Advertising on the host JID may be confusable with service-wide registration, as implemented in ejabberd. A common and sensible pattern in XMPP is that a feature is advertised on the JID where the service is available. | ||||
* | mod_mam: Add flag to session when it performs a MAM query | Matthew Wild | 2019-10-03 | 1 | -0/+2 |
| | |||||
* | MUC: Strip tags with MUC-related namespaces from private messages (fixes #1427) | Kim Alvefur | 2019-09-29 | 1 | -0/+1 |
| | | | | Prevents duplication since it adds another <{muc#user}x> here | ||||
* | mod_vcard_legacy: Don't owerwrite empty photo elements (fixes #1432) | Kim Alvefur | 2019-09-21 | 1 | -3/+9 |
| | |||||
* | mod_vcard_legacy: Advertise lack of avatar correctly (fixes #1431) (thanks ↵ | Kim Alvefur | 2019-09-21 | 1 | -2/+2 |
| | | | | lovetox) | ||||
* | prosodyctl: Fix traceback on incorrect proxy65_address type | Matthew Wild | 2019-09-11 | 1 | -11/+15 |
| | |||||
* | Added tag 0.11.3 for changeset dd7e924c74ef | Matthew Wild | 2019-09-05 | 0 | -0/+0 |
| | |||||
* | MUC: Fix delay@from to be room JID (fixes #1416)vault/0.11.3 | Kim Alvefur | 2019-08-31 | 1 | -2/+2 |
| | |||||
* | MUC: Advertise XEP-0410 support | Kim Alvefur | 2019-07-30 | 1 | -0/+1 |
| | | | | Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83 | ||||
* | mod_websocket: Clone stanza before mutating (fixes #1398) | Kim Alvefur | 2019-07-20 | 1 | -0/+1 |
| | | | | | | | | | | | Checking for `stanza.attr.xmlns == nil` to determine if the stanza object is an actual stanza (`<message>`, `<presence>` or `<iq>` in the `jabber:client` or `jabbber:server` namespace) or some other stream element. Since this mutation is not reverted, it may leak to other places and cause them to mistreat stanzas as stream elements. Especially in cases like MUC where a single stanza is broadcast to many recipients. | ||||
* | util.serialization: Cache default serialization instance (fixes #1389) | Kim Alvefur | 2019-07-08 | 1 | -1/+6 |
| | | | | | | Most serialization uses still use the default serialize() and thus duplicate much of the setup, which negates some of the performance improvements of the rewrite. | ||||
* | net.server_epoll: Backport timer optimization 6c2370f17027 from trunk (see ↵ | Kim Alvefur | 2019-07-08 | 1 | -48/+29 |
| | | | | | | | #1388) The previous timer handling did not scale well and led to high CPU usage with many connections (each with at least an read timeout). | ||||
* | scansion/blocking: Remove the right irrelevant thing | Kim Alvefur | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | mod_blocklist: Remove unrelated tags from test case | Kim Alvefur | 2019-06-20 | 1 | -10/+2 |
| | |||||
* | mod_blocklist: Trigger resend of presence when unblocking a contact (fixes ↵ | Kim Alvefur | 2019-06-20 | 1 | -0/+8 |
| | | | | #1380) | ||||
* | mod_blocklist: Update test case with correct behavior (see #1380) | Kim Alvefur | 2019-06-20 | 1 | -0/+6 |
| | | | | Expect failure | ||||
* | mod_blocklist: Add test case capturing current behavior | Kim Alvefur | 2019-06-20 | 1 | -0/+162 |
| | |||||
* | mod_pep: Revert 045209b41b3a, caused a regression | Kim Alvefur | 2019-06-10 | 1 | -17/+37 |
| | | | | | | Adding in all presence based subscriptions in the broadcaster caused resend_last_item() to unintentionally send out more notifications than it should have. | ||||
* | util.sql: Ignore if tables and indices already exist on creation (fixes #1064) | Kim Alvefur | 2019-05-30 | 1 | -0/+6 |
| | | | | | | Tested with SQLite3 3.16.2 and 3.27.2 and Postgres 11. MySQL does not support IF NOT EXISTS for indices so not handled here. |