Граф коммитов

51 Коммитов

Автор SHA1 Сообщение Дата
Andy McKay dc12c62e86 use the class name for the middleware 2011-12-12 15:06:43 -08:00
Allen Short 4573a8a99c Remove old timing code now that we have statsd. (Bug 703395) 2011-12-07 14:37:43 -08:00
Andy McKay 6fd9d2bc12 bounce to the login page for the right locale (bug 703027) 2011-11-16 18:34:59 -08:00
Andy McKay 21b68e785b don't cache redirect in debug mode (bug 703027) 2011-11-16 18:34:54 -08:00
Andy McKay d3e88af395 start of 404ing some addons urls and flipping home page (bug 698494) 2011-11-04 11:09:16 -07:00
Andy McKay 67e9edcf64 don't hardcode view name 2011-11-01 13:05:29 -07:00
Andy McKay 0956da0f96 force login if enabled, but all opt outs (bug 698491) 2011-11-01 11:37:18 -07:00
Chris Van 55d02f7227 Revert "ajax search results tweaks"
This reverts commit 59a47a57c7.
2011-10-19 13:18:17 -07:00
Chris Van 59a47a57c7 ajax search results tweaks 2011-10-19 10:42:02 -07:00
Kumar McMillan 4864623b77 Fix to handle JSON responses if they accidentally get requested w/ PJAX 2011-09-20 17:19:39 -05:00
Kumar McMillan a68f37439b Adds start of pjax browsing for mobile (bug 649707) 2011-09-19 17:50:42 -05:00
Jeff Balogh 7f6430192a pretend we're using firefox if we don't have an app 2011-08-19 10:42:08 -07:00
Jeff Balogh ad07bb74ed use the GraphiteMiddleware from commonware 2011-07-06 10:44:44 -07:00
Jeff Balogh eb6f22c431 cache app/lang 301 redirects for a year (bug 662882) 2011-06-09 10:30:19 -07:00
Jeff Balogh 30f70b6e38 track response codes with statsd 2011-06-02 12:01:52 -07:00
Andy McKay fd7e200185 remove update cruft 2011-02-22 20:10:08 -08:00
Jeff Balogh 0bd9d9e869 moving mobile middleware to a new app 2011-02-01 20:48:55 -08:00
Matt Claypotch a81f6d7489 local mobile middleware varies on user-agent to prevent caching of redirects 2011-01-27 12:39:09 -08:00
Jeff Balogh 184fbf100f make sure we have a mobile version available (bug 628445) 2011-01-25 15:11:56 -08:00
Jeff Balogh ddeccf7705 middleware for detecting X-Mobile (bug 622693) 2011-01-19 14:21:56 -08:00
Jeff Balogh f1f728396b middleware for mobile detection (bug 622693) 2011-01-19 14:21:56 -08:00
Andy McKay bb2f207d41 move AdminMessageMiddleware over to context processors (bug 624905) 2011-01-11 15:52:49 -08:00
Andy McKay 42ff809498 stop auth. in some areas (bug 624905) 2011-01-11 15:52:49 -08:00
Jeff Balogh c67a1b4c8e 503 Service Unavailable is more appropriate (thx jsocol) 2010-10-12 10:20:53 -07:00
Wil Clouser 54a596fde1 Redirect to UA-sniffed application. Bug 588291 and 567532 2010-08-25 15:02:45 -07:00
Jeff Balogh 0928aa307c fix some unicode issues with timing middleware 2010-07-02 11:42:50 -07:00
Jeff Balogh 5a048b0c99 log how long the request takes 2010-07-02 10:53:35 -07:00
Jeff Balogh b3dca77685 experimenting with a read-only mode (bug 574024) 2010-06-25 14:37:43 -07:00
Dave Dash 8f3c496470 bug 572596, bug 562943 adds memoized site notice 2010-06-18 16:50:34 -07:00
Jeff Balogh 896cfa62e7 make the query string uri-safe before redirects (bug 564820) 2010-05-24 16:31:00 -07:00
Dave Dash 5e57488734 bug 565193, Remove xenophobia. 2010-05-19 15:32:01 -07:00
Jeff Balogh 589cea56da middleware to remove trailing slashes (bug 564818) 2010-05-12 15:27:32 -07:00
Jeff Balogh 8029cf9502 safely encode url params (bug 565305 & bug 562453) 2010-05-12 12:02:18 -07:00
Jeff Balogh b308a70608 attach LANG to request 2010-05-12 10:54:25 -07:00
Jeff Balogh 9a2e5be8d8 better wsgi script from
http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html
2010-04-23 08:44:09 -07:00
Dave Dash 00a30cd507 Leave the query string unchanged during a redirect, but still urlencode the path. 2010-04-19 10:24:36 -07:00
Dave Dash 8cad442476 Xenophobia settings. 2010-04-15 09:56:08 -07:00
Wil Clouser 6f6720ebc0 Migrate from the l10n lib to Tower; bug 557339 2010-04-14 14:40:39 -07:00
Jeff Balogh b6a0f0fd08 turn off Vary: Cookie from SessionMiddleware (bug 554673) 2010-03-24 14:13:28 -07:00
Dave Dash def035cf33 Global redirection is Unicode friendly. 2010-03-16 14:45:26 -07:00
Jeff Balogh 6eebd9febb be more careful importing settings 2010-02-23 09:54:43 -08:00
Wil Clouser e220a4b999 Use the new activate() to pull in the AMO .mo files and use the new _() everywhere else 2010-02-22 13:49:15 -08:00
Jeff Balogh d85e45cebb ?lang=XX should redirect to a /XX/ url 2010-02-19 16:34:37 -08:00
Jeff Balogh 5af4dd2488 more SCRIPT_NAME fixes 2010-02-16 18:19:24 -08:00
Jeff Balogh a1d7639a19 use permanent redirects; vary on Accept-Language for locale 2010-02-04 21:46:56 -08:00
Jeff Balogh 5e3052ddbe import amo.models to avoid circular imports, move constants to __init__ 2010-01-28 19:00:22 -08:00
Jeff Balogh a4127c4d35 adding app constants 2010-01-28 13:24:39 -08:00
Jeff Balogh 1dea3cafad our own reverse that prefixes locale and app to URLs 2009-12-29 13:59:52 -05:00
Jeff Balogh b6abc1ece5 moving app and locale munging to a class so it can be used later for reversing 2009-12-29 13:44:43 -05:00
Dave Dash 06d1c659f4 Cleaned up the fabfile.py 2009-12-16 16:22:06 -08:00