65 Commits

Author SHA1 Message Date
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
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