prosody.git
14 years agoMakefile: Install fallbacks/ directory
Matthew Wild [Wed, 1 Jul 2009 23:25:14 +0000 (00:25 +0100)]
Makefile: Install fallbacks/ directory

14 years agomod_offline: Initial commit
Waqas Hussain [Wed, 1 Jul 2009 19:48:18 +0000 (00:48 +0500)]
mod_offline: Initial commit

14 years agoMerged with trunk
Waqas Hussain [Wed, 1 Jul 2009 19:47:21 +0000 (00:47 +0500)]
Merged with trunk

14 years agomod_pep: Fixed boolean indexing error while casting all messages for a user
Waqas Hussain [Wed, 1 Jul 2009 19:43:32 +0000 (00:43 +0500)]
mod_pep: Fixed boolean indexing error while casting all messages for a user

14 years agoSend xml:lang in stream headers, fixes #78
Matthew Wild [Wed, 1 Jul 2009 16:53:18 +0000 (17:53 +0100)]
Send xml:lang in stream headers, fixes #78

14 years agoMaking sure the node is in unicode when passing it to password lookup function.
Tobias Markmann [Wed, 1 Jul 2009 13:14:44 +0000 (15:14 +0200)]
Making sure the node is in unicode when passing it to password lookup function.

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Mon, 29 Jun 2009 13:13:49 +0000 (14:13 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoMerge with nolan
Matthew Wild [Mon, 29 Jun 2009 13:10:11 +0000 (14:10 +0100)]
Merge with nolan

15 years agomodulemanager: Don't close stream on stream:error with unsupported-stanza-type (fixes...
Waqas Hussain [Mon, 29 Jun 2009 10:26:04 +0000 (15:26 +0500)]
modulemanager: Don't close stream on stream:error with unsupported-stanza-type (fixes #102)

15 years agoprosody.cfg.lua.dist: Removed 'presence' from default modules list
Waqas Hussain [Mon, 29 Jun 2009 10:20:26 +0000 (15:20 +0500)]
prosody.cfg.lua.dist: Removed 'presence' from default modules list

15 years agostanza_router: Removed unnecessary xmlns check
Waqas Hussain [Mon, 29 Jun 2009 08:15:46 +0000 (13:15 +0500)]
stanza_router: Removed unnecessary xmlns check

15 years agostanza_router: Don't fire preprocessing events if stanza is not from full JID
Waqas Hussain [Mon, 29 Jun 2009 08:15:09 +0000 (13:15 +0500)]
stanza_router: Don't fire preprocessing events if stanza is not from full JID

15 years agoutil.pluginloader: Append "@" to chunk names (fixes weird formatting in plugin traceb...
Waqas Hussain [Sun, 28 Jun 2009 17:29:17 +0000 (22:29 +0500)]
util.pluginloader: Append "@" to chunk names (fixes weird formatting in plugin tracebacks)

15 years agomod_pep: Fixed a nil access error
Waqas Hussain [Sun, 28 Jun 2009 17:23:06 +0000 (22:23 +0500)]
mod_pep: Fixed a nil access error

15 years agomod_pep: Use cached caps
Waqas Hussain [Sun, 28 Jun 2009 16:49:31 +0000 (21:49 +0500)]
mod_pep: Use cached caps

15 years agoSerialize unknown stanza before logging.
nolan@nolan-eee [Sun, 28 Jun 2009 16:49:25 +0000 (11:49 -0500)]
Serialize unknown stanza before logging.

15 years agoMerged with trunk
Waqas Hussain [Sun, 28 Jun 2009 16:32:19 +0000 (21:32 +0500)]
Merged with trunk

15 years agomod_pep: Entity capabilities
Waqas Hussain [Sun, 28 Jun 2009 16:29:39 +0000 (21:29 +0500)]
mod_pep: Entity capabilities

15 years agoMerge with nolan
Matthew Wild [Sun, 28 Jun 2009 13:17:22 +0000 (14:17 +0100)]
Merge with nolan

15 years agonet.httpserver: Don't upset logger when response is nil
Matthew Wild [Sun, 28 Jun 2009 13:17:07 +0000 (14:17 +0100)]
net.httpserver: Don't upset logger when response is nil

15 years agoLog stanza if stanza.to isn't set for some component errors.
nolan@nolan-eee [Sun, 28 Jun 2009 13:09:57 +0000 (08:09 -0500)]
Log stanza if stanza.to isn't set for some component errors.

15 years agomod_console: Reload/unload a module on a component host if it is loaded there
Matthew Wild [Sun, 28 Jun 2009 01:46:36 +0000 (02:46 +0100)]
mod_console: Reload/unload a module on a component host if it is loaded there

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Sat, 27 Jun 2009 03:44:27 +0000 (04:44 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoutil.stanza: Serializer optimizations, and nicer output for empty elements
Waqas Hussain [Sat, 27 Jun 2009 03:38:52 +0000 (08:38 +0500)]
util.stanza: Serializer optimizations, and nicer output for empty elements

15 years agomod_pep: Broadcast only to available recipients with caps
Waqas Hussain [Fri, 26 Jun 2009 18:58:52 +0000 (23:58 +0500)]
mod_pep: Broadcast only to available recipients with caps

15 years agomod_pep: Ignore presence subscriptions when extractng hash information
Waqas Hussain [Fri, 26 Jun 2009 18:42:59 +0000 (23:42 +0500)]
mod_pep: Ignore presence subscriptions when extractng hash information

15 years agomod_pep: Added function get_caps_hash_from_presence
Waqas Hussain [Fri, 26 Jun 2009 18:36:12 +0000 (23:36 +0500)]
mod_pep: Added function get_caps_hash_from_presence

15 years agoutil.muc: Fixed duplicate parameter names in function room:set_subject
Waqas Hussain [Fri, 26 Jun 2009 16:51:32 +0000 (21:51 +0500)]
util.muc: Fixed duplicate parameter names in function room:set_subject

15 years agoutil.muc: Fixed incorrect parameters for a function call
Waqas Hussain [Fri, 26 Jun 2009 16:50:27 +0000 (21:50 +0500)]
util.muc: Fixed incorrect parameters for a function call

15 years agomod_message: Advertise offline message support as per XEP-0160 (thanks nolan)
Matthew Wild [Fri, 26 Jun 2009 14:35:20 +0000 (15:35 +0100)]
mod_message: Advertise offline message support as per XEP-0160 (thanks nolan)

15 years agomod_pep: Removed some YODO comments
Waqas Hussain [Fri, 26 Jun 2009 13:46:52 +0000 (18:46 +0500)]
mod_pep: Removed some YODO comments

15 years agomod_pep: Added handler for disco responses
Waqas Hussain [Fri, 26 Jun 2009 13:45:54 +0000 (18:45 +0500)]
mod_pep: Added handler for disco responses

15 years agoxmppclient_listener: Pass session close reason to destroy_session (to be used in...
Matthew Wild [Fri, 26 Jun 2009 05:32:45 +0000 (06:32 +0100)]
xmppclient_listener: Pass session close reason to destroy_session (to be used in unavailable presence)

15 years agomod_iq: Change sub-event names for IQ errors and results to use stanza IDs
Waqas Hussain [Fri, 26 Jun 2009 05:02:46 +0000 (10:02 +0500)]
mod_iq: Change sub-event names for IQ errors and results to use stanza IDs

15 years agoutil.stanza: Add stanza:get_text() to retrieve all child text nodes #api
Matthew Wild [Fri, 26 Jun 2009 04:54:55 +0000 (05:54 +0100)]
util.stanza: Add stanza:get_text() to retrieve all child text nodes #api

15 years agostanza_router: Fire events also for stanzas to components
Matthew Wild [Fri, 26 Jun 2009 04:54:03 +0000 (05:54 +0100)]
stanza_router: Fire events also for stanzas to components

15 years agomod_message, mod_presence: Maintain list of top resources. Less work in routing messa...
Waqas Hussain [Fri, 26 Jun 2009 03:54:22 +0000 (08:54 +0500)]
mod_message, mod_presence: Maintain list of top resources. Less work in routing messages to bare JIDs. - #optimization

15 years agoutil.events: Replaced ipairs with slightly faster numeric for loop - #optimization
Waqas Hussain [Fri, 26 Jun 2009 03:52:26 +0000 (08:52 +0500)]
util.events: Replaced ipairs with slightly faster numeric for loop - #optimization

15 years agoutil.stanza: Rewrote stanza_mt.__tostring. 20-30% faster stanza serialization. -...
Waqas Hussain [Thu, 25 Jun 2009 12:22:53 +0000 (17:22 +0500)]
util.stanza: Rewrote stanza_mt.__tostring. 20-30% faster stanza serialization. - #optimization

15 years agoutil.stanza: Remove numeric attributes while deserializing
Waqas Hussain [Thu, 25 Jun 2009 12:19:13 +0000 (17:19 +0500)]
util.stanza: Remove numeric attributes while deserializing

15 years agoxmlhandlers: Remove numeric attributes
Waqas Hussain [Thu, 25 Jun 2009 05:04:22 +0000 (10:04 +0500)]
xmlhandlers: Remove numeric attributes

15 years agostanza_router: Remove unused variables and code
Waqas Hussain [Thu, 25 Jun 2009 03:20:38 +0000 (08:20 +0500)]
stanza_router: Remove unused variables and code

15 years agostanza_router: A little refactoring
Waqas Hussain [Thu, 25 Jun 2009 03:17:02 +0000 (08:17 +0500)]
stanza_router: A little refactoring

15 years agostanza_router: Remove unused variables
Waqas Hussain [Thu, 25 Jun 2009 03:15:42 +0000 (08:15 +0500)]
stanza_router: Remove unused variables

15 years agostanza_router: Remove even more old routing code
Waqas Hussain [Thu, 25 Jun 2009 03:13:21 +0000 (08:13 +0500)]
stanza_router: Remove even more old routing code

15 years agostanza_router: Remove some more old routing code
Waqas Hussain [Thu, 25 Jun 2009 03:11:05 +0000 (08:11 +0500)]
stanza_router: Remove some more old routing code

15 years agostanza_router: Call core_post_stanza from core_route_stanza in place of old routing...
Waqas Hussain [Thu, 25 Jun 2009 03:04:10 +0000 (08:04 +0500)]
stanza_router: Call core_post_stanza from core_route_stanza in place of old routing code

15 years agostanza_router: Removed unused function: select_best_resources
Waqas Hussain [Thu, 25 Jun 2009 02:59:04 +0000 (07:59 +0500)]
stanza_router: Removed unused function: select_best_resources

15 years agostanza_router: Removed old routing code
Waqas Hussain [Thu, 25 Jun 2009 02:57:57 +0000 (07:57 +0500)]
stanza_router: Removed old routing code

15 years agomod_component: Rewrite jabber:client stanzas to jabber:component:accept, thanks JaredH!
Matthew Wild [Thu, 25 Jun 2009 00:38:53 +0000 (01:38 +0100)]
mod_component: Rewrite jabber:client stanzas to jabber:component:accept, thanks JaredH!

15 years agomod_pep: Use new style events
Waqas Hussain [Wed, 24 Jun 2009 15:09:44 +0000 (20:09 +0500)]
mod_pep: Use new style events

15 years agomod_iq: Fire sub-events for IQ results and errors
Waqas Hussain [Wed, 24 Jun 2009 15:05:17 +0000 (20:05 +0500)]
mod_iq: Fire sub-events for IQ results and errors

15 years agomod_pep: Broadcast from the user's bare JID, not full JID
Waqas Hussain [Wed, 24 Jun 2009 14:40:12 +0000 (19:40 +0500)]
mod_pep: Broadcast from the user's bare JID, not full JID

15 years agomod_pep: Remove data when a user disables a node
Waqas Hussain [Wed, 24 Jun 2009 14:38:28 +0000 (19:38 +0500)]
mod_pep: Remove data when a user disables a node

15 years agomod_pep: Added some comments
Waqas Hussain [Wed, 24 Jun 2009 14:28:48 +0000 (19:28 +0500)]
mod_pep: Added some comments

15 years agomod_pep: Fixed detection of contact presence changes
Waqas Hussain [Wed, 24 Jun 2009 14:24:02 +0000 (19:24 +0500)]
mod_pep: Fixed detection of contact presence changes

15 years agomod_muc: Now based on util.muc
Waqas Hussain [Tue, 23 Jun 2009 20:37:03 +0000 (01:37 +0500)]
mod_muc: Now based on util.muc

15 years agomod_announce: Work with non-local admins
Waqas Hussain [Tue, 23 Jun 2009 18:59:21 +0000 (23:59 +0500)]
mod_announce: Work with non-local admins

15 years agomod_announce: Use usermanager.is_admin to verify admin status
Waqas Hussain [Tue, 23 Jun 2009 18:55:56 +0000 (23:55 +0500)]
mod_announce: Use usermanager.is_admin to verify admin status

15 years agosessionmanager: Fire event on resource unbind
Waqas Hussain [Tue, 23 Jun 2009 18:54:57 +0000 (23:54 +0500)]
sessionmanager: Fire event on resource unbind

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Tue, 23 Jun 2009 14:58:56 +0000 (15:58 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoREADME: Update for new MUC address
Matthew Wild [Tue, 23 Jun 2009 14:40:30 +0000 (15:40 +0100)]
README: Update for new MUC address

15 years agoprosodyctl: Allow commands to be implemented in modules
Matthew Wild [Tue, 23 Jun 2009 00:50:10 +0000 (01:50 +0100)]
prosodyctl: Allow commands to be implemented in modules

15 years agomodulemanager: Expose api table to allow others to extend the module API
Matthew Wild [Tue, 23 Jun 2009 00:48:01 +0000 (01:48 +0100)]
modulemanager: Expose api table to allow others to extend the module API

15 years agomodulemanager: Enabled access to the module API from plugin libraries
Waqas Hussain [Mon, 22 Jun 2009 21:15:04 +0000 (02:15 +0500)]
modulemanager: Enabled access to the module API from plugin libraries

15 years agomod_groups: Support for public groups, and extra logging
Matthew Wild [Mon, 22 Jun 2009 21:02:04 +0000 (22:02 +0100)]
mod_groups: Support for public groups, and extra logging

15 years agoutil.pluginloader: Remove unnecessary return value suppressing the real load error
Matthew Wild [Mon, 22 Jun 2009 20:56:52 +0000 (21:56 +0100)]
util.pluginloader: Remove unnecessary return value suppressing the real load error

15 years agomodulemanager: Fix copy/paste error, should be name instead of module_name
Matthew Wild [Mon, 22 Jun 2009 20:54:34 +0000 (21:54 +0100)]
modulemanager: Fix copy/paste error, should be name instead of module_name

15 years agomod_announce: New module to send a message to all online users
Matthew Wild [Mon, 22 Jun 2009 17:05:36 +0000 (18:05 +0100)]
mod_announce: New module to send a message to all online users

15 years agomod_httpserver: Allow configuration of ports and base path, like mod_bosh
Matthew Wild [Mon, 22 Jun 2009 15:16:08 +0000 (16:16 +0100)]
mod_httpserver: Allow configuration of ports and base path, like mod_bosh

15 years agomod_groups: Experimental shared roster support
Matthew Wild [Mon, 22 Jun 2009 13:22:24 +0000 (14:22 +0100)]
mod_groups: Experimental shared roster support

15 years agoprosody: Switch anonymous_login check to use the new datamanager callback syntax
Matthew Wild [Mon, 22 Jun 2009 13:16:06 +0000 (14:16 +0100)]
prosody: Switch anonymous_login check to use the new datamanager callback syntax

15 years agoutil.datamanager: Allow multiple data storage callbacks, and allow them to modify...
Matthew Wild [Mon, 22 Jun 2009 13:15:33 +0000 (14:15 +0100)]
util.datamanager: Allow multiple data storage callbacks, and allow them to modify parameters

15 years agorostermanager: Fire event on roster load
Matthew Wild [Mon, 22 Jun 2009 13:14:28 +0000 (14:14 +0100)]
rostermanager: Fire event on roster load

15 years agosessionmanager: Fire event on resource bind
Matthew Wild [Mon, 22 Jun 2009 01:58:28 +0000 (02:58 +0100)]
sessionmanager: Fire event on resource bind

15 years agomodulemanager: Call 'load' method when loading a module
Matthew Wild [Mon, 22 Jun 2009 01:58:05 +0000 (02:58 +0100)]
modulemanager: Call 'load' method when loading a module

15 years agomodulemanager: Added simple module:require implementation
Waqas Hussain [Sun, 21 Jun 2009 14:15:59 +0000 (19:15 +0500)]
modulemanager: Added simple module:require implementation

15 years agoMerge with Tobias
Matthew Wild [Sat, 20 Jun 2009 21:50:38 +0000 (22:50 +0100)]
Merge with Tobias

15 years agoutil.array: Add support for + operator to create a new array from two arrays joined
Matthew Wild [Sat, 20 Jun 2009 21:47:12 +0000 (22:47 +0100)]
util.array: Add support for + operator to create a new array from two arrays joined

15 years agoutil.array: Make array:reverse() and array:shuffle() return the array to allow chaining
Matthew Wild [Sat, 20 Jun 2009 21:45:07 +0000 (22:45 +0100)]
util.array: Make array:reverse() and array:shuffle() return the array to allow chaining

15 years agoutil.array: Add array:append() method, to append a new array to an existing one
Matthew Wild [Sat, 20 Jun 2009 21:43:54 +0000 (22:43 +0100)]
util.array: Add array:append() method, to append a new array to an existing one

15 years agoAdjust PLAIN and DIGEST-MD5 mechanisms to new password_handler API.
Tobias Markmann [Sat, 20 Jun 2009 20:19:24 +0000 (22:19 +0200)]
Adjust PLAIN and DIGEST-MD5 mechanisms to new password_handler API.

15 years agoAdding a parameter for realm to the password_callback.
Tobias Markmann [Sat, 20 Jun 2009 17:34:30 +0000 (19:34 +0200)]
Adding a parameter for realm to the password_callback.

15 years agoAdding COMPAT comment.
Tobias Markmann [Sat, 20 Jun 2009 17:06:04 +0000 (19:06 +0200)]
Adding COMPAT comment.

15 years agostanza_router: Skip prepping 'to' in many common cases - #optimization
Waqas Hussain [Sat, 20 Jun 2009 13:18:38 +0000 (18:18 +0500)]
stanza_router: Skip prepping 'to' in many common cases - #optimization

15 years agostanza_router: Skip prepping 'from' on c2s origins - #optimization
Waqas Hussain [Sat, 20 Jun 2009 13:08:57 +0000 (18:08 +0500)]
stanza_router: Skip prepping 'from' on c2s origins - #optimization

15 years agostanza_router: Fixed a corner case where processing could continue after an error...
Waqas Hussain [Sat, 20 Jun 2009 12:53:39 +0000 (17:53 +0500)]
stanza_router: Fixed a corner case where processing could continue after an error reply

15 years agostanza_router: A little refactoring
Waqas Hussain [Sat, 20 Jun 2009 12:51:00 +0000 (17:51 +0500)]
stanza_router: A little refactoring

15 years agocomponentmanager: Using prosody.events instead of core.eventmanager
Waqas Hussain [Sat, 20 Jun 2009 09:38:22 +0000 (14:38 +0500)]
componentmanager: Using prosody.events instead of core.eventmanager

15 years agoMain: Don't use empty event data objects for some global events. Some handlers don...
Waqas Hussain [Sat, 20 Jun 2009 09:35:31 +0000 (14:35 +0500)]
Main: Don't use empty event data objects for some global events. Some handlers don't expect it.

15 years agoMain: removed some eventmanager references (replaced by prosody.events)
Waqas Hussain [Sat, 20 Jun 2009 07:23:36 +0000 (12:23 +0500)]
Main: removed some eventmanager references (replaced by prosody.events)

15 years agoFire global events using prosody.events
Waqas Hussain [Sat, 20 Jun 2009 07:16:20 +0000 (12:16 +0500)]
Fire global events using prosody.events

15 years agoMerge with trunk
Waqas Hussain [Fri, 19 Jun 2009 20:05:06 +0000 (01:05 +0500)]
Merge with trunk

15 years agoMerge with waqas via albert!
Matthew Wild [Fri, 19 Jun 2009 16:32:01 +0000 (17:32 +0100)]
Merge with waqas via albert!

15 years agos2smanager: Remove srv_hosts from session when connected, this fixes attempting to...
Matthew Wild [Fri, 19 Jun 2009 16:27:03 +0000 (17:27 +0100)]
s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown

15 years agologgingmanager: Log timestamps when using default file logging
Matthew Wild [Fri, 19 Jun 2009 16:23:17 +0000 (17:23 +0100)]
loggingmanager: Log timestamps when using default file logging

15 years agologgingmanager: Enable debug level for default file logging when 'debug' mode is...
Matthew Wild [Fri, 19 Jun 2009 16:22:16 +0000 (17:22 +0100)]
loggingmanager: Enable debug level for default file logging when 'debug' mode is enabled in the config

15 years agomodulemanager: Removed unused function get_module_filename(name)
Waqas Hussain [Sun, 14 Jun 2009 16:06:43 +0000 (21:06 +0500)]
modulemanager: Removed unused function get_module_filename(name)

15 years agomodulemanager: Changed to use util.pluginloader
Waqas Hussain [Sun, 14 Jun 2009 16:03:59 +0000 (21:03 +0500)]
modulemanager: Changed to use util.pluginloader

15 years agoutil.pluginloader: Initial commit - a plugin resource loader
Waqas Hussain [Sun, 14 Jun 2009 16:01:30 +0000 (21:01 +0500)]
util.pluginloader: Initial commit - a plugin resource loader