Johannes M. Schmitt
32d8d4547e
fixed compiled class map
2011-05-29 09:35:58 +02:00
Johannes Schmitt
786823151e
changed injection type
2011-05-28 18:06:25 +02:00
Johannes Schmitt
f37386e336
Merge branch 'master' of git://github.com/symfony/symfony into security
2011-05-28 17:07:16 +02:00
kaiwa
cdf4b6aa77
Checked log levels
2011-05-27 20:29:51 +02:00
Miha Vrhovnik
b8144c62ad
DateType single-text should be single_text
2011-05-27 16:23:59 +02:00
Fabien Potencier
923c234160
fixed form_rest() for embedded forms (refs #1051 , #1115 )
2011-05-27 08:12:39 +02:00
Jordi Boggiano
ba8758b4c2
[EventDispatcher] Removed temporary code
2011-05-26 11:56:59 +02:00
Jordi Boggiano
3f6407ccd1
[FrameworkBundle] Improved code readability
2011-05-26 11:55:11 +02:00
Jordi Boggiano
8a2d5496c9
[FrameworkBundle] Clarified code and fixed regression
2011-05-26 11:55:09 +02:00
Jordi Boggiano
af0bd8a136
Update Core and Security events to latest model
...
The main benefit is that in XML/YML files we have common syntax (i.e. core.controller, form.pre_bind) that properly namespaces event names (before: onCoreController was ok, preBind was not).
On the other hand in PHP land we also have namespaced events, CoreEvents::controller, FormEvents::preBind, before it was Events::onCoreController, Events::onPreBind, we now have more context.
2011-05-26 11:55:07 +02:00
Jordi Boggiano
1246503e55
[EventDispatcher] Allow registration of arbitrary callbacks
...
This in effect removes the direct link between event name and the method name on the handler.
Any callback can be given as a handler and the event name becomes an arbitrary string. Allowing for easier namespacing (see next commit)
2011-05-26 11:54:06 +02:00
Jordi Boggiano
48d6a95803
[FrameworkBundle] Small optimization, remove some function calls
2011-05-26 11:53:58 +02:00
Kai
a45d3eeeb6
Reverted last commit
2011-05-25 21:15:34 +02:00
Kai
529381b378
ControllerNotFound: Changed log level from info to error. Also moved
...
throw exception code block up, to prevent the message from beeing
logged multiple times.
2011-05-25 21:01:19 +02:00
Joseph Bielawski
46e58206a3
[Tests] Skip test if Doctrine Common is not available.
2011-05-24 14:16:10 -07:00
Kai
7c29e8881f
Changed log level of "Matched route ..." message from info to debug
2011-05-24 15:34:35 +02:00
Johannes Schmitt
9c0db88851
updated to latest changes in Doctrine
2011-05-24 13:29:44 +02:00
Fabien Potencier
0d68470638
[FrameworkBundle] made a small cleanup
2011-05-22 08:47:38 +02:00
Fabien Potencier
a2a1a88291
Merge remote branch 'schmittjoh/annotations'
...
* schmittjoh/annotations:
removed obsolete compiler pass
fixed some more tests
fixed tests
removed unused vendor
some cleanups
updated to latest changes
[WebProfilerBundle] removed @ignorePhpDoc annotations
[FrameworkBundle] fixed default
[FrameworkBundle] updated configuration
[Validator] updated fixtures
updated UPDATE file
updated Annotations integration
[Routing] updated to changes
[FrameworkBundle] added framework-wide annotation reader, updated validator tests
[WebProfilerBundle] fixed controllers
fixed unit tests
added Annotations library
2011-05-22 08:45:24 +02:00
Fabien Potencier
003fe6743d
Merge remote branch 'vicb/form-render'
...
* vicb/form-render:
[Twig][Form] Optimize form rendering
2011-05-22 08:19:20 +02:00
hidenorigoto
c9f188b658
[FrameworkBundle] replaced Util/Mustache to Generator/Generator
2011-05-22 00:10:22 +09:00
Victor Berchet
eb10c66a55
[Twig][Form] Optimize form rendering
2011-05-20 16:45:57 +02:00
Fabien Potencier
f3b92cb1ad
[FrameworkBundle] renamed Mustache to Generator and moved it to a new Generator sub-namespace
2011-05-20 09:32:54 +02:00
Johannes Schmitt
6c0b0449a6
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
2011-05-19 22:49:59 +02:00
Johannes Schmitt
42fb34b647
fixed tests
2011-05-19 22:46:34 +02:00
stealth35
286961c47f
Removed unnecessary array_push
2011-05-19 18:11:22 +02:00
Bernhard Schussek
dcc61a9a98
Merge remote branch 'shieldo/search_field' into shieldo_merge
2011-05-19 01:41:59 +02:00
Bernhard Schussek
216d7e415d
Merge remote branch 'mweimerskirch/form_pattern_attribute' into mweimerskirch_merge
...
Conflicts:
src/Symfony/Bundle/TwigBundle/Resources/views/Form/div_layout.html.twig
src/Symfony/Component/Form/Extension/Core/Type/FieldType.php
src/Symfony/Component/Form/Extension/Validator/ValidatorTypeGuesser.php
2011-05-18 22:49:27 +02:00
Bernhard Schussek
f467317bab
[Form] Renamed view variable "name" to "full_name"
...
The variable "name" now contains the local, short name (equivalent to $form->getName()).
2011-05-18 22:16:16 +02:00
Fabien Potencier
a15e846568
added a way to disable forms, and force validation to be enabled when forms are enabled ( closes #840 )
2011-05-18 15:45:34 +02:00
Johannes Schmitt
0eb7564f7d
Merge remote branch 'origin/master' into security
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Listener/RequestAttributeInitializingListener.php
2011-05-18 12:54:47 +02:00
Fabien Potencier
0687aadad2
fixed form configuration when no session is available ( closes #841 )
2011-05-18 12:54:16 +02:00
Kris Wallsmith
8e85a36e37
[FrameworkBundle] fixed renamed routing exception
2011-05-17 12:55:24 -07:00
Kris Wallsmith
1a49296b59
[FrameworkBundle] updated extension to use replaceArgument() rather than a parameter
2011-05-17 09:53:42 -07:00
Fabien Potencier
02e77ec4e3
[Routing] moved Matcher exceptions
2011-05-17 10:11:27 +02:00
Johannes Schmitt
796d9af0c4
some updates
2011-05-16 22:26:24 +02:00
Fabien Potencier
3949b8e3f1
[FrameworkBundle] fixed redirect controller when a non-standard port is used ( closes #965 )
2011-05-16 08:21:58 +02:00
Fabien Potencier
dc0c5de2c0
Merge remote branch 'arnaud-lb/fix-validator-config'
...
* arnaud-lb/fix-validator-config:
defined parameters to avoid unmet dependency
2011-05-16 07:47:51 +02:00
Arnaud Le Blanc
421a05f6b4
defined parameters to avoid unmet dependency
...
These parameters are set by the extension; but
validator.mapping.loader.annotation_loader.namespaces is not set when
annotations are disabled
2011-05-15 21:32:41 +02:00
Henrik Bjørnskov
52f2266bb7
[FrameworkBundle] Empty annotation namespaces parameter because it is referenced in validator.xml
2011-05-15 20:08:48 +02:00
Douglas Greenshields
bf2f9d2a02
[Form] Added a search form field type
2011-05-15 18:31:36 +01:00
Johannes Schmitt
8e5b11a226
Merge remote branch 'origin/master' into annotations
2011-05-15 18:35:25 +02:00
Arnaud Le Blanc
e57e5537b6
Fixed validators config causing no validation to happen
...
The parameter in <argument type="collection">%parameter...%</argument>
was ignored due to type="collection".
2011-05-15 16:50:49 +02:00
Johannes Schmitt
e516b215f8
updated tests
2011-05-14 13:25:04 +02:00
Johannes Schmitt
eb1b7f1e46
fixed namespace + class
2011-05-14 13:25:03 +02:00
Johannes Schmitt
a97e8b82d0
[FrameworkBundle][SecurityBundle] fixes a regression in the listener order
2011-05-14 13:25:02 +02:00
Johannes Schmitt
2d8afd8dd6
Merge remote branch 'origin/master' into annotations
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php
src/Symfony/Bundle/FrameworkBundle/Resources/config/validator.xml
src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/FrameworkExtensionTest.php
2011-05-14 12:51:05 +02:00
Johannes Schmitt
5da7896191
[FrameworkBundle] fixes a regression
2011-05-14 12:37:11 +02:00
Fabien Potencier
9687d1661b
Merge remote branch 'bschussek/form_validator'
...
* bschussek/form_validator:
[Form] Renamed the value "text" of the "widget" option of the "date" type to "single-text"
[Form] Implemented getAllowedOptionValues() for core types
[Form] Removed unused option
[Form] Added FormTypeInterface::getAllowedOptionValues() to better validate passed options
[Form] Improved test coverage of FormFactory and improved error handling
[Form] Added getType() to FormFactoryInterface
[Validator] Refactoring DateTimeValidator and DateValidator
[Validator] Date: check if the value is a DateTime instance
2011-05-14 10:59:02 +02:00
Bernhard Schussek
e0ff61949e
[Form] Renamed the value "text" of the "widget" option of the "date" type to "single-text"
2011-05-13 19:17:28 +02:00
Fabien Potencier
f7aea2a830
[FrameworkBundle] re-introduced parameters in the DIC for better overridability
2011-05-13 14:34:17 +02:00
Fabien Potencier
0bad012290
[FrameworkBundle] changed template string by TemplateReference instances in ExceptionController
2011-05-11 18:33:59 +02:00
Fabien Potencier
514b47c6d4
[FrameworkBundle] added a simple way to customize errors according to the HTTP status code
2011-05-11 18:02:50 +02:00
Fabien Potencier
7941ff61f0
[FrameworkBundle] added a note
2011-05-11 11:05:57 +02:00
Fabien Potencier
09de9fe85f
Merge remote branch 'danielholmes/client_kernel_shutdown'
...
* danielholmes/client_kernel_shutdown:
[FrameworkBundle] added a check in Client to only shutdown the kernel if a previous request has been made
2011-05-11 11:04:14 +02:00
Fabien Potencier
e2df25b43a
made a slight change to the previous merge
2011-05-11 10:45:23 +02:00
Fabien Potencier
b7d64c5304
Merge remote branch 'danielholmes/functional_test_changes'
...
* danielholmes/functional_test_changes:
[FrameworkBundle] fixed CS
[FrameworkBundle][HttpKernel] added a default tearDown on the WebTestCase which will shut down the currently used kernel (if there is one) in Web functional tests
2011-05-11 10:33:23 +02:00
Martin Hason
7f95ea69aa
[FrameworkBundle] Validator messages: added Czech translation
2011-05-10 14:18:57 +02:00
Fabien Potencier
50c1cce014
Merge remote branch 'schmittjoh/security'
...
* schmittjoh/security:
[HttpFoundation] added unit test
[Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
[SecurityBundle] added some tests
add provider to configuration
update DI to handle change in config and another provider
separate dbal specific acl config
add provider to configuration
update DI to handle change in config and another provider
separate dbal specific acl config
2011-05-09 14:26:36 +02:00
Fabien Potencier
b1f91f8ddc
Merge remote branch 'Seldaek/session_storage'
...
* Seldaek/session_storage:
[FrameworkBundle] Do not override the session storage for test
2011-05-09 14:13:19 +02:00
Fabien Potencier
0c46797a35
fixed CS
2011-05-09 13:52:49 +02:00
Fabien Potencier
9286f78116
Merge remote branch 'usefulthink/windows-symlink-errormessage'
...
* usefulthink/windows-symlink-errormessage:
[FrameworkBundle] added errormessage for windows in AssetsInstallCommand
2011-05-09 13:52:05 +02:00
jsor
e4c87cf558
Corrected german spelling of email (See: http://de.wikipedia.org/wiki/E-Mail#Artikel_und_Schreibweise )
2011-05-09 13:47:57 +02:00
Martin Schuhfuss
ad41d21675
[FrameworkBundle] added errormessage for windows in AssetsInstallCommand
...
As it has recently been discussed [on the mailing-list][1], windows doesn't
support symlinks for the assets:install command. In order to avoid a 'call to
undefined-function'-message in this case, this patch adds an exception which
will be thrown when the symlink-funktion isn't present and the
`--symlink`-Option was specified.
[1]: https://groups.google.com/group/symfony-devs/browse_thread/thread/4b8ad9634bdab155
2011-05-09 12:11:54 +02:00
Fabien Potencier
e1e365d75a
Merge remote branch 'udat/translator-typo'
...
* udat/translator-typo:
[FrameworkBundle] Fixed typo
2011-05-09 09:01:26 +02:00
Artur Kotyrba
1985333583
[FrameworkBundle] Fixed typo
2011-05-08 21:02:16 +02:00
Johannes Schmitt
f7e03f2d87
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
src/Symfony/Bundle/DoctrineBundle/Tests/DependencyInjection/AbstractDoctrineExtensionTest.php
2011-05-08 07:28:23 +02:00
Christophe Coevoet
87391119be
[FrameworkBundle] Changed the priority of the ProfilerListener
...
Running it before other onCoreResponse listeners avoids seeing them
as called listeners in the event panel. The priority is set to -100
because it has to be called before the WebProfilerListener (-128) so
that the token is set.
2011-05-07 20:40:30 +02:00
Jordi Boggiano
43484c21a6
[FrameworkBundle] Do not override the session storage for test
2011-05-06 17:04:37 +02:00
Fabien Potencier
62c0b10b88
[FrameworkBundle] prevented search engine indexing on exception pages
2011-05-06 12:33:37 +02:00
Fabien Potencier
ca3c5e652e
moved ErrorHandler management to the distributions
2011-05-05 08:53:13 +02:00
Johannes Schmitt
362b7264d1
[Security][HttpFoundation] splits Request::hasSession() into hasSession(), and hasPreviousSession()
...
This closes #774 , and fixes #772 .
2011-05-05 08:38:07 +02:00
Michel Weimerskirch
476644a92c
[Form] Support for the HTML5 "pattern" attribute, see http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#the-pattern-attribute
...
If you use the MinLength validator with your entities, the ValidatorTypeGuesser gets the value, stored as "minlength". Then, the FormFactory generates a "pattern" attribute out of minlength and maxlength.
Modern browsers such as Chrome use this attribute to validate the form before submitting.
a "pattern" attribute is generated that validates the
2011-05-04 23:16:41 +02:00
Fabien Potencier
36bcfcc5ee
Merge remote branch 'bschussek/form'
...
* bschussek/form:
[Form] CSRF fields are not included in the children of a FormView anymore if the view is not the root
[Form] FormView::offsetUnset() is now supported. It was possible anyway using getChildren() and setChildren().
[Form] Split the option "modifiable" of the "collection" type into "allow_add" and "allow_delete"
[Form] Added test for last commit by kriswallsmith and improved dealing with original names
[Form] Fixed variable scope when entering nested form helpers
[Form] Added tests for blocks/templates in the format _<ID>_(widget|row|label|...)
[Form] updated listener to check that data is an array
2011-05-04 22:13:33 +02:00
Bernhard Schussek
74cca63938
[Form] CSRF fields are not included in the children of a FormView anymore if the view is not the root
2011-05-04 18:27:20 +02:00
Bernhard Schussek
bf1dfbbe99
[Form] Added test for last commit by kriswallsmith and improved dealing with original names
...
The form component should now guarantee to always pass an UploadedFile object to your model. There you can call getOriginalName() to retrieve the original name of the uploaded file. For security reasons, the real file name is a generated hash value.
2011-05-04 17:04:44 +02:00
Bernhard Schussek
eb50d766da
[Form] Fixed variable scope when entering nested form helpers
...
The consequence of this commit is that variables are accessible that have been passed to a surrounding form helper.
Example template:
{% block my_widget_label %}
<label>{{ label }}
{% endblock %}
{% block my_widget_row %}
{# It is not necessary to explicitely pass through the label variable #}
{{ form_label(form) }}
{{ form_widget(form) }}
{% endblock %}
Example usage:
{{ form_row(form.mywidget, { 'label': 'My Widget' }) }}
2011-05-04 15:40:15 +02:00
Bernhard Schussek
38098604af
[Form] Added tests for blocks/templates in the format _<ID>_(widget|row|label|...)
2011-05-04 15:33:51 +02:00
Bart00
f9940b4175
Change "zou moeten" to "moet", ("zou moeten" implies that the problem is not so severe and was translated from english too literally)
...
Also fixes some typo's
2011-05-04 05:11:50 -07:00
Fabien Potencier
2e5bd42be3
Merge remote branch 'hollodk/master'
...
* hollodk/master:
Made some better translation.
First sample of translation.
2011-05-04 13:00:33 +02:00
Michael Holm
dc58b79e58
Made some better translation.
2011-05-04 12:47:06 +02:00
lenar
1cfed9e24e
added translation for Estonian
2011-05-04 12:20:22 +03:00
Michael Holm
8be22f19d7
First sample of translation.
2011-05-04 01:59:48 +02:00
wtfzdotnet
898019559a
Some changes to the translation of "should" -> "zou moeten", "must" -> "moeten".
2011-05-03 14:06:33 -07:00
Daniel Gomes
8870d3f31e
Merge remote-tracking branch 'upstream/master'
2011-05-03 14:28:33 +01:00
Daniel Gomes
0147df6b22
added translation for European Portugues (Portugal)
2011-05-03 14:27:37 +01:00
Jordi Boggiano
04f9b23b34
[FrameworkBundle] Adjust styling and display of logs
2011-05-03 14:44:27 +02:00
Johannes Schmitt
12a77440b8
[FrameworkBundle] fixed default
2011-05-03 14:41:50 +02:00
Johannes Schmitt
672c4ef122
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
2011-05-03 14:38:51 +02:00
Johannes Schmitt
d29c7811aa
[FrameworkBundle] updated configuration
2011-05-03 14:36:42 +02:00
Daniel Holmes
807859f962
[FrameworkBundle] added a check in Client to only shutdown the kernel if a previous request has been made
2011-05-03 21:26:45 +10:00
Daniel Holmes
34b44a0ff1
[FrameworkBundle] fixed CS
2011-05-03 15:00:01 +10:00
Daniel Holmes
9107ede18c
[FrameworkBundle][HttpKernel] added a default tearDown on the WebTestCase which will shut down the currently used kernel (if there is one) in Web functional tests
2011-05-03 14:17:33 +10:00
Fabien Potencier
3e514c6eb8
[FrameworkBundle] simplified code
2011-05-02 23:04:24 +02:00
Fabien Potencier
12fb4a0a95
Merge remote branch 'Seldaek/monolog_bundle'
...
* Seldaek/monolog_bundle:
[MonologBundle] Added support for new Monolog log level
[FrameworkBundle] Treat all log messages >=ERR as errors
2011-05-02 22:59:14 +02:00
Fabien Potencier
d0e31b8ca6
changed Application to have nice error messages when something bad happens early on the CLI
2011-05-02 18:35:38 +02:00
Jordi Boggiano
25d7009c1c
[FrameworkBundle] Treat all log messages >=ERR as errors
2011-05-02 18:31:51 +02:00
Kris Wallsmith
562d84a964
updated my email address
2011-05-02 05:59:56 -07:00
Matt Drollette
0029cbc397
made esi service public
2011-05-01 14:35:26 -05:00
Fabien Potencier
f55237dad7
[FrameworkBundle] fixed typo
2011-05-01 17:38:14 +02:00
Fabien Potencier
11cdff93f3
[FrameworkBundle] refactored container:debug command
...
* Use a dumper to serialize the container into the cache (XML)
* Only keep the "real" services (abstract ones are not displayed anymore)
2011-05-01 17:21:20 +02:00
Fabien Potencier
d31c403bae
Merge remote branch 'pborreli/tests-fix-typos'
...
* pborreli/tests-fix-typos:
Various typos
[WebProfilerBundle] Fixed typo
[WebProfilerBundle] Adding unit tests
2011-04-30 21:53:15 +02:00
Pascal Borreli
391744719a
Various typos
2011-04-30 19:40:15 +00:00
Johannes Schmitt
0d0c737630
Merge remote branch 'origin/master' into annotations
...
Conflicts:
UPDATE.md
2011-04-30 10:55:43 +02:00
Fabien Potencier
bb7b7e851d
[FrameworkBundle] refactored tests
2011-04-30 07:36:59 +02:00
Fabien Potencier
2adc56d181
Merge remote branch 'danielholmes/request_listener_test'
...
* danielholmes/request_listener_test:
[FrameworkBundle] added RequstListener test verifying request context http port fix
2011-04-30 07:26:08 +02:00
Fabien Potencier
55aff78a59
Merge remote branch 'noelg/i18n-translations-dir'
...
* noelg/i18n-translations-dir:
[translations] Moved the application translations directory under Resources to be consistent with bundles
2011-04-30 07:24:13 +02:00
Fabien Potencier
79ac931358
Merge remote branch 'igorw/templating-optional-globals'
...
* igorw/templating-optional-globals:
[TwigBundle] Default $globals to null as in FrameworkBundle/PhpEngine
make Templating Engine $globals optional
2011-04-30 07:20:22 +02:00
Daniel Holmes
625cb11d1e
[FrameworkBundle] added RequstListener test verifying request context http port fix
2011-04-30 14:24:26 +10:00
Deni
9dfe5bc5a4
[FrameworkBundle] Fixed russian translation of the Choice constraint
2011-04-30 01:20:20 +04:00
Igor Wiedler
e7c0aea587
make Templating Engine $globals optional
2011-04-29 22:36:24 +02:00
noel guilbert
f644bbc027
[translations] Moved the application translations directory under Resources to be consistent with bundles
2011-04-29 17:48:38 +02:00
Fabien Potencier
746ac2d24e
[FrameworkBundle] removed the need to specify the http/https port when you don't switch from http to https or the other way round
2011-04-29 16:42:49 +02:00
Fabien Potencier
2eb06bee1e
[FrameworkBundle] updated XSD
2011-04-29 16:35:33 +02:00
Johannes Schmitt
7e26575bbd
[FrameworkBundle] added framework-wide annotation reader, updated validator tests
2011-04-29 15:54:44 +02:00
Fabien Potencier
72a5ba78a0
Merge remote branch 'xmontana/master'
...
* xmontana/master:
renamed catalan translation filename according to locale
renamed catalan translation filename according to locale
2011-04-29 11:06:21 +02:00
Johannes Schmitt
7938fb3c28
Merge remote branch 'schmittjoh/annotations' into annotations
2011-04-29 08:39:00 +02:00
Fabien Potencier
3a36c08d8e
added the possibility to easily customize the template of just one widget of a form (PHP edition)
2011-04-29 07:33:55 +02:00
Johannes Schmitt
8ef0fc4976
fixed unit tests
2011-04-28 23:26:27 +02:00
Johannes Schmitt
d151d2d4b8
added Annotations library
2011-04-28 23:09:08 +02:00
Xmontana
277bfb28b0
renamed catalan translation filename according to locale
2011-04-28 21:00:29 +02:00
chispita
cea05575a2
renamed catalan translation filename according to locale
2011-04-28 20:57:06 +02:00
Fabien Potencier
4cbc33a785
removed the automatic loading of the compiled classes (should be done explicitely by the end user now)
2011-04-28 14:19:10 +02:00
Fabien Potencier
3fe385e4fb
removed the autoloader map feature
...
This feature added complexity to the framework but wasn't used in the core anyway.
You can still use the Map class loader in your application though. But most of the time, using the APC
autoloader is just better.
2011-04-28 13:38:22 +02:00
Fabien Potencier
9f11ab4177
Merge remote branch 'noelg/session-storage-bug'
...
* noelg/session-storage-bug:
Fixed a bug when the storage service is initialized later by another bundle. In this case, we can't add the storage class to the compiled class as the service does not exists.
2011-04-28 11:40:09 +02:00
Fabien Potencier
05f1481c6a
[Form] added the possibility to configure the CSRF field name and the disabling of the CSRF feature altogether
2011-04-28 11:28:44 +02:00
noel guilbert
6f1df3338d
Fixed a bug when the storage service is initialized later by another bundle.
...
In this case, we can't add the storage class to the compiled class as the
service does not exists.
2011-04-28 11:27:56 +02:00
Fabien Potencier
2e9278993c
added Definition::getArgument() (very useful when unit testing a Container)
2011-04-28 11:26:10 +02:00
Fabien Potencier
e72f1a9873
added a global secret setting to configure CSRF, the temporary storage, and possibly more
2011-04-28 10:49:59 +02:00
Fabien Potencier
9f846997ef
Merge remote branch 'Infranology/normalize-bools'
...
* Infranology/normalize-bools:
capitalized 'boolean'
replaced 'bool' with 'Boolean'
2011-04-27 07:48:12 +02:00
Eriksen Costa
4db0752894
replaced 'bool' with 'Boolean'
2011-04-27 02:35:03 -03:00
Fabien Potencier
aa3ec504ae
removed File::getWebPath()
...
This has been removed for several reasons:
* the framework does not know where the document root is and should not care
* as the document root was static, it was impossible to have several document roots depending on some business rules (see next one)
* sometimes, the document root is not under the web root directory (so the logic of getWebPath() is not always correct)
* the feature was not used anywhere in the core
2011-04-27 06:49:05 +02:00
Benoît Merlet
d9ac718b97
fixed typo
2011-04-26 19:54:39 +02:00
Fabien Potencier
28aa8e729a
[FrameworkBundle] fixed typo
2011-04-26 18:27:51 +02:00
Fabien Potencier
f29ddad5ba
removed unused file
2011-04-26 15:38:09 +02:00
Fabien Potencier
e45d5fa857
merged vicb:template-factorization
2011-04-26 14:38:47 +02:00
Fabien Potencier
dead820d77
Merge remote branch 'xmontana/master'
...
* xmontana/master:
Validator messages: added Catalan translation
2011-04-26 12:39:41 +02:00
Xmontana
dacfa633f6
Validator messages: added Catalan translation
2011-04-26 11:56:55 +02:00
Lukas Kahwe Smith
dbdf4ad750
cosmetic tweak (use defaultFalse() instead of defaultValue(false))
2011-04-26 09:50:41 +02:00
Fabien Potencier
ee89163858
Merge remote branch 'mweimerskirch/validators_translations'
...
* mweimerskirch/validators_translations:
[FrameworkBundle] Validator messages: added German translation
[FrameworkBundle] Validator messages: added Luxembourgish translation
2011-04-26 07:11:29 +02:00
Fabien Potencier
0493b669f7
Merge remote branch 'udat/110425-fixes'
...
* udat/110425-fixes:
[Bridge][Twig] removed unused argument passed to setRendered() method
[Translation] removed unnecessary default parameter value
[Templating] removed unused argument passed to setRendered() method
[HttpKernel] removed unused argument passed to ClosureLoader constructor
[BrowserKit] fixed typo
[Routing] removed redundant parameter in addRoute method
2011-04-26 07:11:07 +02:00
Michel Weimerskirch
246ad1b03f
[FrameworkBundle] Validator messages: added German translation
2011-04-25 23:14:50 +02:00
Michel Weimerskirch
45dd5f33ed
[FrameworkBundle] Validator messages: added Luxembourgish translation
2011-04-25 23:13:04 +02:00
Artur Kotyrba
05698f66a2
[Templating] removed unused argument passed to setRendered() method
2011-04-25 22:58:23 +02:00
Francis Besset
291c35cd45
[FrameworkBundle] Fixed french validators messages
2011-04-25 21:19:11 +02:00
Fabien Potencier
d6bdb7af88
Merge remote branch 'vicb/tweaks_110425'
...
* vicb/tweaks_110425:
[AsseticBundle] Remove an unused property
[Cache warmers] A few tweaks
2011-04-25 20:54:08 +02:00
Fabien Potencier
7c95bda751
[Routing] simplified route compiler
2011-04-25 12:38:20 +02:00
Victor Berchet
829bc54392
[Cache warmers] A few tweaks
2011-04-25 11:57:41 +02:00
Fabien Potencier
59c6609aec
Merge remote branch 'vicb/service-event'
...
* vicb/service-event:
[FrameworkBundle] Optimization of the method ContainerAwareEventDispacther::dispatch()
[FrameworkBundle] Fix an issue with ContainerAwareEventDispatcher when re-entering a scope
2011-04-24 22:06:56 +02:00
Fabien Potencier
2f3ddb88ef
Merge remote branch 'bschussek/form'
...
* bschussek/form:
[Form] Automatically setting "data_class" option if objects are passed at the creation of a form
[Form] Improved the way passed data is handled in FormFactory
[Form] Simplified FileType code
[HttpFoundation] TemporaryStorage automatically creates the directory if it doesn't exist yet
[Form] Changed FormBuilder::build() to FormBuilder::create(). You hvae to pass the resulting builder to FormBuilder::add() manually now
[Form] Added FieldTypeValidatorExtension and fixed FQCN of DelegatingValidator
2011-04-24 21:53:24 +02:00
Fabien Potencier
08bf2af455
fixed email
2011-04-24 13:59:46 +02:00
Bernhard Schussek
4f2fee8190
Merge remote branch 'tna/form-validation' into form
2011-04-24 10:43:15 +02:00
Fabien Potencier
b906cb59b8
Merge remote branch 'lsmith77/getAllPrevious'
...
* lsmith77/getAllPrevious:
renamed getPreviouses() to getAllPrevious
2011-04-24 08:46:54 +02:00
Lukas Kahwe Smith
fd97c0caca
renamed getPreviouses() to getAllPrevious
2011-04-24 01:08:15 +02:00
Tobias Naumann
bc9817c85e
[Form] Added FieldTypeValidatorExtension and fixed FQCN of DelegatingValidator
2011-04-24 01:05:12 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Pascal Borreli
b90aba14e6
[FrameworkBundle] Fixed typo in css
2011-04-23 15:17:39 +00:00
Fabien Potencier
5591f34c01
[FrameworkBundle] made some small tweaks
2011-04-23 15:40:32 +02:00
Fabien Potencier
f05801cace
[FrameworkBundle] removed the router.options.resource_type and routing.resource arguments
2011-04-23 15:31:13 +02:00
Fabien Potencier
8db6c28432
removed obsolete config parameter
2011-04-23 15:19:33 +02:00
Fabien Potencier
8cc5caf1f3
changed the default directory for the upload temp dir, made the dir mandatory
2011-04-23 15:09:55 +02:00
Fabien Potencier
02c66e658c
removed the nestingLevel configuration for file temporary storages
2011-04-23 15:06:07 +02:00
Fabien Potencier
800effcccd
Merge remote branch 'lsmith77/remove_interface_injection'
...
* lsmith77/remove_interface_injection:
removed support for interface injection as well as all relevant tests
2011-04-23 12:08:49 +02:00
Fabien Potencier
9bffd8c2db
[FrameworkBundle] moved some default values to the Configuration class
2011-04-23 12:07:14 +02:00
Fabien Potencier
e7892071bb
[FrameworkBundle] fixed wrong usage of obsolete session.class parameter
2011-04-23 11:43:35 +02:00
Lukas Kahwe Smith
d9491a743e
removed support for interface injection as well as all relevant tests
2011-04-23 11:42:31 +02:00
Fabien Potencier
3ed0ff7b03
[FrameworkBundle] removed two parameters
2011-04-23 11:34:17 +02:00
Victor Berchet
209b95f232
[FrameworkBundle] Add a unit test for the TemplateFinder class
2011-04-23 11:24:28 +02:00
Victor Berchet
33dd89fd02
[Template cache warmers] Factorize common code
2011-04-23 11:24:28 +02:00
Fabien Potencier
9a4da005a2
Merge remote branch 'bschussek/form-extensions'
...
* bschussek/form-extensions:
[Form] Refactored code from CoreExtension to new ValidatorExtension
[Form] Added FormTypeExtensionInterface
[Form] Reorganized code into "form extensions"
2011-04-23 09:11:25 +02:00
Fabien Potencier
07933ddfd4
Merge remote branch 'pborreli/fix-typo'
...
* pborreli/fix-typo:
Fixed various typo
2011-04-23 09:07:23 +02:00
Pascal Borreli
b5769c52d6
Fixed various typo
2011-04-22 23:12:50 +00:00
Pascal Borreli
c4623fc2c0
[FrameworkBundle][Windows] Fixed testValidationPaths on windows
2011-04-22 20:49:09 +00:00
Bernhard Schussek
6f1bc356a8
[Form] Refactored code from CoreExtension to new ValidatorExtension
...
CoreExtension is now independent of the Symfony2 validator.
2011-04-22 19:38:21 +02:00
Bernhard Schussek
1ce2db87e2
[Form] Added FormTypeExtensionInterface
...
With implementations of this interface, existing types can be amended.
The Csrf extension, for example, now contains a class FormTypeCsrfExtension
that adds CSRF capabilities to the "form" type.
To register new type extensions in the DIC, tag them with "form.type_extension"
and the name of the extended type as alias.
2011-04-22 19:24:38 +02:00
Bernhard Schussek
54e66c518f
[Form] Reorganized code into "form extensions"
...
The extension classes are now the only constructor argument of the FormFactory class. They replace the existing "type loader" classes.
new FormFactory(array(
new CoreExtension($validator, $storage),
new CsrfExtension($csrfProvider),
new DoctrineOrmExtension($em),
));
Together with a few upcoming commits this mechanism will make
* extension of the form framework in bundles and
* usage of the forms outside of Symfony2
much easier.
2011-04-22 17:41:21 +02:00
Fabien Potencier
7644e86683
refactored session configuration
...
* made the options array only for "global" options that are valid for all session storages
* changed the PDO session storage constructor signature to accept an array of options for DB configuration
* changed the storage_id to be the full service id, instead of just part of it
* removed the class parameter for session as it can be changed via the .class parameter (it was the only example in the framework)
* removed the configuration for the PDO session storage for now
2011-04-22 13:34:57 +02:00
Fabien Potencier
de8f10e236
Merge remote branch 'Infranology/framework-bundle-updated-method-call' into form
...
* Infranology/framework-bundle-updated-method-call: (91 commits)
[FrameworkBundle] updated method call
moved DoctrineMongoDBBundle to its own repository
[AsseticBundle] fixed unit tests
[FrameworkBundle] removed unneeded files in tests
updated vendors
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
[Routing] added getContext() accessor
[HttpFoundation] fixed a potential security problem in Request
updated vendors
Added 201 to the possible status codes that indicate a response is a redirect.
[FrameworkBundle] made ESI URL relative as allowed by the spec (no need to generate absolute URLs)
[AsseticBundle] fixed router and controller
[AsseticBundle] removed fake front controller from URL before creating route
[AsseticBundle] updated twig integration to check debug mode at runtime rather than compile time since twig cannot vary its cache by debug mode
[Routing] the global parameters must not be added in the QS when generating URLs
removed the possibility to pass a message to the trans tag
simplified exceptions as Twig is now smart enough to automatically add line information
made the %count% variable automatically available when using the transchoice filter (similar to how the tag works)
[Container] Added function array_unique on getServiceIds to return only one service name
...
2011-04-22 09:35:11 +02:00
Eriksen Costa
7bbb8beb17
[FrameworkBundle] updated method call
2011-04-21 23:20:52 -03:00
Eriksen Costa
589b0ab4ed
Merge branch 'master' into form-frameworkbundle-form-guessers-fix
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/AddFormGuessersPass.php
src/Symfony/Component/Form/MoneyField.php
2011-04-21 23:03:40 -03:00
Ryan Weaver
fb4eb9c2e9
[FrameworkBundle] Adding check for invalid form type for better exception message
2011-04-21 19:51:10 -05:00
Fabien Potencier
30e907663b
[FrameworkBundle] removed unneeded files in tests
2011-04-21 22:43:38 +02:00
Fabien Potencier
d86aa74e3d
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
2011-04-21 22:34:53 +02:00
Fabien Potencier
4dc5b8ec78
[FrameworkBundle] removed the need to boot a Kernel in a unit test file
2011-04-21 21:49:05 +02:00
Fabien Potencier
314684df24
[FrameworkBundle] made ESI URL relative as allowed by the spec (no need to generate absolute URLs)
...
see http://www.w3.org/TR/esi-lang (Section 3.1 "Relative URIs will be resolved relative to the template.")
2011-04-21 18:54:01 +02:00
Fabien Potencier
ea021062ba
Merge remote branch 'vicb/assetic-cache-warmer'
...
* vicb/assetic-cache-warmer:
[AsseticBundle] Update the cache warmer tests
[AsseticBundle] Fix the cache warmers
2011-04-20 23:31:40 +02:00
Fabien Potencier
9c2d49e4f5
Merge remote branch 'weaverryan/fixtures_old_xml_namespace'
...
* weaverryan/fixtures_old_xml_namespace:
[FrameworkBundle] Upating XML test fixtures for newer namespace
2011-04-20 23:13:20 +02:00
Ryan Weaver
a5aba7dbd7
[FrameworkBundle] Upating XML test fixtures for newer namespace
...
This wasn't actually affecting anything (which is why it wasn't caught), but this is more correct.
2011-04-20 16:08:55 -05:00
Fabien Potencier
7266b41ade
[FrameworkBundle] added the current locale as the default value for _locale when generating routes
2011-04-20 23:03:01 +02:00
Victor Berchet
1191e3aa66
[AsseticBundle] Fix the cache warmers
2011-04-20 17:37:21 +02:00
Victor Berchet
6ae61eb9ff
[FrameworkBundle] Optimization of the method ContainerAwareEventDispacther::dispatch()
2011-04-20 15:05:22 +02:00
Victor Berchet
cc89d4b1a5
[FrameworkBundle] Fix an issue with ContainerAwareEventDispatcher when re-entering a scope
2011-04-20 15:04:56 +02:00
Fabien Potencier
1df8b2ee37
[FrameworkBundle] fixed methods that have been renamed in the previous commit
2011-04-20 14:31:42 +02:00
Fabien Potencier
9d2ea4ec31
Merge remote branch 'kriswallsmith/dic/method-renames'
...
* kriswallsmith/dic/method-renames:
added method renames to UPDATE
[DependencyInjection] renamed ContainerBuilder::remove() as removeDefinition() to be more consistent with other definition-related methods
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 14:28:09 +02:00
Fabien Potencier
477d81f9b1
Merge remote branch 'vicb/service-event-tests'
...
* vicb/service-event-tests:
[FrameworkBundle] Added a test for listener services not available in the current scope
[FrameworkBundle] Add unit tests for ContainerAwareEventDispatcher
[FrameworkBundle] Initialize the listenerId property in the ContainerAwareEventDispatcher class
2011-04-20 14:25:55 +02:00
Fabien Potencier
117321d3c6
replaced array for request context in Routing by a RequestContext class
2011-04-20 14:19:32 +02:00
Kris Wallsmith
cdf706d357
[DependencyInjection] renamed Definition::setArgument() as replaceArgument() to be more specific
2011-04-20 04:47:44 -07:00
Fabien Potencier
07aae98495
[Routing] added support for _scheme requirement
...
The _scheme requirement can be used to force routes to always match one given scheme
and to always be generated with the given scheme.
So, if _scheme is set to https, URL generation will force an absolute URL if the
current scheme is http. And if you request the URL with http, you will be redirected
to the https URL.
2011-04-20 10:49:32 +02:00
Victor Berchet
b4df0ea9ed
[FrameworkBundle] Added a test for listener services not available in the current scope
2011-04-20 09:56:44 +02:00
Victor Berchet
a4c41179e0
[FrameworkBundle] Add unit tests for ContainerAwareEventDispatcher
2011-04-20 09:51:38 +02:00
Victor Berchet
b45d117fbf
[FrameworkBundle] Initialize the listenerId property in the ContainerAwareEventDispatcher class
2011-04-20 09:51:32 +02:00
Ryan Weaver
6f16820328
[FrameworkBundle] Removing unnecessary and buggy functionality from ContainerDebugCommand
2011-04-19 17:01:22 -05:00
Fabien Potencier
91602dfef4
[FrameworkBundle] made possible to interact with the Kernel/Container after a request in functional tests
2011-04-19 22:55:39 +02:00
Fabien Potencier
95d4bcc5db
fixed unit tests (broken by previous commit)
2011-04-19 14:10:41 +02:00
Bernhard Schussek
57722550de
[Form] Added test for 'email' type and fixed a few bugs
2011-04-18 13:04:18 +02:00
Bernhard Schussek
23e9ad7a99
Merge remote branch 'mvrhov/email_type' into mvrhov_merge
2011-04-18 12:57:38 +02:00
Bernhard Schussek
325049ac73
Revert "[Form] removed validation.xml file (not used anymore)"
...
This reverts commit 3e476e1c30
.
2011-04-18 12:53:41 +02:00
Miha Vrhovnik
50011fa344
Added html5 email input to the forms
2011-04-18 11:17:41 +02:00
Fabien Potencier
3e476e1c30
[Form] removed validation.xml file (not used anymore)
2011-04-17 22:33:31 +02:00
Brikou CARRE
e898445b94
removed empty lines/trailing spaces
2011-04-15 21:12:02 +02:00
Bernhard Schussek
a05575bba1
[Form] Removed obsolete code. Use the 'attr' var instead
2011-04-15 15:48:14 +02:00
Bernhard Schussek
d0c572716a
Merge remote branch 'henrikbjorn/form' into henrik_merge
2011-04-15 15:34:29 +02:00
Bernhard Schussek
bc0efff28d
[Form][FrameworkBundle] Fixed escaping of choice widgets
2011-04-15 15:27:15 +02:00
Henrik Bjørnskov
e687685f98
[Form] change FormView::setVar,getVar,getVars,hasVar to set,get,all,has
...
[Form] Fixed {get,set,has}Var references in templating php
[Form] Added getVars to FormView to ease usage in Twig. Also added some phpdoc and cleaned up the get method by adding a default value
[Form] Fix
[Form] Delete file generated by test
2011-04-15 15:25:37 +02:00
Bernhard Schussek
3d92549382
[FrameworkBundle] Fixed various escaping problems and added test cases for them
2011-04-15 14:38:46 +02:00
Bernhard Schussek
990bef8afb
[Form][FrameworkBundle][TwigBundle] Fixed: CSRF fields are not rendered for nested forms anymore
2011-04-15 14:05:33 +02:00
Fabien Potencier
0b563c32ac
Merge remote branch 'schmittjoh/diLogging'
...
* schmittjoh/diLogging:
[DependencyInjection] enable debug related passes only in debug environment
[DependencyInjection] removed pass time
[DependencyInjection] fixes a bug which might have occurred when using property injection under certain circumstances
[DependencyInjection] fixed method name
[FrameworkBundle] whitespace fix
[DependencyInjection] refactored code a bit, added some more logging messages
[DependencyInjection] dump a readable format
[DependencyInjection] better logging
2011-04-15 10:38:54 +02:00
Johannes M. Schmitt
49ecb90221
[DependencyInjection] enable debug related passes only in debug environment
2011-04-15 10:14:13 +02:00
Fabien Potencier
067bd0009e
Merge remote branch 'kriswallsmith/scalar-nodes'
...
* kriswallsmith/scalar-nodes:
removed a lot of special normalization logic in the configuration by using xml values instead of attributes
2011-04-15 07:44:22 +02:00
Johannes M. Schmitt
e5b6ce1d08
[FrameworkBundle] whitespace fix
2011-04-14 21:04:45 +02:00
Johannes M. Schmitt
ee05534815
[DependencyInjection] dump a readable format
2011-04-14 20:42:19 +02:00
Bernhard Schussek
c6fe6a750d
[Form] Added functional test for the 'size' attribute in the select tags of a time field
2011-04-14 15:29:55 +02:00
Bernhard Schussek
44af72bbf4
Merge remote branch 'symfony/master' into experimental
2011-04-14 15:04:59 +02:00
Bernhard Schussek
72b17cd67c
[Form] Renamed TemplateContext to FormView
2011-04-14 15:02:51 +02:00
Bernhard Schussek
ca6ae09779
[Form] Removed TemplateContext::create()
2011-04-14 14:42:17 +02:00
Bernhard Schussek
4907c7d81d
[Form] Added test coverage for expanded choice fields
2011-04-14 14:18:25 +02:00
Bernhard Schussek
c2dcebf6ea
[FrameworkBundle] Added test coverage for FormHelper and fixed various rendering bugs
2011-04-14 13:37:27 +02:00
Samuel Laulhau
db90e0ab8d
fix Undefined property: Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand::
2011-04-14 13:11:03 +02:00
Fabien Potencier
9cc340a262
fixed inconsistencies in file locator classes
2011-04-14 12:52:22 +02:00
Bernhard Schussek
ce5f3073bd
Fixed test suite and names of accessor methods in TemplateContext
2011-04-14 03:52:52 +02:00
Fabien Potencier
56a4f0463a
Merge remote branch 'vicb/fix-dbg-evt-mgr'
...
* vicb/fix-dbg-evt-mgr:
[FrameworkBundle] Fix an issue when adding a scoped service as an event listener
2011-04-13 23:24:04 +02:00
Fabien Potencier
b32a7e935a
simplified code
2011-04-13 23:18:28 +02:00
Fabien Potencier
ea84bb025b
fixed session management in functional tests
2011-04-13 23:11:25 +02:00
Victor Berchet
3322cdbefc
[FrameworkBundle] Fix an issue when adding a scoped service as an event listener
2011-04-13 23:08:08 +02:00
Bernhard Schussek
8031ad77c8
Merge remote branch 'fabpot/form' into fabpot_merge
2011-04-13 15:58:15 +02:00
Kris Wallsmith
672291087c
removed a lot of special normalization logic in the configuration by using xml values instead of attributes
2011-04-13 05:59:46 -07:00
Fabien Potencier
9162e4c760
Merge remote branch 'weaverryan/controller_not_found_exception'
...
* weaverryan/controller_not_found_exception:
[FrameworkBundle] Adding a shortcut method to the controller for throwing the NotFoundHttpException
2011-04-13 14:20:37 +02:00
Fabien Potencier
8e3d125902
fixed CS
2011-04-13 14:07:54 +02:00
Fabien Potencier
4e047b5e27
Merge remote branch 'vicb/event_debug'
...
* vicb/event_debug:
[FrameworkBundle] Make some TraceableEventDispacther properties private
[Event] Tweak phpDoc for consistency
[FrameworkBundle] Add error detection to the TraceableEventDispatcher
2011-04-13 14:07:05 +02:00
Bernhard Schussek
2a18be1c9f
Merge remote branch 'symfony/master' into experimental
2011-04-13 13:53:20 +02:00
Fabien Potencier
6c8e4a567c
Merge remote branch 'francisbesset/translator_validators_fr'
...
* francisbesset/translator_validators_fr:
[FrameworkBundle] Fixed validators translation french message
2011-04-13 13:49:27 +02:00
Fabien Potencier
d46732bb48
Merge remote branch 'schmittjoh/addMissingInterface'
...
* schmittjoh/addMissingInterface:
[FrameworkBundle] added ContainerAwareInterface to services.xml
2011-04-13 13:44:57 +02:00
Fabien Potencier
0c93b6bbe4
Merge remote branch 'vicb/locate_template2'
...
* vicb/locate_template2:
[FrameworkBundle] Enforce templates instances of TemplateReferenceInterface
[FrameworkBundle] Add unit tests for the CacheTemplateLocator class
[FrameworkBundle] Add unit tests for the TemplateLocator class
[TwigBundle] Fix the cache warmer
[TwigBundle] Tweak cache warmer configuration
[FrameworkBundle] Fix resource inheritance in the template cache warmer
2011-04-13 13:38:11 +02:00
Fabien Potencier
92f77cce97
Merge remote branch 'lsmith77/ResolveInvalidReferencesPass'
...
* lsmith77/ResolveInvalidReferencesPass:
updated tests (aka removed exceptions handling)
use synthetic services instead of special exceptions
2011-04-13 11:46:52 +02:00
Johannes Schmitt
2397bcbe94
[DependencyInjection] better logging
2011-04-13 00:51:32 +02:00
Fabien Potencier
d873f21f69
[FrameworkBundle] removed links in exceptions when the file does not exist (mostly useful because of shortcut notations for templates)
2011-04-12 15:23:02 +02:00
Fabien Potencier
b68624aa7f
[FrameworkBundle] tweaked regexp
2011-04-12 15:19:57 +02:00
Johannes M. Schmitt
61dba2dd34
[FrameworkBundle] added ContainerAwareInterface to services.xml
2011-04-12 15:10:15 +02:00
Fabien Potencier
55a8f8d098
extracted common layout for internal/core pages
...
CSS styles should probably be renamed at some point.
2011-04-12 12:32:59 +02:00
Lukas Kahwe Smith
a4b04c4add
use synthetic services instead of special exceptions
2011-04-12 10:07:46 +02:00
Benjamin Eberlei
d27dc86c25
[FrameworkBundle][Validation] Fix bug where YAML Validation files are not detected.
2011-04-11 23:26:11 +02:00
Fabien Potencier
27d2b049f8
Merge remote branch 'Seldaek/init_bundle'
...
* Seldaek/init_bundle:
[FrameworkBundle] Allow init:bundle to be called with / as namespace separator
2011-04-11 18:39:36 +02:00
Fabien Potencier
92c8edc2b5
Merge remote branch 'weaverryan/router_debug_format_tweak'
...
* weaverryan/router_debug_format_tweak:
[FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
2011-04-11 18:39:04 +02:00
Fabien Potencier
2be704e212
Merge remote branch 'weaverryan/request_listener_log_change'
...
* weaverryan/request_listener_log_change:
[FrameworkBundle] Tweak to how the routing parameters are output
2011-04-11 18:38:39 +02:00
Fabien Potencier
78c5a0ac90
Merge remote branch 'weaverryan/assets_install_command_mods'
...
* weaverryan/assets_install_command_mods:
[FrameworkBundle] Improving the output and help messages in the task (no behavioral change)
2011-04-11 18:37:00 +02:00
Fabien Potencier
aa26624161
Merge remote branch 'vicb/template_logical_name'
...
* vicb/template_logical_name:
Display template logical names in exception messages
2011-04-11 18:35:51 +02:00
Fabien Potencier
7f2294395c
[Form] reverted the templating part to be similar to what we have today
2011-04-11 16:42:51 +02:00
Francis Besset
b4d8091cdc
[FrameworkBundle] Fixed validators translation french message
2011-04-10 19:02:03 +02:00
Jordi Boggiano
7d61c003da
[FrameworkBundle] Allow init:bundle to be called with / as namespace separator
2011-04-10 12:22:25 +02:00
Ryan Weaver
409df12a36
[FrameworkBundle] router:debug - better string dumping to avoid namespace escaping
...
Before this change, the var_export causes namespaces to be escaped:
Before: 'Symfony\\Component\\...'
After: Symfony\Component\...
2011-04-09 17:53:33 -05:00
Ryan Weaver
3e41bef1e8
[FrameworkBundle] Tweak to how the routing parameters are output
...
The json_encode is actually really nice, except that it results in the "escaped" namesapces (e.g. Symfony\\Component\\...).
2011-04-09 17:35:31 -05:00
Ryan Weaver
91df6d9f5c
[FrameworkBundle] Improving the output and help messages in the task (no behavioral change)
2011-04-09 09:13:24 -05:00
Victor Berchet
e254ff8cc6
Display template logical names in exception messages
2011-04-08 19:56:12 +02:00
Victor Berchet
e80a693cfe
[FrameworkBundle] Enforce templates instances of TemplateReferenceInterface
2011-04-08 18:54:19 +02:00
Victor Berchet
c45d5c89cc
[FrameworkBundle] Add unit tests for the CacheTemplateLocator class
2011-04-08 18:54:19 +02:00
Victor Berchet
27a327e0de
[FrameworkBundle] Add unit tests for the TemplateLocator class
2011-04-08 18:54:19 +02:00
Victor Berchet
7cc51d8596
[FrameworkBundle] Fix resource inheritance in the template cache warmer
2011-04-08 18:54:19 +02:00
Johannes M. Schmitt
6408d5fc03
[FrameworkBundle] made css rule a bit more conservative
2011-04-08 17:49:56 +02:00
Fabien Potencier
a230090537
removed some json_encode() calls to use the new getLogicalName() method instead
2011-04-08 17:28:27 +02:00
Martin Hason
6c4801945e
[FrameworkBundle] added getLogicalName() method to TemplateReference
2011-04-08 10:32:46 +02:00
Ryan Weaver
5ecf1cd1d1
[FrameworkBundle] Taking advantage of the known type of $template to render meaningfull information about the template
...
The $template variable is not type-hinted, but this is just because the `locate` method must follow the signature of the interface.
According to the PHPDoc, the $template variable is in fact an instance of TemplateReferenceInterface, meaning we can call getPath()
on it. The previous method of json_encode just returned two empty braces, at least in my experience.
2011-04-07 18:29:34 -05:00
Bernhard Schussek
67582c9a5c
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
2011-04-06 16:06:26 +02:00
Kris Wallsmith
d0f45fd3b6
[FrameworkBundle] added configuration for caching validator metadata
2011-04-06 04:07:38 -07:00
Victor Berchet
f331a7f8f9
[FrameworkBundle] Make some TraceableEventDispacther properties private
2011-04-06 09:42:48 +02:00
Victor Berchet
745d144e79
[Event] Tweak phpDoc for consistency
2011-04-06 09:42:48 +02:00
Victor Berchet
a6c3b4bfa2
[FrameworkBundle] Add error detection to the TraceableEventDispatcher
2011-04-06 09:42:38 +02:00
Kris Wallsmith
eca0243d3e
[FrameworkBundle] added condition so invalid session config isn't created
2011-04-05 15:42:43 -07:00
Fabien Potencier
839782b6e4
[FrameworkBundle] added support for routing redirection
2011-04-05 15:21:32 +02:00
Victor Berchet
b640fcb0f0
[Config] Introduction of an ConfigurationInterface
2011-04-05 11:26:28 +02:00
Fabien Potencier
dfbc0a899d
Merge remote branch 'vicb/link_format'
...
* vicb/link_format:
[Templating] Fix for getting the file link format from XDebug settings
2011-04-05 10:52:50 +02:00
Victor Berchet
170375a946
[Templating] Fix for getting the file link format from XDebug settings
2011-04-05 10:36:11 +02:00
Fabien Potencier
6daf09a61d
Merge remote branch 'subsven/master'
...
* subsven/master:
Add (Boolean) cast to constructor arguments
Add a configuration option to restrict profiler storage to the master request
2011-04-05 10:03:58 +02:00
Fabien Potencier
b126c50aea
[FrameworkBundle] fixed CS
2011-04-05 08:24:46 +02:00
Fabien Potencier
9ff8080d9f
Merge remote branch 'danielholmes/phpunit_xml_dir'
...
* danielholmes/phpunit_xml_dir:
[FrameworkBundle] removed function for checking for phpunit.xml in cwd
[FrameworkBundle] fixed error with arg reversing from previous changes
[FrameworkBundle] refactored getPhpUnitXmlDir in to separate parts and added support for --confguration=... style phpunit flag
[FrameworkBundle] fixed getPhpUnitXmlDir to work with directory paths with spaces in them
2011-04-05 08:16:53 +02:00
Fabien Potencier
ea7a87a1b7
[FrameworkBundle] simplified code
2011-04-05 08:10:17 +02:00
Fabien Potencier
515b6e48a0
merged vicb/event_dispatcher
2011-04-05 08:08:57 +02:00
Fabien Potencier
747c98f178
[FrameworkBundle] removed the debug.file_link_format parameter
2011-04-05 08:03:29 +02:00
Fabien Potencier
4d4876d9ba
Merge remote branch 'vicb/file_link_format'
...
* vicb/file_link_format:
[FrameworkBundle] Make specifying a custom file_link_format easier
[FrameworkBundle] Fix for getting the file link format fallback to XDebug configuration
2011-04-05 07:57:07 +02:00
Fabien Potencier
d61a685786
Merge remote branch 'vicb/wdtb_and_events'
...
* vicb/wdtb_and_events:
[WebProfilerBundle] Event panel: details & links to the listener method when applicable
[WebProfilerBundle] Tweak html markup and css
[WebProfilerBundle] Update the event panel layout
[WebProfilerBundle] Style abbr elements
2011-04-05 07:46:34 +02:00
Victor Berchet
b5f3d14714
[WebProfilerBundle] Event panel: details & links to the listener method when applicable
2011-04-05 01:23:31 +02:00
Victor Berchet
5a1d5e5082
[FrameworkBundle] Make specifying a custom file_link_format easier
2011-04-05 01:15:21 +02:00
Victor Berchet
9998ab18e9
[FrameworkBundle] Fix for getting the file link format fallback to XDebug configuration
2011-04-04 23:39:37 +02:00
Victor Berchet
1f1ee3cb01
[WebProfilerBundle] Update the event panel layout
2011-04-04 20:15:39 +02:00
Victor Berchet
b95295caac
[FrameworkBundle] A listener is always an object
2011-04-04 19:51:14 +02:00
Victor Berchet
46480b7e89
[FrameworkBundle] Fix the traceable event dispatcher
2011-04-04 19:22:55 +02:00
Victor Berchet
852d5c37df
[FrameworkBundle] Delete .gitkeep files
2011-04-04 17:40:18 +02:00
Bernhard Schussek
bfa3c71140
[Form] Added Bundle suffixes again
2011-04-04 15:33:21 +02:00
Bernhard Schussek
0cf8cc762a
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/money_field.html.php
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/percent_field.html.php
2011-04-04 15:16:08 +02:00
Fabien Potencier
01ee1bfed1
merged stof/monolog
2011-04-04 12:29:15 +02:00
Fabien Potencier
1cb03b1448
[FrameworkBundle] removed templating.loader.cache.path parameter
2011-04-04 11:56:41 +02:00