91 Commits

Author SHA1 Message Date
7a418ae9e2 yii\mongodb\Collection::buildLikeCondition() fixed to be case insensitive. 2014-08-26 14:03:02 +03:00
9b1ab7cd36 Fixes #4708 2014-08-13 22:59:13 +04:00
f099616967 improved IDE autocompletion for AR::find()
[ci skip]
2014-08-12 23:21:34 +02:00
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
11f8a2d190 Using of MongoCollection::createIndex() provided 2014-07-31 10:20:33 +03:00
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
e8c6bb516f Fixes #4048: Added init event to ActiveQuery classes 2014-07-19 20:26:58 -04:00
e54fc6f4c2 yii\mongodb\log\MongoDbTarget log target added 2014-07-17 17:23:12 +03:00
0c7010873d Issue #2337 added to CHANGELOG 2014-07-11 16:19:37 +03:00
7a937903c2 yii\mongodb\Collection::buildLikeCondition() fixed to escape regular expression.
`yii\mongodb\Collection::buildRegexCondition()` added.
2014-07-11 16:17:56 +03:00
b90f88659d Unit test for MongoDB migration controller added 2014-07-10 13:33:09 +03:00
1085f1bd9b cleanup after #4092
fixes #4086
2014-06-29 13:29:23 +02:00
f9febd0087 unify changedAttributes of afterSave in extensions 2014-06-27 20:10:43 +04:00
2cab70b064 Ensure consistent behavior in ActiveRecord::afterSave()
fixes #4012
2014-06-25 00:29:34 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
bb1a964cb8 Fixed multiple entries of base migration in history for MongoDB 2014-06-19 11:28:32 +03:00
5f8524652d Docs about mongodb migration usage adjusted 2014-06-19 10:46:06 +03:00
d011675b77 mongodb/CHANGELOG updated 2014-06-18 18:02:03 +03:00
3253bf316c Data manipulation methods added to yii\mongodb\Migration 2014-06-18 17:59:19 +03:00
407ce75880 yii\mongodb\console\controllers\MigrateController created 2014-06-18 17:46:20 +03:00
3d7a91e12b yii\mongodb\Migration created 2014-06-18 17:13:16 +03:00
c3ffce2178 Issue #3778 added to mongodb/CHANGELOG 2014-06-18 15:38:53 +03:00
f37a6fdacb Docs about MongoDB gii generator usage added 2014-06-10 16:36:00 +03:00
5c9c0829de Gii generator for MongoDB Active Record created. 2014-06-10 15:46:02 +03:00
3e4ec22004 update changelog
[ci skip]
2014-06-04 14:33:07 +02:00
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
edc92a86df Added missing changelog line for mongodb fix 2014-05-07 03:11:34 +04:00
3af22ece0a Fixed mongodb to use non-deprecated method of determining if there's an active connection 2014-05-07 01:19:54 +04:00
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +04:00
f4c38faf74 prepare for next release. 2014-04-13 21:22:29 -04:00
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
44dbb2235a cleanup docs 2014-04-03 20:13:32 +02:00
54e08f3f01 fixed build break. 2014-04-03 11:57:49 -04:00
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
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
0320670822 Changes mongodb build and condition, fixes #2868 2014-03-28 11:12:38 +01:00
c73cfe147f Fixed inconsistencies with setting old attributes and pks
issue #2892
2014-03-27 13:17:54 +01:00
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
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
bc73a2481c MongoDB log fixed to handle Mongo objects correctly 2014-03-08 15:19:46 +02:00
f56616394e Note about embedded documents added to mongodb extension readme 2014-03-08 14:34:35 +02:00
866ba85010 yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format. 2014-03-08 14:12:08 +02:00
8d5536ac12 yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file. 2014-03-08 11:49:09 +02:00
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
ef12934b6b Merge pull request #2613 from mongosoft/mongodb
add findAndModify() method to the Collection class
2014-03-04 18:20:28 +02:00