Commit Graph

222 Commits

Author SHA1 Message Date
Klimov Paul
62968971b6 Sphinx unit test "ActiveRelationTest" created. 2013-11-16 14:54:24 +02:00
Paul Klimov
93ca701a10 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-15 12:17:22 +02:00
Klimov Paul
d6c388299d Sphinx ActiveRecord added as blank. 2013-11-14 22:12:31 +02:00
slavcodev
3ff8f10d11 Add array conversion on creating validator 2013-11-12 19:26:49 +02:00
slavcodev
ecc557ef92 Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
Paul Klimov
5a1b526ae8 "yii\sphinx\ColumnSchema' extracted. 2013-11-12 13:35:40 +02:00
Paul Klimov
0868e7d3ce MVA added to "Sphinx" unit tests. 2013-11-12 12:21:39 +02:00
slavcodev
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
Paul Klimov
0f94ed39b6 "Sphinx" unit tests updated to expose runtime indexes. 2013-11-11 14:28:31 +02:00
Paul Klimov
b9137dfef6 Sphinx command and query added. 2013-11-07 16:58:39 +02:00
Paul Klimov
afcdcb9a72 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-07 13:10:32 +02:00
Alexander Makarov
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Carsten Brandt
c0506b8cff skipping apc for php 5.5 on travis 2013-11-05 12:42:20 +01:00
Paul Klimov
f7b7c758b6 Sphinx test environment setup files added. 2013-11-01 16:52:31 +02:00
Carsten Brandt
06a91d6271 fixed unit tests for cubrid and postgresql
both do not support unsigned integers
2013-10-29 19:10:47 +01:00
Carsten Brandt
34945b0b69 added unit test to verify storing of null values
http://www.yiiframework.com/forum/index.php/topic/48359-inserting-nulls/page__view__findpost__p__226019
2013-10-29 18:27:20 +01:00
Carsten Brandt
c62e0cbbfb added unit test to verify AR afterSave isNewRecord value
closes #1084
2013-10-28 10:48:18 +01:00
Alexander Makarov
ee2af2661c Removed unneeded use statements 2013-10-24 03:12:25 +04:00
Qiang Xue
fb8e818204 Dropped support for supporting default namespace for classes of related models. 2013-10-21 23:55:20 -04:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Alexander Makarov
24bc980da4 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Carsten Brandt
61fe888780 Merge branch 'master' into i18n-icu
* master: (103 commits)
  fixed broken test after whitespace changes in view
  Removed the extra EOLs.
  I add new line in methods that render code in the head and for body
  GII update button style
  GII create object button style [skip ci]
  Fixes #980: Changed the default way of generating action URLs for ActionColumn.
  View default value for $params
  adjusted cubrid version in schema quote
  removed cubrid env from tavis.yml
  simplified cubrid db install on travis
  fixed cubrid schema test for pdo type
  fixed validator test break
  added cubrid specific pdo type casting
  Updated FileValidator tests
  Better AR connection init in tests
  Removed @codeCoverageIgnore
  no xss for attribute error messages that contain {value}
  Clientvalidation {value} was not what has been validated
  moved getPdoType() to Schema.
  optimized datepick js code.
  ...
2013-10-16 22:04:17 +02:00
Carsten Brandt
bbcee326be adjusted I18N to be consistent with intl message formatting 2013-10-16 15:59:39 +02:00
Carsten Brandt
28d9ee7c31 adjusted cubrid version in schema quote 2013-10-15 05:47:55 +02:00
Carsten Brandt
c1b6521d31 simplified cubrid db install on travis 2013-10-15 05:12:50 +02:00
Carsten Brandt
f974e1a59f fixed validator test break 2013-10-15 04:43:52 +02:00
Alexander Makarov
5cf9992251 Removed @codeCoverageIgnore 2013-10-15 01:32:23 +04:00
Alexander Makarov
d75ad87e06 Merge branch 'add-tests' of github.com:suralc/yii2 into suralc-add-tests
Conflicts:
	framework/yii/validators/RegularExpressionValidator.php
