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
Matthieu Vachon
d08a688d9b
[Form] Fixed CS
2011-06-03 19:08:04 -04:00
Fabien Potencier
df81296443
[Routing] fixed generation when a default value is null
2011-06-03 22:57:26 +02:00
Fabien Potencier
79a611f9ff
Merge remote branch 'weaverryan/router_generator_failing_test'
...
* weaverryan/router_generator_failing_test:
[Routing] Adding a failing test related to URL generation with optional parameters
2011-06-03 22:50:03 +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
0045ffeefc
[Form] Added tests to check that the date format option is validated correctly
...
* Format option must be either a IntlDateFormatter constants (FULL, LONG, MEDIUM, SHORT) or a string
2011-06-03 10:46:59 -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
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