Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorry, wrong branch :( #9024

Closed
wants to merge 329 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Mar 26, 2016

  1. Added tests for all expression that are capable of accepting

    values convertible to other expressions
    lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    bff49bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4c1222 View commit details
    Browse the repository at this point in the history
  3. Renamed trait

    lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    a5e410c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    770016d View commit details
    Browse the repository at this point in the history
  5. Fix typos in doc blocks.

    markstory authored and lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    838c5fd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    799c7c2 View commit details
    Browse the repository at this point in the history
  7. It turns out that SQLite 3.7.11+ implements multi-inserts!

    Version 3.8 is the minimum sqlite version fro php 5.5
    lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    3cbb89c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cb42f90 View commit details
    Browse the repository at this point in the history
  9. Simplifying code

    lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    1b00624 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2e3782e View commit details
    Browse the repository at this point in the history
  11. Adding a function traslator for the SUBSTR function in SQL Server

    Improving the function translator for SUBSTR in SQL Server
    
    Appending a LEN function instead of using RIGHT
    
    Trying to fix funciton translaotr
    
    trying to fix sql server tests
    
    one last try
    
    Skipping tests in Sql Server, as I don't have access to a windows
    machine where I cn debug
    
    Doing the previous commit right
    lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    17c3bef View commit details
    Browse the repository at this point in the history
  12. Fixed CS

    lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    480a1f0 View commit details
    Browse the repository at this point in the history
  13. Fix up typos and add doc blocks.

    markstory authored and lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    6dc1b3f View commit details
    Browse the repository at this point in the history
  14. More CS fixes

    lorenzo committed Mar 26, 2016
    Configuration menu
    Copy the full SHA
    f52cea8 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2016

  1. Configuration menu
    Copy the full SHA
    e248f6f View commit details
    Browse the repository at this point in the history
  2. Add new argument to docblock

    jadb committed Mar 27, 2016
    Configuration menu
    Copy the full SHA
    3cc3074 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2016

  1. Missing templates should raise exceptions.

    Missing templates are a signal that a developer has made a mistake.
    We should help them find this error and an exception is the simplest way
    to signal an error to the developer.
    
    Refs cakephp#8554
    markstory committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    64ec05c View commit details
    Browse the repository at this point in the history
  2. Revert "Missing templates should raise exceptions."

    This reverts commit 64ec05c.
    I accidentally committed this to the wrong branch. And we have force
    push disabled.
    markstory committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    73cafe7 View commit details
    Browse the repository at this point in the history
  3. Missing templates should raise exceptions.

    Missing templates are a signal that a developer has made a mistake.
    We should help them find this error and an exception is the simplest way
    to signal an error to the developer.
    
    Refs cakephp#8554
    markstory committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    71c5e98 View commit details
    Browse the repository at this point in the history
  4. Merge pull request cakephp#8492 from CVO-Technologies/email-subject-d…

    …ecode
    
    Add support for returning decoded subjects
    lorenzo committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    ce76580 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2016

  1. Configuration menu
    Copy the full SHA
    bb014d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ffc1de View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2016

  1. Merge pull request cakephp#8550 from cakephp/3.3-request-detectors-ar…

    …guments
    
    Add argument support for detectors
    markstory committed Mar 30, 2016
    Configuration menu
    Copy the full SHA
    c3256ab View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2016

  1. Merge pull request cakephp#8555 from cakephp/issue-8554

    Missing templates should raise exceptions.
    markstory committed Mar 31, 2016
    Configuration menu
    Copy the full SHA
    26591df View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2016

  1. Configuration menu
    Copy the full SHA
    67c7d95 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2016

  1. Configuration menu
    Copy the full SHA
    0b92431 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2016

  1. Configuration menu
    Copy the full SHA
    1aba0c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5632f3 View commit details
    Browse the repository at this point in the history
  3. Merge pull request cakephp#8526 from cakephp/expression-types

    Support for expression converting types
    lorenzo committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    5541862 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2016

  1. Add MiddlewareStack.

    This is the first of many features needed to build out the PSR7 support
    in CakePHP. The MiddlewareStack provides an interface for managing
    a stack of middleware objects that will be applied to incoming
    request/response objects.
    
    I've not included support for conditionally applied or path specific
    middleware. I see this as an improvement to be done once the basics are
    in place.
    markstory committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    82d6fcf View commit details
    Browse the repository at this point in the history
  2. Fix import ordering.

    markstory committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    1c068b4 View commit details
    Browse the repository at this point in the history
  3. Get 100% coverage!

    markstory committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    2f37224 View commit details
    Browse the repository at this point in the history
  4. Implement the middleware runner.

    This runner class implements the `$next` callable that is used by
    middleware objects to signal that the next middleware object should take
    control of the request/response.
    markstory committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    b89a845 View commit details
    Browse the repository at this point in the history
  5. Merge pull request cakephp#8590 from cakephp/middleware-stack

    Add MiddlewareStack.
    lorenzo committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    4e685e6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bc18e90 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2016

  1. Configuration menu
    Copy the full SHA
    1c2a9d9 View commit details
    Browse the repository at this point in the history
  2. doc block update

    Graziel committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    219f22a View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2016

  1. Add RequestFactory and RequestTransformer.

    The ServerRequestFactory is responsible for:
    
    * Building a request from the SAPI super globals.
    * Extracting the base and webroot directories for backwards
      compatibility with the CakeRequest.
    * Updating the request path to reflect only the application's
      'virtual path'
    
    The RequestTransformer handles:
    
    * Converting a PSR7 request object into the equivalent Cake\Network\Http
      request.
    * Ensuring that the required routing parameters are set even if the PSR7
      request is missing the 'params' attribute.
    
    In order to shim the backwards compatibility, we'll use 3 attributes
    which keep track of CakePHP specific path information and our routing
    parameters. I felt this was the cleanest approach as I wasn't
    comfortable subclassing Diactoros\ServerRequest to add methods for these
    just yet.
    markstory committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    ed8cbc1 View commit details
    Browse the repository at this point in the history
  2. Fix PHPCS errors.

    markstory committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    9fbb51f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e2e0ab View commit details
    Browse the repository at this point in the history
  4. Merge pull request cakephp#8599 from cakephp/middleware-runner

    Implement the middleware runner.
    lorenzo committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    d2828ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    91799c4 View commit details
    Browse the repository at this point in the history
  6. Don't output two welcome messages.

    Make the dispatched shell task as 'requested'. This disables the welcome
    message being output by the task. The containing shell will take care of
    emiting the welcome message.
    
    Refs cakephp#8600
    markstory committed Apr 7, 2016
    Configuration menu
    Copy the full SHA
    5fb587b View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2016

  1. fix grammar

    add exception throw on bad format
    Graziel committed Apr 8, 2016
    Configuration menu
    Copy the full SHA
    35c51bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7243769 View commit details
    Browse the repository at this point in the history
  3. Added option to check for NULL values on IsUnique

    JayPHP authored and JayPHP committed Apr 8, 2016
    Configuration menu
    Copy the full SHA
    9989334 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2016

  1. added tests

    JayPHP committed Apr 9, 2016
    Configuration menu
    Copy the full SHA
    466ecf9 View commit details
    Browse the repository at this point in the history
  2. added tests + corrections

    JayPHP committed Apr 9, 2016
    Configuration menu
    Copy the full SHA
    3a6372e View commit details
    Browse the repository at this point in the history
  3. Removed note

    JayPHP committed Apr 9, 2016
    Configuration menu
    Copy the full SHA
    621c410 View commit details
    Browse the repository at this point in the history
  4. Removed whitespace

    JayPHP committed Apr 9, 2016
    Configuration menu
    Copy the full SHA
    b8ab699 View commit details
    Browse the repository at this point in the history
  5. Added whitespace

    JayPHP committed Apr 9, 2016
    Configuration menu
    Copy the full SHA
    36c7d1c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0aced1a View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2016

  1. Fix CS errors.

    ADmad committed Apr 10, 2016
    Configuration menu
    Copy the full SHA
    3913bc0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8622 from cakephp/request-transformer

    Add RequestFactory and RequestTransformer.
    lorenzo committed Apr 10, 2016
    Configuration menu
    Copy the full SHA
    a6f3ee8 View commit details
    Browse the repository at this point in the history
  3. Add the ResponseTransformer

    This class handles bi-directional conversion between CakePHP and PSR7
    responses. Being able to convert both ways is necessary to allow
    converting from the PSR7 middleware into a Cake response that is passed
    into the controller. After the controller is complete, the response
    needs to be converted back into a PSR7 response to be emitted by the
    server.
    markstory committed Apr 10, 2016
    Configuration menu
    Copy the full SHA
    ac7a912 View commit details
    Browse the repository at this point in the history
  4. Fixed CS error

    lorenzo committed Apr 10, 2016
    Configuration menu
    Copy the full SHA
    13adf44 View commit details
    Browse the repository at this point in the history
  5. Fixed another CS error

    lorenzo committed Apr 10, 2016
    Configuration menu
    Copy the full SHA
    a79ff82 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2016

  1. Changed option name

    james.byrne committed Apr 11, 2016
    Configuration menu
    Copy the full SHA
    7a59f20 View commit details
    Browse the repository at this point in the history
  2. Using pre-existing fixture + CS Fix

    james.byrne committed Apr 11, 2016
    Configuration menu
    Copy the full SHA
    c453418 View commit details
    Browse the repository at this point in the history
  3. Added back tags fixture

    james.byrne committed Apr 11, 2016
    Configuration menu
    Copy the full SHA
    6fb1641 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2016

  1. Merge pull request cakephp#8623 from cakephp/response-transformer

    Add the ResponseTransformer
    lorenzo committed Apr 12, 2016
    Configuration menu
    Copy the full SHA
    be6c1f2 View commit details
    Browse the repository at this point in the history
  2. Changed name to allow instead of permit

    james.byrne committed Apr 12, 2016
    Configuration menu
    Copy the full SHA
    7974693 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2016

  1. Merge pull request cakephp#8609 from cakephp/less-welcome

    Don't display welcome message twice.
    markstory committed Apr 13, 2016
    Configuration menu
    Copy the full SHA
    9ecb20a View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8621 from JayPHP/checkNull_on_IsUnique

    CheckNull option for IsUnique
    lorenzo committed Apr 13, 2016
    Configuration menu
    Copy the full SHA
    88138af View commit details
    Browse the repository at this point in the history
  3. Merge pull request cakephp#8601 from Graziel/requirePresence_array

    Require presence array
    lorenzo committed Apr 13, 2016
    Configuration menu
    Copy the full SHA
    7c68802 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2016

  1. Add standalone ControllerFactory.

    Having this logic out of the a dispatcher filter is necessary for PSR7
    migration where the controller factory acts as part of the
    ActionDispatcher.
    markstory committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    71ac75f View commit details
    Browse the repository at this point in the history
  2. Remove duplicate code.

    Re-use the standalone ControllerFactory in the dispatcher filter. This
    allows the Dispatcher to be cleaned up a bit as exceptions for missing
    controllers are raised earlier in the process.
    
    This is a minor behavior change, but a reasonable one in my eyes.
    markstory committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    cce106b View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2016

  1. Fix failing tests.

    TestPluginThree is now autoloaded by composer. We can no longer use that
    plugin to test autoloading registration. Switch the autoload tests to
    use TestPluginFive which is not in the autoloader.
    markstory committed Apr 16, 2016
    Configuration menu
    Copy the full SHA
    389415f View commit details
    Browse the repository at this point in the history
  2. Disallow controller names with / in them.

    Controller names should not be allowed to have / in them. Internally we
    convert / into \\ which allows arbitrary namespace creation through what
    should be controlled parameters. While the default routing normally
    prevents / getting into a controller name, we cannot make the same
    assumptions with PSR7 middleware.
    markstory committed Apr 16, 2016
    Configuration menu
    Copy the full SHA
    50dcf3b View commit details
    Browse the repository at this point in the history
  3. Merge pull request cakephp#8643 from cakephp/controller-factory

    Add Controller factory
    lorenzo committed Apr 16, 2016
    Configuration menu
    Copy the full SHA
    553bd5d View commit details
    Browse the repository at this point in the history
  4. Add ActionDispatcher to new Http lib

    The ActionDispatcher is responsible for dispatching the CakePHP request
    and response. It replicates the behavior that Dispatcher provides in
    a more decoupled way. This class also handles ensuring that Dispatch
    filter events are triggered at the appropriate point in time.
    markstory committed Apr 16, 2016
    Configuration menu
    Copy the full SHA
    71623f5 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2016

  1. Add constructor injection for the eventManager.

    This should help enable the ActionDispatcher inside the present day
    Dispatcher.
    markstory committed Apr 17, 2016
    Configuration menu
    Copy the full SHA
    5a90c3d View commit details
    Browse the repository at this point in the history
  2. Integrate the new ActionDispatcher into Dispatcher

    Reduce code duplication by integrating the new dispatcher with the old
    one. This removes some protected methods, but that is within our
    backwards compability guidelines.
    
    I've also added a new Dispatcher.invokeController method to allow
    IntegrationTests and other use cases to more easily access the
    controller being used in a request. This will be useful long term when
    we mainline the PSR7 dispatching.
    markstory committed Apr 17, 2016
    Configuration menu
    Copy the full SHA
    268de40 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2016

  1. Don't double bind dispatch filters.

    Binding dispatcher filters is done by the Dispatcher for people using
    the 'old' setup. Binding here add hidden global state and duplicates the
    bindings which is undesirable.
    markstory committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    366484c View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2016

  1. Fix error message.

    Use better grammar.
    markstory committed Apr 21, 2016
    Configuration menu
    Copy the full SHA
    d65fd83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    023cf73 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb642f3 View commit details
    Browse the repository at this point in the history
  4. cakephp#8671 Improving Table::findOrCreate()

    Florian Krämer committed Apr 21, 2016
    Configuration menu
    Copy the full SHA
    7c104a9 View commit details
    Browse the repository at this point in the history
  5. cakephp#8687 Minor code improvements

    Florian Krämer committed Apr 21, 2016
    Configuration menu
    Copy the full SHA
    656adb7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    99c05d9 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2016

  1. Fix doc block tag.

    markstory committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    bef8694 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8667 from cakephp/action-dispatcher

    Action dispatcher
    markstory committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    90ce428 View commit details
    Browse the repository at this point in the history
  3. Skip datetime string formatting test for old ICU.

    Remove travis job on php nightly.
    ADmad committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    3c75006 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2016

  1. Add Server and BaseApplication.

    These classes tie the various parts of Cake\Http into something useful.
    The BaseApplication is used by developers to define their middleware and
    bootstrap their application. The Server is used to dispatch requests
    into the Application and emit the responses.
    markstory committed Apr 23, 2016
    Configuration menu
    Copy the full SHA
    91234f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d61835 View commit details
    Browse the repository at this point in the history
  3. Merge pull request cakephp#8685 from cakephp/datetime-jsonencode

    Date json encode format
    markstory committed Apr 23, 2016
    Configuration menu
    Copy the full SHA
    87ba9c7 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2016

  1. Configuration menu
    Copy the full SHA
    9651600 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4697b8e View commit details
    Browse the repository at this point in the history
  3. Removing the useless string callback from the findOrCreate

    Florian Krämer committed Apr 25, 2016
    Configuration menu
    Copy the full SHA
    8b36769 View commit details
    Browse the repository at this point in the history
  4. Updating the doc block for findOrCreate

    Florian Krämer committed Apr 25, 2016
    Configuration menu
    Copy the full SHA
    1130d27 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2016

  1. Move Http\Client into Http package.

    Move Cake\Network\Http\Client into the Http package. This change just
    moves the implementation and not the test cases. This shows that the
    correct class renames are in place. I wanted to move the implementation
    first to keep this change small and easy to review. I've renamed
    FormData\Part to FormDataPart as the extra directories were not
    necessary.
    
    I also wanted get consensus on the renames before doing more work.
    markstory committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    5d866f0 View commit details
    Browse the repository at this point in the history
  2. Make return value of Controller:referer() consistent when returning l…

    …ocal URLs.
    
    Before this fix if referrer is available the local URL returned does not have
    base appended but if a referrer is not found the URL returned using the default
    URL passed as argument gets returned with base appended. This inconsistency
    makes it difficult to have usage like
    `return $this->redirect($this->referrer('/default'));` when the app is in a
    subfolder as the base get appended twice.
    ADmad committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    78be1ec View commit details
    Browse the repository at this point in the history
  3. cakephp#8671 Adding documentation and another assert.

    Florian Krämer committed Apr 26, 2016
    Configuration menu
    Copy the full SHA
    85bd4ed View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2016

  1. Configuration menu
    Copy the full SHA
    4e515b4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8710 from cakephp/controller-referrer

    Make return value of Controller:referer() consistent when returning local URLs.
    markstory committed Apr 27, 2016
    Configuration menu
    Copy the full SHA
    bb1ed0f View commit details
    Browse the repository at this point in the history
  3. Merge pull request cakephp#8696 from cakephp/psr-server

    PSR7 Server and BaseApplication
    lorenzo committed Apr 27, 2016
    Configuration menu
    Copy the full SHA
    c379ad2 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2016

  1. Add ErrorHandling Middleware

    Having middleware that can render errors reduces our reliance on global
    exception handlers and allows middleware to be wrapped around the error
    handling allowing things like CORS headers to be set on error pages.
    markstory committed Apr 28, 2016
    Configuration menu
    Copy the full SHA
    fbf3de3 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2016

  1. Don't autoload aliased classes.

    Don't load classes that are aliased until they are actually used.
    markstory committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    65c36e5 View commit details
    Browse the repository at this point in the history
  2. Instead of triggering a fatal error, modify the response.

    Modify the response with a text response and log an error when rendering
    an error page.
    markstory committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    50dabae View commit details
    Browse the repository at this point in the history
  3. Revert "Don't autoload aliased classes."

    This reverts commit 65c36e5.
    markstory committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    6cda83e View commit details
    Browse the repository at this point in the history
  4. Merge pull request cakephp#8722 from cakephp/error-middleware

    Add ErrorHandling Middleware
    lorenzo committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    d618bfb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ed6b06 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2016

  1. Move backwards compatible shims.

    Instead of eagerly loading the Http client on every request to wire up
    class aliases we can get the same effect with stub files that provide
    the required aliases.
    markstory committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    e80d765 View commit details
    Browse the repository at this point in the history
  2. Implement a PSR7 routing middleware

    This middleware applies routing rules to the incoming request and
    parses the CakePHP parameters out.
    markstory committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    637b994 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8edd81 View commit details
    Browse the repository at this point in the history
  4. Fix PHPCS error.

    markstory committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    bdf965d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    590d135 View commit details
    Browse the repository at this point in the history
  6. Merge pull request cakephp#8709 from cakephp/psr7-client

    Move Http\Client into Http package.
    lorenzo committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    74e70e6 View commit details
    Browse the repository at this point in the history
  7. Move aliases to compatbility shims.

    Move the backwards compatibility aliases out of the bootstrap and into
    stub files. By using stub files we don't force the aliased classes to be
    eagerly loaded on every request. Instead they are only loaded when they
    are used.
    markstory committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    d553414 View commit details
    Browse the repository at this point in the history
  8. Merge pull request cakephp#8751 from cakephp/alias-stubs

    Move aliases to compatibility shims.
    lorenzo committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    aa1eb13 View commit details
    Browse the repository at this point in the history
  9. Fixed CS error

    lorenzo committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    8553f1e View commit details
    Browse the repository at this point in the history
  10. Merge pull request cakephp#8745 from cakephp/routing-middleware

    Implement a PSR7 routing middleware
    lorenzo committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    c6c1888 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6ba01e8 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4b9095c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    35af288 View commit details
    Browse the repository at this point in the history
  14. Update signature of ContextInterface::val()

    All classes implementing ContextInterface now take into account
    `$options` passes to `val()` method.
    ADmad committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    e84a83d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    edbb319 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2016

  1. Merge pull request cakephp#8707 from burzum/feature/find-or-create

    Feature/find or create
    lorenzo committed May 3, 2016
    Configuration menu
    Copy the full SHA
    2c07444 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. Merge pull request cakephp#8750 from cakephp/recursive-to-json

    Recursive to json in entities
    markstory committed May 4, 2016
    Configuration menu
    Copy the full SHA
    cc9271b View commit details
    Browse the repository at this point in the history
  2. Add AssetMiddleware

    I've put it in the Routing package as that seems like the most
    reasonable place for it. Assets need to be 'routed' before they can be
    served.
    markstory committed May 4, 2016
    Configuration menu
    Copy the full SHA
    fee6746 View commit details
    Browse the repository at this point in the history
  3. Move middleware into more relevant packages.

    Put middleware classes closer to the packages they interact with. This
    lets us reduce the number of inter-package dependencies we have. Both
    Error and Routing are not standalone packages yet, while I'd like
    cake/http to be standalone.
    markstory committed May 4, 2016
    Configuration menu
    Copy the full SHA
    4de7bae View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fccfc6e View commit details
    Browse the repository at this point in the history
  5. Merge pull request cakephp#8713 from CVO-Technologies/model-factory-s…

    …tatic
    
    [3.3] Add ability to define model factories globally
    lorenzo committed May 4, 2016
    Configuration menu
    Copy the full SHA
    ed4d394 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f884130 View commit details
    Browse the repository at this point in the history
  7. Merge pull request cakephp#8771 from CVO-Technologies/model-factory-s…

    …tatic
    
    [3.3] Remove unused use statement from bootstrap
    markstory committed May 4, 2016
    Configuration menu
    Copy the full SHA
    c262b9b View commit details
    Browse the repository at this point in the history
  8. Fix use ordering.

    markstory committed May 4, 2016
    Configuration menu
    Copy the full SHA
    1b0a9ce View commit details
    Browse the repository at this point in the history

Commits on May 5, 2016

  1. Merge pull request cakephp#8768 from cakephp/move-middleware

    Move middleware into more relevant packages.
    lorenzo committed May 5, 2016
    Configuration menu
    Copy the full SHA
    b4e4f99 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8767 from cakephp/asset-middleware

    Add AssetMiddleware
    lorenzo committed May 5, 2016
    Configuration menu
    Copy the full SHA
    d7e1ab3 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2016

  1. Configuration menu
    Copy the full SHA
    9f31c70 View commit details
    Browse the repository at this point in the history
  2. Add the LocaleSelectorMiddleware.

    This ports the behavior of the LocaleSelectorFilter to a PS7 middleware.
    I've replaced the implict 'accept all' with the an explicit '*'.
    Explicit is generally better than implicit in, and makes it easier to
    understand what is going on when reading the code later.
    markstory committed May 6, 2016
    Configuration menu
    Copy the full SHA
    18c3009 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f50eec View commit details
    Browse the repository at this point in the history

Commits on May 7, 2016

  1. Start deprecating duplicate methods and adding PSR7 traits.

    Leverage the traits from diactoros in the Http/Client to implement most
    of the required methods. Deprecate a few functions that functional
    equivalents in PSR7 implementation.
    markstory committed May 7, 2016
    Configuration menu
    Copy the full SHA
    a537e9c View commit details
    Browse the repository at this point in the history
  2. Make header(), version() and method() play nice with PSR7

    Add tests ensuring that both setters can be read from the other reader
    method.
    markstory committed May 7, 2016
    Configuration menu
    Copy the full SHA
    92081fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e97ed6 View commit details
    Browse the repository at this point in the history
  4. Fix wording.

    markstory committed May 7, 2016
    Configuration menu
    Copy the full SHA
    76882b4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    11e6529 View commit details
    Browse the repository at this point in the history
  6. Move body serialization into the Request.

    When using the mutable body() method, an array based body should be
    serialized. I think this makes more sense than doing it in the transport
    adapter. This does change the semantics of the body() method but I think
    in an acceptable way.
    markstory committed May 7, 2016
    Configuration menu
    Copy the full SHA
    2e52015 View commit details
    Browse the repository at this point in the history
  7. Get client tests passing.

    The PSR7 request can't easily be inspected with attribute helpers.
    Switch to using callback() so we can do deeper object inspection.
    markstory committed May 7, 2016
    Configuration menu
    Copy the full SHA
    a495cb0 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2016

  1. Configuration menu
    Copy the full SHA
    592daec View commit details
    Browse the repository at this point in the history
  2. Define the protocol property on the response.

    This is a temporary solution until the response is made PSR7 compliant
    as well.
    markstory committed May 8, 2016
    Configuration menu
    Copy the full SHA
    1bf62e0 View commit details
    Browse the repository at this point in the history
  3. Fix PHPCS errors.

    markstory committed May 8, 2016
    Configuration menu
    Copy the full SHA
    66b59c2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    334c40d View commit details
    Browse the repository at this point in the history

Commits on May 9, 2016

  1. Configuration menu
    Copy the full SHA
    60a01c8 View commit details
    Browse the repository at this point in the history
  2. some cs

    Graziel committed May 9, 2016
    Configuration menu
    Copy the full SHA
    4178a46 View commit details
    Browse the repository at this point in the history
  3. docBlock update

    Graziel committed May 9, 2016
    Configuration menu
    Copy the full SHA
    fd64ba4 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2016

  1. Merge pull request cakephp#8776 from cakephp/locale-filter

    Add the LocaleSelectorMiddleware.
    markstory committed May 10, 2016
    Configuration menu
    Copy the full SHA
    664201b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2016

  1. revert auto formatting

    Graziel committed May 11, 2016
    Configuration menu
    Copy the full SHA
    9c92270 View commit details
    Browse the repository at this point in the history
  2. doc block fix

    Graziel committed May 11, 2016
    Configuration menu
    Copy the full SHA
    9e96ecc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27f52f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    503a74f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6769a6c View commit details
    Browse the repository at this point in the history
  6. fix message

    Graziel committed May 11, 2016
    Configuration menu
    Copy the full SHA
    76ec4e0 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2016

  1. add messege test to allowEmpty when set as array

    small code refactor
    Graziel committed May 12, 2016
    Configuration menu
    Copy the full SHA
    d9f362e View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8787 from cakephp/psr7-client-request

    Make Http\Client\Request PSR7 compatible
    markstory committed May 12, 2016
    Configuration menu
    Copy the full SHA
    6189452 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    86e64ba View commit details
    Browse the repository at this point in the history

Commits on May 13, 2016

  1. Fix up tests.

    dereuromark committed May 13, 2016
    Configuration menu
    Copy the full SHA
    4491622 View commit details
    Browse the repository at this point in the history
  2. Fix up tests.

    dereuromark committed May 13, 2016
    Configuration menu
    Copy the full SHA
    b7114a0 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2016

  1. Throw exception if marshaller encounter missing/invalid associations …

    …during entity marshalling
    Antoniossss committed May 14, 2016
    Configuration menu
    Copy the full SHA
    456c6fc View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8811 from cakephp/fix-err-console

    Fix err() to highlight error as red similar to warn() which is yellow.
    markstory committed May 14, 2016
    Configuration menu
    Copy the full SHA
    27c3a0d View commit details
    Browse the repository at this point in the history

Commits on May 15, 2016

  1. Configuration menu
    Copy the full SHA
    7727e20 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2016

  1. Configuration menu
    Copy the full SHA
    3943052 View commit details
    Browse the repository at this point in the history
  2. Remove duplicate code.

    This code was causing conditions ending in `IS IS`. Remove it as we
    don't need it now.
    markstory committed May 16, 2016
    Configuration menu
    Copy the full SHA
    010f727 View commit details
    Browse the repository at this point in the history
  3. Start making Http\Client\Response PSR7 compatible.

    Shuffle code and properties around to make client responses compatible
    with PSR7.
    markstory committed May 16, 2016
    Configuration menu
    Copy the full SHA
    3f58c7d View commit details
    Browse the repository at this point in the history
  4. Add getEncoding()

    This gives a more consistent name with the rest of the PSR7 interface
    methods.
    markstory committed May 16, 2016
    Configuration menu
    Copy the full SHA
    aa90dce View commit details
    Browse the repository at this point in the history
  5. Add new psr7-like methods for reading cookie data.

    Add separate getters for each of the modes that cookie() provided.
    Deprecate the combo method in favor of discrete methods.
    markstory committed May 16, 2016
    Configuration menu
    Copy the full SHA
    fec9e58 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    62a3a29 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e3ce83f View commit details
    Browse the repository at this point in the history
  8. Fix PHPCS errors.

    markstory committed May 16, 2016
    Configuration menu
    Copy the full SHA
    609224e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    602704f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    17fb598 View commit details
    Browse the repository at this point in the history
  11. Merge pull request cakephp#8822 from cakephp/psr7-client-response

    PSR7 Http\Client response
    lorenzo committed May 16, 2016
    Configuration menu
    Copy the full SHA
    fc6cddc View commit details
    Browse the repository at this point in the history
  12. Fix PHPCS build.

    markstory committed May 16, 2016
    Configuration menu
    Copy the full SHA
    ae3d4a9 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2016

  1. Give Http\Client\Request a more useful constructor.

    Having a more useful constructor helps keep the request simpler inside.
    markstory committed May 17, 2016
    Configuration menu
    Copy the full SHA
    c03a217 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38d3cc5 View commit details
    Browse the repository at this point in the history
  3. Use PSR7 interfaces internally in auth plugins.

    Use PSR7 methods in the auth plugins. I've changed the return value for
    authentication adapters such that they can return a modified request.
    The test case using the CompatAuth stub ensure that the current behavior
    continues to work as well for backwards compatibility reasons.
    markstory committed May 17, 2016
    Configuration menu
    Copy the full SHA
    01f016a View commit details
    Browse the repository at this point in the history

Commits on May 18, 2016

  1. Merge pull request cakephp#8824 from Antoniossss/issue-8808

    Throw exception if marshaller encounter missing/invalid associations …
    markstory committed May 18, 2016
    Configuration menu
    Copy the full SHA
    e869e26 View commit details
    Browse the repository at this point in the history
  2. Fix formatting and spacing.

    markstory committed May 18, 2016
    Configuration menu
    Copy the full SHA
    e47c09b View commit details
    Browse the repository at this point in the history

Commits on May 19, 2016

  1. Fix PHPCS errors.

    markstory committed May 19, 2016
    Configuration menu
    Copy the full SHA
    a219020 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8800 from Graziel/allowEmpty_notEmpty_array

    Allow notEmpty and allowEmpty to get fields as list
    markstory committed May 19, 2016
    Configuration menu
    Copy the full SHA
    43e8926 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a4a786 View commit details
    Browse the repository at this point in the history
  4. Merge pull request cakephp#8837 from cakephp/psr7-client-internals

    Make Http\Client use PSR7 internally
    lorenzo committed May 19, 2016
    Configuration menu
    Copy the full SHA
    253e0b6 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2016

  1. Add a branch alias for 3.next to installation easier.

    To make the 3.next branch installable, it needs a branch alias that can
    be compared with other version numbers.
    markstory committed May 21, 2016
    Configuration menu
    Copy the full SHA
    3027fc1 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2016

  1. Merge pull request cakephp#8868 from cakephp/3.3-branch-alias

    Add a branch alias for 3.next to make installation easier.
    markstory committed May 22, 2016
    Configuration menu
    Copy the full SHA
    1b40a06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    208a355 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e97a125 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2016

  1. add caches shell

    chris48s committed May 26, 2016
    Configuration menu
    Copy the full SHA
    4ce2da2 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2016

  1. Merge branch 'master' into 3.next

    Also fix the stupid mistake I made in ValuesExpression.
    markstory committed May 27, 2016
    Configuration menu
    Copy the full SHA
    a71cc74 View commit details
    Browse the repository at this point in the history
  2. Fix failing tests in IsUnique rule.

    A while back the default behavior was changed in 3.2.x to make IsUnique
    strict about nulls. When that code was merged into `3.next` I deleted
    the 'duplicate' code. Then that change was reverted in `master` leaving
    these tests failing. This restores the behavior and fixes the failing
    tests.
    markstory committed May 27, 2016
    5 Configuration menu
    Copy the full SHA
    86e24ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05fa655 View commit details
    Browse the repository at this point in the history
  4. Fix issue with identifier quoting.

    Code from `master` broke type mappers that convert to expression
    objects. Because the columns are now actually replaced when
    $query->insert() is called multiple times, we also need to strip quoting
    from the code that converts values into expressions.
    markstory committed May 27, 2016
    Configuration menu
    Copy the full SHA
    c6a93d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d1a0ff1 View commit details
    Browse the repository at this point in the history
  6. Remove branch aliases.

    This has resulted in the 3.next branch falling off of packagist, which
    is not helpful at all.
    markstory committed May 27, 2016
    Configuration menu
    Copy the full SHA
    08bb082 View commit details
    Browse the repository at this point in the history
  7. rename CachesShell to CacheShell

    chris48s committed May 27, 2016
    Configuration menu
    Copy the full SHA
    6d8d7a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    087c614 View commit details
    Browse the repository at this point in the history
  9. fix typo in description

    chris48s committed May 27, 2016
    Configuration menu
    Copy the full SHA
    602e0f9 View commit details
    Browse the repository at this point in the history
  10. convert FQCNs to use statements

    chris48s committed May 27, 2016
    Configuration menu
    Copy the full SHA
    a60e844 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2016

  1. Merge pull request cakephp#8900 from chris48s/7368-cache-shell

    Add shell command for clearing caches (refs cakephp#7368)
    markstory committed May 28, 2016
    Configuration menu
    Copy the full SHA
    933f814 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2016

  1. Fix typo in documentation.

    markstory committed May 29, 2016
    Configuration menu
    Copy the full SHA
    57e7877 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b5e77bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb65936 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b32402 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    14f9199 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2cb3803 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6aa63ba View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2c7fa4a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f7251c2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    12936a4 View commit details
    Browse the repository at this point in the history
  11. Pretty please?

    lorenzo committed May 29, 2016
    Configuration menu
    Copy the full SHA
    50f90ba View commit details
    Browse the repository at this point in the history
  12. One last try for the day

    lorenzo committed May 29, 2016
    Configuration menu
    Copy the full SHA
    665254c View commit details
    Browse the repository at this point in the history
  13. Skipping a test temporarilly

    lorenzo committed May 29, 2016
    Configuration menu
    Copy the full SHA
    ec65adc View commit details
    Browse the repository at this point in the history
  14. Fixed dumb mistake

    lorenzo committed May 29, 2016
    Configuration menu
    Copy the full SHA
    5b5a383 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2016

  1. Ensure the app is always last in the middleware stack.

    By ensuring the app is always bound after the event, event listeners can
    be less careful. Without this plugins would always have to use
    insertBefore() which is kind of awkward.
    markstory committed May 30, 2016
    Configuration menu
    Copy the full SHA
    f9e013e View commit details
    Browse the repository at this point in the history
  2. Save a few function calls.

    The app should always be the bottom of the chain. Thus it has no need to
    invoke 'lower' layers.
    markstory committed May 30, 2016
    Configuration menu
    Copy the full SHA
    d13a550 View commit details
    Browse the repository at this point in the history
  3. Make allowMultipleNulls a constructor argument.

    Previously this option was implemented as an additional context
    parameter. That seemed a bit strange as the option could and probably
    should be a constructor argument. Given that the option is only relevant
    to the IsUnique rule there is no reason for the RulesChecker to be
    handling it.
    markstory committed May 30, 2016
    Configuration menu
    Copy the full SHA
    e02b884 View commit details
    Browse the repository at this point in the history
  4. Merge pull request cakephp#8904 from cakephp/fix-travis-all-the-way

    Using same trick as before in the hope on pleasing travis' gods
    lorenzo committed May 30, 2016
    Configuration menu
    Copy the full SHA
    a65a4f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2016

  1. Fix PHPCS / docs errors.

    markstory committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    3b8e5a0 View commit details
    Browse the repository at this point in the history
  2. Raise an exception in insertBefore()

    Raise an exception When attempting to insertBefore an unknown middleware.
    Based on feedback in cakephp/docs#4023 this is what the reviewers felt
    was a more correct behavior.
    markstory committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    33bbf84 View commit details
    Browse the repository at this point in the history
  3. Merge pull request cakephp#8735 from cakephp/3.3-context-schema-default

    Read schema defaults when generating field using EntityContext
    markstory committed Jun 1, 2016
    Configuration menu
    Copy the full SHA
    2b3b365 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2016

  1. Fix typo.

    markstory committed Jun 2, 2016
    Configuration menu
    Copy the full SHA
    c849f80 View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8920 from cakephp/insert-before-exception

    Raise an exception in insertBefore()
    lorenzo committed Jun 2, 2016
    Configuration menu
    Copy the full SHA
    be0dcc0 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2016

  1. Merge pull request cakephp#8913 from cakephp/app-last

    Ensure the app is always last in the middleware stack.
    markstory committed Jun 3, 2016
    Configuration menu
    Copy the full SHA
    d7c52d5 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2016

  1. Merge branch 'master' into 3.next

    Manually merge changes made to Http/Client. I had to override the http
    stream as diactoros does not like the idea of the cakephp stream.
    markstory committed Jun 4, 2016
    Configuration menu
    Copy the full SHA
    051560c View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2016

  1. Merge pull request cakephp#8914 from cakephp/is-unique-options

    Make allowMultipleNulls a constructor argument.
    markstory committed Jun 5, 2016
    Configuration menu
    Copy the full SHA
    82393d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2016

  1. Configuration menu
    Copy the full SHA
    6c0844f View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2016

  1. Merge branch 'master' into 3.next

    Conflicts:
    	.travis.yml
    ADmad committed Jun 12, 2016
    Configuration menu
    Copy the full SHA
    138f50f View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2016

  1. Start sketching out the PSR7 IntegrationTest work.

    The biggest hurdle is how to invoke either the existing Dispatcher stack
    or the Http\Server stack. I'm going to try sniffing out the class name,
    and use its presence to go into PSR7 mode.
    
    The PSR7 mode will do an additional translation from cake->psr as
    I don't want to try and re-jig all the internals of IntegrationTestCase
    just yet.
    markstory committed Jun 14, 2016
    Configuration menu
    Copy the full SHA
    9f0820d View commit details
    Browse the repository at this point in the history
  2. Rough out Middleware Dispatcher

    This is a very very rough prototype of how PSR7 request dispatching could be
    integrated into into the TestSuite. There is still a lot TODO, but
    a very basic GET request is somewhat functional right now.
    markstory committed Jun 14, 2016
    Configuration menu
    Copy the full SHA
    0ef9d47 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2016

  1. Make IntegrationTestCase::_buildRequest return an array.

    This is a breaking change to the protected method, but I feel its
    necessary in order to make other things easier. For example, getting all
    headers out of a Cake\Request is not possible right now. By using the
    array return value we can easily access all the different aspects of the
    simulated request.
    markstory committed Jun 15, 2016
    Configuration menu
    Copy the full SHA
    43f8ed3 View commit details
    Browse the repository at this point in the history
  2. Small fixes.

    dereuromark committed Jun 15, 2016
    Configuration menu
    Copy the full SHA
    d086c6f View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2016

  1. Remove unused import.

    markstory committed Jun 16, 2016
    Configuration menu
    Copy the full SHA
    d43864b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    618457e View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2016

  1. Add Collection::transpose method (cakephp#8957)

    * Add transpose method to collection class
    * Revert composer.json file
    * Remove TransposeIterator subclass
    * Remove double lines
    * Use standard CakePHP file header
    * Handle uneven length array
    * Remove debug line
    * Remove some space to please lint
    * Throw LogicException if arrays do not share the same length
    * Use a local variable to keep array value
    * Use current() instead of first()
    * Use toList() instead of toArray() to preserve all values
    dilab authored and markstory committed Jun 17, 2016
    Configuration menu
    Copy the full SHA
    9114949 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2f4f433 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc6cfe8 View commit details
    Browse the repository at this point in the history
  4. Merge pull request cakephp#9000 from cakephp/phpunit-warnings

    Fix PHPUnit getMock warnings in 3.next.
    antograssiot committed Jun 17, 2016
    Configuration menu
    Copy the full SHA
    632a525 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2016

  1. Configuration menu
    Copy the full SHA
    f7fb9b7 View commit details
    Browse the repository at this point in the history
  2. Allow PSR7 requests to store the session as an attribute.

    By allowing the session to exist on the PSR7 request, it will be easier
    to implement integration test case flows and more importantly let people
    access the session from their psr7 requests.
    markstory committed Jun 18, 2016
    Configuration menu
    Copy the full SHA
    da39cd3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61ef064 View commit details
    Browse the repository at this point in the history
  4. Remove TODOs

    The base and webroot attributes are handled by the RequestTransformer.
    I'm not convinced that php://input needs to be handled as the legacy
    dispatcher doesn't do a great job of it either.
    markstory committed Jun 18, 2016
    Configuration menu
    Copy the full SHA
    3af2377 View commit details
    Browse the repository at this point in the history
  5. Allow request bodies to be transformed.

    This is useful for API based applications.
    markstory committed Jun 18, 2016
    Configuration menu
    Copy the full SHA
    93a8836 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a8567c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2016

  1. Don't call getSize()

    getSize() can be expensive, instead read the stream and conditionally
    assign the input with the stream contents.
    markstory committed Jun 19, 2016
    Configuration menu
    Copy the full SHA
    745aefc View commit details
    Browse the repository at this point in the history
  2. Merge pull request cakephp#8992 from cakephp/psr7-integration-test

    PSR7 IntegrationTestCase part 1
    lorenzo committed Jun 19, 2016
    Configuration menu
    Copy the full SHA
    3eb2982 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2016

  1. Configuration menu
    Copy the full SHA
    a3ef37d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd4dc9a View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2016

  1. Convert cookies from CakePHP responses to PSR7 ones.

    I missed this before, but we'll need to handle cookie data conversion.
    I really wanted to use one of the predefined date constants, but none of
    them seemed to match RFC6265.
    markstory committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    b2f1c72 View commit details
    Browse the repository at this point in the history
  2. Add cookie parsing to convert from psr7 to cakephp.

    Re-purpose the cookie parsing code that lives in the 2.x HttpSocket
    here. I figured that was a good place to draw an implementation from as
    its fairly battle tested and works well.
    markstory committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    6a72463 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cadeb64 View commit details
    Browse the repository at this point in the history
  4. Merge pull request cakephp#9019 from cakephp/integration-test-cases

    Fix Cookie support for PSR7 response transformer
    lorenzo committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    38c903b View commit details
    Browse the repository at this point in the history
  5. Basic Idea

    Tamási Benjamin committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    db36ed0 View commit details
    Browse the repository at this point in the history