ets-berkeley-edu/calcentral — pull request #394 by yuhunglin (2012-12-14 18:33:28+00:00)
Title: [CLC-850] Working through most of the pieces for CLC-850, none of the bonus parts

JIRA: https://jira.media.berkeley.edu/jira/browse/CLC-850

On top of stopping the bug that was reported with the "recording when not asked to record":

2) The query_param matching on multiple params is causing a bit of grief in false mismatches. Instead of waiting for the new version of VCR to hit, we can probably just include some more logic in this and have it not fail so frequently when the entire query param strings don't match exactly, but match on the query values themselves.

3) There needs to be a easily configurable way to "ignore recording" certain requests. VCR provides (https://www.relishapp.com/vcr/vcr/docs/configuration/ignore-request) which we can then use to wrap, say any requests to auth.google to refresh tokens and not have these interactions recorded in the cassettes. Will write-up something that makes it easier to setup this "passthrough uri filter"

Also started moving some of the proxy files into a subfolder. I left canvas_proxy alone since moving it might conflict with Chris' recent work on canvas. I left fakeable_proxy alone or else it'd be difficult to do in browser diffs on the original version. I'll follow up this pull and move them afterwards, and probably start on the bonus tasks listed in the JIRA.