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
Carsten Brandt
d7b4ea859b
refactored date formatting functions
...
- removed unformat methods, they do not belong here
- removed db format, which is also not purpose of this class
- refactored the whole set of methods to be simpler and better
maintainable
More unit tests needed.
2014-06-16 18:58:36 +02:00
Carsten Brandt
330b8c2507
Merge branch '2359-formatter-refactored' of https://github.com/Erik-r/yii2-1 into Erik-r-2359-formatter-refactored
...
* '2359-formatter-refactored' of https://github.com/Erik-r/yii2-1 :
#2359 Bugfix in normalizeDatetimeValue after regression test
#2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC.
#2359 testcases adapted and compatibility to old tests improved
remove comment lines in asRelativeTime
Typo in function call #2359
Namespace corrected #2359
Refactored formatter class #2359 which works with or without intl extension. Use PHP format patterns alsow with intl. Class is compatible with previous version.
2014-06-16 13:24:20 +02: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
patrick
48f941dac7
Fixes Twig lexerOptions throwing exception ( #3877 ) and adds test for lexerOptions
2014-06-15 13:15:36 +02:00
patrick
394ca05b72
Adds twig lexerOptions to ViewRendererTest to demonstrate error
2014-06-15 12:46:42 +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
Erik_r
0a10e92f92
#2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC.
2014-06-13 10:40:40 +02:00
Erik_r
299d991a2e
#2359 testcases adapted and compatibility to old tests improved
2014-06-12 16:45:25 +02:00