Bernhard Schussek
1b2ca259f1
[Validator] Fixed string-based constraint validators to accept empty values
2010-12-10 14:28:11 +01:00
Gustavo Falco
af291bb0f1
[Validator] Fixed UrlValidator to accept empty strings ( closes #9297 )
2010-12-10 14:28:07 +01:00
GordonsLondon
f73b6b4e1c
[PropertyPath] Fixed usage of __get() and __set() when accessing properties that exist in the object but are not public
2010-12-10 14:28:04 +01:00
Bernhard Schussek
b4c359357f
[FrameworkBundle] Fixed choice_field.php template to use isChoiceGroup()
2010-12-10 14:28:00 +01:00
Bernhard Schussek
e80aa9a5ab
[Form] Fixed: The data in a CollectionField is resized down if fields are removed
2010-12-10 14:27:57 +01:00
Bernhard Schussek
131b3fe373
[Form] Refactored Field and FieldGroup to facilitate modifications in subclasses
2010-12-10 14:27:54 +01:00
pablodip
984a857a96
[Validator] fixed the static method loader to not repeat the loading when the static method is in the parent classes
2010-12-10 14:27:49 +01:00
Jeremy Mikola
c8c9fba7d9
[Routing] Add optional "type" param for loader hinting when resource strings are ambiguous
...
Currently, ambiguities only arise for PHP files, as PhpFileLoader and AnnotationFileLoader would both claim support. Future conflicts may occur if the XML, YAML, or PHP loaders were to receive Directory and Glob loaders (as annotations have).
Since the "type" parameter is optional, loader resolution will default to awarding resolution to the first loader to claim support. A previous hack in PhpFileLoader to avoid an AnnotationFileLoader conflict was removed, so that should be the only lost backwards compatibility with this patch. Unit tests were also created for the various loader classes, although only the supports() method is being tested.
This implementation was proposed on the symfony-dev mailing list in response to Fabien's RFC for custom loader notation: http://groups.google.com/group/symfony-devs/browse_thread/thread/3104c1a9e45799d2/20fbe393c1afe088
2010-12-10 09:48:10 +01:00
Fabien Potencier
0c0853c636
fixed unit tests
2010-12-10 09:30:44 +01:00
Fabien Potencier
b3149a235b
[HttpKernel] fixed request management in HttpKernel
2010-12-10 09:30:32 +01:00
Fabien Potencier
bff58d14d7
[HttpKernel] fixed request management in HttpKernel
2010-12-10 09:24:14 +01:00
Fabien Potencier
da26584735
[HttpKernel] fixed request management in HttpKernel
2010-12-10 09:21:31 +01:00
Fabien Potencier
55bed307f1
removed HttpException base class, refactored FlattenException class
2010-12-10 09:16:42 +01:00
Fabien Potencier
23fbd87164
[HttpKernel] removed UnauthorizedHttpException as this should be handled by the Security component
2010-12-10 09:02:26 +01:00
Fabien Potencier
131776001f
removed ForbiddenHttpException
...
Both HttpKernel and Security define a 403 exception:
* Symfony\Component\HttpKernel\Exception\ForbiddenHttpException
* Symfony\Component\Security\Exception\AccessDeniedException
The one in HttpKernel has been removed in favor of the Security one.
2010-12-10 09:00:06 +01:00
Fabien Potencier
d036448542
[HttpKernel] simplified code
2010-12-10 08:50:45 +01:00
Ryan Weaver
be94daba66
[HttpKernel] Reworking the HttpException class constructor to be more consistent with normal OO classes. Additionally, the base HttpException constructor was changed to require a code argument as it doesn't make sense to create an exception that will translate into a status code of 0 (in fact it'll cause a strange error).
2010-12-10 08:47:25 +01:00
Jonathan H. Wage
ab7ad4808b
[DependencyInjection] Allow parameter replacement within extension configurations.
2010-12-10 08:45:49 +01:00
Kris Wallsmith
5da423be20
[HttpKernel] Added getRequest() to HttpKernelInterface.
2010-12-10 08:43:05 +01:00
Fabien Potencier
973a8f1f24
fixed typo
2010-12-10 07:34:06 +01:00
Fabien Potencier
626af39800
fixed tabs
2010-12-09 16:37:02 +01:00
Fabien Potencier
3dfd59b6bc
updated comment for the request service
2010-12-09 09:43:37 +01:00
Fabien Potencier
04f8bc7317
fixed default httpkernel configuration
2010-12-09 09:41:50 +01:00
Jeremy Mikola
7eea4882db
[HttpKernel] Move request-stashing behavior to the Kernel class
...
Previously, HttpKernel performed request-stashing. By moving this to the Kernel class, the request is now available immediately after the kernel becomes aware of it. If the kernel is allowed to boot lazily (during the first call to handle()), this also allows an actual master Request to be available during booting.
The old "request" service definition (with a bogus class name) can be replaced with a factory-aware definition that retrieves the request directly from the kernel.
2010-12-09 09:38:17 +01:00
Jeremy Mikola
2ff474fc3a
[HttpKernel][FrameworkBundle] Rename BaseHttpKernel to HttpKernel
...
The original HttpKernel class can be deleted, as it's request-stashing will be moved to the Kernel class. FrameworkBundle's list of compiled classes must also be modified to respect this change.
2010-12-09 09:38:13 +01:00
Fabien Potencier
7c653305a3
[DependencyInjection] fixed typo
2010-12-08 14:33:58 +01:00
Fabien Potencier
39721f25bd
fixed indentation
2010-12-08 08:28:30 +01:00
Johannes M. Schmitt
d94420f3a5
logout refactoring
2010-12-08 08:26:58 +01:00
Kévin Dunglas
915973f458
[DoctrineMongoDbLogger] fixed the "Call to a member function getDebugLogger() on a non-object" error
2010-12-08 08:22:34 +01:00
mwsaz
99bda3d8c4
[Form] removed extra blank line in textarea
2010-12-08 08:19:18 +01:00
Philip Dahlstrøm
b171ab9b7d
Added renderer for PasswordField.
2010-12-08 08:17:49 +01:00
Johannes M. Schmitt
eef6578c15
fixes bugs due to not disconnected listeners
2010-12-08 08:14:33 +01:00
Henrik Bjørnskov
50cfd4a7bf
[FrameworkBundle] Create the bundles directory before trying to symlink else it will throw an error
2010-12-08 08:12:16 +01:00
Jordi Boggiano
70a793b33d
[DoctrineBundle] Make the proxy dir configurable
2010-12-08 08:10:41 +01:00
Jordi Boggiano
fb41389999
[HttpFoundation] Fixed Request::create handling of full URIs
2010-12-08 07:52:33 +01:00
Jordi Boggiano
beecd1fef8
[HttpKernel] Log query string as well as path in Cache debug headers
2010-12-08 07:49:19 +01:00
Jordi Boggiano
f6bc712028
[HttpFoundation] Always force the request method to full caps
2010-12-08 07:28:18 +01:00
Fabien Potencier
e8672740c7
[HttpFoundation] allowed any HTTP method for a Request
2010-12-08 07:24:37 +01:00
Fabien Potencier
38d11aaf1a
[DependencyInjection] fixed template support in security extension
2010-12-08 07:08:16 +01:00
Fabien Potencier
7cb5dd1fdc
[Security] fixed typo
2010-12-08 07:06:08 +01:00
Jordi Boggiano
a832885960
[HttpFoundation] Fixed default netmask to be restricted to one IP
2010-12-06 18:32:39 +01:00
Kris Wallsmith
3e02eafc70
Fixed visibility of PHPUnit setUp and tearDown methods.
2010-12-06 15:52:23 +01:00
Justin Hileman
112fb5ad99
Fix Request::overrideGlobals $_COOKIE global var reference.
2010-12-06 08:12:40 +01:00
Fabien Potencier
2547bbffc3
a-[Console] added some phpdoc
2010-12-06 08:11:27 +01:00
Jonathan H. Wage
bc7657bd8a
Removing the symfony version of DisconnectedClassMetadataFactory as the orm has it now.
2010-12-03 00:07:04 +01:00
Jonathan H. Wage
53c1f1f509
Fixing issue with memcache di configuration.
2010-12-03 00:06:57 +01:00
GordonsLondon
0b26be1765
[DoctrineBundle] Fixed Memcache bug in extension
2010-12-03 00:06:52 +01:00
Steven Surowiec
87aeb0e603
[DoctrineMongoDBBundle] Added tag to document manager services
2010-12-03 00:06:47 +01:00
Steven Surowiec
643c09a28e
[DoctrineBundle] Tabs to spaces
2010-12-03 00:06:43 +01:00
Steven Surowiec
714c294f47
[DoctrineBundle] Added tag to entity manager services
2010-12-03 00:06:40 +01:00