aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s2smanager: Log error and fail gracefully if we can't open a socket for an ↵Matthew Wild2010-01-191-0/+5
| | | | outgoing s2s connection (thanks foucault)
* net.xmppserver_listener: Handle stream-error errors from xmlhandlers, and ↵Matthew Wild2010-01-191-1/+20
| | | | close session in response
* net.xmppserver_listener: Extend session:close() with a remote_reason parameterMatthew Wild2010-01-191-2/+2
|
* s2smanager: No-one noticed that Prosody stopped sending to/from on stream ↵Matthew Wild2010-01-191-1/+1
| | | | headers recently? :)
* xmlhandlers: Move stream-error detection to somewhere more appropriate (it ↵Matthew Wild2010-01-191-4/+6
| | | | was never reached) - s2s stream errors now reported properly
* mod_bosh: Update for new xmlhandlers syntaxMatthew Wild2010-01-191-1/+1
|
* net.xmpp{client,server,component}: Update for new xmlhandlers syntaxMatthew Wild2010-01-193-9/+6
|
* net.xmppserver_listener: Pass reason for session disconnection to disconnect ↵Matthew Wild2010-01-191-1/+1
| | | | handler, if known
* xmlhandlers: More refactoring, split up stream_ns and stream_tag, add ↵Matthew Wild2010-01-191-1/+7
| | | | stream_error_tag so that callers don't need to be so worried about the separator we use
* xmlhandlers: Define ns_separator and ns_pattern to save repeating it in ↵Matthew Wild2010-01-181-3/+5
| | | | literal form throughout the file
* net.server_event: Remove access to starttls method when starttls is ↵Matthew Wild2010-01-181-0/+1
| | | | negotiated - fixes offering starttls to client who are already using it (thanks darkrain and Adium)
* mod_presence: Automatically deny presence requests for hosts, fixes ↵Matthew Wild2010-01-181-0/+7
| | | | traceback in #153
* stanza_router: Log the name of unhandled stanzas (thanks bear)Matthew Wild2010-01-181-1/+1
|
* util.signal: Using stdlib.h instead of malloc.h.Tobias Markmann2010-01-151-1/+1
|
* mod_muc: Remove unused history_length declarationMatthew Wild2010-01-131-1/+0
|
* prosodyctl: Use mode r+ for opening the file so 1) it fails if the file ↵Matthew Wild2010-01-131-1/+1
| | | | doesn't exist 2) we have write access to lock it
* mod_posix: Adjust file open mode depending on whether file exists (take that ↵Matthew Wild2010-01-131-1/+3
| | | | fopen designers!!!)
* util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdirMatthew Wild2010-01-123-3/+3
|
* xmppclient_listener: Allow the tcp_keepalives option in the config to ↵Matthew Wild2010-01-121-0/+7
| | | | control whether keepalives are used
* net.server_event: Add conn:setoption() to set options on the socketMatthew Wild2010-01-121-0/+4
|
* net.server_select: Add conn:setoption() to set options on the socketMatthew Wild2010-01-121-0/+3
|
* mod_saslauth: Fixed some indentation and added some semi-colons.Waqas Hussain2010-01-111-54/+51
|
* mod_saslauth: Made some variables local to avoid unnecessary global access.Waqas Hussain2010-01-111-16/+16
|
* sessionmanager: Added resource prepping, and invalid resource checking to ↵Waqas Hussain2010-01-111-1/+3
| | | | the bind_resource function.
* mod_register: Return a <not-acceptable/> error on empty usernames (thanks ↵Waqas Hussain2010-01-111-1/+1
| | | | Neustradamus).
* componentmanager: Add dialback_secret to components to allow s2s to work ↵Matthew Wild2010-01-111-3/+9
| | | | (thanks Flo)
* util.prosodyctl: Report Prosody as not running if the pidfile isn't lockedMatthew Wild2010-01-111-2/+9
|
* mod_posix: Lock pidfile when in use, shut down if we can't write or lock the ↵Matthew Wild2010-01-101-12/+23
| | | | pidfile
* util.datamanager: Use pposix.mkdir if availableMatthew Wild2010-01-101-3/+9
|
* util.pposix: Add mkdir(path)Matthew Wild2010-01-101-0/+17
|
* prosodyctl: Move definition of prosody singleton to prior to loading ↵Matthew Wild2010-01-101-2/+3
| | | | datamanager, and add platform
* util.pposix: Replace the unwieldy module table generation with ↵Matthew Wild2010-01-101-33/+18
| | | | luaL_register() call - side effect - it now sets the pposix global to the module table
* mod_posix: Set umask to 'umask' from the config, or 027Matthew Wild2010-01-101-0/+3
|
* prosodyctl: Set umask to protect data files, bump pposix dep to 0.3.2Matthew Wild2010-01-101-1/+4
|
* util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in ↵Matthew Wild2010-01-102-2/+18
| | | | mod_posix)
* util.pposix: Fix return type of lc_abort to shush compiler warningMatthew Wild2010-01-101-1/+2
|
* util.posix: Trailing whitespaceMatthew Wild2010-01-101-25/+25
|
* net.server: When libevent backend is in use, override signal.signal to use ↵Matthew Wild2010-01-101-0/+17
| | | | server.hook_signal
* net.server_event: Add server.hook_signal(signal_num, handler) to wrap ↵Matthew Wild2010-01-101-1/+17
| | | | libevent's signal-catching interface
* mod_posix: Remove the lines added to work around the util.signal loop bugMatthew Wild2010-01-101-2/+0
|
* util.signal: Restore the old debug hook earlier, just in case we receive ↵Matthew Wild2010-01-101-2/+3
| | | | another signal between clearing the signal queue and restoring it
* util.signal: Update version in header, and author's emailMatthew Wild2010-01-101-2/+2
|
* util.signal: Queue up multiple signals, instead of trampling on the previous ↵Matthew Wild2010-01-101-20/+44
| | | | debug hook (and never clearing our own)
* prosody: net_activate_ports: Accept strings as well as numbers for ↵Matthew Wild2010-01-091-0/+1
| | | | specifying ports
* prosody: Read list of possible config extensions from configmanager, removes ↵Matthew Wild2010-01-091-3/+3
| | | | old TODO
* configmanager: Add parsers() method to return an array of supported config ↵Matthew Wild2010-01-091-2/+11
| | | | formats
* s2smanager: Split sending of stream header into a :open_stream() methodMatthew Wild2010-01-091-2/+11
|
* net.dns: Make sure math.randomseed() gets passed an integerMatthew Wild2010-01-071-1/+1
|
* net.server_select: Fix oops in last commitMatthew Wild2010-01-061-1/+1
|
* net.server_select: Allow setting the logger using server.setloggerMatthew Wild2010-01-061-0/+9
|