8701d7df3b
more explicit comment in phpdoc, code style
2014-07-29 02:45:56 +02:00
be24a2e2c7
Removed mentions of $deriveKeyStrategy from Security phpdoc
2014-07-28 13:36:06 +04:00
9e9175fe09
fixed typo
...
fixes #4480
2014-07-28 09:12:29 +02:00
b3260567c2
Mistype
2014-07-28 12:10:14 +08:00
33f2525a39
Remove nonsense branch logic
2014-07-27 14:30:13 -04:00
4f5b7afd95
Merge branch 'master' of git://github.com/yiisoft/yii2 into 4469-compareString-without-shortcut
2014-07-27 12:04:03 -04:00
c6a8b418ef
compareString(): timing depends only on length of $actual input, unit test
2014-07-27 12:03:03 -04:00
56a9536b51
Typo in docs
2014-07-26 17:07:06 +02:00
b680afc721
Fixes #4462 .
2014-07-26 10:08:52 -04:00
c5a3cd511e
Security component adjustments: fixed comment style, hkdf() and pbkdf2() are now protected, compareString() is now public
2014-07-26 14:09:38 +04:00
2c5c2c101b
Fixes #4131 : Security adjustments
2014-07-26 03:29:30 +04:00
0edd8bc65a
Fixed missing and incorrect phpdoc
2014-07-25 17:26:35 +04:00
46b553f012
fixes formatter doing one division too much, fixes #4427
2014-07-24 15:55:21 +04:00
f3520187d6
formatter: adds unit tests for base 1000, fixes #4412
2014-07-24 14:57:52 +04:00
390a6c782e
Fixes #4409 : Upper case letters in subdirectory prefixes of controller IDs were not properly handled
2014-07-23 22:10:13 -04:00
8802d0305e
Avoid method call in for condition
2014-07-23 16:42:41 +04:00
d62f7bebb5
Fixes #4231 : turned Controller::findLayoutFile() from protected to public.
2014-07-09 17:12:49 -04:00
9c4d4715dd
guide WIP [skip ci]
2014-07-03 08:33:09 -04:00
deecdcad84
Adjusted exception message when pdkdbf2 is set but environment isn't OK
2014-06-30 21:23:33 +04:00
481db35512
Fixes #4114 : Added Security::generateRandomHexKey(), used it for various tokens and default key generation
2014-06-30 16:36:52 +04:00
90a625013c
Result check at Security::generateRandomKey() added
2014-06-29 15:39:25 +03:00
039909a846
Fixed a call of function "generateRandomKey()" in app\base\Security
2014-06-29 12:23:06 +04:00
399b6b18e3
Fixes #4103
2014-06-28 21:58:07 -04:00
648b9b70f5
Merge pull request #4089 from klimov-paul/87-security-component-3
...
Fix #87 : security helper converted into component and improved
2014-06-29 00:04:03 +03:00
84cbf19bfe
Doc comments at Security::generateRandomKey() adjusted
2014-06-28 19:05:16 +03:00
69abbc7ff3
Fallback at Security::generateRandomKey() removed
2014-06-28 19:02:53 +03:00
052ae83340
Option Security::autoGenerateSecretKey added
2014-06-28 00:11:48 +03:00
25a3637709
Upgrade note about Security updated
2014-06-27 23:33:16 +03:00
5a42985750
Option Security::useDeriveKeyUniqueSalt added
2014-06-27 23:30:28 +03:00
772667fa1c
Doc comments at Security updated
2014-06-27 23:13:57 +03:00
4ce4707a3a
Option Security::passwordHashStrategy added
2014-06-27 23:05:23 +03:00
4063502439
Option Security::deriveKeyStrategy added
2014-06-27 22:10:02 +03:00
846596294d
Fallback for Security::generateRandomKey() added
2014-06-27 21:45:52 +03:00
4768dcdbc2
Method Security::compareString() extracted
2014-06-27 21:33:42 +03:00
06f27758b3
Fixed typo. [skip ci]
2014-06-27 09:23:09 -04:00
47f8eafb6d
Doc comments at yii\base\Security fixed
2014-06-27 14:37:59 +03:00
54ac875e21
Component 'security' added tp the base application
2014-06-27 14:26:51 +03:00
db0beb6b6b
'yii\base\Security' component created.
2014-06-27 14:24:58 +03:00
910151d787
typo
...
[ci skip]
2014-06-27 11:33:18 +02:00
8e96623a56
Fixes #1452 : Added Module::getInstance() to allow accessing the module instance from anywhere within the module
2014-06-26 22:04:41 -04:00
0ff0f9d32e
Missing files for #4071
2014-06-26 18:28:57 +04:00
48f6e380df
Merge PR #4038 branch 'consistent-after-save'
...
* consistent-after-save:
use an AfterSaveEvent class to be consistent
fixed test break and wrong parameter
changed updateAttributes to be more simple update
Ensure consistent behavior in ActiveRecord::afterSave()
Conflicts:
framework/UPGRADE.md
2014-06-25 20:23:16 +02:00
775141ab96
move mail event class
...
fixes #3899
2014-06-25 20:19:17 +02:00
edb95052e8
use an AfterSaveEvent class to be consistent
2014-06-25 19:53:00 +02:00
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
46041d0c65
Fixes #3280 : Support dynamically attaching anonymous behaviors
2014-06-19 16:45:41 -04:00
0087339a42
log fatal errors to yii logs.
2014-06-19 15:35:04 -04:00
8c8a389844
Fixes #3772 : Behaviors adding validation rules do not work as expected
2014-06-17 16:26:22 -04:00
d7b4ea859b
refactored date formatting functions
...
- removed unformat methods, they do not belong here
- removed db format, which is also not purpose of this class
- refactored the whole set of methods to be simpler and better
maintainable
More unit tests needed.
2014-06-16 18:58:36 +02:00
330b8c2507
Merge branch '2359-formatter-refactored' of https://github.com/Erik-r/yii2-1 into Erik-r-2359-formatter-refactored
...
* '2359-formatter-refactored' of https://github.com/Erik-r/yii2-1 :
#2359 Bugfix in normalizeDatetimeValue after regression test
#2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC.
#2359 testcases adapted and compatibility to old tests improved
remove comment lines in asRelativeTime
Typo in function call #2359
Namespace corrected #2359
Refactored formatter class #2359 which works with or without intl extension. Use PHP format patterns alsow with intl. Class is compatible with previous version.
2014-06-16 13:24:20 +02:00