prosody.git
15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Thu, 25 Dec 2008 01:37:13 +0000 (01:37 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoMoved directory auto-creation to datamanager
Waqas Hussain [Thu, 25 Dec 2008 01:35:05 +0000 (06:35 +0500)]
Moved directory auto-creation to datamanager

15 years agoMore error replies for offline and non-existing users
Waqas Hussain [Thu, 25 Dec 2008 00:16:11 +0000 (05:16 +0500)]
More error replies for offline and non-existing users

15 years agoDirected presence
Waqas Hussain [Wed, 24 Dec 2008 23:58:15 +0000 (04:58 +0500)]
Directed presence

15 years agoChanged order of checking for component hosts to check the full and bare JIDs before...
Waqas Hussain [Wed, 24 Dec 2008 23:27:19 +0000 (04:27 +0500)]
Changed order of checking for component hosts to check the full and bare JIDs before the hostname (at another place)

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Wed, 24 Dec 2008 23:19:48 +0000 (23:19 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoFix for not loading global modules when host-specific modules are specified in config
Matthew Wild [Wed, 24 Dec 2008 18:48:09 +0000 (18:48 +0000)]
Fix for not loading global modules when host-specific modules are specified in config

15 years agoChanged order of checking for component hosts to check the full and bare JIDs before...
Waqas Hussain [Wed, 24 Dec 2008 00:10:13 +0000 (05:10 +0500)]
Changed order of checking for component hosts to check the full and bare JIDs before the hostname

15 years agoInitial mod_bosh, works, kind of, but quite incomplete
Matthew Wild [Mon, 22 Dec 2008 22:19:42 +0000 (22:19 +0000)]
Initial mod_bosh, works, kind of, but quite incomplete

15 years agoAdd initial mod_httpserver for serving static content
Matthew Wild [Mon, 22 Dec 2008 22:13:22 +0000 (22:13 +0000)]
Add initial mod_httpserver for serving static content

15 years agoAdding initial net.httpserver (lots of work to do on it)
Matthew Wild [Mon, 22 Dec 2008 22:12:11 +0000 (22:12 +0000)]
Adding initial net.httpserver (lots of work to do on it)

15 years agoFix nil status code for http request callbacks
Matthew Wild [Mon, 22 Dec 2008 22:01:49 +0000 (22:01 +0000)]
Fix nil status code for http request callbacks

15 years agoMerge from waqas
Matthew Wild [Mon, 22 Dec 2008 13:29:59 +0000 (13:29 +0000)]
Merge from waqas

15 years agoBounce stanza errors on failed s2s
Waqas Hussain [Thu, 18 Dec 2008 20:57:13 +0000 (01:57 +0500)]
Bounce stanza errors on failed s2s

15 years agoFix data loss when closing connection with a large write queue. Thanks albert :)
Matthew Wild [Thu, 18 Dec 2008 20:01:09 +0000 (20:01 +0000)]
Fix data loss when closing connection with a large write queue. Thanks albert :)

15 years agoSecond merge from waqas
Matthew Wild [Tue, 16 Dec 2008 02:40:50 +0000 (02:40 +0000)]
Second merge from waqas

15 years agoMerge from waqas
Matthew Wild [Tue, 16 Dec 2008 02:40:29 +0000 (02:40 +0000)]
Merge from waqas

15 years agoChange xmlhandlers to match stream opening tag with ns+tag
Matthew Wild [Tue, 16 Dec 2008 02:33:08 +0000 (02:33 +0000)]
Change xmlhandlers to match stream opening tag with ns+tag

15 years agoProtect loading of connlisteners, to catch errors
Matthew Wild [Tue, 16 Dec 2008 02:32:01 +0000 (02:32 +0000)]
Protect loading of connlisteners, to catch errors

15 years agoRemove old debugging line from sessionmanager
Matthew Wild [Tue, 16 Dec 2008 02:30:24 +0000 (02:30 +0000)]
Remove old debugging line from sessionmanager

15 years agoFixed URL encoding to generate %0x instead of %x
Waqas Hussain [Mon, 15 Dec 2008 22:46:17 +0000 (03:46 +0500)]
Fixed URL encoding to generate %0x instead of %x

