Commit Graph

164 Commits

Author SHA1 Message Date
Carsten Brandt
26f62d44a8 Fixed an issue with Filehelper and not accessable directories
which resulted in endless loop

http://www.yiiframework.com/forum/index.php/topic/50982-cfilehelper-bug-security-flaw/
2014-01-28 11:12:31 +01:00
munawer-t
1a52aa30cb some more typos 2014-01-07 16:01:12 +05:30
Alexander Makarov
5ca61df057 Merge pull request #2687 from SleepWalker/2653-update-markdown-1.3
Issue #2653: updated Markdown Extra Lib to version 1.3 (reverted from commit 550a742216)
2013-12-31 12:18:55 +01:00
Carsten Brandt
5568c1ec8b Added support for formatting DateTime instances to CFormatter
fixes #3023
2013-11-08 14:53:41 +01:00
SleepWalker
34423176cf #2687 and #2653: Removed the namespaces from Markdown files to support earlier versions of PHP 2013-09-10 23:18:05 +03:00
SleepWalker
4ab2d589cd Merge branch 'master' of git://github.com/yiisoft/yii into 2653-update-markdown-1.3 2013-09-10 22:08:16 +03:00
SleepWalker
079d5b211e Fixed bug in pull request #2687 (I have forgot to commit changes in CMarkdownParser) 2013-09-10 22:07:58 +03:00
Paul Klimov
2f3fe0303a Doc comments at 'CFileHelper::createDirectory()' has been fixed. 2013-08-29 13:17:48 +03:00
Paul Klimov
4e398ece03 Private method 'CFileHelper::mkdir()' has been converted into public 'CFileHelper::createDirectory()'. 2013-08-29 13:13:57 +03:00
Pavel Voronin
c2352b74a8 another way to return relative paths: findFilesRecursive main loop instead of findFiles post-processing 2013-08-14 15:37:00 +04:00
Pavel Voronin
311ca1c3c8 Merge remote-tracking branch 'upstream/master' into patch-1 2013-08-14 10:44:55 +04:00
Pavel Voronin
a9871c68a2 code conv fix, charset specifying and docs improvement 2013-08-14 10:23:29 +04:00
jpopesculian
a224bcaebd Added closing parentheses to verifyPassword instruction 2013-08-09 18:52:22 -04:00
Pavel Voronin
1465b19469 mbstring fallback for CFileHelper::findFiles 2013-08-02 18:29:06 +04:00
Pavel Voronin
50488721c9 add absolutePaths option to CFileHelper::findFiles
if absolutePaths is true (by default), function will return absolute paths, otherwise the relative ones
2013-08-02 17:40:24 +04:00
Carsten Brandt
38d89026b0 CPasswordHelper::verifyPassword() return false not exception
fixes #2704
CPasswordHelper::verifyPassword() should not throw exception on invalid
password input, just return false.
2013-08-01 22:13:43 +02:00
resurtm
61c369aa70 Proper salt generation. 2013-07-10 16:28:39 +06:00
Alexander Makarov
5cd179dfba Merge pull request #2604 from resurtm/fixes-2053
Fixes #2053: refactor CSecurityManager and CPasswordHelper
2013-07-07 03:46:09 -07:00
Alexander Makarov
d1b3be8b11 Fixes #2529: Silenced all chmod calls to prevent "chmod() operation not allowed" error on NTFS 2013-07-06 02:30:18 +04:00
resurtm
3a8ed30e10 Removed unnecessary output. 2013-07-05 19:03:51 +06:00
resurtm
cac8df8177 Fixes:
1. Blowfish salt should have "./0-9A-Za-z" alphabet and should be 21
characters long. Proper format is: $2a$nn$xxxxxxxxxxxxxxxxxxxxx$

See: http://us2.php.net/crypt

2. CS fixes.
2013-07-05 15:37:38 +06:00
resurtm
fbbe9ed72f Docblocks fixes and other minor adjustements made. 2013-07-05 14:46:28 +06:00
resurtm
d662ee84f3 CSecurityManager:
1. Added /dev/urandom usage.
2. A couple of minor code optimizations.
2013-07-05 10:09:04 +06:00
resurtm
9cd40000d9 Fixes #2053:
1. CPasswordHelper has been refactored.

