Commit Graph

4557 Commits

Author SHA1 Message Date
Fabien Potencier
c4232b11fa Merge remote branch 'beberlei/DoctrineUniqueValidator'
* beberlei/DoctrineUniqueValidator:
  [Doctrine] Fix default value to null for entity manager to make fluent integration with Doctrine Registry work
  [Doctrine] Add fields as default option and allow strings to be passed.
  [Doctrine] Add DoctrineBundle integration (DI Container registration) for the UniqueEntityValidator
  [Doctrine] Implement suggested changes by Stof, added functional test to verify unique validator works.
  [Doctrine] Add Unique Validator
2011-05-19 15:38:20 +02:00
Fabien Potencier
38baa85d46 Merge remote branch 'AurelC2G/fix-phpdoc'
* AurelC2G/fix-phpdoc:
  [Config] fixed phpdoc
2011-05-19 15:35:53 +02:00
Fabien Potencier
a75303029d Merge remote branch 'stealth35/patch-1'
* stealth35/patch-1:
  checkdnsrr exits for all PHP 5.3 version
2011-05-19 15:35:05 +02:00
Kris Wallsmith
4f37b9e9fb [AsseticBundle] added missing filter to test 2011-05-19 05:55:36 -07:00
Kris Wallsmith
fa248e00fb [AsseticBundle] added config for cssimport filter 2011-05-19 05:55:36 -07:00
Kris Wallsmith
e74c6edc34 [AsseticBundle] added config for packager filter 2011-05-19 05:55:36 -07:00
Kris Wallsmith
7ed5518554 [AsseticBundle] removed problematic test 2011-05-19 05:55:35 -07:00
Kris Wallsmith
7eeb945a4c [AsseticBundle] fixed various bugs in PHP templating, added new "combine" option 2011-05-19 05:55:35 -07:00
Michel Weimerskirch
fd92105fa0 Fix merge error (function "guess" was in there twice) 2011-05-19 05:45:29 -07:00
Johannes Schmitt
dbf577cc2b [DoctrineBundle] use dot instead of slash 2011-05-19 14:44:28 +02:00
Johannes Schmitt
0d16ceed9b [DoctrineBundle] allow entities in sub directories 2011-05-19 14:41:23 +02:00
Johannes Schmitt
5b007e3ae2 Merge remote branch 'origin/master' into doctrine 2011-05-19 14:34:24 +02:00
stealth35
61b23a5a68 checkdnsrr exits for all PHP 5.3 version 2011-05-19 05:21:53 -07:00
Miha Vrhovnik
2e286073a4 Removed ability to override method from GET request 2011-05-19 14:08:34 +02:00
Miha Vrhovnik
65ed6f7763 Added support for request method overriding via X-HTTP-Method-Override
This type of override is supported by MS MVC3 and is recommended by Google.
Also added ability to override request method via ?_method= when
request is made via GET.
2011-05-19 09:33:08 +02:00
Aurélien Fredouelle
c0e8db18f9 [Config] fixed phpdoc 2011-05-19 08:05:27 +02:00
Bernhard Schussek
dcc61a9a98 Merge remote branch 'shieldo/search_field' into shieldo_merge 2011-05-19 01:41:59 +02:00
Bernhard Schussek
13a964ae6d [Form] Form::isBound() and Form::isValid() work correctly now for read-only forms 2011-05-19 01:24:28 +02:00
Bernhard Schussek
829aa4dc0b [Locale] Improved error reporting and added stubs for intl_is_failure(), intl_get_error_code() and intl_get_error_message() 2011-05-19 01:15:37 +02:00
Bernhard Schussek
c3e8569f73 Merge remote branch 'vicb/form-csrf' into vicb_merge 2011-05-18 23:56:11 +02:00
Bernhard Schussek
06f829ace5 [Form] Implemented fix for 361c67f54f 2011-05-18 23:51:39 +02:00
Bernhard Schussek
a7ff4f484a [Form] Further simplified PropertyPath code 2011-05-18 23:39:49 +02:00
Bernhard Schussek
857042458a Merge remote branch 'vicb/form-ppath-optim' into vicb_merge 2011-05-18 23:34:53 +02:00
Benjamin Eberlei
a4f1b8a0c1 [Doctrine] Fix default value to null for entity manager to make fluent integration with Doctrine Registry work 2011-05-18 23:26:20 +02:00
Benjamin Eberlei
23cf63d767 [Doctrine] Add fields as default option and allow strings to be passed. 2011-05-18 23:25:16 +02:00
Bernhard Schussek
af66beed76 [Form] Added test for 6c337d1cc0 2011-05-18 23:20:37 +02:00
Bernhard Schussek
a3d84bc681 Merge remote branch 'vicb/form-9731' into vicb_merge 2011-05-18 23:12:27 +02:00
Benjamin Eberlei
86f9b17254 [Doctrine] Add DoctrineBundle integration (DI Container registration) for the UniqueEntityValidator 2011-05-18 23:09:46 +02:00
Benjamin Eberlei
8ff1d09d36 [Doctrine] Implement suggested changes by Stof, added functional test to verify unique validator works. 2011-05-18 22:57:25 +02:00
Bernhard Schussek
216d7e415d Merge remote branch 'mweimerskirch/form_pattern_attribute' into mweimerskirch_merge
Conflicts:
	src/Symfony/Bundle/TwigBundle/Resources/views/Form/div_layout.html.twig
	src/Symfony/Component/Form/Extension/Core/Type/FieldType.php
	src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php
