Commit Graph

2943 Commits

Author SHA1 Message Date
Fabien Potencier
7ee82405b7 Merge remote branch 'Infranology/pt-br-validators-translation'
* Infranology/pt-br-validators-translation:
  [FrameworkBundle] translated validators messages to Brazilian Portuguese
2011-03-09 17:46:24 +01:00
Christophe Coevoet
1cbc557472 Fixed test 2011-03-09 17:42:52 +01:00
Fabien Potencier
b4cde9d3bb Merge remote branch 'lsmith77/classcollectionloader'
* lsmith77/classcollectionloader:
  make it possible to define the file extension
2011-03-09 17:40:38 +01:00
Eriksen Costa
5787fddde0 [FrameworkBundle] translated validators messages to Brazilian Portuguese 2011-03-09 13:39:27 -03:00
Fabien Potencier
c41e16293b Merge remote branch 'vicb/profiler_log'
* vicb/profiler_log:
  [WebProfilerBundle] Always use the default background color for counters
  [WebProfilerBundle] The total number of log entries is not relevant, display only the number of errors when required
  [WebProfilerBundle] Display the number of log entries together with the number of errors
2011-03-09 17:30:07 +01:00
Fabien Potencier
c15dd2a77e Merge remote branch 'vicb/profiler_color'
* vicb/profiler_color:
  [WebProfilerBundle] Always use the default background color for counters
2011-03-09 17:29:40 +01:00
Victor Berchet
6571140b17 [WebProfilerBundle] Always use the default background color for counters 2011-03-09 17:27:48 +01:00
Fabien Potencier
57245517ab Merge remote branch 'Seldaek/test_fix'
* Seldaek/test_fix:
  [Config] fix test on windows
2011-03-09 17:26:55 +01:00
Fabien Potencier
1fe25bc00a Merge remote branch 'Seldaek/file_field'
* Seldaek/file_field:
  [HttpFoundation] Fixed test breaking on windows
  [HttpFoundation] UploadedFile::getOriginalName is now overriding getName
  [HttpFoundation] Minor optimization
  [Form] Add exception for missing enctype attribute
2011-03-09 17:26:51 +01:00
Jordi Boggiano
30a8f4fd42 [HttpFoundation] Fixed test breaking on windows 2011-03-09 17:26:11 +01:00
Jordi Boggiano
991b1ed225 [HttpFoundation] UploadedFile::getOriginalName is now overriding getName 2011-03-09 17:26:08 +01:00
Fabien Potencier
17ef911f19 [Routing] removed the normalizeUrl() method and renamed url to pathinfo as this is more correct 2011-03-09 17:25:44 +01:00
Jordi Boggiano
2a5fcdfb1a [HttpFoundation] Minor optimization 2011-03-09 17:25:36 +01:00
Victor Berchet
95d3fd2fdb [WebProfilerBundle] Always use the default background color for counters 2011-03-09 17:25:28 +01:00
Jordi Boggiano
88cfc4c011 [Form] Add exception for missing enctype attribute 2011-03-09 17:23:21 +01:00
Jordi Boggiano
2ffa8521b5 [Config] fix test on windows 2011-03-09 17:22:43 +01:00
Fabien Potencier
77522f486f Merge remote branch 'stof/doctrine_charset'
* stof/doctrine_charset:
  Removed default value for the DBAL charset
