summaryrefslogtreecommitdiff
path: root/lib/omb.php
AgeCommit message (Collapse)Author
2009-12-01Ticket 2048: make OMB posting HTTP timeout configurable as ↵Brion Vibber
$config['omb']['timeout']; defaults to 5 seconds instead of 20-second default in Yadis library
2009-11-25Catch and report exceptions from notice_to_omb_notice() instead of letting ↵Brion Vibber
the OMB queue handler die.
2009-11-24Fix regression in OMB sending with queues enabled -- items never got ↵Brion Vibber
dequeued, leading to ever-growing queue and big delays. Success return code from omb_broadcast_message was dropped in commit ec88d2650ea4371cf53229171851747b31587e4b (Aug 10 2009) which switched us to libomb backend. With queues enabled, this would lead to the notice being readded to the outgoing OMB queue for redelivery as the queue system thought the send failed. The resends caused extra load and confusion for third-party sites, and more worryingly just plugged up our own queue so legit messages were badly delayed. This commit should restore the previous state, where we fire-and-forget; that is, we're not actually checking to see if all remote subscribers received the message successfully and there will be no resends.
2009-10-23Fix three fatal errors when posting from 0.9.x:Brion Vibber
* OMB remote updates were trying to load nonexistent Laconica_OMB_Service_Consumer class -- fixed to StatusNet_OMB_Service_Consumer. Regression caused during libomb merge. * Twitter processing was still being queued from core when no twitter plugin was present, which triggered an exception from UnqueueHandler; leftover code from before the plugin extraction. * UnqueueHandler's exception caused a fatal error instead because it was missing the "new" keyword. Wouldn't have been seen when testing with the plugin enabled.
2009-08-27Merge branch '0.8.x' into 0.9.xEvan Prodromou
Conflicts: EVENTS.txt actions/finishremotesubscribe.php actions/postnotice.php actions/public.php actions/remotesubscribe.php actions/showstream.php actions/updateprofile.php actions/userauthorization.php classes/laconica.ini lib/common.php lib/oauthstore.php lib/omb.php
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25a distributed -> the distributedEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-08-10Replace own OMB stack with libomb.Adrian Lang
2009-06-20Update copyright dates in files modified in 2009Evan Prodromou
2009-06-20change Controlez-Vous to Control YourselfEvan Prodromou
2009-05-30take debug code out of omb.phpEvan Prodromou
2009-03-11Fix array access on possibly undefined index.Adrian Lang
2009-03-09Changed all $config[][] calls to common_config()Eric Helgeson
2009-03-08Typo in lib/omb.php updateprofile request handling.Adrian Lang
2009-02-27Auth_Yadis_Yadis::PlainHTTPFetcher expects plain arrays, not hashes.Adrian Lang
2009-02-20fix some notices in omb.phpEvan Prodromou
2008-12-23TRUEEvan Prodromou
More PEAR coding standards global changes. Here, I've changed all instances of TRUE to true and FALSE to false. darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace NULL with nullEvan Prodromou
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-11add User-Agent to OMB requestsEvan Prodromou
darcs-hash:20081211185525-5ed1f-ea300a9f824163ea7989baae4e4b439e58fd0881.gz
2008-09-07remove some debugging code from omb.phpEvan Prodromou
darcs-hash:20080907200344-84dde-3cc68af343e2da1ae852df07bdc1738865c122f0.gz
2008-09-07lots of debugging code in OMB sendEvan Prodromou
darcs-hash:20080907195242-84dde-b2adc3cd10cfe516c4635d26830ed43b8151d6f0.gz
2008-09-07debugging for ombEvan Prodromou
darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz
2008-09-05free and unset DB_DataObjects after we're done with themEvan Prodromou
darcs-hash:20080906015501-84dde-e787962b9805759224389dd42a211dfa21da3473.gz
2008-09-04use a join for omb broadcastEvan Prodromou
darcs-hash:20080905004701-84dde-c8b27c6b3b4ad634cd954ec51d45a92d2ad32389.gz
2008-07-09Merge conflicts and kill a whole lot of trailing whitespace on lines.Mike Cochrane
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
2008-07-04error noticesEvan Prodromou
darcs-hash:20080705005602-84dde-3c99dbed5e431a9d4f1de124454296d4709eb115.gz
2008-06-12another copy-and-paste errorEvan Prodromou
darcs-hash:20080612194656-84dde-d4cc2ac343b17502adf7c6190145d5041f554420.gz
2008-06-12correct the id attribute of the profileEvan Prodromou
darcs-hash:20080612192221-84dde-1c39a22068e64dc3dee8902a730a6f1264728874.gz
2008-06-12fix some incorrect input due to copy-and-paste programmingEvan Prodromou
darcs-hash:20080612191606-84dde-653d6707f79b18c5e92defb6d35f7af088655137.gz
2008-06-12add some more debugging codeEvan Prodromou
darcs-hash:20080612190447-84dde-f5752112cd129b44719114e56bec7f3745c665fd.gz
2008-06-12broadcast profile and change subscription input idEvan Prodromou
darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz
2008-06-06bad signature because variable name was wrongEvan Prodromou
darcs-hash:20080606180035-84dde-d91a6540a33196a6b76b1d5ba473d79dbc961b93.gz
2008-06-06removing some noisy debug noticesEvan Prodromou
darcs-hash:20080606175254-84dde-acf1bd42c7ca01bb811caec928abf6dfa338fd36.gz
2008-06-06quit trying to use fancy join and just loopEvan Prodromou
darcs-hash:20080606174822-84dde-2128b2a5a6e129b10741bb8a1b2cdcdacc4ca1ca.gz
2008-06-06fix name of join-adding methodEvan Prodromou
darcs-hash:20080606173804-84dde-16dfd378d370206ec5837a317bb986cfa57fbea5.gz
2008-06-06dump sub and rpEvan Prodromou
darcs-hash:20080606172638-84dde-191d9ef20462ec6edf2637c7b3f6d39ba5815a56.gz
2008-06-06trim whitespace and more debugging for posting messagesEvan Prodromou
darcs-hash:20080606172239-84dde-383dd08b116b9238a8313dc2f117f5edac3a5905.gz
2008-06-06debugging messages in broadcast remoteEvan Prodromou
darcs-hash:20080606171450-84dde-cd594e2cdb734a76e4dd6436a40ba900d4f64053.gz
2008-06-06push yadis requirement into omb.phpEvan Prodromou
darcs-hash:20080606162659-84dde-fd7d5e030aa6aeebf61d0ea7b143aa7cafce7c45.gz
2008-06-06move notice-posting stuff from util.php to omb.phpEvan Prodromou
darcs-hash:20080606162226-84dde-a794aede95d78913a21e7e2180d7d04cc47789f0.gz
2008-06-04full interface for userauthorizationEvan Prodromou
darcs-hash:20080604185131-84dde-2ff45e07ebba18c97803ed4a99121a6244ef1158.gz
2008-06-03clear out lots of debugging code, add require to userauthorizationEvan Prodromou
darcs-hash:20080603115218-84dde-f333d4541e1112487a5da1e3ad71064513e2228f.gz
2008-06-03fix service discovery (I think)Evan Prodromou
darcs-hash:20080603114317-84dde-04fe2734003fa8023708b6dbda6243d9fd15e9d8.gz
2008-06-03one more stab at type matching, plus debug messageEvan Prodromou
darcs-hash:20080603113626-84dde-99a92331e3875d05e68919acea46392a0128938e.gz
2008-06-03restructure filters on servicesEvan Prodromou
darcs-hash:20080603111750-84dde-5b3eb37cc05ceaec991951338d55d38a2e0a5f2d.gz
2008-06-02add the hmac sha1 signature method to serverEvan Prodromou
darcs-hash:20080602194333-84dde-3ebcd6250184952779a6e6fd7c8561cc6a3733ac.gz