Permalink
Switch branches/tags
Commits on Oct 6, 2014
  1. PEP8

    robyoung committed Oct 6, 2014
  2. Merge pull request #366 from alphagov/feature/dry-request-id

    robyoung committed Oct 6, 2014
    DRY Request-Id processing
Commits on Oct 3, 2014
  1. Merge pull request #365 from alphagov/feature/autopep

    robyoung committed Oct 3, 2014
    Just use autopep8 as part of the build
Commits on Sep 23, 2014
  1. Merge pull request #363 from alphagov/feature/save-the-planet

    robyoung committed Sep 23, 2014
    Don’t build housekeeping branches in travis
  2. Merge pull request #360 from alphagov/feature/gzip-bomb

    robyoung committed Sep 23, 2014
    Defend against zip bombs
  3. Merge pull request #359 from alphagov/feature/rate-limiting

    robyoung committed Sep 23, 2014
    Add striped rate-limiting
  4. Merge pull request #361 from alphagov/feature/update-splinter

    robyoung committed Sep 23, 2014
    Update splinter, add more helpful error diagnosis
  5. Merge pull request #362 from alphagov/fix-integer-auto-id-error

    robyoung committed Sep 23, 2014
    Fix integer auto id error
Commits on Sep 9, 2014
  1. Merge pull request #357 from alphagov/feature/log-request-id

    robyoung committed Sep 9, 2014
    Log Request-Id
Commits on Sep 1, 2014
  1. Merge pull request #355 from alphagov/feature/dependency-upgrades

    robyoung committed Sep 1, 2014
    Track dependency versions
Commits on Aug 26, 2014
  1. Merge pull request #353 from alphagov/feature/cache-control

    robyoung committed Aug 26, 2014
    HTTP validation is different to staleness
Commits on Aug 20, 2014
  1. Merge pull request #350 from alphagov/log-to-stdout-in-development-mode

    robyoung committed Aug 20, 2014
    Log to stdout if log_level is debug
Commits on Aug 19, 2014
  1. Merge pull request #346 from alphagov/flatten-response

    robyoung committed Aug 19, 2014
    Add the ability to return non-nested responses
Commits on Aug 14, 2014
  1. Merge pull request #345 from alphagov/feature/dry-staleness-check

    robyoung committed Aug 14, 2014
    Remove duplication in the staleness check
Commits on Aug 13, 2014
  1. Allow origin * on read api errors

    robyoung committed Aug 13, 2014
    Set Access-Control-Allow-Origin header to * when the read API errors.
    This is to allow easier debugging in spotlight.
    
    This was originally going to be done in Nginx, however, on investigation
    it was discovered that we'd need a non-standard module to add headers to
    the response. This was a simpler route.
Commits on Aug 5, 2014
  1. Attach logging to root handler

    robyoung committed Aug 5, 2014
    This means that we will capture log messages that are not specifically
    written to flasks logger.
    
    Before this commit we're not capturing any error logs from the rest of
    our application or from dependencies (unless they cause exceptions that
    bubble up to the flask layer).
  2. Do not record 4xx class as error

    robyoung committed Aug 5, 2014
    User errors should not be logged as application errors. Doing so masks
    real errors.
Commits on Aug 4, 2014
  1. Merge pull request #339 from alphagov/multiple-group_by-params

    robyoung committed Aug 4, 2014
    Nested merge now groups using a list of key combos
Commits on Aug 1, 2014
  1. Remove create data set route

    robyoung committed Aug 1, 2014
    The mongo collections are created on the fly when written to now. Delete
    has been left in for now so that a the capped size of a data set can be
    changed. When a data set is removed in stagecraft it is not removed in
    backdrop. This is fine for most cases as they data set can be emptied.
    However, if the capped size of the data set changes this will not be
    reflected in the data set unless it is first removed.
Commits on Jul 31, 2014
  1. Create a data set if it doesn't exist when writing

    robyoung committed Jul 31, 2014
    This decouples creation of a data set in stagecraft from creation in
    backdrop, which has been the cause of a lot of the bugs around creating
    data sets.
    
    Once this is done stagecraft can be updated to remove it's dependency on
    backdrop. Once that is done the create and delete end points here can be
    removed.
    
    One point to note is that collections will not be removed when the data
    set is deleted in stagecraft. The data set will not be available
    (queryable or writable), however, if a data set with the same group and
    type is created the previous data will still be there. Although it can
    be emptied.
Commits on Jul 28, 2014
  1. Merge pull request #331 from alphagov/fix-valid_start_at

    robyoung committed Jul 28, 2014
    Make larger periods more precise
  2. Merge pull request #330 from alphagov/add-year-period

    robyoung committed Jul 28, 2014
    Add Year periods
  3. Attempt to convert excel floats to int

    robyoung committed Jul 28, 2014
    This matches the CSV parser and avoids failures against the JSON schema
    for transactions by channel.
  4. Rename NewDataSet to DataSet

    robyoung committed Jul 28, 2014
    It was named this during the refactor. It is no longer the 'new' data
    set class, it is 'the' data set class.
Commits on Jul 23, 2014
  1. Merge pull request #326 from alphagov/refactor-use-oauth-tokens

    robyoung committed Jul 23, 2014
    Refactor Backdrop to use the Performance Platform client's admin API
Commits on Jul 21, 2014
  1. Merge pull request #325 from alphagov/update-documentation

    robyoung committed Jul 21, 2014
    Update documentation
Commits on Jun 17, 2014
  1. Merge pull request #317 from alphagov/schema_validation_102

    robyoung committed Jun 17, 2014
    Schema validation 102
Commits on Jun 11, 2014
  1. Merge pull request #314 from alphagov/nosetests-xml-ackrc-ignore

    robyoung committed Jun 11, 2014
    Add nosetests.xml to ack ignored files
  2. Merge pull request #313 from alphagov/read2core

    robyoung committed Jun 11, 2014
    Move response and query to core [#72349958]
  3. Move Query class to core

    robyoung committed with Ralph Cowling Jun 9, 2014
    Move the Query class from backdrop.read.query to backdrop.core.query.
    
    The core of backdrop depends on this class so it should not be in one of
    the app packages. I have left the functions used to parse a Query object
    from a flask request in backdrop.read.query as they're specific to the
    frontend.
Commits on Jun 5, 2014
  1. Merge pull request #310 from alphagov/feature/upgrade-dependencies

    robyoung committed Jun 5, 2014
    Upgrade dependencies
  2. Merge pull request #307 from alphagov/feature/time-all-the-things

    robyoung committed Jun 5, 2014
    Add statsd timers to things
Commits on Jun 2, 2014
  1. Fix PEP8

    robyoung committed Jun 2, 2014
  2. Remove migrations

    robyoung committed Jun 2, 2014
    - They cannot run
    - If we have a need for them in the future we should build them against
      the API.
  3. Add docstring explaining use of the term 'spec'

    robyoung committed Jun 2, 2014
    PyMongo calls a query spec, it's weird, we should explain it.