Commit graph

13812 commits

Author SHA1 Message Date
Matthew Wild
b3d6f36fb1 Destroy s2s sendqueue when connection is established successfully and data written 2008-10-24 15:32:31 +01:00
Matthew Wild
ccbb4246ed Fix nil concat for good this time (\!) 2008-10-24 15:20:34 +01:00
Matthew Wild
d45f82770f Fix nil concat when non-existant user is probed (another) 2008-10-24 15:18:53 +01:00
Matthew Wild
b8aca953d6 Fix nil concat when non-existant user is probed 2008-10-24 15:16:18 +01:00
Matthew Wild
8f431fdd22 Hack until we get SRV resolving 2008-10-24 14:59:04 +01:00
Matthew Wild
0aade7cf5f Fix for sessionmanager to not throw error when session doesn't have a private logger 2008-10-24 14:47:23 +01:00
Matthew Wild
a8c4e8eb51 Show error when no MD5 lib available 2008-10-24 14:46:22 +01:00
Matthew Wild
652190787c Fix mod_legacyauth to not use old stanza_dispatch 2008-10-24 14:45:50 +01:00
Matthew Wild
74740297f3 Merge from waqas 2008-10-24 07:57:06 +01:00
Matthew Wild
2d7656d5db Merging more s2s 2008-10-24 07:36:48 +01:00
Matthew Wild
d49ea8a12e Partial s2s commit 2008-10-24 07:34:13 +01:00
Matthew Wild
5c90ffdf7e s2s works! \o/ \o/ 2008-10-24 07:27:36 +01:00
Matthew Wild
5031be1f8c working incoming s2s \o/ 2008-10-24 06:13:38 +01:00
Matthew Wild
8fa7f06302 working outgoing s2s \o/ 2008-10-24 03:42:26 +01:00
Matthew Wild
eb8e9997e0 dialback keys now verified 2008-10-24 03:06:55 +01:00
Waqas Hussain
e644856b72 Moved some code and removed unnecessary checks. 2008-10-24 01:06:54 +05:00
Waqas Hussain
d915fa0a60 Presence fixes (again)
- Presence to other resources sent correctly
 - Resource of the recipient ignored for all presence except available and unavailable
 - Set things up for presence subscriptions
2008-10-24 00:26:01 +05:00
Matthew Wild
162e3fb849 No need to comment out s2s in this branch 2008-10-23 19:10:16 +01:00
Matthew Wild
1d1e9fba57 Backed out changeset 98e9fea75e5b 2008-10-23 18:43:00 +01:00
Matthew Wild
24e42ae997 Backed out changeset 37b3e9ed8918 (again) 2008-10-23 18:42:25 +01:00
Matthew Wild
d61b2f3104 Backed out changeset a0fc73d5f48c 2008-10-23 18:40:06 +01:00
Matthew Wild
fd35fe51ea Backed out changeset 8f17ba74823c 2008-10-23 18:39:26 +01:00
Matthew Wild
f16fb585d2 Reverting stanza_router to non-conflicted version 2008-10-23 18:33:10 +01:00
Matthew Wild
0fb99ab508 Making the best attempt out of a bad merge from waqas 2008-10-23 18:24:55 +01:00
Matthew Wild
ce86d8badc Initial s2s stuff 2008-10-23 18:09:39 +01:00
Waqas Hussain
790c28b598 Added TODO 2008-10-23 22:08:19 +05:00
Waqas Hussain
0c483f2d09 Merged from Matthew 2008-10-23 22:07:36 +05:00
Matthew Wild
dba8f998cf Final fix for marking user offline when all resources are gone :) 2008-10-23 18:05:06 +01:00
Waqas Hussain
98a409f8b4 Merged from Matthew 2008-10-23 21:51:00 +05:00
Waqas Hussain
aa5e75a22e Removed .hgtags
Lesson: Don't try to remove the tip tag from the tip revision
2008-10-23 21:39:49 +05:00
Matthew Wild
3286f0609f even faster checking for other sessions... thank you waqas :) 2008-10-23 17:34:10 +01:00
Matthew Wild
9e6c3919af faster checking for other sessions 2008-10-23 17:27:41 +01:00
Waqas Hussain
da1e8c565a Fixed: Works when LuaRocks is not present 2008-10-23 20:11:06 +05:00
Matthew Wild
ff0fe0544a Fix for not destroying sessions when connection closed. 2008-10-23 16:07:40 +01:00
Waqas Hussain
869f2859c3 Roster updates
- Added support for item.ask attribute in rostermanager and mod_roster
 - Updated roster docs
 - Removed old code from rostermanager
2008-10-23 20:02:30 +05:00
Waqas Hussain
7bf903298c Docs update
- 'ask' property available on roster items
2008-10-23 19:53:02 +05:00
Waqas Hussain
2b81d8a673 Presence fixes
- Presence to other resources sent correctly
 - Resource of the recipient ignored for all presence except available and unavailable
2008-10-23 19:47:56 +05:00
Waqas Hussain
bf97de7a75 Fixed: Some modules did not return anything 2008-10-23 18:42:29 +05:00
Matthew Wild
b13393bcd9 No s2s yet :) 2008-10-23 14:39:42 +01:00
Waqas Hussain
cafc6f8ada Set things up for presence subscriptions.
Remove reference to core.s2smanager.
2008-10-23 18:36:10 +05:00
Matthew Wild
8e40526abc Added a comment, removed all the old code 2008-10-23 04:06:51 +01:00
Matthew Wild
59dd4ed3cd TLS/SASL no longer should include the connhandler module 2008-10-23 03:53:51 +01:00
Matthew Wild
ece9ac9761 Relocate presence broadcast to core_handle_stanza()
which is for processing stanzas that the server must handle (not route)
2008-10-23 03:52:51 +01:00
Matthew Wild
e92bd250d1 Merge roster & presence from waqas 2008-10-22 23:12:26 +01:00
Waqas Hussain
c3ca55e019 Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data). 2008-10-23 02:49:43 +05:00
Waqas Hussain
9bcfe122c0 Updated and fixed session documentation 2008-10-23 02:19:26 +05:00
Waqas Hussain
aa212bcf24 Updated session documentation 2008-10-23 02:11:48 +05:00
Waqas Hussain
6701f399ad Added session property for interested resources 2008-10-23 02:11:27 +05:00
Waqas Hussain
4bd562b306 Working presence, presence probes and other fixes 2008-10-23 00:46:38 +05:00
Matthew Wild
ee7b432ab1 Abstract connections with "connection listeners"
- Added connlistener for xmppclient
- SASL/TLS now use a new session:reset_stream() method
- main.lua on its way to being a bit neater
2008-10-22 17:36:21 +01:00