prosody.git
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

15 years agostanza_router: Remove unused variables
Waqas Hussain [Sun, 14 Jun 2009 13:21:19 +0000 (18:21 +0500)]
stanza_router: Remove unused variables

15 years agoRemoved core.presencemanager. This has been superseded by mod_presence.
Waqas Hussain [Sun, 14 Jun 2009 13:09:49 +0000 (18:09 +0500)]
Removed core.presencemanager. This has been superseded by mod_presence.

15 years agostanza_router: Remove all traces of presencemanager
Waqas Hussain [Sun, 14 Jun 2009 13:02:02 +0000 (18:02 +0500)]
stanza_router: Remove all traces of presencemanager

15 years agomod_roster: Removed references to presencemanager and core_route_stanza
Waqas Hussain [Sun, 14 Jun 2009 12:59:22 +0000 (17:59 +0500)]
mod_roster: Removed references to presencemanager and core_route_stanza

15 years agomod_roster: Using core_post_stanza in place of core.presencemanager.handle_presence
Waqas Hussain [Sun, 14 Jun 2009 12:58:16 +0000 (17:58 +0500)]
mod_roster: Using core_post_stanza in place of core.presencemanager.handle_presence

15 years agoutil.muc: Relaxed top-level routing checks to allow node-less rooms, and removed...
Waqas Hussain [Sun, 14 Jun 2009 12:41:21 +0000 (17:41 +0500)]
util.muc: Relaxed top-level routing checks to allow node-less rooms, and removed redundant checks

15 years agoutil.muc, mod_muc: Commented rewriting of vCard requests' recipients' JID from full...
Waqas Hussain [Sun, 14 Jun 2009 12:33:22 +0000 (17:33 +0500)]
util.muc, mod_muc: Commented rewriting of vCard requests' recipients' JID from full to bare, and marked it as a TODO

15 years agomod_muc: Don't reply with an error in response to unacceptable result stanzas
Waqas Hussain [Sun, 14 Jun 2009 11:31:51 +0000 (16:31 +0500)]
mod_muc: Don't reply with an error in response to unacceptable result stanzas

15 years agoutil.muc: Don't reply with an error in response to unacceptable result stanzas
Waqas Hussain [Sun, 14 Jun 2009 11:30:45 +0000 (16:30 +0500)]
util.muc: Don't reply with an error in response to unacceptable result stanzas

15 years agoutil.muc: Fixed error occuring on room leave
Waqas Hussain [Sun, 14 Jun 2009 11:28:01 +0000 (16:28 +0500)]
util.muc: Fixed error occuring on room leave

15 years agostanza_router: Use stanza.attr.from's host instead of origin.host when routing stanza...
Waqas Hussain [Sun, 14 Jun 2009 09:28:20 +0000 (14:28 +0500)]
stanza_router: Use stanza.attr.from's host instead of origin.host when routing stanzas to remote hosts (fixes problem with sending from node@host components)

15 years agomodulemanager: Change the ideitity attribute typ to type
Waqas Hussain [Fri, 12 Jun 2009 19:07:16 +0000 (00:07 +0500)]
modulemanager: Change the ideitity attribute typ to type

15 years agomod_console: Redirect print() to console session when executing commands in global...
Matthew Wild [Fri, 12 Jun 2009 14:43:24 +0000 (15:43 +0100)]
mod_console: Redirect print() to console session when executing commands in global environment

15 years agomod_console: Fix syntax error
Matthew Wild [Fri, 12 Jun 2009 14:42:43 +0000 (15:42 +0100)]
mod_console: Fix syntax error

