886 Commits

Author SHA1 Message Date
9288efb924 fixed Sort test 2013-11-23 18:27:58 +01:00
e16fb9596b indentation fix 2013-11-23 18:21:26 +02:00
c6347d6d01 polished elasticsearch AR api, added mget and fixed AR::equals() 2013-11-23 15:26:00 +01:00
820f840ce3 added revokeAll() test 2013-11-23 15:30:15 +02:00
426223af1d more query methods and fixes 2013-11-23 07:41:12 +01:00
779d6b6e96 fixed count and asArray() 2013-11-23 07:40:40 +01:00
39ff11a374 first draft of elasticsearch AR 2013-11-23 06:30:36 +01:00
bd589620d8 Merge branch 'master' into elasticsearch
* master: (59 commits)
  Refactored hasMany and hasOne so that they support cross-DBMS relationship.
  removed unused asset.php files
  fixed composer.json autoload pathes
  fixed c&p error
  allow installing yii2-dev and get the Yii.php file in the same place
  updated dev composer.json dependencies
  added composer.json for yii2-dev package
  fixed broken UniqueValidator
  removed call to nonexistsend property
  cleanup redis AR
  refactored Model and redis AR to allow drop of RecordSchema
  refactored redis AR to relect the latest changes
  "yii\swiftmailer\Mailer::createSwiftObject()" simplified.
  fixed empty result in findByPk list
  fixed problem with not closed transaction in deleteAll()
  fixed broken test
  apply changes to db\AR -> redis\AR
  added dependency in db\AR -> redis\AR needs to be refactored later
  redis AR cleanup
  ensure atomicity of operations
  ...

Conflicts:
	tests/unit/data/config.php
2013-11-23 03:02:35 +01:00
a95d54ccb7 Merge pull request #905 from yiisoft/redis
[WIP] Redis ActiveRecord
2013-11-22 17:26:19 -08:00
8341a59717 Merge branch 'master' into elasticsearch
* master: (587 commits)
  fixed typo
  Fixes #1222: refactored jui/Widget, intorduced jui/Slider and jui/SliderInput
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Added example for dividers to bootstrap Nav
  Checkboxlist documentation fix
  Added "Using controller action to render errors"
  Fix doc
  Renamed DetailView attribute type to format
  encode email in Formatter
  Added default status code setting.
  "yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins.
  fix rbac select statement
  Comments cleanup.
  Reverted closeButton
  Nomenclature and code realignment.
  better nginx config
  guide about using bootstrap less files
  Include Schema in new migrations by default
  ...

Conflicts:
	framework/composer.json
	tests/unit/data/config.php
2013-11-22 20:19:49 +01:00
cb4504a10f refactored Model and redis AR to allow drop of RecordSchema 2013-11-22 18:44:22 +01:00
8542448f20 refactored redis AR to relect the latest changes
- make use of traits
- short array
- better implementation of query findByPk
2013-11-22 17:29:05 +01:00
b20e57688a "yii\swiftmailer\Mailer::createSwiftObject()" simplified. 2013-11-22 16:46:31 +02:00
bc4324c041 Merge branch 'master' into redis
* master: (613 commits)
  fixed typo
  Fixes #1222: refactored jui/Widget, intorduced jui/Slider and jui/SliderInput
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Added example for dividers to bootstrap Nav
  Checkboxlist documentation fix
  Added "Using controller action to render errors"
  Fix doc
  Renamed DetailView attribute type to format
  encode email in Formatter
  Added default status code setting.
  "yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins.
  fix rbac select statement
  Comments cleanup.
  Reverted closeButton
  Nomenclature and code realignment.
  better nginx config
  guide about using bootstrap less files
  Include Schema in new migrations by default
  ...

Conflicts:
	framework/yii/db/ActiveRecord.php
	framework/yii/db/ActiveRelation.php
	tests/unit/data/config.php
2013-11-22 15:04:08 +01:00
400b5310ca Docs for Sphinx extension updated. 2013-11-22 14:06:32 +02:00
c1b5946d40 yii\sphinx\Command reworked to extend yii\db\Command.
yii\sphinx\DataReader removed.
2013-11-22 13:26:42 +02:00
433ffb2e48 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-22 13:02:06 +02:00
02c0bfcb56 "yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins. 2013-11-21 14:46:04 +02:00
18af6984fc Merge branch 'sphinx' of github.com:klimov-paul/yii2 into sphinx 2013-11-21 13:43:11 +02:00
765d47d00d Sphinx Active Record updated to be compatible with ActiveDataProvider. 2013-11-21 13:41:35 +02:00
900100c29e Merge pull request #1258 from cebe/self-static
Changed usage of self to static to allow extendibility
2013-11-20 12:29:04 -08:00
7fa572460e Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-20 20:25:24 +02:00
e775c82dd8 Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static

verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00
8dab87be3d fixed EmailValidator IDN and full pattern support
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
e19c9cebc6 Sphinx has many relation test prepared. 2013-11-20 13:14:21 +02:00
6a5b8d1904 Sphinx Query refactored. 2013-11-20 11:27:44 +02:00
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
53457a0a3f Simplified ArrayHelper::multisort(). 2013-11-19 14:10:00 -05:00
9efe446545 Fixes #1236: removed Sort::ASC and DESC 2013-11-19 10:20:07 -05:00
9a45a04365 Create relation methods added to Sphinx Active Record. 2013-11-19 17:18:54 +02:00
6bfc888c8f Sphinx Active Relation created 2013-11-18 16:56:28 +02:00
c355fed280 Sphinx test delta index added 2013-11-18 16:12:59 +02:00
bd79e1c1be Sphinx Active Record saving via 'replace' converted into fallback 2013-11-18 15:36:06 +02:00
102f386873 Index schema type support added to Sphinx 2013-11-18 13:36:17 +02:00
09a3300b7c refactored redis cache, added mset() 2013-11-17 21:09:13 +01:00
e1065ef1fc "snippetByModel" option added to Sphinx Active Query. 2013-11-17 17:02:47 +02:00
386b58b2a1 Snippet call options added to Sphinx Query. 2013-11-17 16:26:58 +02:00
cfb3e98bf6 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-17 14:02:29 +02:00
1c24b3e0d8 removed TestCase and WebTestCase. 2013-11-16 21:30:20 -05:00
979e8d1619 Replaced assertTrue(file_exists with assertFileExists in FileHelperTest 2013-11-17 04:19:57 +04:00
1a7a15a3ef Implemented mset, madd for cache. Added tests. 2013-11-17 04:00:43 +04:00
5fc51f1ad9 Merge pull request #1094 from pmoust/cache-mset
[WIP] Caching: mset() method to store multiple items.
2013-11-16 14:24:17 -08:00
77840adf65 Made ActiveRecord::isPrimaryKey() public
+ added tests and fixed behavior
2013-11-16 16:53:50 +01:00
d6ddfd7bb3 Methods "callSnippets()" and "callKeywords()" added to Sphinx Active Record 2013-11-16 17:14:15 +02:00
0bc91f29e7 Sphinx Active Record relation handling provided. 2013-11-16 15:32:03 +02:00
62968971b6 Sphinx unit test "ActiveRelationTest" created. 2013-11-16 14:54:24 +02:00
ffded7a1b5 array syntax fix. 2013-11-15 10:15:25 -05:00
93ca701a10 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-15 12:17:22 +02:00