Fabien Potencier
ad36ce7b38
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[Security] fixed some tests
[SecurityBundle] removed the option to declare access_control rules based on request attributes
[Security] removed core.security event
[Security] refactored remember-me code
2011-03-11 13:08:37 +01:00
Fabien Potencier
b940cc6f40
moved most protected to private in the Console component
2011-03-11 12:53:42 +01:00
Johannes Schmitt
97125269d2
[Security] fixed some tests
2011-03-11 12:50:52 +01:00
Fabien Potencier
edb620122a
fixed some emails
2011-03-11 11:07:11 +01:00
Victor Berchet
9e9a9a80eb
[FrameworkBunlde] CodeHelper tweaks
2011-03-11 09:47:59 +01:00
Kris Wallsmith
ff45c62390
[DoctrineMongoDBBundle] fixed formatting of numeric query values
2011-03-10 20:57:16 -08:00
Johannes Schmitt
c73d1c3406
[SecurityBundle] removed the option to declare access_control rules based on request attributes
2011-03-11 01:47:23 +01:00
Johannes Schmitt
d8022e34eb
[Security] removed core.security event
2011-03-11 01:43:22 +01:00
Johannes M. Schmitt
3d97638813
[Security] refactored remember-me code
2011-03-11 01:19:55 +01:00
Fabien Potencier
3667a32387
Merge remote branch 'kriswallsmith/mongodb/pretty-queries'
...
* kriswallsmith/mongodb/pretty-queries:
[DoctrineMongoDBBundle] fixed pretty queries
2011-03-10 23:56:43 +01:00
Michele Orselli
47a8fa1bad
added italian translation for validators
2011-03-10 23:48:19 +01:00
Kris Wallsmith
51106a8540
[DoctrineMongoDBBundle] fixed pretty queries
2011-03-10 12:53:35 -08:00
Fabien Potencier
363c3f38a1
Merge remote branch 'stof/doctrine_simplify'
...
* stof/doctrine_simplify:
Removed the short syntax in DoctrineBundle
[DoctrineAbstractBundle] Removed obsolete code as the normalization is now done by the Configuration classes
[DoctrineMongoDBBundle] Removed the short syntax for the configuration
2011-03-10 21:35:33 +01:00
Fabien Potencier
129d7c7c5f
Merge remote branch 'schmittjoh/visibilityChanges'
...
* schmittjoh/visibilityChanges:
[Security] renamed Twig function has_role to is_granted
[Security] some more visibility changes
[Security] added some more tests
[Security] fixed some left-overs
[Security] various changes, see below
[Security] Bugfix - Ensure that passwords is of string type. Function BasePasswordEncoder::comparePasswords haven't been working properly for numeric (plaintype) passwords.
2011-03-10 21:19:51 +01:00
Fabien Potencier
12616675a5
Merge remote branch 'kriswallsmith/mongodb/pretty-queries'
...
* kriswallsmith/mongodb/pretty-queries:
[DoctrineMongoDBBundle] made queries in profiler look like mongodb js shell code
[DoctrineMongoDBBundle] fixed xml formatting
2011-03-10 20:44:21 +01:00
Christophe Coevoet
4dd45d3b4a
Removed the short syntax in DoctrineBundle
2011-03-10 19:39:51 +01:00
Kris Wallsmith
ec46c6e6c5
[DoctrineMongoDBBundle] made queries in profiler look like mongodb js shell code
2011-03-10 10:23:38 -08:00
ornicar
ff4bf78047
[FrameworkBundle] Fix XML tags in NL translation
2011-03-10 10:22:08 -08:00
Kris Wallsmith
d59676fbb7
[DoctrineMongoDBBundle] fixed xml formatting
2011-03-10 06:43:30 -08:00
Fabien Potencier
0fd52a45f7
Merge remote branch 'Crozin/polish-translation'
...
* Crozin/polish-translation:
Improved Polish validators translations.
Whitespace fixed.
2011-03-10 15:32:55 +01:00
Fabien Potencier
1bcfb53678
Merge remote branch 'umpirsky/serbian-validators-translation'
...
* umpirsky/serbian-validators-translation:
Some minor fixes in Serbian translation.
2011-03-10 15:31:49 +01:00
Fabien Potencier
e4967fef78
Merge remote branch 'mvrhov/validatorsTransSloFixes'
...
* mvrhov/validatorsTransSloFixes:
Proofreaded and fixed encoding problems in Slovenian translation
2011-03-10 15:31:24 +01:00
arjenjb
3b463061ad
[FrameworkBundle] Added Dutch validator translations
2011-03-10 15:30:51 +01:00
Miha Vrhovnik
208cc40a3f
Proofreaded and fixed encoding problems in Slovenian translation
2011-03-10 12:49:00 +01:00
Johannes M. Schmitt
76e33022cf
[Security] renamed Twig function has_role to is_granted
2011-03-10 12:21:35 +01:00
Christophe Coevoet
25521e7e86
[DoctrineAbstractBundle] Removed obsolete code as the normalization is now done by the Configuration classes
2011-03-10 10:53:50 +01:00
Christophe Coevoet
e3e60f1a68
[DoctrineMongoDBBundle] Removed the short syntax for the configuration
2011-03-10 10:35:56 +01:00
Johannes M. Schmitt
3e5fe74cfb
Merge branch 'master' of git://github.com/petajaros/symfony into visibilityChanges
2011-03-10 10:25:48 +01:00
Johannes M. Schmitt
13665fc113
[Security] added some more tests
2011-03-10 10:25:33 +01:00
Johannes Schmitt
1d5538fc60
[Security] various changes, see below
...
- visibility changes from protected to private
- AccountInterface -> UserInterface
- SecurityContext::vote() -> SecurityContext::isGranted()
2011-03-10 10:25:32 +01:00
umpirsky
c3b7f715c9
Some minor fixes in Serbian translation.
2011-03-10 07:59:47 +01:00
Petr Jaroš
82a44ec9d4
[Security] Bugfix - Ensure that passwords is of string type. Function BasePasswordEncoder::comparePasswords haven't been working properly for numeric (plaintype) passwords.
2011-03-09 15:54:06 -08:00
Krzysiek Łabuś
c8ab0dd419
Improved Polish validators translations.
2011-03-10 00:19:56 +01:00
Krzysiek Łabuś
9b22dafc6d
Whitespace fixed.
2011-03-10 00:07:18 +01:00
Fabien Potencier
e5b93e683a
Merge remote branch 'umpirski/russian-validator-translation'
...
* umpirski/russian-validator-translation:
Applied fixes suggested by @yethee.
2011-03-09 23:53:23 +01:00
umpirski
623d0d20b5
Applied fixes suggested by @yethee.
2011-03-09 23:46:11 +01:00
Fabien Potencier
54608960c8
Merge remote branch 'umpirski/russian-validator-translation'
...
* umpirski/russian-validator-translation:
Russian validators translation.
2011-03-09 22:10:31 +01:00
umpirski
be63154655
Russian validators translation.
2011-03-09 22:06:06 +01:00
Fabien Potencier
18e56409c6
Merge remote branch 'azogheb/webProfilerOptimization'
...
* azogheb/webProfilerOptimization:
[WebProfilerBundle] Optimization to listener
2011-03-09 21:54:06 +01:00
Fabien Potencier
fc19afe087
Merge remote branch 'stof/doctrine_tests'
...
* stof/doctrine_tests:
Fixed test
2011-03-09 17:46:41 +01:00
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
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
Victor Berchet
6571140b17
[WebProfilerBundle] Always use the default background color for counters
2011-03-09 17:27:48 +01:00
Victor Berchet
95d3fd2fdb
[WebProfilerBundle] Always use the default background color for counters
2011-03-09 17:25:28 +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
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
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
Gyula Sallai
2840f03409
[DoctrineBundle][DoctrineMongoDBBUndle]Fixed generate:repositories throws exception using the general bundle naming conventions (VendorBundleName)
2011-03-09 14:54:10 +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
Ryan Weaver
94da3127b9
[DoctrineMongoDBExtension] Adding a large PHPDoc on the Extension::load() method discussing the available options.
2011-03-09 06:46:17 -06:00
Ryan Weaver
ac88b8a597
[DoctrineMongoDBBundle] Fixing a test that was passing in the configs array without the wrapping array.
...
Also rewrote this so that it's more clear.
2011-03-09 06:46:17 -06:00
Ryan Weaver
95a2f17e96
[DoctrineMongoDBBundle] Rewriting several getParameter() calls to use the parameter %wildcard% syntax instead. This is best-practice.
2011-03-09 06:46:17 -06:00
Fabien Potencier
689f0e1d58
Merge remote branch 'naderman/watch-debug'
...
* naderman/watch-debug:
[AsseticBundle] Throw exception if --watch is used without --debug.
2011-03-09 12:51:38 +01:00
Miha Vrhovnik
87cc306d98
Draft Slovenian translation
2011-03-09 10:28:25 +01:00
Nils Adermann
94aacd0901
[AsseticBundle] Throw exception if --watch is used without --debug.
2011-03-09 02:30:19 +01:00
Kris Wallsmith
7d9ddb546e
[TwigBundle] updated to support asset packages
2011-03-08 09:24:43 -08:00
Kris Wallsmith
6904e0e1e2
[FrameworkBundle] implemented asset packages
2011-03-08 09:22:25 -08:00
Victor Berchet
62341e5ad6
[WebProfilerBundle] The total number of log entries is not relevant, display only the number of errors when required
2011-03-08 15:55:10 +01:00
Fabien Potencier
4f0e0a6193
fixed some emails
2011-03-08 15:43:54 +01:00
Fabien Potencier
5c82db1d60
Merge remote branch 'stof/assets_url_fix'
...
* stof/assets_url_fix:
[FrameworkBundle] fixed tests to conform to new xsd
Fixed assets_base_urls configuration
2011-03-08 15:38:43 +01:00
Fabien Potencier
33b9cacc3f
Merge remote branch 'vicb/profiler_tweaks'
...
* vicb/profiler_tweaks:
Tweak inline js
[WebProfilerBundle] Tweak some css
2011-03-08 14:43:57 +01:00
Lukas Kahwe Smith
1f13356cd7
removed superfluous use statement
2011-03-08 13:18:46 +01:00
Victor Berchet
ba9e5b58ff
Tweak inline js
2011-03-08 10:23:31 +01:00
Victor Berchet
6df06dffaa
[WebProfilerBundle] Tweak some css
2011-03-08 10:05:00 +01:00
Fabien Potencier
73a78d0633
[FrameworkBundle] changed search input to use search as a type
2011-03-08 09:12:12 +01:00
Fabien Potencier
91d7caca6b
merged
2011-03-08 09:08:09 +01:00
Fabien Potencier
3570f8baa1
Merge remote branch 'Seldaek/session_helper'
...
* Seldaek/session_helper:
[FrameworkBundle] Added getFlashMessages() to the SessionHelper
2011-03-08 09:04:25 +01:00
Victor Berchet
d171eaf801
[WebProfilerBundle] Display the number of log entries together with the number of errors
2011-03-08 09:03:41 +01:00
Ryan Weaver
69ad4e4f77
[FrameworkBundle] Adding an exception to help with bad configuration and filling in some missing tests
2011-03-07 21:10:01 -06:00
Fabien Potencier
63b8b08b2a
Merge remote branch 'Seldaek/wdt'
...
* Seldaek/wdt:
[FrameworkBundle] Highlight error logs in red and not green
[FrameworkBundle] Fix alignment of <li> with the selected class and small opera glitch
[FrameworkBundle] Don't hide logs by default in exception pages
2011-03-07 20:40:56 +01:00
Fabien Potencier
b5085d4823
Merge remote branch 'Exeu/webprofiler-fixes'
...
* Exeu/webprofiler-fixes:
Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle
2011-03-07 20:37:56 +01:00
Bernhard Schussek
2cf3779a2c
Renamed EventArgs classes and adapted remaining code to EventManager
...
The only missing part is ContainerAwareEventManager::addEventSubscriberService(),
because I'm not sure how to find out the class name of a service in the DIC.
Also, inline documentation of this code needs to be finished once it is accepted.
2011-03-07 19:16:05 +01:00
Bernhard Schussek
a54d3e6fb0
Merge remote branch 'symfony/master' into event-manager
2011-03-07 19:15:57 +01:00
Victor Berchet
4f15840e4b
[webProfilerBundle] Update the 'token not found' page with the new design
2011-03-07 18:46:28 +01:00
Jordi Boggiano
75ba47751f
[FrameworkBundle] Added getFlashMessages() to the SessionHelper
2011-03-07 18:10:43 +01:00
Exeu
58123c620f
Fixed the Profiler-Layout of MongoDBBundle to work without actuvating the DoctrineBundle
2011-03-07 18:00:24 +01:00
Jordi Boggiano
c16218e1b0
[FrameworkBundle] Highlight error logs in red and not green
2011-03-07 17:39:59 +01:00
Jordi Boggiano
48e211c111
[FrameworkBundle] Fix alignment of <li> with the selected class and small opera glitch
2011-03-07 17:35:17 +01:00
Jordi Boggiano
bf18183adf
[FrameworkBundle] Don't hide logs by default in exception pages
2011-03-07 17:00:57 +01:00
Bulat Shakirzyanov
11e568ee0e
[FrameworkBundle] fixed tests to conform to new xsd
2011-03-07 10:49:50 -05:00
Jordi Boggiano
b79fb28f12
[WebProfilerBundle] Display hand cursor on the close button
2011-03-07 15:03:45 +01:00
Fabien Potencier
544186dd59
Merge remote branch 'francisbesset/framework_exception'
...
* francisbesset/framework_exception:
[FrameworkBundle] Fixed typo in traces.html.twig
[FrameworkBundle] Fixed typo in trace.html.twig
2011-03-07 08:31:20 +01:00
Francis Besset
0f449dee80
[FrameworkBundle] Fixed typo in traces.html.twig
2011-03-07 00:08:39 +01:00
Francis Besset
1615f66909
[FrameworkBundle] Fixed typo in trace.html.twig
2011-03-07 00:04:38 +01:00
Francis Besset
a7e1058898
[WebProfilerBundle] Added security icon for the Web Profiler menu
2011-03-06 23:28:45 +01:00
Douglas Greenshields
e4f9f4ddd7
[WebProfilerBundle] changed search input on web profiler to use HTML5 search input type
2011-03-06 21:06:35 +00:00
Fabien Potencier
ecc0a83912
[WebProfilerBundle] updatd favicon
2011-03-06 19:05:01 +01:00
Francis Besset
f3eca3dab7
[SecurityBundle] Resize security icon for the web debug toolbar
2011-03-06 16:17:54 +01:00
Francis Besset
b03463dd55
[WebProfilerBundle] Deleted one pixel on the left for logs icon
2011-03-06 15:52:10 +01:00
Francis Besset
354996e344
[SecurityBundle] Fixed typo
2011-03-06 15:46:21 +01:00
Francis Besset
4c0f7f26e4
[WebProfiler] Fixed integration of web debug toolbar
2011-03-06 15:30:02 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Fabien Potencier
aca2c161c8
[WebProfilerBundle] made various changes to the profiler
2011-03-06 11:58:49 +01:00
Fabien Potencier
be8618ec56
[FrameworkBundle] made various small fixes to the Exception layout
2011-03-06 11:50:22 +01:00
alexandresalome
d7ce23fe53
Change the count span font size
2011-03-06 11:44:58 +01:00
alexandresalome
fa6a9c1db9
Make the width adapt the page
2011-03-06 11:44:58 +01:00
alexandresalome
0ce6630ba3
Change the doctrine image resource
2011-03-06 11:44:58 +01:00
alexandresalome
659bfc5615
Remove png_fix class
2011-03-06 11:44:58 +01:00
alexandresalome
0b41116a7b
Change profiler menu entry images to be in template
2011-03-06 11:44:58 +01:00
alexandresalome
56dee48342
Change CSS URL to be relative to CSS folder
2011-03-06 11:44:58 +01:00
hhamon
91caf4b6e3
[WebProfilerBundle] customized search and admin tools in the profiler left sidebar
2011-03-06 11:44:57 +01:00
hhamon
124461ccee
[WebProfilerBundle] fixed exception stack trace integration
2011-03-06 11:44:57 +01:00
hhamon
f0e1df2688
[FrameworkBundle] made the exception stack trace integratable in the web profiler
2011-03-06 11:44:57 +01:00
hhamon
f4f78d47c8
[WebProfilerBundle] simplified theme
2011-03-06 11:44:57 +01:00
hhamon
54ac63e3d5
[DoctrineMongoDBBundle] simplified database web profiler menu
2011-03-06 11:44:57 +01:00
hhamon
4bf66a363f
[DoctrineBundle] simplified database web profiler menu
2011-03-06 11:44:57 +01:00
hhamon
8367694371
[WebProfilerBundle] simplified new web profiler layout
2011-03-06 11:44:57 +01:00
hhamon
ce7fddd4ea
[SecurityBundle] updated profiler panel for the latest profiler theme
2011-03-06 11:44:57 +01:00
hhamon
bfb6e03290
[WebProfilerBundle] added missing security.png pictogram
2011-03-06 11:44:57 +01:00
hhamon
e51c46b21a
[DoctrineMongoDBBundle] implemented new web profiler layout
2011-03-06 11:44:56 +01:00
hhamon
d37f52c743
[WebProfilerBundle] implemented new web profiler layout
2011-03-06 11:44:56 +01:00
hhamon
fcc66ad540
[DoctrineMongoDBBundle] fixed authentication panel for the new web debug toolbar layout
2011-03-06 11:44:56 +01:00
hhamon
1134fd17ab
[SecurityBundle] fixed authentication panel for the new web debug toolbar layout
2011-03-06 11:44:56 +01:00
hhamon
a8e882ac51
[DoctrineBundle] fix database tab for the new web debug toolbar layout
2011-03-06 11:44:56 +01:00
hhamon
2d68ca4d00
[WebProfilerBundle] changed web debug toolbar css layout
2011-03-06 11:44:56 +01:00
hhamon
f75ec8d4ad
[FrameworkBundle] implemented new exception stack trace layout
2011-03-06 11:44:56 +01:00
Fabien Potencier
c2e0537c31
Merge remote branch 'aurelijus/routehelper_cachedrouter_fix'
...
* aurelijus/routehelper_cachedrouter_fix:
Add cache warmed routers support to RouteHelper
2011-03-06 10:50:11 +01:00
Fabien Potencier
ce60ebbbf5
Merge remote branch 'yethee/fix-target-url'
...
* yethee/fix-target-url:
[AsseticBundle] Fixed url for assets in the debugging mode.
2011-03-06 10:34:28 +01:00
Fabien Potencier
1e996901f5
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[Security] forward the entire access denied exception instead of only the message
[Security] changed defaults for MessageDigestEncoder
TICKET #9557 : session isn't required when using http basic authentification mecanism for example
[Security] improved entropy to make collision attacks harder
[Security] added the 'key' attribute of RememberMeToken to serialized string to be stored in session
Fix the Acl schema generator script.
2011-03-06 10:33:18 +01:00
Deni
4c54218a4b
[AsseticBundle] Fixed url for assets in the debugging mode.
2011-03-06 00:54:21 +03:00
Bernhard Schussek
f1393d7b1f
Replaced EventDispatcher by Doctrine's EventManager implementation
...
Doctrine's EventManager implementation has several advantages over the
EventDispatcher implementation of Symfony2. Therefore I suggest that we
use their implementation.
Advantages:
* Event Listeners are objects, not callbacks. These objects have handler
methods that have the same name as the event. This helps a lot when
reading the code and makes the code for adding an event listener shorter.
* You can create Event Subscribers, which are event listeners with an
additional getSubscribedEvents() method. The benefit here is that the
code that registers the subscriber doesn't need to know about its
implementation.
* All events are defined in static Events classes, so users of IDEs benefit
of code completion
* The communication between the dispatching class of an event and all
listeners is done through a subclass of EventArgs. This subclass can be
tailored to the type of event. A constructor, setters and getters can be
implemented that verify the validity of the data set into the object.
See examples below.
* Because each event type corresponds to an EventArgs implementation,
developers of event listeners can look up the available EventArgs methods
and benefit of code completion.
* EventArgs::stopPropagation() is more flexible and (IMO) clearer to use
than notifyUntil(). Also, it is a concept that is also used in other
event implementations
Before:
class EventListener
{
public function handle(EventInterface $event, $data) { ... }
}
$dispatcher->connect('core.request', array($listener, 'handle'));
$dispatcher->notify('core.request', new Event(...));
After (with listeners):
final class Events
{
const onCoreRequest = 'onCoreRequest';
}
class EventListener
{
public function onCoreRequest(RequestEventArgs $eventArgs) { ... }
}
$evm->addEventListener(Events::onCoreRequest, $listener);
$evm->dispatchEvent(Events::onCoreRequest, new RequestEventArgs(...));
After (with subscribers):
class EventSubscriber
{
public function onCoreRequest(RequestEventArgs $eventArgs) { ... }
public function getSubscribedEvents()
{
return Events::onCoreRequest;
}
}
$evm->addEventSubscriber($subscriber);
$evm->dispatchEvent(Events::onCoreRequest, new RequestEventArgs(...));
2011-03-05 15:30:34 +01:00
Kris Wallsmith
8d4dae9f2a
[AsseticBundle] finished and enabled php templating support
2011-03-05 14:11:29 +01:00
Johannes Schmitt
f82b89cdc5
[Security] changed defaults for MessageDigestEncoder
...
- encode_as_base64 set to true
- iterations increased to 5000 from 1
2011-03-05 13:45:35 +01:00
Fabien Potencier
727326b7b8
Merge remote branch 'kriswallsmith/assetic/factory-workers'
...
* kriswallsmith/assetic/factory-workers:
[AsseticBundle] added compiler pass for factory workers
2011-03-05 12:14:24 +01:00
Alexander Zogheb
80b282b115
[WebProfilerBundle] Optimization to listener
2011-03-05 00:57:48 -08:00
Christophe Coevoet
db168cc40d
Fixed assets_base_urls configuration
2011-03-02 20:04:12 +01:00
aurelijus
218a9ae51e
Add cache warmed routers support to RouteHelper
2011-03-02 18:58:43 +02:00
Kris Wallsmith
f7b7288892
[AsseticBundle] added compiler pass for factory workers
2011-03-02 08:11:11 -05:00
Kris Wallsmith
b6cac77930
[AsseticBundle] updated for assetic changes
2011-03-01 15:51:39 -05:00
Michel Weimerskirch
dfc302722e
Documentation corrected in EnsureProductionSettingsDoctrineCommand.php
2011-03-01 20:41:34 +01:00
Fabien Potencier
501bf2fcb6
Merge remote branch 'kriswallsmith/zend/compiled-classes'
...
* kriswallsmith/zend/compiled-classes:
[ZendBundle] added classes to compile
2011-03-01 20:39:23 +01:00
Fabien Potencier
d7fa78d790
Merge remote branch 'pborreli/daily-typos'
...
* pborreli/daily-typos:
[Tests] Fixed Typo
[Validator] Fixed Typo
[Security] Fixed Typo
[HttpKernel] Fixed Typo
[Form] Fixed Typo
[DependencyInjection] Fixed Typo
[CssSelector] Fixed Typo
[Doctrine*Bundle] Fixed Typo
[TwigBundle] Fixed Typo
[HttpFoundation] Removed remove recurring test
2011-03-01 20:37:54 +01:00
Fabien Potencier
e01c8eecd9
Merge remote branch 'kriswallsmith/assetic/test-coverage'
...
* kriswallsmith/assetic/test-coverage:
[AsseticBundle] progress migrating functional tests to unit tests
[AsseticBundle] changed type to use interface
[AsseticBundle] added a functional test group
2011-03-01 20:36:56 +01:00
Kris Wallsmith
9283877828
[AsseticBundle] progress migrating functional tests to unit tests
2011-03-01 13:59:50 -05:00
Pascal Borreli
64b50e1c46
[Doctrine*Bundle] Fixed Typo
2011-03-01 18:58:07 +01:00
Pascal Borreli
19f931a231
[TwigBundle] Fixed Typo
2011-03-01 18:58:07 +01:00
Kris Wallsmith
d24c52ad38
[AsseticBundle] changed type to use interface
2011-03-01 11:00:19 -05:00
Kris Wallsmith
66c921f093
[AsseticBundle] added a functional test group
2011-03-01 10:49:14 -05:00
Kris Wallsmith
26e7470eb3
[ZendBundle] added classes to compile
2011-02-28 19:07:58 -05:00
Michel Weimerskirch
1aa6257f00
Documentation corrected in EnsureProductionSettingsDoctrineCommand.php
2011-02-28 15:41:09 -08:00
Kris Wallsmith
35376592c4
[AsseticBundle] fixed fluent formatting
2011-02-28 14:03:42 -05:00
Kris Wallsmith
d57c6657bd
[AsseticBundle] added config option to limit which bundles formulae are loaded from
2011-02-28 11:48:25 -05:00
Fabien Potencier
57d0d3fe2f
Merge remote branch 'kriswallsmith/assetic/new-resource-interface'
...
* kriswallsmith/assetic/new-resource-interface:
[AsseticBundle] updated resource for new interface
2011-02-28 17:18:19 +01:00
Kris Wallsmith
8ebec86cab
[AsseticBundle] updated resource for new interface
2011-02-28 10:36:51 -05:00
Kris Wallsmith
d6c08f6685
[AsseticBundle] missing argument
2011-02-28 08:14:39 -05:00
Kris Wallsmith
5683c6e6e1
[AsseticBundle] separated read and write paths to facilitate writing assets to a CDN via a custom stream wrapper
2011-02-28 08:14:28 -05:00
Jordi Boggiano
9a35851c6b
Rename .symfony to .gitkeep which is more standard git practice
2011-02-27 23:29:14 +01:00
Fabien Potencier
642f8ff71f
Merge remote branch 'kriswallsmith/assetic/watch'
...
* kriswallsmith/assetic/watch:
[AsseticBundle] added error handling to --watch
[AsseticBundle] added a simple cache to --watch so it picks up where it left off last time
[AsseticBundle] added a --watch option to the assetic:dump command
2011-02-27 22:25:45 +01:00
Fabien Potencier
cdf6851eb3
fixed merge
2011-02-27 21:16:13 +01:00
Christophe Coevoet
92bfbf575c
Fixed CS
2011-02-27 20:56:29 +01:00
Pascal Borreli
2a6c5018ae
[FrameworkBundle] Removed useless else
2011-02-27 18:36:36 +01:00
Pascal Borreli
1e7a2e13cd
[Doctrine*Bundle] Removed old use namespace (Doctrine\Common\Cli)
2011-02-27 18:36:36 +01:00
Pascal Borreli
f7716645a5
[FrameworkBundle] Removed useless else
2011-02-27 18:36:36 +01:00
Pascal Borreli
664c00b62e
[DoctrineBundle] Removed useless sprintf
2011-02-27 18:36:36 +01:00
Fabien Potencier
a287a619ad
Revert "[ZendBundle] added classes to compile"
...
This reverts commit add21ec4c0
.
2011-02-27 08:09:25 +01:00
Fabien Potencier
de33e14699
Merge remote branch 'kriswallsmith/zend/compiled-classes'
...
* kriswallsmith/zend/compiled-classes:
[ZendBundle] added classes to compile
2011-02-26 20:46:27 +01:00
Pascal Borreli
0c9951f676
[TwigBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
added08c92
[SecurityBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
1dca1ea002
[FrameworkBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
ecd3845b80
[DoctrineMongoDBBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
68140021fc
[DoctrineBundle] Fixed typo
2011-02-26 20:02:05 +01:00
Pascal Borreli
b9c2579f2b
[DoctrineAbstractBundle] Fixed typo
2011-02-26 20:02:05 +01:00
noel guilbert
a8eff2b154
Improved profiler to store and retrieve sub requests data
2011-02-26 17:24:02 +01:00
Kris Wallsmith
3ce1d82589
[AsseticBundle] added error handling to --watch
2011-02-25 10:27:51 -08:00
Kris Wallsmith
4816b9e711
[AsseticBundle] added a simple cache to --watch so it picks up where it left off last time
2011-02-25 10:01:01 -08:00
Kris Wallsmith
80256655e2
[AsseticBundle] added a --watch option to the assetic:dump command
2011-02-25 09:52:37 -08:00
Fabien Potencier
1ee6ad4dad
Revert "A command to generate a migration from the sql queries executed when you load some data fixtures."
...
This reverts commit 0f353c1411
.
2011-02-25 17:11:58 +01:00
Fabien Potencier
a0d4250cde
Revert "initial steps to handling objects"
...
This reverts commit 988b8f3736
.
2011-02-25 17:11:56 +01:00
Fabien Potencier
11d8ce3976
Revert "cosmetic tweak"
...
This reverts commit e356c2a902
.
2011-02-25 17:11:51 +01:00
Kris Wallsmith
8fedd8d067
[AsseticBundle] renamed some test files to respect the exclude of Resources in phpunit.xml.dist
2011-02-25 06:50:57 -08:00
Fabien Potencier
ad80b09a4f
Merge remote branch 'kriswallsmith/assetic/etags'
...
* kriswallsmith/assetic/etags:
[AsseticBundle] added etags to controller so changes to filters etc trigger invalidation
2011-02-25 07:19:45 +01:00
Fabien Potencier
ee4db2a5d8
Merge remote branch 'kriswallsmith/assetic/filter-visibility'
...
* kriswallsmith/assetic/filter-visibility:
[AsseticBundle] fixed visibility of YUI filters
2011-02-25 07:19:38 +01:00
Kris Wallsmith
968c870c94
[AsseticBundle] added etags to controller so changes to filters etc trigger invalidation
2011-02-24 21:48:51 -08:00
Kris Wallsmith
d4db5319c8
[AsseticBundle] added resources to the routing loader
...
now the router will be aware of any changes assetic is aware of
2011-02-24 21:05:07 -08:00
Kris Wallsmith
05055d443c
[AsseticBundle] fixed formula caching system
2011-02-24 21:05:06 -08:00
Kris Wallsmith
45976aa9a0
[AsseticBundle] fixed visibility of YUI filters
2011-02-24 21:03:09 -08:00
Kris Wallsmith
add21ec4c0
[ZendBundle] added classes to compile
2011-02-24 11:27:16 -08:00
Fabien Potencier
5b92dcf9dd
Merge remote branch 'stof/zend_config'
...
* stof/zend_config:
Changed default priority to INFO
[ZendBundle] Added a Configuration class
2011-02-24 17:55:15 +01:00
Fabien Potencier
396fcf15a8
Merge remote branch 'kriswallsmith/assetic/rm-phpcs'
...
* kriswallsmith/assetic/rm-phpcs:
[AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-24 17:51:30 +01:00
Christophe Coevoet
0488ebc2e8
Changed default priority to INFO
2011-02-24 17:48:41 +01:00
Christophe Coevoet
192583a225
[ZendBundle] Added a Configuration class
2011-02-24 17:38:40 +01:00
Fabien Potencier
691c9f5950
Merge remote branch 'marphi/fix_assetic'
...
* marphi/fix_assetic:
[AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-24 15:52:13 +01:00
Fabien Potencier
2ad21ed41f
Merge remote branch 'lsmith77/fixture_2_migration'
...
* lsmith77/fixture_2_migration:
cosmetic tweak
initial steps to handling objects
A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-24 15:50:59 +01:00
Fabien Potencier
71a06f0174
Merge remote branch 'kriswallsmith/assetic/stylus-filter'
...
* kriswallsmith/assetic/stylus-filter:
[AsseticBundle] added stylus filter
2011-02-24 15:49:23 +01:00
Michel Weimerskirch
6998e593e0
Added line number to TransChoiceTokenParser exception message (TwigBundle).
2011-02-24 06:47:45 -08:00
Kris Wallsmith
2b2a7f0a1d
added nowrap style to WDT toolbar so image and text stays together when the toolbar wraps
2011-02-24 06:14:08 -08:00
Kris Wallsmith
9f2d59c489
[AsseticBundle] added stylus filter
2011-02-24 05:48:15 -08:00
Victor Berchet
38da529997
[Kernel] Get rid of Kernel::registerRootDir()
2011-02-24 14:02:28 +01:00
Victor Berchet
788f63d460
[FrameworkBundle] Simplify the over-complicated template cache warmer
2011-02-24 13:02:35 +01:00
Lukas Kahwe Smith
e356c2a902
cosmetic tweak
2011-02-24 11:57:32 +01:00
Lukas Kahwe Smith
988b8f3736
initial steps to handling objects
2011-02-24 10:44:47 +01:00
Fabien Potencier
79bc233344
[TwigBundle] fixed typo
2011-02-24 09:46:59 +01:00
Marcin Sikon
491ee20392
[AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-23 11:46:32 +01:00
Kris Wallsmith
3fb935de35
[AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-23 00:21:17 -08:00
Fabien Potencier
d2840aaad3
[AsseticBundle] fixed unit tests
2011-02-23 07:19:00 +01:00
Kris Wallsmith
b622e6a9e6
[AsseticBundle] added skip if PHP_CodeSniffer is not installed ( closes #14 )
2011-02-22 21:16:48 -08:00
Jonathan H. Wage
0f353c1411
A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-22 20:54:40 -06:00
Kris Wallsmith
d7ea92a0f6
[AsseticBundle] updated for latest assetic development
2011-02-22 16:58:10 -08:00
Marcin Sikon
efb561767b
[AsseticBundle] fix AsseticController - removed response service dependency
2011-02-22 16:12:12 +01:00
Fabien Potencier
c63e1ace81
Merge remote branch 'kriswallsmith/assetic-renames'
...
* kriswallsmith/assetic-renames:
[AsseticBundle] renamed some classes
2011-02-22 14:14:09 +01:00
Fabien Potencier
cef86a3771
[HttpKernel] added a way to change the ESI cache strategy
2011-02-22 13:50:26 +01:00
Kris Wallsmith
bd32e3eea8
[AsseticBundle] renamed some classes
2011-02-21 22:18:50 -08:00
Fabien Potencier
72cdb480ab
[FrameworkBundle] made CachedTemplateLocator fallback to the regular TemplateLocator if the template is not in the cache (to be able to use an absolute template)
2011-02-21 19:23:57 +01:00
Fabien Potencier
353177d1d6
replaced Response::createRedirect by a new RedirectResponse class
2011-02-21 18:10:53 +01:00
Fabien Potencier
d94acd85f9
remove response as a service
...
The Response is not available in the DIC anymore.
When you need to create a response, create an instance of
Symfony\Component\HttpFoundation\Response instead.
As a side effect, the Controller::createResponse() and Controller::redirect()
methods have been removed and can easily be replaced as follows:
return $this->createResponse('content', 200, array('foo' => 'bar'));
return new Response('content', 200, array('foo' => 'bar'));
return $this->redirect($url);
return Response::createRedirect($url);
2011-02-21 17:36:04 +01:00
Fabien Potencier
bf20238178
fixed a bug in Response content-type auto-detection
...
Without this patch, if you call __toString() on a Response,
the content-type auto-detection would never be trigerred
as __toString() changes the default content-type.
2011-02-21 16:57:25 +01:00
Johannes M. Schmitt
f21578e819
[Security] adds abstract user provider definition
2011-02-21 12:15:29 +01:00
Fabien Potencier
7c9528be7b
[FrameworkBundle] tweaked init:bundle skeleton
2011-02-21 11:52:48 +01:00
Fabien Potencier
7a614cb1ea
[Swiftmailer] fixed the determination of the default port
2011-02-21 11:35:47 +01:00
Fabien Potencier
0dfd5960f1
Merge remote branch 'stof/swiftmailer'
...
* stof/swiftmailer:
Splitted swiftmailer configuration to avoid issues when not using smtp
2011-02-21 11:28:40 +01:00
Fabien Potencier
d4fc3c98b1
[FrameworkBundle] updated the init:bundle skeleton files
2011-02-21 11:26:58 +01:00
Fabien Potencier
b9168bb652
Merge remote branch 'fabriceb/initbundleformat'
...
* fabriceb/initbundleformat:
[FrameworkBundle] added --format=xml,php,yml optional parameter to the init:bundle command
2011-02-21 11:20:04 +01:00
Wojciech Sznapka
6e1202961d
translated validator resources into Polish
2011-02-21 11:12:13 +01:00
Christophe Coevoet
e729589b10
Splitted swiftmailer configuration to avoid issues when not using smtp
2011-02-21 10:41:15 +01:00
Lukas Kahwe Smith
c518074306
added a DI extension for DoctrineMigrations, removed --bundle option in favor of application level settings
2011-02-20 18:38:02 +01:00
Fabien Potencier
eb5877c16a
fixed case problem
2011-02-20 10:11:55 +01:00
Fabien Potencier
23e9386a0e
changed all extensions to use the default Extension::getAlias() impl
2011-02-20 08:58:37 +01:00
Jeremy Mikola
f4c0af76e7
[TwigBundle] Allow arbitrary variables to be accepted as values for globals
...
This fixes a regression introduced when TwigExtension was refactored to utilize the Config component.
2011-02-20 00:59:18 -05:00
Fabien Potencier
28bf834c0c
[WebProfilerBundle] made the WDT less intruisive by moving it to its own Ajax request
2011-02-19 23:05:22 +01:00
Fabien Potencier
eda74755ba
[ZendBundle] only load the logger if there is a config
2011-02-19 19:21:09 +01:00
Fabien Potencier
9a25878109
[FrameworkBundle] removed the Welcome page and moved it to the sandbox/standard distrib
2011-02-19 18:55:33 +01:00
Fabien Potencier
678e2f65ad
Merge remote branch 'stof/default_template'
...
* stof/default_template:
Use well-formed HTML in the default page
2011-02-19 18:51:49 +01:00
Fabien Potencier
d6c277f5c4
Merge remote branch 'stof/escaping'
...
* stof/escaping:
Fixed escaping for arguments
2011-02-19 18:50:32 +01:00
Christophe Coevoet
e9c7188fc1
Use well-formed HTML in the default page
2011-02-19 18:21:12 +01:00
Fabien Potencier
67ec6e5d94
Merge remote branch 'hidenorigoto/fix-profiler-header'
...
* hidenorigoto/fix-profiler-header:
[WebProfilerBundle]link to the original url to go back to the application easily
2011-02-19 17:32:19 +01:00
hidenorigoto
bbdbd81877
[WebProfilerBundle]link to the original url to go back to the application easily
2011-02-20 01:05:31 +09:00
Christophe Coevoet
857a9f3b8b
[WebProfilerBundle] Fixed template to work with the new behavior of {% set %}
2011-02-19 16:54:34 +01:00
Fabien Potencier
a3207e939f
removed CompatAssetsBundle, use AsseticBundle instead
2011-02-19 16:13:53 +01:00
Fabien Potencier
3cbbd66d33
Merge remote branch 'dator/send_email_command'
...
* dator/send_email_command:
Fix description
Add an example using the options in the help message
Fix CS
[SwiftMailer] Add the SendEmail Command (for the spool)
2011-02-19 15:40:45 +01:00
Fabien Potencier
f6e624b1e2
[TwigBundle] changed all Boolean to string in XSD as you might want to use a parameter %...%
2011-02-19 15:36:41 +01:00
Fabien Potencier
4833acf301
Merge remote branch 'opensky/TwigExtension-configuration'
...
* opensky/TwigExtension-configuration:
[TwigBundle] Refactored TwigExtension class and implemented configuration tree
2011-02-19 15:35:09 +01:00
Fabien Potencier
f849353118
Merge remote branch 'weaverryan/config_definition_changes'
...
* weaverryan/config_definition_changes:
[SecurityBundle] Allowing the main Configuration tree to allow "factories" without a validation exception.
[SecurityBundle] Removing an old configuration key in a test - caught by the Configuration validation.
[SecurityBundle] Adding the ignoreExtraFields option to the factories tree so that there aren't validation errors on all the other unknown fields.
[Config] Adding an ignoreExtraKeys options, which allows you to let options simply be ignore without throwing a validation exception.
[Config] Reverting some meaningless changes that are no longer needed to minimize the true diff of the changes. Increasing the test precision.
[Config] Reverting the preventExtraKeys option. This is a revert of functionality that would have allowed "unnamed" children to be added to an array node.
[Config] Moving the removal of the key attribute on ArrayNode onto the setKeyAttribute() method per Johannes.
[Config] Renaming the key attribute removal property for consistency per Johannes' recommendation. Also fixing a PHPDoc typo per Stof.
[SwiftmailerBundle] Removing unnecessary "enabled" key in a test.
[FrameworkBundle] Removing the "namespace" key when it's defined in its own weird location in XML. This prevents that key, which we move in this same location, from looking like an invalid option during validation.
[Config] Renaming NodeBuilder::nodeBuilder() to NodeBuilder::builder() due to the fact that PHP can get confused when you have a __construct() method *and* a method that has the same name as the class (looks like two constructors to PHP).
[Config] Making the option to remove a key attribute optional.
[Config] Renaming the NodeBuilder::addNodeBuilder() to simply NodeBuilder::nodeBuilder() to be consistent with the other names: node(), arrayNode().
[Config] Making changes per the recent movement of the Config builder into the Config component.
[DependencyInjection] Renaming allowUnnamedChildren to preventExtraKeys. Also moved the place where validation of extra configs occurs.
[DependencyInjection] Being sure to remove XML-remapped singular options and key attribute options after processing.
[DependencyInjection] Adding a NodeBuilder::addNodeBuilder() method that helps achieve a fluid interface when a pre-built NodeBuilder needs to be added.
[DependencyInjection] Initial implementation of an allowUnnamedChildren method on NodeBuilder. Also added an "extra field" exception.
2011-02-19 15:32:41 +01:00
Fabien Potencier
0834bf47dc
[WebProfilerBundle] removed the WDT on malformed HTML content
2011-02-19 14:41:22 +01:00
Fabien Potencier
2c45611f4e
fixed WDT link to the profiler
2011-02-19 14:11:18 +01:00
Fabien Potencier
946d3d9302
fixed previous commit
2011-02-19 13:02:23 +01:00
benjamindulau
f1dd3f22e3
[TwigBundle] adding two global variables : environment & debug + some doc blocks
...
Use case :
{% if app.environment == 'prod' %}
{# e.g google analytics scripts #}
{% endif %}
2011-02-19 13:00:51 +01:00
Lukas Kahwe Smith
36132ccdf6
small fix for recent refactoring in Doctrine Migrations
2011-02-19 12:34:42 +01:00
Jeremy Mikola
9b15b6950c
[AsseticBundle] Sort Twig assets by name before loading for filesystem-independent results
...
Previously, the unit test was breaking in Ubuntu with an ext4 filesystem, while passing in OSX.
2011-02-19 12:33:20 +01:00
Kris Wallsmith
4ba0e0d5cf
[AsseticBundle] fixed bundle notation of inputs
2011-02-19 12:32:56 +01:00
Kris Wallsmith
c01be42933
[AsseticBundle] made the filter manager lazy
2011-02-19 12:31:51 +01:00
Kris Wallsmith
a9fb0f3a4b
[AsseticBundle] moved test
2011-02-19 12:31:51 +01:00
Christophe Coevoet
d2684f3f73
[AsseticBundle] Converted to use a Configuration class
2011-02-19 12:30:52 +01:00
Fabien Potencier
dff3585162
fixed profiler when using ESI in dev env
2011-02-19 12:18:49 +01:00
Ryan Weaver
c9406b62b2
[SecurityBundle] Allowing the main Configuration tree to allow "factories" without a validation exception.
...
The main tree doesn't actually process the factories (that's done in an earlier step), so it doesn't actually need their real value. It does, however, need to *not* throw an exception when they're present. An alternative to this approach would be to call ignoreExtraKeys() on the root node of the main tree, but this would allow extra keys to be passed in at the root level, which I thought was a less-desirable solution.
2011-02-18 16:12:12 -06:00
Ryan Weaver
b20ee0fb71
[SecurityBundle] Removing an old configuration key in a test - caught by the Configuration validation.
2011-02-18 13:36:10 -06:00
Ryan Weaver
a334a576cf
[SecurityBundle] Adding the ignoreExtraFields option to the factories tree so that there aren't validation errors on all the other unknown fields.
2011-02-18 13:35:19 -06:00
Jeremy Mikola
f0d2ce7f32
[TwigBundle] Refactored TwigExtension class and implemented configuration tree
...
Added config fixtures in each format to demonstrate the possible styles of all of the extension options. These should all be covered by the updated tests. Made XSD slightly more restrictive, with regards to the "type" attribute on globals. This is coupled with validation in the configuration class.
2011-02-18 12:58:04 -05:00
Ryan Weaver
663dcbcb32
[SwiftmailerBundle] Removing unnecessary "enabled" key in a test.
...
I double-checked with Stof - this is obviously unnecessary and there was no meaning behind including it. This caused the test to fail with the new validation.
2011-02-18 07:55:39 -06:00
Ryan Weaver
2d94f2d8d0
[FrameworkBundle] Removing the "namespace" key when it's defined in its own weird location in XML. This prevents that key, which we move in this same location, from looking like an invalid option during validation.
2011-02-18 07:43:36 -06:00
Juan Ases García
2ba9ebfee9
Fixed typo in json error template
2011-02-18 12:10:07 +01:00
Clément Jobeili
e8d39d6d32
Fix description
2011-02-18 10:43:34 +01:00
Clément Jobeili
aef85dde27
Add an example using the options in the help message
2011-02-18 10:41:34 +01:00
Clément Jobeili
438ccbdf8a
Fix CS
2011-02-18 10:34:44 +01:00
Clément Jobeili
9b16f1a614
[SwiftMailer] Add the SendEmail Command (for the spool)
2011-02-18 10:22:14 +01:00
Christophe Coevoet
76262b2ccc
Fixed spool handling
2011-02-18 08:32:43 +01:00
Christophe Coevoet
b3460653bc
Revert "fix spooler handling"
...
This reverts commit 3607f1d334
.
2011-02-18 08:32:43 +01:00
Fabien Potencier
6b12c21261
moved DependencyInjection\Configuration to Config\Definition
2011-02-17 16:03:48 +01:00
Jordi Boggiano
38813c122e
[TwigBundle] Resolve some TODOs in form templates
2011-02-17 16:00:28 +01:00
Fabien Potencier
d64277d101
fixed typo
2011-02-17 13:33:15 +01:00
Jeremy Mikola
92f50bbe4d
[SwiftmailerBundle] Fix expected default value in SwiftmailerExtension unit test
2011-02-17 06:49:28 +01:00
Lukas Kahwe Smith
3607f1d334
fix spooler handling
2011-02-17 06:49:05 +01:00
Christophe Coevoet
9d2a9dd65d
Updated the root node to match the new syntax
2011-02-16 23:07:12 +01:00
Christophe Coevoet
990910d601
Converted SwiftmailerBundle to use a Configuration class
2011-02-16 23:07:11 +01:00
Bernhard Schussek
14c3518c6e
[Form] Fixed: If a DateField or TimeField is displayed with select boxes, either all or no select box must have a value selected
2011-02-16 23:05:22 +01:00
Jonathan H. Wage
34859999b2
Revert "[DoctrineMongoDBBundle] updated tests to reflect extension changes"
...
This reverts commit 8c3923e5f59fda3221776c6fc747ca9bd603f9af.
2011-02-16 23:01:37 +01:00
Jonathan H. Wage
20cf9f8a1a
Revert "[DoctrineMongoDBBundle] updated DocumentManager definition to reflect latest ODM changes"
...
This reverts commit 6555013ac4c39e4a39b8d595c834eadc21e4a684.
2011-02-16 23:01:36 +01:00
Johannes M. Schmitt
1a0742003f
[Security] use 'database_connection' as default connection for ACL
2011-02-16 23:00:27 +01:00
Johannes M. Schmitt
22947da18d
[Security] added some classes to the compilation map
2011-02-16 23:00:27 +01:00
Johannes M. Schmitt
53f3ff8258
[Security] adds a chain user provider
2011-02-16 23:00:27 +01:00
Johannes Schmitt
82c6844147
[Security] moved Security classes out of DoctrineBundle, cleaned-up SecurityExtension accordingly
...
Note that this commit removes the built-in support for MongoDB user providers.
This code can be moved back in once there is a stable release for MongoDB, but
for now you have to set-up that user provider just like you would set-up any
custom user provider:
security:
providers:
document_provider:
id: my.mongo.provider
2011-02-16 23:00:27 +01:00