54 Commits

Author SHA1 Message Date
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
61cacdfc81 add findAndModify() method to the Collection class 2014-03-04 12:36:05 +03:00
825a71c6df replaced keyword "yii" with "yii2" in composer.json files (fixes #2557) 2014-02-27 17:37:08 +01:00
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
505762d49c updated docs about active relation 2014-02-21 18:53:28 +01:00
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00
cb8237c1b7 merged ActiveQueryInterface and ActiveRelatioInterface 2014-02-20 16:15:10 +01:00
3b40d44909 made createQuery() config param optional 2014-02-20 05:54:47 +01:00
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
c65b171e98 removed useless option 2014-02-19 00:03:30 +03:00
8a6418a9c2 refactoring Session component 2014-02-18 22:42:42 +03:00
c56bf509c1 small typos 2014-02-18 22:41:52 +03:00
8f9c54a149 add method findOne() to the Collection class 2014-02-18 22:40:48 +03:00
75ea33ac64 mongodb method "open" not triggered event "after open connection" 2014-02-18 22:37:59 +03:00
08131477a2 yii\mongodb\Collection::mapReduce() fixed to handle 'inline' output correctly. 2014-02-10 21:51:38 +02:00
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
7863a0ff24 Merge pull request #2279 from Ragazzo/fixtures_controller_improvements
Fixtures controller improvements
2014-02-03 13:26:28 -08:00
16e1aff41b renamed ActiveRecord::create() to populateRecord()
- refactored elasticsearch AR to make type and index available in
  instantiate(), issue #1313

fixes #2281
2014-02-03 14:07:12 +01:00
5e33a17b6a fixed active fixtures classes 2014-02-02 16:36:43 +04:00
5c26f01f84 fixed doc links 2014-01-29 12:22:30 +01:00
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
f6dd6fa2e9 Renamed ActiveRecordInterface::createActiveRelation() to createRelation() 2014-01-24 14:46:53 -05:00
f82ecad658 Added doc. 2014-01-21 09:07:11 -05:00
3986e11585 data file removed 2014-01-21 11:35:22 +02:00
d5d810dd86 local data variable and some code style fixation 2014-01-21 00:54:55 +02:00
0d35c269fe using batchInsert 2014-01-20 20:02:51 +02:00
a4b6eeca7e refactoring according to the new version 2014-01-20 19:03:44 +02:00
719a721ebe active fixture for mongodb extension 2014-01-20 18:50:38 +02:00
796284cba1 reworked fix for #1993 2014-01-16 11:05:26 +01:00
81d23332df afterFind event in AR is now called after relations have been populated
fixes #1993
2014-01-16 10:28:58 +01:00
8ede55a0df Documentation for "mongodb" extension improved. 2014-01-14 12:50:56 +02:00
ece5f0b8ad Doc comments for MongoDB Session updated. 2014-01-14 12:00:04 +02:00
399e7f82f8 Doc comments for MongoDB Cache fixed. 2014-01-14 11:47:09 +02:00
5d3684fd7c Unit test for MongoDB Cache advanced. 2014-01-13 16:13:21 +02:00
9ca62131f9 Merge branch 'master' of github.com:yiisoft/yii2 into mongodb-cache 2014-01-13 15:36:51 +02:00
32887edf5a MongoDB Cache class added as draft. 2014-01-13 14:41:45 +02:00
48be2bb7d1 MongoDB Session class added. 2014-01-13 12:54:18 +02:00
da9d544c54 psr-4 change. 2014-01-10 21:06:25 -05:00