summaryrefslogtreecommitdiff
path: root/actions/twitapistatuses.php
AgeCommit message (Collapse)Author
2009-06-12Ticket #1611 and a bunch of code cleanupZach Copley
2009-05-29Ticket #1567 - API: Change before_id parameter to max_idZach Copley
2009-04-28Ticket #1428 - Changed replies API method to "mentions".Zach Copley
2009-03-10Allow unauthenticated users to view /api/statuses/replies/id.formatZach Copley
(they can already see @replies via friends_timeline anyway).
2009-03-10Updates to the API to improve Atom feedsZach Copley
2009-03-07Let people view friends_timeline of othersEvan Prodromou
Add some code to view others' friends timelines through API.
2009-02-22Ticket #1108 - Added 'social graph' methods to the APIZach Copley
2009-02-20Change common_local_url() to take 4 argumentsEvan Prodromou
I changed common_local_url() to take an additional optional argument -- for query parameters. Being persnickety, I made it the third of four, and moved the last one ($fragment) down a slot. That required changing a couple of calls.
2009-02-03trac1104 Destroy method was dying because it was still calling deprecated ↵Zach Copley
common_dequeue_notice() func
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-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-11Fix bad arguments that were throwing PHP warningsZach Copley
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
2008-12-09trac540 - Add 'since' param to Twitter-compatible API callsZach Copley
darcs-hash:20081209055345-7b5ce-e48fd4c87963b8ae15859fd03d2f1f86a16f3a2b.gz
2008-11-28shorten urls for posts > 140 chars only, from anywhere. Only show long urls ↵millette
in title attributes for links we shortened ourselves. darcs-hash:20081128210114-099f7-4e4cde0a983c2ac6d41efb59b46cb7dbf45dc7a6.gz
2008-12-10api posts cannot use one of the reserved sources: web, omb, mail or xmpp.millette
darcs-hash:20081210173726-099f7-5fc908c7330ec8b21d101c1498d5b78ab09ee490.gz
2008-11-13trac31 forgot about twitapi, now fixed.millette
darcs-hash:20081113164741-099f7-c8994bc8902df1cfc9fe62bf6d556a5c3f521b8f.gz
2008-11-06trac31 url_auto_shortening by sgmurphymillette
darcs-hash:20081106205926-099f7-6bcfd7969a159a12b1ba6a9ee254e44a07b94761.gz
2008-11-03Twitter-compatible API - properly encode and decode UTF-8 HTML entitieszach
darcs-hash:20081103211653-462f3-58a0ad41ab0426c21aceb04b4a91dc52559018d0.gz
2008-10-26fix calls to show_rss_timelineEvan Prodromou
darcs-hash:20081026145749-5ed1f-f2e566947ee5724aeb9c6e91922477cbfc60e144.gz
2008-10-26add SUP links to RSS and Atom, tooEvan Prodromou
darcs-hash:20081026145326-5ed1f-430b98eedef21903caaae47e3355482ae7bfa616.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-10-05Added OnCommand and OffCommand to the list of cmds the Twitter APIzach
supports thru statuses/update darcs-hash:20081005183850-462f3-1fcbf873c14f1048ba7c3ac23f6cd394066170c7.gz
2008-10-04Twitter-compatible API - hooked in command interpreterzach
darcs-hash:20081005030915-462f3-0c0541f062020ee958f1df0361e27f44d6c35e95.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-30Add support for since_id and before_id to Twitter API. Ticket #540.mac65
darcs-hash:20081001001233-e558a-3fcc269985050021ec9b44c052206c731cc4689d.gz
2008-09-30Twitter-compatible API - Favorites now working!zach
darcs-hash:20080930194435-462f3-a0a7fec3f0d05dc3b1fe8a9219155f4d59092e43.gz
2008-09-25Twitter-compatible API - rss and atom feeds for direct messagesZach Copley
darcs-hash:20080926012015-7b5ce-da94465ff9c027183e0e674b6152902c302d0131.gz
2008-09-28single function for important streams, with memcached supportEvan Prodromou
I moved the 4 streams for a user (with friends, faves, replies, personal) into functions on the User object. Added a helper function in Notice for making notice streams. Also, will fetch notice streams out of the memcached server, if possible. Made the API, RSS, and HTML output all use the same streams (hopefully cached). Added some code to Notice to blow the cache when a notice is posted. Also, added code to favor and disfavor actions to blow the faves cache, too. darcs-hash:20080928120119-5ed1f-ead542348bcd3cf315be6f42934353154402eb16.gz
2008-09-22Fix ticket 662mac65
The user_timeline action for the Twitter API was not reading the page argument. Added in one line to assign the page argument. Tested on local install and it worked. darcs-hash:20080922213314-e558a-1e429af6660de21990236b2bb444f2b6f36e08df.gz
2008-08-22local-only is optional on public timelineEvan Prodromou
darcs-hash:20080822210307-84dde-c90f6e7953d11c5b12c7a084ac23e5578412932c.gz
2008-08-19Twitter-compatible API - RESTfulness checks as per Twitterzach
darcs-hash:20080819214923-462f3-83ab492cb93c1ba643beb70853578cbd7ac35d61.gz
2008-08-19Twitter-compatible API - /statuses/show - better err msg if notice doesn't existzach
darcs-hash:20080819202318-462f3-bc08a105c6b41b6a89a2358962440f68a9a79c7f.gz
2008-08-19Twitter-compatible API - /statuses/destroy method implementedzach
darcs-hash:20080819194610-462f3-eb736e4cfc817b479e1e8e52db03b5f44cdb3d2a.gz
2008-08-18Twitter-compatible API - moved show() to the right filezach
darcs-hash:20080819003931-462f3-4b5b838a2fc5f872391581a189d33abdd8eeb744.gz
2008-08-18Twitter-compatible API - running all strings through gettext() nowzach
darcs-hash:20080819002903-462f3-94e62891db9b9de049a918034742e545f663e840.gz
2008-08-17accept 140 chars in API, tooEvan Prodromou
darcs-hash:20080817192710-84dde-47e8da809c930c7c4528e3cb920d9a448e56d4c0.gz
2008-08-15Twitter-compatible API: support for new in_reply_to_status_id in statuses/updatezach
darcs-hash:20080815185317-ca946-11c3f9f7255180d5d6ea7b115b3e33b2abb7fe93.gz
2008-08-13Twitter-compatible API: removed redundant decoding step; already taken care ↵zach
of by util.php's common_render_content() darcs-hash:20080813193327-ca946-c0160fbcc04771e39e303470d3418e84973a8189.gz
2008-07-31Twitter-compatible API - /statuses/update.format now decodes HTML chars, ↵zach
such as & darcs-hash:20080731224911-ca946-1cb52c7592d48174437c1896c41a4dd853a9e5c7.gz
2008-07-30Resolve conflictsMike Cochrane
darcs-hash:20080731004922-533db-96d62078f226ffc18db71d222d1c47524ac1319d.gz
2008-07-29Update some gettext strings and number the arguements so life is easier for ↵Mike Cochrane
translators darcs-hash:20080729080641-533db-560337e226a02dd6fc671f090883d4bedd50eaaa.gz
2008-07-29remember to broadcast in api, and also use the right IDEvan Prodromou
darcs-hash:20080730030012-84dde-9ceea12e90a4b4b4bbe35cb6cb50b6bcbb6085b7.gz
2008-07-29refactor notice-adding code to one static method on NoticeEvan Prodromou
darcs-hash:20080730022856-84dde-f19e4ff5d5ae2603b63b8aebd8f878ec90b3ce22.gz
2008-07-24Correct variable nameMike Cochrane
darcs-hash:20080724234601-533db-c9fe139144a5ec9f58b8ab612331fa31bd55967b.gz