prosody.git
15 years agoMerge with 0.4
Matthew Wild [Fri, 1 May 2009 22:29:40 +0000 (23:29 +0100)]
Merge with 0.4

15 years agoWord-wrap HACKERS file
Matthew Wild [Fri, 1 May 2009 19:34:25 +0000 (20:34 +0100)]
Word-wrap HACKERS file

15 years agoconfigure: Change --data-dir to --datadir to make consistent with help and other...
Matthew Wild [Fri, 1 May 2009 18:25:03 +0000 (19:25 +0100)]
configure: Change --data-dir to --datadir to make consistent with help and other dir flags

15 years agologgingmanager: Add a comment about 'nowhere' sink type
Matthew Wild [Thu, 30 Apr 2009 13:35:43 +0000 (14:35 +0100)]
loggingmanager: Add a comment about 'nowhere' sink type

15 years agoMerge with 0.4
Matthew Wild [Thu, 30 Apr 2009 02:05:56 +0000 (03:05 +0100)]
Merge with 0.4

15 years agologgingmanager: Support prepending timestamps in file/console/stdout log sinks
Matthew Wild [Thu, 30 Apr 2009 02:05:26 +0000 (03:05 +0100)]
loggingmanager: Support prepending timestamps in file/console/stdout log sinks

15 years agomod_dialback: Miscellaneous logging improvements, changing levels, improving messages...
Matthew Wild [Thu, 30 Apr 2009 01:45:33 +0000 (02:45 +0100)]
mod_dialback: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible

15 years agosessionmanager: Miscellaneous logging improvements, changing levels, improving messag...
Matthew Wild [Thu, 30 Apr 2009 01:45:10 +0000 (02:45 +0100)]
sessionmanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible

15 years agos2smanager: Miscellaneous logging improvements, changing levels, improving messages...
Matthew Wild [Thu, 30 Apr 2009 01:43:12 +0000 (02:43 +0100)]
s2smanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible

15 years agopresencemanager: Lower log level of a message
Matthew Wild [Thu, 30 Apr 2009 01:30:03 +0000 (02:30 +0100)]
presencemanager: Lower log level of a message

15 years agomod_saslauth: Remove 2 instances of raising errors and replacing with more graceful...
Matthew Wild [Thu, 30 Apr 2009 00:46:36 +0000 (01:46 +0100)]
mod_saslauth: Remove 2 instances of raising errors and replacing with more graceful handling

15 years agomod_saslauth: Various logging fixes
Matthew Wild [Thu, 30 Apr 2009 00:39:39 +0000 (01:39 +0100)]
mod_saslauth: Various logging fixes

15 years agomod_saslauth: Use module logger instead of creating a new one
Matthew Wild [Thu, 30 Apr 2009 00:38:52 +0000 (01:38 +0100)]
mod_saslauth: Use module logger instead of creating a new one

15 years agomod_dialback: Use module logger instead of creating a new one
Matthew Wild [Thu, 30 Apr 2009 00:37:52 +0000 (01:37 +0100)]
mod_dialback: Use module logger instead of creating a new one

15 years agomodulemanager: Update logger when a module becomes global
Matthew Wild [Thu, 30 Apr 2009 00:36:46 +0000 (01:36 +0100)]
modulemanager: Update logger when a module becomes global

15 years agoMerge with 0.4
Matthew Wild [Wed, 29 Apr 2009 19:53:33 +0000 (20:53 +0100)]
Merge with 0.4

15 years agologgingmanager: Add ability to set 'log' config option to a filename, which causes...
Matthew Wild [Wed, 29 Apr 2009 19:52:24 +0000 (20:52 +0100)]
loggingmanager: Add ability to set 'log' config option to a filename, which causes all levels >= info to be logged to that file

15 years agoMerge with 0.4
Matthew Wild [Wed, 29 Apr 2009 01:08:55 +0000 (02:08 +0100)]
Merge with 0.4

