Commit Graph

4513 Commits

Author SHA1 Message Date
Fabien Potencier
a204aec08b added the possibility to easily customize the template of just one widget of a form 2011-04-29 00:20:21 +02:00
Xmontana
277bfb28b0 renamed catalan translation filename according to locale 2011-04-28 21:00:29 +02:00
chispita
cea05575a2 renamed catalan translation filename according to locale 2011-04-28 20:57:06 +02:00
hidenorigoto
ac636108d0 updated translation of UPDATE file (PR12 to Beta1) 2011-04-29 03:19:34 +09:00
Amal Raghav
26bfa43bfc fixed a typo 2011-04-28 23:37:40 +05:30
Fabien Potencier
23db6b64e6 Merge remote branch 'Infranology/icu-update'
* Infranology/icu-update:
  [Locale] updated ICU data, changes to note:
2011-04-28 18:55:41 +02:00
Eriksen Costa
12968f144c [Locale] updated ICU data, changes to note:
- The Indian Rupee sign was updated, few fonts supports it: http://en.wikipedia.org/wiki/Indian_rupee_sign
 - Updated LocaleTypeTest, zh_Hans_MO was removed from ICU
2011-04-28 11:57:55 -03:00
Fabien Potencier
be3120b8c1 updated Assetic vendor 2011-04-28 16:11:00 +02:00
Fabien Potencier
8f91989c43 changed Assetic version to alpha2 2011-04-28 15:10:00 +02:00
Fabien Potencier
4cbc33a785 removed the automatic loading of the compiled classes (should be done explicitely by the end user now) 2011-04-28 14:19:10 +02:00
Fabien Potencier
3fe385e4fb removed the autoloader map feature
This feature added complexity to the framework but wasn't used in the core anyway.
You can still use the Map class loader  in your application though. But most of the time, using the APC
autoloader is just better.
2011-04-28 13:38:22 +02:00
Fabien Potencier
509f3dd454 removed the possibility to pass a template to render_widget()
This has been removed as the same can be achieved in a cleaner way:

 * Use plain HTML with calls to more granular Twig form functions
 * Create a macro if you really want to reuse the template snippet elsewhere
2011-04-28 12:19:29 +02:00
Fabien Potencier
9f11ab4177 Merge remote branch 'noelg/session-storage-bug'
* noelg/session-storage-bug:
  Fixed a bug when the storage service is initialized later by another bundle. In this case, we can't add the storage class to the compiled class as the service does not exists.
2011-04-28 11:40:09 +02:00
Fabien Potencier
05f1481c6a [Form] added the possibility to configure the CSRF field name and the disabling of the CSRF feature altogether 2011-04-28 11:28:44 +02:00
noel guilbert
6f1df3338d Fixed a bug when the storage service is initialized later by another bundle.
In this case, we can't add the storage class to the compiled class as the
service does not exists.
2011-04-28 11:27:56 +02:00
Fabien Potencier
2e9278993c added Definition::getArgument() (very useful when unit testing a Container) 2011-04-28 11:26:10 +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
Fabien Potencier
2291af41c5 added Locale stubs to the autoloader so that people can run Symfony unit tests even if they don't have intl installed 2011-04-28 10:08:16 +02:00
Fabien Potencier
1bc8071d4e [DoctrineBundle] simplified code 2011-04-28 09:19:59 +02:00
Fabien Potencier
77f9daf374 [HttpKernel] allowed bundle names to have 'bundle' in their base name 2011-04-28 08:55:43 +02:00
Fabien Potencier
40d256e058 Merge remote branch 'kriswallsmith/kernel/bundle-extension'
* kriswallsmith/kernel/bundle-extension:
  [HttpKernel] added check of default extension alias convention
  [AsseticBundle] coding standard and comment tweaks
  [HttpKernel] added BundleInterface::getContainerExtension() which is implicitly loaded
2011-04-28 08:48:57 +02:00
Fabien Potencier
4fb1035578 fixed Doctrine EntityType when the identifier is a string 2011-04-28 08:39:14 +02:00
Fabien Potencier
751eaab326 Merge remote branch 'mweimerskirch/form_fixes'
* mweimerskirch/form_fixes:
  Fix DateTimeType by adding missing default options
2011-04-28 08:18:28 +02:00
Fabien Potencier
7d024125d3 [Form] fixed unit tests 2011-04-28 08:11:14 +02:00
Fabien Potencier
f865a79742 [Form] fixed DateTimeToTimestampTransformer to use the proper exception class 2011-04-28 08:07:19 +02:00
Fabien Potencier
0007702321 Merge remote branch 'Seldaek/datetime'
* Seldaek/datetime:
  [Form] Use proper transformation exception in case of failure
