Commit Graph

1645 Commits

Author SHA1 Message Date
Martin Hason
5ee48c4963 [DependencyInjection] fix XML entities in XmlDumper 2011-01-14 16:56:44 +01:00
Antoine Hérault
3ccc6b98b6 Fix typo 2011-01-14 16:56:14 +01:00
Fabien Potencier
3c5639053f [DoctrineBundle] fixed XSD 2011-01-14 15:01:49 +01:00
Fabien Potencier
5a800ed551 fixed phpdoc 2011-01-14 14:41:56 +01:00
Linnik Sergey
5bc4b22e42 [Form] Fix PHPDoc 2011-01-14 14:41:07 +01:00
Kousuke Ebihara
d347ade94c fixed typo (s/algoritm/algorithm/) 2011-01-14 14:40:28 +01:00
Fabien Potencier
b47cf7984b changed priority meaning to be more intuitive 2011-01-14 14:37:32 +01:00
Fabien Potencier
e41df3dd41 [DoctrineBundle] added missing entry in XSD 2011-01-14 14:21:25 +01:00
Fabien Potencier
a69b9e73ec [DoctrineBundle] added missing entry in XSD 2011-01-14 14:18:16 +01:00
Fabien Potencier
6b4ae4479a [TwigBundle] removed coupling between TemplatingExtension and Templating Engine 2011-01-14 08:57:04 +01:00
Fabien Potencier
1535fa2ad7 [HttpKernel] fixed a unit test 2011-01-14 08:31:58 +01:00
Victor Berchet
cdd3ac962c [SQLiteProfilerStorage] Improve SQLite storage:
- do not rely on request time for db cleanup (important when importing data),
- add indexes
2011-01-14 08:28:17 +01:00
Victor Berchet
9ec69553f3 [Profiler] Use base64 encoding which is more efficient than unpack (space wise) 2011-01-14 08:28:13 +01:00
Martin Hason
2a3d94a6d0 [DependencyInjection] added support for anonymous services in XmlDumper 2011-01-14 08:25:18 +01:00
Bulat Shakirzyanov
3a6f556189 [FrameworkBundle] registered FileSystem as a service, switched commands to use it 2011-01-14 08:23:38 +01:00
Bulat Shakirzyanov
39e33df573 fixed abstract extension to product correct array with just mapping type specified 2011-01-14 08:21:50 +01:00
Fabien Potencier
36d87d9464 [Templating] removed the Engine::output() method 2011-01-13 13:22:52 +01:00
Fabien Potencier
dd9e7367ef [Templating] fixed phpdoc 2011-01-13 13:18:56 +01:00
Fabien Potencier
09034a1b19 [Templating] fixed Engine::load() method 2011-01-13 13:18:48 +01:00
Fabien Potencier
c38c0c303e refactored Templating
* made the renderer argument of Storage ctor mandatory
 * refactored the Engine class to avoid code duplication
 * simplified the check for a template that extends another one but with a different renderer
2011-01-13 11:16:45 +01:00
Fabien Potencier
285e09fe0e switched colors to on by default in phpunit.xml 2011-01-13 09:15:06 +01:00
Fabien Potencier
7b940ce82a [FrameworkBundle] tweaked previous commit 2011-01-13 08:55:12 +01:00
Lukas Kahwe Smith
b4ac7982be make it easier to implement alternative app directory structures 2011-01-13 08:52:25 +01:00
Christophe Coevoet
5506e9d1a3 Fixed loading of validation files for bundles in a vendor namespace 2011-01-13 08:06:10 +01:00
Victor Berchet
9770944a1d [SQLiteProfilerStorage] Escape special chars in URLs and IPs 2011-01-13 08:03:02 +01:00
Fabien Potencier
e975a09003 [TwigBundle] tweaked a comment 2011-01-13 07:55:58 +01:00
partugal
5ac67a23e7 [TwigBundle] addExtension calls must be first 2011-01-13 07:54:26 +01:00
Fabien Potencier
46f3da50d8 [TwigBundle] removed the cache for globals (does not work when working in functional tests) 2011-01-12 17:26:46 +01:00
Fabien Potencier
b056a6c3c1 [TwigBundle] fixed cache problem for some global variables 2011-01-12 17:25:39 +01:00
Fabien Potencier
6dd1d6172f fixed some routing patterns 2011-01-12 07:10:57 +01:00
Christophe Coevoet
1f88edd9e0 Updated routing to the new syntax 2011-01-12 07:09:19 +01:00
Victor Berchet
f2d32ccfde [Extensions] Type hints 2011-01-11 20:31:44 +01:00
Victor Berchet
87ca9036f7 [FrameworkBundle] Type hints & comments 2011-01-11 20:31:34 +01:00
Victor Berchet
40dac2363e [WebProfiler] Normalize header name and use a single reference 2011-01-11 20:30:37 +01:00
Victor Berchet
0bc6d814c3 [DI Compiler] Make processArguments() process arguments only 2011-01-11 20:29:44 +01:00
Victor Berchet
22f04f50a6 [DI XmlLoader] Add missing type hints 2011-01-11 20:29:29 +01:00
Victor Berchet
1537c1f2d1 [InterfaceInjector] Fix a typo in the tests 2011-01-11 20:29:17 +01:00
Victor Berchet
9c51916503 [TwigBundle] Remove invalid options from the container 2011-01-11 20:29:05 +01:00
Bulat Shakirzyanov
8cd54453f1 [Form, FrameworkBundle] added csrf tokens reset on Kernel::shutdown() to preven tokens stacking in tests 2011-01-11 20:27:06 +01:00
Fabien Potencier
b63de46374 [Routing] moved from :var to {var}
This follows the "URI template" notation:

http://code.google.com/p/uri-templates/
http://tools.ietf.org/html/draft-gregorio-uritemplate-04

You need to change all your route definitions from something like:

    /article/:id

to something like:

    /article/{id}
2011-01-11 19:13:16 +01:00
Fabien Potencier
450a6b39a2 [TwigBundle] moved global variables under the app. prefix
Before:

{{ session.flash('notice') }}

After:

{{ app.session.flash('notice') }}
2011-01-11 18:07:02 +01:00
Fabien Potencier
47b87e902e [TwigBundle] made global more powerful
A global can now be a service or a string:

<twig:config debug="%kernel.debug%" strict-variables="%kernel.debug%">
    <twig:global key="request" type="service" id="request" />
    <twig:global key="PI">3.14</twig:global>
</twig:config>
2011-01-11 15:55:31 +01:00
Victor Berchet
9a2e053cbc [Event] Collected data is about listener (not event) calls 2011-01-11 14:57:18 +01:00
Martin Hason
08c3a2b40b method buildContainer divided into logical parts 2011-01-11 14:56:28 +01:00
Martin Hason
f41654fd60 [Console] added rendering previous exceptions 2011-01-11 14:52:32 +01:00
Gustavo Adrian
18a34c5238 [DoctrineBundle] Changed visibility of doctrine db connections to public 2011-01-11 14:43:36 +01:00
IamPersistent
c85b587c68 made security.acl.dbal.connection public for use in acl:init 2011-01-11 14:38:54 +01:00
Ruud Kamphuis
7cab5515b1 [FrameworkBundle] removed public=false from security.encoder_factory 2011-01-11 14:19:43 +01:00
Bulat Shakirzyanov
d6b57bce33 [HttpFoundation] fixed error casting broken in DomCrawler\Form::getPhpFiles() 2011-01-10 18:57:55 +01:00
Fabien Potencier
3734c0e01e updated bootstrap file 2011-01-10 08:01:04 +01:00