summaryrefslogtreecommitdiff
path: root/actions/twitapifriendships.php
AgeCommit message (Collapse)Author
2009-06-12Ticket #1611 and a bunch of code cleanupZach 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-01-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
2009-01-15Convert all actions to use new UI functionsEvan Prodromou
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
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-23TRUEEvan Prodromou
More PEAR coding standards global changes. Here, I've changed all instances of TRUE to true and FALSE to false. darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.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-10-24Twitter-compatible API - checks for is_readonly() now work!zach
darcs-hash:20081024213745-462f3-7c26611e7f75265affafd471c3d66e02ec7e686e.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
2008-09-30Twitter-compatible API - cleaned up sloppy control flow: exit() statements ↵zach
everywhere darcs-hash:20081001025421-462f3-3bf666327de3a3c5ea506b2c387741dc3d0e82bf.gz
2008-09-30Twitter-compatible API - Added content-type checks to several methods. ↵zach
Calling an API method with a bad content type used to return a blank page. darcs-hash:20081001020959-462f3-83b0241ba7dc99c4e3a52148a46deb8182e005b0.gz
2008-09-29Twitter-compatible API: Direct messages work (everything but destroy())Zach Copley
darcs-hash:20080929050826-7b5ce-201624b32e174ae85b906b92353e39aa043838fa.gz
2008-08-19Twitter-compatible API - RESTfulness checks as per Twitterzach
darcs-hash:20080819214923-462f3-83ab492cb93c1ba643beb70853578cbd7ac35d61.gz
2008-08-18Twitter-compatible API - running all strings through gettext() nowzach
darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz
2008-07-22Twitter-compatible API: made is_readonly() method smarterzach
darcs-hash:20080722182919-ca946-dce04d84290711066154567458da2dd3253dd957.gz
2008-07-20Twitter-compatible API: /friendship/exists always failed - fixed!zach
darcs-hash:20080720083948-ca946-14b4ef6a5fe387f1e147546be156fafb7d665275.gz
2008-07-20Twitter-compatible API - refactoring and bug fixeszach
darcs-hash:20080720083428-ca946-c14a92345366f2105b3c452a3899714d89692daa.gz
2008-07-20Twitter-compatible API - Error handling that better matches Twitter'szach
darcs-hash:20080720070905-ca946-dda57dd92210461361fd58b7a3244bf24c01e801.gz
2008-07-18change fetch to find in apiEvan Prodromou
darcs-hash:20080718045204-84dde-1fb4fe473c9dd64867920ec8e5a1b0c15661e9e6.gz
2008-07-18add create stamp to subscription in apiEvan Prodromou
darcs-hash:20080718045150-84dde-8fda088ea35c20d23ae86a9c61189545754403b2.gz
2008-07-18exit on errorEvan Prodromou
darcs-hash:20080718044905-84dde-2d447d7ec4e6d6a56075c8238f357ecb48fd295c.gz
2008-07-18when in doubt, start throwing transactions aroundEvan Prodromou
darcs-hash:20080718043735-84dde-8c74ccaf2560716209b8518e77e6a0f357d881af.gz
2008-07-18init and end documentsEvan Prodromou
darcs-hash:20080718043456-84dde-ffe825e8021e0f803fbbecacdc93d26309853daa.gz
2008-07-18start and end xmlEvan Prodromou
darcs-hash:20080718042511-84dde-577d462b1441a30d1d88cc8e26dde32bde79c9fd.gz
2008-07-18getting the id from the wrong placeEvan Prodromou
darcs-hash:20080718042352-84dde-6326cd8c68b73ccf801b93314e3f5352ff744544.gz
2008-07-18null reference errorEvan Prodromou
darcs-hash:20080718042030-84dde-78e056f1e47335556d353cdf2940651f59291efd.gz
2008-07-18beware of shadowsEvan Prodromou
darcs-hash:20080718041633-84dde-4fb8e5738b6594334e42d21c4ed104039da62abb.gz
2008-07-18show friendship stuffEvan Prodromou
darcs-hash:20080718041323-84dde-2cc93bd2ced792797db634c4c4cd2a72a6ae61be.gz
2008-07-15Prepended 'Twit' to Twitter-compatible API actions (renamed actionzach
files) to make it more clear what the action files are for. darcs-hash:20080715043121-ca946-bb7acd42271117dbb77d5e16292673a4b8cfad53.gz