Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | doap: Add XEP-0333origin/13.013.0 | Kim Alvefur | 5 days | 2 | -2/+0 |
| | |||||
* | doap: Add XEP-0334 | Kim Alvefur | 5 days | 2 | -2/+0 |
| | |||||
* | mod_http_file_share: Explicitly reject all unsupported ranges | Kim Alvefur | 5 days | 1 | -0/+3 |
| | | | | Fail fast. Otherwise it sends the whole file. | ||||
* | mod_http_file_share: Fix off by one in Range response | Kim Alvefur | 5 days | 1 | -2/+3 |
| | | | | See #1914 | ||||
* | mod_storage_sql: Drop legacy index without confirmation to ease upgrades | Kim Alvefur | 5 days | 1 | -10/+6 |
| | | | | | Deleting one index should be safe enough to do without requiring a explicitly upgrading during downtime. People had trouble with this. | ||||
* | mod_storage_sql: Fix indentation | Kim Alvefur | 9 days | 1 | -28/+28 |
| | | | | Off-by-one in autoindent after `if not success then` since 3ec48555b773 | ||||
* | mod_http_file_share: Improve error reporting by using util.error more | Kim Alvefur | 12 days | 1 | -9/+30 |
| | | | | | This should pass back the error message as well as the status code to the client. | ||||
* | prosodyctl shell: More reliable detection of REPL/interactive mode (fixes #1895) | Matthew Wild | 2025-03-13 | 1 | -4/+2 |
| | |||||
* | mod_admin_shell: Remove outdated help text (fixes #1898) | Matthew Wild | 2025-03-13 | 1 | -7/+2 |
| | | | | | | | | The ! commands have been broken for some time, and we're not going to implement them right now. If we want fancier editing, we can now do that on the client side (with readline and stuff). Also removes mention of telnet! | ||||
* | mod_websocket: Merge session close handling changes from mod_c2s (bug fixes) | Matthew Wild | 2025-03-11 | 1 | -11/+17 |
| | | | | | | | | | | | | | | | | | This should bring some fixes and general robustness that mod_websocket had missed out on. The duplicated code here is not at all ideal. To prevent this happening again, we should figure out how to have the common logic in a single place, while still being able to do the websocket-specific parts that we need. The main known bug that this fixes is that it's possible for a session to get into a non-destroyable state. For example, if we try to session:close() a hibernating session, then session.conn is nil and the function will simply return without doing anything. In the mod_c2s code we already handle this, and just destroy the session. But if a hibernating websocket session is never resumed or becomes non-resumable, it will become immortal! By merging the fix from mod_c2s, the session should now be correctly destroyed. | ||||
* | mod_c2s: Code formatting change | Matthew Wild | 2025-03-11 | 1 | -2/+6 |
| | | | | | | Although we do sometimes use single-line if blocks, I'm expanding this one to make it easier to compare with the duplicated (but modified) code in mod_websocket that we plan to de-duplicate one day. | ||||
* | mod_storage_internal: Use UUIDv7 for message ids | Matthew Wild | 2025-03-10 | 1 | -2/+2 |
| | | | | | | This matches what we use for SQL already, so provides some consistency. Client developers prefer sortable ids. | ||||
* | mod_external_services: Also use TURN REST credential algo for 'turns' ↵ | Matthew Wild | 2025-03-01 | 1 | -0/+1 |
| | | | | (thanks moreroid) | ||||
* | mod_component: Don't return error reply for errors, fixes #1897 | Kim Alvefur | 2025-02-22 | 1 | -1/+3 |
| | |||||
* | mod_bosh,mod_websocket: Don't load mod_http_altconnect in global context | Kim Alvefur | 2025-02-22 | 2 | -2/+6 |
| | | | | | | It blocked loading on VirtualHosts since it was already loaded globally Thanks eTaurus | ||||
* | mod_invites: Hide --group flag unless mod_invites_groups is enabled | Matthew Wild | 2025-02-17 | 1 | -1/+6 |
| | | | | | | The WIP groups support is not complete yet, and won't work without extra modules (which are not yet a part of Prosody). For now we hide --group support unless mod_invites_groups (community module) is specified in modules_enabled. | ||||
* | mod_invites: Fix traceback when no flags passed | Matthew Wild | 2025-02-17 | 1 | -6/+6 |
| | |||||
* | mod_invites: Deprecate 'mod_invites generate' in favour of new shell commands | Matthew Wild | 2025-02-17 | 1 | -108/+61 |
| | |||||
* | mod_admin_shell: Improve help listing in non-REPL mode | Matthew Wild | 2025-02-17 | 1 | -2/+36 |
| | |||||
* | mod_admin_shell: Fix simple command execution (e.g. help) | Matthew Wild | 2025-02-17 | 1 | -3/+15 |
| | |||||
* | mod_admin_shell: Set flag on session when in REPL mode | Matthew Wild | 2025-02-17 | 1 | -0/+4 |
| | |||||
* | mod_admin_shell: Improved error handling for shell-invoked commands | Matthew Wild | 2025-02-17 | 1 | -5/+25 |
| | |||||
* | mod_admin_shell, util.prosodyctl.shell: Process command-line args on ↵ | Matthew Wild | 2025-02-17 | 1 | -18/+95 |
| | | | | | | | | | | | | server-side, with argparse support This allow a shell-command to provide a 'flags' field, which will automatically cause the parameters to be fed through argparse. The rationale is to make it easier for more complex commands to be invoked from the command line (`prosodyctl shell foo bar ...`). Until now they were limited to accepting a list of strings, and any complex argument processing was non-standard and awkward to implement. | ||||
* | mod_invites: Fix storing --group (thanks lissine) | Kim Alvefur | 2025-02-17 | 1 | -1/+1 |
| | | | | | | | This made it ignore `--group` completely, but if you incorrectly used `--group foo` it would store `groups=true`. Introduced in 9ba11ef91ce4 | ||||
* | mod_bosh, mod_websocket: Add soft dependency on mod_http_altconnect | Matthew Wild | 2025-02-16 | 2 | -0/+4 |
| | |||||
* | mod_http_altconnect: Imported from prosody-modules 6d5a19bdd718 w/changes | Matthew Wild | 2025-02-16 | 1 | -0/+52 |
| | | | | | | | Changes from community version: - Add options to allow explicit control over whether BOSH/WS is advertised - Always serve XML at /host-meta (no guessing based on Accept), least surprising | ||||
* | mod_http_file_share: Persist total storage usage when it increases (fixes #1891) | Matthew Wild | 2025-02-15 | 1 | -0/+1 |
| | |||||
* | core.certmanager: Move LuaSec verification tweaks to mod_s2s | Kim Alvefur | 2025-02-15 | 1 | -0/+8 |
| | | | | | These two settings are only really needed for XMPP server-to-server connections. | ||||
* | mod_cloud_notify, mod_cron, mod_invites: Add 'prosody.' prefix to requires | Matthew Wild | 2025-02-15 | 3 | -10/+10 |
| | |||||
* | MUC: Use new XEP namespace for hats by default | Matthew Wild | 2025-02-14 | 1 | -1/+1 |
| | | | | Revert with muc_hats_compat = true in the config if necessary. | ||||
* | mod_admin_shell: Remove duplicated line | Matthew Wild | 2025-02-13 | 1 | -2/+0 |
| | |||||
* | mod_admin_shell: Rename user:setrole to user:set_roles | Matthew Wild | 2025-02-13 | 1 | -4/+4 |
| | | | | | This is more readable and accessible, and it will only be harder to change after release. | ||||
* | mod_admin_shell: Hide secondary role commands, focus on primary roles | Matthew Wild | 2025-02-13 | 1 | -7/+17 |
| | | | | | | | | | Secondary roles are an advanced feature without any strong use cases currently. Having multiple ways to manage roles is confusing. Now the 'user:role' command will just show the primary role if that is all there is, but will list secondary roles too if there are any (which in 99.9% of cases there won't be). | ||||
* | mod_admin_shell: Support for hiding certain commands from default help listing | Matthew Wild | 2025-02-13 | 1 | -5/+8 |
| | | | | Useful for e.g. deprecated commands. | ||||
* | mod_account_activity: Fix error when no duration specified in shell command | Matthew Wild | 2025-02-13 | 1 | -1/+1 |
| | |||||
* | mod_admin_shell: Fix result handling of user addrole/delrole commands | Matthew Wild | 2025-02-13 | 1 | -2/+10 |
| | |||||
* | mod_authz_internal: Fix error messages | Matthew Wild | 2025-02-13 | 1 | -2/+2 |
| | |||||
* | mod_authz_internal: Fix return values of secondary role management methods | Matthew Wild | 2025-02-13 | 1 | -3/+8 |
| | | | | usermanager expects (role, err) and (ok, err) | ||||
* | mod_presence: Fix traceback if origin gets disconnected during processing | Matthew Wild | 2025-02-13 | 1 | -2/+10 |
| | | | | Fixes #1887 | ||||
* | mod_invites: Add shell commands to list, show and delete pending invitations | Matthew Wild | 2025-02-13 | 1 | -0/+140 |
| | |||||
* | mod_invites: Shell command to create reset links | Matthew Wild | 2025-02-13 | 1 | -0/+18 |
| | |||||
* | mod_account_activity: Add shell command to list inactive accounts | Matthew Wild | 2025-02-12 | 1 | -0/+43 |
| | | | | Including accounts which may never have logged in. | ||||
* | mod_account_activity: Fix required module names | Matthew Wild | 2025-02-12 | 1 | -3/+3 |
| | |||||
* | mod_account_activity: Record an account's last activity timestamp | Matthew Wild | 2025-02-12 | 1 | -0/+109 |
| | | | | | | | | | | | | | This is similar to mod_lastlog/mod_lastlog2. Some functionality was dropped, compared to mod_lastlog2. These features (recording the IP address, or tracking the timestamp of multiple events) are handled better by the mod_audit family of modules. For example, those correctly handle multiple logins, IP address truncation, and data retention policies. The "registered" timestamp from mod_lastlog2 was also dropped, as this has been stored in account_details by Prosody itself since at least 0.12 already. | ||||
* | mod_storage_sql: Fix tests for SQLite3 | Kim Alvefur | 2025-02-08 | 1 | -1/+1 |
| | | | | Tests does not run the code that initializes `sqlite_version` | ||||
* | MUC: Don't inform people about the avatar hash when there is none | Matthew Wild | 2025-02-07 | 1 | -0/+1 |
| | |||||
* | mod_vcard: Switch store name for MUC hosts (thanks lissine) | Matthew Wild | 2025-02-06 | 1 | -2/+8 |
| | |||||
* | mod_muc: Integrate support for vcards/avatars on MUC rooms | Matthew Wild | 2025-02-06 | 2 | -0/+85 |
| | | | | | | This was previously served by a community module (mod_vcard_muc). It can be disabled by setting `vcard_muc = false` in the config. | ||||
* | mod_vcard: Some support for handling vcards on components | Matthew Wild | 2025-02-06 | 1 | -3/+7 |
| | |||||
* | mod_vcard: Fire event when vcard updated | Matthew Wild | 2025-02-06 | 1 | -0/+1 |
| |