Commit Graph

5193 Commits

Author SHA1 Message Date
Johannes M. Schmitt
9ad318546d [SecurityBundle] fixed a regression 2011-06-01 13:53:21 +02:00
Johannes M. Schmitt
66f3abfe0c [SecurityBundle] re-use local variable 2011-06-01 13:20:52 +02:00
Johannes M. Schmitt
6f8871d2d7 [SecurityBundle] added validation for check paths 2011-06-01 13:05:34 +02:00
Johannes M. Schmitt
d2fa6c3e4e [SecurityBundle] added user_providers option for remember_me 2011-06-01 11:48:20 +02:00
Johannes M. Schmitt
90b63ca346 [Security/Core] added missing method to interface 2011-06-01 11:48:19 +02:00
NicoB
145216477b AsseticBundle : Add the missing cssmin filter service's schema 2011-06-01 16:30:31 +07:00
Fabien Potencier
2093a45aef merged stloyd/form_label 2011-06-01 11:11:25 +02:00
Fabien Potencier
a8089225e2 Merge remote branch 'fivestar/controller-signature'
* fivestar/controller-signature:
  [FrameworkBundle] Fixed phpdoc.
  [FrameworkBundle] Fixed signature of the Controller::createForm() to accept string type
2011-06-01 10:59:08 +02: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
Katsuhiro OGAWA
16a40f6112 [FrameworkBundle] Fixed phpdoc. 2011-06-01 17:45:51 +09:00
Fabien Potencier
481d684973 Merge remote branch 'vslinko/master'
* vslinko/master:
  [AsseticBundle] Fixed typo in use statement
2011-06-01 10:40:16 +02:00
Fabien Potencier
885da2ef87 Merge remote branch 'kriswallsmith/assetic/parameter-replacement'
* kriswallsmith/assetic/parameter-replacement:
  [AsseticBundle] added support for parameter replacement in asset inputs
