Commit Graph

52 Commits

Author SHA1 Message Date
Fabien Potencier
9abd53c2b4 merged Seldaek/serializer_fix 2011-05-11 10:16:15 +02:00
Jordi Boggiano
c6fa1b42ea Fixed typo 2011-05-11 01:32:39 +02:00
Johannes Schmitt
675a86f2e9 updated UPDATE file 2011-05-10 11:27:18 +02:00
Fabien Potencier
50c1cce014 Merge remote branch 'schmittjoh/security'
* schmittjoh/security:
  [HttpFoundation] added unit test
  [Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
  [SecurityBundle] added some tests
  add provider to configuration
  update DI to handle change in config and another provider
  separate dbal specific acl config
  add provider to configuration
  update DI to handle change in config and another provider
  separate dbal specific acl config
2011-05-09 14:26:36 +02:00
Fabien Pennequin
ad0d95d0bd Fixed typo 2011-05-08 22:02:13 +02:00
Jordi Boggiano
9311b0a7e5 [Serializer] Removed properties argument 2011-05-08 18:32:22 +02:00
Jordi Boggiano
49008b60c6 Update UPDATE file 2011-05-08 18:23:26 +02:00
Fabien Pennequin
983caef290 Added notice for File::getDefaultExtension() method 2011-05-08 11:15:41 +02:00
Jordi Boggiano
ded30a2937 [Serializer] Split supports in supportsNormalization and supportsDenormalization 2011-05-06 19:36:56 +02:00
Fabien Potencier
dfd5b653cb [DoctrineBundle] changed mapping file suffix from .orm.dcm.yml to .orm.yml 2011-05-06 11:23:00 +02:00
Fabien Potencier
d9299e930b [DoctrineBundle] changed mapping directory
From Resources/config/ to Resources/config/doctrine
From doctrine.orm.dcm.xml to mapping.orm.dcm.xml
2011-05-05 18:12:21 +02:00
Fabien Potencier
ca3c5e652e moved ErrorHandler management to the distributions 2011-05-05 08:53:13 +02:00
Johannes Schmitt
362b7264d1 [Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
This closes #774, and fixes #772.
2011-05-05 08:38:07 +02:00
Fabien Potencier
36bcfcc5ee Merge remote branch 'bschussek/form'
* bschussek/form:
  [Form] CSRF fields are not included in the children of a FormView anymore if the view is not the root
  [Form] FormView::offsetUnset() is now supported. It was possible anyway using getChildren() and setChildren().
  [Form] Split the option "modifiable" of the "collection" type into "allow_add" and "allow_delete"
  [Form] Added test for last commit by kriswallsmith and improved dealing with original names
  [Form] Fixed variable scope when entering nested form helpers
  [Form] Added tests for blocks/templates in the format _<ID>_(widget|row|label|...)
  [Form] updated listener to check that data is an array
2011-05-04 22:13:33 +02:00
Fabien Potencier
b7c8442068 [DoctrineBundle] made Doctrine metadata configuration easier
You can now configure your Doctrine metadata in one single file named 'doctrine':

  Resources/config/doctrine.orm.dcm.yml
  Resources/config/doctirne.orm.dcm.xml

You can still use one file per entity, but the directory has changed (see the UPDATE file)
2011-05-04 19:58:48 +02:00
Bernhard Schussek
3cc5d9f4cd [Form] Split the option "modifiable" of the "collection" type into "allow_add" and "allow_delete" 2011-05-04 17:29:59 +02:00
Fabien Potencier
a02805714f [DoctrineBundle] merged fabpot:doctrine-registry 2011-05-03 16:38:59 +02:00
Fabien Potencier
ca4c1355c7 [DoctrineBundle] made doctrine:generate:entities smarter
The doctrine:generate:entities is now able to generate classes
based on a bundle name, a class name, or a namespace.

The command has still some limitations which will be hopefully
be fixed later on.

If also generates the repository class when possible
(replaces the doctrine:generate:repositories command).
2011-05-03 13:39:01 +02:00
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
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
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