summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes
AgeCommit message (Collapse)Author
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.
2010-03-13changing keypair to text to hold a full 1024bit keypairJames Walker
2010-03-12cleaning up key generationJames Walker
2010-03-12converting key generation to new crypt libraryJames Walker
2010-03-12converted toString to new crypt libraryJames Walker
2010-03-12converted sign, verify and fromString to new crypt libJames Walker
2010-03-12Fixes for updating indices, charset/collation and engine type on ↵Brion Vibber
plugin-created tables. Under MySQL, new tables will be created as InnoDB with UTF-8 (utf8/utf8_bin) same as core tables. Existing plugin tables will have table engine and default charset/collation updated, and string columns will have charset updated, at checkschema time. Switched from 'DESCRIBE' to INFORMATION_SCHEMA for pulling column information in order to get charset. A second hit to INFORMATION_SCHEMA is also needed to get table properties. Indices were only being created at table creation time, which ain't so hot. Now also adding/dropping indices when they change. Fixed up some schema defs in OStatus plugin that were a bit flaky, causing extra alter tables to be run. TODO: Generalize this infrastructure a bit more up to base schema & pg schema classes.
2010-03-10OStatus: reject attempts to create a remote profile for a local user or group.Brion Vibber
Some stray shadow entries were ending up getting created, which would steal group posts from remote users. Run plugins/OStatus/scripts/fixup-shadow.php for each site to remove any existing ones.
2010-03-09wrong param order to strpos()James Walker
2010-03-05OStatus fix: send the feed's root element, not the DOM document, down to ↵Brion Vibber
low-level feed processing as entry context on PuSH input.
2010-03-03OStatus: code cleanup on webfinger fallback pathBrion Vibber
2010-03-03Fix up catching of webfinger setup failsBrion Vibber
2010-03-03Fix for hcard parsing: typo caused notice spew accessing unset array indexBrion Vibber
2010-03-02OStatus: save file records for enclosuresBrion Vibber
Also stripping id from foreign HTML messages (could interfere with UI) and disabled failing attachment popup for a.attachment links that don't have a proper id, so you can click through instead of getting an error. Issues: * any other links aren't marked and saved * inconsistent behavior between local and remote attachments (local displays in lightbox, remote doesn't) * if the enclosure'd object isn't referenced in the content, you won't be offered a link to it in our UI
2010-03-01High-priority OStatus fixes:Brion Vibber
* PuSHing out to multiple client services could fail; only first callback got reached * Correction for re-sub request to a known sub
2010-03-01Merge branch 'work' into testingBrion Vibber
2010-03-01OStatus: support @example.com/path/to/profile mentions as well as ↵Brion Vibber
@profile@example.com (latter requires webfinger, former doesn't) Plus misc warnings/notices cleanup in the submission path.
2010-03-01Fix a bunch of notice & warning-level messages that were breaking my ↵Brion Vibber
inter-instance communications
2010-02-26renaming sha256 to prevent conflictJames Walker
2010-02-26better return check in Magicsig::staticGet()James Walker
2010-02-26should be sequenceKey (singular)James Walker
2010-02-26adding sequenceKeys() to magicsigJames Walker
2010-02-26Discovery::lookup now throws an exceptionJames Walker
2010-02-26move signing to take a local actor profile and use local keysJames Walker
2010-02-26updating to use latest salmon NS definitionsJames Walker
2010-02-26more cleanupJames Walker
2010-02-25Merge remote branch 'statusnet/testing' into testingJames Walker
Conflicts: plugins/OStatus/lib/webfinger.php
2010-02-25er. right.James Walker
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-25OStatus: clean up known-URL hinting during profile setup, saves some extra ↵Brion Vibber
HTTP hits we were getting when mentioning Buzz feeds.
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: OStatus: pull best-sized avatar image (96x96 if found, otherwise largest, otherwise if none labeled takes the first) info about discovery in Ostatus_profile::ensureWebfinger() cache Web responses in Webfinger library
2010-02-25- Updates to use new activity object factoriesZach Copley
- Prune obsolete feed creation method
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-02-25OStatus: pull best-sized avatar image (96x96 if found, otherwise largest, ↵Brion Vibber
otherwise if none labeled takes the first)
2010-02-25info about discovery in Ostatus_profile::ensureWebfinger()Evan Prodromou
2010-02-25cache results of webfinger lookupsEvan Prodromou
2010-02-25Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testingEvan Prodromou
2010-02-25Parse an hcard for hints, if availableEvan Prodromou
2010-02-25Merge branch 'testing' of gitorious.org:statusnet/mainline into testingZach Copley
* 'testing' of gitorious.org:statusnet/mainline: OStatus: if no <link> available and no profileurl hint passed in, use object id if it's an HTTP(S) URL. Fixes profile link for Google accounts. Tweak common_url_to_nickname to take the last path component; fixes pulling nicks from Google profile pages (path is "/profile/<nickname>") Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting profile->getProfile() was masked by DB_DataObject
2010-02-25Add lots of fun avatars to our Atom outputZach Copley
2010-02-26OStatus: if no <link> available and no profileurl hint passed in, use object ↵Brion Vibber
id if it's an HTTP(S) URL. Fixes profile link for Google accounts.
2010-02-25moving references to Webfinger to DiscoveryJames Walker
2010-02-25OStatus: fix remote groups to work with new user_groups/local_groups split.Brion Vibber
- fix <activity:subject> generation so we get the profile info (what's available so far) - use id instead of nickname for group join/leave forms so we can join/leave remote groups while the rest of the groups UI remains limited to local groups (plugins are responsible for making sure remote notifications and permission checks are done) - fix remote notification when joining group through OStatus's remote subscribe form
2010-02-25OStatus: save categories from the Atom entry as hashtags.Brion Vibber
2010-02-24return attachement from saveHTMLFile()Evan Prodromou