Commit Graph

76 Commits

Author SHA1 Message Date
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
bb1a964cb8 Fixed multiple entries of base migration in history for MongoDB 2014-06-19 11:28:32 +03:00
Klimov Paul
5f8524652d Docs about mongodb migration usage adjusted 2014-06-19 10:46:06 +03:00
Klimov Paul
d011675b77 mongodb/CHANGELOG updated 2014-06-18 18:02:03 +03:00
Klimov Paul
3253bf316c Data manipulation methods added to yii\mongodb\Migration 2014-06-18 17:59:19 +03:00
Klimov Paul
407ce75880 yii\mongodb\console\controllers\MigrateController created 2014-06-18 17:46:20 +03:00
Klimov Paul
3d7a91e12b yii\mongodb\Migration created 2014-06-18 17:13:16 +03:00
Klimov Paul
c3ffce2178 Issue #3778 added to mongodb/CHANGELOG 2014-06-18 15:38:53 +03:00
Klimov Paul
f37a6fdacb Docs about MongoDB gii generator usage added 2014-06-10 16:36:00 +03:00
Klimov Paul
5c9c0829de Gii generator for MongoDB Active Record created. 2014-06-10 15:46:02 +03:00
Carsten Brandt
3e4ec22004 update changelog
[ci skip]
2014-06-04 14:33:07 +02: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
edc92a86df Added missing changelog line for mongodb fix 2014-05-07 03:11:34 +04:00
Alexander Makarov
3af22ece0a Fixed mongodb to use non-deprecated method of determining if there's an active connection 2014-05-07 01:19:54 +04:00
Carsten Brandt
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
Alexander Makarov
c7c708d454 Removed unused imports 2014-04-17 15:35:09 +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
Alexander Makarov
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
Carsten Brandt
44dbb2235a cleanup docs 2014-04-03 20:13:32 +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
Carsten Brandt
c93231e26b improved session error handling
fixes #1946
2014-03-29 23:54:26 +01:00
Dirk Adler
0320670822 Changes mongodb build and condition, fixes #2868 2014-03-28 11:12:38 +01:00
Carsten Brandt
c73cfe147f Fixed inconsistencies with setting old attributes and pks
issue #2892
2014-03-27 13:17:54 +01: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
Qiang Xue
8e11ad0360 refactored code to use Instance::ensure() 2014-03-18 12:31:27 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Paul Klimov
bc73a2481c MongoDB log fixed to handle Mongo objects correctly 2014-03-08 15:19:46 +02:00
Paul Klimov
f56616394e Note about embedded documents added to mongodb extension readme 2014-03-08 14:34:35 +02:00
Paul Klimov
866ba85010 yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format. 2014-03-08 14:12:08 +02:00
Paul Klimov
8d5536ac12 yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file. 2014-03-08 11:49:09 +02:00
AlexGx
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
Paul Klimov
ef12934b6b Merge pull request #2613 from mongosoft/mongodb
add findAndModify() method to the Collection class
2014-03-04 18:20:28 +02:00
Alexander Mohorev
61cacdfc81 add findAndModify() method to the Collection class 2014-03-04 12:36:05 +03:00
Tobias Munk
825a71c6df replaced keyword "yii" with "yii2" in composer.json files (fixes #2557) 2014-02-27 17:37:08 +01:00
Alexander Makarov
d8d44b6127 Merge pull request #2501 from yiisoft/unify-urls
Fixes #2426: Changed URL creation method signatures to be consistent
2014-02-21 23:53:15 +03:00
Carsten Brandt
505762d49c updated docs about active relation 2014-02-21 18:53:28 +01:00
Alexander Makarov
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00
Carsten Brandt
cb8237c1b7 merged ActiveQueryInterface and ActiveRelatioInterface 2014-02-20 16:15:10 +01:00
Carsten Brandt
3b40d44909 made createQuery() config param optional 2014-02-20 05:54:47 +01:00
Carsten Brandt
1708a36d95 WIP merge ActiveRelation into ActiveQuery
allow extending only one class to add scopes, fixes #2146

TODO:

- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
Alexander Mohorev
c65b171e98 removed useless option 2014-02-19 00:03:30 +03:00
Alexander Mohorev
8a6418a9c2 refactoring Session component 2014-02-18 22:42:42 +03:00
Alexander Mohorev
c56bf509c1 small typos 2014-02-18 22:41:52 +03:00
Alexander Mohorev
8f9c54a149 add method findOne() to the Collection class 2014-02-18 22:40:48 +03:00
Alexander Mohorev
75ea33ac64 mongodb method "open" not triggered event "after open connection" 2014-02-18 22:37:59 +03:00
Paul Klimov
08131477a2 yii\mongodb\Collection::mapReduce() fixed to handle 'inline' output correctly. 2014-02-10 21:51:38 +02:00
Alexander Makarov
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00