prosody.git
15 years agoutil.dataforms: Allow form layouts to specify default values for fields
Matthew Wild [Sun, 5 Apr 2009 18:42:01 +0000 (19:42 +0100)]
util.dataforms: Allow form layouts to specify default values for fields

15 years agoutil.dataforms: Set form type when generating a form
Matthew Wild [Sun, 5 Apr 2009 18:41:24 +0000 (19:41 +0100)]
util.dataforms: Set form type when generating a form

15 years agoutil.dataforms: Support for retriving the field value data from forms
Matthew Wild [Sat, 4 Apr 2009 17:08:35 +0000 (18:08 +0100)]
util.dataforms: Support for retriving the field value data from forms

15 years agoutil.dataforms: Fixes for hidden field type
Matthew Wild [Sat, 4 Apr 2009 17:07:48 +0000 (18:07 +0100)]
util.dataforms: Fixes for hidden field type

15 years agoutil.dataforms: Fix some field types which didn't render properly
Matthew Wild [Sat, 4 Apr 2009 15:25:16 +0000 (16:25 +0100)]
util.dataforms: Fix some field types which didn't render properly

15 years agoutil.dataforms: Add support for <required/> fields
Matthew Wild [Sat, 4 Apr 2009 15:23:32 +0000 (16:23 +0100)]
util.dataforms: Add support for <required/> fields

15 years agoutil.dataforms: Fixed to actually work, mostly
Matthew Wild [Sat, 4 Apr 2009 14:32:32 +0000 (15:32 +0100)]
util.dataforms: Fixed to actually work, mostly

15 years agocore.sessionmanager: Hop out of <status> tag so that MUC doesn't insert into the...
Matthew Wild [Fri, 3 Apr 2009 00:29:59 +0000 (01:29 +0100)]
core.sessionmanager: Hop out of <status> tag so that MUC doesn't insert into the wrong level

15 years agoTagging 0.4.0
Matthew Wild [Tue, 31 Mar 2009 19:24:14 +0000 (20:24 +0100)]
Tagging 0.4.0

15 years agoTagging VERSION
Matthew Wild [Tue, 31 Mar 2009 19:15:33 +0000 (20:15 +0100)]
Tagging VERSION

15 years agomod_bosh: Fix to correctly timeout idle sessions
Matthew Wild [Tue, 31 Mar 2009 12:56:41 +0000 (13:56 +0100)]
mod_bosh: Fix to correctly timeout idle sessions

15 years agomod_debug: Some updates
Matthew Wild [Tue, 31 Mar 2009 03:34:41 +0000 (04:34 +0100)]
mod_debug: Some updates

15 years agocore.componentmanager: Fix global set, causing problems with multiple components...
Matthew Wild [Tue, 31 Mar 2009 02:48:51 +0000 (03:48 +0100)]
core.componentmanager: Fix global set, causing problems with multiple components. Fixes #82.

