Commit Graph

3198 Commits

Author SHA1 Message Date
SilverFire - Dmitry Naumenko
d12af259e0 Fixed UrlValidator pattern to improve matching 2016-02-05 14:47:12 +02:00
Andrew Nester
a0ca37ed6a 10545 - Fix for XMLResponseFormatter to format models in a proper way 2016-02-05 14:31:12 +03:00
SilverFire - Dmitry Naumenko
08ce8c0718 EmailValidatorTest - spelling typo fixed 2016-02-02 09:22:15 +02:00
SilverFire - Dmitry Naumenko
4c31c26628 EmailValidator - the name of the mailbox is no longer limited with the length 2016-02-01 23:49:51 +02:00
Alexander Makarov
12761bf677 MSSQL does not support explicit value for an IDENTITY column #9773 2016-01-31 01:21:00 +03:00
Alexander Makarov
e6f1179b62 Fixed MSSQL expected test result: we're adding ORDER BY (SELECT NULL) to limit and order queries and query params are empty array by default 2016-01-31 01:14:46 +03:00
Alexander Makarov
c36e679519 MSSQL doesn't have SUBSTR and isn't able to use expressions in ORDER BY and GROUP BY 2016-01-31 01:01:40 +03:00
Carsten Brandt
4c6ecbe79c fixed wrong assertation in test 2016-01-28 20:13:10 +01:00
Carsten Brandt
261b3fd39b added a test for QueryBuilder PK 2016-01-28 17:43:14 +01:00
Carsten Brandt
5e4485673f Merge pull request #10682 from yiisoft/group-order-expression
DB Expressions in groupBy and orderBy
2016-01-28 17:20:31 +01:00
Carsten Brandt
f0a62cdbd3 allow expressions in GROUP BY 2016-01-27 16:53:20 +01:00
Carsten Brandt
5a462dc5d2 added tests and documentation for #8824 2016-01-27 16:26:43 +01:00
Vit S
bdddcc54ad code review fixes 2016-01-25 22:56:44 +03:00
Vit S
c6c765b014 Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column 2016-01-25 21:28:54 +03:00
Andrew Nester
61df727eaf Expression objects for orderBy should be handled in QueryBuilder
fixes #10535
close #10637

- Added test to prove orderBy accepts \yii\db\Expression
2016-01-23 09:27:54 +01:00
Alexander Makarov
c79ebf49f4 Merge pull request #10639 from githubjeka/test-uniqvalid
UniqueValidatorTest: Added test for check the invalid attribute
2016-01-22 03:14:28 +03:00
githubjeka
dabbb81e07 Added test for check the invalid attribute 2016-01-21 21:23:51 +03:00
githubjeka
3ebe092828 Reproduce bug 2016-01-21 19:35:38 +03:00
Andrew Nester
6acab778da 10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629 2016-01-21 10:55:52 +03:00
Andrew Nester
d282d5fe7f Updated doc block for SessionTest 2016-01-19 13:47:24 +03:00
Andrew Nester
ab25b8a358 10218 - Fix for session regenerate id issue that occured after user logged out #10218 2016-01-19 13:02:43 +03:00
SilverFire - Dmitry Naumenko
6eb9830d64 UniqueValidatorTest, CHANGELOG - fixed spelling 2016-01-19 00:17:56 +02:00
SilverFire - Dmitry Naumenko
1e48e020cb Merge branch '10263' of https://github.com/githubjeka/yii2 into githubjeka-10263 2016-01-19 00:04:20 +02:00
Dmitry Naumenko
3c41c4f2a0 Merge pull request #7806 from yiisoft/gridview-checkboxcolumn
possible fix for gridview checkall name
2016-01-17 13:17:01 +02:00
SilverFire - Dmitry Naumenko
652a5ec492 Added assets dir 2016-01-17 13:09:20 +02:00
SilverFire - Dmitry Naumenko
4207088290 fixed checkboxColumn unit test 2016-01-17 12:52:35 +02:00
SilverFire - Dmitry Naumenko
32c560e629 Merge branch 'master' into gridview-checkboxcolumn 2016-01-17 12:30:43 +02:00
Andrew Nester
ed23b97baf #10574 - Fix for BaseArrayHelper to work with invalid characters in proper way 2016-01-16 09:37:36 +03:00
Carsten Brandt
f6dcb290ed reverted c00b97a/#9915, this is expected behavior
When accessing non-existing properties it is expected behavior to throw an error.
This is the case in all other places.

