Commit Graph

137 Commits

Author SHA1 Message Date
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
Johannes Schmitt
b37db020df updated UPDATE file 2011-05-01 14:30:44 +02:00
Johannes Schmitt
0d0c737630 Merge remote branch 'origin/master' into annotations
Conflicts:
	UPDATE.md
2011-04-30 10:55:43 +02:00
Fabien Potencier
f7f6c513f8 fixed typo 2011-04-30 07:25:08 +02:00
noel guilbert
f644bbc027 [translations] Moved the application translations directory under Resources to be consistent with bundles 2011-04-29 17:48:38 +02:00
Fabien Potencier
01695bc654 [DoctrineBundle] refactored event listeners/subscribers to not rely on parameter name conventions
* Doctrine event subscribers now all use the same "doctrine.event_subscriber" tag. To specify a connection,
   use the "connection" attribute.

 * Doctrine event listeners now all use the same "doctrine.event_listener" tag. To specify a connection,
   use the "connection" attribute.
2011-04-29 16:09:26 +02:00
Fabien Potencier
43e38c3ba4 [DoctrineBundle] changed doctrine.orm.entity_managers parameter to store the names and the ids 2011-04-29 16:04:54 +02:00
Johannes Schmitt
d151d2d4b8 added Annotations library 2011-04-28 23:09:08 +02:00
Fabien Potencier
e72f1a9873 added a global secret setting to configure CSRF, the temporary storage, and possibly more 2011-04-28 10:49:59 +02:00
Kris Wallsmith
abb61f48de added note about document_root removal 2011-04-27 07:08:50 -07:00
Fabien Potencier
e96b39f060 updated UPDATE file 2011-04-27 08:56:11 +02: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
Fabien Potencier
150e248858 udpated UPDATE file 2011-04-22 13:45:23 +02:00
Fabien Potencier
fc1ac166b9 updated UPDATE file 2011-04-22 10:14:23 +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
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
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
022728fda5 added method renames to UPDATE 2011-04-20 04:48:32 -07:00
Johannes M. Schmitt
c660fcd2f2 fixes a bug in the SwitchUserListener 2011-04-19 14:24:37 +02:00
Fabien Potencier
4d60d3d985 updated UPDATE file 2011-04-19 14:05:08 +02:00
Fabien Potencier
855206fcb5 updated UPDATE file 2011-04-15 10:47:21 +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
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
Kris Wallsmith
bfb0f094f4 [AsseticBundle] updated bundle node to match others, cleaned up validation 2011-04-13 05:13:04 -07:00
Fabien Potencier
816759bc27 added missing info when upgrading to PR11 2011-04-13 14:03:09 +02:00
Johannes Schmitt
19b50d1669 [Security] added another example to update file 2011-04-06 10:53:54 +02:00
Victor Berchet
b592946712 [Config] Add a note about the ConfigurationInterface interface in UPDATE.md 2011-04-05 11:53:55 +02:00
Fabien Potencier
7be61bd72a updated UPDATE file 2011-04-04 12:45:31 +02:00
Fabien Potencier
7ff4e54748 updated UPDATE 2011-04-04 11:44:58 +02:00
Fabien Potencier
a60a9af53f updated UPDATE 2011-04-04 11:36:28 +02:00
Fabien Pennequin
34c6dbf5d2 Updated file UPDATE.md for assetic filters 2011-04-03 12:04:31 +02:00
Fabien Potencier
cd256c17ae udpated UPDATE file 2011-03-31 06:52:18 +02:00
hidenorigoto
9ce549d313 fixed markup 2011-03-29 16:28:20 +09:00
Fabien Potencier
f0e9d364fe fixed UPDATE info 2011-03-28 19:25:40 +02:00
Fabien Potencier
8b8df2d1cd fixed markup 2011-03-28 18:44:40 +02:00
Fabien Potencier
59eebee7e6 added information about new logical names (previous commit) 2011-03-28 18:12:15 +02:00
Fabien Potencier
849694b46d added an UPDATE.md file to explain how to upgrade 2011-03-28 17:07:46 +02:00