Commit Graph

2409 Commits

Author SHA1 Message Date
Bernhard Schussek
c6e9fd97b6 [Form] Fixed various bugs 2011-02-25 00:09:10 +01:00
Bernhard Schussek
eca2b87313 Merge branch 'master' into experimental 2011-02-24 21:28:09 +01:00
Bernhard Schussek
e334c4734e [Form] Registered FormFactory in the DIC 2011-02-24 21:27:44 +01:00
Bernhard Schussek
f2c1976da6 [Form] Refactored FileField to FormFactory and fixed file upload mechanism 2011-02-24 20:47:48 +01:00
Fabien Potencier
5b92dcf9dd Merge remote branch 'stof/zend_config'
* stof/zend_config:
  Changed default priority to INFO
  [ZendBundle] Added a Configuration class
2011-02-24 17:55:15 +01:00
Fabien Potencier
396fcf15a8 Merge remote branch 'kriswallsmith/assetic/rm-phpcs'
* kriswallsmith/assetic/rm-phpcs:
  [AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-24 17:51:30 +01:00
Christophe Coevoet
0488ebc2e8 Changed default priority to INFO 2011-02-24 17:48:41 +01:00
Christophe Coevoet
192583a225 [ZendBundle] Added a Configuration class 2011-02-24 17:38:40 +01:00
Bernhard Schussek
848ec01f02 [Form] Refactored RepeatedField to FormFactory 2011-02-24 16:54:34 +01:00
Bernhard Schussek
87b417889c [Form] Fixed DateTimeFieldTest 2011-02-24 16:34:29 +01:00
Bernhard Schussek
0f8a413221 [Form] Fixed EntityChoiceFieldTest 2011-02-24 16:26:57 +01:00
Bernhard Schussek
acc5c76f77 [Form] Fixed failing DateFieldTest and TimeFieldTest 2011-02-24 16:19:59 +01:00
Fabien Potencier
691c9f5950 Merge remote branch 'marphi/fix_assetic'
* marphi/fix_assetic:
  [AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-24 15:52:13 +01:00
Fabien Potencier
2ad21ed41f Merge remote branch 'lsmith77/fixture_2_migration'
* lsmith77/fixture_2_migration:
  cosmetic tweak
  initial steps to handling objects
  A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-24 15:50:59 +01:00
Fabien Potencier
71a06f0174 Merge remote branch 'kriswallsmith/assetic/stylus-filter'
* kriswallsmith/assetic/stylus-filter:
  [AsseticBundle] added stylus filter
2011-02-24 15:49:23 +01:00
Kris Wallsmith
2b2a7f0a1d added nowrap style to WDT toolbar so image and text stays together when the toolbar wraps 2011-02-24 06:14:08 -08:00
Kris Wallsmith
9f2d59c489 [AsseticBundle] added stylus filter 2011-02-24 05:48:15 -08:00
Bernhard Schussek
e3e8c29875 Merge branch 'bugfix' into experimental
Conflicts:
	src/Symfony/Component/Form/EntityChoiceField.php
	src/Symfony/Component/Form/Field.php
	src/Symfony/Component/Form/HybridField.php
	tests/Symfony/Tests/Component/Form/FieldTest.php
	tests/Symfony/Tests/Component/Form/FormTest.php
2011-02-24 13:17:53 +01:00
Victor Berchet
788f63d460 [FrameworkBundle] Simplify the over-complicated template cache warmer 2011-02-24 13:02:35 +01:00
Bernhard Schussek
87e6cbf8f0 [Form] Fixed: PropertyPath always requires arrays or objects. Forms now always store arrays or objects as transformed data, even when they were bound empty 2011-02-24 12:22:00 +01:00
Lukas Kahwe Smith
e356c2a902 cosmetic tweak 2011-02-24 11:57:32 +01:00
Lukas Kahwe Smith
988b8f3736 initial steps to handling objects 2011-02-24 10:44:47 +01:00
Bernhard Schussek
0e75891f25 [Form] Fixed DateTimeToLocalizedStringTransformerTest 2011-02-24 10:05:35 +01:00
Fabien Potencier
79bc233344 [TwigBundle] fixed typo 2011-02-24 09:46:59 +01:00
Bernhard Schussek
8e2d0bae90 [Form] Ported DateTimeField to FormFactory 2011-02-23 23:34:25 +01:00
Bernhard Schussek
b5671c1be0 [Form] Implemented ArrayToPartsTransformer and ValueToDuplicatesTransformer 2011-02-23 22:30:15 +01:00
Bernhard Schussek
5a2404a1d6 [Form] Removed deprecated fields 2011-02-23 21:23:14 +01:00
Bernhard Schussek
ac5440f8d4 [Form] DateTimeToArrayTransformer does not accept partially filled arrays anymore. Replaces DateField::isPartiallyFilled() and TimeField::isPartiallyFilled() 2011-02-23 21:17:20 +01:00
Bernhard Schussek
78b26c2cc5 [Form] Renamed type 'raw' to 'array' in date and time field 2011-02-23 21:05:33 +01:00
Bernhard Schussek
c8275c5b27 [Form] Refactored PercentField to FormFactory 2011-02-23 15:26:01 +01:00
Bernhard Schussek
68bb3ff606 [Form] Used ValuePlugin to pass displayed data to template. The order of added renderer plugins and set renderer variables is now respected 2011-02-23 14:11:18 +01:00
Bernhard Schussek
a40e2dd77b [Form] Deleted obsolete Field classes, ported some more to FormFactory and fixed lots of failing tests 2011-02-23 14:11:18 +01:00
Bernhard Schussek
7492873186 [Form] Fixed a couple of unit tests, refactored PasswordField to FormFactory 2011-02-23 14:11:18 +01:00
Bernhard Schussek
fee0885256 [Form] Moved options from Field and Form to FormFactory. Tests fail now 2011-02-23 14:11:18 +01:00
Bernhard Schussek
ce432e939d [Form] Changed notion of 'parameter' to 'var' in the renderer. Merged vars and attributes into single array 2011-02-23 14:11:18 +01:00
Bernhard Schussek
2b8ca25d01 [Form] Refactored NumberField, IntegerField, HiddenField and MoneyField to FormFactory 2011-02-23 14:11:18 +01:00
Bernhard Schussek
af8a093b00 [Form] Refactored CountryField, LanguageField, LocaleField and BirthdayField to FormFactory 2011-02-23 14:11:18 +01:00
Bernhard Schussek
9394ffdea1 [Form] Started to refactor TimeField to FormFactory::getTimeField(). Validation logic is still missing. 2011-02-23 14:11:18 +01:00
Bernhard Schussek
975b8ebe9b [Form] Started to refactor DateField to FormFactory::getDateField(). Validation logic is still missing. 2011-02-23 14:11:18 +01:00
Bernhard Schussek
b148a2a7ed [Form] Refactored ChoiceField to FormFactory::getChoiceField() 2011-02-23 14:11:18 +01:00
Bernhard Schussek
6edff6b8a9 [Form] Moved submission logic of ChoiceField to preprocessor 2011-02-23 14:11:18 +01:00
Bernhard Schussek
7a48c0a5c5 [Form] Refactored logic from ChoiceField into ChoicePlugin and SelectMultipleNamePlugin 2011-02-23 14:11:18 +01:00
Bernhard Schussek
61ea51d858 [Form] Added first version of FormFactory, ValuePlugin and ParentNamePlugin 2011-02-23 14:11:18 +01:00
Bernhard Schussek
f7dc71ef59 [Form] Refactored id and name generation to renderer plugins 2011-02-23 14:11:17 +01:00
Bernhard Schussek
861ff957e7 [Form] Refactored DateField pattern, fixed maxlength in TextField 2011-02-23 14:11:17 +01:00
Bernhard Schussek
ed68fd66a9 [Form] Improved the renderer implementation, added concepts of plugins and themes 2011-02-23 14:11:17 +01:00
Bernhard Schussek
6cc0a58edc [Form] Refactored casting logic from IntegerField to IntegerToLocalizedStringTransformer 2011-02-23 14:11:17 +01:00
Bernhard Schussek
27e1e5251c [Form] Experimentally refactored Twig rendering support to Form component 2011-02-23 14:11:17 +01:00
Bernhard Schussek
ea1ae46c17 [Form] Added CallbackTransformer for dynamic value transformation 2011-02-23 14:11:17 +01:00
Bernhard Schussek
5eb5cc5743 [Form] Refactored date and time field choices into ChoiceList classes 2011-02-23 14:11:17 +01:00