982a27db83
removed support for unlinkAll() from elasticsearch
...
feature is not reliable
fixes #5136
2014-09-23 12:56:05 +02:00
f099616967
improved IDE autocompletion for AR::find()
...
[ci skip]
2014-08-12 23:21:34 +02:00
7736853837
property code style extensions
2014-07-30 00:40:46 +02:00
e8c6bb516f
Fixes #4048 : Added init
event to ActiveQuery
classes
2014-07-19 20:26:58 -04:00
f9febd0087
unify changedAttributes of afterSave in extensions
2014-06-27 20:10:43 +04:00
48f6e380df
Merge PR #4038 branch 'consistent-after-save'
...
* consistent-after-save:
use an AfterSaveEvent class to be consistent
fixed test break and wrong parameter
changed updateAttributes to be more simple update
Ensure consistent behavior in ActiveRecord::afterSave()
Conflicts:
framework/UPGRADE.md
2014-06-25 20:23:16 +02:00
6578cfbdab
updated phpdoc and classmap
2014-06-25 18:24:23 +02:00
2cab70b064
Ensure consistent behavior in ActiveRecord::afterSave()
...
fixes #4012
2014-06-25 00:29:34 +02:00
fda64b4b8f
[WIP] #3527 Fixing spaces
2014-05-22 11:53:24 +03:00
2e7ae3801e
[WIP] #3527 Improving Elasticsearch extension
2014-05-22 11:40:33 +03:00
676b366928
adjusted elasticsearch extension to version 1.0 of ES
...
breaking changes.
2014-05-06 18:14:32 +02:00
fe14f0c5e3
fixed all the PHPdoc in extensions
2014-04-23 03:25:11 +02:00
0e143338d7
Finished refactoring find() .
2014-04-07 16:29:12 -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
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
338b6aa7d3
Refactored ActiveRecord::find() so that find(null) will also return an ActiveRecord instance instead of ActiveQuery.
2014-03-30 19:01:02 -04: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
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
269d1303a9
Code style fixes
2014-03-08 20:47:04 -03:00
1982efbdfe
many phpcs fixes
2014-03-05 00:22:55 +02:00
505762d49c
updated docs about active relation
2014-02-21 18:53:28 +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
8af941fb53
added note about usage to AR::instantiate()
...
fixes #2370
2014-02-10 10:51:16 +01: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
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
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03: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
da9d544c54
psr-4 change.
2014-01-10 21:06:25 -05:00
41685a2409
moved extensions under yii.
2013-12-09 23:51:49 -05:00
e2b4708bbd
added support for updateCounters to elasticsearch
...
issue #1313
2013-12-09 14:42:28 +01:00
26767735dc
Renamed byte methods, moved path methods back to StringHelper
2013-12-04 14:26:47 +01:00
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
2013-12-04 09:48:01 +01:00
ff52f28d0a
adjusted elasticsearch and redis AR to use BaseAR
2013-11-30 01:30:31 +01:00
a5e3c00d75
replaced inheritdoc tags.
2013-11-29 12:49:07 -05:00
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
2013-11-28 01:01:48 +01:00
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-26 04:24:20 +02:00
40fc84b342
cleanup & docs
2013-11-25 20:29:35 +01:00
5164a1671c
finalized Query interface + general cleanup
2013-11-25 20:12:45 +01:00
613758dda5
refactored elasticsearch COnnection and Command
2013-11-25 13:09:38 +01:00
b081cf5e46
moved elasticsearch to extensions
2013-11-25 03:23:12 +01:00