Matthieu Vachon
58f869a920
[Form] Synced custom pattern tests with master branch
2011-06-03 10:46:57 -04:00
Matthieu Vachon
c20eddeda9
[Form] Added some tests
...
* Tests to check if the pattern option is handled correctly by DateType
* Tests to check if the pattern parameter is handled correctly by DateTimeToLocalizedStringTransformer
2011-06-03 10:46:56 -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
Ryan Weaver
c867dccbed
[Routing] Adding a failing test related to URL generation with optional parameters
2011-06-02 20:22:33 -05: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
Joseph Bielawski
c244545255
Make UPDATE file more "githubish" ;-)
...
Added info about setting attributes on form field labels
2011-06-02 03:51:23 -07:00
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