Permalink
Commits on Sep 12, 2016
  1. Merge pull request #274 from erheme318/loggable_gridfs

    [feature] Loggable GridFS collection
    alcaeus committed on GitHub Sep 12, 2016
  2. Add logging behavior on GridFS::storeFile

    Loggable `GridFS::storeFile`
     - Added a coverage
    erheme318 committed Sep 9, 2016
  3. Introduce LoggableCollectionTrait

    Since `GridFS` has `Collection` type, `LoggableGridFS` can share same
    loggable methods as `LoggableCollection`. Therefore,
    `LoggableCollectionTrait` having extracted methods from
    `LoggableCollection` was introduced in this commit.
    erheme318 committed Sep 9, 2016
Commits on Sep 11, 2016
  1. Merge pull request #273 from erheme318/removed_unused_use

    Removed unused use statements
    alcaeus committed on GitHub Sep 11, 2016
Commits on Sep 6, 2016
  1. [feature] Loggable GridFS collection

    Problem:
    Since GridFS isn't loggable type, no queries are logged. Therefore, it
    limits one's capability to optimize queries as investigating logs.
    
    In this PR:
    I've introduced `LoggableGridFS` type and added `doGetGridFS` method in
    the `LoggableDatabase` in order to initialize loggableGridFS object.
    
    I'm wondering why it wasn't made before in the first place.
    If there some reason, please let me know.
    erheme318 committed Sep 6, 2016
Commits on Aug 31, 2016
  1. Removed unused use statements

    `grep` result revealed those unused uses while searching on this lib.
    So I've corrected it using http://cs.sensiolabs.org/ tool.
    
    Even though it isn't really important, it can be limit my research
    result.
    erheme318 committed Aug 31, 2016
Commits on Jul 4, 2016
  1. Merge pull request #268 from prolic/patch-1

    add alcaeus/mongo-php-adapter to composer suggest
    alcaeus committed on GitHub Jul 4, 2016
Commits on Jun 27, 2016
  1. Update composer.json

    prolic committed on GitHub Jun 27, 2016
Commits on May 25, 2016
  1. Merge pull request #264 from alcaeus/drop-php-5.5

    Drop support for PHP 5.5
    alcaeus committed May 25, 2016
Commits on May 24, 2016
  1. Drop support for PHP 5.5

    alcaeus committed May 24, 2016
Commits on May 10, 2016
  1. Merge pull request #263 from alcaeus/fix-query-count-parameter

    Fix parameter change
    alcaeus committed May 10, 2016
Commits on May 4, 2016
  1. Fix parameter change

    alcaeus committed May 4, 2016
Commits on Apr 28, 2016
  1. Merge branch 'enhancement/use-array-short-syntax'

    Closes #244.
    
    * enhancement/use-array-short-syntax:
      Use array short syntax
    alcaeus committed Apr 28, 2016
  2. Use array short syntax

    malukenho committed with alcaeus Jan 8, 2016
Commits on Mar 27, 2016
  1. Merge branch '1.3.x'

    * 1.3.x:
      Skip connection test
      Add --ignore-platform-reqs switch
      Add PHP 7 to the build matrix
    alcaeus committed Mar 27, 2016
  2. Merge pull request #258 from alcaeus/php-7-tests

    Add PHP 7 to the build matrix using polyfill
    alcaeus committed Mar 27, 2016
Commits on Mar 26, 2016
  1. Skip connection test

    alcaeus committed Mar 26, 2016
  2. Add PHP 7 to the build matrix

    alcaeus committed Mar 26, 2016
Commits on Mar 24, 2016
  1. Update branch-alias for 1.4.x

    alcaeus committed Mar 24, 2016
  2. Merge branch '1.2.x'

    * 1.2.x:
      Initialize the aggregation builder stages property with an empty array
    alcaeus committed Mar 24, 2016
  3. Merge pull request #257 from Strazzo/init-aggregation-stages

    Initialize the aggregation builder stages property with an empty array
    alcaeus committed Mar 24, 2016
  4. Initialize the aggregation builder stages property with an empty array

    This will fix a PHP warning when calling `getPipeline()` on an Aggregation
    builder without any stages since array_map expects an array as second argument, but the `$stages`
    property is still `null`. The new behaviour is consistent with the Query builder, which also
    returns an empty array.
    venyii committed Mar 24, 2016
Commits on Mar 19, 2016
  1. Merge branch '1.2.x'

    * 1.2.x:
      Update changelog for 1.2.2 release
      Fix wrong syntax for dateToString operator
      Hello 2016
    alcaeus committed Mar 19, 2016
  2. Merge branch 'patch-1'

    Closes #247.
    
    * patch-1:
      Update documentation link
    alcaeus committed Mar 19, 2016
  3. Update documentation link

    hugovk committed with alcaeus Jan 20, 2016
Commits on Mar 18, 2016
  1. Merge pull request #256 from alcaeus/aggregation-group-allow-operators

    Allow using operators in group stages
    alcaeus committed Mar 18, 2016
  2. Allow using operators in group stages

    alcaeus committed Mar 18, 2016
Commits on Mar 17, 2016
  1. Merge branch 'feature-allowEventManagerToModifyQueries'

    Closes #233.
    
    * feature-allowEventManagerToModifyQueries:
      Use MutableEventArgs for postRemove and postUpdate events
      Keep EventArgs immutable and selectively use MutableEventArgs
      Ran file through php-cs-fixer
      Cast $field to string.
      Corrected since tags.
      Added since tags
      Added dockblocks to functions
      Added remainder of tests.
      Fixed class name to avoid namespace clash
      Example of how I think the rest of my tests should be written.
      Added unit test to ensure the setters work.
      Allow for "pre" hooks to have the ability to modify the context information of the event.
    alcaeus committed Mar 17, 2016
  2. Use MutableEventArgs for postRemove and postUpdate events

    This may have been an oversight when MutableEventArgs were originally added in 161be2d; however, there's no reason these events cannot be mutable in the interest of consistency with other method events.
    jmikola committed with alcaeus Feb 29, 2016
  3. Keep EventArgs immutable and selectively use MutableEventArgs

    This reverts earlier changes that added mutability to EventArgs (among other named event classes). In the interest of keeping EventArgs immutable, we'll now use MutableEventArgs for those methods that would benefit from it.
    
    Note: preBatchInsert, preInsert, and preSave will continue to use immutable EventArgs for their inputs, due to the fact that the driver is prone to modifying the input arguments in memory (this is different than by-reference modification). If we allowed an event listener to mutate that argument, users would no longer be able to rely on "_id" injection on the value passed into the Collection method.
    jmikola committed with alcaeus Feb 29, 2016
  4. Ran file through php-cs-fixer

    blockjon committed with alcaeus Feb 17, 2016
  5. Cast $field to string.

    blockjon committed with alcaeus Feb 17, 2016