prosody.git
15 years agoFinally add README and INSTALL files
Matthew Wild [Fri, 22 May 2009 12:34:47 +0000 (13:34 +0100)]
Finally add README and INSTALL files

15 years agostanza_router: Fix for subscriptions to users on components [0.4 branch only]
Matthew Wild [Thu, 21 May 2009 15:06:50 +0000 (16:06 +0100)]
stanza_router: Fix for subscriptions to users on components [0.4 branch only]

15 years agomod_saslauth: Fix logic error which prevented SASL ANONYMOUS from working
Matthew Wild [Mon, 18 May 2009 03:48:35 +0000 (04:48 +0100)]
mod_saslauth: Fix logic error which prevented SASL ANONYMOUS from working

15 years agostanza_router: Bounce stanzas to/from invalid JIDs with a jid-malformed error
Matthew Wild [Wed, 13 May 2009 15:54:46 +0000 (16:54 +0100)]
stanza_router: Bounce stanzas to/from invalid JIDs with a jid-malformed error

15 years agoutil.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!)
Matthew Wild [Wed, 6 May 2009 20:45:02 +0000 (21:45 +0100)]
util.prosodyctl: Import CFG_SOURCEDIR from the global environment (thanks macaronyde!)

15 years agoTagging 0.4.1
Matthew Wild [Tue, 5 May 2009 17:08:33 +0000 (18:08 +0100)]
Tagging 0.4.1

15 years agoutil.serialization: Write nil for non-serializable data types, and bump the log level...
Matthew Wild [Tue, 5 May 2009 17:07:13 +0000 (18:07 +0100)]
util.serialization: Write nil for non-serializable data types, and bump the log level to 'error'

15 years agotools/ejabberd2prosody: Fixed private storage export
Waqas Hussain [Tue, 5 May 2009 16:13:09 +0000 (21:13 +0500)]
tools/ejabberd2prosody: Fixed private storage export

15 years agoprosodyctl: Add message for unable-to-save-data error
Matthew Wild [Tue, 5 May 2009 15:37:43 +0000 (16:37 +0100)]
prosodyctl: Add message for unable-to-save-data error

15 years agoutil.prosodyctl: Return success status of usermanager.create_user()
Matthew Wild [Tue, 5 May 2009 15:37:17 +0000 (16:37 +0100)]
util.prosodyctl: Return success status of usermanager.create_user()

15 years agoprosodyctl: Reformat note to fit in small-width terminals
Matthew Wild [Tue, 5 May 2009 15:25:13 +0000 (16:25 +0100)]
prosodyctl: Reformat note to fit in small-width terminals

15 years agoprosodyctl: Use correct path for the data directory
Matthew Wild [Tue, 5 May 2009 14:47:34 +0000 (15:47 +0100)]
prosodyctl: Use correct path for the data directory

15 years agomod_posix: Reload the config and reopen log files on SIGHUP
Matthew Wild [Tue, 5 May 2009 13:19:45 +0000 (14:19 +0100)]
mod_posix: Reload the config and reopen log files on SIGHUP

15 years agologgingmanager: File log sinks react to reopen-log-files event
Matthew Wild [Tue, 5 May 2009 13:19:20 +0000 (14:19 +0100)]
loggingmanager: File log sinks react to reopen-log-files event

15 years agoprosody: Add functions to reload the config and re-open log files
Matthew Wild [Tue, 5 May 2009 13:17:06 +0000 (14:17 +0100)]
prosody: Add functions to reload the config and re-open log files

15 years agoprosodyctl: status: Show warning if we can't find a running Prosody, and we didn...
Matthew Wild [Tue, 5 May 2009 12:24:17 +0000 (13:24 +0100)]
prosodyctl: status: Show warning if we can't find a running Prosody, and we didn't switch user

15 years agoprosodyctl: Switch to Prosody user before attempting to do anything
Matthew Wild [Tue, 5 May 2009 12:23:46 +0000 (13:23 +0100)]
prosodyctl: Switch to Prosody user before attempting to do anything

15 years agonet.httpserver: Fix for urlencoding to always produce 2 digits
Matthew Wild [Mon, 4 May 2009 19:35:44 +0000 (20:35 +0100)]
net.httpserver: Fix for urlencoding to always produce 2 digits

15 years agonet.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks...
Matthew Wild [Mon, 4 May 2009 18:53:31 +0000 (19:53 +0100)]
net.http, net.httpserver: Remove urlcodes table... it really isn't needed (thanks Jan Harkes)

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 agomod_bosh: Give BOSH sessions a logger (thanks Florob)
Matthew Wild [Mon, 4 May 2009 18:38:21 +0000 (19:38 +0100)]
mod_bosh: Give BOSH sessions a logger (thanks Florob)

15 years agomod_component: Vastly reduce the code, having split most of it to where it should...
Matthew Wild [Mon, 4 May 2009 18:36:16 +0000 (19:36 +0100)]
mod_component: Vastly reduce the code, having split most of it to where it should be, xmppcomponent_listener