15 years agomod_*: Fix many unnecessary global accesses in modules (already committed to main...
Matthew Wild [Wed, 29 Apr 2009 01:08:12 +0000 (02:08 +0100)]
mod_*: Fix many unnecessary global accesses in modules (already committed to main repo)

15 years agocore.componentmanager: Really fix marking components as disconnected when unregistered
Matthew Wild [Wed, 29 Apr 2009 01:06:05 +0000 (02:06 +0100)]
core.componentmanager: Really fix marking components as disconnected when unregistered

15 years agoconfigure: Honour --sysconfdir parameter; thanks to Michael Scherer
Matthew Wild [Tue, 28 Apr 2009 21:53:51 +0000 (22:53 +0100)]
configure: Honour --sysconfdir parameter; thanks to Michael Scherer

15 years agomod_posix: Fix calls to log() (replace with module:log) and make some global accesses...
Matthew Wild [Thu, 23 Apr 2009 20:35:24 +0000 (21:35 +0100)]
mod_posix: Fix calls to log() (replace with module:log) and make some global accesses explicit

15 years agomod_posix: Fix for removing the pidfile on exit
Matthew Wild [Thu, 23 Apr 2009 20:34:03 +0000 (21:34 +0100)]
mod_posix: Fix for removing the pidfile on exit

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Thu, 23 Apr 2009 20:06:51 +0000 (21:06 +0100)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoMerge with 0.4 branch
Matthew Wild [Thu, 23 Apr 2009 20:06:08 +0000 (21:06 +0100)]
Merge with 0.4 branch

15 years agonet.httpserver: Fix traceback when sending response to a destroyed request
Matthew Wild [Thu, 23 Apr 2009 20:04:56 +0000 (21:04 +0100)]
net.httpserver: Fix traceback when sending response to a destroyed request

15 years agonet.httpserver: Don't log the response body (can be binary data...)
Matthew Wild [Thu, 23 Apr 2009 20:04:07 +0000 (21:04 +0100)]
net.httpserver: Don't log the response body (can be binary data...)

15 years agoxmlhandlers: Fix tag pattern again for the default namespace
Matthew Wild [Thu, 23 Apr 2009 20:03:24 +0000 (21:03 +0100)]
xmlhandlers: Fix tag pattern again for the default namespace

15 years agomod_presence: Broadcast a user's presence to only the user's 'available' resources
Waqas Hussain [Thu, 23 Apr 2009 19:38:40 +0000 (00:38 +0500)]
mod_presence: Broadcast a user's presence to only the user's 'available' resources

15 years agomod_muc: The default component name is now 'Chatrooms'
Waqas Hussain [Thu, 23 Apr 2009 19:35:50 +0000 (00:35 +0500)]
mod_muc: The default component name is now 'Chatrooms'

15 years agomod_muc: The default component name is now 'Chatrooms'
Waqas Hussain [Thu, 23 Apr 2009 19:35:50 +0000 (00:35 +0500)]
mod_muc: The default component name is now 'Chatrooms'

15 years agomod_muc: The default room name is the room node
Waqas Hussain [Thu, 23 Apr 2009 19:34:49 +0000 (00:34 +0500)]
mod_muc: The default room name is the room node

15 years agomod_muc: The default room name is the room node
Waqas Hussain [Thu, 23 Apr 2009 19:34:49 +0000 (00:34 +0500)]
mod_muc: The default room name is the room node

15 years agoMerge with 0.4 branch
Matthew Wild [Thu, 23 Apr 2009 02:28:35 +0000 (03:28 +0100)]
Merge with 0.4 branch

15 years agomod_bosh: Put dummy authid in session creation response to keep JSJaC happy
Matthew Wild [Thu, 23 Apr 2009 02:27:22 +0000 (03:27 +0100)]
mod_bosh: Put dummy authid in session creation response to keep JSJaC happy

15 years agomod_bosh: Add log message for clients connecting to unknown host
Matthew Wild [Thu, 23 Apr 2009 02:25:48 +0000 (03:25 +0100)]
mod_bosh: Add log message for clients connecting to unknown host

15 years agomod_bosh: Fix nil indexing when client connects to unknown host
Matthew Wild [Thu, 23 Apr 2009 02:25:11 +0000 (03:25 +0100)]
mod_bosh: Fix nil indexing when client connects to unknown host

15 years agocore.loggingmanager: Reinstating global log() function
Matthew Wild [Thu, 23 Apr 2009 01:55:31 +0000 (02:55 +0100)]
core.loggingmanager: Reinstating global log() function

15 years agomod_presence: Fix for local presence subscriptions and probes
Waqas Hussain [Wed, 22 Apr 2009 21:48:22 +0000 (02:48 +0500)]
mod_presence: Fix for local presence subscriptions and probes

15 years agomod_posix: Remove some debug coooooooooode
Matthew Wild [Wed, 22 Apr 2009 20:42:19 +0000 (21:42 +0100)]
mod_posix: Remove some debug coooooooooode

15 years agostanzarouter: Make _G.hosts local
Matthew Wild [Wed, 22 Apr 2009 20:33:44 +0000 (21:33 +0100)]
stanzarouter: Make _G.hosts local

15 years agomod_*: Fix a load of global accesses
Matthew Wild [Wed, 22 Apr 2009 20:32:23 +0000 (21:32 +0100)]
mod_*: Fix a load of global accesses

15 years agocore.componentmanager: Fix global access
Matthew Wild [Wed, 22 Apr 2009 19:52:27 +0000 (20:52 +0100)]
core.componentmanager: Fix global access

15 years agoxmpp{server,client}_listener: Fix global accesses
Matthew Wild [Wed, 22 Apr 2009 19:42:56 +0000 (20:42 +0100)]
xmpp{server,client}_listener: Fix global accesses

15 years agonet.server: Fix global access/incorrect parameter
Matthew Wild [Wed, 22 Apr 2009 19:33:24 +0000 (20:33 +0100)]
net.server: Fix global access/incorrect parameter

15 years agonet.httpserver: Fix potential nil access
Matthew Wild [Wed, 22 Apr 2009 19:31:45 +0000 (20:31 +0100)]
net.httpserver: Fix potential nil access

15 years agonet.http: Fix potential nil access
Matthew Wild [Wed, 22 Apr 2009 19:29:35 +0000 (20:29 +0100)]
net.http: Fix potential nil access

15 years agonet.server: Fix incorrect parameter passing
Matthew Wild [Wed, 22 Apr 2009 19:19:33 +0000 (20:19 +0100)]
net.server: Fix incorrect parameter passing

15 years agonet.server: Fix global access
Matthew Wild [Wed, 22 Apr 2009 19:19:04 +0000 (20:19 +0100)]
net.server: Fix global access

15 years agoMerge with 0.4.1
Matthew Wild [Wed, 22 Apr 2009 19:14:11 +0000 (20:14 +0100)]
Merge with 0.4.1

15 years agomod_posix: Integrate with loggingmanager, register syslog sink, remove redundant...
Matthew Wild [Wed, 22 Apr 2009 19:01:19 +0000 (20:01 +0100)]
mod_posix: Integrate with loggingmanager, register syslog sink, remove redundant logging code

15 years agomod_posix: Remove pidfile on exit
Matthew Wild [Wed, 22 Apr 2009 18:59:58 +0000 (19:59 +0100)]
mod_posix: Remove pidfile on exit

15 years agocore.loggingmanager: Refactoring, converted to a module. Now possible to register...
Matthew Wild [Wed, 22 Apr 2009 18:49:58 +0000 (19:49 +0100)]
core.loggingmanager: Refactoring, converted to a module. Now possible to register additional sink types (think syslog) from other modules

15 years agoutil.set: Add set.xor() to get a set consisting of items not in both sets
Matthew Wild [Wed, 22 Apr 2009 17:03:42 +0000 (18:03 +0100)]
util.set: Add set.xor() to get a set consisting of items not in both sets

15 years agoutil.set: Add set:empty() to discover if the set is the empty set
Matthew Wild [Wed, 22 Apr 2009 17:03:02 +0000 (18:03 +0100)]
util.set: Add set:empty() to discover if the set is the empty set

15 years agoutil.set: Add metatable to sets to allow +, -, /, ==, tostring and to double as iterators
Matthew Wild [Wed, 22 Apr 2009 17:00:45 +0000 (18:00 +0100)]
util.set: Add metatable to sets to allow +, -, /, ==, tostring and to double as iterators

15 years agoutil.array: Add array.collect() to collect results from iterators into an array,...
Matthew Wild [Wed, 22 Apr 2009 16:46:17 +0000 (17:46 +0100)]
util.array: Add array.collect() to collect results from iterators into an array, and use module() to correctly set the module name

15 years agoprosody: Fire events during server shutdown process
Matthew Wild [Tue, 21 Apr 2009 21:05:21 +0000 (22:05 +0100)]
prosody: Fire events during server shutdown process

15 years agoMerge with 0.4.1
Matthew Wild [Tue, 21 Apr 2009 20:11:12 +0000 (21:11 +0100)]
Merge with 0.4.1

15 years agocore.loggingmanager: Add default logging settings (to console) and fill out code...
Matthew Wild [Tue, 21 Apr 2009 20:10:42 +0000 (21:10 +0100)]
core.loggingmanager: Add default logging settings (to console) and fill out code for adding sinks which catch all sources

15 years agomod_presence: Remove some rather drastic debugging code
Waqas Hussain [Tue, 21 Apr 2009 19:49:45 +0000 (00:49 +0500)]
mod_presence: Remove some rather drastic debugging code

15 years agoMerge with 0.4.1
Matthew Wild [Tue, 21 Apr 2009 19:31:12 +0000 (20:31 +0100)]
Merge with 0.4.1

15 years agocore.loggingmanager: Filled out most code, and cleaned up
Matthew Wild [Tue, 21 Apr 2009 19:30:29 +0000 (20:30 +0100)]
core.loggingmanager: Filled out most code, and cleaned up

15 years agoutil.logger: Fix for attempting to call a table
Matthew Wild [Tue, 21 Apr 2009 19:29:38 +0000 (20:29 +0100)]
util.logger: Fix for attempting to call a table

15 years agomod_presence: Fix incorrect internal routing for probes and subscriptions
Waqas Hussain [Tue, 21 Apr 2009 15:52:11 +0000 (20:52 +0500)]
mod_presence: Fix incorrect internal routing for probes and subscriptions

15 years agoMerge with 0.4.1
Matthew Wild [Tue, 21 Apr 2009 02:39:32 +0000 (03:39 +0100)]
Merge with 0.4.1

15 years agoprosody: Remove logging code and instead load core.loggingmanager to set up logging
Matthew Wild [Tue, 21 Apr 2009 02:38:41 +0000 (03:38 +0100)]
prosody: Remove logging code and instead load core.loggingmanager to set up logging

15 years agocore.loggingmanager: A new manager (yay!) to manage log output
Matthew Wild [Tue, 21 Apr 2009 02:37:49 +0000 (03:37 +0100)]
core.loggingmanager: A new manager (yay!) to manage log output

15 years agoutil.logger: Revamped logger library, but backwards-compatible for users of logger...
Matthew Wild [Tue, 21 Apr 2009 02:18:13 +0000 (03:18 +0100)]
util.logger: Revamped logger library, but backwards-compatible for users of logger.init()

15 years agoMerge
Matthew Wild [Mon, 20 Apr 2009 21:25:49 +0000 (22:25 +0100)]
Merge

15 years agocore.s2smanager: Buffer data sent before connection
Matthew Wild [Mon, 20 Apr 2009 21:14:31 +0000 (22:14 +0100)]
core.s2smanager: Buffer data sent before connection

15 years agocore.s2smanager: Logging improvements
Matthew Wild [Mon, 20 Apr 2009 21:13:09 +0000 (22:13 +0100)]
core.s2smanager: Logging improvements

15 years agoMerging stable into unstable
Matthew Wild [Mon, 20 Apr 2009 02:03:07 +0000 (03:03 +0100)]
Merging stable into unstable

15 years agonet.adns: Call handler for records already cached
Matthew Wild [Sat, 18 Apr 2009 16:48:30 +0000 (17:48 +0100)]
net.adns: Call handler for records already cached

15 years agocomponentmanager: Set host.connected = nil when deregistering a component so that...
Matthew Wild [Sat, 18 Apr 2009 13:18:50 +0000 (14:18 +0100)]
componentmanager: Set host.connected = nil when deregistering a component so that we fully restore it when we reload

15 years agocore.xmlhandlers: expat is the XML parser, not us. Don't reject valid XML.
Matthew Wild [Sat, 18 Apr 2009 03:06:41 +0000 (04:06 +0100)]
core.xmlhandlers: expat is the XML parser, not us. Don't reject valid XML.

15 years agoMerge
Matthew Wild [Fri, 17 Apr 2009 15:16:17 +0000 (16:16 +0100)]
Merge

15 years agoprosody: Simple whitespace fix in error output
Matthew Wild [Fri, 17 Apr 2009 15:15:16 +0000 (16:15 +0100)]
prosody: Simple whitespace fix in error output

15 years agocore.configmanager: Fire event when (re)loading config file
Matthew Wild [Fri, 17 Apr 2009 15:14:20 +0000 (16:14 +0100)]
core.configmanager: Fire event when (re)loading config file

15 years agonet.server: Fix potential nil handler usage
Matthew Wild [Fri, 17 Apr 2009 15:11:11 +0000 (16:11 +0100)]
net.server: Fix potential nil handler usage

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

15 years agoStopped using presencemanager in stanza_router
Waqas Hussain [Tue, 14 Apr 2009 23:21:20 +0000 (04:21 +0500)]
Stopped using presencemanager in stanza_router

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

15 years agomod_presence: initial commit
Waqas Hussain [Tue, 14 Apr 2009 21:10:51 +0000 (02:10 +0500)]
mod_presence: initial commit

15 years agocore/eventmanager2 - new event manager
Waqas Hussain [Tue, 14 Apr 2009 21:10:05 +0000 (02:10 +0500)]
core/eventmanager2 - new event manager

15 years agoAllow setting LFLAGS with ./configure --lflags=
Matthew Wild [Tue, 14 Apr 2009 19:07:45 +0000 (20:07 +0100)]
Allow setting LFLAGS with ./configure --lflags=

15 years agomod_debug: Set default interface to 127.0.0.1
Matthew Wild [Sun, 12 Apr 2009 18:05:55 +0000 (19:05 +0100)]
mod_debug: Set default interface to 127.0.0.1

15 years agonet.server: Simple logging fix
Matthew Wild [Sun, 12 Apr 2009 16:03:34 +0000 (17:03 +0100)]
net.server: Simple logging fix

15 years agocore.s2smanager: Don't initiate dialback if we don't have a connection yet
Matthew Wild [Sun, 12 Apr 2009 12:14:45 +0000 (13:14 +0100)]
core.s2smanager: Don't initiate dialback if we don't have a connection yet

15 years agonet.server: Remove some debug code which slipped through
Matthew Wild [Sun, 12 Apr 2009 02:06:22 +0000 (03:06 +0100)]
net.server: Remove some debug code which slipped through

15 years agoMakefiles: Add signal.so to install targets
Matthew Wild [Sun, 12 Apr 2009 02:02:51 +0000 (03:02 +0100)]
Makefiles: Add signal.so to install targets

15 years agoprosody: Add prosody_shutdown() function to initiate a server shutdown, add code...
Matthew Wild [Sun, 12 Apr 2009 01:59:09 +0000 (02:59 +0100)]
prosody: Add prosody_shutdown() function to initiate a server shutdown, add code to gracefully close connections before stopping

15 years agomod_posix: Allow logging and pidfile options to take effect without needing to daemon...
Matthew Wild [Sun, 12 Apr 2009 01:57:52 +0000 (02:57 +0100)]
mod_posix: Allow logging and pidfile options to take effect without needing to daemonize. Add the ability to catch SIGTERM.

15 years agoxmppserver_listener: Add session:close() method to outgoing s2s connections too
Matthew Wild [Sun, 12 Apr 2009 01:55:49 +0000 (02:55 +0100)]
xmppserver_listener: Add session:close() method to outgoing s2s connections too

15 years agonet.server: Add server.setquitting() to gracefully quit the socket loop
Matthew Wild [Sun, 12 Apr 2009 01:54:45 +0000 (02:54 +0100)]
net.server: Add server.setquitting() to gracefully quit the socket loop

15 years agoutil.lsignal: Add lsignal library for catching POSIX signals
Matthew Wild [Sun, 12 Apr 2009 01:53:50 +0000 (02:53 +0100)]
util.lsignal: Add lsignal library for catching POSIX signals

15 years agoMakefiles, util.signal: Add lsignal library for catching POSIX signals
Matthew Wild [Sun, 12 Apr 2009 01:53:00 +0000 (02:53 +0100)]
Makefiles, util.signal: Add lsignal library for catching POSIX signals

15 years agocomponentmanager: Set core_route_stanza after stanza_router is loaded
Matthew Wild [Sat, 11 Apr 2009 22:23:35 +0000 (23:23 +0100)]
componentmanager: Set core_route_stanza after stanza_router is loaded

15 years agocomponentmanager: Use core_route_stanza to reply in the default component
Matthew Wild [Sat, 11 Apr 2009 22:15:04 +0000 (23:15 +0100)]
componentmanager: Use core_route_stanza to reply in the default component

15 years agocomponentmanager: Restore default component when unregistering
Matthew Wild [Sat, 11 Apr 2009 21:25:32 +0000 (22:25 +0100)]
componentmanager: Restore default component when unregistering