Kim Alvefur [Sun, 26 Aug 2012 18:53:40 +0000 (20:53 +0200)]
util.datamanager: Ignore errors if the file is gone after removing it
Kim Alvefur [Fri, 24 Aug 2012 23:33:01 +0000 (01:33 +0200)]
util.prosodyctl: Use usermanager to delete users instead of unsetting their password
Kim Alvefur [Fri, 24 Aug 2012 23:32:26 +0000 (01:32 +0200)]
prosodyctl: Use util.prosodyctl.deluser
Kim Alvefur [Fri, 24 Aug 2012 23:31:49 +0000 (01:31 +0200)]
mod_admin_adhoc: Use usermanager.delete_user to delete users
Kim Alvefur [Fri, 24 Aug 2012 23:31:05 +0000 (01:31 +0200)]
mod_roster: When an user is deleted, unsubscribe from their contacts
Kim Alvefur [Fri, 24 Aug 2012 23:29:38 +0000 (01:29 +0200)]
mod_register: Hijack the session close call to send the final iq reply when deleting
Kim Alvefur [Fri, 24 Aug 2012 23:28:38 +0000 (01:28 +0200)]
mod_c2s: When a user gets deleted, drop all their sessions
Kim Alvefur [Fri, 24 Aug 2012 23:27:23 +0000 (01:27 +0200)]
mod_register: Remove all account cleanup
Kim Alvefur [Fri, 24 Aug 2012 23:21:41 +0000 (01:21 +0200)]
util.datamanager: Collect errors when deleting all stores of a user, but ignore "no such file"
Kim Alvefur [Fri, 24 Aug 2012 23:20:13 +0000 (01:20 +0200)]
core.usermanager: Don't close sessions ourselves when deleting users. Instead, fire an event that modules can hook.
Kim Alvefur [Tue, 21 Aug 2012 19:10:54 +0000 (21:10 +0200)]
mod_http: Rework how module:http_url() builds the url.
Kim Alvefur [Tue, 21 Aug 2012 19:03:20 +0000 (21:03 +0200)]
mod_http: Don't produce paths with double / if a module is set to serve /
Kim Alvefur [Tue, 21 Aug 2012 16:03:40 +0000 (18:03 +0200)]
tools/xep227toprosody.lua: Update childtags calls, replace some with ipairs
Kim Alvefur [Tue, 21 Aug 2012 13:33:07 +0000 (15:33 +0200)]
util.stanza: Use ipairs instead of childtags (behavior changed in
92c86e11fd44)
Waqas Hussain [Sat, 11 Aug 2012 01:14:12 +0000 (06:14 +0500)]
tools/openfire2prosody: Initial commit.
Matthew Wild [Fri, 10 Aug 2012 15:32:40 +0000 (16:32 +0100)]
Merge 0.9->trunk
Matthew Wild [Fri, 10 Aug 2012 15:31:51 +0000 (16:31 +0100)]
portmanager: Support 'local_interfaces' config option (default for private listeners like components, telnet, etc.) (thanks mva)
Waqas Hussain [Thu, 9 Aug 2012 02:17:25 +0000 (07:17 +0500)]
MUC: Fix a traceback caused by private IQ result and error stanzas where the encoded id can't be processed.
Matthew Wild [Wed, 8 Aug 2012 10:49:31 +0000 (11:49 +0100)]
util.array: Accept an iterator to the array constructor
Kim Alvefur [Tue, 7 Aug 2012 15:01:07 +0000 (17:01 +0200)]
mod_legacyauth: Remove unused variable
Kim Alvefur [Tue, 7 Aug 2012 15:00:12 +0000 (17:00 +0200)]
mod_legacyauth: Return an error if username or resource fails stringprep (thanks iron)
Matthew Wild [Sun, 5 Aug 2012 16:21:19 +0000 (17:21 +0100)]
Merge 0.9->trunk (who has been pushing to trunk?)
Matthew Wild [Sun, 5 Aug 2012 16:18:35 +0000 (17:18 +0100)]
hostmanager, mod_disco: Show optional 'name' option from the config in disco#items queries (fixes use-case in #292) (thanks diSabler, mva)
Waqas Hussain [Sat, 4 Aug 2012 18:55:52 +0000 (23:55 +0500)]
tools/erlparse: Handle decimal point in numbers.
Waqas Hussain [Sat, 4 Aug 2012 18:23:49 +0000 (23:23 +0500)]
tools/erlparse: Fix erlang string escape sequences.
Waqas Hussain [Sat, 4 Aug 2012 18:22:16 +0000 (23:22 +0500)]
MUC: Fix private IQ results and errors for non-vcard queries.
Matthew Wild [Fri, 3 Aug 2012 13:07:41 +0000 (14:07 +0100)]
moduleapi: Clarify comment
Florian Zeitz [Thu, 2 Aug 2012 19:42:00 +0000 (21:42 +0200)]
mod_admin_adhoc, mod_announce: Explicitly specify possible actions for ad-hoc commands
Florian Zeitz [Thu, 2 Aug 2012 19:28:14 +0000 (21:28 +0200)]
mod_adhoc: Add support for specifying a default action
Matthew Wild [Wed, 1 Aug 2012 00:33:21 +0000 (01:33 +0100)]
mod_muc: Fix syntax error (thanks Florob)
Matthew Wild [Wed, 1 Aug 2012 00:27:42 +0000 (01:27 +0100)]
util.pluginloader: Remove unused imports
Matthew Wild [Wed, 1 Aug 2012 00:27:31 +0000 (01:27 +0100)]
util.pluginloader: Expose load_file
Matthew Wild [Wed, 1 Aug 2012 00:03:53 +0000 (01:03 +0100)]
mod_bosh: Remove redundant code (send stream features in only one place) (thanks Zash)
Matthew Wild [Tue, 31 Jul 2012 23:39:54 +0000 (00:39 +0100)]
mod_bosh: Remove troublesome return... continue processing of the streamopen after session creation (because since
16c7b510694b we no longer send an early response)
Matthew Wild [Tue, 31 Jul 2012 22:07:02 +0000 (23:07 +0100)]
Merge Waqas<>Zash
Kim Alvefur [Tue, 31 Jul 2012 21:43:34 +0000 (23:43 +0200)]
util.pposix: Put the warning back, mention how we might still use posix_fallocate()
Kim Alvefur [Tue, 31 Jul 2012 21:38:02 +0000 (23:38 +0200)]
util.pposix: Try posix_fallocate() if fallocate() is unsupported by the file system
Kim Alvefur [Tue, 31 Jul 2012 21:34:11 +0000 (23:34 +0200)]
util.datamanager: Try to open in read+write mode, then retry with write mode if that fails (usually because it doesn't exist)
Waqas Hussain [Tue, 31 Jul 2012 20:36:34 +0000 (01:36 +0500)]
util.datamanager: Don't use os.rename on non-POSIX. It doesn't overwrite exisitng files on Windows.
Waqas Hussain [Tue, 31 Jul 2012 20:36:30 +0000 (01:36 +0500)]
MUC: Give host and server admins "owner" affiliation in all rooms.
Waqas Hussain [Tue, 31 Jul 2012 20:36:25 +0000 (01:36 +0500)]
MUC: Expose room metatable in the MUC lib.
Waqas Hussain [Tue, 31 Jul 2012 20:36:22 +0000 (01:36 +0500)]
MUC: Send unavailable presence when the component or server is shutting down.
Waqas Hussain [Tue, 31 Jul 2012 20:36:19 +0000 (01:36 +0500)]
MUC: Fix private IQ and message routing.
- All private IQ results are now routed to the resource that send the original request
- Private messages are now routed to all of the user's sessions
- Much cleaner code
Waqas Hussain [Tue, 31 Jul 2012 20:36:16 +0000 (01:36 +0500)]
mod_presence, rostermanager: Bring outbound subscription cancellation in line with RFC6121.
Waqas Hussain [Tue, 31 Jul 2012 20:36:13 +0000 (01:36 +0500)]
mod_component: For disconnected external components, if a name is specified in config, return it in disco#info replies.
Waqas Hussain [Tue, 31 Jul 2012 20:36:11 +0000 (01:36 +0500)]
MUC: Return <item-not-found/> on message and iq to non-existent rooms (thanks Maranda).
Kim Alvefur [Tue, 31 Jul 2012 06:23:55 +0000 (08:23 +0200)]
util.datamanager: Add missing mode flag to seek call
Matthew Wild [Mon, 30 Jul 2012 17:50:46 +0000 (18:50 +0100)]
mod_storage_sql: Return connection from connect even if already connected (thanks IRON)
Kim Alvefur [Mon, 30 Jul 2012 04:01:41 +0000 (06:01 +0200)]
mod_storage_sql: Complete transactions in list_stores and purge
Kim Alvefur [Sun, 29 Jul 2012 23:54:07 +0000 (01:54 +0200)]
mod_storage_sql: Keep connections in a shared cache table
Matthew Wild [Sun, 29 Jul 2012 23:40:02 +0000 (00:40 +0100)]
moduleapi: If path name ends with '-cache' create table as weak (keys and values)
Kim Alvefur [Sun, 29 Jul 2012 20:21:58 +0000 (22:21 +0200)]
util.pposix: Warn about posix_fallocate
Kim Alvefur [Sun, 29 Jul 2012 01:30:59 +0000 (03:30 +0200)]
util.datamanager: Remove a few unused imports
Matthew Wild [Sun, 29 Jul 2012 01:28:25 +0000 (02:28 +0100)]
Merge with Zash
Matthew Wild [Sun, 29 Jul 2012 01:27:07 +0000 (02:27 +0100)]
portmanager: Remove unused import of 'pairs'
Kim Alvefur [Sun, 29 Jul 2012 01:26:03 +0000 (03:26 +0200)]
util.datamanager: Write to a temporary file and atomically move it into place
Matthew Wild [Sun, 29 Jul 2012 00:56:45 +0000 (01:56 +0100)]
mod_bosh: Correctly handle data included in the session initiation request, and cork session while a request is being processed, preventing replying to requests when there may be more data to come, reducing round-trips.
Kim Alvefur [Sat, 28 Jul 2012 23:37:15 +0000 (01:37 +0200)]
configure: Add _GNU_SOURCE flag to linux and debian presets to enable Linux fallocate()
Kim Alvefur [Sat, 28 Jul 2012 20:37:24 +0000 (22:37 +0200)]
util.datamanager: Use pposix.fallocate() to make sure appends succeed. Also add a fallback fallocate()
Kim Alvefur [Sat, 28 Jul 2012 20:21:10 +0000 (22:21 +0200)]
util.pposix: Add fallocate method, backed by either posix_fallocate() or Linux fallocate()
Matthew Wild [Sat, 28 Jul 2012 19:59:03 +0000 (20:59 +0100)]
Merge with Zash
Kim Alvefur [Sat, 28 Jul 2012 19:55:05 +0000 (21:55 +0200)]
usermanager: Add method for deleting a user
Kim Alvefur [Sat, 28 Jul 2012 19:38:22 +0000 (21:38 +0200)]
storagemanager: Add method for removing all data belonging to a user
Kim Alvefur [Sat, 28 Jul 2012 19:36:42 +0000 (21:36 +0200)]
mod_storage_sql: Add method for removing all data belonging to a user
Kim Alvefur [Sat, 28 Jul 2012 19:36:36 +0000 (21:36 +0200)]
mod_storage_internal: Add method for removing all data belonging to a user
Kim Alvefur [Sat, 28 Jul 2012 19:31:54 +0000 (21:31 +0200)]
util.datamanager: Add function for removing all data belonging to a user
Kim Alvefur [Sat, 28 Jul 2012 19:30:54 +0000 (21:30 +0200)]
storagemanager: Add method for listing stores
Kim Alvefur [Sat, 28 Jul 2012 19:30:24 +0000 (21:30 +0200)]
storagemanager: Split out driver choosing from the open() method
Kim Alvefur [Sat, 28 Jul 2012 19:27:45 +0000 (21:27 +0200)]
mod_storage_sql: Add method for listing stores
Kim Alvefur [Sat, 28 Jul 2012 19:26:33 +0000 (21:26 +0200)]
mod_storage_sql: Split out query handling logic from getsql() into a separate function
Kim Alvefur [Sat, 28 Jul 2012 19:24:59 +0000 (21:24 +0200)]
mod_storage_internal: Add method for listing stores
Kim Alvefur [Sat, 28 Jul 2012 19:22:42 +0000 (21:22 +0200)]
util.datamanager: Add function for listing stores
Matthew Wild [Sat, 28 Jul 2012 17:50:04 +0000 (18:50 +0100)]
mod_bosh: Backout revision
bc0a68cae236 (experimental bosh_auto_cork option) as I don't believe it works
Matthew Wild [Sat, 28 Jul 2012 00:28:14 +0000 (01:28 +0100)]
mod_admin_telnet: Import prosody.incoming_s2s
Matthew Wild [Sat, 28 Jul 2012 00:25:01 +0000 (01:25 +0100)]
mod_admin_telnet: Fix usage of incorrect variable
Matthew Wild [Sat, 28 Jul 2012 00:24:48 +0000 (01:24 +0100)]
mod_admin_telnet: Remove unused variable
Matthew Wild [Sat, 28 Jul 2012 00:24:34 +0000 (01:24 +0100)]
mod_admin_telnet: Import portmanager and s2smanager, as they are both used
Matthew Wild [Sat, 28 Jul 2012 00:19:09 +0000 (01:19 +0100)]
mod_admin_telnet: Fix broken indentation
Matthew Wild [Sat, 28 Jul 2012 00:17:23 +0000 (01:17 +0100)]
mod_admin_telnet: Use module:get_option() instead of configmanager directly
Matthew Wild [Sat, 28 Jul 2012 00:14:31 +0000 (01:14 +0100)]
Merge with Florob
Matthew Wild [Fri, 27 Jul 2012 19:29:32 +0000 (20:29 +0100)]
mod_dialback: Ignore <db:verify/> with a 'type' attribute on incoming connections, instead of interpreting them as a request to verify a key
Matthew Wild [Thu, 26 Jul 2012 15:46:18 +0000 (16:46 +0100)]
net.server_event: Replace usage of string.len() with # operator
Matthew Wild [Thu, 26 Jul 2012 14:16:52 +0000 (15:16 +0100)]
mod_vcard: Remove vcard_compatibility COMPAT (moved to mod_compat_vcard in prosody-modules), and add warning for those using the option
Kim Alvefur [Thu, 26 Jul 2012 02:45:22 +0000 (04:45 +0200)]
mod_muc: Remove unused variable and pull hosts into a local
Kim Alvefur [Thu, 26 Jul 2012 02:41:56 +0000 (04:41 +0200)]
mod_muc: Use module:send() instead of core_*_stanza()
Kim Alvefur [Thu, 26 Jul 2012 02:35:13 +0000 (04:35 +0200)]
mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome: Use module:send() instead of core_*_stanza()
Kim Alvefur [Thu, 26 Jul 2012 02:33:17 +0000 (04:33 +0200)]
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
Kim Alvefur [Thu, 26 Jul 2012 02:30:30 +0000 (04:30 +0200)]
stanza_router: Warn if the global core_*_stanza() functions are called
Kim Alvefur [Thu, 26 Jul 2012 00:27:24 +0000 (02:27 +0200)]
mod_admin_telnet: Add xmpp:ping(from, to), useful for initiating s2s connections
Kim Alvefur [Wed, 25 Jul 2012 18:33:20 +0000 (20:33 +0200)]
net.server_event: Don't emit empty packets, check for errors first. (fixes #287)
Kim Alvefur [Wed, 25 Jul 2012 18:31:14 +0000 (20:31 +0200)]
portmanager: Show a friendly error message when initializing SSL fails (thanks MattJ for the entire patch that I fixed one line in)
Matthew Wild [Wed, 25 Jul 2012 17:51:49 +0000 (18:51 +0100)]
Merge with Zash
IRON [Wed, 25 Jul 2012 16:04:42 +0000 (19:04 +0300)]
mod_pep: Allow configurable service discovery identity (Fix)
Matthew Wild [Wed, 25 Jul 2012 15:57:22 +0000 (16:57 +0100)]
Merge with IRON
IRON [Wed, 25 Jul 2012 15:49:13 +0000 (18:49 +0300)]
mod_pep: Allow configurable service discovery identity
Kim Alvefur [Tue, 24 Jul 2012 20:03:51 +0000 (22:03 +0200)]
mod_admin_telnet: Remove useless call to string.lower()
Kim Alvefur [Tue, 24 Jul 2012 19:37:16 +0000 (21:37 +0200)]
mod_admin_telnet: Add missing import of usermanager
Kim Alvefur [Tue, 24 Jul 2012 19:36:47 +0000 (21:36 +0200)]
mod_admin_telnet: Remove unused or duplicated locals
Matthew Wild [Tue, 24 Jul 2012 14:50:11 +0000 (15:50 +0100)]
loggingmanager: Remove unused variables
Matthew Wild [Tue, 24 Jul 2012 09:56:47 +0000 (10:56 +0100)]
mod_auth_cyrus, util.sasl_cyrus: Add new option 'cyrus_server_fqdn' to override the hostname passed to Cyrus (and used in e.g. GSSAPI/Kerberos) - fixes #295