2011-03-09 17:15:28 +01:00
Jordi Boggiano
4c0ea6179b [Routing] UrlMatcher shouldn't collapse multiple slashes
* fixes a problem with security (/foo/bar and /foo///bar are not the same URL as far as security is concerned)
* this can still be done in your web server configuration or by adding a core.request listener
2011-03-09 17:07:12 +01:00
Fabien Potencier
bfe09d45fa Merge remote branch 'vicb/profiler_template'
* vicb/profiler_template:
  [WebProfilerBundle] Remove dead code
  [WebProfilerBundle] Better handling of queries with an empty result
  [WebProfilerBundle] Improve the "token not found" page
  [WebProfilerBundle] Always remember the query including the token
  [WebProfilerBundle] Apply missing styles
2011-03-09 16:56:09 +01:00
Christophe Coevoet
35636a5b44 Removed default value for the DBAL charset 2011-03-09 16:44:08 +01:00
Fabien Potencier
c8054c5592 Merge remote branch 'umpirsky/serbian-validators-translation'
* umpirsky/serbian-validators-translation:
  Validators messages translated to Serbian language.
2011-03-09 16:39:21 +01:00
Fabien Potencier
6aa205c669 Merge remote branch 'kriswallsmith/framework/optimize-debug-dispatcher'
* kriswallsmith/framework/optimize-debug-dispatcher:
  [FrameworkBundle] optimized the debug event dispatcher to avoid instantiating every listener every time
2011-03-09 16:34:12 +01:00
Kris Wallsmith
d698baf06b [FrameworkBundle] optimized the debug event dispatcher to avoid instantiating every listener every time 2011-03-09 07:25:47 -08:00
Victor Berchet
643a2d5657 [WebProfilerBundle] Remove dead code 2011-03-09 16:15:31 +01:00
Fabien Potencier
86cd2fd1e8 Merge remote branch 'weaverryan/add_mongo_db_configuration'
* weaverryan/add_mongo_db_configuration:
  [DoctrineMongoDBBundle] Adding is_bundle node and rearranging a few small things to match pull request 99 for the Doctrine Configuration class
  [DoctrineMongoDBBundle] Removing left-over debug code.
  [DoctrineMongoDBBundle] Adding a "full" config example in YAML.
  [DoctrineMongoDBBundle] Changing root node name for consistency.
  [DoctrineMongoDBBundle] Removing unused variable.
  [DoctrineMongoDBBundle] Refactoring how the document_managers are loaded in the Extension and removing two unneeded DIC parameters.
  [DoctrineMongoDBBundle] Removing the "default_connection" DI parameter, which was never used as a parameter. Now cleaning up connections creation in the DI extension class.
  [DoctrineMongoDBBundle] Renaming extension method to overrideParameters(), which is truer to its name.
  [DoctrineMongoDBBundle] Removing the "doctrine.odm.mongodb.metadata_cache_driver" parameter.
  [DoctrineMongoDBBundle] Adding a test for the defaults of the Configuration class and updated a few default values.
  [DoctrineMongoDBBundle] BC-break: This removes the excess "connections" and "document_managers" wrapper in XML. This was inconsistent and made normalization unnecesarily difficult.
  [DoctrineMongoDBBundle] Initial use of the new Configuration class for DoctrineMongoDBExtension.
  [DoctrineMongoDBExtension] Adding a large PHPDoc on the Extension::load() method discussing the available options.
  [DoctrineMongoDBBundle] Fixing a test that was passing in the configs array without the wrapping array.
  [DoctrineMongoDBBundle] Rewriting several getParameter() calls to use the parameter %wildcard% syntax instead. This is best-practice.
2011-03-09 15:49:05 +01:00
Kris Wallsmith
8c45a21637 [DependencyInjection] fixed false positive when detecting circular references if a service throws an exception during creation 2011-03-09 06:38:02 -08:00
Christophe Coevoet
e522424967 Changed default logging param to kernel.debug and fixed container unit test 2011-03-09 15:37:48 +01:00
Christophe Coevoet
f37a2a9513 Refactored the config to use the right parameters instead of using the default values 2011-03-09 15:37:42 +01:00
Christophe Coevoet
527749ca3f Made mandatory to have at least one entity manager when using the ORM and one connection when using DBAL 2011-03-09 15:37:36 +01:00
Christophe Coevoet
a9a300ed6f Updated the tests 2011-03-09 15:36:12 +01:00
Christophe Coevoet
0d0f053682 Updated the XSD schema 2011-03-09 15:36:02 +01:00
Christophe Coevoet
477109f1e8 Completed the Configuration class and refactored the extension to use it 2011-03-09 15:35:58 +01:00
Christophe Coevoet
652bca131d Added a Configuration class for DoctrineBundle 2011-03-09 15:27:55 +01:00
Victor Berchet
f49a30c366 [WebProfilerBundle] Better handling of queries with an empty result 2011-03-09 15:27:28 +01:00
Victor Berchet
ed09566a47 [WebProfilerBundle] Improve the "token not found" page 2011-03-09 15:27:25 +01:00
Victor Berchet
c9ab59399c [WebProfilerBundle] Always remember the query including the token 2011-03-09 15:27:09 +01:00
umpirsky
37cb781008 Validators messages translated to Serbian language. 2011-03-09 15:14:01 +01:00
Victor Berchet
45ff4948b3 [WebProfilerBundle] Apply missing styles 2011-03-09 14:06:57 +01:00
Ryan Weaver
4c947c251b [DoctrineMongoDBBundle] Adding is_bundle node and rearranging a few small things to match pull request 99 for the Doctrine Configuration class 2011-03-09 06:55:01 -06:00
Ryan Weaver
62cc35228c [DoctrineMongoDBBundle] Removing left-over debug code. 2011-03-09 06:46:18 -06:00
Ryan Weaver
0fe6f13be8 [DoctrineMongoDBBundle] Adding a "full" config example in YAML. 2011-03-09 06:46:18 -06:00
Ryan Weaver
68d478fe8e [DoctrineMongoDBBundle] Changing root node name for consistency. 2011-03-09 06:46:18 -06:00
Ryan Weaver
7c13e681c3 [DoctrineMongoDBBundle] Removing unused variable. 2011-03-09 06:46:18 -06:00
Ryan Weaver
1e492e231c [DoctrineMongoDBBundle] Refactoring how the document_managers are loaded in the Extension and removing two unneeded DIC parameters. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9ca8f171f7 [DoctrineMongoDBBundle] Removing the "default_connection" DI parameter, which was never used as a parameter. Now cleaning up connections creation in the DI extension class. 2011-03-09 06:46:18 -06:00
Ryan Weaver
9179168e0d [DoctrineMongoDBBundle] Renaming extension method to overrideParameters(), which is truer to its name.
Also mae this function unset the options after their used. This prevents those values from being available later inside the options array and as parameters.
2011-03-09 06:46:18 -06:00
Ryan Weaver
bdd23369e2 [DoctrineMongoDBBundle] Removing the "doctrine.odm.mongodb.metadata_cache_driver" parameter.
This information was set entirely in the DI extension options and then added as a parameter only to be later consumed by the DI extension class.

In other words, this should never have been a parameter, or at least it's never been used and treated like a parameter.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2a78dc4 [DoctrineMongoDBBundle] Adding a test for the defaults of the Configuration class and updated a few default values. 2011-03-09 06:46:17 -06:00
Ryan Weaver
42a0b22f0e [DoctrineMongoDBBundle] BC-break: This removes the excess "connections" and "document_managers" wrapper in XML. This was inconsistent and made normalization unnecesarily difficult.
Previously:

    <connections>
        <connection ...>
            <!-- .. -->
        </connection>
        <connection ...>
            <!-- .. -->
        </connection>
    </connections>

Now:

    <connection ...>
        <!-- .. -->
    </connection>
    <connection ...>
        <!-- .. -->
    </connection>

I believe this is more semantically correct, and it removes code that had to worry about this extra format and normalize it.
2011-03-09 06:46:17 -06:00
Ryan Weaver
a13500459f [DoctrineMongoDBBundle] Initial use of the new Configuration class for DoctrineMongoDBExtension. 2011-03-09 06:46:17 -06:00