761 Commits

Author SHA1 Message Date
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
7ddca60099 Unnecessary full class name usage removed 2014-06-16 11:50:34 +03:00
c8cb40cb50 Finished view tutorial [skip ci] 2014-06-15 18:16:11 -04:00
a8ad3b83bd #2359 Bugfix in normalizeDatetimeValue after regression test 2014-06-13 16:02:20 +02:00
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
b489cada30 guide WIP [skip ci] 2014-06-12 20:40:31 -04:00
299d991a2e #2359 testcases adapted and compatibility to old tests improved 2014-06-12 16:45:25 +02:00
d80d9dcd1d remove comment lines in asRelativeTime 2014-06-11 12:14:42 +02:00
4dbf1fe7b2 Typo in function call #2359 2014-06-11 11:51:53 +02:00
cf960e891f Namespace corrected #2359 2014-06-11 11:26:44 +02:00
0995a740c8 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-11 09:18:31 +02:00
7bce33f1da Excess \yii\base\Model::resolveFields() method removed 2014-06-10 04:21:16 +04:00
7f788e7427 Fix #3756: Convert values to float for number formatting
Convert string values to floating point, so that `number_format` method can properly format values.
2014-06-09 19:35:13 +05:30
c7d8439072 Fixes #3687: Default sourceLanguage and language are now en-US in order for i18n formatter to work correctly 2014-06-08 02:38:32 +04:00
a034fc2659 Additional Application property for $formatter 2014-06-07 05:18:12 +04:00
4d2cf38376 Fixes #3716: DynamicModel::validateData() does not call validate() if the $rules parameter is empty 2014-06-06 10:25:59 -04:00
d1e0a54553 guide WIP [skip ci] 2014-06-04 17:50:24 -04:00