Permalink
Commits on Nov 23, 2017
  1. Merge pull request #11453 from cakephp/digest-nonce

    lorenzo committed Nov 23, 2017
    Use sha256 consistently.
Commits on Nov 15, 2017
  1. Merge pull request #11396 from cakephp/fix-collections

    lorenzo committed Nov 15, 2017
    Fix collections when iterating over certain classes
Commits on Nov 6, 2017
  1. Merge pull request #11410 from raul338/FunctionExprNestQueryExpr

    lorenzo committed Nov 6, 2017
    Avoid double parenthesis when nesting functions and query expressions
Commits on Sep 21, 2017
  1. Merge pull request #10145 from patrickconroy/hotfix/routebuilder-redi…

    lorenzo committed Sep 21, 2017
    …rect-class
    
    Make it possible to define a custom routeClass for builder redirects
Commits on Sep 2, 2017
  1. Merge pull request #11139 from cakephp/issue-5232

    lorenzo committed Sep 2, 2017
    Add more context on formhelper templates.
Commits on Aug 25, 2017
  1. Merge pull request #11095 from cakephp/time-based-attack

    lorenzo committed Aug 25, 2017
    Ensure input passwords will be hashed even when a user doesn't exist
  2. Merge pull request #11096 from cakephp/digest-constant-time

    lorenzo committed Aug 25, 2017
    Use timing attack safe string comparison
  3. Merge pull request #11097 from cakephp/issue-11070

    lorenzo committed Aug 25, 2017
    Fix cookies not being sent by classic Dispatcher.
Commits on Aug 22, 2017
  1. Merge pull request #11076 from chinpei215/fix-collection-travarsable

    lorenzo committed Aug 22, 2017
    Fix Collection throwing an exception when Traversable given.
Commits on Aug 21, 2017
  1. Merge pull request #11073 from chinpei215/fix-not-matching

    lorenzo committed Aug 21, 2017
    Fix notMatching for BelongsToMany with composite keys
Commits on Aug 16, 2017
  1. Merge pull request #11049 from cakephp/bugfix/master-connection

    lorenzo committed Aug 16, 2017
    Removing the destructor to prevent notices on reuse.
  2. Merge pull request #11050 from cakephp/dereuromark-patch-1

    lorenzo committed Aug 16, 2017
    Fix code smell
Commits on Aug 15, 2017
  1. Merge pull request #11040 from chinpei215/3.4-query-expression

    lorenzo committed Aug 15, 2017
    Fix backward incompatibility of QueryExpression::type()
Commits on Jul 27, 2017
  1. Merge pull request #10947 from MCF/fix_paginate_order_by

    lorenzo committed Jul 27, 2017
    Fix pagination ordering on calculated columns on SQL Server.
Commits on Jul 14, 2017
  1. Merge pull request #10649 from chinpei215/3.next-previous-exception

    lorenzo committed Jul 14, 2017
    Add the $previous argument to all exceptions
Commits on Jul 12, 2017
  1. Merge pull request #10895 from cakephp/issue-10873

    lorenzo committed Jul 12, 2017
    Make timestamp checks less permissive
Commits on Jul 10, 2017
  1. Merge pull request #10879 from cakephp/issue-10870

    lorenzo committed Jul 10, 2017
    Do not spam users with welcome message in every commands
Commits on Jul 9, 2017
  1. Merge pull request #10886 from cakephp/remove-root-validation

    lorenzo committed Jul 9, 2017
    Remove root command comparisons.
Commits on Jul 6, 2017
  1. Merge pull request #10868 from cakephp/issue-10813

    lorenzo committed Jul 6, 2017
    Reset eager loaders before triggering before find.
Commits on Jul 4, 2017
  1. Merge pull request #10846 from cakephp/buildcommand-event

    lorenzo committed Jul 4, 2017
    3.next Add Console.buildCommands event
Commits on Jul 2, 2017
  1. Merge pull request #10844 from cakephp/issue-10658

    lorenzo committed Jul 2, 2017
    Make one()/many() more consistent with empty associations
Commits on Jun 29, 2017
  1. Merge pull request #10839 from odan/patch-1

    lorenzo committed Jun 29, 2017
    Fixed Xdebug issue in combination with isConnected() #10836
Commits on Jun 24, 2017
  1. Removed unused variable

    lorenzo committed Jun 24, 2017
  2. Fixed my typos

    lorenzo committed Jun 22, 2017
  3. Fixed CS

    lorenzo committed Jun 22, 2017
  4. Improved collections performance in common use cases

    lorenzo committed Jun 22, 2017
    This improves the performance of most collection methods sometimes
    by making it 100% faster compared to the previous implementation.
    
    The improvement is not for free, with this change we are giving up
    the lazyness feature (not iterate unless requested). The giving
    up of the feature only happens when the collection has been initialized
    with an array, as oposed to being initialized with another iterator or
    generator; and this is the reson I consider this change a safe one.
    
    For the curious, the improvement comes from the (sad) fact that calling
    functions in php is extremenly expensive, specially when using iterators
    since each iteration will call at least 4 functions (valid, next, current, key).
    
    This becomes even worse as `IteratorIterator` does not have any optimizations,
    so for each wrapped iterator, the number of functions is multiplied by 2
    for each iteration.
    
    The change proposed here will unwrap nested iterators as much as possible
    to avoid the function call explosion, and in some (safe) cases, will
    iterator the collection immediately as an array before wrapping it again
    in an iterator.
    
    I was inspired by Haskell when implementing this, as the language is lazy
    by default, but the compiler optimizes the cases where code is safe to be
    called strictly. Thats is called strictness analysis.
Commits on Jun 22, 2017
  1. Merge pull request #10807 from cakephp/fix-finder-option

    lorenzo committed Jun 22, 2017
    Fix usage of contain finder options for hasMany relations
Commits on Jun 11, 2017
  1. Merge pull request #10757 from cakephp/issue-progress-helper

    lorenzo committed Jun 11, 2017
    Make init() chainable and improve docs.
Commits on Jun 8, 2017
  1. Merge pull request #10737 from cakephp/issue-10734

    lorenzo committed Jun 8, 2017
    Don't emit errors when clauses are undefined.
  2. Merge pull request #10738 from cakephp/3next-routeconnect

    lorenzo committed Jun 8, 2017
    Make RouteBuilder::connect() return route instances.
Commits on Jun 5, 2017
  1. Merge pull request #10720 from cakephp/3.next-fix-validation

    lorenzo committed Jun 5, 2017
    Fixed a regression in ValidatorAwareTrait
Commits on May 8, 2017
  1. Merge pull request #10624 from robertpustulka/table-schema

    lorenzo committed May 8, 2017
    Change ConnectionInterface typehint to Connection in TableSchema.
Commits on Apr 28, 2017
  1. Merge pull request #10591 from ndm2/3.x-unify-conjugation-order

    lorenzo committed Apr 28, 2017
    3.x - Unify conjugation order
Commits on Mar 15, 2017
  1. Merge pull request #10417 from cakephp/enable-duplicate-aliases

    lorenzo committed Mar 15, 2017
    Remove errors when aliases don't match