Fabien Potencier
dc85727b5a
[DoctrineBundle] added an auto-mapping option to let Symfony register all enabled bundle mappings
...
Most of the time, you just want to register all your bundle mappings. It's a bit
tedious to do it by hand, not because of the amount of configuration you need to
type, but mainly because you can easily forget to do so
(also see https://github.com/symfony/symfony/pull/502 ).
So, setting auto_mapping to true allows Symfony to automatically register the mappings
it founds in the enabled bundles (default is false).
Even if auto_mapping is true, you can still define your mappings to add some more
or to override the defaults.
This change means that the default configuration that works most of the time for
most people is simple:
orm:
auto_mapping: true
2011-04-27 17:41:36 +02:00
Fabien Potencier
32070f5f68
[DoctrineBundle] fixed service visibility
2011-04-27 17:35:12 +02:00
Joel Wurtz
f11cc2de0b
[Seriliazer] [XmlEncoder] Optimize conditions
2011-04-27 08:00:31 -07:00
sasezaki
3d85db8fbc
fixed typoe on Exception message
2011-04-27 23:04:13 +09:00
Joel Wurtz
b6a9935314
[Serializer] [XmlEncoder] Allow decoder to extract attributes in root element
2011-04-27 06:34:41 -07:00
Fabien Potencier
71330e91d0
[DoctrineBundle] simplified code
2011-04-27 13:51:22 +02:00
Fabien Potencier
0f5f28c039
Merge remote branch 'Brouznouf/patch-1'
...
* Brouznouf/patch-1:
[Serializer] Fix bug when denormalize a class in cache
2011-04-27 13:37:49 +02:00
Fabien Potencier
ffd8c31f3a
[DoctrineBundle] reindented some code for clarity
2011-04-27 12:46:25 +02:00
Fabien Potencier
059104a9e7
[DoctrineBundle] added back the possibility to define a single entity manager with a shorter syntax (same reasonning as the previous commit for DBAL)
2011-04-27 12:27:44 +02:00
Fabien Potencier
3f1d969fcd
[DoctrineBundle] fixed a unit test
2011-04-27 12:26:54 +02:00
Joel Wurtz
a56e271025
[Serializer] Fix bug when denormalize a class in cache
2011-04-27 03:24:52 -07:00
Fabien Potencier
e63c2e2315
[DoctrineBundle] added back the possibility to easily define one DBAL connection
...
The reasonning reads as follows:
Most users will only ever use one database connection (and probably one entity manager for that matter).
So, this most common use case should be as easy as possible to configure.
This is BC.
Before:
doctrine:
dbal:
default_connection: default
connections:
default:
driver: pdo_mysql
dbname: Symfony2
user: root
password: null
After (optional):
doctrine:
dbal:
driver: pdo_mysql
dbname: Symfony2
user: root
password: null
2011-04-27 12:15:22 +02:00
Fabien Potencier
7395069b60
[DoctrineBundle] cleaned up code
2011-04-27 10:50:56 +02:00
Fabien Potencier
03511dea5c
[DoctrineBundle] removed the possibility to define an empty configuration for the DBAL (which does not make sense in real-life)
2011-04-27 10:37:08 +02:00
Fabien Potencier
55f9e6fb99
[DoctrineBundle] tweaked various exceptions to make it clear that the issue is related to Doctrine
2011-04-27 10:37:01 +02:00
Fabien Potencier
631393e29d
[DoctrineBundle] fixed CS
2011-04-27 10:15:03 +02:00
Fabien Potencier
aab56fa91e
[DoctrineBundle] moved some more definition to abstract definition
2011-04-27 10:15:02 +02:00
Fabien Potencier
f1b43450c3
[DoctrineBundle] removed parameters from orm.xml as they already have default values in the Configuration class
2011-04-27 10:14:59 +02:00
Fabien Potencier
35a32440c7
[DoctrineBundle] converted DBAL definition templates to abstract definitions
2011-04-27 09:47:43 +02:00
IamPersistent
22fd08531c
Merge branch 'master' into acl
2011-04-27 00:36:43 -07:00
Victor Berchet
d350e01e33
File & UploadedFile tweaks
2011-04-27 09:10:41 +02:00
Fabien Potencier
00bfd10ca9
[HttpFoundation] refactored File management to be safer
2011-04-27 08:50:33 +02:00
Fabien Potencier
b7cd7115d1
[HttpFoundation] removed protected methods that were not used
2011-04-27 08:04:10 +02:00
Fabien Potencier
5bb9da4b6d
[HttpFoundation] renamed getDefaultExtension() to guessExtension()
...
The renamed method now returns null if it cannot guess the extension. It allows
the developper to know whether the extension has been guessed or not.
2011-04-27 08:03:19 +02:00
Fabien Potencier
a26de5ba58
[HttpFoundation] fixed CS
2011-04-27 08:03:15 +02:00
Fabien Potencier
854fbd7f68
[HttpFoundation] use realpath to ensure that there is no .. in file path (to match phpdoc)
2011-04-27 07:58:54 +02:00
Fabien Potencier
9f846997ef
Merge remote branch 'Infranology/normalize-bools'
...
* Infranology/normalize-bools:
capitalized 'boolean'
replaced 'bool' with 'Boolean'
2011-04-27 07:48:12 +02:00
Eriksen Costa
164ce5210d
capitalized 'boolean'
2011-04-27 02:35:10 -03:00
Eriksen Costa
4db0752894
replaced 'bool' with 'Boolean'
2011-04-27 02:35:03 -03:00
IamPersistent
806c534560
add provider to configuration
2011-04-26 21:57:17 -07:00
IamPersistent
ebcd6f4563
update DI to handle change in config and another provider
2011-04-26 21:57:17 -07:00
IamPersistent
314f361846
separate dbal specific acl config
2011-04-26 21:57:17 -07:00
Fabien Potencier
aa3ec504ae
removed File::getWebPath()
...
This has been removed for several reasons:
* the framework does not know where the document root is and should not care
* as the document root was static, it was impossible to have several document roots depending on some business rules (see next one)
* sometimes, the document root is not under the web root directory (so the logic of getWebPath() is not always correct)
* the feature was not used anywhere in the core
2011-04-27 06:49:05 +02:00
Francis Besset
886149fa00
[Validator] Refactoring DateTimeValidator and DateValidator
2011-04-27 00:14:31 +02:00
Francis Besset
c6d39ed61f
[Validator] Date: check if the value is a DateTime instance
2011-04-27 00:09:57 +02:00
Benoît Merlet
d9ac718b97
fixed typo
2011-04-26 19:54:39 +02:00
Fabien Potencier
28aa8e729a
[FrameworkBundle] fixed typo
2011-04-26 18:27:51 +02:00
Kris Wallsmith
5dc1a9bb58
[Process] added optional argument for default executable
2011-04-26 07:45:16 -07:00
Kris Wallsmith
97f66e93ac
[HttpKernel] added check of default extension alias convention
2011-04-26 07:17:45 -07:00
Fabien Potencier
4bef9995c6
fixed typo
2011-04-26 16:02:24 +02:00
Jordi Boggiano
d11b7baa7e
[Form] Use proper transformation exception in case of failure
2011-04-26 16:02:01 +02:00
Fabien Potencier
f29ddad5ba
removed unused file
2011-04-26 15:38:09 +02:00
Fabien Potencier
0ac679e73c
Merge remote branch 'markchalloner/master'
...
* markchalloner/master:
[Validator] Updated ContraintViolationList ArrayAccess setter to check equivalence to null instead of using is_null
Implemented ArrayAccess interface
2011-04-26 15:34:47 +02:00
Fabien Potencier
e2741cefc4
[Process] changed ExecutableFinder to return false instead of throwing an exception when the executable is not found
...
I've made the change as the executable goal is to find the executable. The fact that it does not find it is
part of the contract and it is not exceptional.
2011-04-26 15:18:24 +02:00
Fabien Potencier
f12146d0ec
Merge remote branch 'schmittjoh/process'
...
* schmittjoh/process:
[Process] use component exception
[Process][Assetic] refactored some code to allow for better executable defaults
2011-04-26 15:01:29 +02:00
Fabien Potencier
e45d5fa857
merged vicb:template-factorization
2011-04-26 14:38:47 +02:00
Fabien Potencier
fe03671c2c
Merge remote branch 'vicb/cast-array'
...
* vicb/cast-array:
Make casting scalar to array consistent
2011-04-26 14:32:53 +02:00
Fabien Potencier
fc2c1578ac
Merge remote branch 'kriswallsmith/assetic/twig-functions'
...
* kriswallsmith/assetic/twig-functions:
[AsseticBundle] added a listener to add common image request formats when use_controller is on
[AsseticBundle] added a node visitor to wrap runtime filter functions with runtime use_controller check
[AsseticBundle] added support for Twig functions
2011-04-26 14:31:16 +02:00
Fabien Potencier
98e70f0963
[Routing] Route collection prefixes must start with a / and must not end with a /
2011-04-26 14:27:55 +02:00
Michel Weimerskirch
87c609b4a4
Fix DateTimeType by adding missing default options
2011-04-26 14:21:00 +02:00
Fabien Potencier
b80bb9c7ab
[DoctrineBundle] removed doctrine.dbal.types parameter
2011-04-26 13:41:07 +02:00
Fabien Potencier
dead820d77
Merge remote branch 'xmontana/master'
...
* xmontana/master:
Validator messages: added Catalan translation
2011-04-26 12:39:41 +02:00
Fabien Potencier
175f944f93
[DependencyInjection] added NonExistentParameterException that indicates where a non-existent parameter is being used
2011-04-26 12:36:25 +02:00
Fabien Potencier
e68f8f40b9
[DoctrineBundle] renamed DIC class parameters (they end with .class instead of _class to follow the convention of other bundles)
2011-04-26 12:22:22 +02:00
Victor Berchet
f83e92bf44
Make casting scalar to array consistent
2011-04-26 12:16:35 +02:00
Xmontana
dacfa633f6
Validator messages: added Catalan translation
2011-04-26 11:56:55 +02:00
Fabien Potencier
647efcffda
Merge remote branch 'lsmith77/default_false'
...
* lsmith77/default_false:
cosmetic tweak (use defaultFalse() instead of defaultValue(false))
2011-04-26 10:02:40 +02:00
Fabien Potencier
fefee0d5e5
[Routing] fixed URL generation when an optional variable value is 0
2011-04-26 09:50:57 +02:00
Lukas Kahwe Smith
dbdf4ad750
cosmetic tweak (use defaultFalse() instead of defaultValue(false))
2011-04-26 09:50:41 +02:00
Kris Wallsmith
7dfe286897
[AsseticBundle] coding standard and comment tweaks
2011-04-26 00:18:22 -07:00
Kris Wallsmith
f9c300e8db
[AsseticBundle] added a listener to add common image request formats when use_controller is on
2011-04-26 00:05:35 -07:00
Fabien Potencier
035afc1f4e
[Routing] fixed regression in Routing matching algorithm
2011-04-26 09:01:25 +02:00
Kris Wallsmith
a005796d3b
[AsseticBundle] added a node visitor to wrap runtime filter functions with runtime use_controller check
2011-04-25 23:46:01 -07:00
Fabien Potencier
ee89163858
Merge remote branch 'mweimerskirch/validators_translations'
...
* mweimerskirch/validators_translations:
[FrameworkBundle] Validator messages: added German translation
[FrameworkBundle] Validator messages: added Luxembourgish translation
2011-04-26 07:11:29 +02:00
Fabien Potencier
0493b669f7
Merge remote branch 'udat/110425-fixes'
...
* udat/110425-fixes:
[Bridge][Twig] removed unused argument passed to setRendered() method
[Translation] removed unnecessary default parameter value
[Templating] removed unused argument passed to setRendered() method
[HttpKernel] removed unused argument passed to ClosureLoader constructor
[BrowserKit] fixed typo
[Routing] removed redundant parameter in addRoute method
2011-04-26 07:11:07 +02:00
Kris Wallsmith
7a7b448680
[HttpKernel] added BundleInterface::getContainerExtension() which is implicitly loaded
2011-04-25 21:12:35 -07:00
Michel Weimerskirch
246ad1b03f
[FrameworkBundle] Validator messages: added German translation
2011-04-25 23:14:50 +02:00
Michel Weimerskirch
45dd5f33ed
[FrameworkBundle] Validator messages: added Luxembourgish translation
2011-04-25 23:13:04 +02:00
Artur Kotyrba
d506a55b40
[Bridge][Twig] removed unused argument passed to setRendered() method
2011-04-25 22:58:23 +02:00
Artur Kotyrba
88e78e6f44
[Translation] removed unnecessary default parameter value
2011-04-25 22:58:23 +02:00
Artur Kotyrba
05698f66a2
[Templating] removed unused argument passed to setRendered() method
2011-04-25 22:58:23 +02:00
Artur Kotyrba
f9f02a9047
[HttpKernel] removed unused argument passed to ClosureLoader constructor
2011-04-25 22:58:23 +02:00
Artur Kotyrba
533e2d994b
[BrowserKit] fixed typo
2011-04-25 22:58:23 +02:00
Artur Kotyrba
713e8c26a6
[Routing] removed redundant parameter in addRoute method
2011-04-25 22:58:23 +02:00
Francis Besset
291c35cd45
[FrameworkBundle] Fixed french validators messages
2011-04-25 21:19:11 +02:00
Fabien Potencier
3ab5a51e17
Merge remote branch 'Seldaek/monolog_firephp'
...
* Seldaek/monolog_firephp:
[MonologBundle] Added FirePHPHandler support
[MonologBundle] Only compile files if any handler is registered
2011-04-25 20:55:50 +02:00
Fabien Potencier
7dd64e4c21
Merge remote branch 'kriswallsmith/assetic/compass'
...
* kriswallsmith/assetic/compass:
[AsseticBundle] added configuration for compass filter
2011-04-25 20:54:21 +02:00
Fabien Potencier
d6bdb7af88
Merge remote branch 'vicb/tweaks_110425'
...
* vicb/tweaks_110425:
[AsseticBundle] Remove an unused property
[Cache warmers] A few tweaks
2011-04-25 20:54:08 +02:00
Fabien Potencier
a91279fbaa
Merge remote branch 'Infranology/cs-typo-fixes'
...
* Infranology/cs-typo-fixes:
fixed typos and CS
2011-04-25 20:53:18 +02:00
Jordi Boggiano
f4d1196666
[MonologBundle] Added FirePHPHandler support
2011-04-25 17:48:23 +02:00
Jordi Boggiano
3bca4b73e5
[MonologBundle] Only compile files if any handler is registered
2011-04-25 17:47:51 +02:00
Fabien Potencier
944a98086e
[Routing] optimized PHP route dumper
2011-04-25 17:45:59 +02:00
Kris Wallsmith
f3728744b4
[AsseticBundle] added support for Twig functions
2011-04-25 08:37:07 -07:00
Kris Wallsmith
d948361ed6
[AsseticBundle] added configuration for compass filter
2011-04-25 07:39:07 -07:00
Fabien Potencier
7c95bda751
[Routing] simplified route compiler
2011-04-25 12:38:20 +02:00
Victor Berchet
4de2b84923
[AsseticBundle] Remove an unused property
2011-04-25 11:57:46 +02:00
Victor Berchet
829bc54392
[Cache warmers] A few tweaks
2011-04-25 11:57:41 +02:00
Eriksen Costa
888eaf1b2f
fixed typos and CS
2011-04-25 02:17:15 -03:00
Fabien Potencier
59c6609aec
Merge remote branch 'vicb/service-event'
...
* vicb/service-event:
[FrameworkBundle] Optimization of the method ContainerAwareEventDispacther::dispatch()
[FrameworkBundle] Fix an issue with ContainerAwareEventDispatcher when re-entering a scope
2011-04-24 22:06:56 +02:00
Fabien Potencier
889c422d6e
Merge remote branch 'igorw/ipv6'
...
* igorw/ipv6:
[HttpFoundation] minor optimization
minor adjustments suggested by vicb
[HttpFoundation] IPv6 support for RequestMatcher
[HttpFoundation] refactor RequestMatcherTest to use dataProvider
[Validator] use full iPv6 regex
[Validator] add IPv6 support to UrlValidator
[HttpFoundation] add IPv6 support to Request
[HttpFoundation] test Request::create with an IP as host name
[HttpFoundation] refactor Request::getClientIp test
2011-04-24 22:04:25 +02:00
Fabien Potencier
36a63be0a5
Merge remote branch 'dustinwhittle/master'
...
* dustinwhittle/master:
[Classloader] Added phpdoc with example usage + refactored unit tests fixtures
[Classloader] Refactored ApcUniversalClassLoader to use setUp() to detect APC
[Classloader] Fixed typo + coding standards in ApcUniversalClassLoader test
[Classloader] Fixed APC class loader + added unit tests
2011-04-24 22:02:59 +02:00
Fabien Potencier
c0a160b5f9
partially reverted previous merge
2011-04-24 22:02:19 +02:00
Fabien Potencier
c6e0ccfdcd
Merge remote branch 'pborreli/form-typo'
...
* pborreli/form-typo:
[Form] Fixed typos
2011-04-24 21:56:47 +02:00
Fabien Potencier
f251eab92f
Revert "[Form] added a way to register a Form extension after creation of the FormFactory"
...
This reverts commit 2b8c7f84b5
.
2011-04-24 21:56:06 +02:00
Fabien Potencier
2f3ddb88ef
Merge remote branch 'bschussek/form'
...
* bschussek/form:
[Form] Automatically setting "data_class" option if objects are passed at the creation of a form
[Form] Improved the way passed data is handled in FormFactory
[Form] Simplified FileType code
[HttpFoundation] TemporaryStorage automatically creates the directory if it doesn't exist yet
[Form] Changed FormBuilder::build() to FormBuilder::create(). You hvae to pass the resulting builder to FormBuilder::add() manually now
[Form] Added FieldTypeValidatorExtension and fixed FQCN of DelegatingValidator
2011-04-24 21:53:24 +02:00
Pascal Borreli
06b3c386d9
[Form] Fixed typos
2011-04-24 14:05:16 +00:00
Dustin Whittle
e8bb64c17c
[Classloader] Added phpdoc with example usage + refactored unit tests fixtures
2011-04-24 07:00:27 -07:00
Dustin Whittle
dbb5ca459d
[Classloader] Fixed APC class loader + added unit tests
2011-04-24 07:00:26 -07:00
Fabien Potencier
08bf2af455
fixed email
2011-04-24 13:59:46 +02:00
Bernhard Schussek
e790587dc2
[Form] Automatically setting "data_class" option if objects are passed at the creation of a form
...
$form = $this->get('form.factory')->create(new PostType(), $post);
2011-04-24 13:38:12 +02:00
Bernhard Schussek
d58c610833
[Form] Improved the way passed data is handled in FormFactory
2011-04-24 13:32:29 +02:00
Fabien Potencier
4ed8d4f6b5
[Routing] fixed URL generation when a non-optional variable is empty
2011-04-24 13:06:02 +02:00
Bernhard Schussek
335f7e776a
[Form] Simplified FileType code
2011-04-24 12:08:56 +02:00
Bernhard Schussek
19073ae655
[HttpFoundation] TemporaryStorage automatically creates the directory if it doesn't exist yet
2011-04-24 12:08:56 +02:00
Bernhard Schussek
675e5ded9e
[Form] Changed FormBuilder::build() to FormBuilder::create(). You hvae to pass the resulting builder to FormBuilder::add() manually now
...
$builder->add(
$builder->create('child', 'form')
->add('foo', 'text')
->add('bar', 'text')
);
2011-04-24 12:08:50 +02:00
Bernhard Schussek
4f2fee8190
Merge remote branch 'tna/form-validation' into form
2011-04-24 10:43:15 +02:00
Fabien Potencier
8eb1dfc6a0
[Translation] forced translated id to strings
2011-04-24 09:42:41 +02:00
Fabien Potencier
b906cb59b8
Merge remote branch 'lsmith77/getAllPrevious'
...
* lsmith77/getAllPrevious:
renamed getPreviouses() to getAllPrevious
2011-04-24 08:46:54 +02:00
Fabien Potencier
823be5d956
Merge remote branch 'ornicar/fixDelegatingValidatorNamespace'
...
* ornicar/fixDelegatingValidatorNamespace:
[Form] Fix DelegatingValidator namespace
2011-04-24 08:45:50 +02:00
Fabien Potencier
27ae0a341d
Merge remote branch 'weaverryan/form_tweaks'
...
* weaverryan/form_tweaks:
[Form] Removing an unused variable in TimeType
[Form] Throwing exception for invalid "input" type of DateType
[Form] Removing unused private property and adding PHPDoc
[Form] Fixing wrong variable name
[Form] Tweak to FileTypeTest to avoid warning
[Form] Adding an exception for an invalid widget option in DateType
2011-04-24 08:45:44 +02:00
Fabien Potencier
7d8a3f76bb
[HttpKernel] made some minor tweaks
2011-04-24 08:44:29 +02:00
ornicar
b5055bb4fd
[Form] Fix DelegatingValidator namespace
2011-04-23 23:20:56 -07:00
Ryan Weaver
181ef3cc08
[Form] Removing an unused variable in TimeType
2011-04-23 20:52:26 -05:00
Ryan Weaver
af8aad9c34
[Form] Throwing exception for invalid "input" type of DateType
...
Also fixed typo in test of previous commit
2011-04-23 20:36:40 -05:00
Ryan Weaver
f435ed7e7e
[Form] Removing unused private property and adding PHPDoc
2011-04-23 20:14:12 -05:00
Ryan Weaver
0681e443d5
[Form] Fixing wrong variable name
2011-04-23 20:08:24 -05:00
Ryan Weaver
78b2062c5e
[Form] Adding an exception for an invalid widget option in DateType
2011-04-23 19:42:40 -05:00
Lukas Kahwe Smith
fd97c0caca
renamed getPreviouses() to getAllPrevious
2011-04-24 01:08:15 +02:00
Tobias Naumann
bc9817c85e
[Form] Added FieldTypeValidatorExtension and fixed FQCN of DelegatingValidator
2011-04-24 01:05:12 +02:00
Fabien Potencier
278223d950
Merge remote branch 'pborreli/phpdoc-fix'
...
* pborreli/phpdoc-fix:
[Phpdoc] Cleaning/fixing
[FrameworkBundle] Fixed typo in css
2011-04-23 21:50:16 +02:00
Fabien Potencier
8b74c6eb9c
[DomCrawler] refactored URLs management in Link and Form
2011-04-23 21:45:44 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Pascal Borreli
b90aba14e6
[FrameworkBundle] Fixed typo in css
2011-04-23 15:17:39 +00:00
Fabien Potencier
5591f34c01
[FrameworkBundle] made some small tweaks
2011-04-23 15:40:32 +02:00
Fabien Potencier
f05801cace
[FrameworkBundle] removed the router.options.resource_type and routing.resource arguments
2011-04-23 15:31:13 +02:00
Fabien Potencier
8db6c28432
removed obsolete config parameter
2011-04-23 15:19:33 +02:00
Fabien Potencier
50d3c92e22
tweaked TemporaryStorage directory creation
2011-04-23 15:19:30 +02:00
Fabien Potencier
8cc5caf1f3
changed the default directory for the upload temp dir, made the dir mandatory
2011-04-23 15:09:55 +02:00
Fabien Potencier
02c66e658c
removed the nestingLevel configuration for file temporary storages
2011-04-23 15:06:07 +02:00
Fabien Potencier
800effcccd
Merge remote branch 'lsmith77/remove_interface_injection'
...
* lsmith77/remove_interface_injection:
removed support for interface injection as well as all relevant tests
2011-04-23 12:08:49 +02:00
Fabien Potencier
9bffd8c2db
[FrameworkBundle] moved some default values to the Configuration class
2011-04-23 12:07:14 +02:00
Fabien Potencier
e7892071bb
[FrameworkBundle] fixed wrong usage of obsolete session.class parameter
2011-04-23 11:43:35 +02:00
Lukas Kahwe Smith
d9491a743e
removed support for interface injection as well as all relevant tests
2011-04-23 11:42:31 +02:00
Fabien Potencier
3ed0ff7b03
[FrameworkBundle] removed two parameters
2011-04-23 11:34:17 +02:00
Victor Berchet
209b95f232
[FrameworkBundle] Add a unit test for the TemplateFinder class
2011-04-23 11:24:28 +02:00
Victor Berchet
33dd89fd02
[Template cache warmers] Factorize common code
2011-04-23 11:24:28 +02:00
Victor Berchet
5308a5c4f5
[WebProfilerBundle] Remove useless use clause
2011-04-23 11:24:28 +02:00
Fabien Potencier
b347aebee8
[TwigBundle] removed obsolete code
2011-04-23 11:00:54 +02:00
Fabien Potencier
55e6883a88
[TwigBundle] removed obsolete code
2011-04-23 10:55:52 +02:00
Fabien Potencier
2b8c7f84b5
[Form] added a way to register a Form extension after creation of the FormFactory
2011-04-23 09:28:29 +02:00
Fabien Potencier
b69c5956d3
[Form] added missing use statement
2011-04-23 09:27:47 +02:00
Fabien Potencier
9a4da005a2
Merge remote branch 'bschussek/form-extensions'
...
* bschussek/form-extensions:
[Form] Refactored code from CoreExtension to new ValidatorExtension
[Form] Added FormTypeExtensionInterface
[Form] Reorganized code into "form extensions"
2011-04-23 09:11:25 +02:00
Fabien Potencier
960ae878b0
Merge remote branch 'pborreli/fix-twibundle'
...
* pborreli/fix-twibundle:
[TwigBundle] Removed useless code
2011-04-23 09:07:27 +02:00
Fabien Potencier
07933ddfd4
Merge remote branch 'pborreli/fix-typo'
...
* pborreli/fix-typo:
Fixed various typo
2011-04-23 09:07:23 +02:00
Pascal Borreli
b5769c52d6
Fixed various typo
2011-04-22 23:12:50 +00:00
Pascal Borreli
325801b00a
[TwigBundle] Removed useless code
2011-04-22 22:54:11 +00:00
Pascal Borreli
c4623fc2c0
[FrameworkBundle][Windows] Fixed testValidationPaths on windows
2011-04-22 20:49:09 +00:00
Igor Wiedler
041a2e9d83
[HttpFoundation] minor optimization
2011-04-22 22:20:12 +02:00
Bernhard Schussek
6f1bc356a8
[Form] Refactored code from CoreExtension to new ValidatorExtension
...
CoreExtension is now independent of the Symfony2 validator.
2011-04-22 19:38:21 +02:00
Bernhard Schussek
1ce2db87e2
[Form] Added FormTypeExtensionInterface
...
With implementations of this interface, existing types can be amended.
The Csrf extension, for example, now contains a class FormTypeCsrfExtension
that adds CSRF capabilities to the "form" type.
To register new type extensions in the DIC, tag them with "form.type_extension"
and the name of the extended type as alias.
2011-04-22 19:24:38 +02:00
Igor Wiedler
51d12758a0
minor adjustments suggested by vicb
2011-04-22 18:37:20 +02:00
Bernhard Schussek
54e66c518f
[Form] Reorganized code into "form extensions"
...
The extension classes are now the only constructor argument of the FormFactory class. They replace the existing "type loader" classes.
new FormFactory(array(
new CoreExtension($validator, $storage),
new CsrfExtension($csrfProvider),
new DoctrineOrmExtension($em),
));
Together with a few upcoming commits this mechanism will make
* extension of the form framework in bundles and
* usage of the forms outside of Symfony2
much easier.
2011-04-22 17:41:21 +02:00
Igor Wiedler
9ae5023a70
[HttpFoundation] IPv6 support for RequestMatcher
2011-04-22 17:37:22 +02:00
Igor Wiedler
e5b923a0ec
[Validator] use full iPv6 regex
...
it was taken from:
https://github.com/strattg/ipv6-address-test/blob/master/Tests/Rfc3986RegexTest.php
2011-04-22 17:07:44 +02:00
Igor Wiedler
afcdbf8b79
[Validator] add IPv6 support to UrlValidator
2011-04-22 17:07:44 +02:00
Igor Wiedler
82699c5a98
[HttpFoundation] add IPv6 support to Request
2011-04-22 17:07:44 +02:00
Fabien Potencier
417839345f
Merge remote branch 'lsmith77/request_format_tweaks'
...
* lsmith77/request_format_tweaks:
added text/html to default format mapping
return "q" from splitHttpAcceptHeader() to enable more complex accept header negotiations
added support for setting a custom default format in Request::getRequestFormat()
2011-04-22 15:33:01 +02:00
Fabien Potencier
fd05f02b23
[HttpFoundation] added logic to automatically add the charset when not present in the Content-Type for relevant Content-Types
2011-04-22 15:26:38 +02:00
Fabien Potencier
7644e86683
refactored session configuration
...
* made the options array only for "global" options that are valid for all session storages
* changed the PDO session storage constructor signature to accept an array of options for DB configuration
* changed the storage_id to be the full service id, instead of just part of it
* removed the class parameter for session as it can be changed via the .class parameter (it was the only example in the framework)
* removed the configuration for the PDO session storage for now
2011-04-22 13:34:57 +02:00
Fabien Potencier
f1e14f5ad3
Merge remote branch 'vicb/profiler'
...
* vicb/profiler:
[WebProfilerBundle] Sort tables by key name
2011-04-22 13:34:30 +02:00
Victor Berchet
a79a94b928
[WebProfilerBundle] Sort tables by key name
2011-04-22 12:51:58 +02:00
Fabien Potencier
5c2c16f57e
moved DoctrineMigrationsBundle to its own repository ( https://github.com/symfony/DoctrineMigrationsBundle )
2011-04-22 12:11:08 +02:00
Fabien Potencier
0632327b77
removed data fixtures from core (moved to https://github.com/symfony/DoctrineFixturesBundle )
2011-04-22 11:47:16 +02:00
Bernhard Schussek
a97366fbcb
[Form] Split signature of FormFactory::create() into create() and createNamed()
...
The data can now be passed to all creation methods:
$form = $factory->create('form', $data);
By default, a form will receive the name of its type ("form" in above example). If you wish to pass a custom name, use createNamed():
$form = $factory->createNamed('form', 'myform', $data);
2011-04-22 10:42:21 +02:00
Fabien Potencier
0069a70e42
Merge branch 'form'
...
* form: (291 commits)
[FrameworkBundle] updated method call
[Form] Removing excess option in the TimezoneType
[FrameworkBundle] Adding check for invalid form type for better exception message
[TwigBundle] Removing dbug text in form template
[Form] Removed obsolete code in TextType
[Form] fixed translations escaping
[Form] Adding a check that the choice_list option on the ChoiceType implements the ChoiceListInterface.
[Form] added support for groups in form validation (when using array data)
[Form] fixed error bubbling for choices when expanded is true
[Form] added a unit test
[Form] Removed obsolete view variables
[Form] Renamed ChoiceUtil to FormUtil and gave its methods more general names
[Form] Changed separator for Twig blocks from double underscore to single underscore to match the PHP template separator
[Form] Removed StripTagsListenerTest
[Form] Removed StripTagsListener. Its implementation is insufficient and needs to be replaced by a better one.
[Form] added a way to specify the form constraint when building the form (useful if you work with arrays instead of objects)
[Form] Added test for 'email' type and fixed a few bugs
[Form] Removed obsolete constraints from validation.xml
Revert "[Form] removed validation.xml file (not used anymore)"
Added html5 email input to the forms
...
2011-04-22 09:36:52 +02:00
Fabien Potencier
de8f10e236
Merge remote branch 'Infranology/framework-bundle-updated-method-call' into form
...
* Infranology/framework-bundle-updated-method-call: (91 commits)
[FrameworkBundle] updated method call
moved DoctrineMongoDBBundle to its own repository
[AsseticBundle] fixed unit tests
[FrameworkBundle] removed unneeded files in tests
updated vendors
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
[Routing] added getContext() accessor
[HttpFoundation] fixed a potential security problem in Request
updated vendors
Added 201 to the possible status codes that indicate a response is a redirect.
[FrameworkBundle] made ESI URL relative as allowed by the spec (no need to generate absolute URLs)
[AsseticBundle] fixed router and controller
[AsseticBundle] removed fake front controller from URL before creating route
[AsseticBundle] updated twig integration to check debug mode at runtime rather than compile time since twig cannot vary its cache by debug mode
[Routing] the global parameters must not be added in the QS when generating URLs
removed the possibility to pass a message to the trans tag
simplified exceptions as Twig is now smart enough to automatically add line information
made the %count% variable automatically available when using the transchoice filter (similar to how the tag works)
[Container] Added function array_unique on getServiceIds to return only one service name
...
2011-04-22 09:35:11 +02:00
Fabien Potencier
f626afcdef
Merge remote branch 'weaverryan/validator_choice_message_changes'
...
* weaverryan/validator_choice_message_changes:
[Validator] Modifying Choice message and adding a different multiple message
2011-04-22 08:40:08 +02:00
Fabien Potencier
2c939e4124
Merge remote branch 'kriswallsmith/assetic/controller-fix'
...
* kriswallsmith/assetic/controller-fix:
[AsseticBundle] fixed controller
2011-04-22 08:40:01 +02:00
Fabien Potencier
82f1461031
Merge remote branch 'weaverryan/form_remove_extra_timezone_options' into form
...
* weaverryan/form_remove_extra_timezone_options:
[Form] Removing excess option in the TimezoneType
2011-04-22 08:38:35 +02:00
Fabien Potencier
4f4979c84a
Merge remote branch 'weaverryan/form_container_aware_type_loader_check' into form
...
* weaverryan/form_container_aware_type_loader_check:
[FrameworkBundle] Adding check for invalid form type for better exception message
2011-04-22 08:37:33 +02:00
Eriksen Costa
9cf7fba913
Merge branch 'master' into fix-stub-locale-method-signature
2011-04-22 00:07:29 -03:00
Eriksen Costa
7bbb8beb17
[FrameworkBundle] updated method call
2011-04-21 23:20:52 -03:00
Eriksen Costa
589b0ab4ed
Merge branch 'master' into form-frameworkbundle-form-guessers-fix
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddFormGuessersPass.php
src/Symfony/Component/Form/MoneyField.php
2011-04-21 23:03:40 -03:00
Ryan Weaver
1856601524
[Validator] Modifying Choice message and adding a different multiple message
2011-04-21 20:05:13 -05:00
Ryan Weaver
df50e2b161
[Form] Removing excess option in the TimezoneType
2011-04-21 19:57:53 -05:00
Ryan Weaver
fb4eb9c2e9
[FrameworkBundle] Adding check for invalid form type for better exception message
2011-04-21 19:51:10 -05:00
Ryan Weaver
f98916dcc8
[TwigBundle] Removing dbug text in form template
2011-04-21 19:49:45 -05:00
Kris Wallsmith
b69ed7f766
[AsseticBundle] fixed controller
2011-04-21 15:01:24 -07:00
Fabien Potencier
e6d86eb9f7
moved DoctrineMongoDBBundle to its own repository
...
The repo is now here: https://github.com/symfony/DoctrineMongoDBBundle
It has been done as the bundle depends on Doctrine Common 2.1, but everything
else in Symfony relies on Doctrine Common 2.0.
2011-04-21 23:14:21 +02:00
Fabien Potencier
fc23f39335
[AsseticBundle] fixed unit tests
2011-04-21 22:50:25 +02:00
Fabien Potencier
8b2b8e16dc
Merge remote branch 'schmittjoh/referenceValidation'
...
* schmittjoh/referenceValidation:
[DependencyInjection] also check references of inlined services
[DependencyInjection] adds emulation of "exception-on-invalid-reference" behavior
2011-04-21 22:44:20 +02:00
Fabien Potencier
30e907663b
[FrameworkBundle] removed unneeded files in tests
2011-04-21 22:43:38 +02:00
Fabien Potencier
d86aa74e3d
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
2011-04-21 22:34:53 +02:00
Fabien Potencier
4dc5b8ec78
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
2011-04-21 21:49:05 +02:00
Fabien Potencier
813627bd4c
[Routing] added getContext() accessor
2011-04-21 21:20:27 +02:00
Fabien Potencier
c5497c7c67
[HttpFoundation] fixed a potential security problem in Request
2011-04-21 20:00:27 +02:00
Fabien Potencier
a2ab05e9c2
Merge remote branch 'web-dev/master'
...
* web-dev/master:
Added 201 to the possible status codes that indicate a response is a redirect.
2011-04-21 19:51:30 +02:00
Josiah
98e46a23fa
Added 201 to the possible status codes that indicate a response is a redirect.
2011-04-21 10:36:25 -07:00
Fabien Potencier
314684df24
[FrameworkBundle] made ESI URL relative as allowed by the spec (no need to generate absolute URLs)
...
see http://www.w3.org/TR/esi-lang (Section 3.1 "Relative URIs will be resolved relative to the template.")
2011-04-21 18:54:01 +02:00
Fabien Potencier
c67dd2bb68
Merge remote branch 'kriswallsmith/assetic/runtime-is-funtime'
...
* kriswallsmith/assetic/runtime-is-funtime:
[AsseticBundle] fixed router and controller
[AsseticBundle] removed fake front controller from URL before creating route
[AsseticBundle] updated twig integration to check debug mode at runtime rather than compile time since twig cannot vary its cache by debug mode
2011-04-21 18:38:03 +02:00
Fabien Potencier
9a2d4c77c3
Merge remote branch 'Garfield-fr/master'
...
* Garfield-fr/master:
[Container] Added function array_unique on getServiceIds to return only one service name
2011-04-21 18:31:55 +02:00
Kris Wallsmith
57dd6aef86
[AsseticBundle] fixed router and controller
2011-04-21 07:28:23 -07:00
Kris Wallsmith
6a227f858a
[AsseticBundle] removed fake front controller from URL before creating route
2011-04-21 07:08:29 -07:00
Kris Wallsmith
8ad93095d4
[AsseticBundle] updated twig integration to check debug mode at runtime rather than compile time since twig cannot vary its cache by debug mode
2011-04-21 05:41:45 -07:00
Bernhard Schussek
c58b05a6d6
[Form] Removed obsolete code in TextType
2011-04-21 10:17:04 +02:00
Fabien Potencier
7e33159723
[Routing] the global parameters must not be added in the QS when generating URLs
2011-04-21 09:52:35 +02:00
Fabien Potencier
286c45733e
removed the possibility to pass a message to the trans tag
...
The trans tag should only be used with static texts as automatic output escaping does not occur.
2011-04-21 09:10:47 +02:00
Fabien Potencier
cad6643e77
simplified exceptions as Twig is now smart enough to automatically add line information
2011-04-21 09:03:30 +02:00
Fabien Potencier
54b77d24dd
made the %count% variable automatically available when using the transchoice filter (similar to how the tag works)
2011-04-21 09:01:11 +02:00
Fabien Potencier
9694ac77a7
[Form] fixed translations escaping
2011-04-21 07:48:12 +02:00
Bertrand Zuchuat
7ed8ea25d8
[Container] Added function array_unique on getServiceIds to return only one service name
2011-04-20 23:45:36 +02:00
Fabien Potencier
ea021062ba
Merge remote branch 'vicb/assetic-cache-warmer'
...
* vicb/assetic-cache-warmer:
[AsseticBundle] Update the cache warmer tests
[AsseticBundle] Fix the cache warmers
2011-04-20 23:31:40 +02:00
Victor Berchet
f7b1839296
[AsseticBundle] Update the cache warmer tests
2011-04-20 23:28:19 +02:00
Fabien Potencier
071caeb0c8
Merge remote branch 'merk/file'
...
* merk/file:
[HttpFoundation\File] Removed realpath()
2011-04-20 23:13:55 +02:00
Fabien Potencier
9c2d49e4f5
Merge remote branch 'weaverryan/fixtures_old_xml_namespace'
...
* weaverryan/fixtures_old_xml_namespace:
[FrameworkBundle] Upating XML test fixtures for newer namespace
2011-04-20 23:13:20 +02:00
Fabien Potencier
d721cbe1e2
Merge remote branch 'kriswallsmith/http/filesystem-session-fix'
...
* kriswallsmith/http/filesystem-session-fix:
[HttpFoundation] fixed FilesystemSessionStorage
2011-04-20 23:09:04 +02:00
Ryan Weaver
a5aba7dbd7
[FrameworkBundle] Upating XML test fixtures for newer namespace
...
This wasn't actually affecting anything (which is why it wasn't caught), but this is more correct.
2011-04-20 16:08:55 -05:00
Fabien Potencier
ace5e26406
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[Security/Core] force implementations to accept null values
[Security/Acl] some misc fixes
[Security/Acl] removed Doctrine dependency from interfaces and moved them to the actual implementation
[SecurityBundle] changed expected value for token_provider key in the rememberme section
2011-04-20 23:07:33 +02:00
Fabien Potencier
7266b41ade
[FrameworkBundle] added the current locale as the default value for _locale when generating routes
2011-04-20 23:03:01 +02:00
Fabien Potencier
c6dcf0f8f3
[Routing] added a way to set default parameters that are applied when generating URLs
2011-04-20 23:01:05 +02:00
Fabien Potencier
f7d44148df
[Routing] removed unused defaults variable
2011-04-20 22:55:23 +02:00
Johannes Schmitt
192592ec9b
[Security/Core] force implementations to accept null values
2011-04-20 22:38:16 +02:00
Johannes Schmitt
f697fe3b26
[Security/Acl] some misc fixes
2011-04-20 22:35:17 +02:00
Johannes Schmitt
4d6e239f10
[Security/Acl] removed Doctrine dependency from interfaces and moved them to the actual implementation
2011-04-20 22:25:05 +02:00
Johannes Schmitt
8ae7a21e30
[SecurityBundle] changed expected value for token_provider key in the rememberme section
2011-04-20 22:20:55 +02:00
Kris Wallsmith
30511d2965
[HttpFoundation] fixed FilesystemSessionStorage
2011-04-20 13:20:21 -07:00
Victor Berchet
1191e3aa66
[AsseticBundle] Fix the cache warmers
2011-04-20 17:37:21 +02:00
Fabien Potencier
fd1636b324
[Routing] added RedirectableUrlMatcher
2011-04-20 15:54:48 +02:00
Ryan Weaver
967a42b797
[Form] Adding a check that the choice_list option on the ChoiceType implements the ChoiceListInterface.
...
Also removed an unused "use" statement.
2011-04-20 08:52:31 -05:00
Tim Nagel
03bb3580a6
[HttpFoundation\File] Removed realpath()
2011-04-20 23:52:17 +10:00
Victor Berchet
6ae61eb9ff
[FrameworkBundle] Optimization of the method ContainerAwareEventDispacther::dispatch()
2011-04-20 15:05:22 +02:00
Victor Berchet
cc89d4b1a5
[FrameworkBundle] Fix an issue with ContainerAwareEventDispatcher when re-entering a scope
2011-04-20 15:04:56 +02:00
Fabien Potencier
1df8b2ee37
[FrameworkBundle] fixed methods that have been renamed in the previous commit
2011-04-20 14:31:42 +02:00
Fabien Potencier
9d2ea4ec31
Merge remote branch 'kriswallsmith/dic/method-renames'
...
* kriswallsmith/dic/method-renames:
added method renames to UPDATE
[DependencyInjection] renamed ContainerBuilder::remove() as removeDefinition() to be more consistent with other definition-related methods
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 14:28:09 +02:00
Fabien Potencier
477d81f9b1
Merge remote branch 'vicb/service-event-tests'
...
* vicb/service-event-tests:
[FrameworkBundle] Added a test for listener services not available in the current scope
[FrameworkBundle] Add unit tests for ContainerAwareEventDispatcher
[FrameworkBundle] Initialize the listenerId property in the ContainerAwareEventDispatcher class
2011-04-20 14:25:55 +02:00
Fabien Potencier
0dbfa18c46
[Routing] made a small optimization to the route dumper
2011-04-20 14:19:33 +02:00
Fabien Potencier
117321d3c6
replaced array for request context in Routing by a RequestContext class
2011-04-20 14:19:32 +02:00
Kris Wallsmith
470baaab9f
[DependencyInjection] renamed ContainerBuilder::remove() as removeDefinition() to be more consistent with other definition-related methods
2011-04-20 04:48:19 -07:00
Kris Wallsmith
cdf706d357
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 04:47:44 -07:00
Fabien Potencier
07aae98495
[Routing] added support for _scheme requirement
...
The _scheme requirement can be used to force routes to always match one given scheme
and to always be generated with the given scheme.
So, if _scheme is set to https, URL generation will force an absolute URL if the
current scheme is http. And if you request the URL with http, you will be redirected
to the https URL.
2011-04-20 10:49:32 +02:00
Fabien Potencier
d993a9160a
[HttpFoundation] fixed getScheme() method
2011-04-20 10:49:08 +02:00
Victor Berchet
b4df0ea9ed
[FrameworkBundle] Added a test for listener services not available in the current scope
2011-04-20 09:56:44 +02:00
Victor Berchet
a4c41179e0
[FrameworkBundle] Add unit tests for ContainerAwareEventDispatcher
2011-04-20 09:51:38 +02:00
Victor Berchet
b45d117fbf
[FrameworkBundle] Initialize the listenerId property in the ContainerAwareEventDispatcher class
2011-04-20 09:51:32 +02:00
Ryan Weaver
6f16820328
[FrameworkBundle] Removing unnecessary and buggy functionality from ContainerDebugCommand
2011-04-19 17:01:22 -05:00
Fabien Potencier
91602dfef4
[FrameworkBundle] made possible to interact with the Kernel/Container after a request in functional tests
2011-04-19 22:55:39 +02:00
Fabien Potencier
ba37ea19c6
Merge remote branch 'kriswallsmith/mongodb/validator-annot-alias'
...
* kriswallsmith/mongodb/validator-annot-alias:
[DoctrineMongoDBBundle] set annotation constraint namespace alias to assertMongoDB
2011-04-19 19:14:21 +02:00
Fabien Potencier
86be93fbfd
Merge remote branch 'kriswallsmith/assetic/use-controller-fix'
...
* kriswallsmith/assetic/use-controller-fix:
[AsseticBundle] added factory worker to fix paths when use_controller is on
2011-04-19 19:14:17 +02:00
Kris Wallsmith
5a9a65701b
[AsseticBundle] added factory worker to fix paths when use_controller is on
2011-04-19 07:58:04 -07:00
Kris Wallsmith
defb0218fb
[DoctrineMongoDBBundle] set annotation constraint namespace alias to assertMongoDB
2011-04-19 07:46:28 -07:00
Fabien Potencier
4724af10f6
[DoctrineMongoDbBundle] fixed data:load command (--append does not need a value)
2011-04-19 15:36:40 +02:00
Fabien Potencier
561a2211af
Merge remote branch 'krymen/fixtures_command'
...
* krymen/fixtures_command:
[DoctrineBundle] Fix data:load command (--append w/o value)
2011-04-19 15:33:42 +02:00
Fabien Potencier
06c331d049
fixed typo
2011-04-19 15:26:51 +02:00
Fabien Potencier
570a100860
fixed typos
2011-04-19 14:52:15 +02:00
Krzysztof Menżyk
f1ab7da36f
[DoctrineBundle] Fix data:load command (--append w/o value)
2011-04-19 14:40:27 +02:00
Johannes M. Schmitt
c660fcd2f2
fixes a bug in the SwitchUserListener
2011-04-19 14:24:37 +02:00
Fabien Potencier
2014ff6856
merged lsmith77/url_generator_null_parameter
2011-04-19 14:21:14 +02:00
Fabien Potencier
dd7b4a13b6
fixed CS
2011-04-19 14:15:50 +02:00
Fabien Potencier
7b87a6143a
Merge remote branch 'ivanrey/master'
...
* ivanrey/master:
BugFix reflClass is not always initialized getReflClass should be used instead since it initializes the variable if it's not set
Better Exception Message
BugFix: In windows environments it is necessary to replace backslash with forward slash in search string as well
2011-04-19 14:13:54 +02:00
Fabien Potencier
95d4bcc5db
fixed unit tests (broken by previous commit)
2011-04-19 14:10:41 +02:00
Fabien Potencier
e09a0f9f80
Merge remote branch 'brikou/coding_standards'
...
* brikou/coding_standards:
removed empty lines/trailing spaces
2011-04-19 14:06:30 +02:00
Fabien Potencier
5ff67a8d54
made request data collector more robust when the user got the request content as a resource
2011-04-19 14:02:32 +02:00
Fabien Potencier
3ca5f513a4
[Form] added support for groups in form validation (when using array data)
2011-04-19 09:56:49 +02:00
Fabien Potencier
5242859920
[Form] fixed error bubbling for choices when expanded is true
2011-04-19 09:13:29 +02:00
Bernhard Schussek
d93e10160c
[Form] Removed obsolete view variables
2011-04-18 15:47:18 +02:00
Lukas Kahwe Smith
1ecaade68d
added support for parameters with default null
2011-04-18 15:35:05 +02:00
Bernhard Schussek
b93f5a372a
[Form] Renamed ChoiceUtil to FormUtil and gave its methods more general names
2011-04-18 15:07:12 +02:00
Bernhard Schussek
273d72ef75
[Form] Changed separator for Twig blocks from double underscore to single underscore to match the PHP template separator
2011-04-18 14:28:01 +02:00
Bernhard Schussek
abb0d0cde1
[Form] Removed StripTagsListener. Its implementation is insufficient and needs to be replaced by a better one.
...
The current implementation does not sanitize HTML properly. See [1] and [2] for more information.
[1] https://github.com/padraic/wibble
[2] http://blog.astrumfutura.com/?s=html+sanitising
2011-04-18 14:19:20 +02:00
Fabien Potencier
bee5d07d86
[Form] added a way to specify the form constraint when building the form (useful if you work with arrays instead of objects)
2011-04-18 14:09:29 +02:00
Bernhard Schussek
57722550de
[Form] Added test for 'email' type and fixed a few bugs
2011-04-18 13:04:18 +02:00
Bernhard Schussek
23e9ad7a99
Merge remote branch 'mvrhov/email_type' into mvrhov_merge
2011-04-18 12:57:38 +02:00
Bernhard Schussek
eb21dc9fea
[Form] Removed obsolete constraints from validation.xml
2011-04-18 12:57:19 +02:00
Bernhard Schussek
325049ac73
Revert "[Form] removed validation.xml file (not used anymore)"
...
This reverts commit 3e476e1c30
.
2011-04-18 12:53:41 +02:00
Miha Vrhovnik
50011fa344
Added html5 email input to the forms
2011-04-18 11:17:41 +02:00
Jordi Boggiano
5e998146c2
[MonologBundle] Make monolog.logger private
2011-04-18 11:06:11 +02:00
Miha Vrhovnik
43bcadbb80
Updating renamed event
2011-04-18 11:00:26 +02:00
Fabien Potencier
4bb823fda4
[Form] added missing interfaces
2011-04-18 10:54:34 +02:00
Jordi Boggiano
4cdd482762
[MonologBundle] Add logger alias to monolog.logger
2011-04-18 09:27:58 +02:00
Fabien Potencier
3a2ca3dd92
moved Doctrine2 Entity Type guesser to the Doctrine bridge
2011-04-18 08:44:37 +02:00
Ivan Rey
fa2e4c5dd1
BugFix reflClass is not always initialized getReflClass should be used instead since it initializes the variable if it's not set
2011-04-17 21:35:37 -05:00
Ivan Rey
ef81002634
Better Exception Message
2011-04-17 21:30:23 -05:00
Ivan Rey
cc0832992c
BugFix: In windows environments it is necessary to replace backslash with forward slash in search string as well
2011-04-17 21:29:35 -05:00
Fabien Potencier
4bfd5bf079
[Form] tweaked Date time transformer to allow fields with 0 as hour/minute/...
2011-04-17 22:50:22 +02:00
Fabien Potencier
3e476e1c30
[Form] removed validation.xml file (not used anymore)
2011-04-17 22:33:31 +02:00
Fabien Potencier
f4aae27904
Merge remote branch 'lsmith77/add_decoder_interface'
...
* lsmith77/add_decoder_interface:
added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding
2011-04-17 19:30:13 +02:00
Bernhard Schussek
be5738564f
[Form] Improved regular expression in AbstractType::getName() and added unit tests
2011-04-17 18:01:22 +02:00
Bernhard Schussek
4905bfd285
Merge remote branch 'brikou/form' into form
2011-04-17 18:01:17 +02:00
Lukas Kahwe Smith
874c4b6e07
added a DecodeInterface (and SerializerAwareInterface) to make it easier to identify if an Encoder also supports decoding
2011-04-17 17:00:42 +02:00
Lukas Kahwe Smith
c2ac8304b0
added text/html to default format mapping
2011-04-17 14:39:07 +02:00
Lukas Kahwe Smith
4c3c6cdabf
return "q" from splitHttpAcceptHeader() to enable more complex accept header negotiations
2011-04-17 14:38:33 +02:00
Lukas Kahwe Smith
53c7bcf3aa
added support for setting a custom default format in Request::getRequestFormat()
2011-04-17 14:37:35 +02:00
Fabien Potencier
7a70236437
Merge remote branch 'schmittjoh/containerBaseClass'
...
* schmittjoh/containerBaseClass:
[DependencyInjection] make base class of generated container configurable
2011-04-17 14:15:36 +02:00
Fabien Potencier
62737c2495
Merge remote branch 'hidenorigoto/feature/add-server-param-method'
...
* hidenorigoto/feature/add-server-param-method:
[BrowserKit] added tests for setServerParameter/getServerParameter methods
[BrowserKit] added getServerParameter method which makes setServerParameters/setServerParameter methods testable
[BrowserKit] added the method to Client which enables to set single server parameter
2011-04-17 14:14:49 +02:00
Fabien Potencier
5861a1b962
Merge remote branch 'merk/security/phpdoc'
...
* merk/security/phpdoc:
[Security] Added missing phpdoc
2011-04-17 14:11:49 +02:00
Fabien Potencier
45a551e9d5
[DoctrineBundle] removed unused file
2011-04-17 14:10:13 +02:00
Johannes M. Schmitt
30bac46e1b
[DependencyInjection] make base class of generated container configurable
2011-04-17 12:29:33 +02:00
hidenorigoto
1d85a3dcb1
[BrowserKit] added getServerParameter method which makes setServerParameters/setServerParameter methods testable
2011-04-17 11:22:59 +09:00
hidenorigoto
54c3d236c2
[BrowserKit] added the method to Client which enables to set single server parameter
2011-04-17 10:45:32 +09:00
Fabien Potencier
c6818d8bf7
[HttpKernel] added support for controllers as arrays and object with an __invoke method
...
Controllers can now be any valid PHP callable
2011-04-16 16:26:15 +02:00
Tobias Naumann
f6ce451e2c
[Form] Made FormView implement Countable
2011-04-16 13:54:31 +02:00
Tim Nagel
ad86f9ff0d
[Security] Added missing phpdoc
2011-04-16 16:21:04 +10:00
Brikou CARRE
e898445b94
removed empty lines/trailing spaces
2011-04-15 21:12:02 +02:00
Brikou CARRE
a83046f470
fixed regex (we don't need '?')
2011-04-15 19:04:53 +02:00
Brikou CARRE
28121e4a57
[Form] AbstractType::getName() improvement
2011-04-15 18:58:15 +02:00
Bernhard Schussek
7b1bf621e1
[Form] Removed obsolete code from div_layout.html.twig
2011-04-15 16:40:28 +02:00
Bernhard Schussek
30922d9375
[Form] Fixed: Checkboxes in an expanded choice field never have the 'required' HTML5 attribute. Closes http://trac.symfony-project.org/ticket/9588
2011-04-15 16:10:04 +02:00
Bernhard Schussek
a05575bba1
[Form] Removed obsolete code. Use the 'attr' var instead
2011-04-15 15:48:14 +02:00
Bernhard Schussek
9582221862
[Form] ResizeFormListener::preBind() now handles empty strings. Fixes https://github.com/symfony/symfony/pull/40
2011-04-15 15:43:02 +02:00
Bernhard Schussek
d0c572716a
Merge remote branch 'henrikbjorn/form' into henrik_merge
2011-04-15 15:34:29 +02:00
Bernhard Schussek
bc0efff28d
[Form][FrameworkBundle] Fixed escaping of choice widgets
2011-04-15 15:27:15 +02:00
Henrik Bjørnskov
e687685f98
[Form] change FormView::setVar,getVar,getVars,hasVar to set,get,all,has
...
[Form] Fixed {get,set,has}Var references in templating php
[Form] Added getVars to FormView to ease usage in Twig. Also added some phpdoc and cleaned up the get method by adding a default value
[Form] Fix
[Form] Delete file generated by test
2011-04-15 15:25:37 +02:00
Bernhard Schussek
e787d5dc22
[Form] PropertyPath now can handle elements with special characters
2011-04-15 15:25:19 +02:00
Bernhard Schussek
4f1ae660fa
[Form] Fixed choice labels in expanded choice fields
2011-04-15 15:04:44 +02:00
Bernhard Schussek
41c6ab0ac7
[Form] Field labels can now be passed in the 'label' option
2011-04-15 15:03:10 +02:00
Bernhard Schussek
3d92549382
[FrameworkBundle] Fixed various escaping problems and added test cases for them
2011-04-15 14:38:46 +02:00
Bernhard Schussek
990bef8afb
[Form][FrameworkBundle][TwigBundle] Fixed: CSRF fields are not rendered for nested forms anymore
2011-04-15 14:05:33 +02:00
Bernhard Schussek
8fe21285ba
[Form] Renamed Form::getView() to createView() to clearly indicate that each call returns a new object
2011-04-15 13:52:11 +02:00
Bernhard Schussek
276b23a344
[Form] Moved creation logic of FormView to Form class
2011-04-15 13:41:45 +02:00
Fabien Potencier
db8b118e8a
Merge remote branch 'hidenorigoto/fix-methodname-case'
...
* hidenorigoto/fix-methodname-case:
[HttpFoundation] fixed wrong method name
2011-04-15 12:53:37 +02:00
Bernhard Schussek
44fa9bbeaa
[Form] Fixed: CSRF token is regenerated if validation fails to avoid stalled tokens. Closes https://github.com/symfony/symfony/pull/415
2011-04-15 12:50:50 +02:00
Bernhard Schussek
c9c8b5c98e
[Form] Improved test coverage of MonthChoiceList and fixed timezone used in it. Fixes https://github.com/symfony/symfony/pull/433
...
Based on dfb93b1bcebf1f34d3a880d00f36acb2bcca0f08:
[FORM] Fixed DateField Month Choices
The month choices were calculated using the current day of the month with
gmmktime rather than the 1st of the month. Additionally, this provides a
UTC timestamp which is passed to the formatter (IntlDateFormatter) which
converts the timestamp using the current timezone. This means that the UTC
timestamp for 1st March was being converted for my timezone (EST) and giving
a date of 28th February, leading to Feb appearing again in the popup form
instead of Mar.
2011-04-15 12:26:07 +02:00
Fabien Potencier
7e58c3f976
[Routing] allowed default route variables to be null
2011-04-15 12:04:48 +02:00
hidenorigoto
1e78ec395c
[HttpFoundation] fixed wrong method name
2011-04-15 19:04:00 +09:00
Fabien Potencier
ad112da5bc
added the request content to the request data collector
2011-04-15 11:31:08 +02:00
Bernhard Schussek
77bea81ed5
[Form] Improved test coverage of ResizeFormListener. Fixed https://github.com/symfony/symfony/pull/493
2011-04-15 11:06:51 +02:00
Bernhard Schussek
fa457b1cc4
[Form] Renamed 'filter' listeners to 'on' to match naming conventions across the framework
2011-04-15 10:57:32 +02:00
Fabien Potencier
de390fd893
[DependencyInjection] removed timing info as it is useless
2011-04-15 10:42:56 +02:00
Fabien Potencier
0b563c32ac
Merge remote branch 'schmittjoh/diLogging'
...
* schmittjoh/diLogging:
[DependencyInjection] enable debug related passes only in debug environment
[DependencyInjection] removed pass time
[DependencyInjection] fixes a bug which might have occurred when using property injection under certain circumstances
[DependencyInjection] fixed method name
[FrameworkBundle] whitespace fix
[DependencyInjection] refactored code a bit, added some more logging messages
[DependencyInjection] dump a readable format
[DependencyInjection] better logging
2011-04-15 10:38:54 +02:00
Johannes M. Schmitt
49ecb90221
[DependencyInjection] enable debug related passes only in debug environment
2011-04-15 10:14:13 +02:00
Johannes Schmitt
fd5caa9546
[DependencyInjection] also check references of inlined services
2011-04-15 08:47:28 +02:00
Johannes Schmitt
ff41541d45
[DependencyInjection] removed pass time
2011-04-15 08:19:28 +02:00
Fabien Potencier
067bd0009e
Merge remote branch 'kriswallsmith/scalar-nodes'
...
* kriswallsmith/scalar-nodes:
removed a lot of special normalization logic in the configuration by using xml values instead of attributes
2011-04-15 07:44:22 +02:00
Johannes Schmitt
6d7a9d752d
[DependencyInjection] adds emulation of "exception-on-invalid-reference" behavior
...
This pass requires that all of references are valid at the end of
the compilation process.
2011-04-15 00:55:18 +02:00
Johannes M. Schmitt
1992c3b96d
[DependencyInjection] fixes a bug which might have occurred when using property injection under certain circumstances
2011-04-14 21:29:46 +02:00
Johannes M. Schmitt
75ac0f5dc3
[DependencyInjection] fixed method name
2011-04-14 21:07:16 +02:00
Johannes M. Schmitt
e5b6ce1d08
[FrameworkBundle] whitespace fix
2011-04-14 21:04:45 +02:00
Johannes M. Schmitt
6ea9fb16c7
[DependencyInjection] refactored code a bit, added some more logging messages
2011-04-14 21:01:37 +02:00
Johannes M. Schmitt
ee05534815
[DependencyInjection] dump a readable format
2011-04-14 20:42:19 +02:00
Henrik Bjørnskov
fbb0ca5c4e
[Form] Fixed tests for previous commit
2011-04-14 18:32:51 +02:00
Henrik Bjørnskov
5547243f53
[Form] Starting to bring back resouces as configurable
2011-04-14 18:32:34 +02:00
Fabien Potencier
44edd8fe96
[TwigBundle] renamed default widget files
2011-04-14 16:47:44 +02:00
Bernhard Schussek
c6fe6a750d
[Form] Added functional test for the 'size' attribute in the select tags of a time field
2011-04-14 15:29:55 +02:00
Bernhard Schussek
e3db366116
[Form] Passing FormFactory to FormBuilder in its constructor
2011-04-14 15:25:30 +02:00
Bernhard Schussek
2ddc85ae5a
[Form][Twig] Removed obsolete form_data() helper
2011-04-14 15:14:19 +02:00
Bernhard Schussek
44af72bbf4
Merge remote branch 'symfony/master' into experimental
2011-04-14 15:04:59 +02:00
Bernhard Schussek
72b17cd67c
[Form] Renamed TemplateContext to FormView
2011-04-14 15:02:51 +02:00
Bernhard Schussek
ca6ae09779
[Form] Removed TemplateContext::create()
2011-04-14 14:42:17 +02:00
Bernhard Schussek
4907c7d81d
[Form] Added test coverage for expanded choice fields
2011-04-14 14:18:25 +02:00
Bernhard Schussek
4c0d53a7b6
[TwigBundle] Merged div_layout.html.twig and widget.html.twig
2011-04-14 13:46:11 +02:00
Bernhard Schussek
c2dcebf6ea
[FrameworkBundle] Added test coverage for FormHelper and fixed various rendering bugs
2011-04-14 13:37:27 +02:00
Samuel Laulhau
db90e0ab8d
fix Undefined property: Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand::
2011-04-14 13:11:03 +02:00
Fabien Potencier
9cc340a262
fixed inconsistencies in file locator classes
2011-04-14 12:52:22 +02:00
Bernhard Schussek
ce5f3073bd
Fixed test suite and names of accessor methods in TemplateContext
2011-04-14 03:52:52 +02:00
Bernhard Schussek
602846f386
[Form] Added tests for table_layout.html.twig
2011-04-14 03:38:19 +02:00
Bernhard Schussek
96f040cec1
[Form] Added extensive test coverage for div_layout.html.twig
2011-04-14 03:15:56 +02:00
Fabien Potencier
ea1a16b99f
Merge remote branch 'henrikbjorn/doctrine-mongodb-hydrator-dir'
...
* henrikbjorn/doctrine-mongodb-hydrator-dir:
[DoctrineMongoDBBundle] Fixed unit tests for hydrator_dir and proxy_dir
[DoctrineMongoDBBundle] Made hydrator_dir and proxy_dir configurable. Moved default values for the params to Configuration class
2011-04-13 23:32:32 +02:00
Fabien Potencier
5316decd8c
Merge remote branch 'hhamon/shared_maxage_fix'
...
* hhamon/shared_maxage_fix:
[HttpFoundation] force Response to be "public" if setSharedMaxAge() is called.
2011-04-13 23:24:31 +02:00
Fabien Potencier
56a4f0463a
Merge remote branch 'vicb/fix-dbg-evt-mgr'
...
* vicb/fix-dbg-evt-mgr:
[FrameworkBundle] Fix an issue when adding a scoped service as an event listener
2011-04-13 23:24:04 +02:00
Fabien Potencier
d2af468b60
Merge remote branch 'francisbesset/webprofiler_session'
...
* francisbesset/webprofiler_session:
[WebProfilerBundle] Displayed search form even if the session is not configured
[WebProfilerBundle] Cleaned controller
[WebProfilerBundle] Fixed errors on search action
[WebProfilerBundle] Fixed WebDebugToolbarListener
[WebProfilerBundle] Updated return Response
[WebProfilerBundle] Fixed errors if the session is not configured
2011-04-13 23:20:40 +02:00
Fabien Potencier
b32a7e935a
simplified code
2011-04-13 23:18:28 +02:00
Fabien Potencier
ea84bb025b
fixed session management in functional tests
2011-04-13 23:11:25 +02:00
Victor Berchet
3322cdbefc
[FrameworkBundle] Fix an issue when adding a scoped service as an event listener
2011-04-13 23:08:08 +02:00
Fabien Potencier
6957dae4f9
[HttpKernel] added support for cookies in Client
2011-04-13 20:25:35 +02:00
Francis Besset
79cfea20fd
[WebProfilerBundle] Displayed search form even if the session is not configured
2011-04-13 20:17:51 +02:00
Fabien Potencier
e2c9fdf2c7
[HttpFoundation] fixed expiration time for Cookie (PHP wants a Unix timestamp)
2011-04-13 20:12:14 +02:00
Fabien Potencier
66c4bc727c
[HttpFoundation] renamed Cookie::getExpire() to getExpiresTime() to be consistent with the DomCrawler component
2011-04-13 20:10:39 +02:00
Fabien Potencier
84dde4074a
[HttpFoundation] changed default value of Cookie httponly argument to match PHP defaults
2011-04-13 20:07:31 +02:00
Francis Besset
88c35c42e2
[WebProfilerBundle] Cleaned controller
2011-04-13 19:53:57 +02:00
Francis Besset
190ba5979c
[WebProfilerBundle] Fixed errors on search action
2011-04-13 19:53:57 +02:00
Francis Besset
0d9fb8db5f
[WebProfilerBundle] Fixed WebDebugToolbarListener
2011-04-13 19:53:57 +02:00
Francis Besset
713d3405b7
[WebProfilerBundle] Updated return Response
2011-04-13 19:53:57 +02:00
Francis Besset
81939136ad
[WebProfilerBundle] Fixed errors if the session is not configured
2011-04-13 19:53:57 +02:00
Henrik Bjørnskov
3fb0f20f9a
[DoctrineMongoDBBundle] Fixed unit tests for hydrator_dir and proxy_dir
2011-04-13 18:15:11 +02:00
hhamon
053d83f557
[HttpFoundation] force Response to be "public" if setSharedMaxAge() is called.
2011-04-13 15:58:48 +02:00
Bernhard Schussek
8031ad77c8
Merge remote branch 'fabpot/form' into fabpot_merge
2011-04-13 15:58:15 +02:00
Kris Wallsmith
672291087c
removed a lot of special normalization logic in the configuration by using xml values instead of attributes
2011-04-13 05:59:46 -07:00
Fabien Potencier
a6d790f89f
Merge remote branch 'hhamon/http_cache_fix'
...
* hhamon/http_cache_fix:
[HttpKernel] private $traces property was not initialized to an empty array. When using the getLog() method to debug traces, it led to a warning in the apache error log.
2011-04-13 14:38:32 +02:00
Fabien Potencier
fa6961bb91
Revert "Merge remote branch 'lsmith77/prevent_redundant_DI_method_calls'"
...
This reverts commit 0d61ae06b4
, reversing
changes made to 8e3d125902
.
2011-04-13 14:30:06 +02:00
Fabien Potencier
227c87404f
Merge remote branch 'Funsational/master'
...
* Funsational/master:
Update PDO session storage to check if any rows are updated when doing a session write. If no rows are udpated when performing a session write it generally means that we have created a new session id somewhere and we have not inserted into the database. This is the case for when calling regenerate_session_id() from the native session storage class. It will update the session id then call sessionWrite() to save the session but since the new session id does not exist in the DB, no rows are updated and any new session attributes such as security tokens are lost.
2011-04-13 14:27:16 +02:00
hhamon
facb67cbfa
[HttpKernel] private $traces property was not initialized to an empty array. When using the getLog() method to debug traces, it led to a warning in the apache error log.
2011-04-13 14:24:53 +02:00
Fabien Potencier
3d093c161b
Merge remote branch 'kriswallsmith/assetic/config-tweak'
...
* kriswallsmith/assetic/config-tweak:
[AsseticBundle] updated bundle node to match others, cleaned up validation
2011-04-13 14:21:21 +02:00
Fabien Potencier
9162e4c760
Merge remote branch 'weaverryan/controller_not_found_exception'
...
* weaverryan/controller_not_found_exception:
[FrameworkBundle] Adding a shortcut method to the controller for throwing the NotFoundHttpException
2011-04-13 14:20:37 +02:00
Fabien Potencier
0d61ae06b4
Merge remote branch 'lsmith77/prevent_redundant_DI_method_calls'
...
* lsmith77/prevent_redundant_DI_method_calls:
do not add method calls from interface injection if a method call has already been set manually
2011-04-13 14:16:14 +02:00
Kris Wallsmith
bfb0f094f4
[AsseticBundle] updated bundle node to match others, cleaned up validation
2011-04-13 05:13:04 -07:00
Lukas Kahwe Smith
c9be18a79f
do not add method calls from interface injection if a method call has already been set manually
2011-04-13 14:11:56 +02:00
Fabien Potencier
8e3d125902
fixed CS
2011-04-13 14:07:54 +02:00
Fabien Potencier
4e047b5e27
Merge remote branch 'vicb/event_debug'
...
* vicb/event_debug:
[FrameworkBundle] Make some TraceableEventDispacther properties private
[Event] Tweak phpDoc for consistency
[FrameworkBundle] Add error detection to the TraceableEventDispatcher
2011-04-13 14:07:05 +02:00
George Giannoulopoulos
81e1d4f11d
Refactoring, replace is_null() wuth null ===
2011-04-13 13:56:15 +02:00
Bernhard Schussek
2a18be1c9f
Merge remote branch 'symfony/master' into experimental
2011-04-13 13:53:20 +02:00
Fabien Potencier
6c8e4a567c
Merge remote branch 'francisbesset/translator_validators_fr'
...
* francisbesset/translator_validators_fr:
[FrameworkBundle] Fixed validators translation french message
2011-04-13 13:49:27 +02:00
Fabien Potencier
9c80e7bcc4
Merge remote branch 'hason/twigtrans'
...
* hason/twigtrans:
[Bridge][Twig] improved behaviour of the transchoice tag (support for variables)
[Bridge][Twig] added transchoice filter
2011-04-13 13:48:20 +02:00
Fabien Potencier
d46732bb48
Merge remote branch 'schmittjoh/addMissingInterface'
...
* schmittjoh/addMissingInterface:
[FrameworkBundle] added ContainerAwareInterface to services.xml
2011-04-13 13:44:57 +02:00
Fabien Potencier
0c93b6bbe4
Merge remote branch 'vicb/locate_template2'
...
* vicb/locate_template2:
[FrameworkBundle] Enforce templates instances of TemplateReferenceInterface
[FrameworkBundle] Add unit tests for the CacheTemplateLocator class
[FrameworkBundle] Add unit tests for the TemplateLocator class
[TwigBundle] Fix the cache warmer
[TwigBundle] Tweak cache warmer configuration
[FrameworkBundle] Fix resource inheritance in the template cache warmer
2011-04-13 13:38:11 +02:00
Fabien Potencier
7913d7978e
[Form] removed DefaultFormFactory as it does not help that much and adds some confusion
2011-04-13 13:24:56 +02:00
Fabien Potencier
92f77cce97
Merge remote branch 'lsmith77/ResolveInvalidReferencesPass'
...
* lsmith77/ResolveInvalidReferencesPass:
updated tests (aka removed exceptions handling)
use synthetic services instead of special exceptions
2011-04-13 11:46:52 +02:00
Fabien Potencier
49dc836521
[Form] moved the template context creation to the Form class
...
Moving the template context creation makes sense and allows for simpler code for the end user:
Before:
return array('post' => $post, 'form' => $this->get('form.factory')->createTemplateContext($form));
After:
return array('post' => $post, 'form' => $form->getContext());
2011-04-13 09:31:13 +02:00
Fabien Potencier
94eed37a93
Merge remote branch 'schmittjoh/parameterBagEnhancement'
...
* schmittjoh/parameterBagEnhancement:
[HttpFoundation] added some unit tests
[HttpFoundation] allow to retrieve paths of arbitrary depths
2011-04-13 07:58:14 +02:00
Johannes Schmitt
2397bcbe94
[DependencyInjection] better logging
2011-04-13 00:51:32 +02:00
Fabien Potencier
d873f21f69
[FrameworkBundle] removed links in exceptions when the file does not exist (mostly useful because of shortcut notations for templates)
2011-04-12 15:23:02 +02:00
Fabien Potencier
b68624aa7f
[FrameworkBundle] tweaked regexp
2011-04-12 15:19:57 +02:00
Johannes M. Schmitt
61dba2dd34
[FrameworkBundle] added ContainerAwareInterface to services.xml
2011-04-12 15:10:15 +02:00
Fabien Potencier
d95a743d9f
Merge remote branch 'Brouznouf/master'
...
* Brouznouf/master:
[Serializer] Revert DOMElement to SimpleXmlElement
[Serializer] Using DOMElement instead of SimpleXmlElement in XmlEncoder to permit some behavior
2011-04-12 13:02:35 +02:00
Fabien Potencier
55a8f8d098
extracted common layout for internal/core pages
...
CSS styles should probably be renamed at some point.
2011-04-12 12:32:59 +02:00
Fabien Potencier
e6fd8deb00
[Security] tweaked some exception messages
2011-04-12 11:41:39 +02:00
Brouznouf
86343b43ec
[Serializer] Revert DOMElement to SimpleXmlElement
2011-04-12 11:18:17 +02:00
Brouznouf
b02c1d9f32
Merge remote branch 'upstream/master'
2011-04-12 11:17:09 +02:00
Martin Hason
d39ea6ae79
[Bridge][Twig] improved behaviour of the transchoice tag (support for variables)
2011-04-12 11:15:19 +02:00
Martin Hason
d300b94745
[Bridge][Twig] added transchoice filter
2011-04-12 11:10:55 +02:00
Fabien Potencier
41a1a75b92
[Process] made default options overridable
2011-04-12 11:04:35 +02:00
Fabien Potencier
7f911642e1
Merge remote branch 'pborreli/windows-process-fix'
...
* pborreli/windows-process-fix:
[Process][Windows] Don't use cmd for launching process (fixing Sismo git.exe calling)
2011-04-12 11:04:02 +02:00
Fabien Potencier
57f814b2e3
Merge remote branch 'beberlei/YamlValidatorFix'
...
* beberlei/YamlValidatorFix:
[FrameworkBundle][Validation] Fix bug where YAML Validation files are not detected.
2011-04-12 10:59:56 +02:00
Fabien Potencier
d163a60f54
[Security] fixed URL
2011-04-12 10:49:22 +02:00
Lukas Kahwe Smith
a4b04c4add
use synthetic services instead of special exceptions
2011-04-12 10:07:46 +02:00
Pascal Borreli
3e8874df75
Merge remote-tracking branch 'upstream/master' into windows-process-fix
2011-04-12 01:05:46 +00:00
Brouznouf
8e6233e9c2
[Serializer] Using DOMElement instead of SimpleXmlElement in XmlEncoder to permit some behavior
2011-04-12 00:58:21 +02:00
Benjamin Eberlei
d27dc86c25
[FrameworkBundle][Validation] Fix bug where YAML Validation files are not detected.
2011-04-11 23:26:11 +02:00
Fabien Potencier
27d2b049f8
Merge remote branch 'Seldaek/init_bundle'
...
* Seldaek/init_bundle:
[FrameworkBundle] Allow init:bundle to be called with / as namespace separator
2011-04-11 18:39:36 +02:00
Fabien Potencier
92c8edc2b5
Merge remote branch 'weaverryan/router_debug_format_tweak'
...
* weaverryan/router_debug_format_tweak:
[FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
2011-04-11 18:39:04 +02:00
Fabien Potencier
2be704e212
Merge remote branch 'weaverryan/request_listener_log_change'
...
* weaverryan/request_listener_log_change:
[FrameworkBundle] Tweak to how the routing parameters are output
2011-04-11 18:38:39 +02:00
Fabien Potencier
78c5a0ac90
Merge remote branch 'weaverryan/assets_install_command_mods'
...
* weaverryan/assets_install_command_mods:
[FrameworkBundle] Improving the output and help messages in the task (no behavioral change)
2011-04-11 18:37:00 +02:00
Fabien Potencier
aa26624161
Merge remote branch 'vicb/template_logical_name'
...
* vicb/template_logical_name:
Display template logical names in exception messages
2011-04-11 18:35:51 +02:00
Kris Wallsmith
c5fe4c390d
[Templating] cleaned up some anomalies in the engine
2011-04-11 09:20:47 -07:00
Fabien Potencier
7f2294395c
[Form] reverted the templating part to be similar to what we have today
2011-04-11 16:42:51 +02:00
Francis Besset
b4d8091cdc
[FrameworkBundle] Fixed validators translation french message
2011-04-10 19:02:03 +02:00
Jordi Boggiano
7d61c003da
[FrameworkBundle] Allow init:bundle to be called with / as namespace separator
2011-04-10 12:22:25 +02:00
Ryan Weaver
409df12a36
[FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
...
Before this change, the var_export causes namespaces to be escaped:
Before: 'Symfony\\Component\\...'
After: Symfony\Component\...
2011-04-09 17:53:33 -05:00
Ryan Weaver
3e41bef1e8
[FrameworkBundle] Tweak to how the routing parameters are output
...
The json_encode is actually really nice, except that it results in the "escaped" namesapces (e.g. Symfony\\Component\\...).
2011-04-09 17:35:31 -05:00
Pascal Borreli
46b4098907
[Process][Windows] Don't use cmd for launching process (fixing Sismo git.exe calling)
2011-04-09 17:31:26 +00:00
Ryan Weaver
91df6d9f5c
[FrameworkBundle] Improving the output and help messages in the task (no behavioral change)
2011-04-09 09:13:24 -05:00
Victor Berchet
e254ff8cc6
Display template logical names in exception messages
2011-04-08 19:56:12 +02:00
Victor Berchet
e80a693cfe
[FrameworkBundle] Enforce templates instances of TemplateReferenceInterface
2011-04-08 18:54:19 +02:00
Victor Berchet
c45d5c89cc
[FrameworkBundle] Add unit tests for the CacheTemplateLocator class
2011-04-08 18:54:19 +02:00
Victor Berchet
27a327e0de
[FrameworkBundle] Add unit tests for the TemplateLocator class
2011-04-08 18:54:19 +02:00
Victor Berchet
87000a163b
[TwigBundle] Fix the cache warmer
2011-04-08 18:54:19 +02:00
Victor Berchet
e1ab14ba08
[TwigBundle] Tweak cache warmer configuration
2011-04-08 18:54:19 +02:00
Victor Berchet
7cc51d8596
[FrameworkBundle] Fix resource inheritance in the template cache warmer
2011-04-08 18:54:19 +02:00
Fabien Potencier
d91a0747ec
[WebProfilerBundle] fixed button names to be more consistent with others
2011-04-08 17:56:08 +02:00
Fabien Potencier
1e03ff0632
Merge remote branch 'schmittjoh/cssfix'
...
* schmittjoh/cssfix:
[FrameworkBundle] made css rule a bit more conservative
2011-04-08 17:54:29 +02:00
Fabien Potencier
9ceec87eb8
[DomCrawler] fixed various bug with URIs
2011-04-08 17:52:43 +02:00
Johannes M. Schmitt
6408d5fc03
[FrameworkBundle] made css rule a bit more conservative
2011-04-08 17:49:56 +02:00
Fabien Potencier
a230090537
removed some json_encode() calls to use the new getLogicalName() method instead
2011-04-08 17:28:27 +02:00
Fabien Potencier
5558ee24c7
Merge remote branch 'hason/logicalname'
...
* hason/logicalname:
[Templating] changed __toString method (synonym for getLogicalName method)
[Templating] fixed phpdoc a test
[FrameworkBundle] added getLogicalName() method to TemplateReference
[Templating] added method to return the template logical name, added test
2011-04-08 17:22:11 +02:00
Fabien Potencier
7018335ae8
Merge remote branch 'stof/monolog'
...
* stof/monolog:
[MonologBundle][BC break] Renamed the type to fingers_crossed and rotating_file
[MonologBundle] Refactored the configuration to allow adding handlers
2011-04-08 16:56:56 +02:00
Johannes M. Schmitt
8132102237
[Process] use component exception
2011-04-08 14:27:03 +02:00
Johannes M. Schmitt
34beec2161
[Process][Assetic] refactored some code to allow for better executable defaults
2011-04-08 12:20:27 +02:00
Martin Hason
185144bc46
[Templating] changed __toString method (synonym for getLogicalName method)
2011-04-08 11:33:35 +02:00
Martin Hason
20c5db2197
[Templating] fixed phpdoc a test
2011-04-08 11:24:28 +02:00
Martin Hason
6c4801945e
[FrameworkBundle] added getLogicalName() method to TemplateReference
2011-04-08 10:32:46 +02:00
Martin Hason
6b5d991685
[Templating] added method to return the template logical name, added test
2011-04-08 10:31:47 +02:00
Victor Berchet
ceb2c976de
[HttpKernel] Fix the case where no resource is found
2011-04-08 08:52:03 +02:00
Fabien Potencier
a46c2aa68c
Merge remote branch 'kriswallsmith/mongodb/logger-null-fix'
...
* kriswallsmith/mongodb/logger-null-fix:
[DoctrineMongoDBBundle] fixed logging of null values
2011-04-08 07:31:47 +02:00
Fabien Potencier
0abeaf1a38
Merge remote branch 'weaverryan/template_locator_better_exception'
...
* weaverryan/template_locator_better_exception:
[FrameworkBundle] Taking advantage of the known type of $template to render meaningfull information about the template
2011-04-08 07:31:33 +02:00
Johannes Schmitt
5a4ffcd8b6
[Security] re-added some parameters
2011-04-08 07:24:42 +02:00
Ryan Weaver
5ecf1cd1d1
[FrameworkBundle] Taking advantage of the known type of $template to render meaningfull information about the template
...
The $template variable is not type-hinted, but this is just because the `locate` method must follow the signature of the interface.
According to the PHPDoc, the $template variable is in fact an instance of TemplateReferenceInterface, meaning we can call getPath()
on it. The previous method of json_encode just returned two empty braces, at least in my experience.
2011-04-07 18:29:34 -05:00
Kris Wallsmith
e4d3045925
[DoctrineMongoDBBundle] fixed logging of null values
2011-04-07 13:51:25 -07:00
Christophe Coevoet
723f7d46b7
[MonologBundle][BC break] Renamed the type to fingers_crossed and rotating_file
2011-04-07 15:57:47 +02:00
Christophe Coevoet
4949e0d1ed
[MonologBundle] Refactored the configuration to allow adding handlers
...
A subsequent config file does not overwrite the whole stack anymore. An
handler can now be redefined using the same name and will keep its place
in the stack. A new handler will be added at the bottom of the stack due
to the way the config are merged.
Handlers of the stack now have a priority (defaulting to 0) which is used
to allow to reorder them. This allow to add an handler at the top of the
stack by giving it a higher priority. Handlers with the same priority stay
in the order where they are defined in the config files.
As the merging strategy of the Config component could change it is
recommended to use the priority when adding a new handler in a subsequent
file even to put it at the bottom.
The support of the new BufferHandler (type: buffer) and RotatingFileHandler
(type: rotatingfile) was also added.
2011-04-07 13:20:13 +02:00
Fabien Potencier
dfa1da0416
[Form] removed unused use statement and fixed phpdoc
2011-04-07 09:00:01 +02:00
michaelwilliams
c4660418d2
Merge remote-tracking branch 'upstream/master'
2011-04-06 17:42:32 -07:00
Pascal Borreli
3dfbc08d73
[HttpKernel][Windows] Removed useless DIRECTORY_SEPARATOR conversion
2011-04-06 17:30:32 +00:00
Bernhard Schussek
67582c9a5c
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
2011-04-06 16:06:26 +02:00
Bernhard Schussek
3482ff73b7
[Form] Fixed empty value in choice fields
2011-04-06 15:59:09 +02:00
Bernhard Schussek
e476231e8a
[Form] Removed invalid tests, cleaned up some tests, added test coverage
2011-04-06 15:58:53 +02:00
Kris Wallsmith
3ff157c8a5
[Validator] switched to apc_exists()
2011-04-06 04:12:29 -07:00
Kris Wallsmith
d0f45fd3b6
[FrameworkBundle] added configuration for caching validator metadata
2011-04-06 04:07:38 -07:00
Kris Wallsmith
9ff2ca7f1d
[Validator] fixed apc cache
2011-04-06 04:07:37 -07:00
Fabien Potencier
ae218d202e
Merge remote branch 'vicb/bundle_inheritance'
...
* vicb/bundle_inheritance:
[Kernel] Fix bundle inheritance
2011-04-06 11:29:05 +02:00
Fabien Potencier
f17a588c8f
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[Security] added another example to update file
[Security] Remove unneeded and invalid use statement
2011-04-06 11:17:39 +02:00
Victor Berchet
f331a7f8f9
[FrameworkBundle] Make some TraceableEventDispacther properties private
2011-04-06 09:42:48 +02:00
Victor Berchet
745d144e79
[Event] Tweak phpDoc for consistency
2011-04-06 09:42:48 +02:00
Victor Berchet
a6c3b4bfa2
[FrameworkBundle] Add error detection to the TraceableEventDispatcher
2011-04-06 09:42:38 +02:00
Victor Berchet
7707c0f251
[Kernel] Fix bundle inheritance
2011-04-06 07:46:08 +02:00
Kris Wallsmith
eca0243d3e
[FrameworkBundle] added condition so invalid session config isn't created
2011-04-05 15:42:43 -07:00
Jordi Boggiano
e697224efa
[Security] Remove unneeded and invalid use statement
2011-04-05 18:42:00 +02:00
Fabien Potencier
839782b6e4
[FrameworkBundle] added support for routing redirection
2011-04-05 15:21:32 +02:00
Fabien Potencier
e3679ef44f
[Routing] decoupled Routing from FrameworkBundle
2011-04-05 15:21:32 +02:00
Henrik Bjørnskov
d3baba8a35
[DoctrineMongoDBBundle] Made hydrator_dir and proxy_dir configurable. Moved default values for the params to Configuration class
2011-04-05 13:29:51 +02:00
Fabien Potencier
00c9539aaa
Merge remote branch 'vicb/config_base'
...
* vicb/config_base:
[Config] Add a note about the ConfigurationInterface interface in UPDATE.md
[MonologBundle] Make The Configuration class implements the ConfigurationInterface
[Config] Introduction of an ConfigurationInterface
2011-04-05 12:32:58 +02:00
Johannes Schmitt
6d4814c115
Merge branch 'acl-fix' of https://github.com/comfortablynumb/symfony into security
2011-04-05 12:25:24 +02:00
Gustavo Adrian
2e96f2c63d
Fixed exception that was thrown while updating a field ACE
2011-04-05 13:05:20 -03:00
Fabien Potencier
372907ead1
[Routing] fixed CS
2011-04-05 12:13:47 +02:00
Fabien Potencier
7c0a39c353
[Routing] optimized the output of the PHP matcher dumper
2011-04-05 11:58:56 +02:00
Victor Berchet
0973d37202
[MonologBundle] Make The Configuration class implements the ConfigurationInterface
2011-04-05 11:31:38 +02:00
Victor Berchet
b640fcb0f0
[Config] Introduction of an ConfigurationInterface
2011-04-05 11:26:28 +02:00
Fabien Potencier
e6e8d9b03d
[MonologBundle] fixed typo
2011-04-05 10:54:33 +02:00
Fabien Potencier
dfbc0a899d
Merge remote branch 'vicb/link_format'
...
* vicb/link_format:
[Templating] Fix for getting the file link format from XDebug settings
2011-04-05 10:52:50 +02:00
Victor Berchet
170375a946
[Templating] Fix for getting the file link format from XDebug settings
2011-04-05 10:36:11 +02:00
Johannes Schmitt
1ed73fb6e6
[HttpFoundation] allow to retrieve paths of arbitrary depths
2011-04-05 10:17:31 +02:00
Fabien Potencier
6daf09a61d
Merge remote branch 'subsven/master'
...
* subsven/master:
Add (Boolean) cast to constructor arguments
Add a configuration option to restrict profiler storage to the master request
2011-04-05 10:03:58 +02:00
Fabien Potencier
6faacdec27
[HttpKernel] fixed CS
2011-04-05 09:48:36 +02:00
Fabien Potencier
9bcd49683e
Merge remote branch 'vicb/resource_path'
...
* vicb/resource_path:
Update for Bundle names long again (= include the 'Bundle' suffix)
[Kernel] Make locateResource() throws an exception when a resource from a Bundle hides a custom resource
[Kernel] Make resources overriding consistent across bundle directories and resource directories
[Kernel] Improve test semantic
[Kernel] Update tests with shorter bundle names
[Kernel] Restore the tests for the locateResource method
Resource paths should use the full bundle name (with the 'Bundle' postfix)
2011-04-05 09:42:47 +02:00
Fabien Potencier
68acb02486
Merge remote branch 'vicb/wdtb_css'
...
* vicb/wdtb_css:
[WebProfilerBundle] Tweak the wdtb css
2011-04-05 08:29:24 +02:00
Fabien Potencier
b126c50aea
[FrameworkBundle] fixed CS
2011-04-05 08:24:46 +02:00
Fabien Potencier
9ff8080d9f
Merge remote branch 'danielholmes/phpunit_xml_dir'
...
* danielholmes/phpunit_xml_dir:
[FrameworkBundle] removed function for checking for phpunit.xml in cwd
[FrameworkBundle] fixed error with arg reversing from previous changes
[FrameworkBundle] refactored getPhpUnitXmlDir in to separate parts and added support for --confguration=... style phpunit flag
[FrameworkBundle] fixed getPhpUnitXmlDir to work with directory paths with spaces in them
2011-04-05 08:16:53 +02:00
Fabien Potencier
ea7a87a1b7
[FrameworkBundle] simplified code
2011-04-05 08:10:17 +02:00
Fabien Potencier
515b6e48a0
merged vicb/event_dispatcher
2011-04-05 08:08:57 +02:00
Victor Berchet
6164054972
[WebProfilerBundle] Tweak the wdtb css
2011-04-05 08:05:59 +02:00
Fabien Potencier
9e4ebc951c
Merge remote branch 'kriswallsmith/assetic/filter-file'
...
* kriswallsmith/assetic/filter-file:
[AsseticBundle] added easy way to add a file to a filter definition
2011-04-05 08:04:11 +02:00
Fabien Potencier
747c98f178
[FrameworkBundle] removed the debug.file_link_format parameter
2011-04-05 08:03:29 +02:00
Fabien Potencier
4d4876d9ba
Merge remote branch 'vicb/file_link_format'
...
* vicb/file_link_format:
[FrameworkBundle] Make specifying a custom file_link_format easier
[FrameworkBundle] Fix for getting the file link format fallback to XDebug configuration
2011-04-05 07:57:07 +02:00
Fabien Potencier
87f808757d
[WebProfileBundle] replaced an inclusion with a macro
2011-04-05 07:54:07 +02:00
Fabien Potencier
c2880378b9
Revert "[WebProfilerBundle] Tweak html markup and css"
...
This reverts commit 60b96e7c57
.
I want to be able to display several toolbars on the same page
2011-04-05 07:51:32 +02:00
Fabien Potencier
d61a685786
Merge remote branch 'vicb/wdtb_and_events'
...
* vicb/wdtb_and_events:
[WebProfilerBundle] Event panel: details & links to the listener method when applicable
[WebProfilerBundle] Tweak html markup and css
[WebProfilerBundle] Update the event panel layout
[WebProfilerBundle] Style abbr elements
2011-04-05 07:46:34 +02:00
Ryan Weaver
22beeb2549
[TwigBundle] Cleaning up several portions of the exception message received when a template cannot be loaded
...
* The quotations are redundant when the template is a string - json_encode() adds the quotes
* The exception should not end in a period, as the exception class may add a line number (not in this case, but generall)
* Made the line number -1, so that no line number was displayed in the message (error at line 0 looks worse than nothing at all)
2011-04-04 21:35:00 -05:00
Victor Berchet
b5f3d14714
[WebProfilerBundle] Event panel: details & links to the listener method when applicable
2011-04-05 01:23:31 +02:00
Victor Berchet
5a1d5e5082
[FrameworkBundle] Make specifying a custom file_link_format easier
2011-04-05 01:15:21 +02:00
Victor Berchet
9998ab18e9
[FrameworkBundle] Fix for getting the file link format fallback to XDebug configuration
2011-04-04 23:39:37 +02:00
Victor Berchet
60b96e7c57
[WebProfilerBundle] Tweak html markup and css
2011-04-04 23:09:43 +02:00
Kris Wallsmith
4e5c0b1da9
[AsseticBundle] added easy way to add a file to a filter definition
2011-04-04 13:47:32 -07:00
Victor Berchet
1f1ee3cb01
[WebProfilerBundle] Update the event panel layout
2011-04-04 20:15:39 +02:00
Victor Berchet
b95295caac
[FrameworkBundle] A listener is always an object
2011-04-04 19:51:14 +02:00
Victor Berchet
f58658f929
[WebProfilerBundle] Style abbr elements
2011-04-04 19:28:09 +02:00
Victor Berchet
46480b7e89
[FrameworkBundle] Fix the traceable event dispatcher
2011-04-04 19:22:55 +02:00
Fabien Potencier
dd150fc478
Merge remote branch 'vicb/twig_warmer'
...
* vicb/twig_warmer:
[TwigBundle] Update the cache warmer
2011-04-04 18:52:56 +02:00
Fabien Potencier
fe43e1b759
Merge remote branch 'lsmith77/default_namespace2'
...
* lsmith77/default_namespace2:
added default implementation for getNamespace()
2011-04-04 18:46:30 +02:00
Fabien Potencier
dbfe73bef4
Merge remote branch 'vicb/gitkeep'
...
* vicb/gitkeep:
[FrameworkBundle] Delete .gitkeep files
2011-04-04 18:45:25 +02:00
Fabien Potencier
ae2629ce30
merged vicb/profiler_verbose
2011-04-04 18:43:33 +02:00
Fabien Potencier
60dd810e3f
[DoctrineBundle] fixed unit tests
2011-04-04 18:35:29 +02:00
Fabien Potencier
b1e0403c96
Merge remote branch 'francisbesset/doctrine_orm_custom_hydrator'
...
* francisbesset/doctrine_orm_custom_hydrator:
[DoctrineBundle] Added tests for add custom hydration mode
Updated XSD schema
Moved hydrators configuration in entity manager
[DoctrineBundle] Added custom hydrator for the EntityManager from configuration
2011-04-04 18:31:55 +02:00
Victor Berchet
852d5c37df
[FrameworkBundle] Delete .gitkeep files
2011-04-04 17:40:18 +02:00
Bernhard Schussek
bfa3c71140
[Form] Added Bundle suffixes again
2011-04-04 15:33:21 +02:00
Bernhard Schussek
0cf8cc762a
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
2011-04-04 15:16:08 +02:00
Fabien Potencier
9fe9d80371
[MonologBundle] fixed typo
2011-04-04 14:56:42 +02:00
Fabien Potencier
117b6997b4
[WebProfilerBundle] removed redundant info
2011-04-04 12:45:25 +02:00
Fabien Potencier
5bd2b53cb8
[ZendBundle] removed the bundle
2011-04-04 12:41:27 +02:00
Fabien Potencier
01ee1bfed1
merged stof/monolog
2011-04-04 12:29:15 +02:00
Fabien Potencier
f4276a88f6
Merge remote branch 'schmittjoh/parameterCleanup'
...
* schmittjoh/parameterCleanup:
[SecurityBundle] inline parameters which are only used in one place
[SecurityBundle] moved all non-class parameters to the Configuration file
2011-04-04 11:57:31 +02:00
Fabien Potencier
1cb03b1448
[FrameworkBundle] removed templating.loader.cache.path parameter
2011-04-04 11:56:41 +02:00
Fabien Potencier
1fd44ea736
Merge remote branch 'vicb/cache_template'
...
* vicb/cache_template:
[FrameworkBundle] Fix the cache template loader
2011-04-04 11:49:13 +02:00
Fabien Potencier
49a7f525b9
Revert "[FrameworkBundle] Updated the files generated by init:bundle to use the new bundle logical names"
...
This reverts commit d0e2b5b611
.
2011-04-04 11:42:52 +02:00
Victor Berchet
5317c96fef
Update for Bundle names long again (= include the 'Bundle' suffix)
2011-04-04 11:39:41 +02:00
Victor Berchet
7ed18bf829
[Kernel] Make locateResource() throws an exception when a resource from a Bundle hides a custom resource
2011-04-04 11:24:51 +02:00
Victor Berchet
3cd3dd39ba
[Kernel] Make resources overriding consistent across bundle directories and resource directories
2011-04-04 11:24:51 +02:00
Victor Berchet
8b7c857ef3
Resource paths should use the full bundle name (with the 'Bundle' postfix)
2011-04-04 11:24:51 +02:00
Fabien Potencier
f232b3cdda
reverted Merge remote branch 'kriswallsmith/kernel/shorter-bundle-names'
2011-04-04 11:10:56 +02:00
Fabien Potencier
743592d81e
Revert "fixed remaining Bundle suffixes"
...
This reverts commit 315147c6c8
.
2011-04-04 11:08:56 +02:00
Fabien Potencier
c80ade9dc7
Revert "[DoctrineBundle] updated tests with shorter bundle names"
...
This reverts commit 082fd73b3c
.
2011-04-04 11:08:50 +02:00
Fabien Potencier
c1715ef376
Revert "[DoctrineMongoDBBundle] updated tests with shorter bundle names"
...
This reverts commit 751ba4db5e
.
2011-04-04 11:08:43 +02:00
Fabien Potencier
6c2954a2d5
Revert "[FrameworkBundle] fixed shorter bundle name in test"
...
This reverts commit d1f3852868
.
2011-04-04 11:08:30 +02:00
Fabien Potencier
06c1e02bed
Merge remote branch 'Seldaek/serializer'
...
* Seldaek/serializer:
[Serializer] Some more privates
[Serializer] Move private methods below protected ones
[Serializer] Added @api annotations
[Serializer] Added docblocks for NormalizableInterface
[Serializer] add methods to the SerializerInterface
[Serializer] Added docblock
[Serializer] Switched most protected to private or final
2011-04-04 11:01:41 +02:00
Fabien Potencier
9b16287bcd
Merge remote branch 'Seldaek/ajax_redir'
...
* Seldaek/ajax_redir:
[WebProfilerBundle] Prevent redirects to be intercepted in XHRs
2011-04-04 11:01:12 +02:00
Eriksen Costa
bc52107d07
[Locale] fixed method signature, removed default value for the $locale arg
2011-04-03 22:57:50 -03:00
Francis Besset
d9b3643d47
[DoctrineBundle] Added tests for add custom hydration mode
2011-04-04 00:07:23 +02:00
Fabien Potencier
514133a6bb
[Console] made ApplicationTester::getDisplay() work even in case of an error during execution and changed returned value of ApplicationTester to the command exit code
2011-04-03 23:46:08 +02:00
Fabien Potencier
dd158a2c99
[Console] made CommandTester::getDispaly() work even in case of an error during execution
2011-04-03 23:25:59 +02:00
Francis Besset
97729e6c61
Updated XSD schema
2011-04-03 23:08:56 +02:00
Francis Besset
9b093d53ae
Moved hydrators configuration in entity manager
2011-04-03 23:08:18 +02:00
Francis Besset
daa138ffc8
[DoctrineBundle] Added custom hydrator for the EntityManager from configuration
2011-04-03 22:39:35 +02:00
Fabien Potencier
ad4a0bda1c
[Console] changed returned value of CommandTester to the command exit code
2011-04-03 22:30:40 +02:00
Fabien Potencier
91a2f36850
[DomCrawler] fixed typo in phpdoc
2011-04-03 22:23:52 +02:00
Jordi Boggiano
21b3ee6783
[WebProfilerBundle] Prevent redirects to be intercepted in XHRs
2011-04-03 21:21:23 +02:00
Jordi Boggiano
a16f1865b5
[WebProfilerBundle] Display errors logged by monolog properly in logger panel
2011-04-03 16:36:04 +02:00
Jordi Boggiano
7132f81d14
[Serializer] Some more privates
2011-04-03 16:24:25 +02:00
Jordi Boggiano
47733d08a1
[Serializer] Move private methods below protected ones
2011-04-03 16:21:53 +02:00
Jordi Boggiano
54ffb1fbc0
[Serializer] Added @api annotations
2011-04-03 15:49:40 +02:00
Jordi Boggiano
507f6269b5
[Serializer] Added docblocks for NormalizableInterface
2011-04-03 15:44:09 +02:00
Jordi Boggiano
76cab7deb9
[Serializer] add methods to the SerializerInterface
2011-04-03 15:15:53 +02:00
Jordi Boggiano
cb727dbde3
[Serializer] Added docblock
2011-04-03 15:14:07 +02:00
Jordi Boggiano
424a1dad27
[Serializer] Switched most protected to private or final
2011-04-03 15:13:21 +02:00
Victor Berchet
788ed5126b
[FrameworkBundle] Fix the cache template loader
2011-04-02 19:18:32 +02:00
Fabien Potencier
5d143c4aac
Merge remote branch 'weaverryan/prevent_exception_on_handle_exception'
...
* weaverryan/prevent_exception_on_handle_exception:
[HttpKernel] Wrapping the end of handleException() in a try-catch to prevent response listeners from throwing another exception
2011-04-02 18:40:34 +02:00
Fabien Potencier
53274512e2
Merge remote branch 'weaverryan/better_import_exception_and_bug_fix'
...
* weaverryan/better_import_exception_and_bug_fix:
[Config] Improving the exception when a resource cannot be imported
[DependencyInjection] Fixing a bug where "ignore_errors" doesn't work in YAML and XML
2011-04-02 18:37:51 +02:00
Fabien Potencier
e92ac9eeef
Merge remote branch 'weaverryan/exception_page_changes'
...
* weaverryan/exception_page_changes:
[FrameworkBundle] When there are multiple nested exceptions, this hides the stacktrace from all exceptions by default
[FrameworkBundle] Fixing small bug on exception page where the +/- icons didn't toggle correctly
2011-04-02 18:33:55 +02:00
Bernhard Schussek
72a41f8c94
[Form] Fixed: Booleans can be used as choice keys now
2011-04-02 18:26:28 +02:00
Fabien Potencier
1cd9b5bb49
Merge remote branch 'kriswallsmith/assetic/updates'
...
* kriswallsmith/assetic/updates:
[AsseticBundle] added twig support for asset packages
[AsseticBundle] cleaned up php templating support
[FrameworkBundle] fixed interface and usage in RouterHelper
[AsseticBundle] fixed twig classes for api changes in assetic
2011-04-02 18:15:45 +02:00
Fabien Potencier
0667e706fe
Merge remote branch 'kriswallsmith/assetic/config-fixes'
...
* kriswallsmith/assetic/config-fixes:
[AsseticBundle] moved some parameter defaults to Configuration
[AsseticBundle] fixed definition of filter configs
2011-04-02 18:15:43 +02:00
Fabien Potencier
336a184bb4
Merge remote branch 'kriswallsmith/assetic/coalesce-dirs'
...
* kriswallsmith/assetic/coalesce-dirs:
[AsseticBundle] added coalescing directory resources that check the kernel for bundle templates
2011-04-02 18:15:41 +02:00
Bernhard Schussek
a5d0b3aea6
[Form] Changed FormBuilder::set(Client|Norm)Transformer to FormBuilder::prepend(Client|Norm)Transformer and FormBuilder::append(Client|Norm)Transformer to facilitate extension of types
2011-04-02 16:39:19 +02:00
Victor Berchet
5e141402e1
[WebProfilerBundle] Fix the intercept_redirects option
2011-04-02 16:13:08 +02:00
Victor Berchet
ac03440d7a
[WebProfilerBundle] Make wdtb verbosity configurable
2011-04-02 16:13:08 +02:00
Victor Berchet
b2be041475
[WebProfilerBundle] Remove the format and content type from the wdtb
2011-04-02 16:13:07 +02:00
Bernhard Schussek
be9ef42af9
[Form] Renamed choice transformers for better clarity
2011-04-02 16:11:20 +02:00
Bernhard Schussek
fc59936740
[Form] Fixed: ThemeRenderer::isChoiceSelected() works correctly for boolean choices
2011-04-02 16:00:46 +02:00
Bernhard Schussek
a4bbc40ac6
[Form] Cleaned up ChoiceListInterface
2011-04-02 15:41:43 +02:00
Bernhard Schussek
d3b7c4e8c1
[Form] Moved getLabel(), isChoiceSelected() and isChoiceGroup() from ChoiceListInterface to ThemeRenderer
2011-04-02 14:14:18 +02:00
Bernhard Schussek
d3c8647f49
[Form] Fixed EntitiesToArrayTransformer::reverseTransform() to accept NULL values
2011-04-02 14:13:16 +02:00
Ryan Weaver
39f81753ce
[FrameworkBundle] When there are multiple nested exceptions, this hides the stacktrace from all exceptions by default
...
This addresses the potential issue where a user doesn't realize that there are multiple exception messages because the
full stack trace of the first exception is displayed (pushing the others far far down the page). This hides the stacktrace
of all exceptions (when there are more than one) by default, making each exception message easily viewable.
2011-04-02 06:25:34 -05:00
Ryan Weaver
a166b8de64
[FrameworkBundle] Fixing small bug on exception page where the +/- icons didn't toggle correctly
2011-04-02 06:24:00 -05:00
Bernhard Schussek
94f2baa895
[Form] Fixed BooleanToStringTransformer::reverseTransform() to accept NULL values. Fixes ChoiceTypeTest
2011-04-02 13:00:19 +02:00
Bernhard Schussek
37e8e1270c
[Form][FrameworkBundle][TwigBundle] Renamed view variable 'disabled' to 'read_only' to match with the according FormInterface methods
2011-04-02 12:18:43 +02:00
Bernhard Schussek
39b0aafc00
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
2011-04-02 12:08:27 +02:00
Bernhard Schussek
35d9b7f800
[Form] Improved test coverage of Form. The emptyValue closure now receives the Form instance to use form data when constructing new objects
2011-04-02 12:00:19 +02:00
Bernhard Schussek
4f39234741
[Form] bind() is ignored if a form is read-only
2011-04-02 11:39:15 +02:00
Bernhard Schussek
ca20aef379
[Form] Improved test coverage of DelegatingValidator and fixed validation group inheritance
2011-04-02 11:35:58 +02:00
Bernhard Schussek
33b0011f86
[Form] Improved test coverage of Form
2011-04-02 11:22:29 +02:00
Fabien Potencier
1d4024c654
[Process] added some missing accessors/mutators
2011-04-02 10:08:01 +02:00
Kris Wallsmith
06074c367d
[AsseticBundle] added twig support for asset packages
2011-04-01 20:59:24 -07:00
Kris Wallsmith
e6d4734d4e
[AsseticBundle] cleaned up php templating support
2011-04-01 20:59:24 -07:00
Kris Wallsmith
6c3f50a585
[FrameworkBundle] fixed interface and usage in RouterHelper
2011-04-01 20:58:17 -07:00
michaelwilliams
46b711c4a8
Update PDO session storage to check if any rows are updated when doing a session write. If no rows are udpated when performing a session write it generally means that we have created a new session id somewhere and we have not inserted into the database. This is the case for when calling regenerate_session_id() from the native session storage class. It will update the session id then call sessionWrite() to save the session but since the new session id does not exist in the DB, no rows are updated and any new session attributes such as security tokens are lost.
...
See http://www.php.net/manual/en/function.session-set-save-handler.php#103055 for more details
2011-04-01 18:14:27 -07:00
Ryan Weaver
b9883a3bad
[Config] Improving the exception when a resource cannot be imported
...
This improves, for example, the exception one would receive if they tried to import a resource from a bundle that doesn't exist.
Previously, the deep "bundle is not activated" exception would be thrown. That has value, however there is no indication of where
the exception is actually occurring.
In this new implementation, we throw an exception that explains exactly which resource, and from which source resource, cannot be
loaded. The deeper exception is still thrown as a nested exception.
Two caveats:
* The `HttpKernel::varToString` method was replicated
* This introduces a new `Exception` class, which allows us to prevent lot's of exceptions from nesting into each other in the case
that some deeply imported resource cannot be imported (each upstream import that fails doesn't add its own exception).
2011-04-01 18:59:54 -05:00
Ryan Weaver
65ac5ec7c0
[DependencyInjection] Fixing a bug where "ignore_errors" doesn't work in YAML and XML
...
Tests added, the arguments were simply mismatched.
2011-04-01 18:59:45 -05:00
Ryan Weaver
083b25b68c
[HttpKernel] Wrapping the end of handleException() in a try-catch to prevent response listeners from throwing another exception
2011-04-01 18:01:36 -05:00
Kris Wallsmith
98b3a2d9eb
[AsseticBundle] fixed twig classes for api changes in assetic
2011-04-01 11:33:34 -07:00
Kris Wallsmith
2bc8c5f796
[AsseticBundle] moved some parameter defaults to Configuration
2011-04-01 09:54:49 -07:00
Fabien Potencier
54655104ca
[Process] changed run() behavior to always populate getOutput() and getErrorOutput()
2011-04-01 18:08:54 +02:00
Kris Wallsmith
347b66a2b6
[AsseticBundle] fixed definition of filter configs
2011-04-01 08:06:42 -07:00
Kris Wallsmith
e2f317c0bb
[AsseticBundle] added coalescing directory resources that check the kernel for bundle templates
2011-04-01 07:12:30 -07:00
Fabien Potencier
10297d4eb5
Merge remote branch 'hason/frameworkbundle'
...
* hason/frameworkbundle:
[HttpKernel] removed unused class
[FrameworkBundle] fixed bugs
[FrameworkBundle] fixed test on windows
[FrameworkBundle] fixed CS
2011-04-01 15:45:13 +02:00
Kris Wallsmith
daccbf45bf
[Routing] updated for DirectoryResource changes
2011-04-01 04:57:10 -07:00
Kris Wallsmith
c51b716180
[Config] simplified DirectoryResource to only allow one regex
2011-04-01 04:56:50 -07:00
Johannes Schmitt
4776f9523b
[SecurityBundle] inline parameters which are only used in one place
2011-04-01 12:40:44 +02:00
Martin Hason
e43b53fea3
[HttpKernel] removed unused class
2011-04-01 10:50:12 +02:00
Martin Hason
57b1b4992b
[FrameworkBundle] fixed bugs
...
- not existing service in DI container
- called invalid method
2011-04-01 10:34:13 +02:00
Martin Hason
c045f2896b
[FrameworkBundle] fixed test on windows
2011-04-01 10:31:43 +02:00
Martin Hason
3baebe4e3b
[FrameworkBundle] fixed CS
2011-04-01 10:28:09 +02:00
Fabien Potencier
c9c66db108
Merge remote branch 'kadeer/master'
...
* kadeer/master:
[DoctrineBundle] fixes issues with $this->container->get('form.context') when the value of default_connection key of doctrine.dbal is changed from default in config.yml
2011-04-01 09:48:52 +02:00
Johannes Schmitt
e0c745757d
[SecurityBundle] moved all non-class parameters to the Configuration file
2011-04-01 09:09:17 +02:00
Fabien Potencier
046e3637db
[FrameworkBundle] removed unused parameters
2011-04-01 08:32:31 +02:00
Fabien Potencier
46dc196288
[DoctrineMongoDBBundle] added a FIXME not for non-working code
2011-04-01 08:31:05 +02:00
Fabien Potencier
eb21f5b76e
[FrameworkBundle] moved some validation related services to the XML services file
2011-04-01 08:26:19 +02:00
Fabien Potencier
33add37f7c
[FrameworkBundle] removed the validator.annotations.namespaces parameter
...
The parameter has been removed and the service moved to the XML file (for consistency).
The behavior is still the same as before as any non-public service
which is not referenced anywhere will be automatically removed by a
compiler pass.
2011-04-01 08:15:38 +02:00
Fabien Potencier
fe19646470
[HttpKernel] made the _route request attribute _internal for embedded controller renderings
2011-04-01 07:39:12 +02:00
Fabien Potencier
a9160eee70
[Validator] made fields the default option for Collection constraint
2011-03-31 15:36:04 +02:00
Bernhard Schussek
c864d7fae1
[Form] Improved test coverage of Form class
2011-03-31 15:23:33 +02:00
Fabien Potencier
16a98cf104
[Validator] added a Metadata factory that can be used with ValidatorInterface::validateValue()
2011-03-31 15:05:18 +02:00
Lukas Kahwe Smith
ab93d40855
added default implementation for getNamespace()
2011-03-31 14:21:44 +02:00
Martin Hason
e21591e16e
[Validator] fixed CS
2011-03-31 14:02:00 +02:00
Bernhard Schussek
1ef18360fa
[Form] Made name immutable in FormBuilder to avoid synchronization problems with name and property path
2011-03-31 13:48:06 +02:00
Bernhard Schussek
bbeddf7789
Merge remote branch 'symfony/master' into experimental
2011-03-31 12:32:20 +02:00
Abdulkadir N. A.
8931096449
[DoctrineBundle] fixes issues with $this->container->get('form.context')
...
when the value of default_connection key of doctrine.dbal is changed
from default in config.yml
2011-03-30 23:51:17 -07:00
Fabien Potencier
30f26ed091
[Form] changed DefaultFormFactory to be more 'useable'
2011-03-31 07:35:43 +02:00
Fabien Potencier
c7ccb6643b
[Form] removed unused constructor argument from Type\FieldType (themeFactory and template)
2011-03-31 07:34:04 +02:00
Fabien Potencier
b219e92bf4
[Form] fixed Twig theme tests
2011-03-31 07:27:55 +02:00
Jeremy Mikola
553f5525a5
[FrameworkBundle] Change validator's annotation prefix from "validation" to "assert"
2011-03-30 20:04:18 -04:00
Fabien Potencier
a1fc882fad
[Form] fixed DefaultFormFactory
2011-03-30 23:38:40 +02:00
Fabien Potencier
8a7fa722ac
[Validator] fixed property name
2011-03-30 23:23:26 +02:00
Fabien Potencier
07838c9612
[FrameworkBundle] removed the possibility to change the method name for validation static method loader (as it would break third-party bundles)
2011-03-30 23:21:17 +02:00
Fabien Potencier
f92055ce42
[Validator] renamed methods that do not follow CS
...
requiredOptions -> getRequiredOptions
targets -> getTargets
defaultOption -> getDefaultOption
2011-03-30 23:18:20 +02:00
Fabien Potencier
525702b5c6
[Validator] renamed method to follow CS
2011-03-30 23:10:30 +02:00
Fabien Potencier
6cd77f75c9
[SwiftmailerBundle] removed obsolete parameter
2011-03-30 20:47:13 +02:00
Fabien Potencier
0ae108d13f
[SwiftmailerBundle] fixed indentation in XML files
2011-03-30 20:42:56 +02:00
Fabien Potencier
ff5dd41471
[SwiftmailerBundle] removed the swiftmailer.base_dir parameter
2011-03-30 20:39:47 +02:00
Fabien Potencier
fcea63c0a1
[WebProfilerBundle] prefixed all services with web_profiler
2011-03-30 20:36:52 +02:00
ornicar
d72b1d4f61
Add assets_version
twig function. Also add some phpDoc.
...
I need to get the assets version to pass it to JavaScript. As there is
no obvious way to get it from a twig template actually, I think this
new `assets_version` function makes sense.
2011-03-30 11:14:19 -07:00
Fabien Potencier
33ee321d28
[WebProfilerBundle] fixed typo
2011-03-30 20:03:34 +02:00
Fabien Potencier
6aa8a178c9
[ZendBundle] removed all non-class parameters
2011-03-30 20:02:54 +02:00
Fabien Potencier
702e6587ad
Merge remote branch 'pborreli/windows-fix-mimetype'
...
* pborreli/windows-fix-mimetype:
[HttpFoundation][Windows] Fixed filebinary guesser method.
2011-03-30 19:52:56 +02:00
Fabien Potencier
ee5443a785
[DoctrineBundle] removed unused parameters
2011-03-30 19:49:24 +02:00
Fabien Potencier
edd59d552a
[DoctrineBundle] removed unused parameter
2011-03-30 19:42:10 +02:00
Pascal Borreli
44a6f84855
[HttpFoundation][Windows] Fixed filebinary guesser method.
2011-03-30 17:38:42 +00:00
Fabien Potencier
bdc07ad13e
[WebProfilerBundle] converted the configuration to the new system
2011-03-30 19:31:32 +02:00
Fabien Potencier
c8fe15bfcf
[FrameworkBundle] removed exception_listener.controller parameter
2011-03-30 19:21:04 +02:00
Fabien Potencier
68d340b845
[FrameworkBundle] removed translator.fallback_locale parameter
2011-03-30 19:16:13 +02:00
Fabien Potencier
40606edd1c
[FrameworkBundle] removed templating.assets.version and templating.assets.base_urls parameters
2011-03-30 19:05:22 +02:00
Fabien Potencier
ce4a8de789
[FrameworkBundle] removed the session.default_locale parameter
2011-03-30 17:34:23 +02:00
Fabien Potencier
f77b94074f
[HttpFoundation] replaced the option argument of Session by defaultLocale
2011-03-30 17:26:13 +02:00
Fabien Potencier
5e0c046abd
[FrameworkBundle] removed %error_handle.level% parameter
2011-03-30 17:02:38 +02:00
Fabien Potencier
be702fd426
Merge remote branch 'thesalla/init_bundle_fix'
...
* thesalla/init_bundle_fix:
[FrameworkBundle] Updated the files generated by init:bundle to use the new bundle logical names
2011-03-30 15:53:16 +02:00
Fabien Potencier
e3ccc05122
Merge remote branch 'vicb/wdtb_typo'
...
* vicb/wdtb_typo:
[WebProfilerBundle] Fix a few typos
2011-03-30 15:43:02 +02:00
Fabien Potencier
f5df88244b
Merge remote branch 'weaverryan/staticphp_reference_fix'
...
* weaverryan/staticphp_reference_fix:
[DoctrineAbstractBundle] Changing incorrect "static-php" references to "staticphp"
2011-03-30 15:42:22 +02:00
Bernhard Schussek
60f04860c9
Merge remote branch 'symfony/master' into experimental
2011-03-30 15:40:21 +02:00
Fabien Potencier
80c2944c6e
[ClassLoader] removed ClassLoaderInterface
...
As the autoloader cannot autoload the interface, it makes things more complicated
for a very small benefit.
2011-03-30 11:17:34 +02:00
Bernhard Schussek
55c14680d3
Merge remote branch 'symfony/master' into experimental
2011-03-30 10:31:21 +02:00
Mark Challoner
1adbb763cb
[Validator] Updated ContraintViolationList ArrayAccess setter to check equivalence to null instead of using is_null
2011-03-30 08:43:05 +01:00
Fabien Potencier
eded17adf2
[ClassLoader] added ClassLoaderInterface
2011-03-30 08:24:33 +02:00
Ryan Weaver
9850ff8b6e
[DoctrineAbstractBundle] Changing incorrect "static-php" references to "staticphp"
...
The end string refers to, for example, the parameter doctrine.orm.metadata.staticphp_class
2011-03-29 18:22:32 -05:00
Victor Berchet
db0149ba6e
[WebProfilerBundle] Fix a few typos
2011-03-29 23:09:29 +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
Gyula Sallai
d0e2b5b611
[FrameworkBundle] Updated the files generated by init:bundle to use the new bundle logical names
2011-03-29 21:36:00 +02:00
Sven Paulus
4948666c6a
Add (Boolean) cast to constructor arguments
2011-03-29 17:39:47 +02:00
Sven Paulus
601d3f5d95
Add a configuration option to restrict profiler storage to the master request
...
We a currently working on a project were a single requested URL typically
leads to some hundred controller calls. Using the dev controller got
incredibly slow since recent Symfony2 changes because for each controller
invocation a new entry gets added to the profiler storage (totalling over
100mb of data on each request in our case).
With the new configuration attribute "only-master-requests" it is possible
to limit the profiler storage to the master requests, keeping the profiler
usable for us.
2011-03-29 16:58:34 +02:00
Pascal Borreli
dbb18662d7
[HttpFoundation][Windows] Disabled FileBinaryMimeTypeGuesser for Windows OS
2011-03-29 14:32:20 +00:00
Daniel Holmes
11fb84538a
[FrameworkBundle] removed function for checking for phpunit.xml in cwd
2011-03-29 21:54:32 +11:00
Daniel Holmes
0b65923c37
[FrameworkBundle] fixed error with arg reversing from previous changes
2011-03-29 14:58:43 +11:00
Daniel Holmes
e87f5d507e
[FrameworkBundle] refactored getPhpUnitXmlDir in to separate parts and added support for --confguration=... style phpunit flag
2011-03-29 14:42:27 +11:00
Daniel Holmes
5f6ddc200d
[FrameworkBundle] fixed getPhpUnitXmlDir to work with directory paths with spaces in them
2011-03-29 13:41:58 +11:00
Johannes Schmitt
c3ab11f9db
removed exit calls
2011-03-29 01:06:04 +02:00
Bernhard Schussek
544f763c2c
[FrameworkBundle][TwigBundle] Adapted bundle references to latest symfony/master changes
2011-03-28 22:58:05 +02: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
Victor Berchet
95f5ba1ccd
[TwigBundle] Update the cache warmer
2011-03-28 22:04:39 +02:00
Fabien Potencier
ea5b68383f
Merge remote branch 'kriswallsmith/doctrine/test-fixes'
...
* kriswallsmith/doctrine/test-fixes:
[FrameworkBundle] fixed shorter bundle name in test
[HttpKernel] updated tests for shorter bundle names
[DoctrineMongoDBBundle] updated tests with shorter bundle names
[DoctrineBundle] updated tests with shorter bundle names
2011-03-28 20:48:59 +02:00
Kris Wallsmith
d1f3852868
[FrameworkBundle] fixed shorter bundle name in test
2011-03-28 11:38:22 -07:00
Kris Wallsmith
751ba4db5e
[DoctrineMongoDBBundle] updated tests with shorter bundle names
2011-03-28 11:15:56 -07:00
Kris Wallsmith
082fd73b3c
[DoctrineBundle] updated tests with shorter bundle names
2011-03-28 11:15:41 -07: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
4f4af5b40c
Merge remote branch 'tecbot/master'
...
* tecbot/master:
fixed CS for previous commit
[DoctrineMongoDBBundle] fixed logger when value is a GridFS file
2011-03-28 19:32:43 +02:00
Fabien Potencier
d44c184d57
Merge remote branch 'kriswallsmith/assetic/explicit-filter-config'
...
* kriswallsmith/assetic/explicit-filter-config:
[AsseticBundle] added lessphp filter
[AsseticBundle] added config for image filters
[AsseticBundle] moved filters into individual config files which must be explicitly loaded
[AsseticBundle] removed configuration of default output strings
2011-03-28 19:09:02 +02:00
Fabien Potencier
315147c6c8
fixed remaining Bundle suffixes
2011-03-28 19:04:02 +02:00
Kris Wallsmith
825d67203c
[AsseticBundle] added lessphp filter
2011-03-28 09:42:02 -07:00
Kris Wallsmith
9e5b649110
[AsseticBundle] added config for image filters
2011-03-28 09:42:02 -07:00
Kris Wallsmith
04a257d3ab
[AsseticBundle] moved filters into individual config files which must be explicitly loaded
...
You must now explicitly load those filters you want to use in your app. Some filters have additional configuration options:
assetic:
filters:
cssrewrite: ~
yui_css: { jar: "/path/to/yuicompressor.jar" }
You can also register your own filters now by referencing a configuration file:
assetic:
filters:
my_filter:
resource: "%kernel.root_dir%/config/my_filter.xml"
foo: bar
This configuration would load the referenced configuration file and set the "assetic.filter.my_filter.foo" parameter to "bar"
2011-03-28 09:42:02 -07:00
Kris Wallsmith
260efb32d6
[AsseticBundle] removed configuration of default output strings
2011-03-28 09:17:47 -07: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
Fabien Potencier
faf9782e6f
renamed Twig TransExtension to TranslationExtension
2011-03-28 16:16:54 +02:00
Mark Challoner
77ae8b5898
Implemented ArrayAccess interface
2011-03-28 13:54:37 +01:00
Matthieu Bontemps
8e4686787a
Add a public getter for the Esi instance
2011-03-28 13:45:23 +02:00
Thomas Adam
6f97e8c71e
fixed CS for previous commit
2011-03-28 12:17:29 +02:00
Fabien Potencier
3bf67367c0
[DoctrineBundle] made sure that the Doctine cache is not shared between different applications
2011-03-28 12:17:13 +02:00
Thomas Adam
a7116adb32
[DoctrineMongoDBBundle] fixed logger when value is a GridFS file
2011-03-28 12:08:31 +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
Ryan Weaver
ad80966d83
[FrameworkBundle] Adding a shortcut method to the controller for throwing the NotFoundHttpException
...
The rationale is that this is a very common task and we can't expect non-advanced users to have to remember what the fully-qualified
class name of the Exception is in order to use it.
2011-03-27 10:50:26 -05: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
Fabien Potencier
5ebfb300bd
Merge remote branch 'weaverryan/kernel_controller_exception_message'
...
* weaverryan/kernel_controller_exception_message:
[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
2011-03-27 15:56:48 +02:00
Bernhard Schussek
edfae73cd4
[Form] Moved PropertyPath, PropertyPathIterator and VirtualFormAwareIterator to subnamespace Util
2011-03-27 15:37:13 +02:00
Kris Wallsmith
c2579aa200
[AsseticBundle] removed the event again
2011-03-27 06:33:10 -07:00
Bernhard Schussek
29d412c15a
[Form] Changed name of VirtualFormIterator to VirtualFormAwareIterator
2011-03-27 15:33:04 +02:00
Kris Wallsmith
ade83e2e80
updated codebase to use shorter bundle names
...
Controllers:
"BlogBundle:Post:show" is now "Blog:Post:show"
Templates:
"BlogBundle:Post:show.html.twig" is now "Blog:Post:show.html.twig"
Resources:
"@BlogBundle/Resources/config/blog.xml" is now "@Blog/Resources/config/blog.xml"
Doctrine:
"$em->find('BlogBundle:Post', $id)" is now "$em->find('Blog:Post', $id)"
2011-03-27 06:25:43 -07: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
c891e40c9b
Merge remote branch 'symfony/master' into experimental
2011-03-26 19:11:29 +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
Fabien Potencier
6fe8884ad8
[WebProfilerBundle] fixed WDT (please test before sending a PR -- I'm wasting my time)
2011-03-26 17:14:02 +01:00
Fabien Potencier
7a3185c856
[WebProfilerBundle] fixed tests
2011-03-26 17:04:10 +01:00
Fabien Potencier
9ce85bed6c
Merge remote branch 'Herzult/updateWDT'
...
* Herzult/updateWDT:
[WebProfilerBundle] Use a template for the redirection interceptions
[WebProfilerBundle] Add some tests for the listener
2011-03-26 17:00:30 +01:00
Antoine Hérault
7049810729
[WebProfilerBundle] Use a template for the redirection interceptions
2011-03-26 16:43:53 +01:00
Antoine Hérault
237d7fd327
[WebProfilerBundle] Add some tests for the listener
2011-03-26 16:43:16 +01:00
Ryan Weaver
6799090a4f
[SwiftmailerBundle] Allow for the Swift_NullTransport to be chosen in the Configuration class
2011-03-26 10:20:36 -05: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
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