Commit Graph

2875 Commits

Author SHA1 Message Date
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
Alexander Makarov
0e0079bcae Fixes #9573: Added yii\rbac\ManagerInterface::getUserIDsByRole() and implementations 2015-12-08 20:00:48 +03:00
SilverFire - Dmitry Naumenko
2be8a716b1 #8995, #8996 - added unit test, changelog line 2015-12-05 21:23:33 +02:00
Klimov Paul
bea90e1228 Fixed yii\db\Query::where() does not add params from directly passed yii\db\Expression 2015-12-05 12:28:43 +02:00
Klimov Paul
170c376648 yii\helpers\VarDumper::dump() now respects PHP magic method __debugInfo() 2015-12-05 11:21:49 +02:00
Jan Was
69e36fa86c Merge branch 'master' into 9703-si-formatters 2015-12-03 10:45:52 +01:00
LAV45
a2bf2598ce Release fix from SilverFire 2015-11-29 01:24:43 +03:00
LAV45
1028152aac Unexpected behavior for \SimpleXMLElement and Json::encode() #10278 2015-11-29 00:58:32 +03:00
Carsten Brandt
d6c45d36ce added test to verify #10204 2015-11-27 18:42:37 +01:00
githubjeka
a215013f68 Missing phpDoc properties has been added 2015-11-27 19:48:20 +03:00
githubjeka
0fc744598d optimized imports & add phpDoc 2015-11-27 19:43:29 +03:00
githubjeka
fd6e33ccf3 Semantics of the test has been improved 2015-11-27 19:32:03 +03:00
githubjeka
e5e67ebed5 Add testValidateTargetClass for reproduce the bug.
When IDs targetClass & model(not new)  is same then unique validator passed
2015-11-27 00:04:49 +03:00
Daniel Gomez Pan
c5eebe1a00 Fix test for migration 2015-11-25 10:56:53 +01:00
Alexander Makarov
8765cae71c Reverted #9656 because of BC break (reverted from commit 4a464afe9b) 2015-11-25 06:41:55 +03:00
Alexander Makarov
45432cc653 #9528: added missing data provider for JSON formatter test, added changelog and upgrade note, added @since tag to new property 2015-11-25 05:52:15 +03:00
MaXL
4f81b4a99d Fixes #9528: Traversable objects are now formatted as arrays in yii\web\XmlResponseFormatter to support SPL objects and Generators 2015-11-25 05:51:12 +03:00
Daniel Gomez Pan
0b950f4039 Fix phpdocs and small bug 2015-11-24 20:03:09 +01:00
Daniel Gomez Pan
2a1764f97a Enhancements for #9465 2015-11-23 13:33:26 +03:00
Carsten Brandt
d1812d2081 fixed arrayhelper test, renamed test methods according to FW change 2015-11-22 17:07:48 +01:00
Alexander Makarov
76e8556d34 #9465 better naming, code polish, changelog, docs wording 2015-11-20 22:50:32 +03:00
Daniel Gomez Pan
9afd240ab6 Fixes #9465: ./yii migrate/create now generates code based on migration name and --fields 2015-11-20 22:08:47 +03:00
Edgard Lorraine Messias
7c9b7c77a7 Added tests for dropTable, truncateTable and renameTable 2015-11-20 16:16:44 +03:00
Sam Mousa
4a464afe9b Fixes #9656: yii\db\BaseActiveRecord refactored in order to getting, setting and unsetring attribute values using the same approach 2015-11-20 15:45:12 +03:00