It is also not reliably possible to determine whether a property exists beforehand.
it is not sufficient to call `property_exists()` as it may be available via `__get()`.

Instead of `property_exists()` or `isset()` it should call `$object->canGetProperty()` but this is not
guaranteed to be implemented and therefor doing such a check will not work in 2.0.x.

calling isset() may break code that works through __get() but has not implemented __isset() properly.

We may discuss this for 2.1 again but I am in favor of keeping it as is.
2016-01-15 16:19:24 +01:00
Carsten Brandt
cdb7d84fea added support for non-gregorian calendar to formatter
fixes #8687
close #10517
2016-01-02 19:42:35 +01:00
Carsten Brandt
8897723c2a added test to verify #10486 2016-01-01 17:33:53 +01:00
LAV45
fcf25e8fa1 Fixed \yii\di\Instance::ensure() to work with minimum settings 2016-01-01 10:39:04 +02:00
quantum
cdc5fc8156 mistake in test 2015-12-29 01:05:57 +10:00
Pavel
b68613b746 Added support for events declared in interfaces #10108
Added guide in russian for events in interfaces
2015-12-27 23:07:36 +02:00
Alexander Makarov
5cecb09c1b Fixes #9443: Added unsigned() to ColumnSchemaBuilder 2015-12-26 15:20:21 +03:00
AnatolyRugalev
3b31aa771a #10363: Fixed i18n fallback float and integer formatting 2015-12-26 10:42:34 +02:00
SilverFire - Dmitry Naumenko
469206d8d0 HtmlTest - added tests to checkboxList and listBox 2015-12-23 23:38:47 +02:00
Sam Mousa
18fc8db32f Fixes #10372: Fixed console controller including DI arguments in help 2015-12-22 13:11:00 +03:00
cohen
85c6a903dc Enh #10390: Added ability to disable outer tag for \yii\helpers\BaseHtml::radiolist(), ::checkboxList 2015-12-21 18:04:49 +02:00
Tom Worster
e7a888ad11 use file_get_contents and not magic numbers 2015-12-20 11:48:36 -05:00
SilverFire - Dmitry Naumenko
01a6235059 #9333: Fixed AssetManager to publish bundles using symlink with nested directories in hash
Closes #9333
2015-12-20 16:24:40 +02:00
Alexander Makarov
ddf1a91ae9 Removed old security test 2015-12-19 13:26:14 +03:00
Tom Worster
1f41a2c9af Fixes #9878,9879,9880: Make \base\Security use random_bytes(), LibreSSL, mcrypt, limit OpenSSL to Windows, and to prefer password_hash() over crypt() 2015-12-19 13:13:23 +03:00
Carsten Brandt
d9f8933737 added prettyPrint option to JsonResponseFormatter
fixes #9762
close #10412
2015-12-18 02:42:59 +01:00
Revin Roman
229f9a8364 Support wildcard category name in export messages config #10359 2015-12-14 14:04:06 +03:00
Alexander Makarov
cc4849a3ae Renamed getUserIDsByRole → getUserIdsByRole for consistency
See 0e0079bcae (commitcomment-14953758)
2015-12-14 12:34:00 +03:00
Alexander Makarov
31ee08ed15 Merge pull request #10355 from yiisoft/rbac-get-user-ids-by-role
Fixes #9573: Added `yii\rbac\ManagerInterface::getUserIDsByRole()` and implementations
2015-12-14 01:41:41 +03:00
Carsten Brandt
5ffcd7b577 added nested array test to vardumper
issue #10376
2015-12-12 03:24:39 +01:00
Alexander Makarov
615a29f04e More fixes for MSSQL tests 2015-12-09 03:07:32 +03:00
Alexander Makarov
619c50d933 Fixed MSSQL initial schema for tests 2015-12-08 23:46:01 +03:00