Commit Graph

542 Commits

Author SHA1 Message Date
Alexander Makarov
2a8ca600c5 Simplified parameter check for buildSimpleCondition() 2014-08-01 21:21:01 +04:00
Alexander Makarov
47ee0b87d4 Removed unnecessary code 2014-08-01 21:18:48 +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
c1cf48cf5b Fixes #2315: Any operator now could be used with yii\db\Query::->where() operand format 2014-08-01 11:37:05 +04:00
slavcodev
fa8e576251 Refactored ActiveQuery::one() to be consistent with all() creation 2014-07-31 16:38:23 +03:00
Carsten Brandt
3a1e0f3a5c property codestyle framework 2014-07-30 00:21:31 +02:00
Carsten Brandt
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00
Alexander Makarov
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
Qiang Xue
1f0d2ab7d9 Fixed Oracle DB type mapping. (Fixes #4) 2014-07-24 20:51:58 -04:00
miramir
67bd4972ba Check availabilty field in BaseActiveRecord::populateRecord
check with Object::canSetProperty()

fixes #4305, close #4211
2014-07-23 13:49:55 +02:00
Carsten Brandt
f5f9364785 fixed test break
how did that manage to pass before...?
2014-07-23 02:50:18 +02:00
Carsten Brandt
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
Carsten Brandt
d036d2f5bf add support for array valued attr relations to unlink and link 2014-07-23 01:25:33 +02:00
tof06
06bbf017a0 Fixes #4342 2014-07-22 17:39:00 +02:00
Qiang Xue
e486b663a0 Fixed test break. 2014-07-21 14:38:45 -04:00
Carsten Brandt
d4237b8e50 Update ActiveRecordInterface.php
fixes #3026
2014-07-21 16:27:46 +02:00
Qiang Xue
27132ced7c Fixes #4384. 2014-07-21 08:20:10 -04:00
Qiang Xue
a3e2b94adf Fixes #3611: Refactored query caching. 2014-07-20 20:59:38 -04:00
Carsten Brandt
cc38e9c795 fixed issue with indexBy and array valued relations 2014-07-21 00:35:55 +02:00
Klimov Paul
1a07485e27 Added support for relation by array attributes
fixes #1249
2014-07-20 23:33:51 +02: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
0a5894fcd8 Fixes #4299 2014-07-13 21:35:35 -04:00
Qiang Xue
919ab232e7 all finished. [skip ci] 2014-07-12 13:11:29 -04:00
Qiang Xue
65987f62ae test WIP 2014-07-12 10:38:51 -04:00
Qiang Xue
478380fb10 Fixed test brak. 2014-07-11 22:49:32 -04:00
Qiang Xue
c16e5e4240 do not switch connection when in a transaction. 2014-07-11 22:39:07 -04:00
Qiang Xue
43333d9cad Implemented master balancing. 2014-07-11 22:33:36 -04:00
Qiang Xue
91e0c5ae8a Added Connection::useMaster() and refactored code. 2014-07-11 21:04:26 -04:00
Qiang Xue
e67d0b3c39 WIP 2014-07-11 14:01:44 -04:00
Qiang Xue
2018503c8d WIP 2014-07-11 12:59:32 -04:00
Qiang Xue
67a1e172db WIP 2014-07-11 08:27:58 -04:00
Qiang Xue
ff50f15056 proper quoting of sequence name. 2014-07-10 14:06:47 -04:00
Alexander Makarov
bc5028eb97 Renamed parameter to match description better 2014-07-10 21:09:08 +04:00
Alexander Makarov
608e9012fb Adjusted Connection::transaction to provide Connection instance by default instead of transaction instance 2014-07-10 20:50:07 +04:00
Qiang Xue
b147e6516d minor CS fixes [skip ci] 2014-07-10 11:59:27 -04:00
Alexander Makarov
dca2a84c58 Fixed missing callable in method signature 2014-07-10 19:24:41 +04:00
Alexander Makarov
593b478f2b Added extra callable typehints 2014-07-10 19:12:05 +04:00
Alexander Makarov
4ff28fb9fb Added callable typehint and active transaction check to Connection::transaction() 2014-07-10 19:01:21 +04:00
Alexander Makarov
ceff7cc794 Removed requirement to use \Callback from Connection::transaction, improved docs 2014-07-10 18:18:51 +04:00
Alexander Makarov
56a7ec7618 Passed transaction as callback argument for Connection::transaction() method 2014-07-10 17:57:52 +04:00
Alexander Makarov
5991006ed7 Fixed example of closure-transactions 2014-07-10 17:35:54 +04:00
Ragazzo
e5195937e4 Fixes #3384: Added callback-style transactions 2014-07-10 17:24:10 +04:00
Qiang Xue
038d5a5375 Fixes #4232: TableSchema::sequenceName for PostgreSQL should remove the enclosing quotes 2014-07-09 17:17:35 -04:00
Qiang Xue
9cb36d01a7 Fixes #4212: MSSQL query builder should not generate the ORDER BY clause when it is not needed 2014-07-08 20:37:53 -04:00
miramir
0322e427e7 fix unnecessary diff 2014-07-07 21:24:21 +06:00
Иван Багаев
93c567e7e1 Retriev quoteSimpleTableName 2014-07-07 20:54:31 +06:00
miramir
9c55cc48f8 Removing unnecessary methods 2014-07-07 11:38:05 +06:00
Иван Багаев
b96e45faf7 Remove test for asterisk in quoteSimpleTableName 2014-07-05 22:07:46 +06:00