Fabien Potencier
eded17adf2
[ClassLoader] added ClassLoaderInterface
2011-03-30 08:24:33 +02:00
Fabien Potencier
1ec2886546
[Console] fixed previous commit
2011-03-29 22:03:29 +02:00
Fabien Potencier
49d67645d7
[Console] moved Output constants to OutputInterface
2011-03-29 21:53:28 +02:00
Pascal Borreli
dbb18662d7
[HttpFoundation][Windows] Disabled FileBinaryMimeTypeGuesser for Windows OS
2011-03-29 14:32:20 +00:00
Bernhard Schussek
53838abf3f
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/money_field.html.php
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/percent_field.html.php
src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-28 22:52:15 +02:00
Fabien Potencier
52c3a1d53d
fixed typo
2011-03-28 22:48:18 +02:00
Fabien Potencier
3d44c44f9a
Merge remote branch 'mbontemps/httpCache-fix'
...
* mbontemps/httpCache-fix:
Add a public getter for the Esi instance
Fix kernel access in HttpCache due to kernel attribute privatization
2011-03-28 19:50:12 +02:00
Fabien Potencier
49063a5314
Merge remote branch 'kriswallsmith/kernel/shorter-bundle-names'
...
* kriswallsmith/kernel/shorter-bundle-names:
updated codebase to use shorter bundle names
[HttpKernel] updated component to work with shorter bundle names
[HttpKernel] updated Bundle::getName() to validate bundle class name and rtrim "Bundle"
2011-03-28 18:06:41 +02:00
Bernhard Schussek
e2198b0dc6
[Form] Fixed a few references to AssertTrue/AssertFalse
2011-03-28 17:45:11 +02:00
Fabien Potencier
786f165dae
Merge remote branch 'bschussek/validator'
...
* bschussek/validator:
removed Assert prefix from all constraints, renamed annotation namespace to assert
2011-03-28 17:05:22 +02:00
Matthieu Bontemps
8e4686787a
Add a public getter for the Esi instance
2011-03-28 13:45:23 +02:00
Matthieu Bontemps
aba6363452
Fix kernel access in HttpCache due to kernel attribute privatization
2011-03-28 11:58:16 +02:00
Bernhard Schussek
e7df781c34
[Form] Fixed calls to ThemeRenderer::renderPart()
2011-03-28 11:22:27 +02:00
Bernhard Schussek
0fb95c18ad
Merge remote branch 'symfony/master' into experimental
2011-03-27 23:44:04 +02:00
Bernhard Schussek
65f58c9fd1
[Form] Introduced generic RendererInterface
2011-03-27 23:43:14 +02:00
Bernhard Schussek
1fa004ceb2
[Form] Simplified the interface names of the Renderer subnamespace
2011-03-27 23:39:01 +02:00
Bernhard Schussek
4ec6ba8674
[Form] Fixed: set data is treated as string except if a transformer is set
2011-03-27 23:09:46 +02:00
Bernhard Schussek
cfaa03eeec
[Form] Fixed: empty objects are only created upon binding forms with empty data
2011-03-27 23:07:30 +02:00
Fabien Potencier
33456e63dc
Merge remote branch 'pborreli/windows-fix-process'
...
* pborreli/windows-fix-process:
[Process] Better guess of php bin executable path
[Process] Removed useless getenv
2011-03-27 22:28:26 +02:00
Pascal Borreli
ef447dc487
[Process] Better guess of php bin executable path
...
If PHP_PATH is not defined (default)
PHP_BINDIR is used to guess exe, but on windows this constant seems to be hardcoded and doesn't point to the good folder
So before to throw an error we check if PEAR is installed, most of the case it is, and it will have good php bin path for sure.
2011-03-27 21:11:22 +00:00
Pascal Borreli
1e69076d7a
[Process] Removed useless getenv
2011-03-27 21:11:20 +00:00
Bernhard Schussek
7006202e24
Merge remote branch 'symfony/master' into experimental
2011-03-27 21:07:13 +02:00
Matthieu Bontemps
a294024184
Fix Filesystem->mkdir return value
2011-03-27 19:17:13 +02:00
Bernhard Schussek
8a981dd047
[Form] Removed unused variable
2011-03-27 17:37:42 +02:00
Bernhard Schussek
58b8555cb6
[Form] Removed unused use-statements
2011-03-27 15:59:35 +02:00
Bernhard Schussek
edfae73cd4
[Form] Moved PropertyPath, PropertyPathIterator and VirtualFormAwareIterator to subnamespace Util
2011-03-27 15:37:13 +02:00
Bernhard Schussek
29d412c15a
[Form] Changed name of VirtualFormIterator to VirtualFormAwareIterator
2011-03-27 15:33:04 +02:00
Kris Wallsmith
a8ffa909ad
[HttpKernel] updated component to work with shorter bundle names
2011-03-27 06:25:13 -07:00
Bernhard Schussek
b180319371
[Form] Moved creation of empty data to Form to clean up DataMapperInterface
2011-03-27 15:12:35 +02:00
Bernhard Schussek
5ac979b043
[Form] Fixed default value of 'validation_groups' option, removed duplicate definition
2011-03-27 14:52:03 +02:00
Bernhard Schussek
80116be577
[Form] Removed unused 'template' option
2011-03-27 14:42:44 +02:00
Bernhard Schussek
6588a47ba7
[Form] Removed FormBuilder::setDataClass(). Use the FieldType option "data_class" instead.
...
The problem was that "data_class" was used in two places: FormBuilder::build() and PropertyPathMapper.
PropertyPathMapper was already constructed during FormType::buildForm(), so any data class changes made to the FormBuilder wouldn't affect the data class of the PropertyPathMapper anymore and so lead to an inconsistent state.
2011-03-27 14:34:48 +02:00
Kris Wallsmith
dd9ad97a0c
[HttpKernel] updated Bundle::getName() to validate bundle class name and rtrim "Bundle"
2011-03-27 05:31:57 -07:00
Bernhard Schussek
364b0f5208
[Form] Fixed: FormBuilder::add() accepts FormTypeInterface instances
2011-03-27 14:05:06 +02:00
Bernhard Schussek
dc38eeffe3
[Form] Changed the default value of the 'property_path' option to NULL. Explicitely set it to '' or false to disable mapping for a field/form
2011-03-27 14:02:24 +02:00
Bernhard Schussek
67d85c6bc7
[Form] Fixed signature of FormThemeInterface::render()
2011-03-27 13:48:38 +02:00
Bernhard Schussek
b21929423e
[Form] Completely removed the fields variable in the renderer. The renderer itself supports ArrayAccess and Traversable
2011-03-27 13:48:36 +02:00
Ryan Weaver
80c102761c
[HttpKernel] Making the "no response returned from controller" more explanatory when it's possible that the user forgot a return statement in his/her controller
...
Also made "null" show up as null in the exception message, instead of as a blank string (slightly more expressive).
2011-03-26 14:35:55 -05:00
Bernhard Schussek
eaff9c641e
[Form] Fixed: the default template is only set on the root renderer and reused by children
2011-03-26 19:39:31 +01:00
Bernhard Schussek
89361d036f
[Form] Renamed FormType::configure() to FormType::buildForm()
2011-03-26 18:52:24 +01:00
Bernhard Schussek
a58cfab37d
[Form] Removed form.type.loader tag and according compiler pass to simplify configuration. Custom types that are not in the DIC can be instantiated manually and passed wherever a type is desired.
2011-03-26 18:48:55 +01:00
Bernhard Schussek
9ff91dc997
Merge remote branch 'beberlei/FormsCollectionPrototype' into beberlei-merge
2011-03-26 18:39:20 +01:00
Bernhard Schussek
ed69d7fa35
[Form] Fixed rendering using the PHP Templating engine
2011-03-26 18:38:03 +01:00
Bernhard Schussek
fae319e77a
[Form] Renderers are now created explicitely using FormFactory::createRenderer(). This improves performance on requests where a form does not need to be rendered
2011-03-26 16:03:34 +01:00
Bernhard Schussek
8c7a93c90c
[Form] Added FormTypeInterface::buildRendererBottomUp() which is called after children are initialized
2011-03-26 16:03:34 +01:00
Bernhard Schussek
c786fac303
[Form] Sample fix implementation of renderers
2011-03-26 16:03:34 +01:00
Bernhard Schussek
a396f8fdc8
Merge remote branch 'symfony/master' into experimental
2011-03-26 16:03:21 +01:00
Johannes M. Schmitt
7887f04dc2
removed Assert prefix from all constraints, renamed annotation namespace to assert
2011-03-26 15:26:05 +01:00
Benjamin Eberlei
f9e2864030
[Form] Set prototype to true by default.
2011-03-26 14:56:59 +01:00
Benjamin Eberlei
d87651b6a2
[Form] Add option "prototype" defaulting to true.
2011-03-26 14:52:03 +01:00
Bernhard Schussek
41c3aea668
Merge remote branch 'beberlei/FormRendererItrator' into beberlei-merge
2011-03-26 13:43:33 +01:00
Fabien Potencier
bfd57c5cf0
[HttpKernel] fixed typo
2011-03-26 12:54:13 +01:00
Benjamin Eberlei
f882a511a0
[Form] Initialize on iterator access.
2011-03-26 12:28:46 +01:00
Benjamin Eberlei
cd1ce86aee
[Form] Iterator support for ThemeRenderer
2011-03-26 12:25:47 +01:00
Fabien Potencier
7bda949e41
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
changed condition nesting
[Security] ACL: AclVoter::vote only gets an ObjectIdentity if $object is not an instance of ObjectIdentityInterface
[SecurityBundle] fixed missing argument EventDisplatcher in RememberMe service
2011-03-26 10:44:37 +01:00
Fabien Potencier
4de468e181
[Routing] makes the parameters argument of generate() optional
2011-03-26 09:54:44 +01:00
Benjamin Eberlei
73d8470a76
[Form] Fix children implementation, setChildren() is not used, the attribute "fields" is.
2011-03-26 09:42:45 +01:00
Johannes Schmitt
031bf35bb1
changed condition nesting
2011-03-26 09:06:03 +01:00
Fabien Potencier
cc46e8d46a
moved the Filesystem class form FrameworBundle to HttpKernel (refactored it slightly)
2011-03-26 08:37:25 +01:00
Johannes Schmitt
1282a595f2
Merge branch 'remember_me_dispatcher' of https://github.com/patashnik/symfony into security
2011-03-26 01:26:20 +01:00
Johannes Schmitt
db2089de0d
Merge branch 'acl-fix' of https://github.com/comfortablynumb/symfony into security
2011-03-26 01:11:11 +01:00
Bernhard Schussek
18b98353d5
Merge branch 'master' into experimental
...
Conflicts:
src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-25 16:07:19 +01:00
Fabien Potencier
8d84fdfedc
[Finder] added Finder::append() method to be able to combine several Finder instances into one
2011-03-25 15:50:47 +01:00
Bernhard Schussek
7585dce8dd
[Form] Added options validation to field creation
2011-03-25 15:30:33 +01:00
Fabien Potencier
2d27b13338
Merge remote branch 'bschussek/validator'
...
* bschussek/validator:
[Form] Fixed validation.xml (now really)
2011-03-25 14:57:16 +01:00
Fabien Potencier
a2fcd0cf6b
Merge remote branch 'stealth35/removed_alias'
...
* stealth35/removed_alias:
sanitize die (exit)
2011-03-25 14:54:18 +01:00
stealth35
dedf9b4fc0
tab to spaces
2011-03-25 13:38:09 +01:00
stealth35
58cd03cedf
use SplFileInfo insteed fgetcsv
2011-03-25 11:51:32 +01:00
Bernhard Schussek
0ace068a52
[Form] PropertyPathMapper now only maps if the form data is synchronized to avoid duplicate form errors ('invalid'+'NotNull', for example)
2011-03-25 11:27:22 +01:00
Bernhard Schussek
6825ea2489
[Form] Improved test coverage of PropertyPathMapper
2011-03-25 11:27:20 +01:00
stealth35
cee94be277
sanitize die (exit)
2011-03-25 11:26:43 +01:00
Bernhard Schussek
e3ac248617
[Form] Errors are mapped to subforms correctly and bubble up again if necessary
2011-03-25 10:53:36 +01:00
Bernhard Schussek
4f360109ed
[Form] Fixed validation.xml (now really)
2011-03-25 10:41:18 +01:00
Bernhard Schussek
eb18676354
Merge branch 'master' into experimental
2011-03-25 09:24:38 +01:00
Fabien Potencier
0e57943531
[HttpKernel] fixed typo
2011-03-25 07:19:02 +01:00
Bernhard Schussek
7b412cc762
[Form] Removed FormFactory::addGuessers() and moved guessers to constructor arg instead
2011-03-25 02:26:14 +01:00
Bernhard Schussek
9b1b8cbffa
[Form] Replaced various occurences of 'field' by 'form'
2011-03-25 02:12:01 +01:00
Bernhard Schussek
3c412ffba0
[Form] Moved Form::validateData() to DelegatingValidator::validateFormData()
2011-03-25 01:59:28 +01:00
Gustavo Adrian
bedbe51081
[Security] ACL: AclVoter::vote only gets an ObjectIdentity if $object is not an instance of ObjectIdentityInterface
2011-03-24 21:54:21 -03:00
Bernhard Schussek
ec38901572
Merge branch 'rename-execute' into experimental
...
Conflicts:
src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-25 01:49:17 +01:00
Bernhard Schussek
71230a094b
[Form] Fixed validation.xml
2011-03-25 01:46:05 +01:00
Bernhard Schussek
729438fdea
Merge branch 'rename-execute' into experimental
...
Conflicts:
src/Symfony/Component/Form/FileField.php
src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-25 01:38:49 +01:00
Bernhard Schussek
3e29348d21
[Validator] Added support for static callbacks to Callback constraint
2011-03-25 01:36:58 +01:00
Bernhard Schussek
9c6a6e13bf
[Validator] Renamed Execute constraint to Callback
2011-03-25 01:34:35 +01:00
Bernhard Schussek
4c43aa07ea
[Form] Fixed: Elements are removed from collections when a 'collection' field is sized down
2011-03-25 01:15:33 +01:00
Bernhard Schussek
770d403a52
[Form] Improved error mapping in DelegatingValidator
2011-03-25 00:57:35 +01:00
Bernhard Schussek
d2b07058f4
[Form] CSRF token is now only validated for root form
2011-03-25 00:19:00 +01:00
Bernhard Schussek
4372bd5dc8
[Form] Fixed: Bubbling errors are caught correctly
2011-03-25 00:18:58 +01:00
Bernhard Schussek
d84d167b71
[Form] Fixed display of enctype for file fields in Twig theme
2011-03-25 00:16:30 +01:00
Bernhard Schussek
66ba0c3a73
[Form] Fixed: vars are initialized when ThemeRenderer::getVars() is accessed
2011-03-25 00:16:23 +01:00
Bernhard Schussek
262bdcb21d
[Form] Fixed validation
2011-03-25 00:16:21 +01:00
Bernhard Schussek
ef334dbc4a
Merge remote branch 'beberlei/AttributeSupport' into beberlei-merge
2011-03-24 22:53:39 +01:00
Bernhard Schussek
3f390aa271
[Form] Removed EntityType from DefaultTypeLoader
2011-03-24 22:50:39 +01:00
Benjamin Eberlei
ee96ad0e81
[Form] [DoctrineBridge] Move EntityType and DoctrineTypeLoader into Doctrine Bridge
2011-03-24 22:43:00 +01:00
Bernhard Schussek
1ff6906608
[Form] Simplified ArrayTypeLoader and used it as base class of DefaultTypeLoader
2011-03-24 22:30:49 +01:00
Benjamin Eberlei
8d6dd2b9af
[Form] Add Arbitrary Attribute Support to Form Rendering.
2011-03-24 22:08:08 +01:00
Benjamin Eberlei
6bcc04905c
[Form] Introduce ArrayTypeLoader, Remove EntityManager and FormFactory interface from DefaultTypeLoader
2011-03-24 20:00:17 +01:00
Bernhard Schussek
15d5259eb8
[Form] Forms now remember the types used during their construction
2011-03-24 16:16:31 +01:00
Bernhard Schussek
0b4c3c0cb8
[Form] Fixed coding conventions
2011-03-24 15:26:17 +01:00
Bernhard Schussek
2faa47d03b
[Form] Added fallback templates to TwigThemeFactory
2011-03-24 15:11:43 +01:00
Bernhard Schussek
1211d77f49
[Form] Introduced renderer theme factories so that themes can be changed during runtime
2011-03-24 14:27:21 +01:00
Fabien Potencier
e232218eed
[Console] fixed PHP notice
2011-03-24 13:30:27 +01:00
Alexey Popkov
7423f0bf50
[SecurityBundle] fixed missing argument EventDisplatcher in RememberMe service
2011-03-24 14:00:16 +03:00
Bernhard Schussek
5b41810b6d
Revert "[Form] Changed naming of Themes to ThemeEngines. Theme templates are now 'themes'"
...
This reverts commit 1efd680b68
.
2011-03-24 10:55:12 +01:00
Bernhard Schussek
5078a63c74
Revert "[Form] Fixed more naming of themes and theme engines"
...
This reverts commit 1aa34b7240
.
2011-03-24 10:54:47 +01:00
Fabien Potencier
0f231c33e5
[EventDispatcher] tagged the guaranteed BC API
2011-03-24 10:06:26 +01:00
Fabien Potencier
c60ee9fef1
[Finder] tagged the guaranteed BC API
2011-03-24 10:05:16 +01:00
Fabien Potencier
faf72269dd
Merge remote branch 'aurelijus/filefield_original_name'
...
* aurelijus/filefield_original_name:
get originalName before move call
2011-03-24 10:01:03 +01:00
Fabien Potencier
f5ab021386
Merge remote branch 'aurelijus/clear_name_for_goto'
...
* aurelijus/clear_name_for_goto:
removes unwanted characters from goto name
2011-03-24 10:00:31 +01:00
Fabien Potencier
e515913747
[DomCrawler] tagged the guaranteed BC API
2011-03-24 10:00:10 +01:00
Fabien Potencier
9206af1773
[Console] tagged the guaranteed BC API
2011-03-24 09:39:53 +01:00
Aurelijus
2ee47f3c69
get originalName before move call
2011-03-24 10:39:42 +02:00
Fabien Potencier
ff3c66753f
[BrowserKit] tagged the guaranteed BC API
2011-03-24 09:25:46 +01:00
Fabien Potencier
7280da8af2
[Process] fixed previous commit
2011-03-24 09:15:33 +01:00
Fabien Potencier
b2a8e35900
[Process] tagged the guaranteed BC API
2011-03-24 09:13:58 +01:00
Fabien Potencier
639d93cbbf
[Process] moved protected to private
2011-03-24 09:10:42 +01:00
Fabien Potencier
34cf511a1d
[Translation] tagged the guaranteed BC API
2011-03-24 09:07:52 +01:00
Aurelijus
38318f8f80
removes unwanted characters from goto name
2011-03-24 10:03:59 +02:00
Fabien Potencier
e0469d398d
[Yaml] tagged the guaranteed BC API
2011-03-24 09:02:09 +01:00
Fabien Potencier
8ab59f82db
[CssSelector] tagged thlassLoader]d BC API
2011-03-24 08:44:53 +01:00
Fabien Potencier
f58654c6fd
[CssSelector] tagged the guaranteed BC API
2011-03-24 08:40:47 +01:00
Fabien Potencier
eeca46dea0
[CssSelector] moved protected to private
2011-03-24 08:34:52 +01:00
Bernhard Schussek
9b6722222f
[Form] Improved internal structore of PropertyPathMapper
2011-03-24 00:15:59 +01:00
Bernhard Schussek
1aa34b7240
[Form] Fixed more naming of themes and theme engines
2011-03-23 22:51:37 +01:00
Bernhard Schussek
1efd680b68
[Form] Changed naming of Themes to ThemeEngines. Theme templates are now 'themes'
2011-03-23 22:34:58 +01:00
Fabien Potencier
06d00f36ba
Merge remote branch 'kriswallsmith/framework/protocol-relative-base-urls'
...
* kriswallsmith/framework/protocol-relative-base-urls:
[Templating] updated assets helper to leave protocol-relative URLs untouched
[FrameworkBundle] cleaned up test class
2011-03-23 22:03:48 +01:00
Bernhard Schussek
f71ae03143
[Form] AbstractType::getParent() returns 'form' by default now
2011-03-23 21:51:50 +01:00
Fabien Potencier
1fb08b6445
[Routing] fixed private method
2011-03-23 21:40:54 +01:00
Fabien Potencier
a6e6cbbb27
[HttpFoundation] removed the hardcoded ^ and $ from the RequestMatcher
2011-03-23 21:27:04 +01:00
Bernhard Schussek
c01419d856
Merge remote branch 'johnwards/renderer_tests' into renderer-tests-merge
2011-03-23 21:13:36 +01:00
Kris Wallsmith
55671be888
[Templating] updated assets helper to leave protocol-relative URLs untouched
2011-03-23 13:02:49 -07:00
Fabien Potencier
1b8dc80215
[HttpKernel] moved from protected to private
2011-03-23 19:47:16 +01:00
Fabien Potencier
e4a3e0c2c7
[Config] moved from protected to private (WIP)
2011-03-23 19:34:00 +01:00
Fabien Potencier
b5857528e0
[Routing] moved protected to private
2011-03-23 19:25:56 +01:00
Bernhard Schussek
9839aafb7d
Merge remote branch 'symfony/master' into experimental
2011-03-23 19:18:38 +01:00
Bernhard Schussek
08a09240f6
[Form] Fixed order of input and output timezone to a more natural one
2011-03-23 17:12:04 +01:00
Bernhard Schussek
a880f8d0d1
[Form] Fixed coding conventions
2011-03-23 16:14:53 +01:00
Fabien Potencier
662a4b3740
removed the status message from HttpException, changed the signature so that most useful arguments are first, fixed many small problems introduced with previous HTTP exception refactoring
...
Quote from HTTP (bis) spec (Part 2 - 5.1.1):
The Reason Phrase exists for the
sole purpose of providing a textual description associated with the
numeric status code, out of deference to earlier Internet application
protocols that were more frequently used with interactive text
clients. A client SHOULD ignore the content of the Reason Phrase.
2011-03-23 16:11:54 +01:00
Bernhard Schussek
9e025440ca
Merge remote branch 'johnwards/configuration' into configurable-merge
2011-03-23 16:05:16 +01:00
Fabien Potencier
abb99e9469
[HttpKernel] changed the abstract BaseHttpException to HttpException to allow the creation of any HTTP exception
2011-03-23 11:12:31 +01:00
Christophe Coevoet
cc036b4f2b
[Security] Removed useless method call
2011-03-23 00:02:57 +01:00
Christophe Coevoet
8b8bb66afe
[Security] Fixed some listeners not updated after the event refactoring
2011-03-22 23:56:46 +01:00
John Wards
85701b65af
[Form] Missing methods from interfaces
2011-03-22 22:20:14 +00:00
John Wards
1a014d130e
[Form] Tests for Renderer Plugins
2011-03-22 22:19:51 +00:00
John Wards
37f12f68da
[Form] The declaration and initialization (constructor) of the variables should be in the same class.
2011-03-22 20:54:15 +00:00
Fabien Potencier
e159c47cc9
[Routing] fixed UrlMatcher when no method requirement is defined
2011-03-22 20:56:55 +01:00
Fabien Potencier
af9c292001
Merge remote branch 'subsven/master'
...
* subsven/master:
re-add filename based directory filter to the AnnotationDirectoryLoader, now restricting to *.php files and therefore disregarding e.g. SVN metadata files
revert adding filename based filter to the directory resource
Eleminate the need to manually clear the cache if a new controller file containing routing annotations is added - part II * add unit tests * introduce filename filter to DirectoryResource (to restrict change monitoring to a subset of files) * modify AnnotationDirectoryLoader.php to use filename filter set on Controller\.php$
2011-03-22 19:52:55 +01:00
Fabien Potencier
68011c0dd6
[DependenInjection] fixed CS
2011-03-22 19:47:46 +01:00
Fabien Potencier
3c0ecf277e
Merge remote branch 'jaypea/PhpDumperFix'
...
* jaypea/PhpDumperFix:
Fixed PhpDumper isSimpleService and changed test fixtures
2011-03-22 19:46:58 +01:00
Sven Paulus
eb8491f754
re-add filename based directory filter to the AnnotationDirectoryLoader,
...
now restricting to *.php files and therefore disregarding e.g. SVN metadata
files
2011-03-22 18:23:54 +01:00
Jan Prieser
67aaf5ce91
Fixed PhpDumper isSimpleService and changed test fixtures
2011-03-22 17:01:03 +01:00
John Wards
e54973b5d4
[Form] Refactoring Types to use new DataTransfomer interface
2011-03-22 15:40:52 +00:00
Fabien Potencier
1991437766
Merge remote branch 'kriswallsmith/router/method-not-allowed'
2011-03-22 16:40:41 +01:00
Bernhard Schussek
ea0e5bb2d6
[Form] Renamed FieldTypeInterface to FormTypeInterface
2011-03-22 12:36:41 +01:00
Bernhard Schussek
270a98e413
[Form] Added support for types that are not registered in the DIC. These are identified by their FQ class name.
2011-03-22 12:33:15 +01:00
Sven Paulus
61974adb4f
revert adding filename based filter to the directory resource
2011-03-22 12:14:12 +01:00
Sven Paulus
f93e4b2d73
Eleminate the need to manually clear the cache if a new controller file containing routing annotations is added - part II
...
* add unit tests
* introduce filename filter to DirectoryResource (to restrict change monitoring to a subset of files)
* modify AnnotationDirectoryLoader.php to use filename filter set on Controller\.php$
2011-03-22 09:03:45 +01:00
John Wards
5a5fdd0529
Merge remote branch 'bernhard/experimental' into configuration
2011-03-22 07:43:47 +00:00
Bernhard Schussek
33692eae4a
[Form] Renamed Form::isTransformationSuccessful() to isSynchronized(). This method now indicates whether the data in the different representations is synchronized. Moved 'invalid' error to DefaultValidator
2011-03-22 02:03:22 +01:00
Bernhard Schussek
09da126464
[Form] Fixed validation.xml
2011-03-22 01:45:40 +01:00
Bernhard Schussek
16d65f6f16
[Form] Moved previously skipped tests from FormTypeTest to FormTest and fixed them
2011-03-22 01:40:02 +01:00
Bernhard Schussek
577e106361
[Form] Implemented custom mapping of data errors to form fields
2011-03-22 01:15:48 +01:00
John Wards
b4406f254d
[Form] Removing Configurable from DataTransformers
2011-03-21 23:01:10 +00:00
John Wards
7d7c36a178
[Form] More sensible constructor variable order
2011-03-21 21:42:34 +00:00
Bernhard Schussek
87665bc380
[Form] Decoupled FormBuilder from CSRF protection
2011-03-21 22:41:19 +01:00
John Wards
714f2173be
[Form] Coding conventions and use of the new variables
2011-03-21 21:39:59 +00:00
John Wards
3c80bc37df
[Form] Removing use of old class
2011-03-21 21:20:57 +00:00
John Wards
d8287a6dff
Merge remote branch 'bernhard/experimental' into experimental
2011-03-21 21:18:04 +00:00
John Wards
002a22df04
[Form] Refactoring DateTimeToStringTranformer not to use Configuration
2011-03-21 21:16:20 +00:00
Bernhard Schussek
c1abf08d9c
[Form] Implemented error bubbling
2011-03-21 22:13:02 +01:00
Bernhard Schussek
255eda5238
[Form] Renamed RecursiveFieldIterator to RecursiveFormIterator
2011-03-21 21:19:36 +01:00
Bernhard Schussek
3985522b9b
[Form] Removed obsolete classes Error and DataError
2011-03-21 21:19:31 +01:00
Bernhard Schussek
01a47457d0
[Form] Improved naming of various interfaces. Renamed DefaultRenderer to ThemeRenderer
2011-03-21 20:57:38 +01:00
Bernhard Schussek
321d40b21a
[Form] Decoupled FormBuilder from ThemeInterface
2011-03-21 20:46:43 +01:00
Bernhard Schussek
61804bbd8b
Merge remote branch 'symfony/master' into experimental
2011-03-21 20:27:39 +01:00
Fabien Potencier
6ace6af537
Merge remote branch 'mvrhov/variousFixes'
2011-03-21 16:57:34 +01:00
Kris Wallsmith
10dc18b28b
[HttpKernel] refactored HTTP exceptions to be more flexible
2011-03-21 05:57:35 -07:00
Kris Wallsmith
b2f5ac8beb
[Routing] refactored URL matching to support 405 Method Not Allowed responses
2011-03-21 05:56:53 -07:00
Johannes M. Schmitt
eb0d772743
[Security/Acl] removed remaining LIMIT clauses
2011-03-21 11:39:05 +01:00
Miha Vrhovnik
25e4193294
removed unused variable
2011-03-21 11:34:06 +01:00
Miha Vrhovnik
496280329b
changing phpdoc parameter to array as all variables are used in foreach
2011-03-21 11:28:38 +01:00
Miha Vrhovnik
33dd0da420
removed unused variables
2011-03-21 11:22:29 +01:00
Miha Vrhovnik
909a6bfc30
$user* was refactored to $accout*
2011-03-21 11:20:21 +01:00
Fabien Potencier
e4a636a885
[FrameworkBundle] refactored the cache:clear command
...
* removed the hack on the Kernel
* removed inheritance from the warmup command
* major cleanup
2011-03-21 11:03:55 +01:00
Miha Vrhovnik
fb814c666b
removed unused and undefined namespace and use statement
2011-03-21 10:45:34 +01:00
Miha Vrhovnik
a491af873b
removed unecessary use statements (ExceptionEvent was also undefined namespace)
2011-03-21 10:41:39 +01:00
Miha Vrhovnik
d1a2681531
fixing undefined class RuntimeException
2011-03-21 10:37:49 +01:00
Miha Vrhovnik
031ffaee6b
fixing undefined class UnsetKeyException
2011-03-21 10:33:27 +01:00
Fabien Potencier
82a5ae669e
[FrameworkBundle] fixed merge problem
2011-03-21 09:43:41 +01:00
Fabien Potencier
45f9c2fbf4
merged francisbesset:cache_clear_command
2011-03-21 09:24:16 +01:00
Johannes M. Schmitt
ede59926a4
Merge branch 'interactive-login-event' of git://github.com/yethee/symfony into security
2011-03-21 09:18:55 +01:00
Bernhard Schussek
acaa9c9058
[Form] Fixed signature of Form::addError()
2011-03-20 15:23:36 +01:00
Bernhard Schussek
6c9ff0a2a3
[Form] Improved naming of data conversion methods in Form and made them private
2011-03-20 15:22:37 +01:00
Bernhard Schussek
119866e06d
[Form] Renamed FormBuilder::getInstance() to getForm()
2011-03-20 15:17:25 +01:00
Bernhard Schussek
2dbb41714a
[Form] Merged Field and Form. Merged FieldBuilder and FormBuilder. After the refactoring, the distinction between the two concepts is small enough to merge them
2011-03-20 13:35:19 +01:00
Bernhard Schussek
fc7281bcab
[Form] Extracted validation logic of form. Fields can now contain multiple validators
2011-03-20 12:00:19 +01:00
Bernhard Schussek
cb599f417e
[Form] Renamed field option 'disabled' to 'read_only'. How to render read-only fields is now the responsibility of the renderer
2011-03-20 10:35:16 +01:00
Bernhard Schussek
b5656f1290
[Form] Renamed ObjectMapper to PropertyPathMapper
2011-03-20 10:29:23 +01:00
Bernhard Schussek
295d01745b
[Form] Renamed StripTagsFilter to StripTagsListener until we have better conventions
2011-03-20 10:26:38 +01:00
Bernhard Schussek
2c6c89d898
Merge remote branch 'beberlei/forms' into beberlei-merge
2011-03-20 10:15:59 +01:00