summaryrefslogtreecommitdiff
path: root/lib/apiaction.php
AgeCommit message (Collapse)Author
2010-11-19Merge branch 'master' into 0.9.xBrion Vibber
2010-11-19Fix ticket #2700: some numeric IDs were misinterpreted as hex numbers ↵Brion Vibber
instead of strings when '0x123' passed in. Switched from is_numeric() to a custom self::is_decimal() which is more strict. This makes our behavior match Twitter's API a bit better, so eg this: http://identi.ca/api/statuses/home_timeline/0x6d686b.xml should now be equivalent to: http://identi.ca/api/statuses/home_timeline.xml?screen_name=0x6d686b instead of: http://identi.ca/api/statuses/home_timeline.xml?user_id=7170155
2010-10-24show a single notice in atom entry formatEvan Prodromou
2010-10-22Additional fixes found while looking at ticket #2532: when given a screen ↵Brion Vibber
name as API parameter for a profile, do the nickname lookup on local users only. The profile table can't guarantee unique lookups, so using names isn't currently safe there. This won't affect anything using local nicknames correctly, and may avoid some weird bugs if there were conflicts between local and remote nicknames.
2010-10-06Add plain text error format to clientError()Zach Copley
2010-09-29* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-09-13* update/add translator documentationSiebrand Mazeland
* remove superfluous whitespace
2010-09-07Merge branch 'apinamespace' into 0.9.xEvan Prodromou
2010-08-13hooks to allow changing RSS contentEvan Prodromou
2010-07-29Fix for issue ID 2290: make sure errors are returned in the rightZach Copley
format, and use callback for errors when the request is JSONP
2010-07-16Suppress HTTP error headers for JSONP API outputZach Copley
2010-07-13Exceptions are caught and continued on JSON, XML, Atom and RSS output in APIEvan Prodromou
2010-07-13push exception on missing profile down to Notice::getProfile()Evan Prodromou
2010-07-13handle notices without profiles better in RSS outputEvan Prodromou
2010-06-28- Fix bugs with block and friendship API methodsZach Copley
- Friendship API methods now use a Profile instead of User for target
2010-06-26Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
Conflicts: plugins/OpenID/openidserver.php (cleaned up mismatched comment)
2010-06-22- Add profile_info tag to Atom authorZach Copley
- Normalize xmlns:statusnet links in the API
2010-06-16- More useful group info from api/statusnet/group/showZach Copley
- Add statusnet:group_info tag to group Atom feeds
2010-06-11Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-05-27Assigning my copyrights to the Free Software FoundationCraig Andrews
2010-05-21Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-05-18Remove errant double HTML entity encoding in API source attributionZach Copley
2010-05-18HTML entity encode source link URLs in plain XML output and add ↵Zach Copley
rel="nofollow" to them
2010-05-18Refactor and centralize notice source link calculationZach Copley
2010-05-08Fix for repeats from the API having null source attributionZach Copley
2010-05-07Fix for repeats from the API having null source attributionZach Copley
2010-05-06Remove errant double HTML entity encoding in API source attributionZach Copley
2010-05-06HTML entity encode source link URLs in plain XML output and add ↵Zach Copley
rel="nofollow" to them
2010-05-06Refactor and centralize notice source link calculationZach Copley
2010-04-24use statusnet_ as namespace prefix for JSONEvan Prodromou
2010-04-22Add docs for public_timelineZach Copley
2010-04-22Some initial Doxygen-based documentation for the APIZach Copley
2010-04-22Add statusnet: prefix for API to JSON and XML outputEvan Prodromou
I added the statusnet: prefix to the xml output. This prefix should be declared on the root element of all relevant XML output. I also added two StatusNet-specific fields: * statusnet:html - rendered HTML. Clients shouldn't have to guess at the correct HTML rendering for notices, especially since some of the links depend on context. * statusnet:profile_url - profile URL for a user. You can't count on a user being a local user in a distributed microblogging world. So, this shows the explicit profile_url.
2010-04-15Allow cross-site ajax with CORS.Craig Andrews
Only allows un-credentialed (as in, no cookies or basic auth), no custom headers, and get (no post, put, delete, etc) requests.
2010-04-10Add translator documentation.Siebrand Mazeland
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-30Quick fixes for grouplistall:Brion Vibber
* respect count instead of listing all groups * respect page parameter * don't spew notice on undefined $id * don't spew notice on undefined $group->homepage_url (dropped the element since there's nothing to go in it)
2010-03-24Fix for API group methods, caused failure or output corruption when pulling ↵Brion Vibber
up local groups by name in api/statusnet/groups/is_member.json/xml
2010-03-12Output enclosing geo elements and GeoRSS xmlns in XML timelinesZach Copley
2010-03-12Add Atom self link to tag timelineZach Copley
2010-03-12More generalized method for calculating Atom rel="self" linksZach Copley
2010-03-12Scrub all atom output with common_xml_safe_str()Zach Copley
2010-03-11Output self link in rss2 feeds, if availableZach Copley
2010-03-11- Output georss xmlns in rss elementZach Copley
- Only output geopoint in rss if one is set
2010-03-04Ignore API 'since' silently as Twitter does instead of throwing a 403 error. ↵Brion Vibber
Getting extra results is less disruptive than total failure. Threw in an X-StatusNet-Warning header on the off chance some API client developer notices it. :)
2010-03-02stupid mistake... let's not talk about this.Craig Andrews
2010-03-02Updated some references to the long gnone "isEnclosure" function to the new ↵Craig Andrews
"getEnclosure"
2010-03-02Dropped deprecated timestamp-based 'since' parameter for all API methods. ↵Brion Vibber
When it sneaks in it can cause some very slow queries due to mismatches with the indexing. Twitter removed 'since' support some time ago, and we've already removed it from the public timeline, so it shouldn't be missed.
2010-02-25Get ApiAction autoloading properlyZach Copley