Qiang Xue
65987f62ae
test WIP
2014-07-12 10:38:51 -04:00
Klimov Paul
7a937903c2
yii\mongodb\Collection::buildLikeCondition() fixed to escape regular expression.
...
`yii\mongodb\Collection::buildRegexCondition()` added.
2014-07-11 16:17:56 +03:00
Alexander Makarov
608e9012fb
Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance
2014-07-10 20:50:07 +04:00
Alexander Makarov
56a7ec7618
Passed transaction as callback argument for Connection::transaction() method
2014-07-10 17:57:52 +04:00
Alexander Makarov
a0051820a7
Fixed tests
2014-07-10 17:43:15 +04:00
Ragazzo
e5195937e4
Fixes #3384 : Added callback-style transactions
2014-07-10 17:24:10 +04:00
Klimov Paul
b90f88659d
Unit test for MongoDB migration controller added
2014-07-10 13:33:09 +03:00
Klimov Paul
5fb654f95d
'MongoDbTestCase::loadClassMap()' refactored
2014-07-10 13:31:07 +03:00
Klimov Paul
f6ef4aacd0
Unit test for MigrateController added
2014-07-10 13:30:20 +03:00
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
2014-07-04 14:04:38 +02:00
Alexander Makarov
e2397201b0
Merge pull request #4165 from njasm/unit-tests-widget-ActiveField
...
Added unit tests for Widget\ActiveField
2014-07-04 14:08:40 +03:00
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
2014-07-03 00:05:48 +02:00
Alexander Makarov
2f19030e37
Switched to Codeception 2.0.* for application template tests
2014-07-02 14:44:31 +03:00
njasm
bc65dda4d3
Added unit tests for Widget\ActiveField
2014-07-01 21:01:16 +01: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
Alexander Makarov
a42e550ca0
Merge pull request #4104 from yiisoft/rbac-phpmanager-adjusment
...
\yii\rbac\PhpManager adjustments
2014-06-29 20:18:24 +04: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
Qiang Xue
399b6b18e3
Fixes #4103
2014-06-28 21:58:07 -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
Qiang Xue
09b00c5cd0
Reverted #4098 .
2014-06-28 11:59:58 -04:00
Qiang Xue
dfadb6a917
Fixes #4098 : yii\db\Query::addSelect() should include * when it is called the first time
2014-06-28 09:46:56 -04:00
Paul Klimov
052ae83340
Option Security::autoGenerateSecretKey added
2014-06-28 00:11:48 +03:00
Paul Klimov
5a42985750
Option Security::useDeriveKeyUniqueSalt added
2014-06-27 23:30:28 +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
4768dcdbc2
Method Security::compareString() extracted
2014-06-27 21:33:42 +03:00
Klimov Paul
e6f7d9b625
Security helper files removed
2014-06-27 14:34:11 +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
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
Carsten Brandt
27943ce735
Merge pull request #4063 from yiisoft/typecast-split
...
split typecast method into two
2014-06-27 02:14:31 +02:00
Carsten Brandt
5d0452b2ae
rename ColumnSchema::typecast to phpTypecast
2014-06-27 02:12:59 +02:00
Alexander Makarov
0ff0f9d32e
Missing files for #4071
2014-06-26 18:28:57 +04:00
Alexander Makarov
2457e24795
Fixes #4071 : mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer
2014-06-26 18:28:28 +04:00
Qiang Xue
1b4a9b62cd
Fixes #3568 : When the primary query sets asArray, it is not respected by the via relational query
2014-06-25 23:35:02 -04:00
Carsten Brandt
df6a9a08fe
fixed typo
2014-06-26 02:52:29 +02:00
Carsten Brandt
d4738b03a5
fixed test break
2014-06-26 01:39:10 +02:00
Carsten Brandt
574f67feff
fixed test break
2014-06-26 01:35:56 +02:00
Carsten Brandt
cd5bdd90d2
fixed postgres tests
2014-06-25 22:54:39 +02: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
f46cffb4e4
Implement console color ansi2html
...
issue #746
2014-06-25 16:39:45 +02:00
Carsten Brandt
1391253a58
fixed postgres default value parsing
2014-06-25 04:09:03 +02:00
Carsten Brandt
651e6a3feb
added support for BIT default values
...
fixes #422
2014-06-25 03:37:39 +02:00
Carsten Brandt
4f95fcd91f
added unit tests for schema detection
...
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
Carsten Brandt
b0fb04efd4
fixed test break and wrong parameter
2014-06-25 00:48:29 +02:00
Carsten Brandt
0899b8d474
changed updateAttributes to be more simple update
...
fixes #3233
2014-06-25 00:29:49 +02:00