summaryrefslogtreecommitdiff
path: root/actions/apitimelineuser.php
AgeCommit message (Collapse)Author
2010-12-14Mark OembedAction, XrdAction, and (plugin) AutocompleteAction as read-only. ↵Brion Vibber
Tweaked ApiStatusesShow and ApiTimelineUser to still claim read-only when hit with a HEAD request (usually link checkers or a precursor to a GET, and should be semantically equivalent to a GET without actually transferring data)
2010-12-14AtomPub fix: correct the response URL given from posting a new message ↵Brion Vibber
(wrong parameter meant we got the main page instead of the message's URL)
2010-12-14AtomPub fixes: return '201 Created' on POST of new message; better error ↵Brion Vibber
checking on Atom input
2010-12-02Fix for tickets #2917, #2262: user URL shortening options not being applied ↵Brion Vibber
in non-web channels common_shorten_links() can only access the web session's logged-in user, so never properly took user options into effect for posting via XMPP, API, mail, etc. Adds an optional $user parameter on common_shorten_links(), and a $user->shortenLinks() as a clearer interface for that. Tweaked some lower-level functions so $user gets passed down -- making the $notice_id param previously there for saving URLs at notice save time generalized a little. Note also ticket #2919: there's a lot of duplicate code calling the shortening, checking the length, and reporting near-identical error messages. These should be consolidated to aid in code and translation maintenance.
2010-12-02* Fix an incorrectly formatted message parameter in line 334.Siebrand Mazeland
* i18n/L10n updates * translator documentation updated
2010-11-15AtomPub-related actions are only read-only on GETEvan Prodromou
2010-11-15Merge branch 'atompub' into 0.9.xEvan Prodromou
Conflicts: actions/apistatusesshow.php actions/apitimelineuser.php
2010-11-15add hooks for atom pub postsEvan Prodromou
2010-10-28* i18n/L10n fixes.Siebrand Mazeland
* translator documentation updated. * superfluous whitespace removed.
2010-10-25navigation links in user timeline (for AtomPub)Evan Prodromou
2010-10-24allow posting to user timeline using AtomPubEvan Prodromou
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-05-27Assigning my copyrights to the Free Software FoundationCraig Andrews
2010-05-27Pass auth user into Atom feed generators (needed for outputting favorited ↵Zach Copley
status in statusnet:notice_info tag)
2010-03-12More generalized method for calculating Atom rel="self" linksZach Copley
2010-03-11Add self link to user and group rss2 feedsZach Copley
2010-03-03Put all required field setup into AtomUserNoticeFeed and ↵Brion Vibber
AtomGroupNoticeFeed, consolidating some code. (RSS feeds pulling title, logo etc from the Atom data structure so we don't dupe it.) OStatus now calling the feed classes directly instead of faking a call into the API, should be less flakey.
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-25Fix atom feed IDs in user and group atom feedsZach Copley
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-02-16OStatus: temporary output mode hack for apitimelineuser until PuSH feed ↵Brion Vibber
generation is updated to use the shared code instead of output buffering
2010-02-12Add OStatus PuSH hub and Salmon links back into user and group feedsZach Copley
2010-02-11Make Atom timelines in the API use Atom10feedZach Copley
2010-02-11Some upgrades to Atom output for OStatusZach Copley
2010-02-11Utility classes for atom feedsZach Copley
2010-02-08First steps on converting FeedSub into the pub/sub basis for OStatus ↵Brion Vibber
communications: * renamed FeedSub plugin to OStatus * now setting avatar on subscriptions * general fixes for subscription * integrated PuSH hub to handle only user timelines on canonical ID url; sends updates directly * set $config['feedsub']['nohub'] = true to test w/ foreign feeds that don't have hubs (won't actually receive updates though) * a few bits of code documentation * HMAC support for verified distributions (safest if sub setup is on HTTPS) And a couple core changes: * minimizing HTML output for exceptions in API requests to aid in debugging * fix for rel=self link in apitimelineuser when id given This does not not yet include any of the individual subscription management (Salmon notifications for sub/unsub, etc) nor a nice UI for user subscriptions. Needs some further cleanup to treat posts as status updates instead of link references.
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-12-11ticket 2055: added logos to Atom and RSS feedsHue Bastard
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-09Remove more redundant $formatsZach Copley
2009-10-09Move all basic auth output and processing to base classesZach Copley
2009-10-01Renamed and moved stuff around to better match Twitter's API organizationZach Copley