2011-06-01 10:35:43 +02:00
Fabien Potencier
c8034c04a8 Merge remote branch 'vicb/form-rendering'
* vicb/form-rendering:
  [Form] The variable stack should not persist between section rendering (fixes #1157)
  [Twig][Form] Tweak form extension phpDoc and code
  [Form] Tweak phpDoc
  [FormView] fix phpDoc
  [Form] Some tweaks
2011-06-01 10:32:40 +02:00
stloyd
7b6d921cde [Form] Added tests for previous commit 2011-06-01 10:08:18 +02:00
Fabien Potencier
cf78841111 [WebProfilerController] cleaned up the controller 2011-06-01 07:44:52 +02:00
Kris Wallsmith
3e68eb61a5 [AsseticBundle] added support for parameter replacement in asset inputs
{% javascripts '%kernel.root_dir%/Resources/css/main.css' %}
    ...
    {% endjavascripts %}
2011-05-31 21:35:31 -07:00
stloyd
cb22ccc516 [Form] Added missing feature for adding attributes to an field label 2011-05-31 17:01:28 +02:00
Kris Wallsmith
d9f5c99fab [FrameworkBundle] updated for templating changes, added http/ssl logic 2011-05-31 06:46:30 -07:00
Kris Wallsmith
2642b0012f [Templating] reworked asset helper and packages
Added support for a configurable format string used to apply version to a path (defaults to '%s?%s').

Moved base url/base path logic to packages.
2011-05-31 06:46:30 -07:00
Fabien Potencier
af84cfec33 [DoctrineBundle] fixed doctrine:generate:entity 2011-05-31 15:15:18 +02:00
arjen
df02c05271 Removed plugin from SF 2011-05-31 14:31:23 +02:00
arjen
ed4f659693 [SwiftmailerBundle] Added ImpersonateSenderPlugin 2011-05-31 13:34:06 +02:00
Fabien Potencier
f70c7e7c1c [HttpKernel] added Filesystem::isAbsolutePath() 2011-05-31 11:04:23 +02:00
Fabien Potencier
65200aa86a added missing license headers 2011-05-31 10:57:06 +02:00
Fabien Potencier
839c332438 moved all listener classes under a common EventListener sub-namespace 2011-05-31 10:43:20 +02:00
Fabien Potencier
7d999acd0b fixed previous commit 2011-05-31 09:31:09 +02:00
Fabien Potencier
28527c7c91 renamed some UniversalClassLoader for better consistency 2011-05-31 09:28:32 +02:00
Johannes Schmitt
bee6a48f97 [FrameworkBundle] add the old method naming convention 2011-05-31 08:58:24 +02:00
Fabien Potencier
02605f3481 merged origin/master 2011-05-31 08:34:05 +02:00
Fabien Potencier
2e56703a32 [SecurityBundle] fixed error_log() being called during functional tests 2011-05-31 08:02:18 +02:00
Fabien Potencier
3ca5780486 [HttpKernel] added a NullLogger 2011-05-31 08:02:17 +02:00
Fabien Potencier
d1ca577e3f removed Logger::getDebugLogger() as the method is not part of any interface 2011-05-31 08:02:14 +02:00
Fabien Potencier
79e709cdc9 removed the ON_ prefix for Form event names 2011-05-31 07:19:18 +02:00
Katsuhiro OGAWA
57fa3af441 [FrameworkBundle] Fixed signature of the Controller::createForm() to accept string type 2011-05-31 11:02:49 +09:00
Fabien Potencier
514bf9af5d [Security] fixed wrong function call 2011-05-30 22:52:35 +02:00
Fabien Potencier
988355993a refactored Profiler class 2011-05-30 22:25:25 +02:00
Victor Berchet
b61929bf4a [Form] The variable stack should not persist between section rendering (fixes #1157) 2011-05-30 19:25:02 +02:00
Victor Berchet
d375379a6a [Twig][Form] Tweak form extension phpDoc and code 2011-05-30 18:24:12 +02:00
Vyacheslav Slinko
683d452a3a [AsseticBundle] Fixed typo in use statement 2011-05-30 18:50:07 +04:00
Fabien Potencier
57fb1ba399 [FrameworkBundle] fixed typo 2011-05-30 16:27:38 +02:00
Fabien Potencier
5cffd9139b [FrameworkBundle] fixed typo 2011-05-30 16:25:43 +02:00
Fabien Potencier
a2163f39ff [EventDispatcher] re-added the cache layer 2011-05-30 16:00:29 +02:00
Fabien Potencier
a3403e492e [EventDispatcher] removed unneeded code 2011-05-30 15:56:06 +02:00
Victor Berchet
cbfc146ac8 [Form] Tweak phpDoc 2011-05-30 15:21:15 +02:00
Victor Berchet
2b99d45dd3 [FormView] fix phpDoc 2011-05-30 15:21:15 +02:00
Fabien Potencier
c8f9904ac8 merged origin/master 2011-05-30 15:00:41 +02:00
Fabien Potencier
6731065626 tweaked priorities 2011-05-30 14:59:32 +02:00
Fabien Potencier
ea848be42f [SecurityBundle] added some cleanup 2011-05-30 14:59:18 +02:00
Fabien Potencier
4f7484b946 [HttpFoundation] moved dir creation just before writing to disk 2011-05-30 14:59:02 +02:00
Victor Berchet
99bf22c464 [Form] Some tweaks 2011-05-30 14:57:33 +02:00
Fabien Potencier
9181e5dd0c merged origin/master 2011-05-30 14:28:54 +02:00
Fabien Potencier
9698669baa renamed RequestAttributeInitializingListener to RouterListener and
SessionInitializingListener to SessionListener
2011-05-30 14:22:13 +02:00
Johannes M. Schmitt
971ff8175f [Security] fixes a possible bug when username is an integer 2011-05-30 14:09:16 +02:00
Fabien Potencier
71411ba368 fixed typos 2011-05-30 13:53:50 +02:00
Fabien Potencier
d7220f0c1a [Security] fixed event names 2011-05-30 13:53:47 +02:00
Fabien Potencier
4753bb2e91 - 2011-05-30 13:53:46 +02:00
Johannes M. Schmitt
bac3ee86f9 [Security] fixes a regression in the AclVoter 2011-05-30 10:04:46 +02:00
Johannes M. Schmitt
8837ce0e57 Merge branch 'master' of http://github.com/symfony/symfony into security 2011-05-30 10:00:07 +02:00
Fabien Potencier
9b7e14dd10 [Form] converted code to the new event dispatcher 2011-05-30 09:37:42 +02:00
Fabien Potencier
0ce22f6bbe [Security] removed obsolete use statements 2011-05-30 09:36:59 +02:00
Fabien Potencier
90ca8e0404 fixed more unit tests 2011-05-30 09:19:01 +02:00
Fabien Potencier
c171142c01 renamed constants to upper cased 2011-05-30 09:04:37 +02:00
Fabien Potencier
f6b481a9ee [EventDispatcher] simplified code and fixed unit tests 2011-05-30 08:59:28 +02:00
Fabien Potencier
09a6e6759a [EventDispatcher] fixed notices 2011-05-30 08:59:22 +02:00
Fabien Potencier
5059559035 Merge remote branch 'Seldaek/events' into events1
* Seldaek/events:
  [EventDispatcher] Removed temporary code
  [FrameworkBundle] Improved code readability
  [FrameworkBundle] Clarified code and fixed regression
  Update Core and Security events to latest model
  [EventDispatcher] Allow registration of arbitrary callbacks
  [EventDispatcher] Remove useless code
  [EventDispatcher] Minor memory optimization to getListeners()
  [FrameworkBundle] Small optimization, remove some function calls
2011-05-30 08:58:49 +02:00
Fabien Potencier
ce6c049d3a Merge remote branch 'weaverryan/controller_form_methods'
* weaverryan/controller_form_methods:
  [FrameworkBundle] Adding two form-related methods to the base controller
2011-05-30 07:30:42 +02:00
Ryan Weaver
9f4e88ec17 [FrameworkBundle] Adding two form-related methods to the base controller
With these two methods, the concept of a "form factory" doesn't need to be understood by a beginner to create forms.
2011-05-29 23:00:31 -05:00
Pascal Borreli
824e48efa7 [Various] Fixed phpdoc 2011-05-29 23:33:36 +00:00
Pascal Borreli
50d5e3e007 [Various] Fixed typos 2011-05-29 22:24:32 +00:00
Fabien Potencier
6301728383 Merge remote branch 'pborreli/fixed-typos'
* pborreli/fixed-typos:
  [Various] Fixed typo
  [FrameworkBundle] Fixed css
2011-05-29 20:54:38 +02:00
Fabien Potencier
24c86d08cf Merge remote branch 'stof/translator'
* stof/translator:
  Use an alias of translator.real instead of copying the definition
2011-05-29 20:53:30 +02:00
Christophe Coevoet
15c5d61af8 Use an alias of translator.real instead of copying the definition
Copying the definition leads to 2 different services which the same
definition but different instances.
2011-05-29 18:56:45 +02:00
Ryan Weaver
4f0214eff4 [Routing] Fixing a bug where the current directory was set too late in the PhpFileLoader 2011-05-29 11:26:36 -05:00
Pascal Borreli
46cdf02750 [Various] Fixed typo 2011-05-29 14:19:02 +00:00
Pascal Borreli
6b91af976d [FrameworkBundle] Fixed css 2011-05-29 14:18:15 +00:00
GordonsLondon
ef9dc7c623 [HttpFoundation] merge Response::isRedirected() with Response::isRedirect() - Response::isRedirected() has been removed 2011-05-29 15:34:02 +02:00
arjen
59b4b67548 Fixed Configuration 2011-05-29 10:37:24 +02:00
Johannes M. Schmitt
32d8d4547e fixed compiled class map 2011-05-29 09:35:58 +02:00
Johannes M. Schmitt
88becfe3f8 [HttpFoundation] allow locale in RequestMatcher path 2011-05-28 22:37:43 +02:00
Fabien Potencier
54329387fd Merge remote branch 'ooflorent/patch-1'
* ooflorent/patch-1:
  Made the profiler toolbar loading an XML HTTP request.
2011-05-28 18:10:27 +02:00
Johannes Schmitt
1f91e2e618 Revert "revert exception message"
This reverts commit b637a3190d.
2011-05-28 18:06:47 +02:00
Johannes Schmitt
786823151e changed injection type 2011-05-28 18:06:25 +02:00
Fabien Potencier
40b84320d6 [Form] tweaked comment 2011-05-28 18:06:11 +02:00
Fabien Potencier
3b0089967f Merge remote branch 'stloyd/patch-11'
* stloyd/patch-11:
  [Form] Force hidden fields to not have "required" attribute (#1091)
2011-05-28 18:05:27 +02:00
Fabien Potencier
4054cbae29 Merge remote branch 'craue/patch-2'
* craue/patch-2:
  The toolbar wraps to a 2nd line for long route names which makes it hiding page content, thus better show more white space instead of overlaying content with the toolbar.
2011-05-28 18:02:59 +02:00
Fabien Potencier
1548a049e1 Merge remote branch 'mvrhov/single_text_option_rename'
* mvrhov/single_text_option_rename:
  Added a note about BC break for DateType into UPDATE.md file
  DateType single-text should be single_text
2011-05-28 18:02:36 +02:00
Johannes Schmitt
e3ddb81b38 added some tests for security/routing integration 2011-05-28 17:58:44 +02:00
Johannes Schmitt
439699daeb Merge branch 'functionalTests' into security 2011-05-28 17:17:00 +02:00
Johannes Schmitt
5cda240c6f refactored functional tests a bit 2011-05-28 17:16:55 +02:00
Johannes Schmitt
edbf4ea691 Merge branch 'security' of github.com:schmittjoh/symfony into security 2011-05-28 17:09:32 +02:00
Johannes Schmitt
f37386e336 Merge branch 'master' of git://github.com/symfony/symfony into security 2011-05-28 17:07:16 +02:00
Arnout Boks
a0397f99f5 [DependencyInjection] Fixed bug where anonymous services from two different xml-files (with the same basename) could collide 2011-05-28 10:29:32 +02:00
kaiwa
cdf4b6aa77 Checked log levels 2011-05-27 20:29:51 +02:00
Miha Vrhovnik
b8144c62ad DateType single-text should be single_text 2011-05-27 16:23:59 +02:00
Christian Raue
f29a2b9b72 The toolbar wraps to a 2nd line for long route names which makes it hiding page content, thus better show more white space instead of overlaying content with the toolbar. 2011-05-27 07:17:39 -07:00
arjen
9012eacfd7 Fixed indenting 2011-05-27 16:04:32 +02:00
Fabien Potencier
af2f9207be [Console] fixed typo 2011-05-27 15:34:13 +02:00
arjen
499282f278 [SwiftmailerBundle] Added support for AntiFloodPlugin 2011-05-27 15:03:46 +02:00
Joseph Bielawski
4b476ad267 [Form] Force hidden fields to not have "required" attribute (#1091) 2011-05-27 04:48:14 -07:00
Florent Cailhol
f052d2d439 Made the profiler toolbar loading an XML HTTP request. 2011-05-27 02:14:03 -07:00
Fabien Potencier
923c234160 fixed form_rest() for embedded forms (refs #1051, #1115) 2011-05-27 08:12:39 +02:00
Fabien Potencier
4de930b000 [HttpFoundation] added some phpdoc 2011-05-27 07:55:37 +02:00
Fabien Potencier
610583899d Merge remote branch 'CodeMeme/889-EntityChoiceField-grouped-choices'
* CodeMeme/889-EntityChoiceField-grouped-choices:
  Whitespace cleanup
  Fixed EntityChoiceList to support grouped entities Refs #889
  Added test for grouped entity choice list Refs #889
2011-05-27 07:44:35 +02:00
Johannes Schmitt
746151c783 added another test case 2011-05-27 07:37:54 +02:00
Fabien Potencier
32ac29a73d Merge remote branch 'schmittjoh/functionalTests'
* schmittjoh/functionalTests:
  [SecurityBundle] bootstrapped functional test suite
2011-05-27 07:35:13 +02:00
Fabien Potencier
614ebe3a39 Merge remote branch 'weaverryan/security_context_missing_logging'
* weaverryan/security_context_missing_logging:
  [Security] Removing test per @schmittjoh as this area is better functionally-tested
  [Security] Adding tests and then fixing bug where ContextListener did no logging
2011-05-27 07:34:51 +02:00
Fabien Potencier
da09411e14 [SwiftmailerBundle] optimized code 2011-05-27 07:33:04 +02:00
Eric Clemmons
fb9d951b1d Fixed EntityChoiceList to support grouped entities
Refs #889
2011-05-26 18:59:21 -07:00
Johannes Schmitt
1ca4dcad91 [SecurityBundle] bootstrapped functional test suite 2011-05-27 01:07:04 +02:00
Fabien Potencier
5ed136b3f1 [SwiftMailer] optimized configuration
* Removed the requirement of the init.php file when getting the Swift_Mailer object (must now be done via autoloading -- see Symfony SE)
* Changed the data collector to avoid loading Swiftmailer when no email has been send
2011-05-26 22:29:28 +02:00
Ryan Weaver
bad1cb61d0 [Security] Adding tests and then fixing bug where ContextListener did no logging 2011-05-26 15:08:19 -05:00
Fabien Potencier
9aa8083cb4 [Routing] fixed previous merge 2011-05-26 18:28:42 +02:00
Fabien Potencier
5911fb946d [Routing] fixed CS 2011-05-26 18:27:18 +02:00
Fabien Potencier
1c0dfad979 Merge remote branch 'Chekote/xmlfileloader_overload_refactor'
* Chekote/xmlfileloader_overload_refactor:
  Refactored the processing of each individual node into it's own method, enabling easier overloading of behavior for Bundles such as FriendsOfSymfony/RestBundle
2011-05-26 18:25:53 +02:00
Fabien Potencier
6507eeff3c Merge remote branch 'CodeMeme/1058-fix-radio-input-listener'
* CodeMeme/1058-fix-radio-input-listener:
  Fix for RadioInputListener's empty value erroneously becoming extra data Refs #1058
  Added test for RadioInputListener bug treating no data as extra data
2011-05-26 17:31:09 +02:00
Fabien Potencier
1a109c8bcd [BrowserKit] fixed CS 2011-05-26 17:07:51 +02:00
Fabien Potencier
eb90427e92 Merge remote branch 'danielholmes/cookie_fixes'
* danielholmes/cookie_fixes:
  [BrowserKit] fixed explicit cookie params being overriden by url
2011-05-26 17:07:13 +02:00
Fabien Potencier
a0462593eb [DoctrineBundle] extracted code from Doctrine commands 2011-05-26 16:39:36 +02:00
Fabien Potencier
c19d6c07d2 [HttpFoundation] simplified code 2011-05-26 15:02:40 +02:00
Fabien Potencier
1f369ed1ed Merge remote branch 'zerosanity/master'
* zerosanity/master:
  Added missing space.
  Fixed broken logic in Request::getHttpHost(). It was ignoring HTTP_HOST completely.
2011-05-26 15:01:53 +02:00
Fabien Potencier
699ecfcf90 Merge remote branch 'stloyd/validators_refactoring'
* stloyd/validators_refactoring:
  Refactor validators constraints: - remove need for defining "getTargets()" method as 95% of validators use same one - replace abstract "Constraint::getTargets()" with one that use 95% of validators - add additional tests for "Constraint::getTargets()" method - remove unused "use" statement in Constraint\Valid
2011-05-26 14:58:24 +02:00
Fabien Potencier
43817de633 Merge remote branch 'maoueh/date_type_dead_code'
* maoueh/date_type_dead_code:
  [Form] Removed dead code in the buildForm method of DateType.php  * With the introduction of the getAllowedOptionValues mechanics, the check    is performed prior to the buildForm call. There is no more needs to check    it again in DateType.
2011-05-26 14:57:54 +02:00
Fabien Potencier
67118f7878 Merge remote branch 'sonata-project/change_self_to_static'
* sonata-project/change_self_to_static:
  change self to static so the parent class can have access to the child constant
2011-05-26 12:55:15 +02:00
Fabien Potencier
be95bff7ca [Routing] tweaked error messages 2011-05-26 12:54:21 +02:00
Fabien Potencier
5b6f15b661 Merge remote branch 'gimler/master'
* gimler/master:
  use param names in exception not the index
2011-05-26 12:53:26 +02:00
Fabien Potencier
3bdb7c2b57 [DependencyInjection] fixed regression when a parameter contains an escaped %
Notice that this is still not perfect, but I don't see how to fix the remaining
potential problems.
2011-05-26 12:47:50 +02:00
Jordi Boggiano
ba8758b4c2 [EventDispatcher] Removed temporary code 2011-05-26 11:56:59 +02:00
Jordi Boggiano
3f6407ccd1 [FrameworkBundle] Improved code readability 2011-05-26 11:55:11 +02:00
Jordi Boggiano
8a2d5496c9 [FrameworkBundle] Clarified code and fixed regression 2011-05-26 11:55:09 +02:00
Jordi Boggiano
af0bd8a136 Update Core and Security events to latest model
The main benefit is that in XML/YML files we have common syntax (i.e. core.controller, form.pre_bind) that properly namespaces event names (before: onCoreController was ok, preBind was not).
On the other hand in PHP land we also have namespaced events, CoreEvents::controller, FormEvents::preBind, before it was Events::onCoreController, Events::onPreBind, we now have more context.
2011-05-26 11:55:07 +02:00
Jordi Boggiano
1246503e55 [EventDispatcher] Allow registration of arbitrary callbacks
This in effect removes the direct link between event name and the method name on the handler.
Any callback can be given as a handler and the event name becomes an arbitrary string. Allowing for easier namespacing (see next commit)
2011-05-26 11:54:06 +02:00
Jordi Boggiano
000229dbd0 [EventDispatcher] Remove useless code 2011-05-26 11:54:02 +02:00
Jordi Boggiano
9816b6adc3 [EventDispatcher] Minor memory optimization to getListeners() 2011-05-26 11:54:00 +02:00
Jordi Boggiano
48d6a95803 [FrameworkBundle] Small optimization, remove some function calls 2011-05-26 11:53:58 +02:00
Fabien Potencier
ce79fa9ba2 [DependencyInjection] fixed typo 2011-05-26 08:22:16 +02:00
Daniel Holmes
3c372d3773 [BrowserKit] fixed explicit cookie params being overriden by url 2011-05-26 15:28:51 +10:00
Eric Clemmons
c06a157759 Fix for RadioInputListener's empty value erroneously becoming extra data
Refs #1058
2011-05-25 22:24:49 -07:00
Joshua Nye
3832a7a33d Added missing space. 2011-05-25 17:22:32 -04:00
Joshua Nye
f019541716 Fixed broken logic in Request::getHttpHost(). It was ignoring HTTP_HOST completely. 2011-05-25 16:02:16 -04:00
Eric Clemmons
c13cdd34c5 FormError when not synchronized tells you the form name for easier debugging 2011-05-25 12:50:34 -07:00
Kai
a45d3eeeb6 Reverted last commit 2011-05-25 21:15:34 +02:00
Gordon Franke
60527574d9 use param names in exception not the index 2011-05-25 21:02:01 +02:00
Kai
529381b378 ControllerNotFound: Changed log level from info to error. Also moved
throw exception code block up, to prevent the message from beeing
logged multiple times.
2011-05-25 21:01:19 +02:00
Fabien Potencier
0b9f3d8eb6 [DoctrineBundle] made a temporary fix to force Doctrine annotations to be loaded (closes #1077) 2011-05-25 20:40:34 +02:00
Fabien Potencier
ce19cc0698 Merge remote branch 'Seldaek/domcrawler'
* Seldaek/domcrawler:
  [DomCrawler] Uppercase http methods
2011-05-25 18:27:12 +02:00
Jordi Boggiano
08e7629fb4 [DomCrawler] Uppercase http methods 2011-05-25 15:45:23 +02:00
stealth35
956f58733c SQLite -> SQLite3 2011-05-25 05:51:48 -07:00
Fabien Potencier
66064cc8fc fixed CS 2011-05-25 11:35:29 +02:00
Fabien Potencier
9f76d3452d Merge remote branch 'stloyd/regexp_validator'
* stloyd/regexp_validator:
  Simplify RegexValidator
2011-05-25 11:35:07 +02:00
Fabien Potencier
dcd490e03f [Twig] added a way to use % in a trans string (closes #981) 2011-05-25 11:29:23 +02:00
stloyd
db28beb395 Simplify RegexValidator 2011-05-25 11:08:13 +02:00
stloyd
3ea2a32c53 Refactor validators constraints:
- remove need for defining "getTargets()" method as 95% of validators use same one
- replace abstract "Constraint::getTargets()" with one that use 95% of validators
- add additional tests for "Constraint::getTargets()" method
- remove unused "use" statement in Constraint\Valid
2011-05-25 10:51:35 +02:00
Fabien Potencier
be046bcb44 Merge remote branch 'mcbennn/master'
* mcbennn/master:
  'annotate' option is useless
  no-backup option instead of force, cleaned comparison operator
  Implements some options that already exist on other doctrine-related commands
2011-05-25 10:06:30 +02:00
Fabien Potencier
462f222319 [DependencyInjection] changed \LogicException to RuntimeException to be more consistent 2011-05-25 09:59:38 +02:00
Fabien Potencier
2438a73c7b [DependencyInjection] added a check for circular references in parameter definitions 2011-05-25 09:57:38 +02:00
mcben
946f68e029 'annotate' option is useless 2011-05-25 09:54:13 +02:00
mcben
512eb5378a no-backup option instead of force, cleaned comparison operator 2011-05-25 09:54:13 +02:00
mcben
650479735b Implements some options that already exist on other doctrine-related commands 2011-05-25 09:54:13 +02:00
Fabien Potencier
456eb53eb8 [DependencyInjection] renamed CircularReferenceException to ServiceCircularReferenceException 2011-05-25 09:48:49 +02:00
Fabien Potencier
6c409cac84 [DependencyInjection] refactored parameter bag parameter replacements (removed duplicated code) 2011-05-25 09:35:51 +02:00
Fabien Potencier
179864414e [Form] fixed CS 2011-05-25 08:03:21 +02:00
Fabien Potencier
9e632b9135 Merge remote branch 'hlecorche/master'
* hlecorche/master:
  IntegerToLocalizedStringTransformer must return "null" if input value is null
2011-05-25 08:02:35 +02:00
hlecorche
cc49cd9498 Merge remote-tracking branch 'remotes/symfony/master' 2011-05-24 23:25:58 +02:00
Joseph Bielawski
e29e12473c [Tests] Skip test if Doctrine Common is not available. 2011-05-24 14:18:17 -07:00
Joseph Bielawski
46e58206a3 [Tests] Skip test if Doctrine Common is not available. 2011-05-24 14:16:10 -07:00
Fabien Potencier
05778c719f [BrowserKit] fixed CS 2011-05-24 20:37:52 +02:00
Fabien Potencier
e0bf310b55 Merge remote branch 'hnw/cookie-raw-value'
* hnw/cookie-raw-value:
  added test for Cookie#getRawValue and CookieJar#AllRawValues
  fixed doc comment
  [BrowserKit] dealing with raw value for cookies
2011-05-24 20:20:57 +02:00
Fabien Potencier
aa356e7288 [BrowserKit] fixed cookie management (see RFC 2109) 2011-05-24 20:08:11 +02:00
Fabien Potencier
4f47fc708e Merge remote branch 'weaverryan/security_factories_delegating_loader'
* weaverryan/security_factories_delegating_loader:
  [SecurityBundle] Using a DelegatingLoader so that security factories can be in any config format
2011-05-24 19:44:15 +02:00
Fabien Potencier
a8a94dc631 Merge remote branch 'schmittjoh/doctrine'
* schmittjoh/doctrine:
  updated to latest changes in Doctrine
2011-05-24 18:52:49 +02:00
Ryan Weaver
afe6005f49 [SecurityBundle] Using a DelegatingLoader so that security factories can be in any config format 2011-05-24 11:35:49 -05:00
Thomas Rabaix
be2c427053 change self to static so the parent class can have access to the child constant 2011-05-24 18:25:28 +02:00
Fabien Potencier
38ea3f4f3a Merge remote branch 'kriswallsmith/twig/lazy-helpers'
* kriswallsmith/twig/lazy-helpers:
  [TwigBundle] reverted to lazy-loading of templating helpers (fixes #1066)
2011-05-24 18:15:14 +02:00
Kris Wallsmith
4018040bbb [TwigBundle] reverted to lazy-loading of templating helpers (fixes #1066) 2011-05-24 09:09:47 -07:00
Fabien Potencier
37ada8e382 Merge remote branch 'richardmiller/assetic_filter_options'
* richardmiller/assetic_filter_options:
  Added calling methods for options to assetic filter configs
2011-05-24 17:47:45 +02:00
Fabien Potencier
c1cd66c9f9 [DoctrineBundle] fixed CS 2011-05-24 17:39:06 +02:00
Fabien Potencier
3d7d84726b Merge remote branch 'pkruithof/master'
* pkruithof/master:
  Global mapping file is not seen as class name anymore
  Global mapping file is not seen as class name anymore
2011-05-24 17:37:45 +02:00
Kai
7c29e8881f Changed log level of "Matched route ..." message from info to debug 2011-05-24 15:34:35 +02:00
Kai
dca09fd53f Changed log level of "Using Controller ..." message from info to debug 2011-05-24 15:25:54 +02:00
Sven Paulus
4f39b9ae9b fix invalid schema in monolog bundle 2011-05-24 15:11:45 +02:00
Johannes M. Schmitt
decac13331 added a few finals 2011-05-24 15:08:22 +02:00
Johannes M. Schmitt
0f9767a49e Merge remote branch 'origin/master' into security 2011-05-24 14:58:41 +02:00
Peter Kruithof
0ca6f7966e Global mapping file is not seen as class name anymore 2011-05-24 05:14:38 -07:00
Peter Kruithof
e655858498 Global mapping file is not seen as class name anymore 2011-05-24 05:13:27 -07:00
Johannes Schmitt
9c0db88851 updated to latest changes in Doctrine 2011-05-24 13:29:44 +02:00
Richard Miller
1744c86c18 Added calling methods for options to assetic filter configs 2011-05-24 10:49:49 +01:00
Fabien Potencier
5e1710f136 Merge remote branch 'alexandresalome/twig-bundle-extensions-cleanup'
* alexandresalome/twig-bundle-extensions-cleanup:
  [TwigBundle] Remove authoring
  [TwigBundle] Remove use ContainerInterface - not used
  [TwigBundle] Move all class names to parameters of DIC
  [TwigBundle] Rename TemplatingExtension to AssetsExtension
  [TwigBundle] Move the code filters to a dedicated extensions
  [TwigBundle] Change the dependency of ActionsExtension to the actions helper
  [TwigBundle] Move the {% render ... %} node to a dedicated extension + Remove service container
2011-05-24 10:57:29 +02:00
alexandresalome
b1a26b8829 [TwigBundle] Remove authoring 2011-05-24 10:56:45 +02:00
alexandresalome
98755bc8a5 [TwigBundle] Remove use ContainerInterface - not used 2011-05-24 10:56:45 +02:00
alexandresalome
dfdd26d6c4 [TwigBundle] Move all class names to parameters of DIC 2011-05-24 10:56:45 +02:00
alexandresalome
f13798fa5e [TwigBundle] Rename TemplatingExtension to AssetsExtension
This extension now only contains assets functions
2011-05-24 10:56:45 +02:00
alexandresalome
f83c1376a1 [TwigBundle] Move the code filters to a dedicated extensions
A dedicated extension now exists for the code-related filters for Twig.
The dependency to service_container was also removed, to use CodeHelper, instead
2011-05-24 10:56:45 +02:00
alexandresalome
73bd9c72af [TwigBundle] Change the dependency of ActionsExtension to the actions helper
The logical of moving $attributes to a value of $options is already present
in the PHP templating helper.
2011-05-24 10:56:45 +02:00
alexandresalome
3cdf371c2b [TwigBundle] Move the {% render ... %} node to a dedicated extension + Remove service container
The purpose of the TemplatingExtension is ambigous. This first step move the actions logical
to a dedicated extension and reduce the dependency to the HTTP Kernel.
2011-05-24 10:56:45 +02:00
hlecorche
400de9c541 IntegerToLocalizedStringTransformer must return "null" if input value is null 2011-05-24 10:52:28 +02:00
Fabien Potencier
754a0771f3 Merge remote branch 'everzet/builder-private-services-fix'
* everzet/builder-private-services-fix:
  [DependencyInjection] create inlined private service from it's definition
  [DependencyInjection] added failing private service user test-case
2011-05-24 10:32:48 +02:00
Fabien Potencier
0dab2de6da Merge remote branch 'craue/patch-1'
* craue/patch-1:
  removed unnecessary semicolon
2011-05-24 09:57:41 +02:00
Fabien Potencier
68aa0f46a4 Merge remote branch 'jdhoek/master'
* jdhoek/master:
  Add missing {} around @inheritDoc to fix this class in SF beta2.
  Add missing {} around @inheritDoc to fix this class in SF beta2.
2011-05-24 09:53:18 +02:00
Fabien Potencier
674ec1a476 Merge remote branch 'jdhoek/patch-4'
* jdhoek/patch-4:
  Add missing {} around @inheritDoc to fix this class in SF beta2.
2011-05-24 09:53:14 +02:00
Fabien Potencier
465be3d94c Merge remote branch 'jdhoek/patch-3'
* jdhoek/patch-3:
  Add {} around @inheritDoc.
2011-05-24 09:53:10 +02:00
Fabien Potencier
d2570b18f8 Merge remote branch 'jdhoek/patch-2'
* jdhoek/patch-2:
  Add {} around @inheritDoc
2011-05-24 09:53:04 +02:00
jdhoek
cc5a100418 Add missing {} around @inheritDoc to fix this class in SF beta2. 2011-05-24 00:41:35 -07:00
jdhoek
67cace5d21 Add missing {} around @inheritDoc to fix this class in SF beta2. 2011-05-24 00:40:39 -07:00
jdhoek
7e4419368e Add missing {} around @inheritDoc to fix this class in SF beta2. 2011-05-24 00:38:15 -07:00
jdhoek
42d33489c5 Add {} around @inheritDoc. 2011-05-24 00:36:03 -07:00
jdhoek
cda87bef23 Add {} around @inheritDoc 2011-05-24 00:33:56 -07:00
jdhoek
c6172e0f96 Add {} around @inheritDoc annotation to fix this class in SF beta2 2011-05-24 00:29:42 -07:00
Christian Raue
0306be6888 removed unnecessary semicolon 2011-05-23 14:39:25 -07:00
everzet
b6ce137e2d [DependencyInjection] create inlined private service from it's definition 2011-05-23 23:00:38 +03:00
Fabien Potencier
15bede5a63 [Console] refactored style management
The current code was broken when a style was defined inline:

  <bg=black>Foo</bg=black>

When creatin a new style formatter, it's better to let the formatter
apply the style to the text.
2011-05-23 16:54:36 +02:00
Fabien Potencier
d03961ed03 Merge remote branch 'richardmiller/assetic_jpegtran_options'
* richardmiller/assetic_jpegtran_options:
  Added call to setOptimize in config for assetic filter jpegtran
2011-05-23 16:17:47 +02:00
Fabien Potencier
ab4352c5cd [DoctrineBundle] removed the annotation prefix in doctrine:mapping:import (this will work as soon as the EntityGenerator has been updated in Doctrine) 2011-05-23 15:48:29 +02:00
Florin Patan
06f74f8a39 Fix problem with searching files while the open_basedir is in use 2011-05-23 12:54:22 +00:00
Richard Miller
e9548dc80c Added call to setOptimize in config for assetic filter jpegtran 2011-05-23 13:39:48 +01:00
Fabien Potencier
2636e36bbf [DoctrineBundle] fixed typo 2011-05-23 13:33:37 +02:00
ouardisoft
52c3bce52d Edited src/Symfony/Bundle/DoctrineBundle/Command/ImportMappingDoctrineCommand.php via GitHub 2011-05-23 03:16:19 -07:00
Fabien Potencier
07401615a9 Merge remote branch 'schmittjoh/doctrine'
* schmittjoh/doctrine:
  [DoctrineBundle] fixed regression
2011-05-23 11:08:15 +02:00
Fabien Potencier
7ab3fdeb83 [Finder] added a way to ignore all 'hidden' files 2011-05-23 11:05:58 +02:00
Fabien Potencier
d88f6b9c24 Merge remote branch 'brikou/phpdoc_request'
* brikou/phpdoc_request:
  removed docblock for isNoCache
  fixed the description of isNoCache method
  fixed description for isNoCache method
  added missing method's docblock
2011-05-23 10:39:34 +02:00
Brikou CARRE
9908d51da8 removed docblock for isNoCache 2011-05-23 01:37:10 -07:00
Brikou CARRE
2648ff273e fixed the description of isNoCache method 2011-05-23 09:35:41 +02:00
Brikou CARRE
12bf94c7ff fixed description for isNoCache method 2011-05-23 08:44:08 +02:00
Johannes Schmitt
4c245e03ea Merge remote branch 'origin/master' into doctrine 2011-05-23 08:39:01 +02:00
Johannes Schmitt
378c810f81 [DoctrineBundle] fixed regression 2011-05-23 08:38:26 +02:00
Miha Vrhovnik
e8326aa650 Renamed attributes to attr to be consistent with templating. 2011-05-23 08:10:03 +02:00
Fabien Potencier
60b811947b [Form] fixed error message (closes #1034) 2011-05-23 08:06:43 +02:00
Fabien Potencier
4a801b5cd5 Merge remote branch 'pborreli/process-typo'
* pborreli/process-typo:
  [Process] Fixed namespace typo and windows test
2011-05-23 07:57:42 +02:00
Fabien Potencier
9afcaad04a fixed CS 2011-05-23 07:56:15 +02:00
Johannes Schmitt
6c626ef0b9 [DoctrineBundle] fixed tests 2011-05-23 07:35:13 +02:00
Johannes Schmitt
51f1add9b3 Merge remote branch 'origin/master' into doctrine 2011-05-23 07:09:58 +02:00
Miha Vrhovnik
c7074672ba Added support for additional attributes in Form types that list field as their parent. 2011-05-22 22:59:00 +02:00
Yoshio HANAWA
120898f81a fixed doc comment 2011-05-23 05:43:45 +09:00
Yoshio HANAWA
2cecc95d9e [BrowserKit] dealing with raw value for cookies 2011-05-23 04:49:01 +09:00
Matthieu Vachon
87176e39d1 [Form] Removed dead code in the buildForm method of DateType.php
* With the introduction of the getAllowedOptionValues mechanics, the check
   is performed prior to the buildForm call. There is no more needs to check
   it again in DateType.
2011-05-22 13:51:00 -04:00
Pascal Borreli
7f089c0b05 [Process] Fixed namespace typo and windows test 2011-05-22 14:57:37 +00:00
Brikou CARRE
e018e6ce44 added missing method's docblock 2011-05-22 09:13:03 +02:00
Fabien Potencier
0d68470638 [FrameworkBundle] made a small cleanup 2011-05-22 08:47:38 +02:00
Fabien Potencier
a2a1a88291 Merge remote branch 'schmittjoh/annotations'
* schmittjoh/annotations:
  removed obsolete compiler pass
  fixed some more tests
  fixed tests
  removed unused vendor
  some cleanups
  updated to latest changes
  [WebProfilerBundle] removed @ignorePhpDoc annotations
  [FrameworkBundle] fixed default
  [FrameworkBundle] updated configuration
  [Validator] updated fixtures
  updated UPDATE file
  updated Annotations integration
  [Routing] updated to changes
  [FrameworkBundle] added framework-wide annotation reader, updated validator tests
  [WebProfilerBundle] fixed controllers
  fixed unit tests
  added Annotations library
2011-05-22 08:45:24 +02:00
Fabien Potencier
ac1bde9003 Merge remote branch 'beberlei/YamlRoutingLoader'
* beberlei/YamlRoutingLoader:
  [Routing] Remove exception condition in YamlFileLoader::load() as its duplicating a check that is done in parseRoute() anyways. This changes allows to extend the YamlFileLoader without having to duplicate the whole method.
2011-05-22 08:32:12 +02:00
Fabien Potencier
2d2de7e8b0 Merge remote branch 'vicb/form-field'
* vicb/form-field:
  [Form] Tweak the field type
2011-05-22 08:29:54 +02:00
Fabien Potencier
17d9c97a77 Merge remote branch 'pminnieur/patch-1'
* pminnieur/patch-1:
  fixed wrong usage of `supportsDenormalization()` (@see NormalizerInterface)
2011-05-22 08:22:25 +02:00
Fabien Potencier
003fe6743d Merge remote branch 'vicb/form-render'
* vicb/form-render:
  [Twig][Form] Optimize form rendering
2011-05-22 08:19:20 +02:00
Fabien Potencier
2c85a59599 Merge remote branch 'vicb/form-rendered'
* vicb/form-rendered:
  [Form] Fix for nested forms getting erroneously set as rendered
2011-05-22 08:16:24 +02:00
Fabien Potencier
5429593459 Merge remote branch 'kertz/datetime_single_text'
* kertz/datetime_single_text:
  added missing single-text option
2011-05-22 08:14:35 +02:00
Fabien Potencier
b042366353 Merge remote branch 'stfalcon/patch-2'
* stfalcon/patch-2:
  Small refact. Without this I get a php Notice and Warnig if try getFlash() after clearing the session:
2011-05-22 08:08:28 +02:00
hidenorigoto
c9f188b658 [FrameworkBundle] replaced Util/Mustache to Generator/Generator 2011-05-22 00:10:22 +09:00
Pierre Minnieur
8bc13b9cdd fixed wrong usage of supportsDenormalization() (@see NormalizerInterface) 2011-05-21 05:48:27 -07:00
Victor Berchet
eb10c66a55 [Twig][Form] Optimize form rendering 2011-05-20 16:45:57 +02:00
Amal Raghav
517f95d8a4 added missing single-text option 2011-05-20 19:19:23 +05:30
Victor Berchet
e117613550 [Form] Fix for nested forms getting erroneously set as rendered 2011-05-20 15:48:55 +02:00
Victor Berchet
e0ff7d2613 [Form] Tweak the field type 2011-05-20 11:08:48 +02:00
Fabien Potencier
f3b92cb1ad [FrameworkBundle] renamed Mustache to Generator and moved it to a new Generator sub-namespace 2011-05-20 09:32:54 +02:00
Fabien Potencier
5ad2ff0595 [Console] added the possibility to pass a default value for DialodHelper::askAndValidate() 2011-05-20 08:24:54 +02:00
Johannes Schmitt
ddc00fa0f6 removed obsolete compiler pass 2011-05-20 06:59:30 +02:00
Johannes Schmitt
98ed7dd030 fixed some more tests 2011-05-19 23:15:41 +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
42fb34b647 fixed tests 2011-05-19 22:46:34 +02:00
Fabien Potencier
fed6dc9a1e Merge remote branch 'kriswallsmith/http/session-fixes'
* kriswallsmith/http/session-fixes:
  [HttpFoundation] updated session to only save on destruct if started
  [HttpFoundation] fixed locale accessor after session clear
  [HttpFoundation] removed unnecessary method
2011-05-19 21:40:38 +02:00
Kris Wallsmith
fc5992495f [HttpFoundation] updated session to only save on destruct if started 2011-05-19 11:47:21 -07:00
Kris Wallsmith
ed8ecab7ea [HttpFoundation] fixed locale accessor after session clear 2011-05-19 11:45:12 -07:00
Kris Wallsmith
a538344b3b [HttpFoundation] removed unnecessary method 2011-05-19 11:44:15 -07:00
Benjamin Eberlei
ec22b03b1d [Routing] Remove exception condition in YamlFileLoader::load() as its duplicating a check that is done in parseRoute() anyways. This changes allows to extend the YamlFileLoader without having to duplicate the whole method. 2011-05-19 20:26:26 +02:00
stealth35
286961c47f Removed unnecessary array_push 2011-05-19 18:11:22 +02:00
Johannes Schmitt
b70d7a7462 [DoctrineBundle] added some tests 2011-05-19 18:03:56 +02:00
Fabien Potencier
91b1becc7d Merge remote branch 'schniper/patch-2'
* schniper/patch-2:
  Fix process creation under Win7 Ultimate (app/console assetic:dump ./web): - Set the default $env to NULL, thus inheriting the system's environment settings (array() is no good). - Set bypass_shell to false, otherwise process creation will fail (I don't know if this should happen only on Win7)
2011-05-19 17:39:36 +02:00
Fabien Potencier
9714524b39 fixed a unit test and CS 2011-05-19 17:38:16 +02:00
jsor
fd6c254b47 [HttpFoundation] changed checking for deleted cookie to be conform with setcookie() 2011-05-19 17:14:03 +02:00
jsor
fc1a8cac35 [HttpFoundation] allow negative values for cookies expires timestamp 2011-05-19 17:14:02 +02:00
jsor
f9b6c8b74a [HttpFoundation] included cookie headers in string representation 2011-05-19 17:14:01 +02:00
jsor
e6d929aa71 [HttpFoundation] added __toString() method 2011-05-19 17:13:58 +02:00
Costin Bereveanu
5841f05f04 Fix process creation under Win7 Ultimate (app/console assetic:dump ./web):
- Set the default $env to NULL, thus inheriting the system's environment settings (array() is no good).
- Set bypass_shell to false, otherwise process creation will fail (I don't know if this should happen only on Win7)
2011-05-19 07:52:45 -07:00
Fabien Potencier
9fe1c3ae0e Merge remote branch 'bschussek/form'
* bschussek/form: (22 commits)
  Fix merge error (function "guess" was in there twice)
  [Form] Added test case for bf2f9d2a02
  [Form] Form::isBound() and Form::isValid() work correctly now for read-only forms
  [Locale] Improved error reporting and added stubs for intl_is_failure(), intl_get_error_code() and intl_get_error_message()
  [Form] Implemented fix for 361c67f54f
  [Form] Add test for the handling of array values in the constraint violation
  [Form] Further simplified PropertyPath code
  [Form] Added test for 6c337d1cc0
  [Form] Removed unused option "pattern" of date and time type
  [Form] Renamed view variable "name" to "full_name"
  [Form] Renamed collection option "type_options" to "options" to be consistent with the repeated type
  [Form] CSRF documentation and a few CS changes
  [Form] Move CSRF options from types to the CSRF extension
  [Form] Added a search form field type
  [Form] Optimization of PropertyPath
  [Form] replace assertEquals by assertFalse, assertTrue, assertNull
  [Form] fix file permissions to 644 again ;)
  [Form] add tests for type_options in collectionType
  fix file permissions to 644
  [Form] add type_options for CollectionType to be abble to set options to type
  ...
2011-05-19 16:25:30 +02:00
Fabien Potencier
75e7a7a76f Merge remote branch 'kriswallsmith/assetic/combine'
* kriswallsmith/assetic/combine:
  [AsseticBundle] added missing filter to test
  [AsseticBundle] added config for cssimport filter
  [AsseticBundle] added config for packager filter
  [AsseticBundle] removed problematic test
  [AsseticBundle] fixed various bugs in PHP templating, added new "combine" option
2011-05-19 15:47:35 +02:00
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
Johannes Schmitt
bd9bfafd9c [Security/Http] use deep parameter for CSRF parameter 2011-05-18 13:01:54 +02:00
Johannes Schmitt
0eb7564f7d Merge remote branch 'origin/master' into security
Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Listener/RequestAttributeInitializingListener.php
2011-05-18 12:54:47 +02:00
Fabien Potencier
0687aadad2 fixed form configuration when no session is available (closes #841) 2011-05-18 12:54:16 +02:00
Johannes Schmitt
53f5c23c8f [Security/Acl] small voter refactoring 2011-05-18 12:48:50 +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
Fabien Potencier
30b6e62ce4 Merge remote branch 'arnaud-lb/fix-validator-config'
* arnaud-lb/fix-validator-config:
  Fixed validators config causing no validation to happen
2011-05-15 19:19:49 +02:00
Kris Wallsmith
09a60c2b32 [AsseticBundle] parameter cleanup 2011-05-15 09:40:45 -07:00
Kris Wallsmith
c0dcb7caad [AsseticBundle] updated apply_to configuration to accept an array of patterns 2011-05-15 09:38:59 -07:00
Johannes Schmitt
8e5b11a226 Merge remote branch 'origin/master' into annotations 2011-05-15 18:35:25 +02:00
Arnaud Le Blanc
e57e5537b6 Fixed validators config causing no validation to happen
The parameter in <argument type="collection">%parameter...%</argument>
was ignored due to type="collection".
2011-05-15 16:50:49 +02:00
Fabien Potencier
11fa8d8698 [HttpFoundation] tweaked HeaderBag::__toString() to ease debugging 2011-05-15 12:43:05 +02:00
Fabien Potencier
e81b88c576 [HttpFoundation] added HeaderBag::__toString() 2011-05-15 12:38:12 +02:00
Fabien Potencier
dcb4ef6e23 [HttpFoundation] added Request::__toString() 2011-05-15 12:33:06 +02:00
Amal Raghav
ebc2f01e5b [PdoSessionStorage] Added insert... on duplicate 2011-05-15 15:48:29 +05:30
Fabien Potencier
62d09b8fb2 [HttpFoundation] ensures that path info always starts with a / 2011-05-15 11:28:38 +02:00
Fabien Potencier
d2525c9492 [Validator] fixed possible warning 2011-05-15 11:18:03 +02:00
Johannes Schmitt
913d2b3fae [DoctrineBundle] updated implementation 2011-05-15 11:02:42 +02:00
Johannes Schmitt
ff4a2209e3 [DoctrineBundle] changes the naming convention for YML, and XML metadata files 2011-05-15 11:00:00 +02:00
Kris Wallsmith
4ae40f1ea4 [AsseticBundle] added configuration for automatically apply filters to assets based on target path 2011-05-15 01:48:13 -07:00
Kris Wallsmith
7f7ea42870 [AsseticBundle] added setting asset root when using bundle notation 2011-05-14 22:15:40 -07:00
Kris Wallsmith
b1738845e9 [AsseticBundle] updated for changes in Assetic 2011-05-14 21:51:18 -07:00
Stepan Tanasiychuk
c6206f8faf Small refact. Without this I get a php Notice and Warnig if try getFlash() after clearing the session:
Notice: Undefined index: _flash in /var/www/test/symfony2/vendors/symfony/src/Symfony/Component/HttpFoundation/Session.php on line 231
Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/test/symfony2/vendors/symfony/src/Symfony/Component/HttpFoundation/Session.php on line 231
2011-05-14 14:23:14 -07:00
Fabien Potencier
9e407d7e91 Merge remote branch 'kriswallsmith/assetic/asset-config'
* kriswallsmith/assetic/asset-config:
  Revert "[AsseticBundle] updated configuration to assume values with integer keys are inputs"
  [AsseticBundle] updated configuration to assume values with integer keys are inputs
  [AsseticBundle] made test of route loader less brittle
  [AsseticBundle] added the ability to define assets outside of the view layer
  [AsseticBundle] injected container into factory for better stability
2011-05-14 22:57:26 +02:00
Amal Raghav
4fa0c4c3ea some cosmetic changes to PdoSessionStorage
aligned line 210
2011-05-14 23:45:13 +05:30
Fabien Potencier
4ef13b6d5c added exceptions when APC is not enabled 2011-05-14 17:43:25 +02:00
Fabien Potencier
fe4515bde3 Merge remote branch 'stloyd/patch-2'
* stloyd/patch-2:
  Throw an exception when APC is not loaded but cache is enabled in app config
2011-05-14 17:38:41 +02:00
Fabien Potencier
e1347e788e [Yaml] tweaked error message 2011-05-14 17:37:28 +02:00
Fabien Potencier
0bfb260f44 Merge remote branch 'usefulthink/issue913-yaml-utf8-checking'
* usefulthink/issue913-yaml-utf8-checking:
  CS fixes in unit-test
  [Yaml] added exceptions when non-utf8 encoding is detected
2011-05-14 17:35:56 +02:00
Fabien Potencier
1e7108d624 Merge remote branch 'stloyd/tests_fix'
* stloyd/tests_fix:
  Skip tests if some vendor are not available (prevents fatal errors)
2011-05-14 17:27:52 +02:00
Adrian Rudnik
0c089d8fe3 [Process] Workaround for windows based stderr bug 2011-05-14 17:25:55 +02:00
Fabien Potencier
9c1bdc6ca4 Merge remote branch 'mvrhov/metadata_defaultgroup_fix'
* mvrhov/metadata_defaultgroup_fix:
  If there is no namespace in classname the 1st character was stripped off
2011-05-14 17:25:51 +02:00
Fabien Potencier
e46e53daa0 Merge remote branch 'stof/graphviz'
* stof/graphviz:
  [DependencyInjection] Fixed a property visibility in GraphvizDumper and removed a useless instanciation in the test
2011-05-14 17:23:50 +02:00
Fabien Potencier
e6766a3189 [Validator] fixed various bugs in previous merge 2011-05-14 17:18:23 +02:00
Fabien Potencier
0c44d5ce55 Merge remote branch 'stloyd/patch-4'
* stloyd/patch-4:
  Fix for bad regexp used in PHP <= 5.3.2. Closes #897
2011-05-14 17:09:15 +02:00
Johannes Schmitt
28bee92c75 [Security/Http] better error message when session times out, or cookies are disabled 2011-05-14 16:41:18 +02:00
Johannes Schmitt
0acffb1a1a [Security/Http] {_locale} can be used as placeholder in target path generation
fixes #861
2011-05-14 16:21:27 +02:00
Johannes Schmitt
48dc85dc43 [Security/Acl] fixes #853 2011-05-14 14:19:55 +02:00
Johannes Schmitt
e516b215f8 updated tests 2011-05-14 13:25:04 +02:00
Johannes Schmitt
b637a3190d revert exception message 2011-05-14 13:25:03 +02:00
Johannes Schmitt
eb1b7f1e46 fixed namespace + class 2011-05-14 13:25:03 +02:00
Johannes Schmitt
a97e8b82d0 [FrameworkBundle][SecurityBundle] fixes a regression in the listener order 2011-05-14 13:25:02 +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
Joseph Bielawski
d235570653 Fix for bad regexp used in PHP <= 5.3.2. Closes #897 2011-05-14 03:43:46 -07:00
Johannes Schmitt
5da7896191 [FrameworkBundle] fixes a regression 2011-05-14 12:37:11 +02:00
stloyd
039292bb94 Skip tests if some vendor are not available (prevents fatal errors) 2011-05-14 12:23:40 +02:00
Deni
e75edf205d [Form] Fixed path mapping for DelegatingValidator 2011-05-14 13:38:34 +04:00
Fabien Potencier
dbdb3da6bf Merge remote branch 'vicb/form-misc-fix-2'
* vicb/form-misc-fix-2:
  [Form] fix calling closures
  [Form] Add a missing property delcaration in the ResizeFormListener
2011-05-14 11:04:50 +02:00
Fabien Potencier
0cf8ad1946 Merge remote branch 'Chekote/firefox_put_fix'
* Chekote/firefox_put_fix:
  Fixed content type for urlencoded forms being too specific. For example, this will now function will clients (such as Firefox) that append the charset to the content type header. Uses 0 === strpos() as per @kriswallsmith suggestion.
2011-05-14 11:03:21 +02:00
Fabien Potencier
9687d1661b Merge remote branch 'bschussek/form_validator'
* bschussek/form_validator:
  [Form] Renamed the value "text" of the "widget" option of the "date" type to "single-text"
  [Form] Implemented getAllowedOptionValues() for core types
  [Form] Removed unused option
  [Form] Added FormTypeInterface::getAllowedOptionValues() to better validate passed options
  [Form] Improved test coverage of FormFactory and improved error handling
  [Form] Added getType() to FormFactoryInterface
  [Validator] Refactoring DateTimeValidator and DateValidator
  [Validator] Date: check if the value is a DateTime instance
2011-05-14 10:59:02 +02:00
Chekote
41ed194a98 Fixed content type for urlencoded forms being too specific. For example, this will now function will clients (such as Firefox) that append the charset to the content type header. Uses 0 === strpos() as per @kriswallsmith suggestion. 2011-05-13 19:05:28 -05:00
Victor Berchet
3b9c1e3fee [Form] Optimization of PropertyPath 2011-05-13 19:29:41 +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
Bernhard Schussek
7570e04589 [Form] Implemented getAllowedOptionValues() for core types 2011-05-13 18:58:19 +02:00
Bernhard Schussek
486a01bfe2 [Form] Removed unused option 2011-05-13 18:56:09 +02:00
Bernhard Schussek
da28f8e3b3 [Form] Added FormTypeInterface::getAllowedOptionValues() to better validate passed options 2011-05-13 18:44:03 +02:00
Fabien Potencier
2123006710 [Routing] fixed Route fluent interface 2011-05-13 18:40:40 +02:00
alexandresalome
5aaa78d9ca [Routing] Fix the exception inheritance + Add the LICENCE block in new files 2011-05-13 18:34:42 +02:00
Bernhard Schussek
21013b930c [Form] Improved test coverage of FormFactory and improved error handling 2011-05-13 18:29:18 +02:00
Fabien Potencier
48858cb95b [Routing] added missing Route::setOption() method 2011-05-13 18:17:57 +02:00
alexandresalome
07b7dc0c86 [Routing] Change the Exception namespacing + base class for every exception + update PHPDoc 2011-05-13 17:46:31 +02:00
Bernhard Schussek
fdd18250b3 [Form] Added getType() to FormFactoryInterface 2011-05-13 17:16:36 +02:00
Bernhard Schussek
f801c398eb Merge remote branch 'francisbesset/validators_date_datime' into francis_merge
Conflicts:
	src/Symfony/Component/Validator/Constraints/DateTimeValidator.php
	src/Symfony/Component/Validator/Constraints/DateValidator.php
2011-05-13 17:09:54 +02:00
alexandresalome
05d9e74293 [Routing] Add specific exceptions for the UrlGenerator
When generating URL, thrown exceptions are InvalidArgumentException and
distinction of errors is quite difficult. This modification brings different
exceptions for different cases
2011-05-13 16:59:37 +02:00
Miha Vrhovnik
cd7ab69a17 If there is no namespace in classname the 1st character was stripped off 2011-05-13 16:38:01 +02:00
Fabien Potencier
faab5e4452 [HttpKernel] moved the creation of logs/ and cache/ ealier to be sure that directories exist when extensions want to write something into them 2011-05-13 15:23:20 +02:00
Fabien Potencier
8dbccc7a8b [WebProfilerBundle] re-introduced parameters in the DIC for better overridability 2011-05-13 14:34:19 +02:00
Fabien Potencier
4525eb9690 [AsseticBundle] re-introduced parameters in the DIC for better overridability 2011-05-13 14:34:18 +02:00
Fabien Potencier
f7aea2a830 [FrameworkBundle] re-introduced parameters in the DIC for better overridability 2011-05-13 14:34:17 +02:00
Fabien Potencier
05a946bf9d [DoctrineBundle] re-introduced parameters in the DIC for better overridability 2011-05-13 14:34:16 +02:00
Fabien Potencier
0de8a55f02 [SecurityBundle] re-introduced parameters in the DIC for better overridability 2011-05-13 14:34:14 +02:00
Fabien Potencier
36d60a4a87 [HttpKernel] fixed previous commit 2011-05-13 14:18:58 +02:00
Fabien Potencier
07580335b0 [HttpKernel] changed ExceptionHandler to be more like ErrorHandler 2011-05-13 14:14:36 +02:00
Fabien Potencier
0b367b9489 [DependencyInjection] tweaked error messages 2011-05-13 12:52:44 +02:00
Christophe Coevoet
c2f074b7d5 [DependencyInjection] Fixed a property visibility in GraphvizDumper and removed a useless instanciation in the test 2011-05-13 12:18:09 +02:00
Victor Berchet
ae4bfbada4 [Form] fix calling closures 2011-05-13 11:01:31 +02:00
Victor Berchet
b2b3b190ef [Form] Add a missing property delcaration in the ResizeFormListener 2011-05-13 11:01:27 +02:00
Victor Berchet
87a6fd0f99 [Form] phpDoc 2011-05-13 11:00:04 +02:00
Fabien Potencier
23235d8513 Merge remote branch 'jmikola/patch-1'
* jmikola/patch-1:
  [Form] Refer to FormView explicitly in its own getParent() type-hint
2011-05-13 09:24:45 +02:00
Adrian Rudnik
90f5420ada [Process] Wrong descriptor mode for stderr 2011-05-13 03:08:55 +02:00