Fabien Potencier
ec066a0843
fixed misplaced file
2010-09-20 10:56:35 +02:00
Jordi Boggiano
71cc3a7773
[Form] avoid double-escape and then unescape
...
htmlspecialchars' fourth parameter allows you to avoid double-escaping in the first place
2010-09-19 08:35:50 +02:00
Fabien Potencier
d657adbfa2
removed Symfony\Framework
...
Things have been moved to Symfony\Component\HttpKernel
and Symfony\Bundle\FrameworkBundle
The kernel configuration namespace was removed and merged
with the main web configuration namespace (kernel:config => web:config,
kernel:test => web:test, and kernel:session => web:session):
Before:
<kernel:config charset="UTF-8" error_handler="null" />
<web:config csrf-secret="xxxxxxxxxx">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
After:
<web:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
<web:router resource="%kernel.root_dir%/config/routing.xml" />
<web:validation enabled="true" annotations="true" />
</web:config>
Renamed classes:
Symfony\{Framework => Bundle\FrameworkBundle}\Cache\Cache
Symfony\{Framework => Bundle\FrameworkBundle}\Client
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcher
Symfony\{Framework => Bundle\FrameworkBundle}\Debug\EventDispatcherTraceableInterface
Symfony\{Framework => Bundle\FrameworkBundle}\EventDispatcher
Symfony\{Framework => Component\HttpFoundation}\UniversalClassLoader
Symfony\{Framework => Component\HttpKernel}\Bundle\Bundle
Symfony\{Framework => Component\HttpKernel}\Bundle\BundleInterface
Symfony\{Framework => Component\HttpKernel}\ClassCollectionLoader
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorException
Symfony\{Framework => Component\HttpKernel}\Debug\ErrorHandler
Symfony\{Bundle\FrameworkBundle => Component\HttpKernel}\Debug\ExceptionListener
Symfony\{Framework => Component\HttpKernel}\Kernel
2010-09-17 12:58:24 +02:00
Fabien Potencier
1990fc543b
[HttpKernel] added Closure support to ControllerResolver
2010-09-16 10:53:59 +02:00
Fabien Potencier
7734f44bc5
[Process] added a Process:isSucessful() method
2010-09-16 08:55:44 +02:00
Fabien Pennequin
56935f85df
[Console] Fixed invalid help command shortcut
2010-09-14 09:18:47 +02:00
Jeremy Mikola
a86bac44ce
[Validator] Remove leading '@' when validating email domain MX record
2010-09-10 20:42:22 +02:00
Jeremy Mikola
77602239a4
[Form] Add new fields in CollectionField::setData()
2010-09-10 19:31:02 +02:00
Jeremy Mikola
57c0ce0ec1
[Form] Remove support for ArrayObject as ChoiceField's choices option
...
Internally, ChoiceField expects both choices and preferred_choices to be a simple array, so I replaced incomplete bits of code that attempted to not modify a possible ArrayObject and instead added type checks in the configure() method (with unit tests for expected exceptions).
2010-09-10 19:30:59 +02:00
Fabien Potencier
226277fd0e
added a way to activate CSRF protection from the configuration
2010-09-10 14:32:33 +02:00
Fabien Potencier
0de1c08d8d
reverted "[Form] fixed default CSRF token generation as a token must be tied to the user somewhat"
...
This reverts commit d326c398e2
.
2010-09-10 14:16:59 +02:00
Fabien Potencier
d326c398e2
[Form] fixed default CSRF token generation as a token must be tied to the user somewhat
2010-09-10 14:13:56 +02:00
Antoine Hérault
4237fdd918
[Form] set file field as multipart
2010-09-10 12:34:32 +02:00
Antoine Hérault
7bd76610ca
[HttpFoundation] fixed request files handling
2010-09-10 12:34:28 +02:00
Fabien Potencier
63793dd62e
[Form] added missing use statement
2010-09-10 09:21:29 +02:00
Jeremy Mikola
fb24b291c8
[Form] FieldGroup::addError() can now map errors to fields within nested FieldGroups
...
Property paths such as fields[group].fields[innerGroup].data were not being resolved correctly, since the second iteration of addError() (based on "group") would attempt to call get('fields') instead of get('innerGroup'). Solution is to remember to bump the propertyPath forward if we're at the fields property
2010-09-09 16:29:38 -04:00
Jeremy Mikola
9be7cbb115
[Form] CollectionField::setData() should remove old fields missing from new data
2010-09-09 16:27:18 -04:00
Jeremy Mikola
6fc9b68fa7
[Form] Replace unset() with non-destructive logic in case the "choices" option is an object.
2010-09-09 16:01:34 -04:00
Fabien Potencier
50f039844b
[Form] removed obsolete use statements
2010-09-09 18:29:50 +02:00
Fabien Potencier
a141c98917
[HttpFoundation] moved File Component into the HttpFoundation one
2010-09-09 17:01:48 +02:00
Fabien Potencier
fc9325a737
fixed file upload
2010-09-09 16:07:12 +02:00
Fabien Potencier
40c0fe854f
[Form] added a FileField
2010-09-09 15:47:44 +02:00
Fabien Potencier
c53ebe7a8e
[Form] fixed Form::bind() when no values are submitted
2010-09-09 15:23:28 +02:00
Bulat Shakirzyanov
bb51e7cb26
[Validator] fixed Xliff loader to use forward slashes in file path
2010-09-09 08:01:46 +02:00
Kris Wallsmith
1aefe7a762
[Process] made cwd argument optional
2010-09-09 06:58:28 +02:00
Marc Weistroff
15d840060b
Fixed wrong variable name in Esi.
2010-09-07 18:42:54 +02:00
Fabien Potencier
c39534e258
[Routing] removed the autoloading trick, which is not needed anymore
2010-09-07 16:15:13 +02:00
Fabien Potencier
4d669d106e
[Validator] changed Xliff loader to get XSD locally
2010-09-07 14:30:50 +02:00
Fabien Potencier
dadfaa271f
[Validator] fixed indentation
2010-09-07 14:18:00 +02:00
Fabien Potencier
b753ea45b2
[Routing] added 'defaults' support in Annotation class loader
2010-09-07 13:55:45 +02:00
Fabien Potencier
130494066d
[Routing] added an annotation loader
2010-09-07 09:44:08 +02:00
Kris Wallsmith
1443d4a0ba
[HttpFoundation] updated getQueryString() to work in more scenarios
2010-09-06 08:48:11 +02:00
Fabien Potencier
7be00aa34e
fixed previous commit
2010-09-03 16:18:04 +02:00
Sébastien HOUZE
179fe8e623
Symfony\Component\Routing\Route::setRequirements() _method requirement can be an array, no substr on it
2010-09-03 12:01:57 +02:00
Fabien Potencier
4c17ce8e5e
changed calls to has() to use the new proxy method
2010-09-03 11:38:21 +02:00
Bulat Shakirzyanov
2ccaafa561
[DpependencyInjection] added hasParameter()
2010-09-03 11:37:03 +02:00
Fabien Potencier
81b73dc9e6
[Form] fixed problem with PHPUnit mocks (ugly hack but it works for now)
2010-09-03 09:56:52 +02:00
Jordi Boggiano
1719bfb871
[DomCrawler] Fixed URIs being incorrectly generated
...
When the path is not ending with a slash and the form/link has only ?get=params then the last bit of the path was incorrectly stripped
2010-09-03 09:13:07 +02:00
Jonathan H. Wage
436ca95f65
Fixing coding standards.
2010-09-02 21:38:31 +02:00
Jonathan H. Wage
c1d0262c19
Fixing issue with FieldGroup and its __clone() method not properly setting the parent.
2010-09-02 20:53:40 +02:00
Fabien Potencier
0b378d1b3e
added a way to conditionnaly enable the profiler based on the request
2010-09-02 13:54:32 +02:00
Fabien Potencier
4f337615e3
[HttpFoundation] added request matcher
2010-09-02 13:39:49 +02:00
Fabien Potencier
af96c87104
[DependencyInjection] added methods to remove an alias and a definition from a ContainerBuilder instance
2010-09-02 12:20:20 +02:00
Fabien Potencier
7c1b42e81b
[DependencyInjection] added a way to inject an anonymous service in an extension configuration
...
<foo:bar>
<service class="Foo" />
<service class="Bar" />
</foo:bar>
In the foo:bar extension method, you can retrieve the services with:
// always an array of services
$config['_services']
2010-09-02 12:17:32 +02:00
Fabien Potencier
7e2f135245
simplified Profiler method names
2010-09-01 16:53:28 +02:00
Fabien Potencier
15cd2643c0
[HttpFoundation] added Request::getClientIp()
2010-09-01 13:56:20 +02:00
Fabien Potencier
3e24cef256
[HttpFoundation] fixed Request::hasSession()
2010-09-01 11:18:07 +02:00
Fabien Potencier
2d04ca3443
[EventDispatcher] added a way to disconnect all listeners for an event name
2010-09-01 11:10:31 +02:00
Fabien Potencier
84c383d729
[HttpKernel] fixed exception constructor signature
2010-09-01 09:48:48 +02:00
Fabien Potencier
48b6057c3a
[HttpKernel] fixed Exception classes to implement the full constructor
2010-09-01 08:49:52 +02:00
Fabien Potencier
ab9be87354
[HttpKernel] fixed FlattenException status code
2010-09-01 08:49:19 +02:00
Fabien Potencier
ad835f8a16
[HttpKernel] added purge() in the profiler storage interface
2010-09-01 08:21:38 +02:00
Fabien Potencier
60ea1eef69
added a configuraiton to allow the profiler to be enabled only when an exception occurs
2010-08-31 22:22:31 +02:00
Fabien Potencier
1e1a4113c7
[HttpKernel] fixed missing use statement
2010-08-31 19:21:00 +02:00
Fabien Potencier
d17c2edb49
fixed perms
2010-08-30 20:46:16 +02:00
Noël GUILBERT
d40d1746e0
[ZendBundle] added an option to register zend logger as an error handler
2010-08-30 19:03:12 +02:00
Fabien Potencier
8c6478dab9
[HttpKernel] added import/export to Profiler
2010-08-30 16:04:50 +02:00
ornicar
9588860716
[HttpFoundation] fixed locale accessors in Session class
2010-08-30 07:12:05 +02:00
Fabien Potencier
ed33ce4d5f
[HttpFoundation] fixed typo
2010-08-29 20:28:33 +02:00
Fabien Potencier
478fcca88d
[Templating] added Engine::exists()
2010-08-29 16:09:02 +02:00
Fabien Potencier
0208800459
refactored exception management (removed the ExceptionManager)
2010-08-29 12:35:48 +02:00
Fabien Potencier
72db4c7342
refactored Profiler and DataCollector classes (the WDT has been removed and will be re-added in the upcoming WebProfilerBundle)
2010-08-29 12:17:06 +02:00
Fabien Potencier
83a64df542
added ContainerAwareInterface
2010-08-28 09:43:10 +02:00
Fabien Potencier
92f4b92cbb
[HttpFoundation] fixed Session serialization
2010-08-27 09:07:47 +02:00
Fabien Potencier
82ff79064a
added a priority to the event dispatcher listeners
2010-08-26 14:08:42 +02:00
Fabien Potencier
086708003a
[HttpFoundation] added a keys() method to *Bag classes
2010-08-26 10:56:46 +02:00
Fabien Potencier
bf67562268
[Templating] fixed PHP renderer when using a template variable named 'template'
2010-08-25 11:30:59 +02:00
Fabien Potencier
a432417ab9
[DependencyInjection] added a way to ignore errors when importing a non-existent file (useful when you want to include an optional service file)
2010-08-24 16:37:41 +02:00
Fabien Potencier
b1e79963b1
[DependencyInjection] moved extension loading in the freezing process (opens more possibilities in the loading order of configs)
2010-08-24 16:25:08 +02:00
Fabien Potencier
ec8500bd64
[FrameworkBundle] added support for previous exceptions in the exception pages
2010-08-24 14:01:57 +02:00
Fabien Potencier
fe78d5f0f0
added a way to disable the profiler
2010-08-22 22:35:44 +02:00
Fabien Potencier
1277568997
[HttpFoundation] fixed Session
2010-08-22 15:31:51 +02:00
Fabien Potencier
2746bcc84c
[HttpFoundation] added automatic session start() when changing something in the session, renamed accessor methods, added remove()/has() methods
2010-08-20 23:21:39 +02:00
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00