summaryrefslogtreecommitdiff
path: root/lib/api.php
AgeCommit message (Collapse)Author
2010-02-08Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-02-08First steps on converting FeedSub into the pub/sub basis for OStatus ↵Brion Vibber
communications: * renamed FeedSub plugin to OStatus * now setting avatar on subscriptions * general fixes for subscription * integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly * set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though) * a few bits of code documentation * HMAC support for verified distributions (safest if sub setup is on HTTPS) And a couple core changes: * minimizing HTML output for exceptions in API requests to aid in debugging * fix for rel=self link in apitimelineuser when id given This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions. Needs some further cleanup to treat posts as status updates instead of link references.
2010-02-02Linkify notice source when posting from registered OAuth appsZach Copley
2010-02-02Linkify notice source when posting from registered OAuth appsZach Copley
2010-01-31Merge branch 'testing' into 0.9.xEvan Prodromou
Conflicts: actions/apioauthauthorize.php
2010-01-28Fix more fatal errors in queue edge casesBrion Vibber
2010-01-24Check for read vs. read-write access on OAuth authenticated API mehtods.Zach Copley
2010-01-22stupid mistake... let's not talk about this.Craig Andrews
2010-01-22Updated some references to the long gnone "isEnclosure" function to the new ↵Craig Andrews
"getEnclosure"
2010-01-14Check for read vs. read-write access on OAuth authenticated API mehtods.Zach Copley
2010-01-12Avoid PHP notice when outputting API data for remote users; no $user means ↵Brion Vibber
no $user->timezone :) Trying to get property of non-object (/srv/com.leuksman.status/lib/api.php:171)
2010-01-10Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-01-10defaultDesign was undefined; fixed thatEvan Prodromou
2010-01-10* L10n updates: consistent puctuationSiebrand Mazeland
* i18n updates: number parameters if more than one are being used
2009-12-14had the order of <status> and <retweeted_status> wrong in api outputEvan Prodromou
2009-12-14fix error with cached repeat of deleted original in api outputEvan Prodromou
2009-12-14Fix issue with favorited/following always being set to falseZach Copley
2009-12-12Merge branch 'forward' into 0.9.xEvan Prodromou
2009-12-11ticket 2055: added logos to Atom and RSS feedsHue Bastard
2009-12-11show repeated notices correctly in API outputEvan Prodromou
2009-12-04Don't depend on a User being available when looking up Design and timezoneZach Copley
for a profile (because some profiles are remote, etc.)
2009-12-02Delete design when user chooses to restore default design, insteadZach Copley
of saving a design with site defaults.
2009-12-01Revert "Fix problem where screen_name and user_id parameters are being"Zach Copley
The problem this was trying to fix is actually caused by a missing routing rule. Silly me. This reverts commit 2451192415ae93a329b412761cfbb26df8185474.
2009-11-30Fix problem where screen_name and user_id parameters are beingZach Copley
ignored due to the router sending in '[a-zA-Z0-9]+' for the id parameter when no id is specified as part of the URL.
2009-11-10Merge branch '0.9.x' into finish-account-apiZach Copley
* 0.9.x: Added a events for the settings menu items Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server. Changed to Evan's event style and added an AuthPlugin superclass add geo output to statuses in json, xml, atom, rss in API Localisation updates from translatewiki.net (2009-11-10) Localisation updates from translatewiki.net Update pot add lat and long parameters to api/statuses/update change credential check to work more like other events fixup output of object attributes in db error code Performance fix for subscription/subscriber lists based on feedback from ops. Adjusting indexes to make favorites query more efficient, based on feedback from ops. Revert untested code; spews PHP notice warnings on every page view: "just sent a http 200 for the check-fancy from install.php" Added hook for the Group navigation items Updated block @title text (shouldn't say from group) Updated group block markup Revert "Remove more contractions"
2009-11-10add geo output to statuses in json, xml, atom, rss in APIEvan Prodromou
2009-11-10Merge branch '0.9.x' into finish-account-apiZach Copley
* 0.9.x: (26 commits) just sent a http 200 for the check-fancy from install.php Add a new event: CanUserChangeField shorten flag notification and include a class Added flag icon for UserFlag plugin Fixed notice option alignment in IE add a method to Theme class to list available themes Updated Realtime plugin to use the util's NoticeReply object Localisation updates from translatewiki.net (2009-11-08) Update pot again Rebuild pot file *without* --join-existing to get rid of the cruft. Not sure why "--join-existing" must be in. Only thing I can think of is manual additions, which I could not find. Revert "More precise field label" Remove more contractions Revert "* [Cc]an't -> [Cc]annot" Revert "More specifics on 'address'" * [Cc]an't -> [Cc]annot Revert "* check usage of 'people' in UI and change it to 'users' or something else in most places" add utilities for calculating local and installation theme root dirs Harmonise UI message "No such user." Restructure theme.php to define a class Theme entity_action responses look more inactive now ...
2009-11-10Output profile background image info in the API user objectsZach Copley
2009-11-09Revert "Remove more contractions"Brion Vibber
This reverts commit 5ab709b73977131813884558bf56d97172a7aa26. Missed this one yesterday...
2009-11-08Remove more contractionsSiebrand Mazeland
* doesn't * won't * isn't * don't
2009-11-03Don't try to pull up designs for non-existent usersZach Copley
2009-10-15Added support for profile designs to the twitter APITrever Fischer
2009-10-12Added in credits.Zach Copley
2009-10-12Moved group create API into its own actionZach Copley
Merge branch '0.9.x' into refactor-api * 0.9.x: Implemented create group api fix FBConnect so it doesn't muffle EndPrimaryNav don't write session if it's unchanged Fixed facebook connect primary nav to hide search option when site is private and user is not logged in Fixed facebook connect primary nav to obey sms/twitter/openid settings Fixed facebook connect login nav to obey openid settings Fixed facebook connect nav to obey sms/twitter disabled Fixed twitter defaulting to disabled Revert "Open tags should have closing tags" Don't show search suggestions for private sites Fixed E_NOTICE when returnto isn't set Fixed E_NOTICE when the "lite" parameter isn't included in the request Fixed E_NOTICE - GroupList expects an owner object in the constructor, not an array of search terms Returning false seems to fix IE from reclaiming window focus. I think Aligning notice attach label from right instead of left Fixed IE background image alignment for attach, favour and disfavour Fixed nudge and direct message background image alignment Using 'CSS sprites' for common icons for the identica theme. Default Open tags should have closing tags Conflicts: actions/twitapigroups.php actions/twitapistatuses.php
2009-10-09CamelCase all function names in the API codeZach Copley
2009-10-09These same params are used in most API actions; moved to base API classZach Copley
2009-10-09Remove dead codeZach Copley
2009-10-09$format is used by every API action. Set it in the base class.Zach Copley
2009-10-09Delete action/api.php and rename lib/twitterapi.php to lib/api.phpZach Copley