summaryrefslogtreecommitdiffstats
path: root/Core/Util
Commit message (Collapse)AuthorAgeFilesLines
* [Security] remove deprecated SrtingUtils classTomas Votruba2015-10-301-70/+0
|
* Merge branch '2.8'Tobias Schultze2015-10-291-31/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG-2.3.md CHANGELOG-2.7.md composer.json src/Symfony/Bridge/Twig/composer.json src/Symfony/Bundle/FrameworkBundle/composer.json src/Symfony/Bundle/SecurityBundle/composer.json src/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.php src/Symfony/Component/Console/Tests/Helper/LegacyTableHelperTest.php src/Symfony/Component/Console/composer.json src/Symfony/Component/DomCrawler/composer.json src/Symfony/Component/Form/Tests/FormRegistryTest.php src/Symfony/Component/Form/composer.json src/Symfony/Component/HttpFoundation/composer.json src/Symfony/Component/HttpKernel/Tests/Profiler/MongoDbProfilerStorageTest.php src/Symfony/Component/Intl/composer.json src/Symfony/Component/Ldap/composer.json src/Symfony/Component/Security/Core/composer.json src/Symfony/Component/Security/Csrf/composer.json src/Symfony/Component/Security/Http/composer.json src/Symfony/Component/Security/composer.json src/Symfony/Component/Serializer/Encoder/JsonEncoder.php src/Symfony/Component/Serializer/composer.json src/Symfony/Component/Templating/PhpEngine.php src/Symfony/Component/Translation/composer.json src/Symfony/Component/VarDumper/Tests/HtmlDumperTest.php src/Symfony/Component/VarDumper/composer.json
| * Rely on iconv and symfony/polyfill-*Nicolas Grekas2015-10-281-31/+8
| |
* | Merge branch '2.8'Nicolas Grekas2015-10-072-145/+0
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: composer.json src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.xml src/Symfony/Bundle/FrameworkBundle/Resources/config/routing.xml src/Symfony/Bundle/FrameworkBundle/Resources/config/security_csrf.xml src/Symfony/Bundle/FrameworkBundle/composer.json src/Symfony/Component/DependencyInjection/ContainerBuilder.php src/Symfony/Component/Security/Core/composer.json src/Symfony/Component/Security/Csrf/composer.json src/Symfony/Component/Security/Http/composer.json src/Symfony/Component/Security/composer.json src/Symfony/Component/Translation/PluralizationRules.php src/Symfony/Component/VarDumper/Exception/ThrowingCasterException.php
| * Deprecate the SecureRandom classPierre du Plessis2015-10-062-87/+6
| |
* | Merge branch '2.8'Fabien Potencier2015-09-271-2/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.8: (28 commits) Detect Mintty for color support on Windows Detect Mintty for color support on Windows [WebProfilerBundle] Fix search button click listener [Form][Type Date/Time] added choice_translation_domain option. Massively simplifying the BC and deprecated-throwing code thanks to suggestions by stof in #15870 Making all "debug" messages use the debug router Making GuardTokenInterface extend TokenInterface Updating behavior to not continue after an authenticator has set the response Add a group for tests of the finder against the FTP server Fix trigger_error calls Fix legacy security tests tweaking message related to configuration edge case that we want to be helpful with Minor tweaks - lowering the required security-http requirement and nulling out a test field Fix license headers Fix license headers Fix license headers Ensure the ClockMock is loaded before using it in the testsuite Allow serializer 3.0 in the PropertyInfo component Add the replace rules for the security-guard component Forbid serializing a Crawler ...
| * Merge branch '2.7' into 2.8Fabien Potencier2015-09-271-2/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.7: Detect Mintty for color support on Windows Detect Mintty for color support on Windows Add a group for tests of the finder against the FTP server Fix license headers Forbid serializing a Crawler Fix phpdoc block of NativeSessionStorage class Added exception when setAutoInitialize is called when locked [FrameworkBundle] Advanced search templates of bundles [Security] Allow user providers to be defined in many files Use random_bytes function if it is available for random number generation
| | * Merge branch '2.3' into 2.7Fabien Potencier2015-09-271-2/+6
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.3: Detect Mintty for color support on Windows Add a group for tests of the finder against the FTP server Fix license headers Forbid serializing a Crawler Fix phpdoc block of NativeSessionStorage class Added exception when setAutoInitialize is called when locked [FrameworkBundle] Advanced search templates of bundles [Security] Allow user providers to be defined in many files Use random_bytes function if it is available for random number generation
| | | * Use random_bytes function if it is available for random number generationPierre du Plessis2015-09-231-4/+8
| | | |
* | | | [Security] Remove deprecated interfacesNicolas Grekas2015-09-031-72/+0
|/ / /
* | | Deprecated Security ClassUtils in favor of Acl ClassUtilsIltar van der Berg2015-08-271-2/+9
|/ /
* | Merge branch '2.6' into 2.7Fabien Potencier2015-05-151-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * 2.6: [DebugBundle] Allow alternative destination for dumps [DebugBundle] Use output mechanism of dumpers instead of echoing [DebugBundle] Always collect dumps Fix tests in HHVM CS: Pre incrementation/decrementation should be used if possible Conflicts: src/Symfony/Component/Finder/Expression/Glob.php
| * CS: Pre incrementation/decrementation should be used if possibleGregor Harlan2015-04-071-1/+1
| |
* | Merge branch '2.6' into 2.7Fabien Potencier2015-03-271-11/+38
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2.6: CS: fixes Translator component has default domain for null implemented no need to have default translation domain logic in 3 different places [Form] [TwigBridge] Bootstrap layout whitespace control [travis] Kill tests when a new commit has been pushed fixed CS Change behavior to mirror hash_equals() returning early if there is a length mismatch CS fixing Prevent modifying secrets as much as possible Update StringUtils.php Whitespace Update StringUtils.php StringUtils::equals() arguments in RememberMe Cookie based implementation are confused CS: general fixes [SecurityBundle] removed a duplicated service definition and simplified others. Conflicts: src/Symfony/Bundle/SecurityBundle/Resources/config/security_listeners.xml
| * fixed CSFabien Potencier2015-03-251-6/+7
| |
| * Change behavior to mirror hash_equals() returning early if there is a length ↵Anthony Ferrara2015-03-251-9/+9
| | | | | | | | mismatch
| * CS fixingAnthony Ferrara2015-03-251-1/+1
| |
| * Prevent modifying secrets as much as possibleAnthony Ferrara2015-03-251-9/+13
| |
| * Update StringUtils.phpScott Arciszewski2015-03-251-1/+8
| |
| * WhitespaceScott Arciszewski2015-03-251-2/+3
| |
| * Update StringUtils.phpScott Arciszewski2015-03-251-2/+16
| |
* | removed code for PHP < 5.3.9Fabien Potencier2015-01-091-3/+1
|/
* add missing param names to @param annotationChristian Flothmann2015-01-041-1/+1
|
* Fixes various phpdoc and coding standards.Hugo Hamon2015-01-021-1/+3
|
* use value of DIRECTORY_SEPARATOR to detect WindowsChristian Flothmann2014-12-301-1/+1
| | | | | This commit unifies the detection of Windows builds across the Symfony codebase.
* [2.3] CS And DocBlock FixesGraham Campbell2014-12-222-3/+4
|
* Docblock fixesGraham Campbell2014-11-302-2/+2
|
* compare version using PHP_VERSION_IDChristian Flothmann2014-11-171-1/+1
| | | | | | To let opcode caches optimize cached code, the `PHP_VERSION_ID` constant is used to detect the current PHP version instead of calling `version_compare()` with `PHP_VERSION`.
* fixed CSFabien Potencier2014-09-222-2/+6
|
* [Security] Use hash_equals for constant-time string comparisonKévin Dunglas2014-09-041-1/+9
|
* fixing typo in a commentv2.3.19Christian Flothmann2014-09-011-1/+1
|
* Made optimization deprecating modulus operatorYosmany Garcia2014-08-141-8/+4
|
* fixed types in phpdocsFabien Potencier2014-04-161-1/+1
|
* made phpdoc types consistent with those defined in HackFabien Potencier2014-04-151-1/+1
|
* Remove use of deprecated HttpKernel LoggerInterfaceJordi Boggiano2013-01-091-1/+1
|
* fixed CSFabien Potencier2012-12-291-1/+1
|
* Improve timing safe comparison functionAnthony Ferrara2012-12-291-10/+21
| | | | | Improve the timing safe comparison function to better handle cases where input is of different length. Note that it is now important to always pass any string that the user can directly control to the second parameter of the function. Otherwise, length information may be leaked.
* fixed CSFabien Potencier2012-12-111-1/+0
|
* merged branch Inori/consistent-util-classes (PR #5879)Fabien Potencier2012-11-132-4/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR was squashed before being merged into the master branch (closes #5879). Commits ------- 07bd5c6 Make non-instantiable utils classes consistent with each other Discussion ---------- Make non-instantiable utils classes consistent with each other Bug fix: no Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes License of the code: MIT As per discussion in #5875 turned out that we don't have a consistent way to define non-instantiatable classes. I don't like `final` as it removes flexibility with no visible gain. I don't like `abstract` since it's not specifically clear what is meant by that. Is this class not complete? Should it be extended?
| * Make non-instantiable utils classes consistent with each otherRoman Marintsenko2012-11-132-4/+10
| |
* | removed unused use statementsFabien Potencier2012-11-041-1/+0
|/
* fixed CSFabien Potencier2012-10-282-2/+2
|
* added a SecureRandomInterfaceFabien Potencier2012-10-282-5/+33
|
* rename String to StringUtilsFabien Potencier2012-10-281-1/+1
|
* renamed Prng to SecureRandomFabien Potencier2012-10-281-1/+1
|
* simplified the Prng codeFabien Potencier2012-10-282-52/+28
|
* moved the secure random class from JMSSecurityExtraBundle to Symfony (closes ↵Fabien Potencier2012-10-283-0/+189
| | | | #3595)
* [Security][ACL] Fixed ObjectIdentity::fromDomainObject and ↵Jordan Alliot2012-04-121-0/+55
UserSecurityIdentity::from(Account|Token) when working with proxies Backported ClassUtils class from Doctrine Common 2.2 Fixes #2611, #2056, #2048, #2035