Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 15, 2015
  1. @weierophinney
  2. @weierophinney

    Bump branch-alias versions

    weierophinney authored
    - master: 1.2-dev
    - develop: 1.3-dev
  3. @weierophinney

    Merge branch 'develop'

    weierophinney authored
    Merge develop to master in prep for 1.2.0
  4. @weierophinney
  5. @weierophinney

    CS fixes per phpcs

    weierophinney authored
    - long-form -> short-form array notation
  6. @weierophinney

    Bump PHP version to 5.5.

    weierophinney authored
Commits on Jul 14, 2015
  1. @weierophinney
  2. @weierophinney
  3. @weierophinney
Commits on Jul 9, 2015
  1. @weierophinney
  2. @weierophinney
  3. @weierophinney

    Use 400 status for invalid data passed to Resource

    weierophinney authored
    For each of `patchList()` and `replaceList()`, updated the exceptions
    thrown on invalid data to use a 400 status code, as this is indicative
    of a client-side error.
Commits on Jul 8, 2015
  1. @weierophinney

    Merge branch 'hotfix/79' into develop

    weierophinney authored
    Forward port #84
  2. @weierophinney

    Merge branch 'hotfix/79'

    weierophinney authored
    Close #84
    Fixes #79
    Fixes #82
  3. @weierophinney

    Allow returning HAL collections and entities from resources

    weierophinney authored
    This patch alters `RestController` to allow returning `ZF\Hal\Entity` and/or
    `ZF\Hal\Collection` instances from resources, allowing the ability to fully
    craft the payload before returning.
    
    In particular, and specific to the issue this addresses, the `create()` method
    was updated to allow returning a `Collection` instance (which it didn't handle
    before).
    
    When an Entity or Collection is returned, they are passed to one of
    `createHalEntity()` or `createHalCollection()`:
    
    - `createHalEntity()` returns the instance unchanged if it already has a `self`
      relational link or does not have an identifier; otherwise, it passes it to the
      `Hal` plugin's `createEntity()` method, which ensures that a `self` relational
      link is injected.
    - `createHalCollection()` passes the instance on to a new method,
      `prepareHalCollection()`, which does the following:
      - Injects a `self` relational link if none is present.
      - Injects the controller-specific metadata (routing information, collection
        name, page size, and page).
    
    These changes will simplify batch POST operations, as well as allow any method
    responsible for returning an entity or collection to return a specifically
    crafted one without requiring also creating the response.
Commits on Jun 30, 2015
  1. @weierophinney

    Merge branch 'hotfix/83' into develop

    weierophinney authored
    Forward port #83
  2. @weierophinney

    Merge branch 'hotfix/83'

    weierophinney authored
    Close #83
  3. @weierophinney
  4. @weierophinney

    Merge branch 'hotfix/81' into develop

    weierophinney authored
    Forward port #81
  5. @weierophinney

    Merge branch 'hotfix/81'

    weierophinney authored
    Close #81
  6. @weierophinney

    Merge branch 'hotfix/80' into develop

    weierophinney authored
    Forward port #80
  7. @weierophinney

    Merge branch 'hotfix/80'

    weierophinney authored
    Close #80
  8. @weierophinney

    Merge branch 'hotfix/78' into develop

    weierophinney authored
    Forward port #78
  9. @weierophinney

    Merge branch 'hotfix/78'

    weierophinney authored
    Close #78
    Fixes #77
  10. @weierophinney
  11. @weierophinney
  12. @weierophinney

    Updated QA toolchain

    weierophinney authored
    - Pin ZF components to `~2.4.0` to ensure PHP 5.3 compat.
    - Added a `phpcs.xml` config to simplify invocation.
    - Removed `test/Bootstrap.php` and updated `phpunit.xml` to use
      `vendor/autoload.php` for bootstrapping.
    - Updated travis config to allow testing PHP 5.3 - 7 and HHVM, only run CS on
      one version, and use Docker builds.
  13. @weierophinney

    Merge branch 'hotfix/74' into develop

    weierophinney authored
    Forward port #75
  14. @weierophinney

    Merge branch 'hotfix/74'

    weierophinney authored
    Close #75
    Fixes #74
  15. @weierophinney
Commits on Apr 16, 2015
  1. @weierophinney

    Merge branch 'promote/develop' into develop

    weierophinney authored
    Updated branch aliases for develop
  2. @weierophinney

    Merge branch 'promote/develop'

    weierophinney authored
    Promote develop to master in preparation for 1.1.
  3. @weierophinney

    Update branch-aliases in composer.json

    weierophinney authored
    - master: ~1.1-dev
    - develop: ~1.2-dev
    
    Removed zf-oauth2 dep, as it will now be pulled by zf-mvc-auth; updated zf-hal
    and zf-mvc-auth to ~1.1 (stable).
  4. @weierophinney
  5. @weierophinney

    Merge branch 'hotfix/rest-contrller-test-failures' into develop

    weierophinney authored
    Fixes test setup that led to test failures.
Something went wrong with that request. Please try again.