Commit Graph

3198 Commits

Author SHA1 Message Date
Carsten Brandt
f4a9646a22 more on HHVM compatibility 2014-08-15 16:04:02 +02:00
Carsten Brandt
62e7c3e9a6 fixed some inconsistnecies in HHVM tests
exclude parts that have different default values
2014-08-15 15:30:32 +02:00
Carsten Brandt
10512ff00d do not export mailer in BaseMailerTest message
fixes test break in HHVM due to export of a closure
2014-08-15 14:52:38 +02:00
Qiang Xue
88d38b7820 Fixes #4501: Renamed the constant YII_PATH to YII2_PATH 2014-08-14 22:17:05 -04:00
Carsten Brandt
4846643f2b Update .gitignore 2014-08-14 21:34:07 +02:00
Carsten Brandt
dcf62a1339 Update .gitignore 2014-08-14 21:33:13 +02:00
Carsten Brandt
3a4b32c4c1 fixed cubrid tests 2014-08-13 13:19:28 +02:00
Carsten Brandt
c4dc9470be created a test case to verify #4682 2014-08-13 12:45:20 +02:00
Paul Klimov
0f4d8ac4ba Merge pull request #4675 from klimov-paul/4630-sluggable
Fix #4630: automatic generating of unique slug value to `yii\behaviors\Sluggable`
2014-08-12 15:20:09 +03:00
Carsten Brandt
accd2d3124 Update README.md 2014-08-12 13:35:45 +02:00
Carsten Brandt
9d4e3612e0 fixed test break 2014-08-12 12:51:24 +02:00
Carsten Brandt
3b665fe3c4 improved unit test SKIP detection
issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
869d7b7cfc Improved test config
You can now customize test config without having uncommitted changes in
git.

issue #4687
2014-08-12 12:10:19 +02:00
Carsten Brandt
47b42ca808 Merge pull request #4680 from yiisoft/array-cache
Created ArrayCache class
2014-08-12 11:40:31 +02:00
Klimov Paul
823bfc977d merge with upstream 2014-08-12 12:14:16 +03:00
Klimov Paul
101d771ecf yii\behaviors\Sluggable::validateSlug() fixed to respect updating record 2014-08-12 12:01:23 +03:00
Klimov Paul
f27254b9aa yii\behaviors\Sluggable simplified 2014-08-12 11:43:15 +03:00
Klimov Paul
d362af6ede yii\behaviors\Sluggable optimized 2014-08-12 11:36:50 +03:00
Carsten Brandt
c6274acf6c ensure postgres boolean values are handled correctly
also fixed an issue with default value loading of bool columns.

fixes #3489, fixes #4085, fixes #3920
related to #4672
2014-08-12 02:19:53 +02:00
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
a2e8083beb Created ArrayCache class
- can be used to enable caching in a request without the need for any storage
- useful for example in complex console tasks that should still be independed
2014-08-11 23:49:55 +02:00
Klimov Paul
b062a6601d Default event for yii\behaviors\Sluggable with unique enabled changed to 'insert'. 2014-08-11 18:04:18 +03:00
Klimov Paul
327914e452 Added automatic generating of unique slug value to yii\behaviors\Sluggable 2014-08-11 17:43:00 +03:00
Alexander Makarov
892d95a376 Added runtime cleanup for Smarty and Twig tests 2014-08-11 15:27:02 +04:00
Alexander Makarov
f08c85c5b8 Merge pull request #4619 from yiisoft/smarty
Smarty improvements
2014-08-10 21:06:49 +03:00
Alexander Makarov
739f3b13e4 Fixes #4553: Smarty enhancements 2014-08-10 22:05:48 +04:00
Alexander Makarov
071105e932 Added null AR relation test for Twig extension 2014-08-07 14:53:00 +04: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
59a52d8876 Fixes #4556: Gii was incorrectly generating labels 2014-08-01 12:48:35 +04: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
Alexander Makarov
e1bdc9cdc9 Fixes #3674: Various Twig enhancements:
- Removed `FileLoader` and used `\Twig_Loader_Filesystem` instead.
- Added support of Yii's aliases.
- Added `set()` that allows setting object properties.
2014-07-31 21:01:09 +04:00
Alexander Makarov
5f49c65510 Added tests that are making sure Gii isn't failing with errors 2014-07-31 18:07:45 +04:00
Carsten Brandt
1c9fc33a40 fixed HHVM test break 2014-07-30 14:59:02 +02: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