Commit Graph

183 Commits

Author SHA1 Message Date
Alexander Mohorev
64b4d6dca1 Correct order of property declaration 2014-10-25 16:28:36 +03:00
Alexander Mohorev
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
Qiang Xue
5829020eff Fixes #5223: Query builder now supports selecting sub-queries as columns 2014-10-19 10:58:49 -04:00
Carsten Brandt
292a9ff55b Add support for yii\db\Expression to QueryBuiler simple conditions
fixes #5601
2014-10-17 13:32:54 +02:00
Alexander Makarov
5a99797f86 Removed unused aliases 2014-10-14 01:56:52 +04:00
Qiang Xue
47f2272652 prepare for next release. 2014-10-12 16:44:45 -04:00
Qiang Xue
ae8d978270 2.0.0 release. 2014-10-12 13:09:06 -04:00
Qiang Xue
be2828d593 Fixes #5484: Fixed potential string suffix detection failure on 5.5.11 2014-10-11 09:35:55 -04:00
Klimov Paul
d0bf6e3a98 'sphinx' docs adjusted 2014-10-10 16:50:20 +03:00
Klimov Paul
b952059664 Issue #5211 added to CHANGELOG 2014-10-07 13:35:07 +03:00
Klimov Paul
eb1b557827 yii\sphinx\Query updated to be more consistent with yii\db\Query 2014-10-07 13:32:26 +03:00
Alexander Makarov
cba52e3c5e Fixes #5382: renamed "pivot table" to "junction table" since it's correct term to use 2014-10-07 01:13:17 +04:00
Qiang Xue
5205eabe3e prepare for next release. 2014-09-28 01:44:31 -04:00
Qiang Xue
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
Qiang Xue
15b60174b4 fixes for sphinx. 2014-09-24 08:49:34 -04:00
Carsten Brandt
1e5c48957d composer.json tabs -> spaces 2014-09-22 17:37:19 +02:00
Carsten Brandt
e40fd9d623 added branch alias to composer.json 2014-09-22 17:26:21 +02:00
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