Commit Graph

568 Commits

Author SHA1 Message Date
Alexander Makarov
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
tom--
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
Alexander Makarov
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
Kai Mindermann
46b553f012 fixes formatter doing one division too much, fixes #4427 2014-07-24 15:55:21 +04:00
Kai Mindermann
f3520187d6 formatter: adds unit tests for base 1000, fixes #4412 2014-07-24 14:57:52 +04:00
Qiang Xue
390a6c782e Fixes #4409: Upper case letters in subdirectory prefixes of controller IDs were not properly handled 2014-07-23 22:10:13 -04:00
Alexander Makarov
8802d0305e Avoid method call in for condition 2014-07-23 16:42:41 +04:00
Qiang Xue
d62f7bebb5 Fixes #4231: turned Controller::findLayoutFile() from protected to public. 2014-07-09 17:12:49 -04:00
Qiang Xue
9c4d4715dd guide WIP [skip ci] 2014-07-03 08:33:09 -04:00
Alexander Makarov
deecdcad84 Adjusted exception message when pdkdbf2 is set but environment isn't OK 2014-06-30 21:23:33 +04:00
Alexander Makarov
481db35512 Fixes #4114: Added Security::generateRandomHexKey(), used it for various tokens and default key generation 2014-06-30 16:36:52 +04:00
Paul Klimov
90a625013c Result check at Security::generateRandomKey() added 2014-06-29 15:39:25 +03:00
fps01
039909a846 Fixed a call of function "generateRandomKey()" in app\base\Security 2014-06-29 12:23:06 +04:00
Qiang Xue
399b6b18e3 Fixes #4103 2014-06-28 21:58:07 -04:00
Paul Klimov
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
Paul Klimov
84cbf19bfe Doc comments at Security::generateRandomKey() adjusted 2014-06-28 19:05:16 +03:00
Paul Klimov
69abbc7ff3 Fallback at Security::generateRandomKey() removed 2014-06-28 19:02:53 +03:00
Paul Klimov
052ae83340 Option Security::autoGenerateSecretKey added 2014-06-28 00:11:48 +03:00
Paul Klimov
25a3637709 Upgrade note about Security updated 2014-06-27 23:33:16 +03:00
Paul Klimov
5a42985750 Option Security::useDeriveKeyUniqueSalt added 2014-06-27 23:30:28 +03:00
Paul Klimov
772667fa1c Doc comments at Security updated 2014-06-27 23:13:57 +03:00
Paul Klimov
4ce4707a3a Option Security::passwordHashStrategy added 2014-06-27 23:05:23 +03:00
Paul Klimov
4063502439 Option Security::deriveKeyStrategy added 2014-06-27 22:10:02 +03:00
Paul Klimov
846596294d Fallback for Security::generateRandomKey() added 2014-06-27 21:45:52 +03:00
Paul Klimov
4768dcdbc2 Method Security::compareString() extracted 2014-06-27 21:33:42 +03:00
Qiang Xue
06f27758b3 Fixed typo. [skip ci] 2014-06-27 09:23:09 -04:00
Klimov Paul
47f8eafb6d Doc comments at yii\base\Security fixed 2014-06-27 14:37:59 +03:00
Klimov Paul
54ac875e21 Component 'security' added tp the base application 2014-06-27 14:26:51 +03:00
Klimov Paul
db0beb6b6b 'yii\base\Security' component created. 2014-06-27 14:24:58 +03:00
Carsten Brandt
910151d787 typo
[ci skip]
2014-06-27 11:33:18 +02:00
Qiang Xue
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
Alexander Makarov
0ff0f9d32e Missing files for #4071 2014-06-26 18:28:57 +04:00
Carsten Brandt
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
Carsten Brandt
775141ab96 move mail event class
fixes #3899
2014-06-25 20:19:17 +02:00
Carsten Brandt
edb95052e8 use an AfterSaveEvent class to be consistent 2014-06-25 19:53:00 +02:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Qiang Xue
46041d0c65 Fixes #3280: Support dynamically attaching anonymous behaviors 2014-06-19 16:45:41 -04:00
Qiang Xue
0087339a42 log fatal errors to yii logs. 2014-06-19 15:35:04 -04:00
Qiang Xue
8c8a389844 Fixes #3772: Behaviors adding validation rules do not work as expected 2014-06-17 16:26:22 -04:00
Carsten Brandt
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
Carsten Brandt
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
Klimov Paul
7ddca60099 Unnecessary full class name usage removed 2014-06-16 11:50:34 +03:00
Qiang Xue
c8cb40cb50 Finished view tutorial [skip ci] 2014-06-15 18:16:11 -04:00
Erik_r
a8ad3b83bd #2359 Bugfix in normalizeDatetimeValue after regression test 2014-06-13 16:02:20 +02:00
Erik_r
0a10e92f92 #2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC. 2014-06-13 10:40:40 +02:00
Qiang Xue
b489cada30 guide WIP [skip ci] 2014-06-12 20:40:31 -04:00
Erik_r
299d991a2e #2359 testcases adapted and compatibility to old tests improved 2014-06-12 16:45:25 +02:00
Erik_r
d80d9dcd1d remove comment lines in asRelativeTime 2014-06-11 12:14:42 +02:00
Erik_r
4dbf1fe7b2 Typo in function call #2359 2014-06-11 11:51:53 +02:00
Erik_r
cf960e891f Namespace corrected #2359 2014-06-11 11:26:44 +02:00