Alexander Makarov
3e94fb479f
Fixed phpdoc
2013-09-27 20:51:08 +04:00
Alexander Makarov
45778a4bd7
Added ->send() to redirect phpdoc example
2013-09-27 20:36:47 +04:00
Qiang Xue
647aa71a5a
Merge pull request #909 from bixuehujin/dataprovider
...
Fixed pagination not working before data loaded
2013-09-26 08:40:24 -07:00
Jin Hu
b7948e4840
Removed unnecessary lines
2013-09-26 23:35:02 +08:00
Jin Hu
d9b256d734
Fixed pagination not working before data loaded
2013-09-26 20:29:59 +08:00
Qiang Xue
220db270cf
Improved crud generator.
2013-09-25 21:20:58 -04:00
Carsten Brandt
b95c056b02
fixed problem with not closed transaction in deleteAll()
2013-09-25 16:58:23 +02:00
Carsten Brandt
f3504f426d
fix test fail when not on travis
2013-09-25 13:00:13 +02:00
Carsten Brandt
9542fd24d4
try to fix: memcache testExpire fails randomly on travis
...
issue #877
2013-09-25 12:58:27 +02:00
Carsten Brandt
b42f4b4ea0
fixed broken test
2013-09-25 12:45:07 +02:00
Carsten Brandt
172a9f19b3
apply changes to db\AR -> redis\AR
2013-09-25 12:36:24 +02:00
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.
...
2013-09-25 12:34:25 +02:00
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
2013-09-25 12:26:40 +02:00
Carsten Brandt
df22ffa304
redis AR cleanup
2013-09-25 11:54:43 +02:00
Carsten Brandt
f3aa807d8f
ensure atomicity of operations
2013-09-25 11:41:41 +02:00
Carsten Brandt
c6c164dc71
made link() and unlink() compatible with NoSQL AR
2013-09-25 11:40:59 +02:00
Qiang Xue
7d2d925dbe
Added SerialColumn to crud generated code.
2013-09-24 21:50:08 -04:00
Qiang Xue
cd969509e6
Added ActionColumn.
...
crud generator WIP.
2013-09-24 21:46:31 -04:00
Carsten Brandt
3e75c11721
cleanup and reorder methods in redis ar + added link+unlink
2013-09-24 20:16:39 +02:00
Carsten Brandt
28c7acc469
fixed BETWEEN comparision to match >= and <=
2013-09-24 19:33:00 +02:00
Carsten Brandt
d2c7ef76b3
more tests
2013-09-24 19:32:41 +02:00
Carsten Brandt
86c93cf49a
diff between db\ActiveQuery and redis\ActiveQuery
2013-09-24 19:31:59 +02:00
Carsten Brandt
142ea1f98f
relation support and unit tests
2013-09-24 19:10:49 +02:00
Carsten Brandt
7850c8d238
made indexBy callable like db AR
2013-09-24 19:09:59 +02:00
Carsten Brandt
3623fc19dc
refactored redis AR pk and findByPk
2013-09-24 19:04:38 +02:00
Carsten Brandt
77a3eec343
ActiveRecord::isPrimaryKey() made public
2013-09-24 19:02:14 +02:00
Carsten Brandt
130b63461c
redis WIP
...
- relation support
- completed and refactored lua script builder
2013-09-24 15:27:54 +02:00
Carsten Brandt
603da3f6a1
Merge pull request #904 from yiisoft/interface-rename
...
Fixes #823 : consistent interface naming
2013-09-24 05:14:42 -07:00
Alexander Makarov
e19d0dacf9
Fixes #823 : consistent interface naming
2013-09-24 15:45:09 +04:00
Alexander Makarov
e1061f19ac
Advanced application template: Delete flash message after it was displayed
2013-09-24 12:07:41 +04:00
Qiang Xue
76154b9776
Fixes #901 : Added $delete parameter to Session::getFlash().
2013-09-23 20:38:54 -04:00
Larry Ullman
c05477b141
Polished up the basic discussion of template alternatives
2013-09-23 17:03:15 -04:00
Alexander Makarov
4d901acd8e
Advanced application template: removed unused scenario from User model
2013-09-23 18:01:13 +04:00
Qiang Xue
43d392d8d2
porting the fix from https://github.com/yiisoft/yii/pull/2894
2013-09-23 07:18:42 -04:00
Larry Ullman
9861ed36cd
Edited introduction
2013-09-22 20:35:56 -04:00
Qiang Xue
f415193cdc
Fixes #898 : supported different signature of MemCache::addServer().
2013-09-22 17:02:46 -04:00
Qiang Xue
93d5f5a3ec
Fixes #897 .
2013-09-22 13:01:27 -04:00
Carsten Brandt
e62e84873c
more API methods for redis active query: sum, avg, max, min ...
2013-09-22 16:29:56 +02:00
Carsten Brandt
7817815dd1
added more complex queries via Lua script EVAL to redis
...
- http://redis.io/commands/eval
- http://www.lua.org/
2013-09-22 15:43:35 +02:00
Qiang Xue
df091b15a8
Merge pull request #895 from iJackUA/patch-1
...
Fix parenthesis typo in CRUD index template
2013-09-21 17:28:00 -07:00
Qiang Xue
f4cbadb37b
Merge pull request #896 from wicaksono/development
...
Use str_replace() rather than implode-explode
2013-09-21 17:27:02 -07:00
Niko Wicaksono
2765bcccf8
Use str_replace() rather than implode-explode
2013-09-22 00:49:12 +07:00
iJackUA
73cdbb37c0
Fix parenthesis typo in CRUD index template
...
it was causing blocking PHP error
2013-09-21 17:20:40 +03:00
Larry Ullman
dde7d731a5
Doing more editing...
2013-09-20 20:22:55 -04:00
Qiang Xue
463ff43b4f
test break fix.
2013-09-20 16:39:22 -04:00
Qiang Xue
ae39324e54
Support ajax redirection.
2013-09-20 16:21:18 -04:00
Qiang Xue
3acca93ad3
Enable CSRF validation by default.
2013-09-20 15:04:28 -04:00
Qiang Xue
41f7a7d243
Supports more elements to use data-confirm and data-method attributes.
2013-09-20 14:57:41 -04:00
Qiang Xue
1aeb86df78
refactored Request::validateCsrfToken().
2013-09-19 08:24:06 -04:00
Qiang Xue
4f555a5751
Fixed CSRF validation bug.
2013-09-19 08:17:07 -04:00