15 years agomod_console: Add s2s:close() to close s2s sessions between two hosts
Matthew Wild [Fri, 12 Jun 2009 14:35:04 +0000 (15:35 +0100)]
mod_console: Add s2s:close() to close s2s sessions between two hosts

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Fri, 12 Jun 2009 10:37:34 +0000 (11:37 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agomod_dialback: Change FIXME comment to COMPAT
Matthew Wild [Fri, 12 Jun 2009 10:36:32 +0000 (11:36 +0100)]
mod_dialback: Change FIXME comment to COMPAT

15 years agomod_pep: Add pubsub#publsih disco feature to host
Waqas Hussain [Fri, 12 Jun 2009 10:33:41 +0000 (15:33 +0500)]
mod_pep: Add pubsub#publsih disco feature to host

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Fri, 12 Jun 2009 10:21:25 +0000 (11:21 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agonet.http: (Re-)add url[en|de]code functions
Matthew Wild [Fri, 12 Jun 2009 10:21:11 +0000 (11:21 +0100)]
net.http: (Re-)add url[en|de]code functions

15 years agomod_pep: Add host identity pubsub/pep
Waqas Hussain [Fri, 12 Jun 2009 09:35:52 +0000 (14:35 +0500)]
mod_pep: Add host identity pubsub/pep

15 years agomodulemanager: Added function add_identity(category, type) to the modules API
Waqas Hussain [Fri, 12 Jun 2009 09:32:32 +0000 (14:32 +0500)]
modulemanager: Added function add_identity(category, type) to the modules API

15 years agoMerge
Waqas Hussain [Fri, 12 Jun 2009 08:46:31 +0000 (13:46 +0500)]
Merge

15 years agomod_pep: Fix a nil index bug
Waqas Hussain [Fri, 12 Jun 2009 08:06:41 +0000 (13:06 +0500)]
mod_pep: Fix a nil index bug

15 years agomodulemanager: Use module_name in log entry to fix 'error initialising module "nil...
Matthew Wild [Mon, 8 Jun 2009 12:25:10 +0000 (13:25 +0100)]
modulemanager: Use module_name in log entry to fix 'error initialising module "nil"' error

15 years agomod_message: Require stanza lib to prevent traceback on error replies
Matthew Wild [Sun, 7 Jun 2009 16:44:48 +0000 (17:44 +0100)]
mod_message: Require stanza lib to prevent traceback on error replies

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

15 years agomod_pep: Give the presence handler a higher than default priority
Waqas Hussain [Sun, 7 Jun 2009 13:06:01 +0000 (18:06 +0500)]
mod_pep: Give the presence handler a higher than default priority

15 years agomodulemanager: Allow setting a priority while adding an event handler via the module...
Waqas Hussain [Sun, 7 Jun 2009 13:04:56 +0000 (18:04 +0500)]
modulemanager: Allow setting a priority while adding an event handler via the module:hook API

15 years agomod_pep: Send items to contacts coming online
Waqas Hussain [Sun, 7 Jun 2009 13:04:08 +0000 (18:04 +0500)]
mod_pep: Send items to contacts coming online

15 years agomod_pep: Fix undefined global access
Waqas Hussain [Sun, 7 Jun 2009 12:39:34 +0000 (17:39 +0500)]
mod_pep: Fix undefined global access

15 years agomod_console: Show total incoming/outgoing s2s connections
Matthew Wild [Sat, 6 Jun 2009 20:29:34 +0000 (21:29 +0100)]
mod_console: Show total incoming/outgoing s2s connections

15 years agomodulemanager: Don't require xmlns to be non-nil
Matthew Wild [Sat, 6 Jun 2009 16:17:16 +0000 (17:17 +0100)]
modulemanager: Don't require xmlns to be non-nil

15 years agomodulemanager: module:log() -> self:log() fix
Matthew Wild [Sat, 6 Jun 2009 16:15:26 +0000 (17:15 +0100)]
modulemanager: module:log() -> self:log() fix

15 years agomodulemanager: Allow setting priority of stanza handlers
Matthew Wild [Sat, 6 Jun 2009 16:08:47 +0000 (17:08 +0100)]
modulemanager: Allow setting priority of stanza handlers

15 years agomodulemanager: Add module:hook([xmlns, ] name, handler) which uses new stanza events
Matthew Wild [Sat, 6 Jun 2009 15:41:09 +0000 (16:41 +0100)]
modulemanager: Add module:hook([xmlns, ] name, handler) which uses new stanza events

15 years agomod_pep: Maintain user nodes for delayed delivery
Waqas Hussain [Sat, 6 Jun 2009 13:22:29 +0000 (18:22 +0500)]
mod_pep: Maintain user nodes for delayed delivery

15 years agomod_console: Allow running code in the global environment by prefixing with '>'
Matthew Wild [Fri, 5 Jun 2009 19:18:55 +0000 (20:18 +0100)]
mod_console: Allow running code in the global environment by prefixing with '>'

15 years agomod_console: Some "improvements" to the useless server:reload() command :)
Matthew Wild [Fri, 5 Jun 2009 19:18:19 +0000 (20:18 +0100)]
mod_console: Some "improvements" to the useless server:reload() command :)

