Carsten Brandt
179618c6e9
fixed empty result in findByPk list
11 years ago
Carsten Brandt
b95c056b02
fixed problem with not closed transaction in deleteAll()
11 years ago
Carsten Brandt
b42f4b4ea0
fixed broken test
11 years ago
Carsten Brandt
172a9f19b3
apply changes to db\AR -> redis\AR
11 years ago
Carsten Brandt
1eb877ad82
Merge branch 'master' into redis
...
* master: (30 commits)
Added SerialColumn to crud generated code.
Added ActionColumn. crud generator WIP.
Fixes #823 : consistent interface naming
Advanced application template: Delete flash message after it was displayed
Fixes #901 : Added $delete parameter to Session::getFlash().
Polished up the basic discussion of template alternatives
Advanced application template: removed unused scenario from User model
porting the fix from https://github.com/yiisoft/yii/pull/2894
Edited introduction
Fixes #898 : supported different signature of MemCache::addServer().
Fixes #897 .
Use str_replace() rather than implode-explode
Fix parenthesis typo in CRUD index template
Doing more editing...
test break fix.
Support ajax redirection.
Enable CSRF validation by default.
Supports more elements to use data-confirm and data-method attributes.
refactored Request::validateCsrfToken().
Fixed CSRF validation bug.
...
11 years ago
Carsten Brandt
6133133ec0
added dependency in db\AR -> redis\AR needs to be refactored later
...
this is to make relations work. tests are passing now.
refactoring needed to remove the dependency
11 years ago
Carsten Brandt
df22ffa304
redis AR cleanup
11 years ago
Carsten Brandt
f3aa807d8f
ensure atomicity of operations
11 years ago
Carsten Brandt
c6c164dc71
made link() and unlink() compatible with NoSQL AR
11 years ago
Qiang Xue
7d2d925dbe
Added SerialColumn to crud generated code.
11 years ago
Qiang Xue
cd969509e6
Added ActionColumn.
...
crud generator WIP.
11 years ago
Carsten Brandt
3e75c11721
cleanup and reorder methods in redis ar + added link+unlink
11 years ago
Carsten Brandt
28c7acc469
fixed BETWEEN comparision to match >= and <=
11 years ago
Carsten Brandt
d2c7ef76b3
more tests
11 years ago
Carsten Brandt
86c93cf49a
diff between db\ActiveQuery and redis\ActiveQuery
11 years ago
Carsten Brandt
142ea1f98f
relation support and unit tests
11 years ago
Carsten Brandt
7850c8d238
made indexBy callable like db AR
11 years ago
Carsten Brandt
3623fc19dc
refactored redis AR pk and findByPk
11 years ago
Carsten Brandt
77a3eec343
ActiveRecord::isPrimaryKey() made public
11 years ago
Carsten Brandt
130b63461c
redis WIP
...
- relation support
- completed and refactored lua script builder
11 years ago
Carsten Brandt
603da3f6a1
Merge pull request #904 from yiisoft/interface-rename
...
Fixes #823 : consistent interface naming
11 years ago
Alexander Makarov
e19d0dacf9
Fixes #823 : consistent interface naming
11 years ago
Alexander Makarov
e1061f19ac
Advanced application template: Delete flash message after it was displayed
11 years ago
Qiang Xue
76154b9776
Fixes #901 : Added $delete parameter to Session::getFlash().
11 years ago
Larry Ullman
c05477b141
Polished up the basic discussion of template alternatives
11 years ago
Alexander Makarov
4d901acd8e
Advanced application template: removed unused scenario from User model
11 years ago
Qiang Xue
43d392d8d2
porting the fix from https://github.com/yiisoft/yii/pull/2894
11 years ago
Larry Ullman
9861ed36cd
Edited introduction
11 years ago
Qiang Xue
f415193cdc
Fixes #898 : supported different signature of MemCache::addServer().
11 years ago
Qiang Xue
93d5f5a3ec
Fixes #897 .
11 years ago
Carsten Brandt
e62e84873c
more API methods for redis active query: sum, avg, max, min ...
11 years ago
Carsten Brandt
7817815dd1
added more complex queries via Lua script EVAL to redis
...
- http://redis.io/commands/eval
- http://www.lua.org/
11 years ago
Qiang Xue
df091b15a8
Merge pull request #895 from iJackUA/patch-1
...
Fix parenthesis typo in CRUD index template
11 years ago
Qiang Xue
f4cbadb37b
Merge pull request #896 from wicaksono/development
...
Use str_replace() rather than implode-explode
11 years ago
Niko Wicaksono
2765bcccf8
Use str_replace() rather than implode-explode
11 years ago
iJackUA
73cdbb37c0
Fix parenthesis typo in CRUD index template
...
it was causing blocking PHP error
11 years ago
Larry Ullman
dde7d731a5
Doing more editing...
11 years ago
Qiang Xue
463ff43b4f
test break fix.
11 years ago
Qiang Xue
ae39324e54
Support ajax redirection.
11 years ago
Qiang Xue
3acca93ad3
Enable CSRF validation by default.
11 years ago
Qiang Xue
41f7a7d243
Supports more elements to use data-confirm and data-method attributes.
11 years ago
Qiang Xue
1aeb86df78
refactored Request::validateCsrfToken().
11 years ago
Qiang Xue
4f555a5751
Fixed CSRF validation bug.
11 years ago
Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
11 years ago
Qiang Xue
0fc423c74a
Added support for data-method and data-confirm.
11 years ago
Carsten Brandt
1f8ab8106d
updated classmap
11 years ago
Carsten Brandt
df6176edb6
added unit test for Model::load()
11 years ago
Carsten Brandt
128ee07b78
100% test coverage for CacheSession
11 years ago
Carsten Brandt
bd2404f1c6
added simple unit test for CacheSession
11 years ago
Carsten Brandt
b8ffee6559
moved CacheSession::init() parent call after init of cache component
...
session autostart would fail otherwise.
fixes #887
11 years ago