forked from GNUsocial/gnu-social
f5fe013657
Added a method to QueueManager to let subclasses do stuff when idle. Needed so that XMPP queue manager can service its message queue. Cleaned up jabber_broadcast_message quite a bit. Use custom joins instead of loop-and-query, should fix some problems with users who are getting messages even after turning off notification. Only build $msg and $entry once, and use the XMPPHP function for messages with a payload, rather than rolling our own. darcs-hash:20080829200352-84dde-427e4ca8c81d4222a36f78e7c580b611ff0bf765.gz |
||
---|---|---|
actions | ||
classes | ||
db | ||
doc | ||
extlib | ||
js | ||
lib | ||
locale | ||
scripts | ||
theme | ||
config.php.sample | ||
COPYING | ||
htaccess.sample | ||
index.php | ||
README |
This package requires PHP 5.x and the following PHP Pear libraries: - DB_DataObject http://pear.php.net/package/DB_DataObject - Validate http://pear.php.net/package/Validate - XMLWriter (built-in) - Auth_Yadis from OpenIDEnabled (not the PEAR version!). I decided to use the openidenabled.com version since it's more widely implemented, seems to be better supported, and it may make sense to use the openidenabled.com libraries for OpenID auth sometime in the future. Note that this is no longer distributed separately; it's only in the openidenabled.com OpenID PHP tarball. http://openidenabled.com/php-openid/ - OAuth.php from http://oauth.googlecode.com/svn/code/php/ - markdown.php from http://michelf.com/projects/php-markdown/ - PEAR Mail, for sending out mail notifications http://pear.php.net/package/Mail - PEAR Net_SMTP, if you use the SMTP factory for notifications http://pear.php.net/package/Net_SMTP - xmpphp, the follow-up to Class.Jabber.php. Probably the best XMPP library available for PHP. http://xmpphp.googlecode.com/