Alexander Makarov
c2ece9332a
Merge pull request #4115 from yiisoft/security-adjustments
...
Added Security::generateRandomHexKey(), used it for various tokens and default key generation
2014-06-30 20:05:34 +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
Carsten Brandt
74843ccbf4
make fileinfo optional requirement
2014-06-30 11:31:15 +02:00
Carsten Brandt
08b7636d81
Review requirements
...
fileinfo is not a hard dependency.
2014-06-30 11:22:13 +02:00
Alexander Makarov
a42e550ca0
Merge pull request #4104 from yiisoft/rbac-phpmanager-adjusment
...
\yii\rbac\PhpManager adjustments
2014-06-29 20:18:24 +04:00
Carsten Brandt
1f4a7997a3
Update requirements.php
2014-06-29 15:56:44 +02:00
Carsten Brandt
8df51a7ec0
made mcrypt a framework requirement
2014-06-29 15:26:32 +02:00
Paul Klimov
90a625013c
Result check at Security::generateRandomKey() added
2014-06-29 15:39:25 +03:00
Alexander Makarov
c68e5f1fdb
Adjusted naming
2014-06-29 16:18:19 +04:00
Carsten Brandt
1085f1bd9b
cleanup after #4092
...
fixes #4086
2014-06-29 13:29:23 +02:00
Carsten Brandt
2d2c9f03d3
Merge pull request #4092 from dizews/afterUpdate_event_ench
...
changedAttributes of AfterSaveEvent contain an old values
2014-06-29 12:52:51 +02: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
Serge Postrash
eb60aaecdf
Update BaseMessage.php
...
See 0ff0f9d32e
https://github.com/yiisoft/yii2/issues/4071
2014-06-29 04:41:13 +04:00
Alexander Makarov
bb01c1cc91
Merge branch 'master' into rbac-phpmanager-adjusment
...
Conflicts:
framework/UPGRADE.md
2014-06-29 03:35:19 +04:00
Alexander Makarov
3eee7b8e4b
Fixes #4072 : \yii\rbac\PhpManager adjustments
...
- Data is now stored in three separate files for items, assignments and rules. File format is simpler.
- Removed `authFile`. Added `itemsFile`, `assignmentsFile` and `rulesFile`.
- `createdAt` and `updatedAt` are now properly filled with corresponding file modification time.
- `save()` and `load()` are now protected instead of public.
- Added unit test for saving and loading data.
2014-06-29 03:32:46 +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
Carsten Brandt
085f2c0142
gridview and listview use widget ID in base tag
2014-06-27 20:26:26 +02:00
Vladimir Zbrailov
f9febd0087
unify changedAttributes of afterSave in extensions
2014-06-27 20:10:43 +04:00
resurtm
9bc8c3304b
https://github.com/yiisoft/yii2/pull/4091#discussion_r14296860
2014-06-27 21:07:12 +06:00
Klimov Paul
4a47a59323
Upgrade not about Security component adjusted
2014-06-27 18:03:55 +03:00
Vladimir Zbrailov
7113a23a45
change PhpDoc of param
2014-06-27 18:59:44 +04:00
Vladimir Zbrailov
44f20c61a0
changedAttributes of AfterSaveEvent contain an old values
2014-06-27 18:51:21 +04:00
resurtm
1327d8ad2d
Fix possibility of non-removed symlinked directory.
2014-06-27 20:38:05 +06:00
Qiang Xue
06f27758b3
Fixed typo. [skip ci]
2014-06-27 09:23:09 -04:00
Carsten Brandt
b5ccf3bc04
changed default for rotateByCopy of FileTarget
...
works on windows out of the box now.
fixes #3989
2014-06-27 14:53:08 +02:00
Klimov Paul
47f8eafb6d
Doc comments at yii\base\Security fixed
2014-06-27 14:37:59 +03:00
Klimov Paul
c86db26136
Notes about Security class refactoring added to CHANGELOG.md and UPGRADE.md
2014-06-27 14:35:01 +03:00
Klimov Paul
e6f7d9b625
Security helper files removed
2014-06-27 14:34:11 +03:00
Klimov Paul
2bab6259d1
'Security' helper usage switched to 'security' application component.
2014-06-27 14:31:08 +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
bd9cddb8d9
fixed rotateByCopy to avoid any rename()
...
fixes issue #3989
2014-06-27 12:54:20 +02:00
Alexander Makarov
7d63037141
Merge pull request #4084 from resurtm/4080-file-helper-remove-directory-symlinks
...
Fixes #4080 , FileHelper::removeDirectory() symlinks handling enhancements
2014-06-27 14:42:16 +04:00
Carsten Brandt
910151d787
typo
...
[ci skip]
2014-06-27 11:33:18 +02:00
resurtm
fb9df78795
Fixes #4080 , FileHelper::removeDirectory():
...
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
2014-06-27 13:47:43 +06:00
resurtm
02545ce7a3
Fix #4081 : invalid brazilian portuguese translation.
2014-06-27 11:49:14 +06:00
Qiang Xue
9f08d18f96
Fixes #3020 [skip ci]
2014-06-26 22:50:57 -04: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
Carsten Brandt
27943ce735
Merge pull request #4063 from yiisoft/typecast-split
...
split typecast method into two
2014-06-27 02:14:31 +02:00