Skip to content
This repository

Nov 16, 2011

  1. Christophe Coevoet

    Merge pull request #56 from jmikola/user-reloading

    [Security] Ensure DocumentUserProvider::refreshUser() uses id
    authored November 16, 2011
  2. Jeremy Mikola

    [Security] Ensure DocumentUserProvider::refreshUser() uses id

    Fixes a security vulnerability in the DocumentUserProvider where a user might be refreshed by username, which could have been altered during form binding and failed validation. Apart from this fix, it's wise to clone the managed user object before using it in a form if it is also being tracked in security context. Furthermore, you should be careful not to allow document identifiers to be modified by untrusted forms.
    
    See:
    
     * http://symfony.com/blog/security-release-symfony-2-0-6
     * symfony/symfony@9d2ab9c
    authored November 16, 2011
  3. Jeremy Mikola

    Add DocumentManager type-hinting to DocumentUserProvider constructor

    authored November 16, 2011

Nov 01, 2011

  1. Benjamin Eberlei

    Fix composer.json

    authored November 01, 2011
  2. Benjamin Eberlei

    Add composer.json with dependencies against wildcard versions

    authored November 01, 2011

Sep 28, 2011

  1. Kris Wallsmith

    fixed file permissions

    authored September 27, 2011

Sep 02, 2011

  1. Kris Wallsmith

    Merge pull request #42 from jmikola/unique-validator

    Update unique validator functionality and tests
    authored September 02, 2011

Sep 01, 2011

  1. Jeremy Mikola

    Merge remote-tracking branch 'origin/master' into unique-validator

    Conflicts:
    	Validator/Constraints/UniqueValidator.php
    authored September 01, 2011

Aug 31, 2011

  1. Kris Wallsmith

    Merge pull request #43 from jmikola/bulat-attribution

    Update author attribution for Bulat
    authored August 31, 2011
  2. Jeremy Mikola

    Update author attribution for Bulat

    authored August 31, 2011
  3. Jeremy Mikola

    Add author attribution in UniqueValidator

    authored August 31, 2011
  4. Jeremy Mikola

    Add test cases for thrown ConstraintDefinitionExceptions in UniqueVal…

    …idator
    authored August 31, 2011
  5. Jeremy Mikola

    Add testing of hash and collection field types to UniqueValidatorTest

    authored August 31, 2011
  6. Jeremy Mikola

    Rewrite UniqueValidatorunique validator

    Logic inside isValid() now more closely resembles the entity validator, with the added benefit of not returning a false positive due to reliance on findOneBy().
    
    Added comments throughout refactored methods and cleaned up the createQueryArray() method.
    
    Replaced thrown exceptions with ConstraintDefinitionException to be consistent with other validators
    
    Fixed reporting of invalid value when a constraint violation is added.
    authored August 31, 2011
  7. Jeremy Mikola

    Move document manager name resolution to the UniqueValidator class

    authored August 31, 2011
  8. Jeremy Mikola

    Fix bug where unique validation might miss a conflict due to using fi…

    …ndOneBy()
    
    To correctly verify uniqueness, we need to query for all criteria matches. The document cannot be considered unique unless the single result is the document itself, or if the result set is empty.
    authored August 31, 2011
  9. Jeremy Mikola

    Rewrite the document UniqueValidatorTest as a functional test consist…

    …ent with the entity validator equivalent in Doctrine bridge
    
    Updated the fixture document class and assigned it a fairly specific collection name, since the functional test needs to drop this collection.
    authored August 31, 2011
  10. Jeremy Mikola

    Refactor UniqueValidator based on the entity equivalent in the Doctri…

    …ne bridge
    
    Removed code for proxy initialization as its reference to the __identifier property no longer complied with the current version of ProxyFactory (that property is private).
    
    Also removed identifier value comparison, as we should trust that ODM will return the same object if one with a specific identifier is already being managed. This is consistent with the entity validator in Doctrine bridge.
    
    Lastly, the original property path binding was no longer working (based on upstream changes no doubt), so this was also updated to be in sync with the entity validator.
    authored August 31, 2011
  11. Jeremy Mikola

    Split testing bootstrap file into autoload.php.dist and configure ann…

    …otation loading
    authored August 30, 2011

Aug 25, 2011

  1. Fabien Potencier

    added missing toctree to the doc

    authored August 25, 2011
  2. Fabien Potencier

    added a cookbook entry

    authored August 25, 2011
  3. Fabien Potencier

    added documentation about configuration

    authored August 25, 2011
  4. Fabien Potencier

    moved documentation in the bundle itself

    authored August 25, 2011

Aug 03, 2011

  1. Kris Wallsmith

    Merge pull request #35 from vladar/annotation_fix

    Added @Annotation to ODM unique validator
    authored August 03, 2011

Aug 01, 2011

  1. vladar

    Added @Annotation to unique validator

    authored August 01, 2011

Jul 31, 2011

  1. Kris Wallsmith

    Merge pull request #34 from weaverryan/add_readme

    Adding a basic README

Jul 27, 2011

  1. Ryan Weaver

    Adding a basic README

    authored July 27, 2011

Jun 21, 2011

  1. Kris Wallsmith

    Merge pull request #28 from ornicar/master

    Update commands for Symfony changes. Breaks compatibility with beta5
  2. Thibault Duplessis

    Update commands for Symfony changes. Breaks compatibility with beta5

    authored June 21, 2011

Jun 16, 2011

  1. Kris Wallsmith

    Merge pull request #26 from ornicar/userProvider

    Update DocumentUserProvider to implement the new UserProviderInterface
  2. Thibault Duplessis

    Update DocumentUserProvider to implement the new UserProviderInterface

    Breaks compatibility with Symfony2beta4
    authored June 16, 2011

Jun 15, 2011

  1. Kris Wallsmith

    Merge pull request #24 from ornicar/yamlParse

    Replace Yaml::load with Yaml::parse
  2. Thibault Duplessis

    Replace Yaml::load with Yaml::parse

    authored June 14, 2011

Jun 14, 2011

  1. Kris Wallsmith

    Merge pull request #23 from fspillner/33cc66f941ac098ef8884b1097dcbb5…

    …3cf28ee4a
    
    [Extension] fixed parameter name for database name in the DoctrineMongoDBExtension

Jun 13, 2011

  1. Fabian Spillner

    fix database parameter in the DoctrineMongoDBExtension #22

    authored June 14, 2011
Something went wrong with that request. Please try again.