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
Carsten Brandt
fa767ceaca
renamed attributes to attributeNames in model
...
fixes #3034
2014-04-09 18:54:53 +02:00
Qiang Xue
0e143338d7
Finished refactoring find() .
2014-04-07 16:29:12 -04:00
Alexander Makarov
75154d351d
Refactored AR find
2014-04-07 09:43:03 +04:00
Carsten Brandt
865b71ef5e
cleanup CHANGELOGs
2014-04-03 20:28:08 +02:00
Qiang Xue
54e08f3f01
fixed build break.
2014-04-03 11:57:49 -04:00
Qiang Xue
8b4dfcc876
Fixes #2955 : Changed the signature of ActiveQuery constructors and ActiveRecord::createQuery() to simplify customizing ActiveQuery classes
2014-04-03 10:36:52 -04:00
Qiang Xue
0fa19291f1
refactored filterWhere().
2014-04-02 20:03:42 -04:00
Carsten Brandt
cc0d5b6f94
added CHANGELOG lines
2014-04-02 19:22:43 +02:00
Carsten Brandt
e9e59483f4
removed unnecessary code duplication
2014-04-02 19:07:13 +02:00
Carsten Brandt
96f1c4c10b
renamed Query::filter() to Query::filterWhere()
2014-04-02 18:48:14 +02:00
Alexander Makarov
06fdb79730
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
2014-03-31 15:09:33 +04:00
Alexander Makarov
ecf019e311
Merge branch 'master'
2014-03-31 02:20:56 +04:00
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
Alexander Makarov
8cd247730a
Query::filter() adjustments
2014-03-29 23:26:02 +04:00
Alexander Makarov
a884c80fe3
Merge branch 'master'
2014-03-29 22:55:59 +04:00
Carsten Brandt
f4395206b7
reset dirty attributes after afterSave
...
so information about changed values is available in `afterSave`-event.
fixes #2892
2014-03-27 12:14:03 +01:00
Alexander Makarov
3c1a8141fd
fixes #2002
2014-03-27 12:41:16 +04:00
Carsten Brandt
1e75427393
updated classmap and phpdoc
2014-03-24 23:26:30 +01:00