556 Commits

Author SHA1 Message Date
212c5ee3ef Fixes #4254: SqlDataProvider does not work with Oracle and SQL Server 2014-09-03 14:42:09 -04:00
78b5c7db66 fixed boolean handling for PostgreSQL
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
  are used correctly. Workaround resulted from wrong usage of boolean
  values before.

fixes #4672
2014-08-28 11:20:17 +02:00
7aed617c38 Fixes #4813: Fixed MSSQL schema that was getting incorrect info about constraints 2014-08-26 14:12:24 +04:00
7deb26f6c8 Fix PHPDoc 2014-08-24 23:25:08 +04:00
385e13978d Fixes #4800. 2014-08-23 18:18:31 -04:00
3f597fd45d updated doc [skip ci] 2014-08-22 10:06:42 -04:00
3704b9191e Fixes #4697: MSSQL query builder does not work for newer MSSQL versions when LIMIT is used without ORDER BY 2014-08-13 21:07:30 -04:00
7cf358af03 Fixes #4607: AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively 2014-08-12 21:54:08 -04:00
f099616967 improved IDE autocompletion for AR::find()
[ci skip]
2014-08-12 23:21:34 +02:00
25bf486b7f save some function calls on AR insert 2014-08-12 18:13:49 +02:00
5fe6c55d6b Fixes #4586: Signed bigint and unsigned int will be converted into integers when they are loaded from DB by AR 2014-08-11 22:09:51 -04:00
c6274acf6c ensure postgres boolean values are handled correctly
also fixed an issue with default value loading of bool columns.

fixes #3489, fixes #4085, fixes #3920
related to #4672
2014-08-12 02:19:53 +02:00
92d65ab78b fix issue with postgreSQL and batch inserting boolean values
fixes #4654
2014-08-12 01:43:49 +02:00
20774165bc Fixes #4644: Added \yii\db\Schema::createColumnSchema() to be able to customize column schema used 2014-08-12 00:01:27 +04:00
2a8ca600c5 Simplified parameter check for buildSimpleCondition() 2014-08-01 21:21:01 +04:00
47ee0b87d4 Removed unnecessary code 2014-08-01 21:18:48 +04:00
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
c1cf48cf5b Fixes #2315: Any operator now could be used with yii\db\Query::->where() operand format 2014-08-01 11:37:05 +04:00
fa8e576251 Refactored ActiveQuery::one() to be consistent with all() creation 2014-07-31 16:38:23 +03:00
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
1f0d2ab7d9 Fixed Oracle DB type mapping. (Fixes #4) 2014-07-24 20:51:58 -04:00
67bd4972ba Check availabilty field in BaseActiveRecord::populateRecord
check with Object::canSetProperty()

fixes #4305, close #4211
2014-07-23 13:49:55 +02:00
f5f9364785 fixed test break
how did that manage to pass before...?
2014-07-23 02:50:18 +02:00
7939a3dec5 Merge branch 'master' into array-attribute-relations
* master:
  Update output-data-widgets.md
  Fixes #4370: fileinfo extension is required for FileValidator.
  Fixes #4342
  Fixes #3887
  minor refactoring of FileValidator.
  Doc translate for rest-resources
  Better fix for Dropdown container options
  #4388: CORS filter fixes:
  Fixed test break.
  #4310: Removed `$data` from signature of `yii\rbac\ManagerInterface`
  Update .travis.yml
  Update ActiveRecordInterface.php
  Fixes #4384.
  Sphinx distributed indexes support provided
  typo fix [skip ci]
  Fixes #3611: Refactored query caching.
2014-07-23 01:43:03 +02:00
d036d2f5bf add support for array valued attr relations to unlink and link 2014-07-23 01:25:33 +02:00
06bbf017a0 Fixes #4342 2014-07-22 17:39:00 +02:00
e486b663a0 Fixed test break. 2014-07-21 14:38:45 -04:00
d4237b8e50 Update ActiveRecordInterface.php
fixes #3026
2014-07-21 16:27:46 +02:00
27132ced7c Fixes #4384. 2014-07-21 08:20:10 -04:00
a3e2b94adf Fixes #3611: Refactored query caching. 2014-07-20 20:59:38 -04:00
cc38e9c795 fixed issue with indexBy and array valued relations 2014-07-21 00:35:55 +02:00
1a07485e27 Added support for relation by array attributes
fixes #1249
2014-07-20 23:33:51 +02:00
6e6005b148 Refactored code. 2014-07-20 08:01:16 -04:00
e8c6bb516f Fixes #4048: Added init event to ActiveQuery classes 2014-07-19 20:26:58 -04:00
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
0a5894fcd8 Fixes #4299 2014-07-13 21:35:35 -04:00
919ab232e7 all finished. [skip ci] 2014-07-12 13:11:29 -04:00
65987f62ae test WIP 2014-07-12 10:38:51 -04:00
478380fb10 Fixed test brak. 2014-07-11 22:49:32 -04:00
c16e5e4240 do not switch connection when in a transaction. 2014-07-11 22:39:07 -04:00
43333d9cad Implemented master balancing. 2014-07-11 22:33:36 -04:00
91e0c5ae8a Added Connection::useMaster() and refactored code. 2014-07-11 21:04:26 -04:00
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00
2018503c8d WIP 2014-07-11 12:59:32 -04:00
67a1e172db WIP 2014-07-11 08:27:58 -04:00
ff50f15056 proper quoting of sequence name. 2014-07-10 14:06:47 -04:00
bc5028eb97 Renamed parameter to match description better 2014-07-10 21:09:08 +04:00
608e9012fb Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance 2014-07-10 20:50:07 +04:00