2013-10-15 01:31:59 +04:00
Carsten Brandt
abc1e0c2bb fix issue #700
adjust depended asset position or throw exception on conflict
2013-10-11 01:54:05 +02:00
Carsten Brandt
0c113faf62 added unit test for asset bundles 2013-10-11 01:13:32 +02:00
Carsten Brandt
d442f05631 elasticsearch find by simple condition 2013-10-07 17:57:39 +02:00
Carsten Brandt
a94886fafd elasticsearch AR WIP copied parts from redis implementation 2013-09-30 15:12:20 +02:00
Carsten Brandt
1eb877ad82 Merge branch 'master' into redis
* master: (30 commits)
  Added SerialColumn to crud generated code.
  Added ActionColumn. crud generator WIP.
  Fixes #823: consistent interface naming
  Advanced application template: Delete flash message after it was displayed
  Fixes #901: Added $delete parameter to Session::getFlash().
  Polished up the basic discussion of template alternatives
  Advanced application template: removed unused scenario from User model
  porting the fix from https://github.com/yiisoft/yii/pull/2894
  Edited introduction
  Fixes #898: supported different signature of MemCache::addServer().
  Fixes #897.
  Use str_replace() rather than implode-explode
  Fix parenthesis typo in CRUD index template
  Doing more editing...
  test break fix.
  Support ajax redirection.
  Enable CSRF validation by default.
  Supports more elements to use data-confirm and data-method attributes.
  refactored Request::validateCsrfToken().
  Fixed CSRF validation bug.
  ...
2013-09-25 12:34:25 +02:00
Carsten Brandt
3623fc19dc refactored redis AR pk and findByPk 2013-09-24 19:04:38 +02:00
Carsten Brandt
df6176edb6 added unit test for Model::load() 2013-09-18 23:43:46 +02:00
Carsten Brandt
563171eba4 moved redis out of yii\db namespace 2013-09-18 17:09:40 +02:00
Carsten Brandt
d8d6d1e368 Merge branch 'master' into redis
* master: (156 commits)
  added property docs to AR test classes
  moved getPDOType() back to Command to avoid dependency on Schema
  updated @property annotations of web\Request
  moved redis out of yii\db namespace
  Fixes #884.
  Supports sending CSRF token via HTTP header.
  Use .prop() instead .attr().
  use meta tags to pass CSRF token.
  Added memcached service in Travis YAML
  fixed typo
  cleanup db `use` statements
  doc fix.
  Better strtr arguments format
  Modified js registration position.
  renamed Request::csrfTokenName to csrfVar. added version, csrfVar and csrfToken to yii js module.
  Advanced application enhancements.
  Basic application enhancements.
  Better phpdoc for AccessControl
  Security::generateRandomKey enhancements:
  Fixes #875: Security::generateRandomKey() can now be safely used in URLs
  ...

Conflicts:
	.travis.yml
	framework/yii/caching/RedisCache.php
	tests/unit/framework/caching/RedisCacheTest.php
2013-09-18 16:37:56 +02:00
Carsten Brandt
3a347c3587 added property docs to AR test classes 2013-09-18 16:30:00 +02:00
Carsten Brandt
ef13a11f66 moved getPDOType() back to Command to avoid dependency on Schema
fixes #854
2013-09-18 16:29:16 +02:00
Carsten Brandt
0a5b1a935e simplified memcache installation on travis 2013-09-14 12:57:45 +02:00
Carsten Brandt
a1af321d38 fixed typo in apc install script 2013-09-14 12:56:10 +02:00
Carsten Brandt
34ebe65cf5 added apc,redis and memcache(d) to travis 2013-09-14 12:50:16 +02:00
Carsten Brandt
41bd9ab7a8 added memcache and apc to travis 2013-09-14 12:23:06 +02:00
Carsten Brandt
f6f2522ad6 added travis README from yii 1.1 2013-09-14 12:12:20 +02:00
Carsten Brandt
69a38d1895 added cubrid_pdo to travis 2013-09-14 12:07:04 +02:00
Carsten Brandt
eb5bf2dabe added cubrid dbms to travis-ci
copied from
056e734ce3/.travis.yml
2013-09-14 11:33:07 +02:00
Carsten Brandt
164c70eebc Add support for composite FK to cubrid 2013-09-06 15:32:33 +02:00
Carsten Brandt
58f8293b84 custom bindValue test for cubrid 2013-09-06 13:24:36 +02:00
Carsten Brandt
791f9d3f4e better use int for boolean representation
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
2013-09-06 13:21:35 +02:00