aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s2smanager: Lower default DNS timeout to 15s (it's now a per-DNS-server ↵Matthew Wild2010-07-051-15/+3
| | | | timeout, rather than total timeout), use net.dns's new timeout system, and remove our custom timeout handlers
* net.dns: Add dns.settimeout() to set the timeout for the default resolverMatthew Wild2010-07-051-0/+4
|
* net.dns: Make timeout configurable (default 15s)Matthew Wild2010-07-051-4/+9
|
* net.dns, net.adns: Update resolver:cancel() API so that a table doesn't need ↵Matthew Wild2010-07-052-6/+6
| | | | to be created for each cancellation internal to net.dns
* net.dns, net.adns: Move coroutine-calling logic into resolver:cancel()Matthew Wild2010-07-052-6/+6
|
* net.dns: Handle our own timeouts, including falling onto other servers in ↵Matthew Wild2010-07-051-1/+25
| | | | resolv.conf if necessary
* mod_roster: Use value returned by pairs() during roster iteration to avoid ↵Matthew Wild2010-07-051-5/+5
| | | | dozens of wasteful table lookups
* mod_bosh: Add jabber:client namespace to stanzas with no namespaceMatthew Wild2010-07-041-0/+5
|
* xmppcomponent_listener: Add log messages for when stanzas from components ↵Matthew Wild2010-07-041-0/+2
| | | | have invalid or missing to/from addresses
* xmppcomponent_listener: Import jid_split to fix undefined global referenceMatthew Wild2010-07-041-0/+1
|
* mod_component: Read validate_from_addresses option from the configMatthew Wild2010-07-041-0/+2
|
* Merge 0.7->trunkWaqas Hussain2010-07-031-0/+2
|\
| * mod_privacy: Add service discovery feature.Waqas Hussain2010-07-031-0/+2
| |
* | xmppcomponent_listener: Don't validate to/from on non-stanzas, fixes ↵Waqas Hussain2010-07-031-18/+20
| | | | | | | | component auth.
* | xmppcomponent_listener: Validate to/from on components, fixes #104 and #162Matthew Wild2010-07-031-0/+21
| |
* | Merge 0.7->trunkMatthew Wild2010-07-021-1/+3
|\|
| * mod_privacy: Return the correct item-not-found instead of bad-request when a ↵Matthew Wild2010-07-021-1/+3
| | | | | | | | non-existent list is activated by the client (thanks teo)
* | Merge 0.7->trunkMatthew Wild2010-07-022-5/+5
|\|
| * net.server_select: Clean up buffer and fire drained callback on successful ↵Matthew Wild2010-07-021-1/+1
| | | | | | | | write before we try and start TLS negotiation (if negotiation fails instantly then we can be left without a handler to use for cleanup) (thanks dersd)
| * net.server_select: Fix a snippet of code that was living at the wrong ↵Matthew Wild2010-07-021-3/+3
| | | | | | | | indentation level
| * s2smanager: Don't attempt to connect to a nil host (for whatever reason... ↵Matthew Wild2010-07-021-1/+1
| | | | | | | | invalid DNS record perhaps?) (thanks dersd)
* | s2smanager: Register outgoing connection with the connection listener only ↵Matthew Wild2010-07-021-4/+4
| | | | | | | | after initializing filters (thanks darkrain, dersd)
* | util.prosodyctl: Fixed host variables in user_exists.Tobias Tom2010-07-011-2/+2
| |
* | configure: Add ostype preset for FreeBSD (thanks dersd and tobias (no, the ↵Matthew Wild2010-07-011-1/+11
| | | | | | | | other one))
* | Merge 0.7->trunkMatthew Wild2010-06-291-1/+1
|\|
| * Merge backoutMatthew Wild2010-06-291-1/+1
| |\
| | * Backed out changeset 454e1cf18daf (this isn't for debugging, it's to inform ↵Matthew Wild2010-06-291-1/+1
| | | | | | | | | | | | the user)
* | | mod_register: Remove the offline store as a list (originally aa3725bbcde5 ↵Matthew Wild2010-06-291-1/+1
| | | | | | | | | | | | but missed in a merge)
* | | Merge 0.7->trunkMatthew Wild2010-06-294-5/+47
|\| |
| * | mod_privacy: Treat stanzas with no 'to' address as going to the user's bare ↵Matthew Wild2010-06-291-1/+1
| | | | | | | | | | | | JID (thanks KSid)
| * | util.sasl_cyrus: Return error strings using the new table mapping error ↵Waqas Hussain2010-06-241-3/+3
| | | | | | | | | | | | codes to strings.
| * | util.sasl_cyrus: Added a table mapping error codes to strings.Waqas Hussain2010-06-241-0/+41
| | |
| * | mod_register: Delete the offline store as a list, and delete the privacy store.Waqas Hussain2010-06-241-1/+2
| | |
| * | mod_register: Don't disable account before deleting it (unnecessary, and can ↵Waqas Hussain2010-06-241-1/+1
| | | | | | | | | | | | cause problems).
| * | mod_compression: Lowered a log level.Waqas Hussain2010-06-241-1/+1
| | |
* | | util.prosodyctl: Initialize the host's auth provider if necessary (thanks ↵Matthew Wild2010-06-291-0/+12
| | | | | | | | | | | | johnny, and all the other people whom this hindered :) )
* | | usermanager: Expose host_handler() as initialize_host()Matthew Wild2010-06-291-3/+3
| | |
* | | mod_auth_anonymous, mod_auth_cyrus: Removed unused variables.Waqas Hussain2010-06-242-8/+0
| | |
* | | mod_auth_anonymous, mod_auth_cyrus: Removed is_admin(), as usermanager ↵Waqas Hussain2010-06-242-25/+1
| | | | | | | | | | | | already has a default.
* | | mod_pep: Fixed a possible traceback during disco#items queries on a user's ↵Waqas Hussain2010-06-241-2/+2
| | | | | | | | | | | | bare JID by remote users.
* | | mod_auth_internal_hashed: Update TODO comments to COMPATMatthew Wild2010-06-221-3/+3
| | |
* | | mod_auth_internal_hashed: Remove far too many instances of inline hex ↵Matthew Wild2010-06-221-14/+35
| | | | | | | | | | | | conversion using gsub, which was creating useless closures and what-not
* | | mod_auth_internal, mod_auth_internal_hashed: Remove is_admin method from ↵Matthew Wild2010-06-222-20/+2
| | | | | | | | | | | | providers
* | | mod_adhoc: Update for new is_admin usageMatthew Wild2010-06-221-3/+1
| | |
* | | usermanager: is_admin: Resume the old role of determining precisely whether ↵Matthew Wild2010-06-221-9/+28
| | | | | | | | | | | | a user is an admin for a given host (or a global admin) - auth providers checked for JIDs not listed in the config if they support it
* | | util.signal: Moved a variable declaration to the top of a function, for ANSI ↵Waqas Hussain2010-06-201-1/+1
| | | | | | | | | | | | C compliance.
* | | util.signal: Removed #include <sys/param.h>, as it appears unnecessary.Waqas Hussain2010-06-201-4/+0
| | |
* | | util.signal: Make kill() available on OS X (thanks darkrain).Waqas Hussain2010-06-201-3/+3
| | |
* | | MUC: A little modification to improve code analysis.Waqas Hussain2010-06-191-1/+4
| | |
* | | MUC: Updated room:set_role() to use room:can_set_role().Waqas Hussain2010-06-191-3/+2
| | |