Commit Graph

137 Commits

Author SHA1 Message Date
Fabien Potencier
facff73049 made the console tool more powerful
* The command names have now full support for nested namespaces. It means
   that abbreviations work for each sub-namespace:

        ./app/console doctrine:mapping:info

        # worked before
        ./app/console doctrine:map:in

        # works now
        ./app/console doc:map:in

 * Aliases are now first class citizen. They can have their own namespace,
   like the main name. So, now, there is no difference between an alias and a
   name.

 * As names and aliases can be namespaced, the Command::getFullName() and
   Command::getNamespace() method have been removed.
2011-06-07 17:51:43 +02:00
Fabien Potencier
89f544afb6 moved Twig form templates to the Twig bridge 2011-06-07 16:38:23 +02:00
Fabien Potencier
a17478ff74 tweaked previous commit 2011-06-07 11:48:08 +02:00
Fabien Potencier
a98436fd6a updated UPDATE file 2011-06-06 18:07:33 +02:00
Fabien Potencier
62ac58127a tweaked previous commit 2011-06-06 18:04:44 +02:00
Fabien Potencier
63f37c0e93 Merge remote branch 'weaverryan/beta3_swiftmailer_update'
* weaverryan/beta3_swiftmailer_update:
  [UPDATE] Adding more details - the `Swift_` prefix must also be removed
  [UPDATE] Adding details on the swiftmailer config change
2011-06-06 18:03:40 +02:00
Joseph Bielawski
c244545255 Make UPDATE file more "githubish" ;-)
Added info about setting attributes on form field labels
2011-06-02 03:51:23 -07:00
Fabien Potencier
3d532f806a [FrameworkBundle] renamed getProfiler to getProfile (as the method now returns a Profile instance) 2011-06-01 10:55:46 +02:00
Fabien Potencier
28527c7c91 renamed some UniversalClassLoader for better consistency 2011-05-31 09:28:32 +02:00
Fabien Potencier
79e709cdc9 removed the ON_ prefix for Form event names 2011-05-31 07:19:18 +02:00
Fabien Potencier
d0a4dbde8f fixed typo 2011-05-30 16:29:30 +02:00
Fabien Potencier
4db1ec8b6f updated UPDATE file to document changes to the event dispatcher 2011-05-30 13:53:48 +02:00
Ryan Weaver
a84e19edc1 [UPDATE] Adding more details - the Swift_ prefix must also be removed 2011-05-29 15:32:22 -05:00
Ryan Weaver
a8dbb4b100 [UPDATE] Adding details on the swiftmailer config change 2011-05-29 15:25:20 -05:00
Miha Vrhovnik
aae80b6679 Added a note about BC break for DateType into UPDATE.md file 2011-05-28 10:58:16 +02:00
Johannes Schmitt
9c0db88851 updated to latest changes in Doctrine 2011-05-24 13:29:44 +02:00
Joseph Bielawski
b5d657fbef Make UPDATE file more githubish :) 2011-05-23 15:54:31 -07:00
Fabien Potencier
6f579bac84 added a note about Doctrine Common version 2011-05-23 08:04:20 +02:00
Johannes Schmitt
51f1add9b3 Merge remote branch 'origin/master' into doctrine 2011-05-23 07:09:58 +02:00
Johannes Schmitt
6c0b0449a6 Merge remote branch 'origin/master' into annotations
Conflicts:
	UPDATE.md
	src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
	src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
2011-05-19 22:49:59 +02:00
Johannes Schmitt
5b007e3ae2 Merge remote branch 'origin/master' into doctrine 2011-05-19 14:34:24 +02:00
Bernhard Schussek
f467317bab [Form] Renamed view variable "name" to "full_name"
The variable "name" now contains the local, short name (equivalent to $form->getName()).
2011-05-18 22:16:16 +02:00
Fabien Potencier
a15e846568 added a way to disable forms, and force validation to be enabled when forms are enabled (closes #840) 2011-05-18 15:45:34 +02:00
Fabien Potencier
403156eba3 updated vendors, fixed typo 2011-05-17 15:58:52 +02:00
Fabien Potencier
eb202bb7b7 merged kriswallsmith/form/csrf-intention 2011-05-17 15:25:50 +02:00
Fabien Potencier
02e77ec4e3 [Routing] moved Matcher exceptions 2011-05-17 10:11:27 +02:00
Kris Wallsmith
9a8e3518c2 added a note about the rename to UPDATE 2011-05-16 14:17:39 -07:00
Johannes Schmitt
ff4a2209e3 [DoctrineBundle] changes the naming convention for YML, and XML metadata files 2011-05-15 11:00:00 +02:00
Johannes Schmitt
2d8afd8dd6 Merge remote branch 'origin/master' into annotations
Conflicts:
	src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
	src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
	src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
2011-05-14 12:51:05 +02:00
Bernhard Schussek
e0ff61949e [Form] Renamed the value "text" of the "widget" option of the "date" type to "single-text" 2011-05-13 19:17:28 +02:00
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
Johannes Schmitt
f7e03f2d87 Merge remote branch 'origin/master' into annotations
Conflicts:
	UPDATE.md
	src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
	src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
2011-05-08 07:28:23 +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
Johannes Schmitt
672c4ef122 Merge remote branch 'origin/master' into annotations
Conflicts:
	UPDATE.md
2011-05-03 14:38:51 +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
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