Commit History

Upphovsman SHA1 Meddelande Datum
  Bernhard Schussek 4f0283a508 [Form] Removed Form::isBound(). Form::bind() is only a shortcut method now, use Form::isSubmitted() if you want to find out whether a form was submitted. 14 år sedan
  Bernhard Schussek 628a4d1fd8 [Form] Refactored validation logic into validate() method. Removed bindGlobals() to reduce API clutter 14 år sedan
  Jeremy Mikola 4e0db56810 [Form] Fix getValidator() to reference the "validator" option instead of property 14 år sedan
  Fabien Potencier 209dcfefce [From] fixed phpdoc 14 år sedan
  Bernhard Schussek a28151a8af [Form] Removed FormFactory and improved the form instantiation process 14 år sedan
  Bernhard Schussek fb1f99137d [Form] Changed semantics of a "bound" form 14 år sedan
  Bernhard Schussek e5ed98c324 [Form] Added option 'data' to Field for populating a field with a fixed value 14 år sedan
  Bernhard Schussek c468db5c5b [Form] Merged classes FieldGroup and Form for simplicity 14 år sedan
  Bernhard Schussek 7680657944 [Form] Form::isPostMaxSizeReached() only triggers for root forms 14 år sedan
  Bernhard Schussek 4fcb98547c [Form] Simplified Form::bind(), added convenience methods Form::bindRequest() and Form::bindGlobals() 14 år sedan
  Bernhard Schussek 57cbd57265 [Form] Fields may now be anonymous, but anonymous fields must not be added to groups. They can only be used as prototypes 14 år sedan
  Fabien Potencier 97897f532a [Form] removed obsolete method 14 år sedan
  Bernhard Schussek 7848a7ca63 [Form] Refactored CSRF implementation to be reusable and to work correctly with the session service 14 år sedan
  Ryan Weaver 17f9162b89 [Standards] Changing many instances of "boolean" to "Boolean". 14 år sedan
  Bernhard Schussek 8f8f53d631 [Form][FrameworkBundle] Implemented FormFactory and added it to the DI container 14 år sedan
  Dominique Bongiraud 64fb94c725 normalized license messages in PHP files 14 år sedan
  Bernhard Schussek 4b78c4376f [Form] Added FieldFactory mechanism to automatically create fields by introspecting metadata of a class 14 år sedan
  Bernhard Schussek 48af2fc86e [Form][FrameworkBundle][HttpFoundation] The session is now automatically started when a form is CSRF protected 14 år sedan
  Jordi Boggiano 094d428e68 CS: Unified strict equality comparisons, put var on the right side 14 år sedan
  Bernhard Schussek 78b69876d4 [Form] Locale can now only be set statically before creating a form/field, otherwise we have too many problems updating a field's state when the locale is changed 14 år sedan
  Bernhard Schussek 7c557d0d6e [Form] Made and parameter in the constructor optional 14 år sedan
  Fabien Potencier 1e983a6115 moved static Form configuration to a new class (avoid loading 7 classes just to enable CSRF -- even when no form is present in the page) 14 år sedan
  Bernhard Schussek e0d6aad5f4 [Form][FrameworkBundle][TwigBundle] Introduced class FieldError to wrap form errors 14 år sedan
  Jordi Boggiano a198bbcf43 [Form] throw an exception if session_id() is empty when a csrf token is generated 14 år sedan
  Kris Wallsmith f79e23ffb5 Removed all those spaces after @author that were bothering me so… 14 år sedan
  Bernhard Schussek a66d883afd [Form] Removed CSRF setters because they have no effect once CSRF protection is enabled. Re-enable CSRF protection with the desired values instead 14 år sedan
  Bernhard Schussek e1be4e9689 [Form] Refactored logic to read and set values from Field to PropertyPath 14 år sedan
  Benjamin Eberlei f033fc5578 Refactor ValueTransformers to recieve the original value when reverseTransform() is called. This is required for expensive value transformations for example Doctrine Collections or Proxies to allow access to a value that does not trigger expensive operations (such as database calls) anymore. 14 år sedan
  Fabien Potencier 2525998f6e replaced form field rendering with plain templates 14 år sedan
  Fabien Potencier 4deb82f842 [Form] fixed license and phpdoc 14 år sedan