summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes
AgeCommit message (Collapse)Author
2010-09-21make some static functions public for OStatus_profileEvan Prodromou
2010-09-07Fix for #2663: fix for original/96px-size avatars getting saved with bad ↵Brion Vibber
permissions, causing failure to see images if background queues are different user from web server. The original-size file is now forced to 0644 (all-readable), which should help. Not sure this is 100% ideal, but it's better than 0600! (The other sizes were being created in other code and had sane read perms already.) Watch out for similar issues in Twitter bridge etc; avatar import code should get cleaned up and consolidated.
2010-09-03* i18n/L10n updates and FIXMEs addedSiebrand Mazeland
* whitespace fixes
2010-09-02Merge branch 'swat0' into 0.9.xEvan Prodromou
2010-09-01correctly return oprofile from Ostatus_profile::ensureProfileURI()Evan Prodromou
2010-09-01save URIs of remote profiles marked for attentionEvan Prodromou
2010-08-16Merge branch 'testing'Brion Vibber
Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-08-13Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
Conflicts: plugins/OStatus/classes/Ostatus_profile.php
2010-08-13add hooks to allow plugins to handle different kinds of activitiesEvan Prodromou
2010-08-13Fixes for RSS subscriptions: accept posts with no ActivityStreams ↵Brion Vibber
object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
2010-08-13Fixes for RSS subscriptions: accept posts with no ActivityStreams ↵Brion Vibber
object-type set; be more liberal about accepting posts from feeds where the author info doesn't match (we'll post under the feed's profile and just not try to update the profile info).
2010-08-10Fix for regression with OStatus mention processing (duplicated new and old ↵Brion Vibber
style lead to trying to save a reply entry twice).
2010-08-10Initial support for third-party fallback hub such as Superfeedr for feed ↵Brion Vibber
subscriptions. If set up, this hub will be used to subscribe to feeds that don't specify a hub of their own. Assumes that the fallback hub will, in fact, handle polling and updates for any feed we throw at it! Authentication may be specified for the fallback hub. Example: $config['feedsub']['fallback_hub'] = 'https://superfeedr.com/hubbub'; $config['feedsub']['hub_user'] = 'abcd'; $config['feedsub']['hub_pass'] = 'ckcmdkmckdmkcdk'; Also: * Fix for WordPress-RSS-via-Superfeedr-Atom; if we have <author> info but no ID from a native ActivityStreams actor, don't freak out in the low-level processing code that checks for identity matches. * enhanced messages for low-level FeedSub exceptions if they make it to outside display
2010-08-06OStatus/FeedSub: tweaked PuSH feed garbage collection so other plugins can ↵Brion Vibber
declare usage of a low-level feed or an OStatus profile besides profile subscriptions & group memberships. SubMirror: redid add-mirror frontend to accept a feed URL, then pass that on to OStatus, instead of pulling from your subscriptions. Profile: tweaked subscriberCount() so it doesn't subtract 1 for foreign profiles who aren't subscribed to themselves; instead excludes the self-subscription in the count query. Memcached_DataObject: tweak to avoid extra error spew in the DB error raising Work in progress: tweaking feedsub garbage collection so we can count other uses
2010-06-07OStatus plugin: Rolling batch queueing for PuSH output to >50 subscribing ↵Brion Vibber
sites. Keeps latency down for other things enqueued while we work...
2010-06-03Option to divert PuSH items directly to the target site's queue when localBrion Vibber
2010-04-21Fix exceptions with bad gravatar URLsEvan Prodromou
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-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-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-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-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-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-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.
2010-03-19ensure from an RSS channelEvan Prodromou
2010-03-19Validate OStatus avatar URL before fetching.Brion Vibber
2010-03-18Fix notice warning about unused var -- was renamed during refactoring.Brion Vibber
2010-03-18Fix for xmpp/sms notification options appearing to be disabled on new ↵Brion Vibber
subscriptions. Base problem is that our caching-on-insert interferes with relying on column default values; the cached object is missing those fields, so they appear to be empty (null) when the object is retrieved from cache. Now explicitly setting them when inserting subscriptions, and cleaned up some code that had alternate code paths. May also have made auto-subscription work for remote OStatus subscribers, but can't test until magic sigs are working again.
2010-03-18Fix some remote subscription regressions from ↵Brion Vibber
f21f78364a9cbde2ca535a3983b384707ad097ae Ostatus_profile::ensureProfile() has been renamed to Ostatus_profile::ensureProfileURL()
2010-03-17Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-03-16Change the workflow to get better discoveryEvan Prodromou
Tried to re-structure the workflow of discovery to get more and richer data and hints.