Kim Alvefur
|
3436718fab
|
mod_muc: Remove unused variable and pull hosts into a local
|
14 years ago |
Kim Alvefur
|
a3f9da1b44
|
mod_muc: Use module:send() instead of core_*_stanza()
|
14 years ago |
Kim Alvefur
|
df70fc2508
|
mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome: Use module:send() instead of core_*_stanza()
|
14 years ago |
Kim Alvefur
|
9114e88ee0
|
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
|
14 years ago |
Kim Alvefur
|
d4e9884d66
|
stanza_router: Warn if the global core_*_stanza() functions are called
|
14 years ago |
Kim Alvefur
|
a6f403360b
|
mod_admin_telnet: Add xmpp:ping(from, to), useful for initiating s2s connections
|
14 years ago |
Kim Alvefur
|
7f3c5bae63
|
net.server_event: Don't emit empty packets, check for errors first. (fixes #287)
|
14 years ago |
Kim Alvefur
|
fe4e7ec80f
|
portmanager: Show a friendly error message when initializing SSL fails (thanks MattJ for the entire patch that I fixed one line in)
|
14 years ago |
Matthew Wild
|
5a946f32b4
|
Merge with Zash
|
14 years ago |
IRON
|
6da5a6f1c0
|
mod_pep: Allow configurable service discovery identity (Fix)
|
14 years ago |
Matthew Wild
|
cbe9fe6825
|
Merge with IRON
|
14 years ago |
IRON
|
372049e114
|
mod_pep: Allow configurable service discovery identity
|
14 years ago |
Kim Alvefur
|
b27ef47ca4
|
mod_admin_telnet: Remove useless call to string.lower()
|
14 years ago |
Kim Alvefur
|
61ea70dcd6
|
mod_admin_telnet: Add missing import of usermanager
|
14 years ago |
Kim Alvefur
|
edf0023762
|
mod_admin_telnet: Remove unused or duplicated locals
|
14 years ago |
Matthew Wild
|
a9b4512005
|
loggingmanager: Remove unused variables
|
14 years ago |
Matthew Wild
|
9306fa4979
|
mod_auth_cyrus, util.sasl_cyrus: Add new option 'cyrus_server_fqdn' to override the hostname passed to Cyrus (and used in e.g. GSSAPI/Kerberos) - fixes #295
|
14 years ago |
Matthew Wild
|
ce33d9c59d
|
mod_muc: Fix a couple of cases of 'forbidden' stanza error being sent with type 'cancel' - fixes #303
|
14 years ago |
Kim Alvefur
|
6794744053
|
mod_bosh: Use new format for headers when checking for proxies to get the originating IP
|
14 years ago |
Matthew Wild
|
be56306272
|
mod_s2s: Bump s2s_timeout to 90, to allow for the TCP timeout (in most cases) - this allows us to continue to try other targets
|
14 years ago |
Matthew Wild
|
9931497619
|
mod_c2s, mod_s2s: Lower 'Disconnecting X' log messages from 'info' to 'debug'
|
14 years ago |
Matthew Wild
|
99fee69edb
|
sessionmanager: Lower 'destroying session' message to 'debug' level (from 'info')
|
14 years ago |
Matthew Wild
|
249829afcb
|
s2smanager: Remove logging of (unknown) in a case where from_host and to_host should always be set
|
14 years ago |
Matthew Wild
|
e89b006f03
|
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
|
14 years ago |
Matthew Wild
|
badc4159d6
|
certmanager: Remove unused import of setmetatable
|
14 years ago |
Matthew Wild
|
d1da857c33
|
certmanager: Fix for traceback WITH LuaSec... (!) (thanks IRON)
|
14 years ago |
Matthew Wild
|
9d5b5e9a91
|
certmanager: Fix traceback for missing LuaSec (thanks Link Mauve)
|
14 years ago |
Matthew Wild
|
effb9a4c48
|
mod_admin_telnet: Always handle commands terminated by line feeds - ensures consistency even when packets are joined or split on the network
|
14 years ago |
Matthew Wild
|
0771b51658
|
mod_s2s: Adjust session:close() in line with mod_c2s's - fixes waiting for </stream:stream> if it has already been sent by the peer
|
14 years ago |
Matthew Wild
|
9f24aa6cf8
|
mod_s2s/s2sout.lib: Use %s to insert strings into log messages instead of concatenation
|
14 years ago |
Matthew Wild
|
bac46c9935
|
mod_c2s: Change 'reason' parameter of session:close() to take nil to mean 'graceful close initiated by us' and false for 'graceful close initiated by client'
|
14 years ago |
Matthew Wild
|
8b103580ec
|
mod_disco: Allow configurable name in disco identity (defaults to 'Prosody')
|
14 years ago |
Matthew Wild
|
8a79164f2b
|
net.server_event: Remove unused variables and imports
|
14 years ago |
Matthew Wild
|
189de127dc
|
net.server_select: Remove unused variables and imports
|
14 years ago |
Matthew Wild
|
a60f6500ea
|
net.server_select: Remove extraneous variable
|
14 years ago |
Matthew Wild
|
360e6eeeeb
|
sessionmanager: Clean up some unused variables and imports
|
14 years ago |
Matthew Wild
|
689b6f19a0
|
net.server_select: Never call ondisconnect() directly, go via handler:close() or handler:force_close() - fixes cases where ondisconnect() could be called multiple times for the same connection, leading to issues with s2sout retry logic.
|
14 years ago |
Matthew Wild
|
d0fd520b7b
|
Merge with Maranda
|
14 years ago |
Matthew Wild
|
c6b709ed7f
|
Merge with Zash
|
14 years ago |
Matthew Wild
|
bc01526093
|
Merge Zash with Zash for Zash
|
14 years ago |
Matthew Wild
|
f07fe41db1
|
mod_admin_telnet: Replace anonymous function with loop (saves a closure)
|
14 years ago |
Matthew Wild
|
8a965123f5
|
Merge 0.9->trunk
|
14 years ago |
Matthew Wild
|
6aa575f09b
|
mod_s2s: Don't call ondisconnect manually, don't call conn:close() 3 times (!) and merge its logic and streamdisconnected into session_close - including now waiting for a reply </stream:stream> if there is the chance of further stanzas requiring delivery arriving. session.sends2s() on a half-closed stream returns false.
|
14 years ago |
Matthew Wild
|
900a0add21
|
mod_s2s: Don't treat a stanza as delivered if session.sends2s() returns false
|
14 years ago |
Matthew Wild
|
3bdb9e7da9
|
mod_presence: Handle nil disconnection error
|
14 years ago |
Matthew Wild
|
1135a220df
|
mod_iq: Don't treat an iq as handled if session.send() returns false
|
14 years ago |
Matthew Wild
|
2ab34e6019
|
mod_message: Don't treat a message as delivered ok if session.send() returns false
|
14 years ago |
Matthew Wild
|
3424d79abb
|
mod_c2s: Don't call ondisconnect manually on close, it is now called by net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data).
|
14 years ago |
Matthew Wild
|
ef88813111
|
net.http: Don't call ondisconnect manually, net.server now calls it on close
|
14 years ago |
Matthew Wild
|
73c5470e83
|
net.server_select, net.server_event: Change semantics of conn:close() - always call ondisconnect (with err == nil), and never close with data in send buffer (i.e. 'now' parameter removed)
|
14 years ago |