summaryrefslogtreecommitdiff
path: root/lib/twitterapi.php
AgeCommit message (Collapse)Author
2009-08-11Merge branch 'master' into 0.8.xEvan Prodromou
Conflicts: lib/mail.php lib/rssaction.php lib/twitterapi.php
2009-08-08Only populate attachments array element if there are attachmentsZach Copley
2009-08-08Also show XML representation of attachments in the APIZach Copley
2009-08-07Implemented the list_all and list groups API methods as defined at ↵Craig Andrews
http://laconi.ca/trac/wiki/ProposedGroupsAPI Made the Autocomplete plugin also autocomplete groups
2009-08-06Support the 'lite' parameter to statuses/friends and statuses/followers ↵Craig Andrews
twitter api methods. http://laconi.ca/trac/ticket/1786
2009-08-02Fixed PHP Notice "Undefined index: enclosures" (and a possible one for 'tags')Jeffery To
2009-07-30Added a url field to hold the permalink. I believe this field is very useful ↵Craig Andrews
for api consumers.
2009-07-30Implemented the "show" method of the laconica groups apiCraig Andrews
2009-07-21Add <category> to RSS 2.0, use the same tag finding method for RSS 1.0 as ↵Craig Andrews
for Atom and RSS 2.0. http://laconi.ca/trac/ticket/864
2009-07-17Only create attachment elements if attachment is an enclosureZach Copley
2009-07-17Only populate attachments array element if there are attachmentsZach Copley
2009-07-17Also show XML representation of attachments in the APIZach Copley
2009-07-15Added attachment information to the json responsesCraig Andrews
2009-07-14Moved the decision logic as to whether an attachment should be an enclosure ↵Craig Andrews
to the File class
2009-07-13Copy isset($attachment->filename) fix from RSS 1.0 to RSS 2.0 and Atom 1.0 ↵Toby Inkster
feeds.
2009-07-10Make get_group() behave more like get_user()Zach Copley
2009-07-10added group status api, located at /api/statuses/group_timeline/ID.rssCraig Andrews
http://laconi.ca/trac/ticket/1702
2009-07-09cache frequently-used subscriber, subscription, notice and fave count valuesEvan Prodromou
2009-07-09Notice attachments are enclosures in feeds (Atom, RSS 1.0/RDF, and RSS 2.0).Craig Andrews
http://laconi.ca/trac/ticket/1690
2009-07-03Implement friendships/show API methodZach Copley
2009-06-20Update copyright dates in files modified in 2009Evan Prodromou
2009-06-20change Controlez-Vous to Control YourselfEvan Prodromou
2009-06-17Output XML and JSON error msgs for API callsZach Copley
2009-06-12Ticket #1611 and a bunch of code cleanupZach Copley
2009-06-04Handle the ways Twitter accepts passing the user in the query string.Dan Moore
2009-05-29Ticket #1568 - API should return full user objectsZach Copley
2009-04-18Bringing the presentation of boolean variables (favorited, truncated, ↵Dan Moore
profile_background_tile) and the result from friendships/exist in JSON results from the Twitter Compatible API in line with what the real Twitter API does. Currently, laconica returns text strings enclosed in quotes instead of bare Javascript booleans. This change fixes that. See http://laconi.ca/trac/ticket/1326 for one open issue related to this.
2009-04-16Make API dates more compatible with Twitter - ticket 1432Zach Copley
2009-03-22One function for producing Atom entry for a NoticeEvan Prodromou
Took the various places that we create an atom entry for a notice, and jammed them together into one function of the notice class, and then used that function. Also, added Atom threading extension and categories for hashtags.
2009-03-10Updates to the API to improve Atom feedsZach Copley
2009-03-06First crack at Twitter-like JSON search results for the APIZach Copley
2009-03-04Made /api/account/verify_credentials.format return an extended user object. ↵Zach Copley
Updates to status and user API objects.
2009-02-06Move common_avatar_* functions to AvatarEvan Prodromou
Moved the common_avatar_* functions to the Avatar class. Typically either as methods on the object or as static methods. Replaced all the uses of the functions in other modules.
2009-01-23Merge branch 'master' of ssh://zach@dev.controlyourself.ca/var/www/trunkZach Copley
2009-01-23Bring the Twitter compatible API inline with new uiredesign stuffZach Copley
2009-01-23Merge branch 'master' of /var/www/mublogEvan Prodromou
Conflicts: actions/api.php actions/deletenotice.php actions/recoverpassword.php actions/remotesubscribe.php actions/tag.php actions/tagrss.php actions/twitapiaccount.php actions/twitapiusers.php classes/Notice.php classes/User.php lib/common.php lib/language.php lib/subs.php lib/twitterapi.php lib/util.php scripts/inbox_users.php scripts/update_translations.php Merged development trunk into laconica head. woohoo!
2009-01-08Revert "Twitter-compatible API - update verify_credentials to return profile"Evan Prodromou
This reverts commit b801f73b1f4706f15783f91fd07508a03175592d. Twhirl assumes we return the old kind of results, so we have to do that.
2008-12-15Twitter-compatible API - update verify_credentials to return profileZach Copley
darcs-hash:20081216030455-7b5ce-552516bfb34cb0ae1550787813feb4a4514d6c53.gz
2008-12-14trim some output to avoid excessive whitespaceEvan Prodromou
darcs-hash:20081214161942-84dde-bfb91a534eb01d3e16b364937dcf405277e75a6a.gz
2008-12-11Fix bad arguments that were throwing PHP warningsZach Copley
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
2008-12-23move opening brace of class declaration to next lineEvan Prodromou
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace NULL with nullEvan Prodromou
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-10Remove a bunch of extraneous logging statementsZach Copley
darcs-hash:20081211024233-7b5ce-e4911c049adf067f24821f868a27bdf67c324caf.gz
2008-12-05HTML output in RSS 2.0 and AtomEvan Prodromou
darcs-hash:20081205160205-84dde-68363153ee7f4f75a7c25ca6546816b648406b8b.gz
2008-11-06Twitter-compatible API - don't strip XML-illegal chars from JSON outputzach
darcs-hash:20081106225721-462f3-b80ba75f87a4b36b803868653c956c393a236626.gz
2008-11-04Better UTF-8 escaped entity handling. Fixed bad chars in all RSS feeds.zach
darcs-hash:20081104084027-462f3-ea7ab93938358bf90a1c1851d6f665973beae767.gz
2008-10-26add SUP links to RSS and Atom, tooEvan Prodromou
darcs-hash:20081026145326-5ed1f-430b98eedef21903caaae47e3355482ae7bfa616.gz
2008-10-16Twitter-compatible API:zach
- Filled in favorites tags in statuses - Filled in more tags in user/show, including undocumented features - Better error handling and more consistent error messages - Code clean-up and refactoring - Removed huge obnoxious comments darcs-hash:20081017023638-462f3-27b5d2709e423c616723d4bcfbc9d7d30a4ad161.gz