Commit Graph

166 Commits

Author SHA1 Message Date
Alexander Makarov
66aab86b9d Fixed array syntax 2014-09-07 15:47:21 +04:00
Qiang Xue
212c5ee3ef Fixes #4254: SqlDataProvider does not work with Oracle and SQL Server 2014-09-03 14:42:09 -04:00
Klimov Paul
5b0d6f885c yii\sphinx\ActiveQuery fixed to be resuable with 'match' condition. 2014-08-27 14:51:30 +03:00
Klimov Paul
10edf5c929 yii\sphinx\ActiveQuery fixed to be resuable. 2014-08-27 14:01:29 +03:00
Carsten Brandt
f099616967 improved IDE autocompletion for AR::find()
[ci skip]
2014-08-12 23:21:34 +02:00
Alexander Makarov
2a8ca600c5 Simplified parameter check for buildSimpleCondition() 2014-08-01 21:21:01 +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
Alexander Makarov
a38ba3ccbf Fixes #4526: fixed error caused by substr_compare length parameter doesn't accept null in PHP 5.4 2014-07-31 19:00:07 +04:00
Carsten Brandt
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00
Alexander Makarov
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
Alexander Makarov
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
Klimov Paul
98a86ce73b Sphinx distributed indexes support provided 2014-07-21 12:34:28 +03:00
Qiang Xue
6e6005b148 Refactored code. 2014-07-20 08:01:16 -04:00
Qiang Xue
e8c6bb516f Fixes #4048: Added init event to ActiveQuery classes 2014-07-19 20:26:58 -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
478380fb10 Fixed test brak. 2014-07-11 22:49:32 -04:00
Qiang Xue
43333d9cad Implemented master balancing. 2014-07-11 22:33:36 -04:00
Qiang Xue
d2cb245dc3 Finished sphinx support 2014-07-11 14:18:27 -04:00
Carsten Brandt
1085f1bd9b cleanup after #4092
fixes #4086
2014-06-29 13:29:23 +02:00
Vladimir Zbrailov
f9febd0087 unify changedAttributes of afterSave in extensions 2014-06-27 20:10:43 +04:00
Carsten Brandt
5d0452b2ae rename ColumnSchema::typecast to phpTypecast 2014-06-27 02:12:59 +02:00
Carsten Brandt
8a70d9fbd1 rename column schema typecast method 2014-06-26 00:11:04 +02:00
Carsten Brandt
6a48f68955 split typecast method into two
one method for fetching data and one for sending to db.

fixes #2287
2014-06-26 00:00:37 +02:00
Carsten Brandt
48f6e380df Merge PR #4038 branch 'consistent-after-save'
* consistent-after-save:
  use an AfterSaveEvent class to be consistent
  fixed test break and wrong parameter
  changed updateAttributes to be more simple update
  Ensure consistent behavior in ActiveRecord::afterSave()

Conflicts:
	framework/UPGRADE.md
2014-06-25 20:23:16 +02:00
Carsten Brandt
2cab70b064 Ensure consistent behavior in ActiveRecord::afterSave()
fixes #4012
2014-06-25 00:29:34 +02:00
Klimov Paul
8871751172 Issue #4018 added to Sphinx CHANGELOG 2014-06-24 18:07:44 +03:00
Klimov Paul
64c43a3a1d Type cast added to yii\sphinx\ActiveRecord::populateRecord() 2014-06-24 18:05:27 +03:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Klimov Paul
7e823f0972 Docs about Sphinx Gii generator added 2014-06-19 13:27:54 +03:00
Klimov Paul
b85074a2bc Sphinx Gii generator created 2014-06-19 13:23:33 +03:00
Carsten Brandt
20483e25db added reference link to SQL error code
[ci skip]
2014-06-12 15:11:48 +02:00
Carsten Brandt
9430ccd095 more robust check for table not exists
should work on HHVM too
2014-06-12 14:46:13 +02:00
Klimov Paul
2a98bb3014 Docs for Sphinx extension updated 2014-06-05 15:01:08 +03:00
Klimov Paul
e4b1f4e9f0 Docs for Sphinx extension updated 2014-06-05 13:09:46 +03:00
Klimov Paul
603127712b Escaping of the special characters at 'MATCH' statement reworked 2014-06-05 11:46:35 +03:00
Carsten Brandt
3e4ec22004 update changelog
[ci skip]
2014-06-04 14:33:07 +02:00
Klimov Paul
804aded508 yii\sphinx\Connection::escapeMatchValue() fixed 2014-06-04 10:56:33 +03:00
Klimov Paul
62fdaeec6a Extra quote escaping at yii\sphinx\Connection::escapeMatchValue() fixed 2014-06-03 16:46:03 +03:00
Klimov Paul
adb36e42c4 Usage of yii\db\Expression for the 'MATCH' statement fixed 2014-06-03 15:58:02 +03:00
Klimov Paul
3f001aeed0 Escaping of the special characters at 'MATCH' statement added 2014-06-03 13:47:15 +03:00
Carsten Brandt
b7e493fca0 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
Alexander Makarov
11cded9b7c Fixed Sphinx schema 2014-05-07 22:02:47 +04:00
Alexander Makarov
b1d94e5c95 Removed unnecessary instance check, fixed Sphinx schema 2014-05-07 04:04:44 +04:00
Carsten Brandt
c27ac8ef0e updated phpdoc 2014-04-26 03:39:46 +02:00
Carsten Brandt
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
Qiang Xue
a60d295253 Added support for using sub-queries when building a DB query with IN condition 2014-04-15 20:20:18 -04:00
Qiang Xue
f4c38faf74 prepare for next release. 2014-04-13 21:22:29 -04:00
Qiang Xue
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
Carsten Brandt
c6e1a2f02f Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (79 commits)
  Refactored app bootstrap logic.
  Update authorization.md
  Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
  start debug logging only if debug runs when bootstrap.
  Update finnish translation
  Add ODBC support to yii\db\Connection
  updated error handler and requirement checker links.
  fixed broken API links [skip ci]
  added more doc [skip ci]
  update class map.
  Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
  renamed attributes to attributeNames in model
  updated phpdoc
  Removed `Application::preload` in favor of `Application::bootstrap`
  Update module-debug.md
  Update model.md
  Fixes
  Update basics.md
  typo fix [skip ci]
  Added `HtmlResponseFormatter` and `JsonResponseFormatter`
  ...
2014-04-10 22:22:36 +02:00
Carsten Brandt
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00