Bernhard Schussek
41c3aea668
Merge remote branch 'beberlei/FormRendererItrator' into beberlei-merge
2011-03-26 13:43:33 +01:00
Ryan Weaver
1910e23df8
[FrameworkBundle] Adding a title tag to make the default error page just a little bit longer so that chrome displays it
...
The background is that Chrome only displays the content returned on an error page if payload is at least 512 bytes.
Prior to this change, the 404 page was just a few bytes short, resulting in the Chrome error message instead of the
real one returned by Symfony (confusing for the user).
2011-03-26 07:36:03 -05: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
Fabien Potencier
124f1d8e44
moved the Filesystem class form FrameworBundle to HttpKernel (refactored it slightly)
2011-03-26 08:37:10 +01:00
Fabien Potencier
1a6f138fe8
[FrameworkBundle] simplified code
2011-03-26 08:22:29 +01:00
Fabien Potencier
3553ed89d4
Merge remote branch 'stealth35/use_filesystemiterator'
...
* stealth35/use_filesystemiterator:
simplify folders deletion
work with Traversable
added FilesystemIterator namespace
tab to spaces
use FilesytemIterator insteed opendir
2011-03-26 08:20:44 +01:00
Fabien Potencier
d9af9890a3
Merge remote branch 'umpirsky/master'
...
* umpirsky/master:
Fixed Russian translation according to suggestions on be63154655 (commitcomment-312900)
.
2011-03-26 08:17:23 +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
umpirsky
37d7c400ce
Fixed Russian translation according to suggestions on be63154655 (commitcomment-312900)
.
2011-03-25 10:56:41 -07:00
stealth35
41bdfe25c0
simplify folders deletion
2011-03-25 17:51:47 +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
stealth35
566320d1a9
work with Traversable
2011-03-25 15:58:27 +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
stealth35
280eca4af4
added FilesystemIterator namespace
2011-03-25 15:28:14 +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
Fabien Potencier
3a46ed58b3
Merge remote branch 'stealth35/use_splfileinfo'
...
* stealth35/use_splfileinfo:
tab to spaces
use SplFileInfo insteed fgetcsv
2011-03-25 14:50:19 +01:00
Kris Wallsmith
2e1924ec1c
[AsseticBundle] updated for Assetic changes
2011-03-25 06:14:20 -07:00
stealth35
dedf9b4fc0
tab to spaces
2011-03-25 13:38:09 +01:00
stealth35
4d62fd5e6c
tab to spaces
2011-03-25 13:35:59 +01:00
stealth35
58cd03cedf
use SplFileInfo insteed fgetcsv
2011-03-25 11:51:32 +01:00
stealth35
bdaee9dd09
use FilesytemIterator insteed opendir
2011-03-25 11:38:24 +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
Fabien Potencier
043988f670
Merge remote branch 'aurelijus/wrong_arguments_for_exception'
...
* aurelijus/wrong_arguments_for_exception:
removed 0
Updated arguments for MethodNotAllowedHttpException
2011-03-25 06:59:44 +01:00
Fabien Potencier
6051577b7e
Merge remote branch 'kriswallsmith/framework/asset-packages-fix'
...
* kriswallsmith/framework/asset-packages-fix:
[FrameworkBundle] fixed build of config for asset packages
2011-03-25 06:57:53 +01:00
Fabien Potencier
e5a5c63050
Merge remote branch 'bschussek/rename-execute'
...
* bschussek/rename-execute:
[Form] Fixed validation.xml
[Validator] Added support for static callbacks to Callback constraint
[Validator] Renamed Execute constraint to Callback
2011-03-25 06:57:17 +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
9c4095a356
[FrameworkBundle] AddFormTypesPass now uses the service ID as alias if no alias is given
2011-03-25 02:18:21 +01:00
Bernhard Schussek
40ee22c8b4
[Form] Fixed call to DataEvent::getForm() in Doctrine bridge
2011-03-25 02:17:40 +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
Antoine Hérault
614cf4c7b0
Remove kernel from the web debug toolbar
2011-03-25 00:15:19 +01:00
Bernhard Schussek
50642bb830
[Form] Added EntityType DIC configuration to DoctrineBundle
2011-03-24 23:35:02 +01:00
Kris Wallsmith
2f8d5cd1c0
[FrameworkBundle] fixed build of config for asset packages
2011-03-24 15:18:50 -07: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
Aurelijus
e2492a4879
removed 0
2011-03-24 16:21:55 +02:00
Aurelijus
8f3b3a760d
Updated arguments for MethodNotAllowedHttpException
2011-03-24 16:17:34 +02: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
Christophe Coevoet
885d9584c8
[MonologBundle] Added some compiled classes and moved public methods before private ones
2011-03-24 13:45:14 +01:00
Fabien Potencier
e232218eed
[Console] fixed PHP notice
2011-03-24 13:30:27 +01:00
Christophe Coevoet
a46074191b
[MonologBundle] Added support of SyslogHandler
2011-03-24 13:29:07 +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
Kris Wallsmith
d3792e2ec8
[FrameworkBundle] cleaned up test class
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
Fabien Potencier
9595963c2b
[Routing] changed interface of the router twig extension as we don't need a full router
2011-03-23 16:27:08 +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
82dec51b30
moved integration between the Yaml component and Twig to a Symfony Bridge
2011-03-23 15:50:55 +01:00
Fabien Potencier
e912b347f0
moved integration between the Translation component and Twig to a Symfony Bridge
2011-03-23 15:23:52 +01:00
Fabien Potencier
3e5bd67dac
moved integration between Routing and Twig to a Symfony Bridge
2011-03-23 15:16:57 +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
Fabien Potencier
a2294106fb
fixed finding resources under the main app/ directory
...
* Now, all resources can be stored globally (templates, assets, ...)
* The new directory is app/Resources/...
2011-03-23 09:04:21 +01:00
Fabien Potencier
72854cfbcf
[AsseticBundle] replace usage of the Unix specific 'rm -rf' by usage of the Filesystem class
2011-03-23 08:24:58 +01:00
Fabien Potencier
3ca23c92ff
Merge remote branch 'weaverryan/controller-cannot-find-exception'
...
* weaverryan/controller-cannot-find-exception:
[FrameworkBundle] Giving a more specific message when a Bundle:Controller:Action controller class cannot be found
2011-03-23 07:13:45 +01:00
Fabien Potencier
1479c25a8a
Merge remote branch 'stof/security_events'
...
* stof/security_events:
[Security] Removed useless method call
[Security] Fixed some listeners not updated after the event refactoring
2011-03-23 07:08:13 +01:00
Fabien Potencier
cbe1f6f763
[FrameworkBundle] fixed cache:clear command for non-namespaced AppKernel classes
2011-03-23 07:06:36 +01:00
Ryan Weaver
98d03d1aec
[FrameworkBundle] Giving a more specific message when a Bundle:Controller:Action controller class cannot be found
...
It's a detail, but it hits usability. For normal bundles (those without children), we're able to actually print the namespace where we're looking for the Controller. For bundles with children, this would be a very verbose message, but we can at least print all of the bundles that we looked inside of.
2011-03-22 22:10:45 -05: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
Fabien Potencier
20245da86d
[FrameworkBundle] fixed cache_warmer configuration
2011-03-22 22:56:46 +01: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
Fabien Potencier
0ca1d1a8cd
[FrameworkBundle] fixed CS
2011-03-22 19:46:08 +01:00
lenar
6ec84bad76
namespaced Kernel support for cache:clear
2011-03-22 19:45:17 +01:00
Kris Wallsmith
517ce9c923
[AsseticBundle] added basic support for globs to bundle notation
2011-03-22 11:32:21 -07: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
Fabien Potencier
bb206a7b7b
[FrameworkBundle] fixed profiler on requests for which no route matches
2011-03-22 16:57:37 +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
Fabien Potencier
ecceea57f7
Merge remote branch 'kriswallsmith/assetic/mkdir-fix'
2011-03-22 16:27:12 +01:00
Kris Wallsmith
c565a33a4d
[AsseticBundle] fixed directory creation when writing assets
2011-03-22 08:16:17 -07:00
Fabien Potencier
46fc044d32
Merge remote branch 'thesalla/generate_repos_fix'
2011-03-22 16:12:29 +01:00
Fabien Potencier
2b9b409a74
Merge remote branch 'snc/clear_cache_meta'
2011-03-22 16:11:50 +01:00
Fabien Potencier
b0cee4527a
Merge remote branch 'weaverryan/controller_redirect'
2011-03-22 16:10:56 +01:00
Ryan Weaver
9ee9f5552b
[FrameworkBundle] Adding the redirect method back to the base controller
...
Some question whether or not the base Controller should be included at all. I think it absolutely must be included because it's important for beginners and for rapid development of smaller features/applications (and rapid development is good for beginners).
So, assuming that we *do* like the base Controller, we should really use it to its fullest potential - making the lives of developers as easy as possible.
2011-03-22 08:21:07 -05:00
Bernhard Schussek
0ede9198ea
Merge remote branch 'symfony/master' into experimental
2011-03-22 12:39:12 +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
Fabien Potencier
8f44c530f9
Merge remote branch 'FabienD/fix-doctrine-entities-filter'
2011-03-22 11:12:14 +01:00
Fabien Potencier
393f863e19
Merge remote branch 'ornicar/fixCacheClearCommandHelp'
2011-03-22 11:06:45 +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
FabD
01ac10fb6e
Fix DoctineBundle "doctrine:generate:entities" filter
2011-03-22 08:05:42 +01:00
Kris Wallsmith
0f9f82d1ec
[AsseticBundle] added missing compiler pass
2011-03-21 21:51:40 -07: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
1c5bbb5426
Merge remote branch 'johnwards/experimental' into johnwards-merge
2011-03-21 22:14:59 +01:00
Bernhard Schussek
c1abf08d9c
[Form] Implemented error bubbling
2011-03-21 22:13:02 +01:00
John Wards
31647d3662
[TwigBundle] Changed twig variable from 'this' to 'renderer'
2011-03-21 20:46:19 +00: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
ornicar
1061194abf
[FrameworkBundle] Fix CacheClearCommand help message
2011-03-21 09:21:47 -07:00
Fabien Potencier
6ace6af537
Merge remote branch 'mvrhov/variousFixes'
2011-03-21 16:57:34 +01:00
Fabien Potencier
2c99ffe145
Merge remote branch 'everzet/mongodb-commands-help-fix'
2011-03-21 16:54:25 +01:00
Fabien Potencier
c8ebb3f0c3
Merge remote branch 'dator/change_twig_if_datacollector'
2011-03-21 16:53:47 +01:00
Fabien Potencier
0ee68156b5
Merge remote branch 'schmittjoh/security'
2011-03-21 16:53:33 +01:00
everzet
da80c2867a
[DoctrineMongoDBBundle] fixed wrong command names in commands help messages
2011-03-21 17:41:28 +02:00
Kris Wallsmith
2217a0d7e4
[FrameworkBundle] updated to support 405 Method Not Found responses
2011-03-21 05:58:02 -07: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
Miha Vrhovnik
9c0ae0ceaf
$emName is supposed to be $dmName
2011-03-21 11:50:56 +01:00
Miha Vrhovnik
a144a83405
refactored if elseif to switch and throw an exception on unknown option
2011-03-21 11:48:53 +01: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
Fabien Potencier
85778caba1
[FrameworkBundle] added --without-debug option to cache:clear as the debug flag value can be different from the one used for the command execution (think generating the prod cache but still with debug information when running the command)
2011-03-21 11:29:20 +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
Miha Vrhovnik
5a620c0573
unless I'm missing something the first instance of loader is not used and thus not needed
2011-03-21 11:11:49 +01:00
Miha Vrhovnik
e9e0f9f102
fixing undefined variable name, and removing unexisting namespace. I backtraced code to the actal mongodb maping clas and it doesn't seem to throw any exceptions, but just in case I'm catching the general \Exception
2011-03-21 11:04:52 +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
e57075ea60
removed unused and undefined namespace and use statement
2011-03-21 10:50:13 +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
Miha Vrhovnik
fb9944ee6b
Fixing Undefined variable: writeEvent
2011-03-21 10:29:11 +01:00
Fabien Potencier
9cf9f674e8
[FrameworkBundle] simplified cache:clear and cache:warmup implementations
2011-03-21 10:03:58 +01:00
Fabien Potencier
e520956624
[FrameworkBundle] fixed help for cache:warmup
2011-03-21 10:03:32 +01:00
Fabien Potencier
82a5ae669e
[FrameworkBundle] fixed merge problem
2011-03-21 09:43:41 +01:00
Fabien Potencier
5a528bcb55
[FrameworkBundle] change cache:clear warmup option to no-warmup as most of the time people will want to use the warmup version (especially in production env)
2011-03-21 09:39:28 +01:00
Fabien Potencier
00d47889a2
[FrameworkBundle] removed hardcoded AppKernel class name
2011-03-21 09:33:58 +01:00
Fabien Potencier
b00a903858
[FrameworkBundle] removed clearDir() method in some commands (use Filesystem::remove() instead)
2011-03-21 09:31:04 +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
Clément Jobeili
34e3574e2b
[SwiftmailerBundle] Change Twig if syntax in panel info
2011-03-21 09:16:28 +01:00
Fabien Potencier
3f7564b00c
Merge remote branch 'shieldo/toolbar_alignment'
2011-03-21 09:07:23 +01:00
Clément Jobeili
f8dead7782
Change Message sent text to Message spooled if we are in a spool context
2011-03-21 09:01:50 +01:00
Douglas Greenshields
53a9997e23
[WebProfilerBundle] added explicit left horizontal alignment for toolbar in CSS to prevent inconsistent alignment
2011-03-20 21:34:07 +00:00
H. Westphal
06bfe82bc1
Added doctrine:mongodb:cache:clear-metadata command.
2011-03-20 17:23:47 +01:00
Christophe Coevoet
d5f2bc5d5a
[MonologBundle] Added an exception when a handler is named "debug"
2011-03-20 17:18:05 +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
Christophe Coevoet
410837e897
[MonologBundle] Removed the name for the processors configuration as it is not used
2011-03-20 01:29:39 +01:00
Christophe Coevoet
5aaf8bc1b1
Added support of custom handlers defined as services
2011-03-19 23:41:46 +01:00
Christophe Coevoet
9d3acf3073
[MonologBundle] Added the support for formatters and processors
...
The formatter can be set for an handler. The argument is the id of a
service implementing Monolog\Formatter\FormatterInterface.
Processors can be set on the logger level or for a specific handler. It
can be either a callable service when the value starts with @ either a
callback.
2011-03-19 22:34:45 +01:00
Benjamin Eberlei
b43318ee3e
[Form] Add tests for untested classes.
2011-03-19 22:03:49 +01:00
Benjamin Eberlei
d62213662e
Merge branch 'experimental' of git://github.com/bschussek/symfony into forms
2011-03-19 20:36:56 +01:00
Benjamin Eberlei
864a3ec45f
[Form] Add StripTagsFilter EventListener
2011-03-19 20:36:49 +01:00
Bernhard Schussek
a1c3d21d0e
[Form] Added comment
2011-03-19 19:56:18 +01:00
Bernhard Schussek
e9cb19721a
[Form] Optimized code in Form to remove one event listener
2011-03-19 19:53:39 +01:00
Bernhard Schussek
fb2db58801
[Form] Added fluid interface for inline adding of sub-builders to a builder
2011-03-19 19:44:45 +01:00
Bernhard Schussek
6793bcd698
[Form] Removed magic from method signature of add()
2011-03-19 19:20:55 +01:00
Bernhard Schussek
c4b7a77ece
Merge remote branch 'beberlei/forms' into beberlei-merge
...
Conflicts:
src/Symfony/Component/Form/Type/Loader/DefaultTypeLoader.php
2011-03-19 19:01:57 +01:00
Bernhard Schussek
3586268bc2
[Form] Renamed field types. They are now always the name of the type with a 'Type' suffix
2011-03-19 18:31:24 +01:00
Bernhard Schussek
65353bd81e
[Form] Fixed failing choice field tests
2011-03-19 18:22:08 +01:00
Benjamin Eberlei
c05b3c440d
[Form] Add DefaultFormFactory for convenience usage outside of a DIC context.
2011-03-19 18:14:15 +01:00
Benjamin Eberlei
39c2d3f166
[Form] Add PhpTheme that relies on no Template Engine, generalize tests to use for PhpTheme and PhpEngineTheme. Fixed some bugs
2011-03-19 17:47:18 +01:00
Christophe Coevoet
32836eac01
[MonologBundle] Changed the way to specify the nested handler to give more flexibility for further handlers
2011-03-19 17:41:00 +01:00
Fabien Potencier
a505ff43b5
[Routing] added supported for multiple route annotations for a single controller
2011-03-19 17:40:24 +01:00
Bernhard Schussek
43a24fa931
[Form] Renamed events to match terminology in Field
2011-03-19 16:59:23 +01:00
Bernhard Schussek
0259d4da1e
[Form] Moved namespace DataValidator to Validator
2011-03-19 16:54:07 +01:00
Bernhard Schussek
7f9284105d
[Form] Moved namespace FieldGuesser to Type\Guesser
2011-03-19 16:46:03 +01:00
Benjamin Eberlei
af60ddf8ad
Moved PhpTheme to FrameworkBundle and renamed to PhpEngineTheme
2011-03-19 15:27:39 +01:00
Benjamin Eberlei
32e1a7c8f9
Merge bschussek/experimental into branch forms.
2011-03-19 15:18:52 +01:00