15 years agoRemove a FIXME from mod_tls
Matthew Wild [Mon, 15 Dec 2008 18:06:59 +0000 (18:06 +0000)]
Remove a FIXME from mod_tls

15 years agoAdd support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping...
Matthew Wild [Sat, 13 Dec 2008 17:43:52 +0000 (17:43 +0000)]
Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping me test :)

15 years agoMake wraptcpclient set timeout to 0, and add it to the list of exported functions...
Matthew Wild [Sat, 13 Dec 2008 14:30:59 +0000 (14:30 +0000)]
Make wraptcpclient set timeout to 0, and add it to the list of exported functions from server.lua

15 years agoOops, don't call server.loop() because we'll be running inside the server
Matthew Wild [Fri, 12 Dec 2008 04:38:22 +0000 (04:38 +0000)]
Oops, don't call server.loop() because we'll be running inside the server

15 years agoPass HTTP request object to callback
Matthew Wild [Fri, 12 Dec 2008 04:30:35 +0000 (04:30 +0000)]
Pass HTTP request object to callback

15 years agoHTTP request callbacks now: handler(code, content) (where code may be 0, and content...
Matthew Wild [Fri, 12 Dec 2008 04:16:35 +0000 (04:16 +0000)]
HTTP request callbacks now: handler(code, content) (where code may be 0, and content an error message)

15 years agoNon-blocking HTTP requests (adding net.http)
Matthew Wild [Fri, 12 Dec 2008 04:06:15 +0000 (04:06 +0000)]
Non-blocking HTTP requests (adding net.http)

15 years ago0.1 -> 0.2
Matthew Wild [Wed, 10 Dec 2008 15:44:03 +0000 (15:44 +0000)]
0.1 -> 0.2

15 years agoNewline at end of file for sessionmanager
Matthew Wild [Wed, 10 Dec 2008 15:32:51 +0000 (15:32 +0000)]
Newline at end of file for sessionmanager

15 years agoNew, faster, stanza serialization
Matthew Wild [Wed, 10 Dec 2008 15:32:13 +0000 (15:32 +0000)]
New, faster, stanza serialization

15 years agoAdd commented line to disable logging entirely
Matthew Wild [Wed, 10 Dec 2008 15:29:14 +0000 (15:29 +0000)]
Add commented line to disable logging entirely

15 years agoFix blank tracebacks for c2s/s2s connections
Matthew Wild [Wed, 10 Dec 2008 15:27:01 +0000 (15:27 +0000)]
Fix blank tracebacks for c2s/s2s connections

15 years agoOptimized stanza_mt.__tostring (called when doing tostring(stanza))
Waqas Hussain [Wed, 10 Dec 2008 01:58:56 +0000 (06:58 +0500)]
Optimized stanza_mt.__tostring (called when doing tostring(stanza))

15 years agoEnable dialback for components
Waqas Hussain [Tue, 9 Dec 2008 00:22:43 +0000 (05:22 +0500)]
Enable dialback for components

15 years agoChanged mod_roster to use the newer presence manager API
Waqas Hussain [Mon, 8 Dec 2008 16:08:22 +0000 (21:08 +0500)]
Changed mod_roster to use the newer presence manager API

15 years agoDon't try processing stanzas not of type get or set in module manager
Waqas Hussain [Mon, 8 Dec 2008 16:06:41 +0000 (21:06 +0500)]
Don't try processing stanzas not of type get or set in module manager

15 years agoFixed a variable redeclaration
Waqas Hussain [Mon, 8 Dec 2008 02:41:29 +0000 (07:41 +0500)]
Fixed a variable redeclaration

15 years agoMake the ejabberd importer work with host-only roster items
Waqas Hussain [Mon, 8 Dec 2008 02:11:35 +0000 (07:11 +0500)]
Make the ejabberd importer work with host-only roster items

15 years agoAdded: Ports now read from the config
Waqas Hussain [Sun, 7 Dec 2008 23:47:51 +0000 (04:47 +0500)]
Added: Ports now read from the config

15 years agostanza_dispatch != dispatch_stanza
Matthew Wild [Sun, 7 Dec 2008 22:55:18 +0000 (22:55 +0000)]
stanza_dispatch != dispatch_stanza

15 years agoRemoved the unnecessary idna.to_ascii applied to the DIGEST-MD5 disgest-uri response...
Waqas Hussain [Sun, 7 Dec 2008 22:27:02 +0000 (03:27 +0500)]
Removed the unnecessary idna.to_ascii applied to the DIGEST-MD5 disgest-uri response values, which was causing auth failures with some clients.

15 years agoReturn error when the given realm value does not match the sent realm value. Prevents...
Waqas Hussain [Sun, 7 Dec 2008 22:23:37 +0000 (03:23 +0500)]
Return error when the given realm value does not match the sent realm value. Prevents impersonation of an account on one virtual host, but a user with the same username on another host.

15 years agoFixed util.encodings.base64.decode to not truncate results when encountering an ...
Waqas Hussain [Sun, 7 Dec 2008 22:19:11 +0000 (03:19 +0500)]
Fixed util.encodings.base64.decode to not truncate results when encountering an '=' before the end of the given input.

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Sun, 7 Dec 2008 19:18:50 +0000 (19:18 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoLatin1 support for SASL DIGEST-MD5 (second, and possibly final commit)
Waqas Hussain [Sun, 7 Dec 2008 19:18:01 +0000 (00:18 +0500)]
Latin1 support for SASL DIGEST-MD5 (second, and possibly final commit)

15 years agoTypo in variable name in last commit
Matthew Wild [Sun, 7 Dec 2008 19:12:50 +0000 (19:12 +0000)]
Typo in variable name in last commit

15 years agostanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and...
Matthew Wild [Sun, 7 Dec 2008 19:04:23 +0000 (19:04 +0000)]
stanza_dispatch = core_process_stanza, fixed for xmpp{client,server} listeners, and sessionmanager for the new syntax

15 years agoAutomated merge with http://waqas.ath.cx:8000/
Matthew Wild [Sun, 7 Dec 2008 18:44:23 +0000 (18:44 +0000)]
Automated merge with http://waqas.ath.cx:8000/

15 years agoLatin1 support for SASL DIGEST-MD5 (initial commit)
Waqas Hussain [Sun, 7 Dec 2008 18:43:08 +0000 (23:43 +0500)]
Latin1 support for SASL DIGEST-MD5 (initial commit)

15 years agoSmall logging adjustment for mod_posix
Matthew Wild [Sun, 7 Dec 2008 03:12:56 +0000 (03:12 +0000)]
Small logging adjustment for mod_posix

15 years agoSlightly more secure dialback secret generation
Matthew Wild [Sun, 7 Dec 2008 03:12:22 +0000 (03:12 +0000)]
Slightly more secure dialback secret generation

15 years agoMerge from waqas
Matthew Wild [Sat, 6 Dec 2008 23:23:08 +0000 (23:23 +0000)]
Merge from waqas

15 years agoRemove some debugging from pposix.c
Matthew Wild [Sat, 6 Dec 2008 23:22:35 +0000 (23:22 +0000)]
Remove some debugging from pposix.c

15 years agoAdd mod_posix, fixes #5
Matthew Wild [Sat, 6 Dec 2008 23:21:55 +0000 (23:21 +0000)]
Add mod_posix, fixes #5

15 years agoAdd posix support library, and adjust makefiles for it
Matthew Wild [Sat, 6 Dec 2008 23:20:59 +0000 (23:20 +0000)]
Add posix support library, and adjust makefiles for it

15 years agoCode tidying for xmpp{client,server}_listeners
Matthew Wild [Sat, 6 Dec 2008 23:16:46 +0000 (23:16 +0000)]
Code tidying for xmpp{client,server}_listeners

15 years agoTemporary hack for global modules
Matthew Wild [Sat, 6 Dec 2008 23:15:48 +0000 (23:15 +0000)]
Temporary hack for global modules

15 years agoRemove print()s from sessionmanager and s2smanager
Matthew Wild [Sat, 6 Dec 2008 23:14:39 +0000 (23:14 +0000)]
Remove print()s from sessionmanager and s2smanager

15 years agoMake it possible to set custom output handler for logger
Matthew Wild [Sat, 6 Dec 2008 23:13:38 +0000 (23:13 +0000)]
Make it possible to set custom output handler for logger

15 years agoRemove old commented code from server.lua
Matthew Wild [Sat, 6 Dec 2008 23:12:46 +0000 (23:12 +0000)]
Remove old commented code from server.lua

15 years agoSome code cleaning for the main script
Matthew Wild [Sat, 6 Dec 2008 23:11:21 +0000 (23:11 +0000)]
Some code cleaning for the main script

15 years agoRemoved unused variables
Waqas Hussain [Sat, 6 Dec 2008 22:14:30 +0000 (03:14 +0500)]
Removed unused variables

15 years agoCombined and merged similar code
Waqas Hussain [Sat, 6 Dec 2008 22:10:47 +0000 (03:10 +0500)]
Combined and merged similar code

15 years agoRemoved pre-multitable code from module manager
Waqas Hussain [Sat, 6 Dec 2008 21:56:17 +0000 (02:56 +0500)]
Removed pre-multitable code from module manager

15 years agoMerge from waqas
Matthew Wild [Sat, 6 Dec 2008 20:25:51 +0000 (20:25 +0000)]
Merge from waqas

15 years agoChanged module manager to use multitable (initial commit)
Waqas Hussain [Sat, 6 Dec 2008 20:06:10 +0000 (01:06 +0500)]
Changed module manager to use multitable (initial commit)

15 years agoFix add_event_hook in module API
Matthew Wild [Sat, 6 Dec 2008 19:51:10 +0000 (19:51 +0000)]
Fix add_event_hook in module API

15 years agoMove the setting of data_path to fix #unfiledbug
Matthew Wild [Sat, 6 Dec 2008 19:50:37 +0000 (19:50 +0000)]
Move the setting of data_path to fix #unfiledbug

15 years agoLog in hostmanager when a vhost is activated/deactivated
Matthew Wild [Sat, 6 Dec 2008 19:49:14 +0000 (19:49 +0000)]
Log in hostmanager when a vhost is activated/deactivated

15 years agoDatamanager logs data_path
Matthew Wild [Sat, 6 Dec 2008 19:46:58 +0000 (19:46 +0000)]
Datamanager logs data_path

15 years agoMove module loading to modulemanager
Matthew Wild [Sat, 6 Dec 2008 04:03:33 +0000 (04:03 +0000)]
Move module loading to modulemanager

15 years agoMerge from waqas/myself
Matthew Wild [Sat, 6 Dec 2008 03:42:21 +0000 (03:42 +0000)]
Merge from waqas/myself

15 years agoAdd hostmanager, and eventmanager
Matthew Wild [Sat, 6 Dec 2008 03:41:49 +0000 (03:41 +0000)]
Add hostmanager, and eventmanager

15 years agoSmall fix for multitable
Matthew Wild [Sat, 6 Dec 2008 03:40:51 +0000 (03:40 +0000)]
Small fix for multitable

15 years agoMerge from waqas
Matthew Wild [Sat, 6 Dec 2008 02:27:34 +0000 (02:27 +0000)]
Merge from waqas

15 years agoFixed: Stopped tryint to send error replies on unauthed connections
Waqas Hussain [Sat, 6 Dec 2008 02:24:15 +0000 (07:24 +0500)]
Fixed: Stopped tryint to send error replies on unauthed connections

15 years agoRe-commit TLS fix
Matthew Wild [Fri, 5 Dec 2008 19:55:46 +0000 (19:55 +0000)]
Re-commit TLS fix

15 years agoMerge
Matthew Wild [Fri, 5 Dec 2008 19:50:34 +0000 (19:50 +0000)]
Merge

15 years agoBacked out changeset 099d8a102deb (committed too much)
Matthew Wild [Fri, 5 Dec 2008 19:49:16 +0000 (19:49 +0000)]
Backed out changeset 099d8a102deb (committed too much)

15 years agoDon't say we need TLS after we've already started the handshake
Matthew Wild [Fri, 5 Dec 2008 19:40:46 +0000 (19:40 +0000)]
Don't say we need TLS after we've already started the handshake

15 years agoAdd TLS socket to readlist before handshake starts, fixes major slow-down on TLS...
Matthew Wild [Fri, 5 Dec 2008 19:24:01 +0000 (19:24 +0000)]
Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections

15 years agoComment out debug logging for now
Matthew Wild [Fri, 5 Dec 2008 19:22:34 +0000 (19:22 +0000)]
Comment out debug logging for now

15 years agoRemove linger option on sockets, made no difference, and I forgot to remove it earlier
Matthew Wild [Fri, 5 Dec 2008 19:21:44 +0000 (19:21 +0000)]
Remove linger option on sockets, made no difference, and I forgot to remove it earlier

15 years agoFix the last couple of places where we send strings from mod_dialback
Matthew Wild [Fri, 5 Dec 2008 05:28:16 +0000 (05:28 +0000)]
Fix the last couple of places where we send strings from mod_dialback

15 years agoRemove an incorrect line which I didn't add, and fix the proper way. Corrects the...
Matthew Wild [Fri, 5 Dec 2008 05:23:42 +0000 (05:23 +0000)]
Remove an incorrect line which I didn't add, and fix the proper way. Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings.

15 years agoFix for s2s with jabberd2 (we weren't routing db:verify's over s2sout_unauthed)
Matthew Wild [Fri, 5 Dec 2008 04:44:19 +0000 (04:44 +0000)]
Fix for s2s with jabberd2 (we weren't routing db:verify's over s2sout_unauthed)

15 years agoDisconnect with stream errors on bad XML, or invalid stream namespace
Matthew Wild [Fri, 5 Dec 2008 02:02:57 +0000 (02:02 +0000)]
Disconnect with stream errors on bad XML, or invalid stream namespace

15 years agoAdd a couple more tests for jid.split
Matthew Wild [Fri, 5 Dec 2008 02:02:40 +0000 (02:02 +0000)]
Add a couple more tests for jid.split

15 years agoMerge from waqas
Matthew Wild [Fri, 5 Dec 2008 00:25:41 +0000 (00:25 +0000)]
Merge from waqas

15 years agoMultiTable: Remove all empty sub-tables when elements are removed
Waqas Hussain [Fri, 5 Dec 2008 00:24:10 +0000 (05:24 +0500)]
MultiTable: Remove all empty sub-tables when elements are removed

15 years agoMerge from waqas
Matthew Wild [Fri, 5 Dec 2008 00:14:25 +0000 (00:14 +0000)]
Merge from waqas

15 years agoutil.multitable - A table with multiple key for each entry
Waqas Hussain [Thu, 4 Dec 2008 23:56:04 +0000 (04:56 +0500)]
util.multitable - A table with multiple key for each entry

15 years agoAutomated merge with http://waqas.ath.cx/
Matthew Wild [Thu, 4 Dec 2008 19:21:50 +0000 (19:21 +0000)]
Automated merge with http://waqas.ath.cx/

15 years agoChanged util.datamanager to use util.serialization
Waqas Hussain [Thu, 4 Dec 2008 19:16:38 +0000 (00:16 +0500)]
Changed util.datamanager to use util.serialization

15 years agoChanged the datastore for vCards from vCard to vcard in mod_vcard and mod_register
Waqas Hussain [Thu, 4 Dec 2008 19:16:03 +0000 (00:16 +0500)]
Changed the datastore for vCards from vCard to vcard in mod_vcard and mod_register

15 years agoAutomated merge with http://waqas.ath.cx/
Matthew Wild [Thu, 4 Dec 2008 18:49:00 +0000 (18:49 +0000)]
Automated merge with http://waqas.ath.cx/

15 years agoAbstract xmlhandlers a bit more, also add error callbacks
Matthew Wild [Thu, 4 Dec 2008 18:47:26 +0000 (18:47 +0000)]
Abstract xmlhandlers a bit more, also add error callbacks

15 years agoChanged the ejabberd import script to use util.serialization
Waqas Hussain [Thu, 4 Dec 2008 18:40:15 +0000 (23:40 +0500)]
Changed the ejabberd import script to use util.serialization

15 years agoAdded module util.serialization
Waqas Hussain [Thu, 4 Dec 2008 18:27:54 +0000 (23:27 +0500)]
Added module util.serialization