Commit Graph

909 Commits

Author SHA1 Message Date
Carsten Brandt
92d65ab78b fix issue with postgreSQL and batch inserting boolean values
fixes #4654
2014-08-12 01:43:49 +02:00
Nikitin Vitaly
f1dd83e2a9 Added test that are making sure batchInsert boolean values in PostgreSQL isn't failing with errors
close #4655
2014-08-12 00:51:11 +02:00
Carsten Brandt
689fc137da added some tests for Url helper 2014-08-06 22:27:45 +02:00
Qiang Xue
cd2eeced76 Fixed test break. 2014-08-05 12:54:28 -04:00
Qiang Xue
5046e687e1 fixed random rbac testing failure. 2014-08-05 11:21:17 -04:00
Qiang Xue
1c3e61ec26 Fixes #4591: yii\helpers\Url::to() will no longer prefix relative URLs with the base URL 2014-08-05 11:06:54 -04:00
Alexander Makarov
b656137541 Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension 2014-08-01 21:11:24 +04:00
Carsten Brandt
0ed6355ee1 test and docs to be clear about #4558 2014-08-01 15:35:23 +02:00
Alexander Makarov
c1cf48cf5b Fixes #2315: Any operator now could be used with yii\db\Query::->where() operand format 2014-08-01 11:37:05 +04:00
Alexander Makarov
5903f6ec38 Fixed tests to take deferred validation signature change into account 2014-08-01 02:12:56 +04:00
Alexander Makarov
cadbbd813f Reduced gap between setting and checking mtime 2014-08-01 02:08:54 +04:00
Carsten Brandt
1dad82a0f6 avoid random test break 2014-07-30 14:19:32 +02:00
Carsten Brandt
7af92173b1 length arg of byteSubstr is now optional 2014-07-30 13:29:01 +02:00
Alexander Makarov
c6569b1abe Removed unnecessary code 2014-07-29 11:01:57 +04:00
Carsten Brandt
74c99dc959 code style + test groups 2014-07-29 01:52:34 +02:00
Carsten Brandt
9e62d5589a added unit test for #4489 2014-07-28 23:48:10 +02:00
Alexander Makarov
d1ccb92a34 Fixes #4489: RBAC PhpManager wasn't saving multiple assignmentsFixes #4489: RBAC PhpManager wasn't saving multiple assignments properly 2014-07-28 22:09:38 +04:00
tom--
c6a8b418ef compareString(): timing depends only on length of $actual input, unit test 2014-07-27 12:03:03 -04:00
Alexander Makarov
c5a3cd511e Security component adjustments: fixed comment style, hkdf() and pbkdf2() are now protected, compareString() is now public 2014-07-26 14:09:38 +04:00
tom--
2c5c2c101b Fixes #4131: Security adjustments 2014-07-26 03:29:30 +04:00
Alexander Makarov
8f81e231da Fixes #4453: yii message/extract wasn't properly writing to po files in case of multiple categories 2014-07-26 02:46:58 +04:00
Kai Mindermann
46b553f012 fixes formatter doing one division too much, fixes #4427 2014-07-24 15:55:21 +04:00
Kai Mindermann
f3520187d6 formatter: adds unit tests for base 1000, fixes #4412 2014-07-24 14:57:52 +04:00
Alexander Makarov
5c767e5d34 Better Windows detection 2014-07-23 16:37:10 +04:00
Carsten Brandt
7939a3dec5 Merge branch 'master' into array-attribute-relations
* master:
  Update output-data-widgets.md
  Fixes #4370: fileinfo extension is required for FileValidator.
  Fixes #4342
  Fixes #3887
  minor refactoring of FileValidator.
  Doc translate for rest-resources
  Better fix for Dropdown container options
  #4388: CORS filter fixes:
  Fixed test break.
  #4310: Removed `$data` from signature of `yii\rbac\ManagerInterface`
  Update .travis.yml
  Update ActiveRecordInterface.php
  Fixes #4384.
  Sphinx distributed indexes support provided
  typo fix [skip ci]
  Fixes #3611: Refactored query caching.
2014-07-23 01:43:03 +02:00
Qiang Xue
a3e2b94adf Fixes #3611: Refactored query caching. 2014-07-20 20:59:38 -04:00
Carsten Brandt
cc38e9c795 fixed issue with indexBy and array valued relations 2014-07-21 00:35:55 +02:00
Qiang Xue
6d64d62c8e Fixed test break. 2014-07-19 15:59:12 -04:00
Qiang Xue
86556ac842 Fixed test break. 2014-07-17 23:02:23 -04:00
Qiang Xue
e5a87af234 Fixes #4331: yii\helpers\Url now uses UrlManager to determine base URL when generating URLs 2014-07-17 21:51:37 -04:00
Alexander Makarov
bc3200cef1 Fixes #4295: reworked message extraction for PO files 2014-07-17 19:33:37 +04:00
Qiang Xue
61b627a6fc Fixes #4318: yii\helpers\Html::ul() and ol() will return an empty list tag if an empty item array is given 2014-07-16 21:49:35 -04:00
Qiang Xue
fe2611186e Fixes #4051: Renamed yii\caching\GroupDependency to TagDependency and added support for associating multiple tags to a single cached data item 2014-07-15 00:10:57 -04:00
Qiang Xue
a082fd9140 Added test. 2014-07-12 12:53:12 -04:00
Qiang Xue
65987f62ae test WIP 2014-07-12 10:38:51 -04:00
Alexander Makarov
608e9012fb Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance 2014-07-10 20:50:07 +04:00
Alexander Makarov
56a7ec7618 Passed transaction as callback argument for Connection::transaction() method 2014-07-10 17:57:52 +04:00
Alexander Makarov
a0051820a7 Fixed tests 2014-07-10 17:43:15 +04:00
Ragazzo
e5195937e4 Fixes #3384: Added callback-style transactions 2014-07-10 17:24:10 +04:00
Klimov Paul
f6ef4aacd0 Unit test for MigrateController added 2014-07-10 13:30:20 +03:00
Carsten Brandt
4e8e22da3c fixed issue with elasticsearch >=1.2.0
do not use scripting as it is disabled by default and will cause edge
case queries to fail

fixes #4187
2014-07-04 14:04:38 +02:00
Alexander Makarov
e2397201b0 Merge pull request #4165 from njasm/unit-tests-widget-ActiveField
Added unit tests for Widget\ActiveField
2014-07-04 14:08:40 +03:00
Tobias Munk
7c04ff048f moved functionality to behavior, added tests 2014-07-03 00:05:48 +02:00
njasm
bc65dda4d3 Added unit tests for Widget\ActiveField 2014-07-01 21:01:16 +01:00
Alexander Makarov
481db35512 Fixes #4114: Added Security::generateRandomHexKey(), used it for various tokens and default key generation 2014-06-30 16:36:52 +04:00
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