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
Klimov Paul
3c5b98f7fe
Unit test for issue #4018 added
2014-06-24 17:47:08 +03: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
22884e7384
Fixes #3535 : Syntax changes
...
- Removed `form_begin`, `form_end`
- Added `use()` and `ViewRenderer::uses` that are importing classes and namespaces
- Added widget dynamic functions `*_begin`, `*_end`, `*_widget`, `widget_end`
- Added more tests
2014-06-20 05:13:36 +04:00
Alexander Makarov
e6d5af03e2
Merge pull request #3878 from dapatrese/3877-twig-lexer-options-exception
...
Fixes Twig lexerOptions throwing exception (#3877 )
2014-06-19 20:54:47 +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