aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update Makefile to now pass config paths to prosody. Update prosody, ↵Matthew Wild2008-11-291-2/+3
| | | | | | | | modulemanager and connectionlisteners to obey these paths.
| * Fix for configmanager when config file can't be foundMatthew Wild2008-11-291-3/+7
| |
* | Moved incoming c2s presence handling from stanza_router to presencemanagerWaqas Hussain2008-11-292-71/+93
|/
* No more reading 1 byte at a time from socketsMatthew Wild2008-11-281-1/+1
|
* Merge from waqasMatthew Wild2008-11-272-10/+5
|\
| * Completely switched to new hashes library from the old md5 libraryWaqas Hussain2008-11-281-8/+3
| |
| * Switched from md5 to sha256 for dialback key generationWaqas Hussain2008-11-281-2/+2
| |
* | is_loaded() and incomplete unload() for modulesMatthew Wild2008-11-271-0/+20
|/
* Bumper commit for the new modulemanager API \o/ Updates all the modules, ↵Matthew Wild2008-11-272-62/+104
| | | | though some more changes may be in store.
* Removing servermanager... it is no longer usedMatthew Wild2008-11-271-21/+0
|
* Log reason for connection failureMatthew Wild2008-11-261-1/+1
|
* (Basic) IDNA and SRV fallback supportMatthew Wild2008-11-261-33/+54
|
* Added options to limit the number of resources and for handling of resource ↵Waqas Hussain2008-11-271-2/+29
| | | | | | | conflicts - core.max_resources: defaults to 10 - core.conflict_resolve: can be "random", "increment", "kick_new" and "kick_old" (default)
* Minor bug fixWaqas Hussain2008-11-261-2/+2
|
* Added helper method to discomanagerWaqas Hussain2008-11-261-0/+13
|
* Check to prevent error on IQs from completely unhandled originsWaqas Hussain2008-11-231-2/+2
|
* Merge from waqasMatthew Wild2008-11-231-1/+1
|\
| * Ahem, a bit of an identity crisis..Waqas Hussain2008-11-231-1/+1
| |
* | Typo prevented modulemanager.load() from returning the error if load failed.Matthew Wild2008-11-231-4/+4
| |
* | Merge from waqasMatthew Wild2008-11-232-3/+42
|\|
| * Added discomanagerWaqas Hussain2008-11-231-0/+39
| |
| * Check to prevent error for IQs from completely unhandled originsWaqas Hussain2008-11-221-3/+3
| |
* | New configmanager. Old-style config files still work, but will print a warningMatthew Wild2008-11-231-10/+26
|/
* Now possible to specify nil origin to core_route_stanza. Origin will be ↵Matthew Wild2008-11-211-0/+4
| | | | chosen as the host of the 'from' attribute on the stanza. Returns false on no such host.
* Import initial configmanager, not sure if it works yet, but it does pass the ↵Matthew Wild2008-11-211-0/+105
| | | | unit tests ;)
* Remove or comment useless prints, or change them to log()Matthew Wild2008-11-202-5/+3
|
* Don't error reply to stanzas direct over the s2s stream they came fromMatthew Wild2008-11-201-1/+1
|
* Use a stanza for c2s stream features instead of an array of strings. Removes ↵Matthew Wild2008-11-201-9/+3
| | | | a FIXME.
* Log number of open sessions on session creationMatthew Wild2008-11-201-0/+1
|
* Remove a debug print() from xmlhandlersMatthew Wild2008-11-201-1/+0
|
* Remove version=1.0 on s2s stream headers, again.Matthew Wild2008-11-201-1/+1
|
* Remove an old FIXME commentMatthew Wild2008-11-191-3/+1
|
* Comments and logging fixesMatthew Wild2008-11-191-14/+0
|
* Send version=1.0 again in s2s stream headerMatthew Wild2008-11-191-1/+1
|
* Fix for setting the correct host on the socket, seems to fix s2s with XCPMatthew Wild2008-11-191-1/+1
|
* Don't send version 1.0. Who cares about Gmail?Matthew Wild2008-11-191-1/+1
|
* Send version=1.0 in s2s stream header. Send s2s stream:features when in 1.0 ↵Matthew Wild2008-11-191-12/+17
| | | | mode.
* Don't attempt to auth connection unless stanzas are being sent across itMatthew Wild2008-11-191-1/+1
|
* Log sent s2s stanzasMatthew Wild2008-11-191-4/+6
|
* Don't error if streamopened/streamclosed callback is not specified for a sessionMatthew Wild2008-11-191-5/+9
|
* Extra checks before sending error replies to incoming stanzasMatthew Wild2008-11-191-4/+4
|
* Fix sending of unavailable presence on disconnectMatthew Wild2008-11-191-2/+4
|
* We have SRV resolving \o/Matthew Wild2008-11-181-6/+28
|
* Small fix for servermanagerMatthew Wild2008-11-181-1/+1
|
* *ahem* Yes, move along please... though really, quite a classic. :)Matthew Wild2008-11-181-1/+1
|
* session:disconnect() -> session:close() for consistency with other Lua APIsMatthew Wild2008-11-182-4/+2
|
* Remove useless check for unavailable presence (which never exists)Matthew Wild2008-11-181-1/+1
|
* Quite some changes, to:Matthew Wild2008-11-183-9/+31
| | | | | | | | - Small logging fix for s2smanager - Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11) - init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this) - Move sending of unavailable presence to where it should be, sessionmanager.destroy_session - Fix sending of stream errors to wrong connection
* Allow us to close client connections, with or without a stream error. ↵Matthew Wild2008-11-181-2/+12
| | | | Partially fixes #8, we still need the same for s2s (though it should be almost a straight copy of the code, I'm too tired atm)
* Fixed s2s manager's send queue to not store recieved stanza objects (as ↵Waqas Hussain2008-11-171-0/+1
| | | | these can chnage after the send call)