Fabien Potencier
3422c140b8
[Templating] fixed cache loader as the logical name can contain characters not valid on some OSes
2011-06-07 13:35:55 +02:00
Fabien Potencier
41242dcc00
[DoctrineBundle] made XML/YAML mapping drivers more BC with their Doctrine counterparts
...
The ultimate goal is to move back these mapping dirvers to the Doctrine project.
2011-06-07 12:14:46 +02:00
Fabien Potencier
116e004f7d
[DoctrineBundle] removed doctrine:generate:proxies as this command is never needed in a Symfony2 context
2011-06-07 12:01:07 +02:00
Fabien Potencier
b51d839ab8
removed duplicated test
2011-06-07 11:57:48 +02:00
Fabien Potencier
35c85a1547
added missing change from previous commit (sorry :()
2011-06-07 11:57:30 +02:00
Fabien Potencier
a17478ff74
tweaked previous commit
2011-06-07 11:48:08 +02:00
Fabien Potencier
96fc666454
simplified cache warmers
...
Here are the new simplified rules:
* Required cache warmers are *always* executed when the Kernel boots for the first time;
* Optional cache warmers are *only* executed from the CLI via cache:warmup
These new rules means that all the configuration settings for the cache
warmers have been removed. So, if you want the best performance, remember to
warmup the cache when going to production.
This also fixed quite a few bugs.
2011-06-07 11:42:27 +02:00
Fabien Potencier
b76eec73b9
[HttpKernel] changed cache warmup to be executed even in the CLI
2011-06-07 10:41:30 +02:00
Fabien Potencier
5be0bafe7f
removed TemplateReferenceInterface::getSignature() (replaced by the existing getLogicalName() which already acts as a unique identifier)
2011-06-07 10:12:38 +02:00
Fabien Potencier
5af7c7fffd
moved TemplateFinder to CacheWarmer as it is only useful in this context
2011-06-07 09:39:41 +02:00
Fabien Potencier
125df3ab3b
[DoctrineBundle] removed unneeded use statement
2011-06-07 09:06:58 +02:00
Fabien Potencier
22428b8b14
[DoctrineBundle] refactored Doctrine proxy cache warmer
...
* removed the dependency on the Container
* the proxy cache is now get from each entity manager configuration
2011-06-07 09:03:40 +02:00
Fabien Potencier
1c3fa20685
[DoctrineBundle] added Registry::getEntityManagers()
2011-06-07 08:53:04 +02:00
Fabien Potencier
85a381d048
[DoctrineBundle] added Registry::getConnections()
2011-06-07 08:53:03 +02:00
Fabien Potencier
2a5d7687b7
fixed Router cache warmer
2011-06-07 08:53:01 +02:00
Fabien Potencier
8618a27bf7
[DoctrineBundle] tweaked phpdoc
2011-06-07 08:44:59 +02:00
Christophe Coevoet
f3031251c5
Added the support of the locale in the login path and the check path
2011-06-06 21:44:53 +02:00
Victor Berchet
8d2974ce90
[Form] Fix accessibility for file inputs
2011-06-06 21:00:07 +02:00
Victor Berchet
c0355038cf
[FrameworkBundle] Fix the FormHelper phpDoc
2011-06-06 21:00:07 +02:00
Victor Berchet
1196eb8e51
[FrameworkBundle][Form] Add some phpDoc for the FormHelper class
2011-06-06 20:12:37 +02:00
Victor Berchet
5044a7b56d
[FrameworkBundle][Form] Fix label rendering
...
The label should not include the view 'id' attribute as it is used by the view widget.
2011-06-06 20:12:03 +02:00
Victor Berchet
61721e3fd4
[FrameworkBundle][Form] Fix rendering search inputs in PHP
2011-06-06 18:17:22 +02:00
Fabien Potencier
cb3390e9ae
Merge remote branch 'gordonslondon/http-foundation/response'
...
* gordonslondon/http-foundation/response:
[HttpFoundation] merge Response::isRedirected() with Response::isRedirect() - Response::isRedirected() has been removed
2011-06-06 18:06:51 +02:00
Victor Berchet
60c463d184
[Form] FormType labels should never have a for attribute
2011-06-06 18:04:07 +02:00
Victor Berchet
b12b11c131
[Form] Never render a view again
...
If some of the nested views are rendered individually they should not be rendered again when calling form_rest.
A typical would be when some nested file views are rendered, form_rest should not render them again.
It is still possible to render a label once the widget has been rendered. This is for checkboxes and radios
where the widget is typically rendered before the label.
2011-06-06 18:01:03 +02:00
Derek ROTH
9013e3639b
Changed load_resource_bundle() to use ResourceBundle::create() method instead of constructor
2011-06-06 08:45:12 -07:00
Lukas Kahwe Smith
34ac2fe200
fixed a typo
2011-06-06 17:29:50 +02:00
Fabien Potencier
c3bf2037df
Merge remote branch 'vicb/form-collection-rendering'
...
* vicb/form-collection-rendering:
[Form] Fix collection rendering
2011-06-06 14:56:16 +02:00
Fabien Potencier
78b91a017e
Merge remote branch 'DerekRoth/patch-1'
...
* DerekRoth/patch-1:
A constructor returning null is counter-intuitive. BTW, isn't this a intl bug ?
2011-06-06 14:52:24 +02:00
Fabien Potencier
48733b927d
[Swiftmailer] added the swiftmailer.plugin tag to automatically register Swiftmailer plugins
2011-06-06 14:48:42 +02:00
Fabien Potencier
a5daf4706a
[SwiftmailerBundle] updated XSD
2011-06-06 14:43:36 +02:00
Victor Berchet
ef8cb967f5
Merge branch 'master' into form-collection-rendering
2011-06-06 14:39:18 +02:00
Fabien Potencier
b83aa9d006
[SwiftmailerBundle] fixed previous merge
2011-06-06 14:25:17 +02:00
Victor Berchet
bca17fe6a3
[Form] Fix collection rendering
2011-06-06 14:21:49 +02:00
Fabien Potencier
ce4a49d648
merged arjenjb/swift-antiflood-plugin
2011-06-06 14:21:20 +02:00
Victor Berchet
6711a184fd
[TwigBundle][Form] Simplify templates
...
The Repeated and Collection types extend the Form type so there is no need to explicitely render the parent section.
2011-06-06 12:53:19 +02:00
Derek ROTH
7837d328bf
A constructor returning null is counter-intuitive. BTW, isn't this a intl bug ?
2011-06-06 03:32:25 -07:00
Victor Berchet
181fb56925
[Form][Twig] Reorganized the form template
2011-06-06 12:32:08 +02:00
Victor Berchet
eed54c137e
[Form] Fix the FormView::isRendered() method
2011-06-06 12:31:30 +02:00
Fabien Potencier
a1d866e709
[DoctrineBundle] fixed typo
2011-06-06 09:11:02 +02:00
Fabien Potencier
a98046dd44
[Config] added a guard against circular references
2011-06-05 10:52:57 +02:00
Fabien Potencier
87fefcae62
[Form] removed obsolete comment
2011-06-05 08:49:06 +02:00
Fabien Potencier
dd5f088abb
Merge remote branch 'jwage/master'
...
* jwage/master:
Revert back to using gmmktime and use day 15 instead of 1 to avoid edge case
Use mktime instead of gmmaketime. On the 1st of every month the following options are generated:
2011-06-05 08:47:49 +02:00
Fabien Potencier
433e403981
Merge branch 'doctrine-mapping-convert'
...
* doctrine-mapping-convert:
[DoctrineBundle] fixed extensions of generated files
2011-06-05 08:31:06 +02:00
Fabien Potencier
9d18b38fc0
[DoctrineBundle] fixed non-working safe-guards ( closes #1129 )
2011-06-05 08:30:00 +02:00
Fabien Potencier
8c0e5029a0
[DoctrineBundle] fixed extensions of generated files
2011-06-05 08:12:53 +02:00
Fabien Potencier
8457bfa365
[FrameworkBundle] fixed _locale management in core.request
2011-06-04 22:59:06 +02:00
Fabien Potencier
c72537da6b
[Routing] fixed route matching when the prefix contains variables
2011-06-04 19:45:54 +02:00
Fabien Potencier
0298f323e3
fixed typo
2011-06-04 19:23:48 +02:00
Fabien Potencier
c561f4f0c0
[Routing] changed HTTP method to always be uppercased (to be consistent with HttpFoundation/Request)
2011-06-04 19:06:39 +02:00
Fabien Potencier
736c27e0c9
Merge remote branch 'arjenjb/swift-impersonate-plugin'
...
* arjenjb/swift-impersonate-plugin:
Removed plugin from SF
[SwiftmailerBundle] Added ImpersonateSenderPlugin
2011-06-04 18:34:18 +02:00
Fabien Potencier
cb1f2c7e69
Merge remote branch 'kriswallsmith/templating/packages-rework'
...
* kriswallsmith/templating/packages-rework:
[FrameworkBundle] updated for templating changes, added http/ssl logic
[Templating] reworked asset helper and packages
2011-06-04 18:25:52 +02:00
Fabien Potencier
06804d3f1d
[Console] added mb_detect_encoding when needed
2011-06-04 18:20:20 +02:00
Fabien Potencier
18c3049fad
Merge remote branch 'brikou/console_formatter_helper'
...
* brikou/console_formatter_helper:
added mb_detect_encoding when formatting block (usefull when mb_internal_encoding is not properly set)
2011-06-04 18:19:11 +02:00
Pascal Borreli
404c452c0b
[Various] Phpdoc & typos
2011-06-04 15:30:56 +00:00
Fabien Potencier
604b043d6e
Merge remote branch 'weaverryan/doctrine_controller_methods'
...
* weaverryan/doctrine_controller_methods:
[FrameworkBundle] Adding a check for the existence of the Doctrine service
[DoctrineBundle] Fixing error per @stloyd
[FrameworkBundle][DoctrineBundle] Adding a few shortcut methods
2011-06-04 13:55:25 +02:00
Fabien Potencier
8e6166fd32
Merge remote branch 'stloyd/is_null'
...
* stloyd/is_null:
Remove all `is_null` alias calls.
2011-06-04 13:54:33 +02:00
Fabien Potencier
0bf10c4ce1
Merge remote branch 'schmittjoh/events'
...
* schmittjoh/events:
[FrameworkBundle] add the old method naming convention
2011-06-04 13:52:59 +02:00
Fabien Potencier
33b47b22db
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[SecurityBundle] exposed setting in the configuration
[Security/Http] removed irrelevant code
2011-06-04 13:52:18 +02:00
Fabien Potencier
f9ffdf5b33
[Routing] added proper support for the HEAD method
2011-06-04 12:47:38 +02:00
Fabien Potencier
9eae7e54ca
[Routing] removed unneeded code in the dumper Apache rules
2011-06-04 12:46:19 +02:00
Fabien Potencier
9f3e996c43
[FrameworkBundle] fixed tests
2011-06-04 11:57:49 +02:00
Fabien Potencier
7780c4deda
[HttpKernel] removed Response content when Request method is HEAD as per RFC2616
2011-06-04 11:56:12 +02:00
Fabien Potencier
c62b2309cf
[FrameworkBundle] fixed WDT for redirects emitted by the Security component
2011-06-04 10:25:44 +02:00
Fabien Potencier
611a4a212c
[FrameworkBundle] allowed a service to register a kernel listener more than once for a given event
2011-06-04 10:23:42 +02:00
Fabien Potencier
df81296443
[Routing] fixed generation when a default value is null
2011-06-03 22:57:26 +02:00
Fabien Potencier
79c6dc7937
[Console] fixed nested styles
2011-06-03 22:48:04 +02:00
Matthieu Vachon
954bdb5813
[Form] Updated DateTimeType to accept a custom date pattern for the DateType child
...
* Added a test also about this change
2011-06-03 11:05:11 -04:00
Matthieu Vachon
e7e744f00a
[Form] Synced changes in this branch with current Symfony master branch
2011-06-03 10:51:08 -04:00
Matthieu Vachon
436cb95223
[Form] Changed to a CreateException when the 'format' option is invalid
...
* Updated DateTypeTest also
2011-06-03 10:47:00 -04:00
Matthieu Vachon
a8152326fb
[Form] The IntlDateFormatter pattern can now be passed via the format option
...
* Also changed the default value of the calendar paramter to \IntlDateFormatter:GREGORIAN
in DateTimeToLocalizedStringTransformer which is the same as the default value in
StubIntlDateFormatter
2011-06-03 10:46:58 -04:00
Amal Raghav
52a1e1d281
moved date_pattern to IntlDateFormatter
...
added code to use custom date_pattern
2011-06-03 10:46:55 -04:00
Amal Raghav
dd104bc8c0
added code to use custom date_pattern
2011-06-03 10:46:54 -04:00
Johannes M. Schmitt
d03c6c72eb
[SecurityBundle] exposed setting in the configuration
2011-06-03 14:06:55 +02:00
Johannes M. Schmitt
672cf78816
[Security/Http] removed irrelevant code
2011-06-03 14:02:57 +02:00
stloyd
4e03db63d7
Remove all is_null
alias calls.
2011-06-03 11:16:32 +02:00
Joseph Bielawski
a414e56881
Fix for failing tests #1199 when Twig vendor doesn't exists.
2011-06-03 01:42:19 -07:00
Christophe Coevoet
f84ee37ae0
[HttpKernel] Fixed the test about the availability of the logger
2011-06-03 00:00:41 +02:00
Jonathan H. Wage
611dbf1bfe
Revert back to using gmmktime and use day 15 instead of 1 to avoid edge case
2011-06-02 13:47:58 -07:00
Ryan Weaver
172c956b73
[FrameworkBundle] Adding a check for the existence of the Doctrine service
2011-06-02 13:26:51 -05:00
Ryan Weaver
1ac4675e32
[DoctrineBundle] Fixing error per @stloyd
2011-06-02 13:26:17 -05:00
Ryan Weaver
28dcb3c581
[FrameworkBundle][DoctrineBundle] Adding a few shortcut methods
...
This adds to convience methods, for two separate reasons:
* Controller::getDoctrine() - this will allow method completion on the Registry class to work in IDEs, is slightly shorter, and should feel very "concrete" to beginners
* Registry::getRepository() - the repository is a very convenient thing to need - this allows it to be fetched much more succintly
Overall Before:
$product = $this->get('doctrine')
->getEntityManager()
->getRepository('AcmeDemoBundle:Product')
->find($id);
Overall After (with IDE method auto-completion for `getRepository`):
$product = $this->getDoctrine()
->getRepository('AcmeDemoBundle:Product')
->find($id);
2011-06-02 09:31:22 -05:00
Brikou CARRE
597a646347
added mb_detect_encoding when formatting block (usefull when mb_internal_encoding is not properly set)
2011-06-02 13:20:51 +02:00
Katsuhiro OGAWA
790284f2a8
[Form] Fixed FixRadioInputListener to not ignore 0.
2011-06-02 19:19:43 +09:00
Katsuhiro OGAWA
5893874ed5
[Form] Fixed single expanded choice type to set checked attribute when passed boolean value
2011-06-02 19:19:42 +09:00
Jonathan H. Wage
cd99d2a07d
Use mktime instead of gmmaketime. On the 1st of every month the following options are generated:
...
<select id="filter_start_date_month" name="filter[start][date][month]">
<option value="1">Dec</option>
<option value="2">Jan</option>
<option value="3">Feb</option>
<option value="4">Mar</option>
<option value="5">Apr</option>
<option value="6" selected="selected">May</option>
<option value="7">Jun</option>
<option value="8">Jul</option>
<option value="9">Aug</option>
<option value="10">Sep</option>
<option value="11">Oct</option>
<option value="12">Nov</option>
</select>
I do not totally understand the problem but using mktime instead of gmmktime fixes the issue.
2011-06-01 12:09:28 -05:00
Fabien Potencier
4b86b15105
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[SecurityBundle] fixed a regression
[SecurityBundle] re-use local variable
[SecurityBundle] added validation for check paths
[SecurityBundle] added user_providers option for remember_me
[Security/Core] added missing method to interface
2011-06-01 16:03:02 +02:00
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
realmfoo
8519967796
Calling supportsClass from vote to find out if we can vote
2011-05-16 11:03:06 +04: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
Adrian Rudnik
24216b4ee3
Fixed wrong descriptor mode for stderr
2011-05-13 02:22:14 +02:00
Chekote
88d94dd59f
Fixed reference to $this, when not in object context
2011-05-12 16:21:13 -05:00
Martin Schuhfuss
571768b9b9
[Yaml] added exceptions when non-utf8 encoding is detected
...
encoding is detected using the `mb_detect_encoding()`-function
in strict-mode. Checking is done before the parsing starts.
Without this patch, the calls to `preg_replace()` using the
'u'-modifier would cause the non-utf8-string being processed
to be empty when parsing starts which makes the parsing return
no result.
2011-05-12 22:02:56 +02:00
Chekote
ebab0a3ac2
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-12 10:55:14 -05:00
Fabien Potencier
8f426c0c77
[HttpKernel] added an exception handler to be used during boot time
...
This can be used as a PHP exception handler:
set_exception_handler(new DebugExceptionHandler());
2011-05-12 17:49:37 +02:00
Fabien Potencier
4adb4e9dc0
merged schmittjoh/removeExits
2011-05-12 17:47:59 +02:00
Joseph Bielawski
23b34749f9
Fix for bug when using APC in version 3.1.4
2011-05-12 07:50:47 -07:00
Joseph Bielawski
ec3ea65819
Throw an exception when APC is not loaded but cache is enabled in app config
2011-05-12 07:44:22 -07:00
lenar
2a09fe5e09
More information about exception when logging
2011-05-12 17:00:46 +03:00
Fabien Potencier
02a81de9d6
Merge remote branch 'fabpot/form-put'
...
* fabpot/form-put:
[HttpFoundation] fixed typo
[HttpFoundation] moved the PUT magic dance in createFromGlobals()
added support for PUT method
2011-05-12 14:46:12 +02:00
Fabien Potencier
0848604ce1
[HttpFoundation] fixed typo
2011-05-12 14:45:39 +02:00
Fabien Potencier
08846af9e2
[HttpFoundation] moved the PUT magic dance in createFromGlobals()
2011-05-12 14:45:38 +02:00
Fabien Potencier
efd1f1358c
added support for PUT method
2011-05-12 14:45:38 +02:00
Fabien Potencier
ae9ab29c0c
Merge remote branch 'weaverryan/security_context_exception_improvement'
...
* weaverryan/security_context_exception_improvement:
[Security] Improving the exception when the security context has no token
2011-05-12 14:41:31 +02:00
Fabien Potencier
3a16f3141a
Merge remote branch 'lenar/monolog-group-handler'
...
* lenar/monolog-group-handler:
[MonologBundle] Add AbstractProcessingHandler to list of compiled classes
[MonologBundle] Fix schema XML (_ -> -)
[MonologBundle] Fix config definitions, remove now-redundant tests
[MonologBundle] Add missing GroupHandler schema definitions
[MonologBundle] Add missing MailHandler schema definitions
[MonologBundle] Add support for GroupHandler
2011-05-12 14:40:28 +02:00
Fabien Potencier
aebc529e8e
Merge remote branch 'jsor/response_tostring'
...
* jsor/response_tostring:
[HttpFoundation] replaced LF by CRLF as per the spec
2011-05-12 14:36:36 +02:00
Fabien Potencier
0a3ff1c737
[HttpKernel] fixed default ESI cache strategy when the page does not contain ESIs
2011-05-12 13:54:48 +02:00
lenar
0985f16030
[MonologBundle] Add AbstractProcessingHandler to list of compiled classes
2011-05-12 12:18:56 +03:00
lenar
d6d3516d84
[MonologBundle] Fix schema XML (_ -> -)
2011-05-12 12:02:03 +03:00
lenar
b734a63b81
[MonologBundle] Fix config definitions, remove now-redundant tests
2011-05-12 11:31:53 +03:00
lenar
b8f57c4bcd
[MonologBundle] Add missing GroupHandler schema definitions
2011-05-12 10:52:47 +03:00
lenar
20c77ac400
[MonologBundle] Add missing MailHandler schema definitions
2011-05-12 10:50:32 +03:00
Beau Simensen
7adedf9ce9
[HttpKernel] Fix to disable busyTimeout if it does not exist.
2011-05-11 17:09:59 -07:00
jsor
d39c3be779
[HttpFoundation] replaced LF by CRLF as per the spec
2011-05-12 00:08:05 +02:00
Jeremy Mikola
61dc1af65b
[Form] Refer to FormView explicitly in its own getParent() type-hint
...
Using "self" makes mocking impossible, as the type-hint would then refer to the extending class and make the declaration incompatible.
2011-05-11 14:11:43 -07:00
Ryan Weaver
1de34fde98
[Security] Improving the exception when the security context has no token
...
This either mostly - or always - means that no firewall is currently activated. This message tries to alert the user to this.
Reword
2011-05-11 15:09:36 -05:00
Fabien Potencier
0bad012290
[FrameworkBundle] changed template string by TemplateReference instances in ExceptionController
2011-05-11 18:33:59 +02:00
Fabien Potencier
514b47c6d4
[FrameworkBundle] added a simple way to customize errors according to the HTTP status code
2011-05-11 18:02:50 +02:00
Victor Berchet
f68d16fdff
[Form] Fix the Form fluid interface
2011-05-11 17:08:53 +02:00
Fabien Potencier
3ec3fa219b
[HttpKernel] fixed a hardcoded variable
2011-05-11 16:43:00 +02:00
stloyd
5997b930a5
Refactoring of IpValidator to use native php filter extension, also adding additional flag support and test cover.
2011-05-11 13:19:03 +02:00
Jeremie Augustin
0077963584
fix file permissions to 644
2011-05-11 11:19:21 +02:00
Jeremie Augustin
b5277752b7
[Form] add type_options for CollectionType to be abble to set options to type
2011-05-11 11:19:21 +02:00
lenar
40795fcc5d
[MonologBundle] Add support for GroupHandler
2011-05-11 12:17:04 +03:00
Fabien Potencier
c6b598fa52
Merge remote branch 'vicb/form-doc-method-order'
...
* vicb/form-doc-method-order:
[Form] Order method according to their visibility to respect the CS
[Form] Add phpDoc for form builder and fix method declaration order to conform to the CS
2011-05-11 11:07:37 +02:00
Fabien Potencier
7941ff61f0
[FrameworkBundle] added a note
2011-05-11 11:05:57 +02:00
Fabien Potencier
09de9fe85f
Merge remote branch 'danielholmes/client_kernel_shutdown'
...
* danielholmes/client_kernel_shutdown:
[FrameworkBundle] added a check in Client to only shutdown the kernel if a previous request has been made
2011-05-11 11:04:14 +02:00
Victor Berchet
2db53b5e28
[Form] Order method according to their visibility to respect the CS
2011-05-11 11:00:32 +02:00
Victor Berchet
5536d41906
[Form] Add phpDoc for form builder and fix method declaration order to conform to the CS
2011-05-11 11:00:32 +02:00
Fabien Potencier
e2df25b43a
made a slight change to the previous merge
2011-05-11 10:45:23 +02:00
Fabien Potencier
b7d64c5304
Merge remote branch 'danielholmes/functional_test_changes'
...
* danielholmes/functional_test_changes:
[FrameworkBundle] fixed CS
[FrameworkBundle][HttpKernel] added a default tearDown on the WebTestCase which will shut down the currently used kernel (if there is one) in Web functional tests
2011-05-11 10:33:23 +02:00
Fabien Potencier
1ae5ef6849
Merge remote branch 'vicb/form-padded-choice-list'
...
* vicb/form-padded-choice-list:
[Form] Allow for arbitrary keys in PaddedChoiceList
2011-05-11 10:18:30 +02:00
Fabien Potencier
9abd53c2b4
merged Seldaek/serializer_fix
2011-05-11 10:16:15 +02:00
Fabien Potencier
a05b8fbb19
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[HttpFoundation] fixed php doc
updated UPDATE file
[Security] use deep flag when retrieving username + password
[HttpFoundation] added $deep flag to Request::get()
[HttpFoundation] removed getDeep(), added a boolean flag to get() instead
2011-05-11 10:14:15 +02:00
Fabien Potencier
b62cd109f0
Merge remote branch 'vicb/form-fixes'
...
* vicb/form-fixes:
[Form] Make the PropertyPathMapper class use the UnexpectedTypeException
[Form] Fix adding transformers in the FormBuilder
[Form] Fix the ReversedTransform class
2011-05-11 10:13:24 +02:00
Fabien Potencier
9651175914
Merge remote branch 'vicb/form-transformers'
...
* vicb/form-transformers:
[Form] Add argument type checking in BaseDateTimeTransformer
[Form] Catch exceptions in DataTransformers
2011-05-11 10:12:23 +02:00
Fabien Potencier
723a8f2bf3
[Form] fixed CS
2011-05-11 10:09:27 +02:00
Fabien Potencier
534cf8fce7
Merge remote branch 'vicb/form-tz-choice-list'
...
* vicb/form-tz-choice-list:
[Form] Make TimezoneChoiceList implement ChoiceListInterface rather than extend ArrayChoiceList
2011-05-11 10:07:35 +02:00
Fabien Potencier
74adb80cb8
Merge remote branch 'kertz/sqlite3_timeout'
...
* kertz/sqlite3_timeout:
added busyTimeout
2011-05-11 10:06:25 +02:00
Fabien Potencier
2d1113ea8d
Merge remote branch 'Seldaek/doctrine_fix'
...
* Seldaek/doctrine_fix:
[DoctrineBundle] Do not try to fetch doctrine listeners if doctrine is not enabled
2011-05-11 10:01:12 +02:00
Victor Berchet
adef14f687
[Form] Make the PropertyPathMapper class use the UnexpectedTypeException
2011-05-10 20:25:46 +02:00
Victor Berchet
daccf9bc17
[Form] Fix adding transformers in the FormBuilder
2011-05-10 20:25:30 +02:00
Victor Berchet
486294b50b
[Form] Fix the ReversedTransform class
2011-05-10 20:25:22 +02:00
Johannes Schmitt
7a6638ff8f
[HttpFoundation] fixed php doc
2011-05-10 20:24:58 +02:00
Victor Berchet
2e68801ff3
[Form] Add argument type checking in BaseDateTimeTransformer
2011-05-10 20:21:02 +02:00
Victor Berchet
dac798c791
[Form] Catch exceptions in DataTransformers
2011-05-10 20:21:02 +02:00
Victor Berchet
aa71d16812
[Form] Make TimezoneChoiceList implement ChoiceListInterface rather than extend ArrayChoiceList
2011-05-10 20:14:11 +02:00
Amal Raghav
acb657b82c
added busyTimeout
2011-05-10 23:43:11 +05:30
Victor Berchet
eca6453558
[Form] Fix the fluid interface of FormBuilder
2011-05-10 20:09:37 +02:00
Victor Berchet
75a499b0e2
[Form] Fix the fluid interface of FormBuilder
2011-05-10 20:09:28 +02:00
Fabien Potencier
9cc7aacf76
Merge remote branch 'usefulthink/phpdoc-containeraware'
...
* usefulthink/phpdoc-containeraware:
removed obsolete use-statement
[DependencyInjection] added phpdoc for property $container in ContainerAware
2011-05-10 19:09:55 +02:00
Fabien Potencier
f9fefd306d
Merge remote branch 'vicb/form-phpdoc'
...
* vicb/form-phpdoc:
[Form] Fix some phpDoc
[Form] fix and add some phpDoc
2011-05-10 19:08:53 +02:00
Fabien Potencier
579db9a9d5
Merge remote branch 'hason/czechmessages'
...
* hason/czechmessages:
[FrameworkBundle] Validator messages: added Czech translation
2011-05-10 19:02:34 +02:00
Victor Berchet
2d62dfdf83
[Form] Fix some phpDoc
2011-05-10 16:55:05 +02:00
Martin Schuhfuss
9112d8c2d3
removed obsolete use-statement
2011-05-10 16:34:44 +02:00
Martin Schuhfuss
5387532ff2
[DependencyInjection] added phpdoc for property $container in ContainerAware
...
This should ease code-completion a little bit...
2011-05-10 16:30:58 +02:00
Victor Berchet
2a8f2d2bfa
[Form] fix and add some phpDoc
2011-05-10 15:33:02 +02:00
Martin Hason
7f95ea69aa
[FrameworkBundle] Validator messages: added Czech translation
2011-05-10 14:18:57 +02:00
Jordi Boggiano
c2a8ca782b
[DoctrineBundle] Do not try to fetch doctrine listeners if doctrine is not enabled
2011-05-10 14:10:24 +02:00
Christophe Coevoet
a54d6b7e58
[DependencyInjection] Removed the public keyword from interface
2011-05-10 13:55:08 +02:00
John Wards
d96e2c5d79
[Validator] Adding support for Closure in CallbackValidator
...
Usage:
$formBuilder = $this->get('form.factory')
->createBuilder('form');
$formBuilder->setAttribute('validation_constraint', new Callback(array("methods"=>array(
'validate' => function ($data, $context) use ($elements) {
// logic to add violations depending on the elements
}
))));
2011-05-10 12:12:18 +01:00
Johannes Schmitt
9408ab3010
[Security] use deep flag when retrieving username + password
2011-05-10 11:22:28 +02:00
Johannes Schmitt
411659bc07
[HttpFoundation] added $deep flag to Request::get()
2011-05-10 11:19:22 +02:00
Johannes Schmitt
89f60e04d1
[HttpFoundation] removed getDeep(), added a boolean flag to get() instead
2011-05-10 11:16:25 +02:00
Jordi Boggiano
9e19e772bc
[Serializer] Restored docblocks from the deleted methods on SerializerInterface
2011-05-10 09:27:20 +02:00
Jordi Boggiano
457dc105bc
[Serializer] minor optimization
2011-05-10 09:19:55 +02:00
Jordi Boggiano
99c67134fe
[Serializer] Split decoder/encoder maps
2011-05-10 09:17:33 +02:00
Fabien Potencier
3854d34c14
[DoctrineBundle] fixed doctrine:generate:entity command when the entity to generate has sub-namespaces
2011-05-10 08:20:57 +02:00
Christophe Coevoet
1bb6b97c1c
[DependencyInjection] Added missing methods in the ParameterBagInterface
...
The Container relies on the resolve() value which was not part of
the interface.
2011-05-10 02:34:02 +02:00
Christophe Coevoet
b6c36de134
[DependencyInjection] Fixed phpdoc
2011-05-10 02:33:34 +02:00
Kris Wallsmith
b25750daa9
Revert "[AsseticBundle] updated configuration to assume values with integer keys are inputs"
...
This reverts commit fb104cedf8
.
2011-05-09 14:58:30 -07:00
Fabien Potencier
9844685a40
[HttpKernel] tweaked the default ESI cache strategy
2011-05-09 19:28:36 +02:00
Fabien Potencier
80a5074746
[Form] tweaked code ( closes #855 )
2011-05-09 17:53:18 +02:00
Jordi Boggiano
e6a02482c7
[Serializer] Cleaned up SerializerAwareInterface
2011-05-09 17:43:50 +02:00
Kris Wallsmith
fb104cedf8
[AsseticBundle] updated configuration to assume values with integer keys are inputs
2011-05-09 08:14:00 -07:00
lenar
7cc2a7918c
fixes monolog+swiftmailer
2011-05-09 18:03:38 +03:00
Victor Berchet
6c337d1cc0
[Form] Do not set the value attribute for file inputs
2011-05-09 17:00:19 +02:00
Christophe Coevoet
193c6acfc0
[MonologBundle] Fixed SwiftMailerHandler by using the mailer as message factory
2011-05-09 16:35:02 +02:00
Kris Wallsmith
94bd1c4655
[AsseticBundle] made test of route loader less brittle
2011-05-09 06:32:06 -07:00
Fabien Potencier
05e75e2712
[Finder] made the Custom filter accept all PHP callbacks
2011-05-09 15:30:41 +02:00
Victor Berchet
e0f03471ae
Merge branch 'master' into form-padded-choice-list
2011-05-09 15:30:04 +02:00
Fabien Potencier
e1c52764ce
[Finder] refactored SortableIterator
2011-05-09 15:14:42 +02:00
Kris Wallsmith
e8e87e65f7
[AsseticBundle] added the ability to define assets outside of the view layer
...
In config.yml:
assetic:
assets:
jquery: js/jquery.js
plugin1:
- @jquery
- js/jquery.plugin1.js
all_js:
- @plugin1
filters: ?yui_js
all_css:
- css/*.scss
filters: [ scss, ?yui_css ]
filters:
yui_css:
jar: %kernel.root_dir%/Resources/java/yui.jar
yui_js:
jar: %kernel.root_dir%/Resources/java/yui.jar
scss: ~
In Twig:
{% javascripts '@all_js' %}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
{% stylesheets '@all_css' %}
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" />
{% endstylesheets %}
2011-05-09 05:40:14 -07:00
Fabien Potencier
50c1cce014
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[HttpFoundation] added unit test
[Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
[SecurityBundle] added some tests
add provider to configuration
update DI to handle change in config and another provider
separate dbal specific acl config
add provider to configuration
update DI to handle change in config and another provider
separate dbal specific acl config
2011-05-09 14:26:36 +02:00
Kris Wallsmith
57251712e8
[AsseticBundle] injected container into factory for better stability
2011-05-09 05:24:47 -07:00
Fabien Potencier
4bb82451df
Merge remote branch 'Seldaek/session_warn'
...
* Seldaek/session_warn:
[HttpFoundation] Remove warnings when session id isn't given
2011-05-09 14:14:17 +02:00
Fabien Potencier
b1f91f8ddc
Merge remote branch 'Seldaek/session_storage'
...
* Seldaek/session_storage:
[FrameworkBundle] Do not override the session storage for test
2011-05-09 14:13:19 +02:00
Jordi Boggiano
f8447aa74c
[Serializer] NormalizableInterface now takes a Serializer and make sure the is always optional
2011-05-09 13:59:54 +02:00
Fabien Potencier
757dcb3b4c
Merge remote branch 'stof/monolog_compiled_classes'
...
* stof/monolog_compiled_classes:
[MonologBundle] Fixed compiled classes
2011-05-09 13:54:08 +02:00
Fabien Potencier
7dab0e1190
Merge remote branch 'yethee/form_fixes'
...
* yethee/form_fixes:
[Form] Added missing import statement of namespaces.
2011-05-09 13:53:50 +02:00
Fabien Potencier
0c46797a35
fixed CS
2011-05-09 13:52:49 +02:00
Fabien Potencier
9286f78116
Merge remote branch 'usefulthink/windows-symlink-errormessage'
...
* usefulthink/windows-symlink-errormessage:
[FrameworkBundle] added errormessage for windows in AssetsInstallCommand
2011-05-09 13:52:05 +02:00
jsor
e4c87cf558
Corrected german spelling of email (See: http://de.wikipedia.org/wiki/E-Mail#Artikel_und_Schreibweise )
2011-05-09 13:47:57 +02:00
Christophe Coevoet
47a2e25bfa
[MonologBundle] Fixed compiled classes
2011-05-09 13:07:45 +02:00
Deni
a15abc09bd
[Form] Added missing import statement of namespaces.
2011-05-09 14:30:04 +04:00
Martin Schuhfuss
ad41d21675
[FrameworkBundle] added errormessage for windows in AssetsInstallCommand
...
As it has recently been discussed [on the mailing-list][1], windows doesn't
support symlinks for the assets:install command. In order to avoid a 'call to
undefined-function'-message in this case, this patch adds an exception which
will be thrown when the symlink-funktion isn't present and the
`--symlink`-Option was specified.
[1]: https://groups.google.com/group/symfony-devs/browse_thread/thread/4b8ad9634bdab155
2011-05-09 12:11:54 +02:00
Fabien Potencier
e1e365d75a
Merge remote branch 'udat/translator-typo'
...
* udat/translator-typo:
[FrameworkBundle] Fixed typo
2011-05-09 09:01:26 +02:00
Fabien Potencier
d7a97f441c
Merge remote branch 'maoueh/acl_security_config_fix'
...
* maoueh/acl_security_config_fix:
[Security\Acl] Fixed hardcoded table names * Replaced hardcoded table names by acl configuration options
2011-05-09 08:59:43 +02:00
Fabien Potencier
cde14d181a
Merge remote branch 'stof/profiler'
...
* stof/profiler:
[FrameworkBundle] Changed the priority of the ProfilerListener
2011-05-09 08:58:06 +02:00
Fabien Potencier
7a509cd199
Merge remote branch 'pborreli/toString-fix'
...
* pborreli/toString-fix:
[Validator] Fixing method_exists
2011-05-09 08:57:41 +02:00
Fabien Potencier
5d55b231bb
merged monolog
2011-05-09 08:56:30 +02:00
Fabien Potencier
a756553dd5
Merge remote branch 'lsmith77/get_set_normalizer_typo_fix'
...
* lsmith77/get_set_normalizer_typo_fix:
typo fix
2011-05-09 08:51:57 +02:00
Fabien Potencier
b99b1e1e59
Merge remote branch 'kriswallsmith/assetic/dump-fix'
...
* kriswallsmith/assetic/dump-fix:
[AsseticBundle] made some methods private
[AsseticBundle] added a test of dumping in debug mode
[AsseticBundle] added test of dumping one asset
[AsseticBundle] added the beginnings of a test class for the assetic:dump command
[AsseticBundle] updated dump command to dump leaf assets per debug mode
[AsseticBundle] rearranged execute() method
[AsseticBundle] moved debug flag to object property
[AsseticBundle] moved asset manager to object property
[AsseticBundle] moved base path to object property
2011-05-09 08:51:39 +02:00
Christophe Coevoet
d8e6ab7f7a
[MonologBundle] Added the support of SwiftMailerHandler and NativeMailerHandler
2011-05-08 21:07:00 +02:00
Artur Kotyrba
1985333583
[FrameworkBundle] Fixed typo
2011-05-08 21:02:16 +02:00
Christophe Coevoet
a4a40f57cd
[MonologBundle] Moved default values to the Configuration class
2011-05-08 19:52:38 +02:00
Jordi Boggiano
3b88608d85
[Serializer] Fixed typo
2011-05-08 18:34:06 +02:00
Jordi Boggiano
9311b0a7e5
[Serializer] Removed properties argument
2011-05-08 18:32:22 +02:00
Jordi Boggiano
89e056bb8b
[Serializer] Renamed AbstractEncoder/Normalizer to SerializerAwareEncoder/Normalizer
2011-05-08 18:20:53 +02:00
Jordi Boggiano
1f8defaeeb
[Serializer] JsonEncoder doesn't need SerializerAware anymore
2011-05-08 18:17:42 +02:00
Jordi Boggiano
24dcfef33f
[Serializer] Added NormalizationAwareInterface
2011-05-08 18:16:53 +02:00
Jordi Boggiano
c20b4a3950
[Serializer] Cleaned up NormalizerInterface
2011-05-08 18:15:00 +02:00
Jordi Boggiano
4104c7b073
[Serializer] Inlined back the logic from isStructuredType and removed the method
2011-05-08 18:14:44 +02:00
Jordi Boggiano
3ecc9602e4
[Serializer] Add checks for SerializerAwareInterface
2011-05-08 17:54:55 +02:00
Jordi Boggiano
01a104916b
[Serializer] Implement SerializerAwareInterface
2011-05-08 17:53:37 +02:00
Jordi Boggiano
8263b09b5c
[Serializer] Properly check for the DecoderInterface
2011-05-08 17:52:25 +02:00
Jordi Boggiano
fe7119da8a
[Serializer] serialize shouldn't normalize since it's the encoder's job to do that when they require it
2011-05-08 15:17:42 +02:00
Johannes Schmitt
315ef8498b
[WebProfilerBundle] removed @ignorePhpDoc annotations
2011-05-08 07:30:10 +02:00
Johannes Schmitt
f7e03f2d87
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
2011-05-08 07:28:23 +02:00
Matthieu Vachon
0da289cfbc
[Security\Acl] Fixed hardcoded table names
...
* Replaced hardcoded table names by acl configuration options
2011-05-07 20:56:22 -04:00
Pascal Borreli
e60a68f2c6
[Validator] Fixing method_exists
...
see dea5b26c3f
2011-05-07 19:08:30 +00:00
Christophe Coevoet
87391119be
[FrameworkBundle] Changed the priority of the ProfilerListener
...
Running it before other onCoreResponse listeners avoids seeing them
as called listeners in the event panel. The priority is set to -100
because it has to be called before the WebProfilerListener (-128) so
that the token is set.
2011-05-07 20:40:30 +02:00
Christophe Coevoet
eab8ffc5ef
[MonologBundle] Added a proper exception when the handler type is invalid
2011-05-07 17:54:14 +02:00
Kris Wallsmith
545a7fdcb9
[AsseticBundle] made some methods private
2011-05-07 08:06:48 -07:00
Lukas Kahwe Smith
9f32345887
typo fix
2011-05-07 17:02:06 +02:00
Kris Wallsmith
539ae49f62
[AsseticBundle] added a test of dumping in debug mode
2011-05-07 07:58:29 -07:00
Kris Wallsmith
520941d60d
[AsseticBundle] added test of dumping one asset
2011-05-07 07:57:38 -07:00
Kris Wallsmith
6f03a08714
[AsseticBundle] added the beginnings of a test class for the assetic:dump command
2011-05-07 07:32:13 -07:00
Kris Wallsmith
f78be41355
[AsseticBundle] updated dump command to dump leaf assets per debug mode
2011-05-07 07:32:12 -07:00
Christophe Coevoet
c90c79472c
[MonologBridge] Removed useless method
2011-05-07 10:38:06 +02:00
Christophe Coevoet
0ed6d04a5f
[MonologBundle] Moved the handlers to the Bridge namespace
2011-05-07 10:35:19 +02:00
Kris Wallsmith
9e19cac3c0
[AsseticBundle] rearranged execute() method
2011-05-06 19:16:32 -07:00
Kris Wallsmith
547610a631
[AsseticBundle] moved debug flag to object property
2011-05-06 19:13:07 -07:00
Kris Wallsmith
918ece8baf
[AsseticBundle] moved asset manager to object property
2011-05-06 19:11:56 -07:00
Kris Wallsmith
a11f18687b
[AsseticBundle] moved base path to object property
2011-05-06 17:23:13 -07:00
Kris Wallsmith
f3b077a0dd
[Form] removed a bunch of unused use statements
2011-05-06 14:07:16 -07:00
Drew Butler
dea5b26c3f
Method exists does not work if you append the () to the method name, thus this never words for objects that actually have the __toString method. Removed the erroneous () so that this works as it appears to have been intended.
2011-05-06 13:20:29 -07:00
Fabien Potencier
d1c6e44082
Merge remote branch 'stof/firephp'
...
* stof/firephp:
[MonologBundle] Fixed CS
[MonologBundle] Fixed the handling of subrequests in FirePHPHandler
2011-05-06 22:14:25 +02:00
Fabien Potencier
c98bf4ff94
Merge remote branch 'Seldaek/serializer'
...
* Seldaek/serializer:
[Serializer] CS fixes
[Serializer] Split supports in supportsNormalization and supportsDenormalization
[Serializer] Add support for Traversable objects
Fixed docs typo
[Serializer] updated SerializerInterface
2011-05-06 22:13:18 +02:00
Fabien Potencier
8043230bd6
Merge remote branch 'stof/doctrine_mapping'
...
* stof/doctrine_mapping:
[DoctrineBundle] Removed orm reference in DoctrineAbstractBundle
2011-05-06 22:12:30 +02:00
Christophe Coevoet
e3ae374b47
[DoctrineBundle] Removed orm reference in DoctrineAbstractBundle
2011-05-06 21:53:40 +02:00
Jordi Boggiano
b9a2eb66e9
[Serializer] CS fixes
2011-05-06 19:37:13 +02:00
Jordi Boggiano
ded30a2937
[Serializer] Split supports in supportsNormalization and supportsDenormalization
2011-05-06 19:36:56 +02:00
Jordi Boggiano
919f16a7d6
[Serializer] Add support for Traversable objects
2011-05-06 19:04:39 +02:00
Jordi Boggiano
7a06421cb1
Fixed docs typo
2011-05-06 19:04:22 +02:00
Jordi Boggiano
d6afe63d2a
Merge branch 'serializerLight' of http://github.com/schmittjoh/symfony into serializer
2011-05-06 18:39:02 +02:00
Christophe Coevoet
0704bc348b
[MonologBundle] Fixed CS
2011-05-06 18:02:32 +02:00
Christophe Coevoet
5afe7d20a6
[MonologBundle] Fixed the handling of subrequests in FirePHPHandler
2011-05-06 18:01:38 +02:00
Jordi Boggiano
43484c21a6
[FrameworkBundle] Do not override the session storage for test
2011-05-06 17:04:37 +02:00
Jordi Boggiano
36aa7b0d70
[HttpFoundation] Remove warnings when session id isn't given
2011-05-06 16:25:44 +02:00
Fabien Potencier
f1f379b031
[Finder] simplified code
2011-05-06 14:16:23 +02:00
Johannes Schmitt
ec1199eda7
[Serializer] updated SerializerInterface
2011-05-06 13:01:19 +02:00
Fabien Potencier
3e21e07570
Merge remote branch 'schmittjoh/config'
...
* schmittjoh/config:
[Config] some exception improvements
2011-05-06 12:38:12 +02:00
Fabien Potencier
62c0b10b88
[FrameworkBundle] prevented search engine indexing on exception pages
2011-05-06 12:33:37 +02:00
Fabien Potencier
f23044f63b
Merge remote branch 'ptheg/master'
...
* ptheg/master:
Search engines should not indexing Profiler
2011-05-06 12:31:49 +02:00
Fabien Potencier
dfd5b653cb
[DoctrineBundle] changed mapping file suffix from .orm.dcm.yml to .orm.yml
2011-05-06 11:23:00 +02:00
Fabien Potencier
0cdd6ca4e2
[DoctrineBundle] added --path option to doctrine:generate:entities
2011-05-06 11:19:19 +02:00
Victor Berchet
68b3d0d5ac
[Form] Allow for arbitrary keys in PaddedChoiceList
2011-05-06 10:31:51 +02:00
Geyer Pierre
daeedb5705
Search engines should not indexing Profiler
2011-05-06 07:58:35 +02:00
Johannes Schmitt
486ecdc6a6
[Config] some exception improvements
2011-05-05 19:43:08 +02:00
Fabien Potencier
d9299e930b
[DoctrineBundle] changed mapping directory
...
From Resources/config/ to Resources/config/doctrine
From doctrine.orm.dcm.xml to mapping.orm.dcm.xml
2011-05-05 18:12:21 +02:00
Fabien Potencier
3f69333acb
[HttpKernel] refactored the ErrorHandler class
2011-05-05 08:53:16 +02:00
Fabien Potencier
ca3c5e652e
moved ErrorHandler management to the distributions
2011-05-05 08:53:13 +02:00
Fabien Potencier
0f0e5817b1
[HttpKernel] added a Kernel::init() method
2011-05-05 08:44:36 +02:00
Johannes Schmitt
362b7264d1
[Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
...
This closes #774 , and fixes #772 .
2011-05-05 08:38:07 +02:00
Fabien Potencier
aba8f1e180
[ClassLoader] added a debug class loader
2011-05-05 08:28:12 +02:00
Johannes Schmitt
c3084050a0
[SecurityBundle] added some tests
2011-05-05 08:20:35 +02:00
Johannes Schmitt
f787a2a748
Merge branch 'acl' of https://github.com/IamPersistent/symfony into security
2011-05-05 08:06:31 +02:00
Daniel Holmes
b98f786d66
[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-05 11:20:08 +10:00
Fabien Potencier
fe9ef5c68b
[Routing] fixed deep nested route collections ( closes #770 )
2011-05-04 23:29:47 +02:00
Michel Weimerskirch
476644a92c
[Form] Support for the HTML5 "pattern" attribute, see http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-pattern-attribute
...
If you use the MinLength validator with your entities, the ValidatorTypeGuesser gets the value, stored as "minlength". Then, the FormFactory generates a "pattern" attribute out of minlength and maxlength.
Modern browsers such as Chrome use this attribute to validate the form before submitting.
a "pattern" attribute is generated that validates the
2011-05-04 23:16:41 +02:00
Fabien Potencier
36bcfcc5ee
Merge remote branch 'bschussek/form'
...
* bschussek/form:
[Form] CSRF fields are not included in the children of a FormView anymore if the view is not the root
[Form] FormView::offsetUnset() is now supported. It was possible anyway using getChildren() and setChildren().
[Form] Split the option "modifiable" of the "collection" type into "allow_add" and "allow_delete"
[Form] Added test for last commit by kriswallsmith and improved dealing with original names
[Form] Fixed variable scope when entering nested form helpers
[Form] Added tests for blocks/templates in the format _<ID>_(widget|row|label|...)
[Form] updated listener to check that data is an array
2011-05-04 22:13:33 +02:00
Fabien Potencier
b7c8442068
[DoctrineBundle] made Doctrine metadata configuration easier
...
You can now configure your Doctrine metadata in one single file named 'doctrine':
Resources/config/doctrine.orm.dcm.yml
Resources/config/doctirne.orm.dcm.xml
You can still use one file per entity, but the directory has changed (see the UPDATE file)
2011-05-04 19:58:48 +02:00
Fabien Potencier
ec226cd4bc
[DoctrineBundle] fixed doctrine:generate:entities
2011-05-04 19:38:36 +02:00
Fabien Potencier
c200b42e89
Merge remote branch 'kriswallsmith/http/forwarded-secure'
...
* kriswallsmith/http/forwarded-secure:
[HttpFoundation] added support for X-Forwarded-Port request header
2011-05-04 19:12:32 +02:00
Kris Wallsmith
ae46150bc8
[HttpFoundation] added support for X-Forwarded-Port request header
2011-05-04 09:56:34 -07:00
Fabien Potencier
e150ffd699
Merge remote branch 'Bart00/patch-1'
...
* Bart00/patch-1:
Change "zou moeten" to "moet", ("zou moeten" implies that the problem is not so severe and was translated from english too literally) Also fixes some typo's
2011-05-04 18:51:26 +02:00
Bernhard Schussek
74cca63938
[Form] CSRF fields are not included in the children of a FormView anymore if the view is not the root
2011-05-04 18:27:20 +02:00
Bernhard Schussek
173beeba74
[Form] FormView::offsetUnset() is now supported. It was possible anyway using getChildren() and setChildren().
2011-05-04 18:21:49 +02:00
Bernhard Schussek
3cc5d9f4cd
[Form] Split the option "modifiable" of the "collection" type into "allow_add" and "allow_delete"
2011-05-04 17:29:59 +02:00
Bernhard Schussek
bf1dfbbe99
[Form] Added test for last commit by kriswallsmith and improved dealing with original names
...
The form component should now guarantee to always pass an UploadedFile object to your model. There you can call getOriginalName() to retrieve the original name of the uploaded file. For security reasons, the real file name is a generated hash value.
2011-05-04 17:04:44 +02:00
Fabien Potencier
86d0ddb4e3
[DoctrineBundle] split Registry::getEntityManager() in two methods
...
Resetting an entity manager has a lot of consequences and the developer should
be aware of that. So, instead of implicitly reset an entity manager when it is
closed, the developer should reset it by hand if he thinks that this is
possible:
$em = $this->get('registry')->getEntityManager();
$em->getConnection()->beginTransaction(); // suspend auto-commit
try {
//... do some work
} catch (Exception $e) {
$em->getConnection()->rollback();
$em->close();
$this->get('registry')->resetEntityManager();
}
// you will get a new one
$em = $this->get('registry')->getEntityManager();
2011-05-04 16:23:47 +02:00
Bernhard Schussek
4c6f26f008
Merge remote branch 'kriswallsmith/form/fix-upload-fix' into kris_merge
2011-05-04 15:51:20 +02:00
Bernhard Schussek
eb50d766da
[Form] Fixed variable scope when entering nested form helpers
...
The consequence of this commit is that variables are accessible that have been passed to a surrounding form helper.
Example template:
{% block my_widget_label %}
<label>{{ label }}
{% endblock %}
{% block my_widget_row %}
{# It is not necessary to explicitely pass through the label variable #}
{{ form_label(form) }}
{{ form_widget(form) }}
{% endblock %}
Example usage:
{{ form_row(form.mywidget, { 'label': 'My Widget' }) }}
2011-05-04 15:40:15 +02:00
Bernhard Schussek
38098604af
[Form] Added tests for blocks/templates in the format _<ID>_(widget|row|label|...)
2011-05-04 15:33:51 +02:00
Daniel Holmes
dd692c0203
[Form] fixed transformation failed exception
2011-05-04 05:51:03 -07:00
Bart00
f9940b4175
Change "zou moeten" to "moet", ("zou moeten" implies that the problem is not so severe and was translated from english too literally)
...
Also fixes some typo's
2011-05-04 05:11:50 -07:00
Fabien Potencier
2e5bd42be3
Merge remote branch 'hollodk/master'
...
* hollodk/master:
Made some better translation.
First sample of translation.
2011-05-04 13:00:33 +02:00
Michael Holm
dc58b79e58
Made some better translation.
2011-05-04 12:47:06 +02:00
Fabien Potencier
ba3785896f
Merge remote branch 'schmittjoh/di'
...
* schmittjoh/di:
[DependencyInjection] fixes a bug when requesting a definition that uses property injection
2011-05-04 12:05:06 +02:00
Fabien Potencier
b752e31b66
Merge remote branch 'lenar/translation'
...
* lenar/translation:
added translation for Estonian
2011-05-04 11:46:05 +02:00
Fabien Potencier
0331501580
[DoctrineBundle] fixed some configuration options
2011-05-04 11:35:14 +02:00
lenar
1cfed9e24e
added translation for Estonian
2011-05-04 12:20:22 +03:00
Fabien Potencier
736948887d
Merge remote branch 'lenar/doctrinebundle'
...
* lenar/doctrinebundle:
fix variable names
2011-05-04 10:55:25 +02:00
Fabien Potencier
f7808de3a8
[DoctrineBundle] moved more DIC definition into orm.xml
2011-05-04 10:53:05 +02:00
lenar
1301995cdc
fix variable names
2011-05-04 11:11:38 +03:00
Fabien Potencier
6d334289ee
[BrowserKit] fixed a weird behavior where a PHP process returns a successful exit code, but the PHP scripts actually died
2011-05-04 09:08:05 +02:00
Fabien Potencier
17aa0ed0ed
changed the default httpOnly value for cookie for better security out of the box
2011-05-04 08:44:59 +02:00
Fabien Potencier
8b83b9847b
Merge remote branch 'wtfzdotnet/patch-1'
...
* wtfzdotnet/patch-1:
Some changes to the translation of "should" -> "zou moeten", "must" -> "moeten".
2011-05-04 08:05:01 +02:00
Michael Holm
8be22f19d7
First sample of translation.
2011-05-04 01:59:48 +02:00
Johannes Schmitt
2c287676fb
[DependencyInjection] fixes a bug when requesting a definition that uses property injection
2011-05-03 23:46:02 +02:00
Fabien Potencier
c7fddca891
replaced some url..code by rawurl..code
2011-05-03 23:06:55 +02:00
wtfzdotnet
898019559a
Some changes to the translation of "should" -> "zou moeten", "must" -> "moeten".
2011-05-03 14:06:33 -07:00
Fabien Potencier
e8838e51a6
[DoctrineBundle] fixed previous merge
2011-05-03 16:52:19 +02:00
Fabien Potencier
a02805714f
[DoctrineBundle] merged fabpot:doctrine-registry
2011-05-03 16:38:59 +02:00
Daniel Gomes
8870d3f31e
Merge remote-tracking branch 'upstream/master'
2011-05-03 14:28:33 +01:00
Daniel Gomes
0147df6b22
added translation for European Portugues (Portugal)
2011-05-03 14:27:37 +01:00
Fabien Potencier
731993869c
Merge remote branch 'Seldaek/exception_handling'
...
* Seldaek/exception_handling:
[HttpKernel] Log non-http exceptions as critical as well
2011-05-03 14:53:38 +02:00
Fabien Potencier
13bc7c7c53
Merge remote branch 'Seldaek/exception_template'
...
* Seldaek/exception_template:
[FrameworkBundle] Adjust styling and display of logs
2011-05-03 14:53:28 +02:00
Fabien Potencier
27d02a7d4a
[Routing] fixed regression (/ should not be matched by /{foo} when foo has no default value)
2011-05-03 14:48:08 +02:00
Jordi Boggiano
04f9b23b34
[FrameworkBundle] Adjust styling and display of logs
2011-05-03 14:44:27 +02:00
Jordi Boggiano
0ca4ed33fe
[HttpKernel] Log non-http exceptions as critical as well
2011-05-03 14:43:22 +02:00
Johannes Schmitt
12a77440b8
[FrameworkBundle] fixed default
2011-05-03 14:41:50 +02:00
Johannes Schmitt
672c4ef122
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
2011-05-03 14:38:51 +02:00
Johannes Schmitt
d29c7811aa
[FrameworkBundle] updated configuration
2011-05-03 14:36:42 +02:00
Fabien Potencier
e9b085ef42
[DoctrineBundle] fixed typo
2011-05-03 14:06:34 +02:00
Fabien Potencier
036be03dff
[HttpKernel] fixed a PHP notice
2011-05-03 13:55:00 +02:00
Fabien Potencier
ca4c1355c7
[DoctrineBundle] made doctrine:generate:entities smarter
...
The doctrine:generate:entities is now able to generate classes
based on a bundle name, a class name, or a namespace.
The command has still some limitations which will be hopefully
be fixed later on.
If also generates the repository class when possible
(replaces the doctrine:generate:repositories command).
2011-05-03 13:39:01 +02:00
Daniel Holmes
807859f962
[FrameworkBundle] added a check in Client to only shutdown the kernel if a previous request has been made
2011-05-03 21:26:45 +10:00
Fabien Potencier
d2a9b23c28
[Routing] fixed routing when a pattern has only one segment which is an optional variable
2011-05-03 08:54:33 +02:00
Fabien Potencier
014b19040c
[DoctrineBundle] changed the Registry to return a new instance if the current em is closed
...
$em = $this->get('doctrine')->getEntityManager();
$em->getConnection()->beginTransaction(); // suspend auto-commit
try {
//... do some work
} catch (Exception $e) {
$em->getConnection()->rollback();
$em->close();
// get a new EM
$em = $this->get('doctrine')->getEntityManager();
}
2011-05-03 07:39:12 +02:00
Fabien Potencier
bd608c8bfa
[DoctrineBundle] removed redundant check
2011-05-03 07:38:23 +02:00
Daniel Holmes
34b44a0ff1
[FrameworkBundle] fixed CS
2011-05-03 15:00:01 +10:00
Daniel Holmes
9107ede18c
[FrameworkBundle][HttpKernel] added a default tearDown on the WebTestCase which will shut down the currently used kernel (if there is one) in Web functional tests
2011-05-03 14:17:33 +10:00
Kris Wallsmith
4ea274244d
[Form] updated listener to check that data is an array
2011-05-02 15:56:35 -07:00
Fabien Potencier
3e514c6eb8
[FrameworkBundle] simplified code
2011-05-02 23:04:24 +02:00
Fabien Potencier
4fd7892b34
[MonologBundle] fixed previous commit
2011-05-02 23:03:13 +02:00
Fabien Potencier
12fb4a0a95
Merge remote branch 'Seldaek/monolog_bundle'
...
* Seldaek/monolog_bundle:
[MonologBundle] Added support for new Monolog log level
[FrameworkBundle] Treat all log messages >=ERR as errors
2011-05-02 22:59:14 +02:00
Fabien Potencier
8746f7b902
Merge remote branch 'Seldaek/exception_logging'
...
* Seldaek/exception_logging:
Fixed status code check
[HttpKernel] Log 500+ errors as critical and not error
2011-05-02 22:58:19 +02:00
Fabien Potencier
f08fc7aae2
Merge remote branch 'Seldaek/loggerinterface'
...
* Seldaek/loggerinterface:
[HttpKernel] Removed log() from the LoggerInterface as the priority can not be safely determined across implementations
[HttpKernel] Prevent errors leaking out in the console on windows
2011-05-02 22:57:38 +02:00
Fabien Potencier
6b5438aa38
[DoctrineBundle] introduced a Registry class
...
The Registry knows all connections and entity managers declared into a service
container. The Registry is available via the 'doctrine' service.
If can be used to get connections and entity managers by name:
Before:
$em = $this->get('doctrine.orm.entity_manager');
$em = $this->get('doctrine.orm.foobar_entity_manager');
After:
$em = $this->get('doctrine')->getEntityManager();
$em = $this->get('doctrine')->getEntityManager('foobar');
It is better for several reasons:
* we rely less on naming conventions
* IDEs will be able to auto-complete methods
2011-05-02 22:28:48 +02:00
Jordi Boggiano
fd08f187c8
Fixed status code check
2011-05-02 21:50:21 +02:00
Jordi Boggiano
e0c12fa080
[HttpKernel] Removed log() from the LoggerInterface as the priority can not be safely determined across implementations
2011-05-02 19:04:49 +02:00
Fabien Potencier
6b74483204
[DoctrineBundle] made the ORM configuration service private (there are accessible via the entity manager anyway)
2011-05-02 18:50:13 +02:00
Jordi Boggiano
838853e58b
[HttpKernel] Log 500+ errors as critical and not error
...
This allows people to filter easily between 404 type of responses (that are mostly for users) and real errors in their application (where they probably want to get an email notification
2011-05-02 18:49:30 +02:00
Fabien Potencier
d0e31b8ca6
changed Application to have nice error messages when something bad happens early on the CLI
2011-05-02 18:35:38 +02:00
Jordi Boggiano
a56ea15363
[MonologBundle] Added support for new Monolog log level
2011-05-02 18:32:17 +02:00
Jordi Boggiano
25d7009c1c
[FrameworkBundle] Treat all log messages >=ERR as errors
2011-05-02 18:31:51 +02:00
Fabien Potencier
fc3be8a7cf
Merge remote branch 'schniper/patch-1'
...
* schniper/patch-1:
Fix Compass class path
2011-05-02 16:20:02 +02:00
Fabien Potencier
8210fb2f0f
Merge remote branch 'kriswallsmith/my-email-address'
...
* kriswallsmith/my-email-address:
updated my email address
2011-05-02 16:16:11 +02:00
Kris Wallsmith
1cd83c93e0
[AsseticBundle] fixed _controller/ prefix when dumping assets
2011-05-02 06:06:34 -07:00
Kris Wallsmith
562d84a964
updated my email address
2011-05-02 05:59:56 -07:00
Fabien Potencier
a3270da763
[DoctrineBundle] removed unused tag
2011-05-02 13:44:18 +02:00
Costin Bereveanu
cb2c6da346
Fix Compass class path
2011-05-02 02:12:56 -07:00
Fabien Potencier
3286819145
[DoctrineBundle] fixed CS
2011-05-01 23:01:52 +02:00
Matt Drollette
0029cbc397
made esi service public
2011-05-01 14:35:26 -05:00
Fabien Potencier
8b244f4f5e
[DoctrineBundle] fixed CS, removed some use statements
2011-05-01 21:30:19 +02:00
Fabien Potencier
aa29affc14
[DoctrineBundle] made some services private
2011-05-01 17:38:34 +02:00
Fabien Potencier
f55237dad7
[FrameworkBundle] fixed typo
2011-05-01 17:38:14 +02:00
Fabien Potencier
0642b60079
Merge remote branch 'lsmith77/serializer'
...
* lsmith77/serializer:
make it possible to read the normalizerCache when inheriting
2011-05-01 17:30:53 +02:00
Fabien Potencier
82e1713850
Merge remote branch 'hhamon/console_fix'
...
* hhamon/console_fix:
[Console] fixed phpdoc for Command class.
2011-05-01 17:30:24 +02:00
Fabien Potencier
11cdff93f3
[FrameworkBundle] refactored container:debug command
...
* Use a dumper to serialize the container into the cache (XML)
* Only keep the "real" services (abstract ones are not displayed anymore)
2011-05-01 17:21:20 +02:00
Fabien Potencier
0b165e13b2
[DependencyInjection] added public attribute when dumping a container to XML
2011-05-01 17:21:19 +02:00
Fabien Potencier
6fec656239
[DependencyInjection] forced anonymous services to always be private
2011-05-01 17:21:18 +02:00
Fabien Potencier
8b0450083a
[DependencyInjection] removed unused vars
2011-05-01 17:21:17 +02:00
Fabien Potencier
03f7049c7e
[DoctrineBundle] moved Doctrine proxy commands to their own sub-namespace
2011-05-01 12:12:49 +02:00
Fabien Potencier
6edb6447c8
[DoctrineBundle] fixed CS
2011-05-01 10:43:07 +02:00
Fabien Potencier
74a243bdd6
[DoctrineBundle] added connections and entity managers in web profiler
2011-05-01 10:06:10 +02:00
Fabien Potencier
422c7b2794
[WebProfilerBundle] tweaked CSS
2011-05-01 10:05:56 +02:00
Fabien Potencier
bad21f24cb
[DoctrineBundle] removed a reference to doctrine.orm.%s_entity_manager
2011-05-01 09:49:50 +02:00
Fabien Potencier
e5bd50e712
Merge remote branch 'kriswallsmith/assetic/sass-imports'
...
* kriswallsmith/assetic/sass-imports:
[AsseticBundle] updated sass, scss and compass filter configs to include base dir
2011-05-01 09:26:25 +02:00
Fabien Potencier
a4c6243743
[DoctrineBundle] refactored commands
2011-05-01 09:07:08 +02:00
Kris Wallsmith
ee3c239d12
[AsseticBundle] updated sass, scss and compass filter configs to include base dir
2011-04-30 19:53:02 -07:00
Fabien Potencier
a525a670a3
[DoctrineBundle] made an error message clearer
2011-04-30 22:43:14 +02:00
Hugo Hamon
c6bd284ecd
[Console] fixed phpdoc for Command class.
2011-04-30 22:17:30 +02:00
Fabien Potencier
d31c403bae
Merge remote branch 'pborreli/tests-fix-typos'
...
* pborreli/tests-fix-typos:
Various typos
[WebProfilerBundle] Fixed typo
[WebProfilerBundle] Adding unit tests
2011-04-30 21:53:15 +02:00
Pascal Borreli
391744719a
Various typos
2011-04-30 19:40:15 +00:00
Fabien Potencier
8b8545895f
[DoctrineBundle] fixed auto-mapping
...
When auto_mapping is true, you can avoid a bundle to be
automatically mapped by setting the value to false:
auto_mapping: true
mappings:
BlogBundle: false
With the above configuration, all bundles will be
auto-mapped, but the BlogBundle won't be.
Bundles that are defined in mappings won't be
managed by the auto-mapping feature:
auto_mapping: true
mappings:
BlogBundle: xml
2011-04-30 21:18:20 +02:00
Pascal Borreli
9960c86db9
[WebProfilerBundle] Fixed typo
2011-04-30 18:54:22 +00:00
Pascal Borreli
11d25f61e8
[WebProfilerBundle] Adding unit tests
2011-04-30 18:42:30 +00:00
Tobias Naumann
ad3fd30365
[DoctrineBundle] fixes undefined index notice
2011-04-30 11:25:47 +02:00
Johannes Schmitt
0d0c737630
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
2011-04-30 10:55:43 +02:00
Johannes Schmitt
8d8f1d7eb6
updated Annotations integration
2011-04-30 10:20:50 +02:00
Fabien Potencier
885d927775
[DoctrineBundle] fixed typo
2011-04-30 08:46:14 +02:00
Fabien Potencier
bb7b7e851d
[FrameworkBundle] refactored tests
2011-04-30 07:36:59 +02:00
Fabien Potencier
2adc56d181
Merge remote branch 'danielholmes/request_listener_test'
...
* danielholmes/request_listener_test:
[FrameworkBundle] added RequstListener test verifying request context http port fix
2011-04-30 07:26:08 +02:00
Fabien Potencier
158181d34b
Merge remote branch 'danielholmes/request_context_routing'
...
* danielholmes/request_context_routing:
[Routing] added setContext to RouterInterfaces as it is used on RouterInterface references
2011-04-30 07:26:04 +02:00
Fabien Potencier
55aff78a59
Merge remote branch 'noelg/i18n-translations-dir'
...
* noelg/i18n-translations-dir:
[translations] Moved the application translations directory under Resources to be consistent with bundles
2011-04-30 07:24:13 +02:00
Fabien Potencier
b048c44b46
Merge remote branch 'vicb/file-security'
...
* vicb/file-security:
[HttpFoundation] Sanitize uploaded file original name
2011-04-30 07:21:47 +02:00
Fabien Potencier
79ac931358
Merge remote branch 'igorw/templating-optional-globals'
...
* igorw/templating-optional-globals:
[TwigBundle] Default $globals to null as in FrameworkBundle/PhpEngine
make Templating Engine $globals optional
2011-04-30 07:20:22 +02:00
Daniel Holmes
625cb11d1e
[FrameworkBundle] added RequstListener test verifying request context http port fix
2011-04-30 14:24:26 +10:00
Daniel Holmes
b14db26062
[Routing] added setContext to RouterInterfaces as it is used on RouterInterface references
2011-04-30 13:56:40 +10:00
Lukas Kahwe Smith
3248f02067
make it possible to read the normalizerCache when inheriting
...
see https://github.com/FriendsOfSymfony/RestBundle/compare/lazy_normalizer_refactoring
2011-04-29 23:51:37 +02:00
Deni
9dfe5bc5a4
[FrameworkBundle] Fixed russian translation of the Choice constraint
2011-04-30 01:20:20 +04:00
Igor Wiedler
aa8428632b
[TwigBundle] Default $globals to null as in FrameworkBundle/PhpEngine
2011-04-29 22:53:45 +02:00
Igor Wiedler
e7c0aea587
make Templating Engine $globals optional
2011-04-29 22:36:24 +02:00
Victor Berchet
dccac192d6
[HttpFoundation] Sanitize uploaded file original name
2011-04-29 19:27:53 +02:00
noel guilbert
f644bbc027
[translations] Moved the application translations directory under Resources to be consistent with bundles
2011-04-29 17:48:38 +02:00
Johannes Schmitt
73b92db612
[Routing] updated to changes
2011-04-29 17:44:56 +02:00
Fabien Potencier
f8cc8a7deb
[DoctrineBundle] removed unneeded parameter definition
2011-04-29 16:48:19 +02:00
Fabien Potencier
ec8c9eed66
removed the doctrine.orm.class_metadata_factory_name parameter
2011-04-29 16:45:31 +02:00
Fabien Potencier
746ac2d24e
[FrameworkBundle] removed the need to specify the http/https port when you don't switch from http to https or the other way round
2011-04-29 16:42:49 +02:00
Fabien Potencier
2eb06bee1e
[FrameworkBundle] updated XSD
2011-04-29 16:35:33 +02:00
Fabien Potencier
ff9a7914e6
[WebProfilerBundle] replace url by path for WDT
2011-04-29 16:35:13 +02:00
Fabien Potencier
01695bc654
[DoctrineBundle] refactored event listeners/subscribers to not rely on parameter name conventions
...
* Doctrine event subscribers now all use the same "doctrine.event_subscriber" tag. To specify a connection,
use the "connection" attribute.
* Doctrine event listeners now all use the same "doctrine.event_listener" tag. To specify a connection,
use the "connection" attribute.
2011-04-29 16:09:26 +02:00
Fabien Potencier
a607afb8d2
[DoctrineBundle] added a doctrine.dbal.connections parameter that keeps the list of registered DBAL connections
2011-04-29 16:05:01 +02:00
Fabien Potencier
43e38c3ba4
[DoctrineBundle] changed doctrine.orm.entity_managers parameter to store the names and the ids
2011-04-29 16:04:54 +02:00
Johannes Schmitt
7e26575bbd
[FrameworkBundle] added framework-wide annotation reader, updated validator tests
2011-04-29 15:54:44 +02:00
Fabien Potencier
a2a8edbabd
[Twig] made a small tweak in generated templates
2011-04-29 15:26:56 +02:00
Fabien Potencier
c631061955
Merge remote branch 'kertz/typo_fix'
...
* kertz/typo_fix:
fixed a typo
2011-04-29 11:06:45 +02:00
Fabien Potencier
72a5ba78a0
Merge remote branch 'xmontana/master'
...
* xmontana/master:
renamed catalan translation filename according to locale
renamed catalan translation filename according to locale
2011-04-29 11:06:21 +02:00
Fabien Potencier
a487c5200e
Revert "[TwigBundle] removed the extends tags from the table layout (it's not needed anymore)"
...
This reverts commit 66a01855f7
.
2011-04-29 11:03:45 +02:00
Fabien Potencier
6180b6aeb5
[TwigBundle] removed obsolete code
2011-04-29 10:48:20 +02:00
Fabien Potencier
66a01855f7
[TwigBundle] removed the extends tags from the table layout (it's not needed anymore)
2011-04-29 10:25:01 +02:00
Johannes Schmitt
32ddfc322a
[WebProfilerBundle] fixed controllers
2011-04-29 09:46:14 +02:00
Johannes Schmitt
7938fb3c28
Merge remote branch 'schmittjoh/annotations' into annotations
2011-04-29 08:39:00 +02:00
Fabien Potencier
3a36c08d8e
added the possibility to easily customize the template of just one widget of a form (PHP edition)
2011-04-29 07:33:55 +02:00
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
Johannes Schmitt
8ef0fc4976
fixed unit tests
2011-04-28 23:26:27 +02:00
Johannes Schmitt
d151d2d4b8
added Annotations library
2011-04-28 23:09:08 +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
Amal Raghav
26bfa43bfc
fixed a typo
2011-04-28 23:37:40 +05:30
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
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
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
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
Francis Besset
72c074a101
[Session] Used \Locale::setDefault() when the locale is setted
2011-04-28 00:03:32 +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
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
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
Fabien Potencier
e63c2e2315
[DoctrineBundle] added back the possibility to easily define one DBAL connection
...
The reasonning reads as follows:
Most users will only ever use one database connection (and probably one entity manager for that matter).
So, this most common use case should be as easy as possible to configure.
This is BC.
Before:
doctrine:
dbal:
default_connection: default
connections:
default:
driver: pdo_mysql
dbname: Symfony2
user: root
password: null
After (optional):
doctrine:
dbal:
driver: pdo_mysql
dbname: Symfony2
user: root
password: null
2011-04-27 12:15:22 +02:00
Fabien Potencier
7395069b60
[DoctrineBundle] cleaned up code
2011-04-27 10:50:56 +02:00
Fabien Potencier
03511dea5c
[DoctrineBundle] removed the possibility to define an empty configuration for the DBAL (which does not make sense in real-life)
2011-04-27 10:37:08 +02:00
Fabien Potencier
55f9e6fb99
[DoctrineBundle] tweaked various exceptions to make it clear that the issue is related to Doctrine
2011-04-27 10:37:01 +02:00
Fabien Potencier
631393e29d
[DoctrineBundle] fixed CS
2011-04-27 10:15:03 +02:00
Fabien Potencier
aab56fa91e
[DoctrineBundle] moved some more definition to abstract definition
2011-04-27 10:15:02 +02:00
Fabien Potencier
f1b43450c3
[DoctrineBundle] removed parameters from orm.xml as they already have default values in the Configuration class
2011-04-27 10:14:59 +02:00
Fabien Potencier
35a32440c7
[DoctrineBundle] converted DBAL definition templates to abstract definitions
2011-04-27 09:47:43 +02:00
IamPersistent
22fd08531c
Merge branch 'master' into acl
2011-04-27 00:36:43 -07:00
Victor Berchet
d350e01e33
File & UploadedFile tweaks
2011-04-27 09:10:41 +02:00
Fabien Potencier
00bfd10ca9
[HttpFoundation] refactored File management to be safer
2011-04-27 08:50:33 +02:00
Fabien Potencier
b7cd7115d1
[HttpFoundation] removed protected methods that were not used
2011-04-27 08:04:10 +02:00
Fabien Potencier
5bb9da4b6d
[HttpFoundation] renamed getDefaultExtension() to guessExtension()
...
The renamed method now returns null if it cannot guess the extension. It allows
the developper to know whether the extension has been guessed or not.
2011-04-27 08:03:19 +02:00
Fabien Potencier
a26de5ba58
[HttpFoundation] fixed CS
2011-04-27 08:03:15 +02:00
Fabien Potencier
854fbd7f68
[HttpFoundation] use realpath to ensure that there is no .. in file path (to match phpdoc)
2011-04-27 07:58:54 +02:00
Fabien Potencier
9f846997ef
Merge remote branch 'Infranology/normalize-bools'
...
* Infranology/normalize-bools:
capitalized 'boolean'
replaced 'bool' with 'Boolean'
2011-04-27 07:48:12 +02:00
Eriksen Costa
164ce5210d
capitalized 'boolean'
2011-04-27 02:35:10 -03:00
Eriksen Costa
4db0752894
replaced 'bool' with 'Boolean'
2011-04-27 02:35:03 -03:00
IamPersistent
806c534560
add provider to configuration
2011-04-26 21:57:17 -07:00
IamPersistent
ebcd6f4563
update DI to handle change in config and another provider
2011-04-26 21:57:17 -07:00
IamPersistent
314f361846
separate dbal specific acl config
2011-04-26 21:57:17 -07:00
Fabien Potencier
aa3ec504ae
removed File::getWebPath()
...
This has been removed for several reasons:
* the framework does not know where the document root is and should not care
* as the document root was static, it was impossible to have several document roots depending on some business rules (see next one)
* sometimes, the document root is not under the web root directory (so the logic of getWebPath() is not always correct)
* the feature was not used anywhere in the core
2011-04-27 06:49:05 +02:00
Francis Besset
886149fa00
[Validator] Refactoring DateTimeValidator and DateValidator
2011-04-27 00:14:31 +02:00
Francis Besset
c6d39ed61f
[Validator] Date: check if the value is a DateTime instance
2011-04-27 00:09:57 +02:00
Benoît Merlet
d9ac718b97
fixed typo
2011-04-26 19:54:39 +02:00
Fabien Potencier
28aa8e729a
[FrameworkBundle] fixed typo
2011-04-26 18:27:51 +02:00
Kris Wallsmith
5dc1a9bb58
[Process] added optional argument for default executable
2011-04-26 07:45:16 -07:00
Kris Wallsmith
97f66e93ac
[HttpKernel] added check of default extension alias convention
2011-04-26 07:17:45 -07:00
Fabien Potencier
4bef9995c6
fixed typo
2011-04-26 16:02:24 +02:00
Jordi Boggiano
d11b7baa7e
[Form] Use proper transformation exception in case of failure
2011-04-26 16:02:01 +02:00
Fabien Potencier
f29ddad5ba
removed unused file
2011-04-26 15:38:09 +02:00
Fabien Potencier
0ac679e73c
Merge remote branch 'markchalloner/master'
...
* markchalloner/master:
[Validator] Updated ContraintViolationList ArrayAccess setter to check equivalence to null instead of using is_null
Implemented ArrayAccess interface
2011-04-26 15:34:47 +02:00
Fabien Potencier
e2741cefc4
[Process] changed ExecutableFinder to return false instead of throwing an exception when the executable is not found
...
I've made the change as the executable goal is to find the executable. The fact that it does not find it is
part of the contract and it is not exceptional.
2011-04-26 15:18:24 +02:00
Fabien Potencier
f12146d0ec
Merge remote branch 'schmittjoh/process'
...
* schmittjoh/process:
[Process] use component exception
[Process][Assetic] refactored some code to allow for better executable defaults
2011-04-26 15:01:29 +02:00
Fabien Potencier
e45d5fa857
merged vicb:template-factorization
2011-04-26 14:38:47 +02:00
Fabien Potencier
fe03671c2c
Merge remote branch 'vicb/cast-array'
...
* vicb/cast-array:
Make casting scalar to array consistent
2011-04-26 14:32:53 +02:00
Fabien Potencier
fc2c1578ac
Merge remote branch 'kriswallsmith/assetic/twig-functions'
...
* kriswallsmith/assetic/twig-functions:
[AsseticBundle] added a listener to add common image request formats when use_controller is on
[AsseticBundle] added a node visitor to wrap runtime filter functions with runtime use_controller check
[AsseticBundle] added support for Twig functions
2011-04-26 14:31:16 +02:00
Fabien Potencier
98e70f0963
[Routing] Route collection prefixes must start with a / and must not end with a /
2011-04-26 14:27:55 +02:00
Michel Weimerskirch
87c609b4a4
Fix DateTimeType by adding missing default options
2011-04-26 14:21:00 +02:00
Fabien Potencier
b80bb9c7ab
[DoctrineBundle] removed doctrine.dbal.types parameter
2011-04-26 13:41:07 +02:00
Fabien Potencier
dead820d77
Merge remote branch 'xmontana/master'
...
* xmontana/master:
Validator messages: added Catalan translation
2011-04-26 12:39:41 +02:00
Fabien Potencier
175f944f93
[DependencyInjection] added NonExistentParameterException that indicates where a non-existent parameter is being used
2011-04-26 12:36:25 +02:00
Fabien Potencier
e68f8f40b9
[DoctrineBundle] renamed DIC class parameters (they end with .class instead of _class to follow the convention of other bundles)
2011-04-26 12:22:22 +02:00
Victor Berchet
f83e92bf44
Make casting scalar to array consistent
2011-04-26 12:16:35 +02:00
Xmontana
dacfa633f6
Validator messages: added Catalan translation
2011-04-26 11:56:55 +02:00
Fabien Potencier
647efcffda
Merge remote branch 'lsmith77/default_false'
...
* lsmith77/default_false:
cosmetic tweak (use defaultFalse() instead of defaultValue(false))
2011-04-26 10:02:40 +02:00
Fabien Potencier
fefee0d5e5
[Routing] fixed URL generation when an optional variable value is 0
2011-04-26 09:50:57 +02:00
Lukas Kahwe Smith
dbdf4ad750
cosmetic tweak (use defaultFalse() instead of defaultValue(false))
2011-04-26 09:50:41 +02:00
Kris Wallsmith
7dfe286897
[AsseticBundle] coding standard and comment tweaks
2011-04-26 00:18:22 -07:00
Kris Wallsmith
f9c300e8db
[AsseticBundle] added a listener to add common image request formats when use_controller is on
2011-04-26 00:05:35 -07:00
Fabien Potencier
035afc1f4e
[Routing] fixed regression in Routing matching algorithm
2011-04-26 09:01:25 +02:00
Kris Wallsmith
a005796d3b
[AsseticBundle] added a node visitor to wrap runtime filter functions with runtime use_controller check
2011-04-25 23:46:01 -07:00
Fabien Potencier
ee89163858
Merge remote branch 'mweimerskirch/validators_translations'
...
* mweimerskirch/validators_translations:
[FrameworkBundle] Validator messages: added German translation
[FrameworkBundle] Validator messages: added Luxembourgish translation
2011-04-26 07:11:29 +02:00
Fabien Potencier
0493b669f7
Merge remote branch 'udat/110425-fixes'
...
* udat/110425-fixes:
[Bridge][Twig] removed unused argument passed to setRendered() method
[Translation] removed unnecessary default parameter value
[Templating] removed unused argument passed to setRendered() method
[HttpKernel] removed unused argument passed to ClosureLoader constructor
[BrowserKit] fixed typo
[Routing] removed redundant parameter in addRoute method
2011-04-26 07:11:07 +02:00
Kris Wallsmith
7a7b448680
[HttpKernel] added BundleInterface::getContainerExtension() which is implicitly loaded
2011-04-25 21:12:35 -07:00
Michel Weimerskirch
246ad1b03f
[FrameworkBundle] Validator messages: added German translation
2011-04-25 23:14:50 +02:00
Michel Weimerskirch
45dd5f33ed
[FrameworkBundle] Validator messages: added Luxembourgish translation
2011-04-25 23:13:04 +02:00
Artur Kotyrba
d506a55b40
[Bridge][Twig] removed unused argument passed to setRendered() method
2011-04-25 22:58:23 +02:00
Artur Kotyrba
88e78e6f44
[Translation] removed unnecessary default parameter value
2011-04-25 22:58:23 +02:00
Artur Kotyrba
05698f66a2
[Templating] removed unused argument passed to setRendered() method
2011-04-25 22:58:23 +02:00
Artur Kotyrba
f9f02a9047
[HttpKernel] removed unused argument passed to ClosureLoader constructor
2011-04-25 22:58:23 +02:00
Artur Kotyrba
533e2d994b
[BrowserKit] fixed typo
2011-04-25 22:58:23 +02:00
Artur Kotyrba
713e8c26a6
[Routing] removed redundant parameter in addRoute method
2011-04-25 22:58:23 +02:00
Francis Besset
291c35cd45
[FrameworkBundle] Fixed french validators messages
2011-04-25 21:19:11 +02:00
Fabien Potencier
3ab5a51e17
Merge remote branch 'Seldaek/monolog_firephp'
...
* Seldaek/monolog_firephp:
[MonologBundle] Added FirePHPHandler support
[MonologBundle] Only compile files if any handler is registered
2011-04-25 20:55:50 +02:00
Fabien Potencier
7dd64e4c21
Merge remote branch 'kriswallsmith/assetic/compass'
...
* kriswallsmith/assetic/compass:
[AsseticBundle] added configuration for compass filter
2011-04-25 20:54:21 +02:00
Fabien Potencier
d6bdb7af88
Merge remote branch 'vicb/tweaks_110425'
...
* vicb/tweaks_110425:
[AsseticBundle] Remove an unused property
[Cache warmers] A few tweaks
2011-04-25 20:54:08 +02:00
Fabien Potencier
a91279fbaa
Merge remote branch 'Infranology/cs-typo-fixes'
...
* Infranology/cs-typo-fixes:
fixed typos and CS
2011-04-25 20:53:18 +02:00
Jordi Boggiano
f4d1196666
[MonologBundle] Added FirePHPHandler support
2011-04-25 17:48:23 +02:00
Jordi Boggiano
3bca4b73e5
[MonologBundle] Only compile files if any handler is registered
2011-04-25 17:47:51 +02:00
Fabien Potencier
944a98086e
[Routing] optimized PHP route dumper
2011-04-25 17:45:59 +02:00
Kris Wallsmith
f3728744b4
[AsseticBundle] added support for Twig functions
2011-04-25 08:37:07 -07:00
Kris Wallsmith
d948361ed6
[AsseticBundle] added configuration for compass filter
2011-04-25 07:39:07 -07:00
Fabien Potencier
7c95bda751
[Routing] simplified route compiler
2011-04-25 12:38:20 +02:00
Victor Berchet
4de2b84923
[AsseticBundle] Remove an unused property
2011-04-25 11:57:46 +02:00
Victor Berchet
829bc54392
[Cache warmers] A few tweaks
2011-04-25 11:57:41 +02:00
Eriksen Costa
888eaf1b2f
fixed typos and CS
2011-04-25 02:17:15 -03:00
Fabien Potencier
59c6609aec
Merge remote branch 'vicb/service-event'
...
* vicb/service-event:
[FrameworkBundle] Optimization of the method ContainerAwareEventDispacther::dispatch()
[FrameworkBundle] Fix an issue with ContainerAwareEventDispatcher when re-entering a scope
2011-04-24 22:06:56 +02:00
Fabien Potencier
889c422d6e
Merge remote branch 'igorw/ipv6'
...
* igorw/ipv6:
[HttpFoundation] minor optimization
minor adjustments suggested by vicb
[HttpFoundation] IPv6 support for RequestMatcher
[HttpFoundation] refactor RequestMatcherTest to use dataProvider
[Validator] use full iPv6 regex
[Validator] add IPv6 support to UrlValidator
[HttpFoundation] add IPv6 support to Request
[HttpFoundation] test Request::create with an IP as host name
[HttpFoundation] refactor Request::getClientIp test
2011-04-24 22:04:25 +02:00
Fabien Potencier
36a63be0a5
Merge remote branch 'dustinwhittle/master'
...
* dustinwhittle/master:
[Classloader] Added phpdoc with example usage + refactored unit tests fixtures
[Classloader] Refactored ApcUniversalClassLoader to use setUp() to detect APC
[Classloader] Fixed typo + coding standards in ApcUniversalClassLoader test
[Classloader] Fixed APC class loader + added unit tests
2011-04-24 22:02:59 +02:00
Fabien Potencier
c0a160b5f9
partially reverted previous merge
2011-04-24 22:02:19 +02:00
Fabien Potencier
c6e0ccfdcd
Merge remote branch 'pborreli/form-typo'
...
* pborreli/form-typo:
[Form] Fixed typos
2011-04-24 21:56:47 +02:00
Fabien Potencier
f251eab92f
Revert "[Form] added a way to register a Form extension after creation of the FormFactory"
...
This reverts commit 2b8c7f84b5
.
2011-04-24 21:56:06 +02:00
Fabien Potencier
2f3ddb88ef
Merge remote branch 'bschussek/form'
...
* bschussek/form:
[Form] Automatically setting "data_class" option if objects are passed at the creation of a form
[Form] Improved the way passed data is handled in FormFactory
[Form] Simplified FileType code
[HttpFoundation] TemporaryStorage automatically creates the directory if it doesn't exist yet
[Form] Changed FormBuilder::build() to FormBuilder::create(). You hvae to pass the resulting builder to FormBuilder::add() manually now
[Form] Added FieldTypeValidatorExtension and fixed FQCN of DelegatingValidator
2011-04-24 21:53:24 +02:00
Pascal Borreli
06b3c386d9
[Form] Fixed typos
2011-04-24 14:05:16 +00:00
Dustin Whittle
e8bb64c17c
[Classloader] Added phpdoc with example usage + refactored unit tests fixtures
2011-04-24 07:00:27 -07:00
Dustin Whittle
dbb5ca459d
[Classloader] Fixed APC class loader + added unit tests
2011-04-24 07:00:26 -07:00
Fabien Potencier
08bf2af455
fixed email
2011-04-24 13:59:46 +02:00
Bernhard Schussek
e790587dc2
[Form] Automatically setting "data_class" option if objects are passed at the creation of a form
...
$form = $this->get('form.factory')->create(new PostType(), $post);
2011-04-24 13:38:12 +02:00
Bernhard Schussek
d58c610833
[Form] Improved the way passed data is handled in FormFactory
2011-04-24 13:32:29 +02:00
Fabien Potencier
4ed8d4f6b5
[Routing] fixed URL generation when a non-optional variable is empty
2011-04-24 13:06:02 +02:00
Bernhard Schussek
335f7e776a
[Form] Simplified FileType code
2011-04-24 12:08:56 +02:00
Bernhard Schussek
19073ae655
[HttpFoundation] TemporaryStorage automatically creates the directory if it doesn't exist yet
2011-04-24 12:08:56 +02:00
Bernhard Schussek
675e5ded9e
[Form] Changed FormBuilder::build() to FormBuilder::create(). You hvae to pass the resulting builder to FormBuilder::add() manually now
...
$builder->add(
$builder->create('child', 'form')
->add('foo', 'text')
->add('bar', 'text')
);
2011-04-24 12:08:50 +02:00
Bernhard Schussek
4f2fee8190
Merge remote branch 'tna/form-validation' into form
2011-04-24 10:43:15 +02:00
Fabien Potencier
8eb1dfc6a0
[Translation] forced translated id to strings
2011-04-24 09:42:41 +02:00
Fabien Potencier
b906cb59b8
Merge remote branch 'lsmith77/getAllPrevious'
...
* lsmith77/getAllPrevious:
renamed getPreviouses() to getAllPrevious
2011-04-24 08:46:54 +02:00
Fabien Potencier
823be5d956
Merge remote branch 'ornicar/fixDelegatingValidatorNamespace'
...
* ornicar/fixDelegatingValidatorNamespace:
[Form] Fix DelegatingValidator namespace
2011-04-24 08:45:50 +02:00
Fabien Potencier
27ae0a341d
Merge remote branch 'weaverryan/form_tweaks'
...
* weaverryan/form_tweaks:
[Form] Removing an unused variable in TimeType
[Form] Throwing exception for invalid "input" type of DateType
[Form] Removing unused private property and adding PHPDoc
[Form] Fixing wrong variable name
[Form] Tweak to FileTypeTest to avoid warning
[Form] Adding an exception for an invalid widget option in DateType
2011-04-24 08:45:44 +02:00
Fabien Potencier
7d8a3f76bb
[HttpKernel] made some minor tweaks
2011-04-24 08:44:29 +02:00
ornicar
b5055bb4fd
[Form] Fix DelegatingValidator namespace
2011-04-23 23:20:56 -07:00
Ryan Weaver
181ef3cc08
[Form] Removing an unused variable in TimeType
2011-04-23 20:52:26 -05:00
Ryan Weaver
af8aad9c34
[Form] Throwing exception for invalid "input" type of DateType
...
Also fixed typo in test of previous commit
2011-04-23 20:36:40 -05:00
Ryan Weaver
f435ed7e7e
[Form] Removing unused private property and adding PHPDoc
2011-04-23 20:14:12 -05:00
Ryan Weaver
0681e443d5
[Form] Fixing wrong variable name
2011-04-23 20:08:24 -05:00
Ryan Weaver
78b2062c5e
[Form] Adding an exception for an invalid widget option in DateType
2011-04-23 19:42:40 -05:00
Lukas Kahwe Smith
fd97c0caca
renamed getPreviouses() to getAllPrevious
2011-04-24 01:08:15 +02:00
Tobias Naumann
bc9817c85e
[Form] Added FieldTypeValidatorExtension and fixed FQCN of DelegatingValidator
2011-04-24 01:05:12 +02:00
Fabien Potencier
278223d950
Merge remote branch 'pborreli/phpdoc-fix'
...
* pborreli/phpdoc-fix:
[Phpdoc] Cleaning/fixing
[FrameworkBundle] Fixed typo in css
2011-04-23 21:50:16 +02:00
Fabien Potencier
8b74c6eb9c
[DomCrawler] refactored URLs management in Link and Form
2011-04-23 21:45:44 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Pascal Borreli
b90aba14e6
[FrameworkBundle] Fixed typo in css
2011-04-23 15:17:39 +00:00
Fabien Potencier
5591f34c01
[FrameworkBundle] made some small tweaks
2011-04-23 15:40:32 +02:00
Fabien Potencier
f05801cace
[FrameworkBundle] removed the router.options.resource_type and routing.resource arguments
2011-04-23 15:31:13 +02:00
Fabien Potencier
8db6c28432
removed obsolete config parameter
2011-04-23 15:19:33 +02:00
Fabien Potencier
50d3c92e22
tweaked TemporaryStorage directory creation
2011-04-23 15:19:30 +02:00
Fabien Potencier
8cc5caf1f3
changed the default directory for the upload temp dir, made the dir mandatory
2011-04-23 15:09:55 +02:00
Fabien Potencier
02c66e658c
removed the nestingLevel configuration for file temporary storages
2011-04-23 15:06:07 +02:00
Fabien Potencier
800effcccd
Merge remote branch 'lsmith77/remove_interface_injection'
...
* lsmith77/remove_interface_injection:
removed support for interface injection as well as all relevant tests
2011-04-23 12:08:49 +02:00
Fabien Potencier
9bffd8c2db
[FrameworkBundle] moved some default values to the Configuration class
2011-04-23 12:07:14 +02:00
Fabien Potencier
e7892071bb
[FrameworkBundle] fixed wrong usage of obsolete session.class parameter
2011-04-23 11:43:35 +02:00
Lukas Kahwe Smith
d9491a743e
removed support for interface injection as well as all relevant tests
2011-04-23 11:42:31 +02:00
Fabien Potencier
3ed0ff7b03
[FrameworkBundle] removed two parameters
2011-04-23 11:34:17 +02:00
Victor Berchet
209b95f232
[FrameworkBundle] Add a unit test for the TemplateFinder class
2011-04-23 11:24:28 +02:00
Victor Berchet
33dd89fd02
[Template cache warmers] Factorize common code
2011-04-23 11:24:28 +02:00
Victor Berchet
5308a5c4f5
[WebProfilerBundle] Remove useless use clause
2011-04-23 11:24:28 +02:00
Fabien Potencier
b347aebee8
[TwigBundle] removed obsolete code
2011-04-23 11:00:54 +02:00
Fabien Potencier
55e6883a88
[TwigBundle] removed obsolete code
2011-04-23 10:55:52 +02:00
Fabien Potencier
2b8c7f84b5
[Form] added a way to register a Form extension after creation of the FormFactory
2011-04-23 09:28:29 +02:00
Fabien Potencier
b69c5956d3
[Form] added missing use statement
2011-04-23 09:27:47 +02:00
Fabien Potencier
9a4da005a2
Merge remote branch 'bschussek/form-extensions'
...
* bschussek/form-extensions:
[Form] Refactored code from CoreExtension to new ValidatorExtension
[Form] Added FormTypeExtensionInterface
[Form] Reorganized code into "form extensions"
2011-04-23 09:11:25 +02:00
Fabien Potencier
960ae878b0
Merge remote branch 'pborreli/fix-twibundle'
...
* pborreli/fix-twibundle:
[TwigBundle] Removed useless code
2011-04-23 09:07:27 +02:00
Fabien Potencier
07933ddfd4
Merge remote branch 'pborreli/fix-typo'
...
* pborreli/fix-typo:
Fixed various typo
2011-04-23 09:07:23 +02:00
Pascal Borreli
b5769c52d6
Fixed various typo
2011-04-22 23:12:50 +00:00
Pascal Borreli
325801b00a
[TwigBundle] Removed useless code
2011-04-22 22:54:11 +00:00
Pascal Borreli
c4623fc2c0
[FrameworkBundle][Windows] Fixed testValidationPaths on windows
2011-04-22 20:49:09 +00:00
Igor Wiedler
041a2e9d83
[HttpFoundation] minor optimization
2011-04-22 22:20:12 +02:00
Bernhard Schussek
6f1bc356a8
[Form] Refactored code from CoreExtension to new ValidatorExtension
...
CoreExtension is now independent of the Symfony2 validator.
2011-04-22 19:38:21 +02:00
Bernhard Schussek
1ce2db87e2
[Form] Added FormTypeExtensionInterface
...
With implementations of this interface, existing types can be amended.
The Csrf extension, for example, now contains a class FormTypeCsrfExtension
that adds CSRF capabilities to the "form" type.
To register new type extensions in the DIC, tag them with "form.type_extension"
and the name of the extended type as alias.
2011-04-22 19:24:38 +02:00
Igor Wiedler
51d12758a0
minor adjustments suggested by vicb
2011-04-22 18:37:20 +02:00
Bernhard Schussek
54e66c518f
[Form] Reorganized code into "form extensions"
...
The extension classes are now the only constructor argument of the FormFactory class. They replace the existing "type loader" classes.
new FormFactory(array(
new CoreExtension($validator, $storage),
new CsrfExtension($csrfProvider),
new DoctrineOrmExtension($em),
));
Together with a few upcoming commits this mechanism will make
* extension of the form framework in bundles and
* usage of the forms outside of Symfony2
much easier.
2011-04-22 17:41:21 +02:00
Igor Wiedler
9ae5023a70
[HttpFoundation] IPv6 support for RequestMatcher
2011-04-22 17:37:22 +02:00
Igor Wiedler
e5b923a0ec
[Validator] use full iPv6 regex
...
it was taken from:
https://github.com/strattg/ipv6-address-test/blob/master/Tests/Rfc3986RegexTest.php
2011-04-22 17:07:44 +02:00
Igor Wiedler
afcdbf8b79
[Validator] add IPv6 support to UrlValidator
2011-04-22 17:07:44 +02:00
Igor Wiedler
82699c5a98
[HttpFoundation] add IPv6 support to Request
2011-04-22 17:07:44 +02:00
Fabien Potencier
417839345f
Merge remote branch 'lsmith77/request_format_tweaks'
...
* lsmith77/request_format_tweaks:
added text/html to default format mapping
return "q" from splitHttpAcceptHeader() to enable more complex accept header negotiations
added support for setting a custom default format in Request::getRequestFormat()
2011-04-22 15:33:01 +02:00
Fabien Potencier
fd05f02b23
[HttpFoundation] added logic to automatically add the charset when not present in the Content-Type for relevant Content-Types
2011-04-22 15:26:38 +02:00
Fabien Potencier
7644e86683
refactored session configuration
...
* made the options array only for "global" options that are valid for all session storages
* changed the PDO session storage constructor signature to accept an array of options for DB configuration
* changed the storage_id to be the full service id, instead of just part of it
* removed the class parameter for session as it can be changed via the .class parameter (it was the only example in the framework)
* removed the configuration for the PDO session storage for now
2011-04-22 13:34:57 +02:00
Fabien Potencier
f1e14f5ad3
Merge remote branch 'vicb/profiler'
...
* vicb/profiler:
[WebProfilerBundle] Sort tables by key name
2011-04-22 13:34:30 +02:00
Victor Berchet
a79a94b928
[WebProfilerBundle] Sort tables by key name
2011-04-22 12:51:58 +02:00
Fabien Potencier
5c2c16f57e
moved DoctrineMigrationsBundle to its own repository ( https://github.com/symfony/DoctrineMigrationsBundle )
2011-04-22 12:11:08 +02:00
Fabien Potencier
0632327b77
removed data fixtures from core (moved to https://github.com/symfony/DoctrineFixturesBundle )
2011-04-22 11:47:16 +02:00
Bernhard Schussek
a97366fbcb
[Form] Split signature of FormFactory::create() into create() and createNamed()
...
The data can now be passed to all creation methods:
$form = $factory->create('form', $data);
By default, a form will receive the name of its type ("form" in above example). If you wish to pass a custom name, use createNamed():
$form = $factory->createNamed('form', 'myform', $data);
2011-04-22 10:42:21 +02:00
Fabien Potencier
0069a70e42
Merge branch 'form'
...
* form: (291 commits)
[FrameworkBundle] updated method call
[Form] Removing excess option in the TimezoneType
[FrameworkBundle] Adding check for invalid form type for better exception message
[TwigBundle] Removing dbug text in form template
[Form] Removed obsolete code in TextType
[Form] fixed translations escaping
[Form] Adding a check that the choice_list option on the ChoiceType implements the ChoiceListInterface.
[Form] added support for groups in form validation (when using array data)
[Form] fixed error bubbling for choices when expanded is true
[Form] added a unit test
[Form] Removed obsolete view variables
[Form] Renamed ChoiceUtil to FormUtil and gave its methods more general names
[Form] Changed separator for Twig blocks from double underscore to single underscore to match the PHP template separator
[Form] Removed StripTagsListenerTest
[Form] Removed StripTagsListener. Its implementation is insufficient and needs to be replaced by a better one.
[Form] added a way to specify the form constraint when building the form (useful if you work with arrays instead of objects)
[Form] Added test for 'email' type and fixed a few bugs
[Form] Removed obsolete constraints from validation.xml
Revert "[Form] removed validation.xml file (not used anymore)"
Added html5 email input to the forms
...
2011-04-22 09:36:52 +02:00
Fabien Potencier
de8f10e236
Merge remote branch 'Infranology/framework-bundle-updated-method-call' into form
...
* Infranology/framework-bundle-updated-method-call: (91 commits)
[FrameworkBundle] updated method call
moved DoctrineMongoDBBundle to its own repository
[AsseticBundle] fixed unit tests
[FrameworkBundle] removed unneeded files in tests
updated vendors
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
[Routing] added getContext() accessor
[HttpFoundation] fixed a potential security problem in Request
updated vendors
Added 201 to the possible status codes that indicate a response is a redirect.
[FrameworkBundle] made ESI URL relative as allowed by the spec (no need to generate absolute URLs)
[AsseticBundle] fixed router and controller
[AsseticBundle] removed fake front controller from URL before creating route
[AsseticBundle] updated twig integration to check debug mode at runtime rather than compile time since twig cannot vary its cache by debug mode
[Routing] the global parameters must not be added in the QS when generating URLs
removed the possibility to pass a message to the trans tag
simplified exceptions as Twig is now smart enough to automatically add line information
made the %count% variable automatically available when using the transchoice filter (similar to how the tag works)
[Container] Added function array_unique on getServiceIds to return only one service name
...
2011-04-22 09:35:11 +02:00
Fabien Potencier
f626afcdef
Merge remote branch 'weaverryan/validator_choice_message_changes'
...
* weaverryan/validator_choice_message_changes:
[Validator] Modifying Choice message and adding a different multiple message
2011-04-22 08:40:08 +02:00
Fabien Potencier
2c939e4124
Merge remote branch 'kriswallsmith/assetic/controller-fix'
...
* kriswallsmith/assetic/controller-fix:
[AsseticBundle] fixed controller
2011-04-22 08:40:01 +02:00
Fabien Potencier
82f1461031
Merge remote branch 'weaverryan/form_remove_extra_timezone_options' into form
...
* weaverryan/form_remove_extra_timezone_options:
[Form] Removing excess option in the TimezoneType
2011-04-22 08:38:35 +02:00
Fabien Potencier
4f4979c84a
Merge remote branch 'weaverryan/form_container_aware_type_loader_check' into form
...
* weaverryan/form_container_aware_type_loader_check:
[FrameworkBundle] Adding check for invalid form type for better exception message
2011-04-22 08:37:33 +02:00
Eriksen Costa
9cf7fba913
Merge branch 'master' into fix-stub-locale-method-signature
2011-04-22 00:07:29 -03:00
Eriksen Costa
7bbb8beb17
[FrameworkBundle] updated method call
2011-04-21 23:20:52 -03:00
Eriksen Costa
589b0ab4ed
Merge branch 'master' into form-frameworkbundle-form-guessers-fix
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddFormGuessersPass.php
src/Symfony/Component/Form/MoneyField.php
2011-04-21 23:03:40 -03:00
Ryan Weaver
1856601524
[Validator] Modifying Choice message and adding a different multiple message
2011-04-21 20:05:13 -05:00
Ryan Weaver
df50e2b161
[Form] Removing excess option in the TimezoneType
2011-04-21 19:57:53 -05:00
Ryan Weaver
fb4eb9c2e9
[FrameworkBundle] Adding check for invalid form type for better exception message
2011-04-21 19:51:10 -05:00
Ryan Weaver
f98916dcc8
[TwigBundle] Removing dbug text in form template
2011-04-21 19:49:45 -05:00
Kris Wallsmith
b69ed7f766
[AsseticBundle] fixed controller
2011-04-21 15:01:24 -07:00
Fabien Potencier
e6d86eb9f7
moved DoctrineMongoDBBundle to its own repository
...
The repo is now here: https://github.com/symfony/DoctrineMongoDBBundle
It has been done as the bundle depends on Doctrine Common 2.1, but everything
else in Symfony relies on Doctrine Common 2.0.
2011-04-21 23:14:21 +02:00
Fabien Potencier
fc23f39335
[AsseticBundle] fixed unit tests
2011-04-21 22:50:25 +02:00
Fabien Potencier
8b2b8e16dc
Merge remote branch 'schmittjoh/referenceValidation'
...
* schmittjoh/referenceValidation:
[DependencyInjection] also check references of inlined services
[DependencyInjection] adds emulation of "exception-on-invalid-reference" behavior
2011-04-21 22:44:20 +02:00
Fabien Potencier
30e907663b
[FrameworkBundle] removed unneeded files in tests
2011-04-21 22:43:38 +02:00
Fabien Potencier
d86aa74e3d
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
2011-04-21 22:34:53 +02:00
Fabien Potencier
4dc5b8ec78
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
2011-04-21 21:49:05 +02:00
Fabien Potencier
813627bd4c
[Routing] added getContext() accessor
2011-04-21 21:20:27 +02:00
Fabien Potencier
c5497c7c67
[HttpFoundation] fixed a potential security problem in Request
2011-04-21 20:00:27 +02:00
Fabien Potencier
a2ab05e9c2
Merge remote branch 'web-dev/master'
...
* web-dev/master:
Added 201 to the possible status codes that indicate a response is a redirect.
2011-04-21 19:51:30 +02:00
Josiah
98e46a23fa
Added 201 to the possible status codes that indicate a response is a redirect.
2011-04-21 10:36:25 -07:00
Fabien Potencier
314684df24
[FrameworkBundle] made ESI URL relative as allowed by the spec (no need to generate absolute URLs)
...
see http://www.w3.org/TR/esi-lang (Section 3.1 "Relative URIs will be resolved relative to the template.")
2011-04-21 18:54:01 +02:00
Fabien Potencier
c67dd2bb68
Merge remote branch 'kriswallsmith/assetic/runtime-is-funtime'
...
* kriswallsmith/assetic/runtime-is-funtime:
[AsseticBundle] fixed router and controller
[AsseticBundle] removed fake front controller from URL before creating route
[AsseticBundle] updated twig integration to check debug mode at runtime rather than compile time since twig cannot vary its cache by debug mode
2011-04-21 18:38:03 +02:00
Fabien Potencier
9a2d4c77c3
Merge remote branch 'Garfield-fr/master'
...
* Garfield-fr/master:
[Container] Added function array_unique on getServiceIds to return only one service name
2011-04-21 18:31:55 +02:00
Kris Wallsmith
57dd6aef86
[AsseticBundle] fixed router and controller
2011-04-21 07:28:23 -07:00
Kris Wallsmith
6a227f858a
[AsseticBundle] removed fake front controller from URL before creating route
2011-04-21 07:08:29 -07:00
Kris Wallsmith
8ad93095d4
[AsseticBundle] updated twig integration to check debug mode at runtime rather than compile time since twig cannot vary its cache by debug mode
2011-04-21 05:41:45 -07:00
Bernhard Schussek
c58b05a6d6
[Form] Removed obsolete code in TextType
2011-04-21 10:17:04 +02:00
Fabien Potencier
7e33159723
[Routing] the global parameters must not be added in the QS when generating URLs
2011-04-21 09:52:35 +02:00
Fabien Potencier
286c45733e
removed the possibility to pass a message to the trans tag
...
The trans tag should only be used with static texts as automatic output escaping does not occur.
2011-04-21 09:10:47 +02:00
Fabien Potencier
cad6643e77
simplified exceptions as Twig is now smart enough to automatically add line information
2011-04-21 09:03:30 +02:00
Fabien Potencier
54b77d24dd
made the %count% variable automatically available when using the transchoice filter (similar to how the tag works)
2011-04-21 09:01:11 +02:00
Fabien Potencier
9694ac77a7
[Form] fixed translations escaping
2011-04-21 07:48:12 +02:00
Bertrand Zuchuat
7ed8ea25d8
[Container] Added function array_unique on getServiceIds to return only one service name
2011-04-20 23:45:36 +02:00
Fabien Potencier
ea021062ba
Merge remote branch 'vicb/assetic-cache-warmer'
...
* vicb/assetic-cache-warmer:
[AsseticBundle] Update the cache warmer tests
[AsseticBundle] Fix the cache warmers
2011-04-20 23:31:40 +02:00
Victor Berchet
f7b1839296
[AsseticBundle] Update the cache warmer tests
2011-04-20 23:28:19 +02:00
Fabien Potencier
071caeb0c8
Merge remote branch 'merk/file'
...
* merk/file:
[HttpFoundation\File] Removed realpath()
2011-04-20 23:13:55 +02:00
Fabien Potencier
9c2d49e4f5
Merge remote branch 'weaverryan/fixtures_old_xml_namespace'
...
* weaverryan/fixtures_old_xml_namespace:
[FrameworkBundle] Upating XML test fixtures for newer namespace
2011-04-20 23:13:20 +02:00
Fabien Potencier
d721cbe1e2
Merge remote branch 'kriswallsmith/http/filesystem-session-fix'
...
* kriswallsmith/http/filesystem-session-fix:
[HttpFoundation] fixed FilesystemSessionStorage
2011-04-20 23:09:04 +02:00
Ryan Weaver
a5aba7dbd7
[FrameworkBundle] Upating XML test fixtures for newer namespace
...
This wasn't actually affecting anything (which is why it wasn't caught), but this is more correct.
2011-04-20 16:08:55 -05:00
Fabien Potencier
ace5e26406
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[Security/Core] force implementations to accept null values
[Security/Acl] some misc fixes
[Security/Acl] removed Doctrine dependency from interfaces and moved them to the actual implementation
[SecurityBundle] changed expected value for token_provider key in the rememberme section
2011-04-20 23:07:33 +02:00
Fabien Potencier
7266b41ade
[FrameworkBundle] added the current locale as the default value for _locale when generating routes
2011-04-20 23:03:01 +02:00
Fabien Potencier
c6dcf0f8f3
[Routing] added a way to set default parameters that are applied when generating URLs
2011-04-20 23:01:05 +02:00
Fabien Potencier
f7d44148df
[Routing] removed unused defaults variable
2011-04-20 22:55:23 +02:00
Johannes Schmitt
192592ec9b
[Security/Core] force implementations to accept null values
2011-04-20 22:38:16 +02:00
Johannes Schmitt
f697fe3b26
[Security/Acl] some misc fixes
2011-04-20 22:35:17 +02:00