Commit Graph

115 Commits

Author SHA1 Message Date
Diogo Cordeiro
57f33b4328 Introduce PHP7 strict typing 2019-11-03 00:18:51 +00:00
Diogo Cordeiro
79239e8e2d Bump minimum requirement to PHP 7.3 2019-11-02 23:42:20 +00:00
Diogo Cordeiro
5b3492b151 Change CRYPTO constant as suggested by Sonar Cloud
https://github.com/BirknerAlex/XMPPHP/issues/13
2019-11-02 23:41:59 +00:00
Diogo Cordeiro
c7cdcc588a Modern version of XMPPHP extlib
Original XMPPHP is no longer maintained
Therefore I've done some optimizations and imported some commits from birkner and zorn-v forks.
None of the forks really looked ready to be adopted...
2019-06-19 03:32:32 +01:00
Christian Weiske
fd9cac3c17 Merge pull request #7 from kmontag/patch-1
XML attribute-printing fix
2011-06-10 02:58:56 -07:00
Kevin Montag
03b7dc6106 Use double quotes when printing XML attributes, since htmlspecialchars won't convert single quotes in the attribute values by default. 2011-06-10 02:13:34 -07:00
Christian Weiske
07a9b7ea23 Merge
Merge remote branch 'github-ivan1986/master'
2010-05-30 21:01:17 +02:00
Ivan Borzenkov
8625895493 add PHPDOC to adduser 2010-05-30 20:51:29 +02:00
Ivan Borzenkov
1e40322129 add patch from http://code.google.com/p/xmpphp/issues/detail?id=67 - Digest MD5 2010-05-30 20:51:11 +02:00
Ivan Borzenkov
06600d491a Add to roster 2010-05-30 20:51:06 +02:00
Christian Weiske
e584413813 fix wrong xml type when getting roster items added (as per RFC3921, 7.4. "Adding a Roster Item". Thanks to neustradamus@jabber.org for notifying me about that 2010-05-29 09:58:21 +02:00
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
7f28fd2a49 move examples into own directory 2010-02-28 17:21:07 +01:00
Christian Weiske
71f0d6485f update readme 2010-02-28 16:20:09 +01: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
3e81567748 change Stephans jabber address per his request by mail 2010-02-26 07:20:31 +01: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
Christian Weiske
28ab9981ae Merge branch 'master' of git://github.com/Drarok/xmpphp 2010-02-25 17:56:49 +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
Christian Weiske
b855049379 we can receive messages of any length now, even > 4096 bytes 2010-02-24 19:53:13 +01:00
Christian Weiske
6744ba5541 Fix that damn cpu-hogging bug 2010-02-23 23:01:22 +01: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
27b3729c8e * fixed cli vcard example
git-svn-id: svn://netflint.net/xmpphp@72 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-28 20:15:36 +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
1a3c6cf010 * fixed tests
git-svn-id: svn://netflint.net/xmpphp@68 ef36c318-a008-4979-b6e8-6b496270793b
2008-11-26 10:20: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