2. CSecurityManager has been enhanced and now able to generate
cryptographically strong random stuff.
2013-07-04 20:39:14 +06:00
resurtm
7b72148d43 Fixes #1725: CFileHelper::removeDirectory() has been added. 2013-05-30 20:01:25 +06:00
Carsten Brandt
24dd2792f7 Merge pull request #2054 branch '1818-localized-formatter'
* 1818-localized-formatter:
  documentation and changelog for localized formatter
  Created a LocalizedFormatter class

Conflicts:
	CHANGELOG
2013-05-27 01:22:30 +02:00
Carsten Brandt
450d50691f Various documentation and code style fixes 2013-05-01 23:29:10 +02:00
Alexander Makarov
91ce183a54 Fixes #2325 UTF-8 troubles in CDateTimeParser (error in parsing chinese and thai dates) (s-larionov) 2013-04-27 17:19:46 +04:00
AnatolyRugalev
4b257a8206 Fixed typo in max cost value 2013-04-22 23:38:27 +06:00
MaXL
fe51dad76f Update CPasswordHelper.php
Fix typo in validation cost param for salt.
2013-04-22 01:42:07 +12:00
borales
6d19a150d4 Replacing spaces with tabs, removing dots
[ci skip]
2013-03-06 20:59:38 +02:00
borales
78df92fb92 Replacing spaces with tabs
[ci skip]
2013-03-06 08:56:25 +02:00
borales
a7af2c5371 Fixing some typos, PHPDocs
[ci skip]
2013-03-06 00:24:35 +02:00
Carsten Brandt
ddbdbb14bd documentation and changelog for localized formatter 2013-01-30 18:00:36 +01:00
Carsten Brandt
9630a882a1 Created a LocalizedFormatter class
issue #1818
2013-01-30 16:59:04 +01:00
Carsten Brandt
15bbc6f5de updated docs of CFormatter class 2013-01-30 16:24:40 +01:00
Carsten Brandt
f4c8464703 Merge pull request #1978 branch '1977-CFormatter-normalizeDateValue-protected' of https://github.com/etienneq/yii into etienneq-1977-CFormatter-normalizeDateValue-protected
* '1977-CFormatter-normalizeDateValue-protected' of https://github.com/etienneq/yii:
  minor change in changelog entry
  changelog
  #1977: declared CFormatter::normalizeDateValue() as protected

Conflicts:
	CHANGELOG
2013-01-30 16:24:09 +01:00
Alexander Makarov
cdf7240cf1 Merge pull request #1917 from and-ers/master
array_push optimizations (reverse-merged from commit 157ff017a0)
2013-01-29 10:25:03 +01:00
Alexander Makarov
157ff017a0 Merge pull request #1917 from and-ers/master
array_push optimizations
2013-01-26 10:19:14 -08:00
Alexander Makarov
5da6b89065 Better paragraphs replacement for CFormatter::formatNtext 2013-01-25 21:40:00 +01:00
resurtm
e77143105d CFormatter::formatNtext() method can replace newlines with <p></p> not just with <br /> as it was before. 2013-01-25 13:47:48 +06:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Etienne Quiel
e648132788 #1977: declared CFormatter::normalizeDateValue() as protected 2013-01-14 11:36:33 +01:00
and-ers
25fbd6952e replaced an array_push function call with an ordinary statement 2013-01-08 19:06:54 +01:00
Alexander Makarov
e1940813c5 fixed another typo in password helper phpdoc 2013-01-08 13:34:48 +04:00
Alexander Makarov
38a8777116 fixed password helper phpdoc typos 2013-01-08 12:47:11 +04:00
Alexander Makarov
f4534cb476 added changelog, fixed code formatting and docs 2013-01-08 01:42:50 +04:00
tom--
be7a6ed153 corrected 2x CPasswordManager in comments 2012-12-04 07:36:13 -05:00
tom--
dc6b84338a Merge branch 'master' of git://github.com/yiisoft/yii into CPasswordManager 2012-12-02 13:29:11 -05:00