2011-04-28 08:05:08 +02:00
Fabien Potencier
9e23189eb1 Merge remote branch 'Brouznouf/patch-2'
* Brouznouf/patch-2:
  [Serializer] [XmlEncoder] Add unit test for decoding / encoding root with attributes
  [Seriliazer] [XmlEncoder] Optimize conditions
  [Serializer] [XmlEncoder] Allow decoder to extract attributes in root element
2011-04-28 07:49:55 +02:00
Pascal Borreli
47948c8d2b [Form] Fixed bug creating empty "1" directory in root 2011-04-28 01:06:38 +00:00
Brouznouf
5712b3bd0e [Serializer] [XmlEncoder] Add unit test for decoding / encoding root with attributes 2011-04-27 22:16:24 +02:00
Stepan Tanasiychuk
411997dc59 fix wrong method name 2011-04-27 23:15:27 +03:00
Fabien Potencier
25ae70eb75 [DoctrineBundle] fixed regression 2011-04-27 21:36:23 +02:00
Fabien Potencier
289d35a7ae Merge remote branch 'opensky/form-interface-use-statements'
* opensky/form-interface-use-statements:
  [Form] Remove unnecessary use statements in EventListeners
2011-04-27 18:23:04 +02:00
Jeremy Mikola
f59423626a [Form] Remove unnecessary use statements in EventListeners 2011-04-27 12:18:45 -04:00
Fabien Potencier
5fab450c33 Merge remote branch 'sasezaki/fixed-typo-domcrawler'
* sasezaki/fixed-typo-domcrawler:
  fixed typoe on Exception message
2011-04-27 18:00:49 +02:00
Fabien Potencier
b5e1e2cd39 Merge remote branch 'kriswallsmith/update-tweak'
* kriswallsmith/update-tweak:
  added note about document_root removal
2011-04-27 18:00:29 +02:00
Fabien Potencier
6431881754 [DoctrineBundle] added auto-mapping support in XSD 2011-04-27 17:41:36 +02:00
Fabien Potencier
c846990459 [DoctrineBundle] added the possibility to disable a bundle when using auto_mapping
orm:
    auto_mapping: true
    mappings:
         FOSUserBundle: false
2011-04-27 17:41:36 +02:00
Fabien Potencier
c752429d7c [DoctrineBundle] removed the possibility to use auto_mapping when you have more than one entity manager 2011-04-27 17:41:36 +02:00
Fabien Potencier
dc85727b5a [DoctrineBundle] added an auto-mapping option to let Symfony register all enabled bundle mappings
Most of the time, you just want to register all your bundle mappings. It's a bit
tedious to do it by hand, not because of the amount of configuration you need to
type, but mainly because you can easily forget to do so
(also see https://github.com/symfony/symfony/pull/502).

So, setting auto_mapping to true allows Symfony to automatically register the mappings
it founds in the enabled bundles (default is false).

Even if auto_mapping is true, you can still define your mappings to add some more
or to override the defaults.

This change means that the default configuration that works most of the time for
most people is simple:

orm:
  auto_mapping: true
2011-04-27 17:41:36 +02:00
Fabien Potencier
32070f5f68 [DoctrineBundle] fixed service visibility 2011-04-27 17:35:12 +02:00
Joel Wurtz
f11cc2de0b [Seriliazer] [XmlEncoder] Optimize conditions 2011-04-27 08:00:31 -07:00
Kris Wallsmith
abb61f48de added note about document_root removal 2011-04-27 07:08:50 -07:00
sasezaki
3d85db8fbc fixed typoe on Exception message 2011-04-27 23:04:13 +09:00
Joel Wurtz
b6a9935314 [Serializer] [XmlEncoder] Allow decoder to extract attributes in root element 2011-04-27 06:34:41 -07:00
Fabien Potencier
71330e91d0 [DoctrineBundle] simplified code 2011-04-27 13:51:22 +02:00
Fabien Potencier
0f5f28c039 Merge remote branch 'Brouznouf/patch-1'
* Brouznouf/patch-1:
  [Serializer] Fix bug when denormalize a class in cache
2011-04-27 13:37:49 +02:00
Fabien Potencier
ffd8c31f3a [DoctrineBundle] reindented some code for clarity 2011-04-27 12:46:25 +02:00
Fabien Potencier
059104a9e7 [DoctrineBundle] added back the possibility to define a single entity manager with a shorter syntax (same reasonning as the previous commit for DBAL) 2011-04-27 12:27:44 +02:00
Fabien Potencier
3f1d969fcd [DoctrineBundle] fixed a unit test 2011-04-27 12:26:54 +02:00
Joel Wurtz
a56e271025 [Serializer] Fix bug when denormalize a class in cache 2011-04-27 03:24:52 -07:00