Commit Graph

47935 Commits

Author SHA1 Message Date
Jonathan H. Wage 2db073b03a [DoctrineBundle] Fixes for building when you have multiple bundles which mixes mapping information types 2010-03-01 11:37:55 +01:00
Jonathan H. Wage 1be4ff9095 [DoctrineBundle] Adding doctrine:import-mapping command to allow you to easily import the mapping information from an existing database connection to a bundle 2010-03-01 11:33:32 +01:00
Jonathan H. Wage 0472d0f0e2 [DoctrineBundle] Adding some XML examples 2010-03-01 11:32:50 +01:00
Jonathan H. Wage 85ed6df2f0 [DoctrineBundle] Making mapping information more flexible to allow different metadata mapping files for each bundle 2010-03-01 11:32:26 +01:00
Jonathan H. Wage 1a45bb6d63 [DoctrineBundle] Enhancing the Doctrine 2 integration further to better handle multiple connections/entity managers 2010-03-01 11:30:18 +01:00
Jonathan H. Wage b3d8aa414e [Symfony] Adding isBooted() method so that I can pass an existing kernel to a Console application. Right now it throws an exception otherwise about it already being booted. 2010-03-01 11:28:03 +01:00
Fabien Potencier 165b9832fe [Console] added hasOption and hasArgument to Input 2010-03-01 11:24:21 +01:00
Jonathan H. Wage 0c3a4b15ec [DoctrineBundle] Cloning cache driver service for each usage so we can set a prefix to avoid caching conflicts 2010-03-01 11:21:27 +01:00
Romain Dorgueil 3671f4a08a [DependencyInjection] made a small performance enhancement. No need to lowercase three times the same.
`strtolower` was called three times at most on the same value, and one
at least. To avoid this, let's compute it first.

Additionally, $value cast in last return clause was useless as it has
been done previously, and nothing changed $value's value.