15 years agoutil.serialization: Log a warning when trying to serialize something we can't
Matthew Wild [Mon, 4 May 2009 18:35:29 +0000 (19:35 +0100)]
util.serialization: Log a warning when trying to serialize something we can't

15 years agoprosody, xmppcomponent_listener: Add listener for XEP-0114 component connections
Matthew Wild [Mon, 4 May 2009 18:28:16 +0000 (19:28 +0100)]
prosody, xmppcomponent_listener: Add listener for XEP-0114 component connections

15 years agomodulemanager: No need for print()
Matthew Wild [Mon, 4 May 2009 18:08:55 +0000 (19:08 +0100)]
modulemanager: No need for print()

15 years agoutil.multitable: No globals today, thank you. Fixes missing table entries and a poten...
Matthew Wild [Mon, 4 May 2009 18:06:31 +0000 (19:06 +0100)]
util.multitable: No globals today, thank you. Fixes missing table entries and a potential traceback

15 years agoprosodyctl: Hide ejabberd compatibility commands from command listing
Matthew Wild [Sun, 3 May 2009 16:24:35 +0000 (17:24 +0100)]
prosodyctl: Hide ejabberd compatibility commands from command listing

15 years agologgingmanager: Support for specifying a single sink with *sinkname (*syslog should...
Matthew Wild [Sun, 3 May 2009 16:13:43 +0000 (17:13 +0100)]
loggingmanager: Support for specifying a single sink with *sinkname (*syslog should now work)

15 years agonet.connlisteners: Lower log level of multiple listeners warning (not interesting...
Matthew Wild [Sun, 3 May 2009 00:10:49 +0000 (01:10 +0100)]
net.connlisteners: Lower log level of multiple listeners warning (not interesting to end-users)

15 years agonet.server: Add getserver() method to find the server listening on the specified...
Matthew Wild [Sun, 3 May 2009 00:09:57 +0000 (01:09 +0100)]
net.server: Add getserver() method to find the server listening on the specified port

15 years agoutil.datamanager: Lower log level of 'Setting data path' to 'debug'
Matthew Wild [Sat, 2 May 2009 21:04:21 +0000 (22:04 +0100)]
util.datamanager: Lower log level of 'Setting data path' to 'debug'

15 years agocomponentmanager: Reduce log output at startup to 'debug'
Matthew Wild [Sat, 2 May 2009 21:03:44 +0000 (22:03 +0100)]
componentmanager: Reduce log output at startup to 'debug'

15 years agohostmanager: Reduce log output at startup to 'debug'
Matthew Wild [Sat, 2 May 2009 21:02:43 +0000 (22:02 +0100)]
hostmanager: Reduce log output at startup to 'debug'

15 years agomodulemanager: Don't load modules when modules_enable is false
Matthew Wild [Sat, 2 May 2009 21:01:22 +0000 (22:01 +0100)]
modulemanager: Don't load modules when modules_enable is false

15 years agoprosody: Less verbose logging during shutdown sequence
Matthew Wild [Sat, 2 May 2009 19:36:20 +0000 (20:36 +0100)]
prosody: Less verbose logging during shutdown sequence

15 years agomod_posix: Don't let the server run as root without the magic run_as_root in config
Matthew Wild [Sat, 2 May 2009 19:32:43 +0000 (20:32 +0100)]
mod_posix: Don't let the server run as root without the magic run_as_root in config

15 years agoprosody: Define prosody_shutdown() before emitting the server-starting event
Matthew Wild [Sat, 2 May 2009 19:32:17 +0000 (20:32 +0100)]
prosody: Define prosody_shutdown() before emitting the server-starting event

15 years agoMakefile: Process and install prosodyctl
Matthew Wild [Sat, 2 May 2009 19:30:50 +0000 (20:30 +0100)]
Makefile: Process and install prosodyctl

15 years agoprosodyctl: Multiple fixes for start/status/stop
Matthew Wild [Sat, 2 May 2009 16:48:28 +0000 (17:48 +0100)]
prosodyctl: Multiple fixes for start/status/stop

15 years agoprosodyctl, util.prosodyctl: New prosodyctl utility for managing Prosody servers
Matthew Wild [Sat, 2 May 2009 16:03:19 +0000 (17:03 +0100)]
prosodyctl, util.prosodyctl: New prosodyctl utility for managing Prosody servers

15 years agoprosody: Add log messages during shutdown sequence to indicate progress
Matthew Wild [Sat, 2 May 2009 16:01:21 +0000 (17:01 +0100)]
prosody: Add log messages during shutdown sequence to indicate progress

15 years agomod_console: Add s2s:show() command to list s2s connections
Matthew Wild [Sat, 2 May 2009 15:59:37 +0000 (16:59 +0100)]
mod_console: Add s2s:show() command to list s2s connections

15 years agoprosody: Don't require console_enabled option anymore
Matthew Wild [Sat, 2 May 2009 15:58:40 +0000 (16:58 +0100)]
prosody: Don't require console_enabled option anymore

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 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 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 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 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 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_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_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 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 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 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 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 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 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 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