GNU social is a social communication software used in federated social networks. It is widely supported and has a large user base. It is already used by the Free Software Foundation. https://docs.gnusocial.rocks/ https://codeberg.org/GNUsocial/gnu-social
Go to file
Evan Prodromou b9f0ea6f0e break up monolithic xmppdaemon into multiple queue handlers
Eventually, the poor xmppdaemon has become overloaded with extra
tasks. So, I've broken it up. Now, we have 5 background scripts, and
more coming:

* xmppdaemon.php - handles incoming XMPP messages only.
* xmppqueuehandler.php - sends notices from the queue out through XMPP.
* smsqueuehandler.php - sends notices from the queue out over SMS
* ombqueuehandler.php - sends notices from the queue out over OMB
* xmppconfirmhandler.php - sends confirmation requests out over XMPP.

This is in addition to maildaemon.php, which takes incoming messages.

None of these are "true" daemons -- they don't daemonize themselves
automatically. Use nohup or another tool to background them. monit can
also be useful to keep them running.

At some point, these might become fork()'ing daemons, able to handle
more than one notice at a time. For now, I'm just running multiple
instances, hoping they don't interfere.

darcs-hash:20080827205407-84dde-97884a12f5f4e54c93bc785bd280683d1ee7e749.gz
2008-08-27 16:54:07 -04:00
actions clean up username entered at login 2008-08-29 18:52:58 -04:00
classes break up monolithic xmppdaemon into multiple queue handlers 2008-08-27 16:54:07 -04:00
db add Cincinnati Bell Wireless 2008-08-21 08:53:06 -04:00
doc move README to main dir 2008-08-24 07:37:19 -04:00
extlib restoring upstream XMLStream.php after pulling ciarang's patch 2008-08-27 09:30:48 -04:00
js remove hack to count bytes, not chars, in JS, since we now use chars 2008-08-17 11:31:43 -04:00
lib break up monolithic xmppdaemon into multiple queue handlers 2008-08-27 16:54:07 -04:00
locale make settings and search menus localisable 2008-08-17 11:02:44 -04:00
scripts break up monolithic xmppdaemon into multiple queue handlers 2008-08-27 16:54:07 -04:00
theme add edo's tagcloud code 2008-07-31 09:23:02 -04:00
config.php.sample optionally turn encryption on or off in the XMPP connection 2008-08-26 09:18:14 -04:00
COPYING license block for source code 2008-05-14 15:26:48 -04:00
htaccess.sample Twitter-compatible API: implemented /users/show.format method 2008-07-30 17:32:26 -04:00
index.php make init of lang environment happen earlier, or when user language may have changed 2008-08-05 23:45:15 -04:00
README move README to main dir 2008-08-24 07:37:19 -04:00

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/