Commit Graph

60 Commits

Author SHA1 Message Date
Superwayne
21f4d5c066 Merge branch 'priority-fix' 2010-04-14 21:08:36 +02:00
Superwayne
94d3a03794 fix: cannot set priority to 0 if status message is omitted or $show is set to "available" 2010-04-14 21:05:11 +02:00
Superwayne
794ef37658 Merge branch 'master' of git://github.com/ivan1986/xmpphp 2010-04-14 20:07:23 +02:00
Superwayne
8cf43499f4 fix: $priority is not set if $show is "available" or $status is omitted 2010-04-14 19:54:24 +02:00
Ivan Borzenkov
eb08b045c3 Return stream_blocking and add false check 2010-03-10 00:01:19 +03:00
Ivan Borzenkov
6abf075531 add PHPDOC to adduser 2010-03-09 19:41:38 +03:00
Ivan Borzenkov
7d2ef0ee95 remove stream non-blocking - any micro timeout break connection 2010-03-08 00:49:54 +03:00
Ivan Borzenkov
b26491cdc9 add patch from http://code.google.com/p/xmpphp/issues/detail?id=67 - Digest MD5 2010-03-08 00:49:07 +03:00
Ivan Borzenkov
6e1b55fddf Add to roster 2010-03-07 23:31:18 +03:00
Ivan Borzenkov
43b4bc94ab reverting "use XMPPHP/ folder instead of dirname(__FILE__) which is inefficient"
method whis relative path not work for lib - random current dir
dirname faster and not need change include_path

more info on
http://stackoverflow.com/questions/2220443/whats-better-of-requiredirname-file-myparent-php-than-just-require
2010-03-07 22:38:11 +03:00
Christian Weiske
c74544c0cd fix issue #2: tls does not work anymore with 4k fix. the magic solution is to set the stream non-blocking after the first part of the packet has been received, and setting it back afterwards 2010-02-28 14:32:56 +01:00
Ivan Borzenkov
bde088057d fix - can not set priority 0 2010-02-27 22:42:05 +03:00
Ivan Borzenkov
b25d7819b6 fix notice when no have resourse (from icq for example) 2010-02-27 22:37:55 +03:00
Christian Weiske
2e8149f242 also detect end of <stream:features> 2010-02-25 20:02:27 +01:00
Christian Weiske
d228a306d4 Fix http://code.google.com/p/xmpphp/issues/detail?id=62 - memory leak 2010-02-25 19:50:00 +01:00
Christian Weiske
efb71fa7f3 use XMPPHP/ folder instead of dirname(__FILE__) which is inefficient 2010-02-25 19:33:00 +01:00
Christian Weiske
eefdf7d86d fix timeout in processUntil() and docblock for __process 2010-02-25 18:47:44 +01:00
Mat Gadd
fe80cd6f48 Replace usage of deprecated split() function with explode(). 2010-02-25 15:51:04 +00:00
Christian Weiske
b9a9fb85d7 we can receive messages of any length now, even > 4096 bytes 2010-02-25 20:25:02 +08:00
Christian Weiske
582b0a0770 Fix that damn cpu-hogging bug 2010-02-25 20:25:01 +08:00
Mat Gadd
911cd4b974 Suppress a notice when the body element is not passed. 2010-02-11 12:33:11 +00:00
fritzy
1e76ca74de * htmlspecialchars doesn't take care of apostrophes, so attributes should be quoted.
git-svn-id: svn://netflint.net/xmpphp@77 ef36c318-a008-4979-b6e8-6b496270793b
2009-07-26 17:09:57 +00:00
fritzy
b576ef97bd Set reasonable select timeout
git-svn-id: svn://netflint.net/xmpphp@76 ef36c318-a008-4979-b6e8-6b496270793b
2009-03-16 14:04:15 +00:00
temp
b968882a7e fixed include paths
git-svn-id: svn://netflint.net/xmpphp@75 ef36c318-a008-4979-b6e8-6b496270793b
2009-01-30 09:28:35 +00:00
fritzy
626db605c3 * added the subscribe function
git-svn-id: svn://netflint.net/xmpphp@74 ef36c318-a008-4979-b6e8-6b496270793b
2008-12-17 17:50:35 +00:00
fritzy
7309d4fa68 * presence and message events now include xml object in payload
* you can now set the priority in your presence


