summaryrefslogtreecommitdiffstats
path: root/Http/EntryPoint
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '2.8' into 3.0Tobias Schultze2015-12-151-1/+1
|\
| * Merge branch '2.7' into 2.8Tobias Schultze2015-12-151-1/+1
| |\
| | * Merge branch '2.3' into 2.7Tobias Schultze2015-12-151-1/+11
| | |\
| | | * [Security] backported phpdoc from Guard component.Hugo Hamon2015-12-101-1/+11
| | | |
* | | | [Security] remove deprecated HTTP digest auth keyChristian Flothmann2015-11-281-10/+0
|/ / /
* | | Renamed key to secretv2.8.0-BETA1WouterJ2015-11-071-6/+16
| | |
* | | Thanks fabbot!Ryan Weaver2015-09-201-1/+1
| | |
* | | Improving phpdoc on AuthenticationEntryPointInterface so people that ↵Ryan Weaver2015-09-201-3/+13
|/ / | | | | | | implement this understand it
* | Merge branch '2.6' into 2.7Fabien Potencier2015-03-121-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.6: [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age Changed visibility of setUp() and tearDown to protected [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback Added default button class used HTML5 meta charset tag and removed hardcoded ones Revert "bug #13715 Enforce UTF-8 charset for core controllers (WouterJ)" fixed XSS in the exception handler Php Inspections (EA Extended) - static code analysis includes: [2.3] Remove most refs uses Test with local components instead of waiting for the subtree-splitter when possible Conflicts: .travis.yml
| * Php Inspections (EA Extended) - static code analysis includes:Vladimir Reznichenko2015-03-071-1/+1
| | | | | | | | | | | | | | | | Reduce couple count calls in [Yaml] Modernize type casting, fix several strict comparisons Unsets merged Elvis operator usage Short syntax for applied operations
* | [DX] Attempt to improve logging messages with parametersIltar van der Berg2015-01-161-1/+1
|/
* made phpdoc types consistent with those defined in HackFabien Potencier2014-04-151-1/+1
|
* made types consistent with those defined in HackFabien Potencier2014-04-131-1/+1
|
* removed unneeded use statementsFabien Potencier2014-01-014-4/+0
|
* Merge branch '2.2' into 2.3Fabien Potencier2013-09-294-1/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | * 2.2: fixed Client when using the terminable event Fix problem with Windows file links (backslash in JavaScript string) [Security] fixed wrong phpdoc [Routing] removed extra argument [HttpFoundation] Header `HTTP_X_FORWARDED_PROTO` can contain various values Some proxies use `ssl` instead of `https`, as well as Lighttpd mod_proxy allows value chaining (`https, http`, where `https` is always first when request is encrypted). Added doc comments Conflicts: src/Symfony/Component/HttpFoundation/Request.php
| * Added doc commentsPiotr Antosik2013-09-194-1/+16
| |
* | Merge branch '2.2' into 2.3Fabien Potencier2013-09-191-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.2: Fix some annotates [FrameworkBundle] made sure that the debug event dispatcher is used everywhere [HttpKernel] remove unneeded strtoupper updated the composer install command to reflect changes in Composer Conflicts: src/Symfony/Component/Console/Application.php src/Symfony/Component/Console/Command/Command.php src/Symfony/Component/Console/Input/InputDefinition.php src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php src/Symfony/Component/Form/Form.php src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php src/Symfony/Component/HttpKernel/DependencyInjection/RegisterListenersPass.php src/Symfony/Component/HttpKernel/Tests/DependencyInjection/RegisterListenersPassTest.php src/Symfony/Component/Locale/Locale.php src/Symfony/Component/Locale/README.md src/Symfony/Component/Locale/Stub/DateFormat/FullTransformer.php
| * Fix some annotatesbronze1man2013-09-191-0/+1
| |
* | [Security] Return 401 when using use_forward for form authenticationGunnar Lium2013-03-231-1/+6
|/
* Remove use of deprecated HttpKernel LoggerInterfaceJordi Boggiano2013-01-091-1/+1
|
* [Security] removed the 401 error custom status messageFabien Potencier2012-11-062-2/+2
|
* fixed CSFabien Potencier2012-07-091-1/+1
|
* fixed CSFabien Potencier2012-05-181-3/+3
|
* fixed phpdoc @param alignmentFabien Potencier2012-05-151-3/+3
|
* removed unused use statementsFabien Potencier2011-11-241-1/+0
|
* Added missing method to HTTP Digest entry pointStefano Sala2011-09-061-0/+10
|
* [Security] Fix http retry authentication entry pointAntoine Hérault2011-06-251-1/+1
|
* [Security] Fix http form authentication entry pointAntoine Hérault2011-06-251-1/+1
|
* [Security] Fix http digest authentication entry pointAntoine Hérault2011-06-251-1/+1
|
* [Security] Fix http basic authentication entry pointAntoine Hérault2011-06-251-1/+1
|
* [Security] added an HttpUtils class to manage logic related to Requests and ↵Fabien Potencier2011-06-221-6/+7
| | | | | | | | | | | | | | Responses This change removes the need for the {_locale} hack. Now, all paths in the Security component can be: * An absolute path (/login) * An absolute URL (http://symfony.com/login) * A route name (login) So, if you want to use a path that includes a global parameter (like _locale), use a route instead of a path.
* [Security] fixed sub-requests creation (closes #1212)Fabien Potencier2011-06-081-1/+3
|
* Added the support of the locale in the login path and the check pathChristophe Coevoet2011-06-061-2/+3
|
* [Phpdoc] Cleaning/fixingPascal Borreli2011-04-231-2/+2
|
* [Security] fixed URLFabien Potencier2011-04-121-1/+1
|
* [Security] removed un-needed event parameter from many interfacesJohannes Schmitt2011-03-185-14/+13
|
* [Security] Fixed method names in the Firewall listenersBernhard Schussek2011-03-171-1/+1
|
* Switched from Doctrine's EventManager implementation to the EventManager ↵Bernhard Schussek2011-03-135-11/+11
| | | | clone in Symfony2 (now called EventDispatcher again)
* Merge remote branch 'symfony/master' into event-managerBernhard Schussek2011-03-134-19/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventManager.php src/Symfony/Bundle/WebProfilerBundle/WebDebugToolbarListener.php src/Symfony/Component/Security/Http/Firewall.php src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php src/Symfony/Component/Security/Http/Firewall/AbstractPreAuthenticatedListener.php src/Symfony/Component/Security/Http/Firewall/AccessListener.php src/Symfony/Component/Security/Http/Firewall/AnonymousAuthenticationListener.php src/Symfony/Component/Security/Http/Firewall/BasicAuthenticationListener.php src/Symfony/Component/Security/Http/Firewall/ChannelListener.php src/Symfony/Component/Security/Http/Firewall/ContextListener.php src/Symfony/Component/Security/Http/Firewall/DigestAuthenticationListener.php src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php src/Symfony/Component/Security/Http/Firewall/ListenerInterface.php src/Symfony/Component/Security/Http/Firewall/LogoutListener.php src/Symfony/Component/Security/Http/Firewall/RememberMeListener.php src/Symfony/Component/Security/Http/Firewall/SwitchUserListener.php tests/Symfony/Tests/Component/Security/Http/Firewall/RememberMeListenerTest.php
| * [Security] various changes, see belowJohannes Schmitt2011-03-104-19/+9
| | | | | | | | | | | | - visibility changes from protected to private - AccountInterface -> UserInterface - SecurityContext::vote() -> SecurityContext::isGranted()
* | Renamed EventArgs classes and adapted remaining code to EventManagerBernhard Schussek2011-03-075-11/+11
| | | | | | | | | | | | | | 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.
* | Merge remote branch 'symfony/master' into event-managerBernhard Schussek2011-03-075-10/+10
|\ \ | |/
| * replaced symfony-project.org by symfony.comFabien Potencier2011-03-065-10/+10
| |
* | Replaced EventDispatcher by Doctrine's EventManager implementationBernhard Schussek2011-03-055-12/+12
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(...));
* replaced Response::createRedirect by a new RedirectResponse classFabien Potencier2011-02-212-2/+4
|
* remove response as a serviceFabien Potencier2011-02-212-8/+2
| | | | | | | | | | | | | | | | 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);
* [Security] Refactored security context, moved getUser() implementation to ↵Johannes Schmitt2011-02-121-1/+0
| | | | templating
* fixed previous commitFabien Potencier2011-02-041-1/+1
|
* some fixes by just "blindly" trying to make phpStorm code analysis happierLukas Kahwe Smith2011-02-042-1/+2
|
* [Security] bug fix in FormAuthenticationEntryPointJohannes M. Schmitt2011-02-025-8/+46
|
* namespace changesJohannes M. Schmitt2011-01-264-0/+231
Symfony\Component\Security -> Symfony\Component\Security\Core Symfony\Component\Security\Acl remains unchanged Symfony\Component\HttpKernel\Security -> Symfony\Component\Security\Http