2011-05-18 22:49:27 +02:00
Bernhard Schussek
520e3761e9 [Form] Removed unused option "pattern" of date and time type 2011-05-18 22:34:34 +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
Bernhard Schussek
b39a21fbaf [Form] Renamed collection option "type_options" to "options" to be consistent with the repeated type 2011-05-18 21:52:59 +02:00
Bernhard Schussek
2711fbc418 Merge remote branch 'jaugustin/fix_form' into jaugustin_merge
Conflicts:
	src/Symfony/Component/Form/Extension/Core/EventListener/ResizeFormListener.php
	src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php
2011-05-18 21:40:20 +02:00
Fabien Potencier
82686751dd [HttpCache] fixed typo 2011-05-18 18:40:36 +02:00
Fabien Potencier
f48699a706 [HttpKernel] reverted some unwanted changes from previous commit 2011-05-18 18:17:14 +02:00
Fabien Potencier
1f0ffca68e [HttpKernel] fixed empty ETags showing up in requests to the backend when using HttpCache 2011-05-18 17:06:05 +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
0687aadad2 fixed form configuration when no session is available (closes #841) 2011-05-18 12:54:16 +02:00
Victor Berchet
ebb0e83a7e [Form] CSRF documentation and a few CS changes 2011-05-18 12:45:01 +02:00
Victor Berchet
ba31b5acc5 [Form] Move CSRF options from types to the CSRF extension 2011-05-18 10:37:31 +02:00
Benjamin Eberlei
cfc2471109 [Doctrine] Add Unique Validator 2011-05-17 23:04:13 +02:00
Fabien Potencier
fdbdcbbd0a Merge remote branch 'kriswallsmith/assetic/dump-fixes'
* kriswallsmith/assetic/dump-fixes:
  [AsseticBundle] fixed command unit test
  [AsseticBundle] added env and debug mode to assetic:dump output
  [AsseticBundle] made --watch sleep period a command option
  [AsseticBundle] added a --force option to assetic:dump --watch
  [AsseticBundle] fixed typo in dump --watch
2011-05-17 22:06:51 +02:00
Kris Wallsmith
8e85a36e37 [FrameworkBundle] fixed renamed routing exception 2011-05-17 12:55:24 -07:00
Kris Wallsmith
f29aba534c [AsseticBundle] fixed command unit test 2011-05-17 12:27:39 -07:00
Kris Wallsmith
26a31bfc9d [AsseticBundle] added env and debug mode to assetic:dump output 2011-05-17 12:13:17 -07:00
Kris Wallsmith
e65a4535b5 [AsseticBundle] made --watch sleep period a command option 2011-05-17 12:08:14 -07:00
Kris Wallsmith
84d5cbfba8 [AsseticBundle] added a --force option to assetic:dump --watch 2011-05-17 12:05:01 -07:00
Kris Wallsmith
5877b11478 [AsseticBundle] fixed typo in dump --watch 2011-05-17 11:57:44 -07:00
Fabien Potencier
68a0b7aded Merge remote branch 'kriswallsmith/framework/package-config-fix'
* kriswallsmith/framework/package-config-fix:
  [FrameworkBundle] updated extension to use replaceArgument() rather than a parameter
2011-05-17 19:04:47 +02:00
Kris Wallsmith
1a49296b59 [FrameworkBundle] updated extension to use replaceArgument() rather than a parameter 2011-05-17 09:53:42 -07:00
Fabien Potencier
7b4c12b7dc Merge remote branch 'ornicar/twigAssetsVersion'
* ornicar/twigAssetsVersion:
  Add `assets_version` twig function. Also add some phpDoc.
2011-05-17 18:48:53 +02:00
Fabien Potencier
a965a5ce32 Merge remote branch 'kertz/PdoSessionStorage_mysql'
* kertz/PdoSessionStorage_mysql:
  [PdoSessionStorage] Added insert... on duplicate
2011-05-17 17:55:41 +02:00
Fabien Potencier
bb0b3efbf0 [Routing] renamed Exception interface to ExceptionInterface to follow CS 2011-05-17 17:04:08 +02:00
Fabien Potencier
0e65bc746e [DependencyInjection] renamed Exception interface to ExceptionInterface to follow CS 2011-05-17 16:57:31 +02:00
Fabien Potencier
2cd04547fd [Routing] renamed some exceptions 2011-05-17 16:52:02 +02:00
Fabien Potencier
0168241014 [DependencyInjection] renamed NonExistentParameterException and NonExistentServiceException to ParameterNotFoundException and ServiceNotFoundException 2011-05-17 16:26:08 +02:00
Fabien Potencier
eb202bb7b7 merged kriswallsmith/form/csrf-intention 2011-05-17 15:25:50 +02:00
alexandresalome
1d6b94189b [Routing] Use routing exceptions in the dumper and add tests. 2011-05-17 11:31:47 +02:00
Fabien Potencier
24d79f680f [Routing] changed visibility 2011-05-17 10:48:38 +02:00
Martin Hason
b7c417feaa [Bridge][Twig] removed the possibility to pass a message to the transchoice tag 2011-05-17 10:33:48 +02:00
Fabien Potencier
09cccf60c7 Merge remote branch 'stof/ParameterBagInterface'
* stof/ParameterBagInterface:
  [DependencyInjection] Removed the public keyword from interface
  [DependencyInjection] Added missing methods in the ParameterBagInterface
  [DependencyInjection] Fixed phpdoc
2011-05-17 10:29:19 +02:00
Fabien Potencier
b6a8f3a267 [Console] fixed typo 2011-05-17 10:27:02 +02:00
Fabien Potencier
6308f93c64 [Console] added some explanation on how DialogHelper::askAndValidate works 2011-05-17 10:26:33 +02:00
Fabien Potencier
02e77ec4e3 [Routing] moved Matcher exceptions 2011-05-17 10:11:27 +02:00
Fabien Potencier
51eb746925 Merge remote branch 'alexandresalome/feat-routing-exceptions'
* alexandresalome/feat-routing-exceptions:
  [Routing] Fix the exception inheritance + Add the LICENCE block in new files
  [Routing] Change the Exception namespacing + base class for every exception + update PHPDoc
  [Routing] Add specific exceptions for the UrlGenerator
2011-05-17 09:52:44 +02:00
Fabien Potencier
75f0ab5d40 Merge remote branch 'vicb/form-fluid'
* vicb/form-fluid:
  [Form] Fix the Form fluid interface
  [Form] Fix the fluid interface of FormBuilder
  [Form] Fix the fluid interface of FormBuilder
2011-05-17 09:45:29 +02:00
Fabien Potencier
1394183a68 Merge remote branch 'stloyd/patch-3'
* stloyd/patch-3:
  Fix for bug when using APC in version 3.1.4
2011-05-17 09:41:45 +02:00
Fabien Potencier
86a2d27da9 Merge remote branch 'stloyd/ipvalidator_fix'
* stloyd/ipvalidator_fix:
  Better comment about no test IP6 addresses for "FILTER_FLAG_NO_RES_RANGE"
  Refactoring of IpValidator to use native php filter extension, also adding additional flag support and test cover.
2011-05-17 09:25:04 +02:00
Fabien Potencier
d118e32783 Merge remote branch 'vicb/924-cosmetic'
* vicb/924-cosmetic:
  [Form] CS related changes
2011-05-17 09:19:41 +02:00
Fabien Potencier
d0b403b7e4 Merge remote branch 'vicb/924-real'
* vicb/924-real:
  [Form] Implement a fluid interface FormView
2011-05-17 09:19:39 +02:00
Fabien Potencier
3d85008141 Merge remote branch 'danielholmes/widget_templates'
* danielholmes/widget_templates:
  [TwigBundle] fixed form templates so divs won't have all the input attributes, some of which are invalid (such as required, maxlength, name, etc)
2011-05-17 09:19:03 +02:00
Fabien Potencier
a76c65e163 Merge remote branch 'kreischweide/master'
* kreischweide/master:
  [Process] Workaround for windows based stderr bug
  [Process] Wrong descriptor mode for stderr
  Fixed wrong descriptor mode for stderr
2011-05-17 09:14:50 +02:00
Johannes Schmitt
54ae90d36d some cleanups 2011-05-17 07:41:49 +02:00
Johannes Schmitt
44950ddb77 updated to latest changes 2011-05-17 07:24:33 +02:00
Kris Wallsmith
b645278f8b [Security] updated with "intention" 2011-05-16 14:16:30 -07:00
Kris Wallsmith
914620f948 [Form] renamed CSRF page_id to intention 2011-05-16 14:16:29 -07:00
Johannes Schmitt
796d9af0c4 some updates 2011-05-16 22:26:24 +02:00
Kris Wallsmith
663f8a052e [AsseticBundle] added configuration for cssembed filter 2011-05-16 07:05:07 -07:00
Fabien Potencier
e7e5304876 forced all responses to have a Date header (RFC2616 - 14.18) 2011-05-16 08:46:36 +02:00
Fabien Potencier
122a61b5cc Merge remote branch 'kriswallsmith/assetic/filter-pass-fix'
* kriswallsmith/assetic/filter-pass-fix:
  [AsseticBundle] fixed previous PR
2011-05-16 08:22:56 +02:00
Fabien Potencier
3949b8e3f1 [FrameworkBundle] fixed redirect controller when a non-standard port is used (closes #965) 2011-05-16 08:21:58 +02:00
Fabien Potencier
5a38886b1d [HttpFoundation] fixed Request::getHttpHost() 2011-05-16 08:20:17 +02:00
Kris Wallsmith
70bac0ac01 [AsseticBundle] fixed previous PR 2011-05-15 23:17:27 -07:00
Fabien Potencier
1b71e35770 Merge remote branch 'kriswallsmith/assetic/filter-pass-fix'
* kriswallsmith/assetic/filter-pass-fix:
  [AsseticBundle] fixed compiler pass when closure filter is enabled but no jar registered
2011-05-16 07:52:14 +02:00
Fabien Potencier
dc0c5de2c0 Merge remote branch 'arnaud-lb/fix-validator-config'
* arnaud-lb/fix-validator-config:
  defined parameters to avoid unmet dependency
2011-05-16 07:47:51 +02:00
Fabien Potencier
6a30213f79 Merge remote branch 'weaverryan/doctrine_schema_command_language_update'
* weaverryan/doctrine_schema_command_language_update:
  [DoctrineBundle] Refactoring doctrine:schema:* command descriptions
2011-05-16 07:47:08 +02:00
Kris Wallsmith
031bb4f93c [AsseticBundle] fixed compiler pass when closure filter is enabled but no jar registered 2011-05-15 14:46:07 -07:00
Ryan Weaver
336c57d56f [DoctrineBundle] Refactoring doctrine:schema:* command descriptions
I found the language to be a bit technical, and therefore not totally obvious what these tasks do to the layman.

The language here tries to talk more about "generating/executing SQL" so that people know that these are the commands that handle DB table changes.
2011-05-15 15:52:19 -05:00
Fabien Potencier
28f9b4f13e [HttpFoundation] force headers to be sorted in HeaderBag::__toString() 2011-05-15 22:40:14 +02:00
Victor Berchet
42698608cb [Form] CS related changes 2011-05-15 21:39:22 +02:00
Victor Berchet
39efc49da0 [Form] Implement a fluid interface FormView 2011-05-15 21:38:12 +02:00
Arnaud Le Blanc
421a05f6b4 defined parameters to avoid unmet dependency
These parameters are set by the extension; but
validator.mapping.loader.annotation_loader.namespaces is not set when
annotations are disabled
2011-05-15 21:32:41 +02:00
Fabien Potencier
260af82300 Merge remote branch 'henrikbjorn/validation-configuration'
* henrikbjorn/validation-configuration:
  [FrameworkBundle] Empty annotation namespaces parameter because it is referenced in validator.xml
2011-05-15 20:29:44 +02:00
Henrik Bjørnskov
52f2266bb7 [FrameworkBundle] Empty annotation namespaces parameter because it is referenced in validator.xml 2011-05-15 20:08:48 +02:00
Fabien Potencier
4c7adc2f12 [HttpFoundation] fixed a warning 2011-05-15 19:44:34 +02:00
Douglas Greenshields
bf2f9d2a02 [Form] Added a search form field type 2011-05-15 18:31:36 +01:00
Fabien Potencier
c1c9ad72f2 Merge remote branch 'vicb/form-phpdoc-2'
* vicb/form-phpdoc-2:
  [Form] phpDoc
2011-05-15 19:28:39 +02:00
Victor Berchet
971aad0593 Merge branch 'master' into form-phpdoc-2 2011-05-15 19:24:09 +02:00
Fabien Potencier
fd3a853597 Merge remote branch 'kriswallsmith/assetic/auto-filters'
* kriswallsmith/assetic/auto-filters:
  [AsseticBundle] parameter cleanup
  [AsseticBundle] updated apply_to configuration to accept an array of patterns
  [AsseticBundle] added configuration for automatically apply filters to assets based on target path
2011-05-15 19:20:24 +02:00