git-svn-id: svn://netflint.net/xmpphp@73 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-28 20:37:52 +00:00
fritzy
eaf949de88 * added vcard support
git-svn-id: svn://netflint.net/xmpphp@71 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-28 19:43:05 +00:00
fritzy
b13761eb26 * Fixed PHP notice
git-svn-id: svn://netflint.net/xmpphp@70 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-26 10:56:47 +00:00
fritzy
6cd2e281c7 * applied Evan's XMLStream select() patches
* made roster presence tracking optional


git-svn-id: svn://netflint.net/xmpphp@69 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-26 10:49:47 +00:00
fritzy
fa46343378 * fixed small bugs
git-svn-id: svn://netflint.net/xmpphp@67 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-26 10:16:33 +00:00
gar
f2bfbe252c Removed unneeded addIqHandler
made roster_iq_handler reply to type='set' queries


git-svn-id: svn://netflint.net/xmpphp@66 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-21 09:21:05 +00:00
fritzy
e9d36af595 * Why is logging recording all of the logs forever? Fixed memory leak.
git-svn-id: svn://netflint.net/xmpphp@65 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-21 08:11:59 +00:00
gar
0434419a16 added myself as author to headers and readme
git-svn-id: svn://netflint.net/xmpphp@64 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-12 00:35:06 +00:00
gar
b5e26128a9 added Roster and Presence support to XMPP.php
new Roster class handles roster and presence
XMPP now uses XPath handlers exclusively


git-svn-id: svn://netflint.net/xmpphp@63 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-12 00:29:00 +00:00
gar
f1088f8174 fixed xpath parsing to allow for / character in namespace (for instance: '{http://etherx.jabber.org/streams}features' )
git-svn-id: svn://netflint.net/xmpphp@62 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-11 23:06:00 +00:00
gar
6860070b7e added namespace awareness to xmlobj->hasSub and ->sub
added addXPathHandler to XMLStream
fixed a few typos in comments
added myself to @author


git-svn-id: svn://netflint.net/xmpphp@61 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-11 09:56:16 +00:00
fritzy
454b0e0b7e * added support for SASL-ANONYMOUS
* changed BOSH session serialization


git-svn-id: svn://netflint.net/xmpphp@59 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-22 00:12:13 +00:00
fritzy
756afc45a4 * store auth as a boolean
git-svn-id: svn://netflint.net/xmpphp@58 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-21 23:23:19 +00:00
fritzy
02a3f3dc5d * BOSH and Stream Handling Fixes
git-svn-id: svn://netflint.net/xmpphp@57 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-21 21:30:00 +00:00
fritzy
f1b4f5b175 * BOSH fixes
git-svn-id: svn://netflint.net/xmpphp@56 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-19 12:03:29 +00:00
fritzy
34048957e0 * added BOSH support
git-svn-id: svn://netflint.net/xmpphp@55 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-19 10:35:37 +00:00
temp
2744fa4457 fallback for type == null added
git-svn-id: svn://netflint.net/xmpphp@54 ef36c318-a008-4979-b6e8-6b496270793b
2008-09-01 21:36:46 +00:00
fritzy
1c9fe127e6 * fixed bug #29
git-svn-id: svn://netflint.net/xmpphp@52 ef36c318-a008-4979-b6e8-6b496270793b
2008-08-26 20:20:43 +00:00
fritzy
f7bb8d8f76 * added SSL and fixed XMPP_Old
git-svn-id: svn://netflint.net/xmpphp@51 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-25 21:39:09 +00:00
fritzy
1b39cfe6de * bug fixes noticed after releasing r49 on google code
git-svn-id: svn://netflint.net/xmpphp@50 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-18 17:54:50 +00:00
fritzy
513a274ea8 * updated send to deal with large data and lots of sends
git-svn-id: svn://netflint.net/xmpphp@48 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-16 19:53:24 +00:00
fritzy
895021132c * added payload option to messages
git-svn-id: svn://netflint.net/xmpphp@47 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-11 23:25:36 +00:00
fritzy
d2b45506b5 * added XMPP_Old
git-svn-id: svn://netflint.net/xmpphp@46 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-07 06:56:15 +00:00
fritzy
9bfd715564 * changed indents back to tabs (ung)
* fixed several bugs in the issue list


git-svn-id: svn://netflint.net/xmpphp@45 ef36c318-a008-4979-b6e8-6b496270793b
2008-07-07 02:33:57 +00:00
fritzy
4208a1a439 * subscribe fix
git-svn-id: svn://netflint.net/xmpphp@43 ef36c318-a008-4979-b6e8-6b496270793b
2008-05-16 21:43:57 +00:00