summaryrefslogtreecommitdiff
path: root/actions/apidirectmessage.php
AgeCommit message (Collapse)Author
2010-09-20Ticket #2750: fixes to HTTP caching behavior across login/logout boundariesBrion Vibber
* now ignoring if-modified-since if we failed an etag if-none-match comparison, per spec * now including a hash of user id/nickname in most etags, so we'll update the view properly after login/logout For API methods, checking the API-auth'ed user. (Many change results to include things like 'you're subscribed to this user' or 'this is one of your favorites', so user info is again needed) There'll still be some last-modified stamps that aren't including user info properly, probably.
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-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-20Change to use TagURI::base() instead of common_config()Evan Prodromou
I changed the way that tag: URIs are minted, so we now use the right base. Ideally most of these would use HTTP URIs instead, but for now at least they use the right base.
2010-01-10Lots of tiny message changes.Siebrand Mazeland
* Mostly punctuation updates so that the same message is used consistently in all of StatusNet. * Some cases of "Title Case" removed, because that does not appear to be used consistently.
2009-11-08Harmonise UI message "No such user."Siebrand Mazeland
2009-10-12Added in credits.Zach Copley
2009-10-09CamelCase all function names in the API codeZach Copley
2009-10-09These same params are used in most API actions; moved to base API classZach Copley
2009-10-09Move all basic auth output and processing to base classesZach Copley
2009-10-09$format is used by every API action. Set it in the base class.Zach Copley
2009-10-02New actions for direct messaging through the APIZach Copley