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
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
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
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
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
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