15 years agomod_console: Much improved module load/unload/reload commands
Matthew Wild [Fri, 5 Jun 2009 18:57:29 +0000 (19:57 +0100)]
mod_console: Much improved module load/unload/reload commands

15 years agoprosody: prosody_reload_config => prosody.reload_config (guess I accidentally missed...
Matthew Wild [Fri, 5 Jun 2009 12:34:21 +0000 (13:34 +0100)]
prosody: prosody_reload_config => prosody.reload_config (guess I accidentally missed it when converting the others)

15 years agoprosody: Prefix hg: to changeset ids in the version
Matthew Wild [Fri, 5 Jun 2009 00:58:40 +0000 (01:58 +0100)]
prosody: Prefix hg: to changeset ids in the version

15 years agomod_version: Use version from prosody.version
Matthew Wild [Fri, 5 Jun 2009 00:27:41 +0000 (01:27 +0100)]
mod_version: Use version from prosody.version

15 years agoprosody: Read version from prosody.version file and set, er, prosody.version!
Matthew Wild [Fri, 5 Jun 2009 00:27:18 +0000 (01:27 +0100)]
prosody: Read version from prosody.version file and set, er, prosody.version!

15 years agoMakefile: Experimental support for recording the version of an installed Prosody
Matthew Wild [Fri, 5 Jun 2009 00:13:39 +0000 (01:13 +0100)]
Makefile: Experimental support for recording the version of an installed Prosody

15 years agomodulemanager: Load mod_message, mod_iq and mod_presence implicitly
Waqas Hussain [Thu, 4 Jun 2009 16:25:05 +0000 (21:25 +0500)]
modulemanager: Load mod_message, mod_iq and mod_presence implicitly

15 years agos2smanager: Use a UUID as the dialback secret
Waqas Hussain [Thu, 4 Jun 2009 16:12:36 +0000 (21:12 +0500)]
s2smanager: Use a UUID as the dialback secret

15 years agostanza_router: Remove unused s2s dialback functions
Waqas Hussain [Thu, 4 Jun 2009 16:11:33 +0000 (21:11 +0500)]
stanza_router: Remove unused s2s dialback functions

15 years agoMerge with trunk
Waqas Hussain [Thu, 4 Jun 2009 15:48:23 +0000 (20:48 +0500)]
Merge with trunk

15 years agoutil.sasl: Remove some nastiness
Waqas Hussain [Thu, 4 Jun 2009 15:27:53 +0000 (20:27 +0500)]
util.sasl: Remove some nastiness

15 years agoutil.uuid: Added function seed(string) to allow further seeding of the PRNG
Waqas Hussain [Thu, 4 Jun 2009 14:55:56 +0000 (19:55 +0500)]
util.uuid: Added function seed(string) to allow further seeding of the PRNG

15 years agoMakefile: Set data directory permissions to 750 on install [thanks Dwayne Bent]
Matthew Wild [Thu, 4 Jun 2009 14:46:05 +0000 (15:46 +0100)]
Makefile: Set data directory permissions to 750 on install [thanks Dwayne Bent]

15 years agoMakefile: Specify permissions on installed executables [thanks mhavela]
Matthew Wild [Thu, 4 Jun 2009 14:30:00 +0000 (15:30 +0100)]
Makefile: Specify permissions on installed executables [thanks mhavela]

15 years agoprosody: Add support for general 'interface' option which is used as the default...
Matthew Wild [Thu, 4 Jun 2009 14:24:43 +0000 (15:24 +0100)]
prosody: Add support for general 'interface' option which is used as the default network interface