Waqas Hussain [Wed, 5 Jan 2011 01:34:23 +0000 (06:34 +0500)]
net.httpserver: Removed unused import and variables.
Waqas Hussain [Wed, 5 Jan 2011 01:26:49 +0000 (06:26 +0500)]
net.httpserver: Changed an unnecessary global access.
Waqas Hussain [Wed, 5 Jan 2011 01:23:58 +0000 (06:23 +0500)]
mod_storage_sql: Removed unnecessary initialization of a variable.
Waqas Hussain [Wed, 5 Jan 2011 01:23:17 +0000 (06:23 +0500)]
net.httpserver: Decode percent-encoded characters in URL path.
Waqas Hussain [Wed, 5 Jan 2011 01:16:27 +0000 (06:16 +0500)]
modulemanager: Removed an unused variable.
Waqas Hussain [Wed, 5 Jan 2011 01:16:07 +0000 (06:16 +0500)]
configmanager: Added rawget().
Matthew Wild [Tue, 4 Jan 2011 21:38:14 +0000 (21:38 +0000)]
mod_bosh: Fix for miscalculating inactivity, causing disconnects under a steady stream of traffic
Matthew Wild [Tue, 4 Jan 2011 21:19:28 +0000 (21:19 +0000)]
prosody, prosodyctl: Filter out relative paths from package.(c)path when installed
Matthew Wild [Tue, 4 Jan 2011 21:18:35 +0000 (21:18 +0000)]
prosody, prosodyctl: Create prosody object as a local before exporting as a global
Matthew Wild [Tue, 4 Jan 2011 17:21:58 +0000 (17:21 +0000)]
mod_register: Small code cleanup
Matthew Wild [Tue, 4 Jan 2011 17:19:39 +0000 (17:19 +0000)]
mod_register: Change to use new delete_user auth provider method
Matthew Wild [Tue, 4 Jan 2011 17:15:47 +0000 (17:15 +0000)]
mod_register: Add registration_compat config option to allow account remove requests addressed to='host' (defaults to true)
Matthew Wild [Tue, 4 Jan 2011 17:12:28 +0000 (17:12 +0000)]
mod_auth_internal_*: Support for delete_user method
Matthew Wild [Tue, 4 Jan 2011 17:11:51 +0000 (17:11 +0000)]
usermanager: Add delete_user method
Matthew Wild [Tue, 4 Jan 2011 17:11:37 +0000 (17:11 +0000)]
usermanager: Have methods not implemented in the active provider fall back to the null provider (later we can add support for chains of providers)
Matthew Wild [Tue, 4 Jan 2011 17:10:56 +0000 (17:10 +0000)]
usermanager: Change dummy provider method to return an error string also (method not implemented)
Matthew Wild [Tue, 4 Jan 2011 16:37:57 +0000 (16:37 +0000)]
net.adns: Log the DNS server that a query is sent to
Kim Alvefur [Mon, 3 Jan 2011 08:40:45 +0000 (09:40 +0100)]
MUC: Fix a pair of missing :up()
Kim Alvefur [Wed, 29 Dec 2010 18:24:19 +0000 (19:24 +0100)]
mod_pubsub: Correctly wrap the list of subscriptions in a pubsub element
Waqas Hussain [Wed, 29 Dec 2010 13:49:59 +0000 (18:49 +0500)]
util.xmppstream: Optimized stanza building by bypassing the stanza API.
Waqas Hussain [Wed, 29 Dec 2010 13:45:31 +0000 (18:45 +0500)]
util.sasl: Cache the calculated mechanisms set for SASL profiles (profile.mechanisms table).
Waqas Hussain [Tue, 28 Dec 2010 04:59:27 +0000 (09:59 +0500)]
prosody: Don't add a datamanager callback when anonymous_login=true (mod_auth_anonymous does this now).
Waqas Hussain [Tue, 28 Dec 2010 04:58:40 +0000 (09:58 +0500)]
hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now).
Waqas Hussain [Tue, 28 Dec 2010 00:28:15 +0000 (05:28 +0500)]
mod_saslauth: Remove special handling for SASL ANONYMOUS, and let mod_auth_anonymous handle it.
Waqas Hussain [Mon, 27 Dec 2010 15:46:01 +0000 (20:46 +0500)]
usermanager: Assume authentication="anonymous" when anonymous_login=true.
Waqas Hussain [Mon, 27 Dec 2010 14:57:04 +0000 (19:57 +0500)]
util.sasl.*, mod_auth_*, mod_saslauth: Pass SASL handler as first parameter to SASL profile callbacks.
Waqas Hussain [Mon, 27 Dec 2010 14:43:57 +0000 (19:43 +0500)]
mod_storage_sql: Use util.json instead of util.serialization.
Waqas Hussain [Mon, 27 Dec 2010 14:37:04 +0000 (19:37 +0500)]
util.json: Initial commit.
Waqas Hussain [Mon, 27 Dec 2010 01:10:35 +0000 (06:10 +0500)]
mod_storage_sql: Log an error on query failure.
Waqas Hussain [Mon, 27 Dec 2010 01:10:35 +0000 (06:10 +0500)]
mod_storage_sql: Remove the subkey column from the Prosody table, and make the map store compatible with the key-value store.
Waqas Hussain [Mon, 27 Dec 2010 01:10:35 +0000 (06:10 +0500)]
mod_storage_sql: Dynamically replace backquotes with double quotes when connecting to PostgreSQL...
Waqas Hussain [Mon, 27 Dec 2010 01:10:35 +0000 (06:10 +0500)]
mod_storage_sql: Call commit() after all SQL statements, including SELECT, to get SQLite to drop its locks.
Waqas Hussain [Mon, 27 Dec 2010 01:10:35 +0000 (06:10 +0500)]
mod_storage_sql: Quote identifiers in SQL with backquotes, and use the empty string for NULL, and '=' instead of 'IS' for comparison, to work with MySQL's limitations...
Robert Hoelz [Fri, 10 Dec 2010 05:25:16 +0000 (23:25 -0600)]
Don't check priority in mod_offline
Robert Hoelz [Thu, 9 Dec 2010 18:41:30 +0000 (12:41 -0600)]
mod_message, mod_offline: Change message/offline/store -> message/offline/handle
Robert Hoelz [Thu, 9 Dec 2010 18:38:33 +0000 (12:38 -0600)]
mod_offline: Make sure mod_offline's store handler reports success vs failure.
Robert Hoelz [Thu, 9 Dec 2010 18:36:29 +0000 (12:36 -0600)]
mod_message: Send service-unavailable if offline storage fails.
Robert Hoelz [Thu, 9 Dec 2010 18:28:05 +0000 (12:28 -0600)]
mod_presence, mod_offline: Merge message/offline/delete with message/offline/broadcast.
Robert Hoelz [Thu, 9 Dec 2010 18:23:37 +0000 (12:23 -0600)]
core.offlinemanager, mod_message, mod_presence: Removed core.offlinemanager in favor of mod_offline.
Waqas Hussain [Mon, 27 Dec 2010 01:10:34 +0000 (06:10 +0500)]
modulemanager: Auto-load mod_offline.
Matthew Wild [Sun, 26 Dec 2010 05:47:38 +0000 (05:47 +0000)]
util.pposix: Remove extraneous semicolon
Matthew Wild [Sun, 26 Dec 2010 05:45:35 +0000 (05:45 +0000)]
util.encodings: Switch comment styles to build ok as ANSI C
Matthew Wild [Sun, 26 Dec 2010 05:37:27 +0000 (05:37 +0000)]
util-src/Makefile: Change parameter order so that LDFLAGS always comes later than the input files
Matthew Wild [Sun, 26 Dec 2010 05:01:58 +0000 (05:01 +0000)]
util-src/Makefile: Clean up and remove unnecessary all linking
Matthew Wild [Sun, 26 Dec 2010 05:00:45 +0000 (05:00 +0000)]
configure: Don't add -llua to LDFLAGS, it's unnecessary
Matthew Wild [Fri, 24 Dec 2010 18:54:54 +0000 (18:54 +0000)]
mod_saslauth: Handle session bind requests to the host, fixes OneTeam login
Matthew Wild [Fri, 24 Dec 2010 04:58:09 +0000 (04:58 +0000)]
s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets)
Matthew Wild [Fri, 24 Dec 2010 04:57:17 +0000 (04:57 +0000)]
s2smanager: Handle DNS lookup error in response handler
Matthew Wild [Fri, 24 Dec 2010 04:56:37 +0000 (04:56 +0000)]
s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly
Matthew Wild [Fri, 24 Dec 2010 04:56:02 +0000 (04:56 +0000)]
s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets)
Matthew Wild [Fri, 24 Dec 2010 04:52:40 +0000 (04:52 +0000)]
net.adns: Handle dns.query() failures, and pass error to handler
Matthew Wild [Fri, 24 Dec 2010 04:52:13 +0000 (04:52 +0000)]
net.dns: resolver:query(): Handle getsocket() failures, and return true on success
Matthew Wild [Fri, 24 Dec 2010 04:51:34 +0000 (04:51 +0000)]
net.dns: resolver:getsocket(): Return nil, err on failure
Matthew Wild [Fri, 24 Dec 2010 04:49:30 +0000 (04:49 +0000)]
s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session)
Matthew Wild [Fri, 24 Dec 2010 04:48:38 +0000 (04:48 +0000)]
s2smanager: Add a missing semi-colon
Matthew Wild [Fri, 24 Dec 2010 04:48:18 +0000 (04:48 +0000)]
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction
Matthew Wild [Fri, 24 Dec 2010 04:47:18 +0000 (04:47 +0000)]
s2smanager: retire_session(): Add a 'reason' parameter
Matthew Wild [Wed, 22 Dec 2010 23:30:47 +0000 (23:30 +0000)]
mod_pubsub: Include node in disco#items reply
Matthew Wild [Wed, 22 Dec 2010 20:39:30 +0000 (20:39 +0000)]
s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/)
Matthew Wild [Wed, 22 Dec 2010 20:38:40 +0000 (20:38 +0000)]
s2smanager: send_to_host(): Return false on failure, and true otherwise
Kim Alvefur [Wed, 22 Dec 2010 16:23:55 +0000 (17:23 +0100)]
mod_pubsub: Fix missing disco#items xmlns
Kim Alvefur [Wed, 22 Dec 2010 16:42:35 +0000 (17:42 +0100)]
util.pubsub: Return correct node in get_subscriptions()
Matthew Wild [Wed, 22 Dec 2010 16:53:38 +0000 (16:53 +0000)]
mod_pubsub: Implement disco#info for nodes
Matthew Wild [Wed, 22 Dec 2010 16:46:19 +0000 (16:46 +0000)]
util.filters: Add remove_filter_hook()
Matthew Wild [Wed, 22 Dec 2010 16:45:32 +0000 (16:45 +0000)]
util.pubsub: Use correct node name when returning a list of multiple nodes in a subscriptions response
Matthew Wild [Wed, 22 Dec 2010 03:49:52 +0000 (03:49 +0000)]
mod_pubsub: Implement get_subscriptions
Matthew Wild [Wed, 22 Dec 2010 03:49:23 +0000 (03:49 +0000)]
mod_pubsub: Add get_subscriptions and get_subscriptions_other capabilities to default affiliations
Matthew Wild [Wed, 22 Dec 2010 03:48:51 +0000 (03:48 +0000)]
mod_pubsub: Add add_subscription and get_subscriptions to feature_map
Matthew Wild [Wed, 22 Dec 2010 03:46:32 +0000 (03:46 +0000)]
util.pubsub: Add service-wide subscription tracking, and add :get_subscriptions()
Matthew Wild [Wed, 22 Dec 2010 03:46:07 +0000 (03:46 +0000)]
util.pubsub: Small code tidying for :get_subscription()
Matthew Wild [Wed, 22 Dec 2010 03:44:51 +0000 (03:44 +0000)]
util.pubsub: Fix traceback when using autocreate-on-subscribe
Matthew Wild [Wed, 22 Dec 2010 03:04:44 +0000 (03:04 +0000)]
mod_pubsub: Set normalize_jid instead of jids_equal
Matthew Wild [Wed, 22 Dec 2010 03:04:14 +0000 (03:04 +0000)]
util.pubsub: Add service:jids_equal() and new config option normalize_jid
Matthew Wild [Wed, 22 Dec 2010 02:19:14 +0000 (02:19 +0000)]
mod_pubsub: Fix a missing :up() from the last commit
Matthew Wild [Wed, 22 Dec 2010 02:17:45 +0000 (02:17 +0000)]
mod_pubsub: Handle disco#items on nodes
Matthew Wild [Wed, 22 Dec 2010 02:13:26 +0000 (02:13 +0000)]
util.pubsub: get_items(): When requesting a specific item, use the id as a key to mirror the multiple-item case
Matthew Wild [Tue, 21 Dec 2010 22:26:22 +0000 (22:26 +0000)]
prosody: Catch a recursive Include error and print a more friendly error
Matthew Wild [Tue, 21 Dec 2010 22:25:54 +0000 (22:25 +0000)]
configmanager: Filenames without a path are also relative to the config file path, not the current working directory
Matthew Wild [Tue, 21 Dec 2010 15:26:37 +0000 (15:26 +0000)]
util.pubsub: Add service:set_node_capabilities()
Matthew Wild [Tue, 21 Dec 2010 14:44:13 +0000 (14:44 +0000)]
util.xmppstream: Allow stream_ns = "" for parsing streams with no xmlns
Matthew Wild [Tue, 21 Dec 2010 05:05:20 +0000 (05:05 +0000)]
Merge with 0.8
Matthew Wild [Tue, 21 Dec 2010 04:36:34 +0000 (04:36 +0000)]
mod_pubsub: Use bare JID in get_affiliation
Matthew Wild [Tue, 21 Dec 2010 04:18:58 +0000 (04:18 +0000)]
mod_pubsub: Skip false features in feature_map
Matthew Wild [Tue, 21 Dec 2010 04:17:24 +0000 (04:17 +0000)]
util.pubsub: Fix nil global access in get_nodes()
Matthew Wild [Tue, 21 Dec 2010 04:15:54 +0000 (04:15 +0000)]
mod_pubsub: Return disco#info stanza from build_disco_info()
Matthew Wild [Tue, 21 Dec 2010 04:15:29 +0000 (04:15 +0000)]
mod_pubsub: Iterate over disco features in correct table
Matthew Wild [Tue, 21 Dec 2010 04:06:36 +0000 (04:06 +0000)]
mod_pubsub: Build disco#info based on the methods provided by the pubsub service object. Add public set_service() method to change the service object used by the module.
Matthew Wild [Tue, 21 Dec 2010 03:30:18 +0000 (03:30 +0000)]
mod_pubsub: Fix capabilities table from some debugging
Matthew Wild [Tue, 21 Dec 2010 03:29:29 +0000 (03:29 +0000)]
mod_pubsub: Make the pubsub host an admin too
Matthew Wild [Tue, 21 Dec 2010 03:27:22 +0000 (03:27 +0000)]
mod_pubsub: Update for latest util.pubsub and fix some bugs. New config options autocreate_on_publish, autocreate_on_subscribe and default_admin_affiliation.
Matthew Wild [Tue, 21 Dec 2010 03:26:06 +0000 (03:26 +0000)]
util.pubsub: Too many changes to list or split sensibly. Added access control to all methods, with capabilities support. Renamed get() -> get_items() and changed it to return true, result on success. Support for autocreate_on_subscribe and autocreate_on_publish config options.
Matthew Wild [Tue, 21 Dec 2010 03:22:40 +0000 (03:22 +0000)]
util.pubsub: Modify new() to take a config, and add a default config via a metatable
Matthew Wild [Tue, 21 Dec 2010 03:18:17 +0000 (03:18 +0000)]
mod_pubsub: Add 'forbidden' error support
Matthew Wild [Tue, 21 Dec 2010 01:47:49 +0000 (01:47 +0000)]
prosody.cfg.lua.dist: Add note about external gateways
Matthew Wild [Tue, 21 Dec 2010 01:47:49 +0000 (01:47 +0000)]
prosody.cfg.lua.dist: Add note about external gateways
Matthew Wild [Tue, 21 Dec 2010 01:30:27 +0000 (01:30 +0000)]
prosody.cfg.lua.dist: Update for new logging config format
Matthew Wild [Tue, 21 Dec 2010 01:30:27 +0000 (01:30 +0000)]
prosody.cfg.lua.dist: Update for new logging config format
Matthew Wild [Mon, 20 Dec 2010 14:06:32 +0000 (14:06 +0000)]
configmanager: Support for wildcards in Include directives
Matthew Wild [Mon, 20 Dec 2010 14:06:32 +0000 (14:06 +0000)]
configmanager: Support for wildcards in Include directives
Matthew Wild [Mon, 20 Dec 2010 14:06:16 +0000 (14:06 +0000)]
prosody, prosodyctl, util.dependencies: Split checking and logging of dependencies so we can check hard deps before the config and logging is loaded