prosody.git
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

15 years agoDon't send stream:features to incoming s2s connections
Matthew Wild [Thu, 4 Dec 2008 17:10:02 +0000 (17:10 +0000)]
Don't send stream:features to incoming s2s connections

15 years agoFix logger ids for c2s and s2sout
Matthew Wild [Thu, 4 Dec 2008 16:41:32 +0000 (16:41 +0000)]
Fix logger ids for c2s and s2sout

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

15 years agoChange modules to use the new add_feature module API method.
Waqas Hussain [Thu, 4 Dec 2008 15:16:30 +0000 (20:16 +0500)]
Change modules to use the new add_feature module API method.
This also fixes the bug causing disco features being added to every disco reply for every host.

15 years agoAdded function add_feature to modules API (for adding disco features)
Waqas Hussain [Thu, 4 Dec 2008 15:07:22 +0000 (20:07 +0500)]
Added function add_feature to modules API (for adding disco features)

15 years agoReorder the disco info elements to place always included elements first
Waqas Hussain [Thu, 4 Dec 2008 15:01:57 +0000 (20:01 +0500)]
Reorder the disco info elements to place always included elements first

15 years agoAdded tag 0.1.0 for changeset c157c1412bda
Matthew Wild [Wed, 3 Dec 2008 20:44:26 +0000 (20:44 +0000)]
Added tag 0.1.0 for changeset c157c1412bda

15 years agoFix Makefile to link with Lua again
Matthew Wild [Wed, 3 Dec 2008 20:00:17 +0000 (20:00 +0000)]
Fix Makefile to link with Lua again

15 years agoFix configure to save LFLAGS, and also set proper defaults for all sensible OSes
Matthew Wild [Wed, 3 Dec 2008 19:55:57 +0000 (19:55 +0000)]
Fix configure to save LFLAGS, and also set proper defaults for all sensible OSes

15 years agoAutomated merge with http://84.46.7.57:1234
Matthew Wild [Wed, 3 Dec 2008 19:34:41 +0000 (19:34 +0000)]
Automated merge with http://84.46.7.57:1234

15 years agoMaking makefile work under OS X finally. Yeah OS X's gcc is a little bit strange.
Tobias Markmann [Wed, 3 Dec 2008 19:32:03 +0000 (20:32 +0100)]
Making makefile work under OS X finally. Yeah OS X's gcc is a little bit strange.

15 years agoUsing new LFLAGS variable.
Tobias Markmann [Wed, 3 Dec 2008 18:43:59 +0000 (19:43 +0100)]
Using new LFLAGS variable.

15 years agoAdded an error log message for this case
Matthew Wild [Wed, 3 Dec 2008 18:06:04 +0000 (18:06 +0000)]
Added an error log message for this case

15 years agoQuick fix for an issue that needs more looking into
Matthew Wild [Wed, 3 Dec 2008 18:01:56 +0000 (18:01 +0000)]
Quick fix for an issue that needs more looking into

15 years agoAutomated merge with http://waqas.ath.cx/
Matthew Wild [Wed, 3 Dec 2008 17:24:20 +0000 (17:24 +0000)]
Automated merge with http://waqas.ath.cx/

15 years agoFix for handling latin1 encoded hostnames in SASL
Waqas Hussain [Wed, 3 Dec 2008 17:08:49 +0000 (22:08 +0500)]
Fix for handling latin1 encoded hostnames in SASL

15 years agoFix GPL'ing MIT/X licensed code :)
Matthew Wild [Wed, 3 Dec 2008 16:44:03 +0000 (16:44 +0000)]
Fix GPL'ing MIT/X licensed code :)

15 years agoUpdate HACKERS
Matthew Wild [Wed, 3 Dec 2008 16:20:58 +0000 (16:20 +0000)]
Update HACKERS

15 years agoFill blank with URL
Matthew Wild [Wed, 3 Dec 2008 16:07:15 +0000 (16:07 +0000)]
Fill blank with URL

15 years agoRemove stray merge marker
Matthew Wild [Wed, 3 Dec 2008 16:01:58 +0000 (16:01 +0000)]
Remove stray merge marker

15 years agoMerge from waqas
Matthew Wild [Wed, 3 Dec 2008 15:09:58 +0000 (15:09 +0000)]
Merge from waqas

15 years agoFix license (left some boilerplate in)
Matthew Wild [Wed, 3 Dec 2008 14:59:27 +0000 (14:59 +0000)]
Fix license (left some boilerplate in)

15 years agoconfig and data directories taken from path, and quoted to allow spaces in path
Waqas Hussain [Wed, 3 Dec 2008 14:57:08 +0000 (19:57 +0500)]
config and data directories taken from path, and quoted to allow spaces in path

15 years agoConverted prosody.cfg.lua.dist to use windows end-of-lines
Waqas Hussain [Wed, 3 Dec 2008 14:56:05 +0000 (19:56 +0500)]
Converted prosody.cfg.lua.dist to use windows end-of-lines

15 years agoand the C files too
Matthew Wild [Wed, 3 Dec 2008 14:45:03 +0000 (14:45 +0000)]
and the C files too

15 years agoInsert copyright/license headers
Matthew Wild [Wed, 3 Dec 2008 14:39:07 +0000 (14:39 +0000)]
Insert copyright/license headers

15 years agoFix port number in mod_console instructions
Matthew Wild [Wed, 3 Dec 2008 13:06:23 +0000 (13:06 +0000)]
Fix port number in mod_console instructions

15 years agolxmppd -> Prosody
Matthew Wild [Wed, 3 Dec 2008 13:02:23 +0000 (13:02 +0000)]
lxmppd -> Prosody

15 years agoFix macosx ostype target
Matthew Wild [Sun, 30 Nov 2008 19:59:28 +0000 (19:59 +0000)]
Fix macosx ostype target

15 years agoFix debian ostype target
Matthew Wild [Sun, 30 Nov 2008 19:58:41 +0000 (19:58 +0000)]
Fix debian ostype target

15 years agoChange sed usage back into one sed script for incompetent versions of sed
Matthew Wild [Sun, 30 Nov 2008 19:58:22 +0000 (19:58 +0000)]
Change sed usage back into one sed script for incompetent versions of sed

15 years agoUse install to strip symbols
Matthew Wild [Sun, 30 Nov 2008 19:36:30 +0000 (19:36 +0000)]
Use install to strip symbols

15 years ago'install' libs to util before top-level make install
Matthew Wild [Sun, 30 Nov 2008 19:31:43 +0000 (19:31 +0000)]
'install' libs to util before top-level make install

15 years agoPotential fixes for building on Mac OSX
Matthew Wild [Sun, 30 Nov 2008 19:02:00 +0000 (19:02 +0000)]
Potential fixes for building on Mac OSX

15 years agoNo need for the placeholder file in tests/ because the directory is no longer empty
Matthew Wild [Sun, 30 Nov 2008 18:59:29 +0000 (18:59 +0000)]
No need for the placeholder file in tests/ because the directory is no longer empty

15 years agoAdd test for latin1toutf8 (which passes)
Matthew Wild [Sun, 30 Nov 2008 18:57:23 +0000 (18:57 +0000)]
Add test for latin1toutf8 (which passes)

15 years agoConverting latin encoded responsed to utf-8 when needed.
Tobias Markmann [Sun, 30 Nov 2008 16:34:47 +0000 (17:34 +0100)]
Converting latin encoded responsed to utf-8 when needed.