Carsten Brandt
9e62d5589a
added unit test for #4489
10 years ago
Alexander Makarov
d1ccb92a34
Fixes #4489 : RBAC PhpManager wasn't saving multiple assignmentsFixes #4489 : RBAC PhpManager wasn't saving multiple assignments properly
10 years ago
tom--
c6a8b418ef
compareString(): timing depends only on length of `$actual` input, unit test
10 years ago
Alexander Makarov
c5a3cd511e
Security component adjustments: fixed comment style, hkdf() and pbkdf2() are now protected, compareString() is now public
10 years ago
tom--
2c5c2c101b
Fixes #4131 : Security adjustments
10 years ago
Alexander Makarov
8f81e231da
Fixes #4453 : `yii message/extract` wasn't properly writing to po files in case of multiple categories
10 years ago
Kai Mindermann
46b553f012
fixes formatter doing one division too much, fixes #4427
10 years ago
Kai Mindermann
f3520187d6
formatter: adds unit tests for base 1000, fixes #4412
10 years ago
Alexander Makarov
5c767e5d34
Better Windows detection
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Carsten Brandt
cc38e9c795
fixed issue with indexBy and array valued relations
10 years ago
Qiang Xue
6d64d62c8e
Fixed test break.
10 years ago
Qiang Xue
86556ac842
Fixed test break.
10 years ago
Qiang Xue
e5a87af234
Fixes #4331 : `yii\helpers\Url` now uses `UrlManager` to determine base URL when generating URLs
10 years ago
Alexander Makarov
bc3200cef1
Fixes #4295 : reworked message extraction for PO files
10 years ago
Qiang Xue
61b627a6fc
Fixes #4318 : `yii\helpers\Html::ul()` and `ol()` will return an empty list tag if an empty item array is given
10 years ago
Qiang Xue
fe2611186e
Fixes #4051 : Renamed `yii\caching\GroupDependency` to `TagDependency` and added support for associating multiple tags to a single cached data item
10 years ago
Qiang Xue
a082fd9140
Added test.
10 years ago
Qiang Xue
65987f62ae
test WIP
10 years ago
Alexander Makarov
608e9012fb
Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance
10 years ago
Alexander Makarov
56a7ec7618
Passed transaction as callback argument for Connection::transaction() method
10 years ago
Alexander Makarov
a0051820a7
Fixed tests
10 years ago
Ragazzo
e5195937e4
Fixes #3384 : Added callback-style transactions
10 years ago
Klimov Paul
f6ef4aacd0
Unit test for `MigrateController` added
10 years ago
Carsten Brandt
4e8e22da3c
fixed issue with elasticsearch >=1.2.0
...
do not use scripting as it is disabled by default and will cause edge
case queries to fail
fixes #4187
10 years ago
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
10 years ago
njasm
bc65dda4d3
Added unit tests for Widget\ActiveField
10 years ago
Alexander Makarov
481db35512
Fixes #4114 : Added Security::generateRandomHexKey(), used it for various tokens and default key generation
10 years ago
Paul Klimov
90a625013c
Result check at `Security::generateRandomKey()` added
10 years ago
Alexander Makarov
c68e5f1fdb
Adjusted naming
10 years ago
Carsten Brandt
1085f1bd9b
cleanup after #4092
...
fixes #4086
10 years ago
Qiang Xue
399b6b18e3
Fixes #4103
10 years ago
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.
10 years ago
Qiang Xue
09b00c5cd0
Reverted #4098 .
10 years ago
Qiang Xue
dfadb6a917
Fixes #4098 : `yii\db\Query::addSelect()` should include `*` when it is called the first time
10 years ago
Paul Klimov
052ae83340
Option `Security::autoGenerateSecretKey` added
10 years ago
Paul Klimov
5a42985750
Option `Security::useDeriveKeyUniqueSalt` added
10 years ago
Paul Klimov
4ce4707a3a
Option `Security::passwordHashStrategy` added
10 years ago
Paul Klimov
4063502439
Option `Security::deriveKeyStrategy` added
10 years ago
Paul Klimov
4768dcdbc2
Method `Security::compareString()` extracted
10 years ago
Klimov Paul
e6f7d9b625
Security helper files removed
10 years ago
Klimov Paul
db0beb6b6b
'yii\base\Security' component created.
10 years ago
Carsten Brandt
bd9cddb8d9
fixed rotateByCopy to avoid any rename()
...
fixes issue #3989
10 years ago
resurtm
fb9df78795
Fixes #4080 , FileHelper::removeDirectory():
...
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
10 years ago
Alexander Makarov
0ff0f9d32e
Missing files for #4071
10 years ago
Alexander Makarov
2457e24795
Fixes #4071 : `mail` component renamed to `mailer`, `yii\log\EmailTarget::$mail` renamed to `yii\log\EmailTarget::$mailer`
10 years ago
Qiang Xue
1b4a9b62cd
Fixes #3568 : When the primary query sets `asArray`, it is not respected by the `via` relational query
10 years ago
Carsten Brandt
df6a9a08fe
fixed typo
10 years ago
Carsten Brandt
d4738b03a5
fixed test break
10 years ago
Carsten Brandt
574f67feff
fixed test break
10 years ago