Fabien Potencier
6b5438aa38
[DoctrineBundle] introduced a Registry class
...
The Registry knows all connections and entity managers declared into a service
container. The Registry is available via the 'doctrine' service.
If can be used to get connections and entity managers by name:
Before:
$em = $this->get('doctrine.orm.entity_manager');
$em = $this->get('doctrine.orm.foobar_entity_manager');
After:
$em = $this->get('doctrine')->getEntityManager();
$em = $this->get('doctrine')->getEntityManager('foobar');
It is better for several reasons:
* we rely less on naming conventions
* IDEs will be able to auto-complete methods
2011-05-02 22:28:48 +02:00
Fabien Potencier
b0f84e259d
fixed typo
2011-05-02 22:21:20 +02:00
Jordi Boggiano
fd08f187c8
Fixed status code check
2011-05-02 21:50:21 +02:00
Jordi Boggiano
e0c12fa080
[HttpKernel] Removed log() from the LoggerInterface as the priority can not be safely determined across implementations
2011-05-02 19:04:49 +02:00
Fabien Potencier
6b74483204
[DoctrineBundle] made the ORM configuration service private (there are accessible via the entity manager anyway)
2011-05-02 18:50:13 +02:00
Jordi Boggiano
838853e58b
[HttpKernel] Log 500+ errors as critical and not error
...
This allows people to filter easily between 404 type of responses (that are mostly for users) and real errors in their application (where they probably want to get an email notification
2011-05-02 18:49:30 +02:00
Fabien Potencier
d0e31b8ca6
changed Application to have nice error messages when something bad happens early on the CLI
2011-05-02 18:35:38 +02:00
Jordi Boggiano
a56ea15363
[MonologBundle] Added support for new Monolog log level
2011-05-02 18:32:17 +02:00
Jordi Boggiano
25d7009c1c
[FrameworkBundle] Treat all log messages >=ERR as errors
2011-05-02 18:31:51 +02:00
Jordi Boggiano
d05c59227d
[HttpKernel] Prevent errors leaking out in the console on windows
2011-05-02 18:28:05 +02:00
Fabien Potencier
fc3be8a7cf
Merge remote branch 'schniper/patch-1'
...
* schniper/patch-1:
Fix Compass class path
2011-05-02 16:20:02 +02:00
Fabien Potencier
8210fb2f0f
Merge remote branch 'kriswallsmith/my-email-address'
...
* kriswallsmith/my-email-address:
updated my email address
2011-05-02 16:16:11 +02:00
Kris Wallsmith
1cd83c93e0
[AsseticBundle] fixed _controller/ prefix when dumping assets
2011-05-02 06:06:34 -07:00
Kris Wallsmith
562d84a964
updated my email address
2011-05-02 05:59:56 -07:00
Fabien Potencier
a3270da763
[DoctrineBundle] removed unused tag
2011-05-02 13:44:18 +02:00
Costin Bereveanu
cb2c6da346
Fix Compass class path
2011-05-02 02:12:56 -07:00
Fabien Potencier
3286819145
[DoctrineBundle] fixed CS
2011-05-01 23:01:52 +02:00
Matt Drollette
0029cbc397
made esi service public
2011-05-01 14:35:26 -05:00
Fabien Potencier
8b244f4f5e
[DoctrineBundle] fixed CS, removed some use statements
2011-05-01 21:30:19 +02:00
Fabien Potencier
aa29affc14
[DoctrineBundle] made some services private
2011-05-01 17:38:34 +02:00
Fabien Potencier
f55237dad7
[FrameworkBundle] fixed typo
2011-05-01 17:38:14 +02:00
Fabien Potencier
0642b60079
Merge remote branch 'lsmith77/serializer'
...
* lsmith77/serializer:
make it possible to read the normalizerCache when inheriting
2011-05-01 17:30:53 +02:00
Fabien Potencier
82e1713850
Merge remote branch 'hhamon/console_fix'
...
* hhamon/console_fix:
[Console] fixed phpdoc for Command class.
2011-05-01 17:30:24 +02:00
Fabien Potencier
11cdff93f3
[FrameworkBundle] refactored container:debug command
...
* Use a dumper to serialize the container into the cache (XML)
* Only keep the "real" services (abstract ones are not displayed anymore)
2011-05-01 17:21:20 +02:00
Fabien Potencier
0b165e13b2
[DependencyInjection] added public attribute when dumping a container to XML
2011-05-01 17:21:19 +02:00
Fabien Potencier
6fec656239
[DependencyInjection] forced anonymous services to always be private
2011-05-01 17:21:18 +02:00
Fabien Potencier
8b0450083a
[DependencyInjection] removed unused vars
2011-05-01 17:21:17 +02:00
Fabien Potencier
03f7049c7e
[DoctrineBundle] moved Doctrine proxy commands to their own sub-namespace
2011-05-01 12:12:49 +02:00
Fabien Potencier
6edb6447c8
[DoctrineBundle] fixed CS
2011-05-01 10:43:07 +02:00
Fabien Potencier
74a243bdd6
[DoctrineBundle] added connections and entity managers in web profiler
2011-05-01 10:06:10 +02:00
Fabien Potencier
422c7b2794
[WebProfilerBundle] tweaked CSS
2011-05-01 10:05:56 +02:00
Fabien Potencier
bad21f24cb
[DoctrineBundle] removed a reference to doctrine.orm.%s_entity_manager
2011-05-01 09:49:50 +02:00
Fabien Potencier
e5bd50e712
Merge remote branch 'kriswallsmith/assetic/sass-imports'
...
* kriswallsmith/assetic/sass-imports:
[AsseticBundle] updated sass, scss and compass filter configs to include base dir
2011-05-01 09:26:25 +02:00
Fabien Potencier
a4c6243743
[DoctrineBundle] refactored commands
2011-05-01 09:07:08 +02:00
Kris Wallsmith
ee3c239d12
[AsseticBundle] updated sass, scss and compass filter configs to include base dir
2011-04-30 19:53:02 -07:00
Fabien Potencier
a525a670a3
[DoctrineBundle] made an error message clearer
2011-04-30 22:43:14 +02:00
Hugo Hamon
c6bd284ecd
[Console] fixed phpdoc for Command class.
2011-04-30 22:17:30 +02:00
Fabien Potencier
d31c403bae
Merge remote branch 'pborreli/tests-fix-typos'
...
* pborreli/tests-fix-typos:
Various typos
[WebProfilerBundle] Fixed typo
[WebProfilerBundle] Adding unit tests
2011-04-30 21:53:15 +02:00
Pascal Borreli
391744719a
Various typos
2011-04-30 19:40:15 +00:00
Fabien Potencier
8b8545895f
[DoctrineBundle] fixed auto-mapping
...
When auto_mapping is true, you can avoid a bundle to be
automatically mapped by setting the value to false:
auto_mapping: true
mappings:
BlogBundle: false
With the above configuration, all bundles will be
auto-mapped, but the BlogBundle won't be.
Bundles that are defined in mappings won't be
managed by the auto-mapping feature:
auto_mapping: true
mappings:
BlogBundle: xml
2011-04-30 21:18:20 +02:00
Pascal Borreli
9960c86db9
[WebProfilerBundle] Fixed typo
2011-04-30 18:54:22 +00:00
Pascal Borreli
11d25f61e8
[WebProfilerBundle] Adding unit tests
2011-04-30 18:42:30 +00:00
Tobias Naumann
ad3fd30365
[DoctrineBundle] fixes undefined index notice
2011-04-30 11:25:47 +02:00
Fabien Potencier
885d927775
[DoctrineBundle] fixed typo
2011-04-30 08:46:14 +02:00
Fabien Potencier
bb7b7e851d
[FrameworkBundle] refactored tests
2011-04-30 07:36:59 +02:00
Fabien Potencier
2adc56d181
Merge remote branch 'danielholmes/request_listener_test'
...
* danielholmes/request_listener_test:
[FrameworkBundle] added RequstListener test verifying request context http port fix
2011-04-30 07:26:08 +02:00
Fabien Potencier
158181d34b
Merge remote branch 'danielholmes/request_context_routing'
...
* danielholmes/request_context_routing:
[Routing] added setContext to RouterInterfaces as it is used on RouterInterface references
2011-04-30 07:26:04 +02:00
Fabien Potencier
f7f6c513f8
fixed typo
2011-04-30 07:25:08 +02:00
Fabien Potencier
55aff78a59
Merge remote branch 'noelg/i18n-translations-dir'
...
* noelg/i18n-translations-dir:
[translations] Moved the application translations directory under Resources to be consistent with bundles
2011-04-30 07:24:13 +02:00
Fabien Potencier
b048c44b46
Merge remote branch 'vicb/file-security'
...
* vicb/file-security:
[HttpFoundation] Sanitize uploaded file original name
2011-04-30 07:21:47 +02:00