Commit Graph

909 Commits

Author SHA1 Message Date
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
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
Carsten Brandt
cb87d7be84 fixed typo and test break 2014-06-24 08:40:36 +02:00
Carsten Brandt
6e0ee4ed2a Merge pull request #4026 from yiisoft/transaction-isolation
Added support for transaction isolation levels
2014-06-24 03:57:27 +02:00
Carsten Brandt
7a87a13f37 unit test for postgres transaction 2014-06-24 03:14:51 +02:00
Carsten Brandt
cc8a8360cb added unit test and notes about dbms specific settings 2014-06-24 03:11:34 +02:00
Alexander Makarov
dde695cda4 Added GridView message check to FallbackMessageFormatterTest 2014-06-24 02:37:49 +04:00
Alexander Makarov
02e3746013 Fixed Inflector::slug to work properly with numbers 2014-06-22 02:03:55 +04:00
njasm
6974e84f18 added more unit tests to widgets\Breadcrumbs and 100% coverage. 2014-06-21 16:20:02 +01:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
njasm
517cf3df43 added widget Breadcrumbs unit tests. 2014-06-20 13:37:50 +04:00
Alexander Makarov
c3de3450a7 Fixes #3939: \yii\Inflector::slug() improvements:
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
2014-06-19 20:33:52 +04:00
Alexander Makarov
a8423bbaed Removed commented code 2014-06-18 12:51:52 +04:00
Qiang Xue
24257e76c8 Fixes #3909: Html::to() should not prefix base URL to URLs that already contain scheme 2014-06-17 15:41:01 -04:00
Carsten Brandt
639e52c199 skip tests on HHVM 2014-06-16 11:06:01 +02:00
Carsten Brandt
36fe23dac3 use different file names in different tests to run on HHVM 2014-06-16 10:47:49 +02:00
Carsten Brandt
106a078ab7 use different file names in tests to ensure they can run on HHVM 2014-06-16 10:29:17 +02:00
Mark
a89d574a20 updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed 2014-06-14 22:11:58 +04:00
Mark
1a3c04e0d2 fixed tests 2014-06-14 13:14:36 +04:00
Klimov Paul
88c25245a2 Test path composition in 'AssetControllerTest' adjusted 2014-06-13 11:51:32 +03:00
Carsten Brandt
1a7b4c5383 added testcase of @UncleCoder
e43c503c2d

issue #3817
2014-06-12 10:52:36 +02:00
Mark
0206e9174c file validator tests added 2014-06-10 14:14:59 +04:00
Alexander Makarov
f8e05fbf4f Improved yii\helpers\Inflector::slug to support more cases for Russian, Hebrew and special characters 2014-06-08 05:44:31 +04:00
Carsten Brandt
0208f289c3 fixed test breaks 2014-06-04 19:12:18 +02:00