15 years agomod_debug: New debug module (a simplified mod_console, with raw Lua access to a runni...
Matthew Wild [Tue, 31 Mar 2009 02:00:40 +0000 (03:00 +0100)]
mod_debug: New debug module (a simplified mod_console, with raw Lua access to a running Prosody's internals)

15 years agoAdd lock_globals() and unlock_globals() functions (for when you really need to use...
Matthew Wild [Tue, 31 Mar 2009 01:18:13 +0000 (02:18 +0100)]
Add lock_globals() and unlock_globals() functions (for when you really need to use globals)

15 years agoLoad util.array and util.iterator at startup
Matthew Wild [Tue, 31 Mar 2009 01:17:11 +0000 (02:17 +0100)]
Load util.array and util.iterator at startup

15 years agoAutomated merge with ssh://hg@prosody.im/prosody-hg
Matthew Wild [Mon, 30 Mar 2009 19:04:31 +0000 (20:04 +0100)]
Automated merge with ssh://hg@prosody.im/prosody-hg

15 years agoMove SSL initialisation into the correct spot (thanks albert)
Matthew Wild [Mon, 30 Mar 2009 19:04:11 +0000 (20:04 +0100)]
Move SSL initialisation into the correct spot (thanks albert)

15 years agoAdded: componentmanager: Automatically add component.host.name to the disco items...
Waqas Hussain [Mon, 30 Mar 2009 01:07:21 +0000 (06:07 +0500)]
Added: componentmanager: Automatically add component.host.name to the disco items list of host.name

15 years agoFixed: Some nil access bugs
Waqas Hussain [Mon, 30 Mar 2009 00:26:10 +0000 (05:26 +0500)]
Fixed: Some nil access bugs

15 years agoAdded: MUC: Room invites
Waqas Hussain [Sun, 29 Mar 2009 23:39:12 +0000 (04:39 +0500)]
Added: MUC: Room invites

15 years agoAdded: util/events.lua: An event handling library
Waqas Hussain [Sun, 29 Mar 2009 22:58:59 +0000 (03:58 +0500)]
Added: util/events.lua: An event handling library

15 years agoFixed: mod_saslauth: "anonymous_login" currently makes SASL ANONYMOUS an exclusive...
Waqas Hussain [Sun, 29 Mar 2009 22:51:37 +0000 (03:51 +0500)]
Fixed: mod_saslauth: "anonymous_login" currently makes SASL ANONYMOUS an exclusive mechanism. Corrected advertised mechanisms and error replies.

15 years agoFixed: mod_saslauth: Changed anonymous host option from "sasl_anonymous" to "anonymou...
Waqas Hussain [Sun, 29 Mar 2009 22:42:47 +0000 (03:42 +0500)]
Fixed: mod_saslauth: Changed anonymous host option from "sasl_anonymous" to "anonymous_login"

15 years agoAdded: Prevent disk writes for anonmous hosts (option: core/anonymous_login = true)
Waqas Hussain [Sun, 29 Mar 2009 22:23:23 +0000 (03:23 +0500)]
Added: Prevent disk writes for anonmous hosts (option: core/anonymous_login = true)

15 years agoAdded: datamanager: Allow a callback to be installed which selectively prevents disk...
Waqas Hussain [Sun, 29 Mar 2009 22:22:34 +0000 (03:22 +0500)]
Added: datamanager: Allow a callback to be installed which selectively prevents disk writes

15 years agoFixed: s2smanager: Apply nameprep on hostnames passed in stream tag (part of issue...
Waqas Hussain [Sun, 29 Mar 2009 22:06:01 +0000 (03:06 +0500)]
Fixed: s2smanager: Apply nameprep on hostnames passed in stream tag (part of issue #57)

15 years agoFixed: sessionmanager: Apply nameprep on hostname passed in stream tag (part of issue...
Waqas Hussain [Sun, 29 Mar 2009 22:03:06 +0000 (03:03 +0500)]
Fixed: sessionmanager: Apply nameprep on hostname passed in stream tag (part of issue #57)

15 years agoFixed: modulemanager: IQs with extended elements in the default namespace could cause...
Waqas Hussain [Sun, 29 Mar 2009 21:56:34 +0000 (02:56 +0500)]
Fixed: modulemanager: IQs with extended elements in the default namespace could cause backtraces (related to issue #74)

15 years agoFixed: mod_roster: Prep JIDs being added to roster (part of issue #57)
Waqas Hussain [Sun, 29 Mar 2009 21:38:51 +0000 (02:38 +0500)]
Fixed: mod_roster: Prep JIDs being added to roster (part of issue #57)

15 years agoFixed: mod_register: Node prepping was not being applied to usernames (part of issue...
Waqas Hussain [Sun, 29 Mar 2009 21:30:06 +0000 (02:30 +0500)]
Fixed: mod_register: Node prepping was not being applied to usernames (part of issue #57)

15 years agoFixed: mod_regster: traceback when removing accounts
Waqas Hussain [Sun, 29 Mar 2009 21:24:19 +0000 (02:24 +0500)]
Fixed: mod_regster: traceback when removing accounts

15 years agoFixed: rostermanager: Create new roster item if one doesn't exist on subscription...
Waqas Hussain [Sun, 29 Mar 2009 21:02:59 +0000 (02:02 +0500)]
Fixed: rostermanager: Create new roster item if one doesn't exist on subscription approval (fixes issue #77)

15 years agoFixed: stanza_router: Respond with correct stanza error on malformed stanzas
Waqas Hussain [Sun, 29 Mar 2009 20:57:51 +0000 (01:57 +0500)]
Fixed: stanza_router: Respond with correct stanza error on malformed stanzas

15 years agoFixed: net/http.lua: HTTP request callback wasn't being called on some errors
Waqas Hussain [Sun, 29 Mar 2009 20:55:56 +0000 (01:55 +0500)]
Fixed: net/http.lua: HTTP request callback wasn't being called on some errors

15 years agoutil.array: Add :reverse() method
Matthew Wild [Sun, 29 Mar 2009 12:50:59 +0000 (13:50 +0100)]
util.array: Add :reverse() method

15 years agoutil.datetime: Allow specifying a time to format
Matthew Wild [Sun, 29 Mar 2009 01:14:32 +0000 (02:14 +0100)]
util.datetime: Allow specifying a time to format

15 years agoutil.array: Expose array.* functions, to be used for unwrapped arrays
Matthew Wild [Thu, 26 Mar 2009 03:55:45 +0000 (03:55 +0000)]
util.array: Expose array.* functions, to be used for unwrapped arrays

15 years agoutil.iterators: New iterators library
Matthew Wild [Wed, 25 Mar 2009 03:01:10 +0000 (03:01 +0000)]
util.iterators: New iterators library

15 years agoutil.array: New array library
Matthew Wild [Wed, 25 Mar 2009 03:00:09 +0000 (03:00 +0000)]
util.array: New array library

15 years agoutil.set: Rename private items container, optimise set.difference() and add set.inter...
Matthew Wild [Mon, 23 Mar 2009 01:49:22 +0000 (01:49 +0000)]
util.set: Rename private items container, optimise set.difference() and add set.intersection()

15 years agocore.rostermanager/mod_roster: Support for roster versioning
Matthew Wild [Mon, 23 Mar 2009 00:31:29 +0000 (00:31 +0000)]
core.rostermanager/mod_roster: Support for roster versioning

15 years agoutil.datamanager: Don't delete data when first entry in table is 'false'. My favourit...
Matthew Wild [Sun, 22 Mar 2009 20:50:37 +0000 (20:50 +0000)]
util.datamanager: Don't delete data when first entry in table is 'false'. My favourite bug so far.

15 years agomod_component: Remove some commented code
Matthew Wild [Sun, 22 Mar 2009 17:54:29 +0000 (17:54 +0000)]
mod_component: Remove some commented code

15 years agocore.configmanager: Make components use 'component' module by default if none specified
Matthew Wild [Sun, 22 Mar 2009 15:33:38 +0000 (15:33 +0000)]
core.configmanager: Make components use 'component' module by default if none specified

15 years agoUpdate example config, categorise modules, add new modules
Matthew Wild [Sun, 22 Mar 2009 15:23:26 +0000 (15:23 +0000)]
Update example config, categorise modules, add new modules

15 years agoprosody.cfg.lua.dist: Remove some factual inaccuracies
Matthew Wild [Sun, 22 Mar 2009 15:08:15 +0000 (15:08 +0000)]
prosody.cfg.lua.dist: Remove some factual inaccuracies

15 years agomod_component: Use net_activate_ports to start port listener based on config
Matthew Wild [Sun, 22 Mar 2009 15:02:07 +0000 (15:02 +0000)]
mod_component: Use net_activate_ports to start port listener based on config

15 years agomod_component: Set default listening interface to 127.0.0.1
Matthew Wild [Sun, 22 Mar 2009 15:01:23 +0000 (15:01 +0000)]
mod_component: Set default listening interface to 127.0.0.1

15 years agonet.connlisteners: Allow listeners to specify default interface
Matthew Wild [Sun, 22 Mar 2009 14:59:28 +0000 (14:59 +0000)]
net.connlisteners: Allow listeners to specify default interface

15 years agoprosody: Expose net_activate_ports as a global function for use by plugins
Matthew Wild [Sun, 22 Mar 2009 14:14:40 +0000 (14:14 +0000)]
prosody: Expose net_activate_ports as a global function for use by plugins

15 years agoprosody: Allow ports to be specified as just numbers
Matthew Wild [Sun, 22 Mar 2009 14:04:42 +0000 (14:04 +0000)]
prosody: Allow ports to be specified as just numbers

15 years agoutil.set: Fix to make constructor work, and functions defined correctly
Matthew Wild [Sun, 22 Mar 2009 12:37:56 +0000 (12:37 +0000)]
util.set: Fix to make constructor work, and functions defined correctly

15 years agoutil.set: New util library
Matthew Wild [Sun, 22 Mar 2009 12:13:39 +0000 (12:13 +0000)]
util.set: New util library

15 years agonet.http: Don't throw error on invalid URLs. Fixes #56.
Matthew Wild [Sat, 21 Mar 2009 23:48:09 +0000 (23:48 +0000)]
net.http: Don't throw error on invalid URLs. Fixes #56.

15 years agoAdd initial mod_component for XEP-0114 support. Albert, where are you?
Matthew Wild [Sat, 21 Mar 2009 21:47:09 +0000 (21:47 +0000)]
Add initial mod_component for XEP-0114 support. Albert, where are you?

15 years agonet.xmppclient_listener: Set default namespace to jabber:client
Matthew Wild [Sat, 21 Mar 2009 21:45:25 +0000 (21:45 +0000)]
net.xmppclient_listener: Set default namespace to jabber:client

15 years agonet.xmppserver_listener: Set default namespace to jabber:server
Matthew Wild [Sat, 21 Mar 2009 21:44:42 +0000 (21:44 +0000)]
net.xmppserver_listener: Set default namespace to jabber:server

15 years agocore.xmlhandlers: Filter out default stream namespace from stanzas
Matthew Wild [Sat, 21 Mar 2009 21:43:50 +0000 (21:43 +0000)]
core.xmlhandlers: Filter out default stream namespace from stanzas

15 years agocore.stanza_router: Allow routing from components
Matthew Wild [Sat, 21 Mar 2009 21:42:14 +0000 (21:42 +0000)]
core.stanza_router: Allow routing from components

15 years agoMerge
Matthew Wild [Fri, 20 Mar 2009 20:17:05 +0000 (20:17 +0000)]
Merge

15 years ago0.3->0.4
Matthew Wild [Fri, 20 Mar 2009 20:16:25 +0000 (20:16 +0000)]
0.3->0.4

15 years agoMerge
Matthew Wild [Sat, 14 Mar 2009 16:05:22 +0000 (16:05 +0000)]
Merge

15 years agoDon't reject some valid IQs. Thanks to elmex for spotting.
Matthew Wild [Sat, 14 Mar 2009 16:03:48 +0000 (16:03 +0000)]
Don't reject some valid IQs. Thanks to elmex for spotting.

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Sun, 8 Mar 2009 03:38:22 +0000 (03:38 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agomod_xmlrpc: Limit usage to admins
Waqas Hussain [Sun, 8 Mar 2009 00:03:22 +0000 (05:03 +0500)]
mod_xmlrpc: Limit usage to admins

15 years agomod_legacyauth: Added stream feature: <auth xmlns='http://jabber.org/features/iq...
Waqas Hussain [Sat, 7 Mar 2009 23:49:51 +0000 (04:49 +0500)]
mod_legacyauth: Added stream feature: <auth xmlns='jabber.org/features/iq-auth'/>

15 years agousermanager: Added is_admin(jid)
Waqas Hussain [Sat, 7 Mar 2009 22:46:44 +0000 (03:46 +0500)]
usermanager: Added is_admin(jid)

15 years agomod_saslauth: Disable SASL ANONYMOUS unless explicitly enabled with sasl_anonymous...
Matthew Wild [Sat, 7 Mar 2009 20:17:09 +0000 (20:17 +0000)]
mod_saslauth: Disable SASL ANONYMOUS unless explicitly enabled with sasl_anonymous = true

15 years agoAdded core.objectmanager
Waqas Hussain [Sat, 7 Mar 2009 20:07:29 +0000 (01:07 +0500)]
Added core.objectmanager

15 years agoutil/xmlrpc: Added <nil/> extension to RPC functions (allowing nil parameters and...
Waqas Hussain [Sat, 7 Mar 2009 20:06:37 +0000 (01:06 +0500)]
util/xmlrpc: Added <nil/> extension to RPC functions (allowing nil parameters and return values)

15 years agonet.adns: Set new send in net.server after 'connecting UDP' socket
Matthew Wild [Sat, 7 Mar 2009 19:57:28 +0000 (19:57 +0000)]
net.adns: Set new send in net.server after 'connecting UDP' socket

15 years agonet.server: Allow replacement of send function on an open socket
Matthew Wild [Sat, 7 Mar 2009 19:56:53 +0000 (19:56 +0000)]
net.server: Allow replacement of send function on an open socket

15 years agoutil.logger: Small code tidying :)
Matthew Wild [Sat, 7 Mar 2009 19:40:00 +0000 (19:40 +0000)]
util.logger: Small code tidying :)

15 years agoSupport to filter logging by source via pattern matching from config file.
Tobias Markmann [Sat, 7 Mar 2009 19:33:21 +0000 (20:33 +0100)]
Support to filter logging by source via pattern matching from config file.

15 years agoprosody: Load logger after reading the config
Matthew Wild [Sat, 7 Mar 2009 19:28:12 +0000 (19:28 +0000)]
prosody: Load logger after reading the config

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Wed, 4 Mar 2009 18:48:29 +0000 (18:48 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agocore.presencemanager: Convert Windows line endings to UNIX
Waqas Hussain [Wed, 4 Mar 2009 18:24:43 +0000 (18:24 +0000)]
core.presencemanager: Convert Windows line endings to UNIX

15 years agoXML-RPC: Set appropriate Content-Type header in HTTP response
Waqas Hussain [Wed, 4 Mar 2009 17:59:58 +0000 (22:59 +0500)]
XML-RPC: Set appropriate Content-Type header in HTTP response

15 years agoMUC: Kick participants for error replies only on a selected list of error conditions
Waqas Hussain [Wed, 4 Mar 2009 17:45:06 +0000 (22:45 +0500)]
MUC: Kick participants for error replies only on a selected list of error conditions

15 years agoLet global modules add disco features for all hosts
Waqas Hussain [Wed, 4 Mar 2009 17:23:41 +0000 (22:23 +0500)]
Let global modules add disco features for all hosts

15 years agomod_xmlrpc: Handle RPC stanzas sent over XMPP (XEP-0009: Jabber-RPC)
Waqas Hussain [Wed, 4 Mar 2009 17:22:40 +0000 (22:22 +0500)]
mod_xmlrpc: Handle RPC stanzas sent over XMPP (XEP-0009: Jabber-RPC)

15 years agoAllow global modules to hook stanza handlers
Waqas Hussain [Wed, 4 Mar 2009 17:15:46 +0000 (22:15 +0500)]
Allow global modules to hook stanza handlers

15 years agoAdded mod_xmlrpc
Waqas Hussain [Wed, 4 Mar 2009 17:12:52 +0000 (22:12 +0500)]
Added mod_xmlrpc

15 years agoAdded util/xmlrpc.lua - functions for converting between XML-RPC stanzas and Lua...
Waqas Hussain [Wed, 4 Mar 2009 17:10:27 +0000 (22:10 +0500)]
Added util/xmlrpc.lua - functions for converting between XML-RPC stanzas and Lua objects

15 years agonet.adns: Return _M
Matthew Wild [Wed, 4 Mar 2009 15:52:05 +0000 (15:52 +0000)]
net.adns: Return _M

15 years agonet.adns: Load the correct dns lib
Matthew Wild [Wed, 4 Mar 2009 14:44:28 +0000 (14:44 +0000)]
net.adns: Load the correct dns lib

15 years agonet.adns: Add helper module for performing non-blocking DNS lookups
Matthew Wild [Wed, 4 Mar 2009 12:59:35 +0000 (12:59 +0000)]
net.adns: Add helper module for performing non-blocking DNS lookups

15 years agonet.dns: Add methods necessary for allowing non-blocking DNS lookups
Matthew Wild [Wed, 4 Mar 2009 12:58:56 +0000 (12:58 +0000)]
net.dns: Add methods necessary for allowing non-blocking DNS lookups

15 years agonet.server: Don't call shutdown method on socket if it doesn't have one, eg. for UDP
Matthew Wild [Wed, 4 Mar 2009 12:44:07 +0000 (12:44 +0000)]
net.server: Don't call shutdown method on socket if it doesn't have one, eg. for UDP

15 years agonet.server: Check for potential nil handler on close
Matthew Wild [Tue, 3 Mar 2009 20:12:31 +0000 (20:12 +0000)]
net.server: Check for potential nil handler on close

15 years agomod_bosh: Set Content-Type in response headers
Matthew Wild [Tue, 3 Mar 2009 19:49:40 +0000 (19:49 +0000)]
mod_bosh: Set Content-Type in response headers

15 years agopposix: Standardize error messages
Matthew Wild [Tue, 3 Mar 2009 17:25:20 +0000 (17:25 +0000)]
pposix: Standardize error messages

15 years agopposix: Small fix for copyright notice
Matthew Wild [Tue, 3 Mar 2009 17:24:56 +0000 (17:24 +0000)]
pposix: Small fix for copyright notice

15 years agoAutomated merge with http://luaetta.ath.cx:1234/
Matthew Wild [Tue, 3 Mar 2009 17:18:43 +0000 (17:18 +0000)]
Automated merge with http://luaetta.ath.cx:1234/

15 years agotests: Add test for iq error replies
Matthew Wild [Tue, 3 Mar 2009 17:07:35 +0000 (17:07 +0000)]
tests: Add test for iq error replies

15 years agocore.configmanager: Small fix to check validity of Component definitions
Matthew Wild [Tue, 3 Mar 2009 16:54:29 +0000 (16:54 +0000)]
core.configmanager: Small fix to check validity of Component definitions

15 years agoMerged with main tip.
Tobias Markmann [Tue, 3 Mar 2009 16:48:04 +0000 (17:48 +0100)]
Merged with main tip.

15 years agomod_muc: Don't bounce error replies in response to errors
Matthew Wild [Mon, 2 Mar 2009 19:50:28 +0000 (19:50 +0000)]
mod_muc: Don't bounce error replies in response to errors

15 years agonet.server: Fix to make sure we send a string to logging function
Matthew Wild [Mon, 2 Mar 2009 19:49:09 +0000 (19:49 +0000)]
net.server: Fix to make sure we send a string to logging function