Commit Graph

4075 Commits

Author SHA1 Message Date
Qiang Xue
9e9b3548db refactor Exception::toArrayRecursive(). 2013-09-29 12:06:00 -04:00
Qiang Xue
a4a159633c Merge pull request #920 from bixuehujin/fixed-exception-toarray
Incorrect array representation when has previous exception
2013-09-29 09:04:17 -07:00
ekerazha
cb7921b8a5 Fix StringHelper::substr() call. 2013-09-29 17:59:31 +02:00
Jin Hu
5d7c37bd7e Incorrect array representation when has previous 2013-09-29 23:27:14 +08:00
ekerazha
6dc69e68b5 Add data padding and key derivation. 2013-09-29 17:21:41 +02:00
Alexander Makarov
abc0df6145 typo 2013-09-29 05:12:36 +04:00
Qiang Xue
efef0e52ca Fixed beforeCopy option. 2013-09-28 20:13:48 -04:00
Qiang Xue
ba1496cd50 doc fix. 2013-09-28 20:11:24 -04:00
Alexander Makarov
40629ca49b Added missing beforeCopy option to FileHelper::copyDirectory
It was mentioned in AssetManager::publish phpdoc.
2013-09-28 23:30:54 +04:00
Alexander Makarov
fc75ab87be Renamed ListViewBase → BaseListView 2013-09-28 22:42:42 +04:00
Alexander Makarov
dafbeda301 More i18n tests, docs, added check to skip fixes where possible 2013-09-28 22:30:16 +04:00
Alexander Makarov
9212c16ca8 Merge branch 'master' 2013-09-28 16:30:40 +04:00
Alexander Makarov
bf722c0423 Used intl ICU for message translation 2013-09-28 16:30:29 +04:00
Alexander Makarov
b873f9f242 Fixes #915: helper classes renamed again 2013-09-28 16:25:43 +04:00
Qiang Xue
180dbb147f Merge branch 'master' of github.com:yiisoft/yii2 2013-09-27 22:50:57 -04:00
Alexander Makarov
558f499439 Renamed YiiBase to AbstractYii 2013-09-28 02:50:33 +04:00
Qiang Xue
b59812507a reverted doc change: the original one is correct. 2013-09-27 18:39:33 -04:00
Alexander Makarov
76cab3ea64 Renamed base helper classes 2013-09-28 02:01:06 +04:00
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
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
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
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
Alexander Makarov
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00
Qiang Xue
76154b9776 Fixes #901: Added $delete parameter to Session::getFlash(). 2013-09-23 20:38:54 -04:00
Qiang Xue
43d392d8d2 porting the fix from https://github.com/yiisoft/yii/pull/2894 2013-09-23 07:18:42 -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