Commit Graph

5259 Commits

Author SHA1 Message Date
Joseph Bielawski
c2b9061559 [Form] Added Tests 2011-06-06 12:30:28 +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
544b6ca6aa Revert "fixed tests"
This reverts commit 7dc3af6036.
2011-06-04 19:24:45 +02:00
Fabien Potencier
0298f323e3 fixed typo 2011-06-04 19:23:48 +02:00
Fabien Potencier
7dc3af6036 fixed tests 2011-06-04 19:23:43 +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
d62932f70b Merge remote branch 'stloyd/patch-1'
* stloyd/patch-1:
  Make UPDATE file more "githubish" ;-) Added info about setting attributes on form field labels
2011-06-04 13:57:37 +02: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
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
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
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