Signed-off-by: Romain Dorgueil <romain.dorgueil@symfony-project.com>
2010-03-01 11:14:10 +01:00
Christian Stocker 8948ae1f6e [WebBundle] set the limiter to 4, otherwise it's not possible to use another renderer 2010-03-01 10:57:03 +01:00
Jordi Boggiano a8fc5c62ff [Foundation] Fixes parsing of env parameters
Signed-off-by: Jordi Boggiano <j.boggiano@seld.be>
2010-02-25 11:21:31 +01:00
Jordi Boggiano de37e5225b [WebBundle] Fixing Console application for projects using subversion
Signed-off-by: Jordi Boggiano <j.boggiano@seld.be>
2010-02-25 11:15:04 +01:00
Fabien Potencier 272959dc3d [WebBundle] made registration of templating debugging automatic without the use of the web.debug element 2010-02-24 16:19:42 +01:00
Fabien Potencier 987a36d936 [WebBundle] fixed typo that prevented templating logging 2010-02-24 16:18:11 +01:00
Fabien Potencier 2748c48ae0 [Foundation] made a small optimization 2010-02-24 16:15:22 +01:00
Fabien Potencier e240a9e339 [Foundation] added missing XML file 2010-02-24 16:01:34 +01:00
Fabien Potencier c54c7e0466 [Foundation] moved debug services to their own XML file 2010-02-24 16:00:28 +01:00
Fabien Potencier b709367371 [WebBundle] fixed XSD 2010-02-24 15:54:43 +01:00
Fabien Potencier 1cbed102d4 [WebBundle] made the exception handler available by default in all environments 2010-02-24 15:42:42 +01:00
Fabien Potencier 037dfca003 [WebBundle] renamed the file_link_format option and moved it to the main web:config element 2010-02-24 15:42:04 +01:00
Fabien Potencier 45e6573774 [Foundation] moved event_dispatcher debug mode to Foundation 2010-02-24 15:28:56 +01:00
Fabien Potencier c9211d9300 [DoctrineBundle] made it easier to configure Doctrine DBAL when only one connection needs to be configured 2010-02-24 14:36:50 +01:00
Jonathan H. Wage ffc36f02d5 [DoctrineBundle] Enhancing Doctrine 2 integration to allow multiple connections/entity managers, more flexibility and more complete integration with ORM and DBAL all around. 2010-02-24 13:23:15 +01:00
Fabien Potencier 22e310e240 [WebBundle] refactored the data collector sub-system (WIP) 2010-02-23 15:28:08 +01:00
Fabien Potencier 19f93cb859 [Yaml] fixed compact notation when there is an inlined hash (closes #8082) 2010-02-23 14:45:23 +01:00
Fabien Potencier 18abbb81ee [DependencyInjection] fixed fixture 2010-02-23 14:31:25 +01:00
Fabien Potencier b4414bc3de [WebBundle] fixed unneeded overhead in the exception handler 2010-02-23 13:57:43 +01:00
Fabien Potencier a80a61b5c2 [Yaml] added support for compact notation (patch from redotheoffice - closes #8082) 2010-02-23 12:07:10 +01:00
Fabien Potencier 83023764b6 [Yaml] fixed offset when the document use --- or the %YAML element (patch from redotheoffice) 2010-02-23 11:52:41 +01:00
Fabien Potencier 46c4f23496 [Yaml] added ? in the list of characters that trigger quoting (for compatibility with libyaml - patch from indeyets) 2010-02-23 11:21:00 +01:00
Fabien Potencier caa7cc8d64 [Yaml] added backtick to the list of characters that trigger quotes as it is reserved for future use (patch from indeyets) 2010-02-23 11:15:37 +01:00
Fabien Potencier 1f9b161045 [WebBundle] fixed typo 2010-02-23 07:04:51 +01:00
Nils Adermann 68af3ebfb7 [WebBundle][DoctrineBundle] Use backslashes in namespaces, not slashes.
The registerBundleDirs method in the kernel returns array(namespace => dir, ...).
In some places dirname() is used to separate a namespace from the classname. The
resulting value contains slashes rather than backslashes, causing look ups in the
bundle dirs array to fail.

I assume this was not noticed so far because it requires that you use one of the
features making this mistake with a bundle inside a subnamespace, as top level
namespaces will not contain a backslash anyway.
2010-02-23 02:13:05 +01:00
Fabian Lange 4e0204dfd5 [Yaml] restored old behaviour of including a trailing newline during parsing. Added test case for empty value 2010-02-22 15:40:00 +01:00
Jonathan H. Wage f87f890b7a [DoctrineBundle] made the ORM integration of DoctrineBundle usable 2010-02-22 12:01:11 +01:00
Fabien Potencier 0dcaabfc8c [Foundation] added kernel.bundles to the list of default parameters of the DIC 2010-02-22 11:57:59 +01:00
Fabian Lange 62c2ef65f8 [Yaml] removed the unused value property from Parser. Tweaked one-line check to be self explaining 2010-02-22 11:48:26 +01:00
Kris Wallsmith 930906557e Fixed some wording in the README 2010-02-22 11:41:21 +01:00
ever.zet 71bf2b6a95 render & output methods 2010-02-22 11:40:11 +01:00
Damon Jones d2da3f73f4 [WebBundle] Switch the order of the response status codes in the RedirectController's redirectAction 2010-02-22 11:38:22 +01:00
Fabien Pennequin 0b5f017084 [WebBundle] Fixed some typos in skeleton config files 2010-02-22 01:47:32 +01:00
Nils Adermann 61f3603a7a [DoctrineBundle] Don't mix "user" and "username"
The Doctrine Bundle refered to "username" in some places and to user in others.
Namely the schema and the DoctrineExtension have been updated to use "user".

I chose user rather than username because Doctrine uses that term itself.
2010-02-19 14:58:16 +01:00
Fabien Potencier 1d8a65a1b5 [WebBundle] made some error messages better 2010-02-19 08:20:36 +01:00
Fabien Potencier e36b981562 [WebBundle] fixed coding standards for the Finder class 2010-02-19 08:17:22 +01:00
Fabien Potencier 5c18fa9669 [WebBundle] renamed GlobToRegex to Glob and fix method names 2010-02-19 07:59:36 +01:00
Fabien Potencier bf8ffc47a4 [WebBundle] removed unneeded code 2010-02-18 10:43:44 +01:00
Fabien Potencier 5bf8908f6b [Framework] added the Symfony 2 full-stack framework code (Preview Release - alpha) 2010-02-17 14:55:05 +01:00
Fabien Potencier 38aef98694 [Foundation] added the missing parts of Symfony Foundation 2010-02-17 14:54:36 +01:00
Fabien Potencier 4a002d78af [Routing] added the Routing component 2010-02-17 14:53:31 +01:00
Fabien Potencier 0218245976 [RequestHandler] added the Request Handler component 2010-02-17 14:53:18 +01:00