summaryrefslogtreecommitdiff
path: root/actions/twitapiusers.php
AgeCommit message (Collapse)Author
2009-04-18Fixing spaces/tabs.Dan Moore
2009-04-18This should change the JSON representation of the booleans 'following' and ↵Dan Moore
'notifications', but unlike the previous change, I was unable to test this.
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-03-04Made /api/account/verify_credentials.format return an extended user object. ↵Zach Copley
Updates to status and user API objects.
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-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
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-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 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-30Twitter-compatible API - factored out redundant JSON printing functionszach
darcs-hash:20080930212526-462f3-abe9f1f2fc395c751b2861e686d638ea0a8ca001.gz
2008-09-22Fix ticket 460mac65
The show action for the twitter user API was using subscribed instead of subscriber to grab the friends_count. darcs-hash:20080922223429-e558a-4b456954f475c022be288e85a186ffa8794fad03.gz
2008-08-18Twitter-compatible API - running all strings through gettext() nowzach
darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz
2008-07-30Twitter-compatible API: implemented /users/show.format methodzach
(and some API bug fixes) darcs-hash:20080730213226-ca946-eb89bad91eee630ac286d537ba42f0042b8d2109.gz