summaryrefslogtreecommitdiff
path: root/plugins/OStatus
AgeCommit message (Collapse)Author
2010-05-21Avoid PHP notice about undefined array index when no avatar photo available ↵Brion Vibber
from Google profile
2010-05-18- OStatusPlugin should return true if it doesn't need to handle sourceZach Copley
attribution - Remove stray break statement from NoticeList
2010-05-14accept either salmon endpoint (until they're unified in the spec)James Walker
2010-05-14allow hyphens in subdomains for webfinger addressesJames Walker
2010-05-04Avoid spewing giant debug backtrace into exception in certain OStatus ↵Brion Vibber
subscription failure cases. The code pattern 'new XXXException($e)' to chain exceptions doesn't actually work as intended, as exceptions are actually expecting a string message here. This caused an implicit string conversion from HTTP_Request2_Exception, which is a PEAR_Exception, which defines an absurdly detailed __toString() method including a giant HTML table with a backtrace if you happen to be on a web request. Simply passing $e->getMessage() instead clears this up, as we'll get the nice short message like 'Couldn't connect to tcp://blahblah:80'
2010-05-03Pull localization updates from 0.9.x branch0.9.2Brion Vibber
2010-04-29Pull localization updates from 0.9.xBrion Vibber
2010-04-23Rerun feed discovery and update the feed, salmon, and hub for the given ↵Brion Vibber
OStatus remote profile. Restarts subscription fresh as well. update-profile.php -sexample.com http://example.com/path/to/profile/url
2010-04-22OStatus: CLI script to force a renewal on the given PuSH subscription. May ↵Brion Vibber
help when we get out of sync with the hub. php plugins/OStatus/scripts/resub-feed.php -smysite http://example.com/some/atom/feed
2010-04-21Fix exceptions with bad gravatar URLsEvan Prodromou
2010-04-19Disable the send-notice form at the top of the page OStatus subscription ↵Brion Vibber
confirmation page to work around bugs in Cloudy theme. This is really just a hack for the broken CSS in the Cloudy theme, I think; copying from other non-notice-navigation pages that do this as well. There will be plenty of others also broken.
2010-04-06Handle attempt to subscribe a local user via their remote webfinger ↵Brion Vibber
reference more gracefully. The ensure* family of functions will now return an OStatusShadowException in this case, which gives us a pleasant error message instead of a giant exception backtrace when you do 'sub somebody@this.local.server'. Can be extended later to allow actually using the local profile, since we could figure it out.
2010-04-05Some localization cleanup and doc to aid in customization:Brion Vibber
* added locale/en/LC_MESSAGES/statusnet.po to make it easier to start customizing English texts * added notes to locale/README about customizing and how to disable languages you haven't customized * renamed PO templates from *.po to *.pot to match general conventions and reduce confusion for people trying to find which file they're supposed to edit
2010-04-05Clean up and clarify output on fix-shadow.phpBrion Vibber
2010-03-29Include meta charset header in saved HTML file for long OStatus messages; ↵Brion Vibber
without, DOMDocument::loadHTML assumed Latin-1 instead of UTF-8.
2010-03-26move base64_url_(encode|decode) to static functions in MagicsigJames Walker
2010-03-26Do ostatus queue firstEvan Prodromou
We do the OStatus queue first, so if we're sending a notice to the same server twice (e.g., with OMB), our richer and more featureful notice comes in first.
2010-03-25Tweak to OStatus long message cropping: use original source notice URL for ↵0.9.1rc1Brion Vibber
the link in the text version, don't shorten the link for the HTML so we can append params to it in JS. Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-03-25Add doc comments on saveHTMLFile; drop the extra <div> wrapping the contents ↵Brion Vibber
to make it easier to extract without getting extra markup.
2010-03-25Using &#8230; (hellip) instead of "more" for link textSarven Capadisli
2010-03-25Updated 'more' anchor for attachments to do an XHR GETBrion Vibber
Conflicts: lib/attachmentlist.php plugins/OStatus/classes/Ostatus_profile.php Merge tried to delete things that it seems it shouldn't, very confusing order. Hope rest of the cherry-picking isn't a problem.
2010-03-24Make sure we're requiring the libraryJames Walker
2010-03-24Updated Math_Biginteger from upstream - removing safe* workaroundsJames Walker
2010-03-24Check for 0.9.0 bad keys from old Crypt_RSA libraryJames Walker
2010-03-24A bit safer checking in the keypair parsingJames Walker
2010-03-24Look for the first object in the ActivityZach Copley
2010-03-23Improve legibility of OStatus remote tests outputBrion Vibber
2010-03-23add a general PuSHed post and an @-reply back to a subscribee by name to ↵Brion Vibber
OStatus remote test cases
2010-03-23Add basic subscribe/unsubscribe test to OStatus test casesBrion Vibber
2010-03-23Don't spew XML parse warnings to output when checking a remote XRD pageBrion Vibber
2010-03-22Fix reference. Look at the first ActivityObject in the list.Zach Copley
2010-03-22Some initial media parsingZach Copley
- Activity now returns a list of activity objects - Processing of photo objects
2010-03-22OStatus remote sending test cases. Doesn't actually run within PHPUnit right ↵Brion Vibber
now, must be run from command line -- specify base URLs to two StatusNet sites that will be able to communicate with each other. Current test run includes: * register accounts (via web form) * local post * @-mention using path (@domain/path/to/user) Subscriptions, webfinger mentions, various paths to subscription and unsubscription, etc to come.
2010-03-22Math_BigInteger doesn't correctly handle serialization/deserialization for a ↵Brion Vibber
value of 0, which can end up spewing notices to output and otherwise intefering with Salmon signature setup and verification when using memcached. Worked around this with a subclass that fixes the wakeup, used for the stored 0 value in the subclassed Crypt_RSA.
2010-03-22Confirm there's actually user and domain portions of acct string before ↵Brion Vibber
assigning things from output of explode(); avoids notice message when invalid input passed to main/xrd
2010-03-22Fixing HTTP Header LRDD parsing (sites in subdirectories need this)James Walker
2010-03-22ignore unrecognized object typesEvan Prodromou
2010-03-21Pull <atom:author> info as well as <activity:actor> when we have an ↵Brion Vibber
old-style ActivityStreams feed. This fixes subscription setup for Cliqset feeds, which currently have a bogus activity:actor/atom:id but a good atom:author/atom:uri
2010-03-21Accept 'tag' and other non-http id URIs in ↵Brion Vibber
Ostatus_profile::getActivityObjectProfileURI(). (If there's not a valid ID we fall back to the link, which we do still validate as http/s.)
2010-03-21OStatus profile setup cleanupBrion Vibber
* drop OStatusPlugin::localProfileFromUrl(), we can just look up on user.uri * clean up a few edge cases that returned null through Ostatus_profile::ensure* code paths, now throws clear exception when we can't find a feed from the given profile url * add some doc comments on the ensure* methods
2010-03-21only use Posterous author data if it matches the profile URLEvan Prodromou
2010-03-20use Posterous element if available for RssChannel discoveryEvan Prodromou
2010-03-20use feedEl for discoveryEvan Prodromou
2010-03-20fall back to summary or title if content not availableEvan Prodromou
2010-03-20Allow PuSH posts without author informationEvan Prodromou
Superfeedr (sp.?) posts entries without author information. We can assume that this is intended to be by the original author. Re-structured the checks for entries that come in by PuSH so they can either have no author or an empty author, but not a different author.
2010-03-20handle RSS as well as Atom in Ostatus push hitsEvan Prodromou
2010-03-20Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-03-20try to make a nickname from the user profile url before using the URIEvan Prodromou
2010-03-19Avoid notices for accessing undefined array indices in hcard processingBrion Vibber
2010-03-19OStatus: be a little laxer about attempts to start/stop PuSH subscriptions ↵Brion Vibber
that were left in an inconsistent state. Instead of aborting, we'll try to reconfirm the sub/unsub, which once confirmed will replace whatever the previous state was on the server side.