]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Ticket #2750: fixes to HTTP caching behavior across login/logout boundaries
authorBrion Vibber <brion@pobox.com>
Mon, 20 Sep 2010 20:42:58 +0000 (13:42 -0700)
committerBrion Vibber <brion@pobox.com>
Mon, 20 Sep 2010 20:42:58 +0000 (13:42 -0700)
commit64cdbe6c5578df1dc49d8e3dd72451ab0ac96bd2
treef5e96cf37981093e762c745cd583f75950d842f5
parent2f38c9c99cb10be8fab28a624fa6f64cec6c0a9b
Ticket #2750: fixes to HTTP caching behavior across login/logout boundaries

* 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.
19 files changed:
actions/apidirectmessage.php
actions/apigrouplist.php
actions/apigrouplistall.php
actions/apigroupmembership.php
actions/apigroupshow.php
actions/apistatusesshow.php
actions/apisubscriptions.php
actions/apitimelinefavorites.php
actions/apitimelinefriends.php
actions/apitimelinegroup.php
actions/apitimelinehome.php
actions/apitimelinementions.php
actions/apitimelinepublic.php
actions/apitimelinetag.php
actions/apitimelineuser.php
actions/shownotice.php
lib/action.php
lib/util.php
plugins/Autocomplete/autocomplete.php