Alexander Mohorev
bb8550886e
PHP type casting
2014-10-25 15:30:03 +03:00
Carsten Brandt
7e0c6353f7
optimized redis AR insert
2014-09-22 18:57:21 +02:00
Alexander Makarov
7c7783a548
Booleans are now stored as 0 or 1 in Redis
2014-09-07 20:22:35 +04:00
Alexander Makarov
660fa46127
Fixed storing and loading null-values in Redis
2014-09-07 20:09:03 +04:00
Carsten Brandt
f099616967
improved IDE autocompletion for AR::find()
...
[ci skip]
2014-08-12 23:21:34 +02:00
Qiang Xue
e8c6bb516f
Fixes #4048 : Added init event to ActiveQuery classes
2014-07-19 20:26:58 -04:00
Vladimir Zbrailov
f9febd0087
unify changedAttributes of afterSave in extensions
2014-06-27 20:10:43 +04:00
Carsten Brandt
2cab70b064
Ensure consistent behavior in ActiveRecord::afterSave()
...
fixes #4012
2014-06-25 00:29:34 +02:00
savvot
5655a5fc5a
yii\redis\ActiveRecord::deleteAll() refactoring - code style updated
2014-06-05 23:24:40 +02:00
savvot
3aceaa01d2
yii\redis\ActiveRecord::deleteAll() refactoring - code style updated
2014-06-05 23:09:28 +02:00
savvot
a5506e64a2
yii\redis\ActiveRecord::deleteAll() refactoring - no need to write to socket 2 times when nothing found
2014-06-05 21:16:13 +02:00
savvot
4866ce3cbb
yii\redis\ActiveRecord::deleteAll() refactoring - no need to write to socket 2 times when nothing found
2014-06-05 21:01:15 +02:00
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
2014-04-23 03:25:11 +02:00
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -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
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
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
Carsten Brandt
1fdf17b59b
cleanup redis AR
2014-03-26 16:37:54 +01: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
Luciano Baraglia
269d1303a9
Code style fixes
2014-03-08 20:47:04 -03:00
AlexGx
1982efbdfe
many phpcs fixes
2014-03-05 00:22:55 +02:00
Carsten Brandt
505762d49c
updated docs about active relation
2014-02-21 18:53:28 +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
Qiang Xue
f6dd6fa2e9
Renamed ActiveRecordInterface::createActiveRelation() to createRelation()
2014-01-24 14:46:53 -05:00
Qiang Xue
da9d544c54
psr-4 change.
2014-01-10 21:06:25 -05:00
Qiang Xue
41685a2409
moved extensions under yii.
2013-12-09 23:51:49 -05:00
Carsten Brandt
e2b4708bbd
added support for updateCounters to elasticsearch
...
issue #1313
2013-12-09 14:42:28 +01:00
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
2013-12-04 14:26:47 +01:00
Alexander Makarov
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
Carsten Brandt
48199cfc00
renamed redis tableName() to keyPrefix()
2013-11-30 15:30:05 +01:00
Carsten Brandt
d0fc987f0b
fixed test break
2013-11-30 03:15:35 +01:00
Carsten Brandt
ff52f28d0a
adjusted elasticsearch and redis AR to use BaseAR
2013-11-30 01:30:31 +01:00
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
2013-11-29 12:49:07 -05:00
Carsten Brandt
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
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-26 04:24:20 +02:00
Carsten Brandt
f6811002ca
Merge branch 'master' into elasticsearch
...
* master: (59 commits)
updated ext composer.json for issue labels
moved redis to extensions
fixed whitespaces
update composer to include sphinx
Added initial steps about configuring DB-based RBAC
Fixes #1297 : CSRF not generated on error pages
fixes #1158 mentioned @web alias in docs
Merged RBAC draft into authorization
"yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options.
Code style and docs at "yii\sphinx\*" fixed.
Docs for Sphinx extension updated.
Redundant typecast removed from yii\sphinx\ActiveRecord::create()
yii\sphinx\Command reworked to extend yii\db\Command. yii\sphinx\DataReader removed.
Sphinx Active Record updated to be compatible with ActiveDataProvider.
Sphinx documentation updated.
Sphinx documentation updated.
Sphinx has many relation test prepared.
Sphinx Query refactored.
Create relation methods added to Sphinx Active Record.
Sphinx Query Builder updated to respect column types for where statements
...
2013-11-25 03:21:08 +01:00
Carsten Brandt
8ac2b7364d
moved redis to extensions
2013-11-25 02:27:04 +01:00