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
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
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
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
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
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
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
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
Jeremy Mikola
553f5525a5
[FrameworkBundle] Change validator's annotation prefix from "validation" to "assert"
2011-03-30 20:04:18 -04: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
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
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
Pascal Borreli
dbb18662d7
[HttpFoundation][Windows] Disabled FileBinaryMimeTypeGuesser for Windows OS
2011-03-29 14:32:20 +00: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