Commit Graph

1821 Commits

Author SHA1 Message Date
Qiang Xue
fe58cbd56a doc update. 2013-10-01 21:35:56 -04:00
Qiang Xue
0035f23781 refactored data providers. 2013-10-01 21:35:35 -04:00
Carsten Brandt
2c30ddfcb0 added web\Controller::goBack() as shortcut
goBack() will redirect user to his returnUrl
fixes #925
2013-10-01 20:01:14 +02:00
Carsten Brandt
955bf7daaf basic CRUD for elastic search WIP 2013-09-30 18:47:31 +02:00
Qiang Xue
d03d681583 Fixes #928: client validation should be applied to active attributes only. 2013-09-30 10:14:08 -04:00
Carsten Brandt
179618c6e9 fixed empty result in findByPk list 2013-09-30 15:39:04 +02:00
Carsten Brandt
a94886fafd elasticsearch AR WIP copied parts from redis implementation 2013-09-30 15:12:20 +02:00
Carsten Brandt
8d4d0ee0bc Update RedisCache.php
added version information
2013-09-30 12:53:04 +02:00
Carsten Brandt
91c1805ed7 Merge branch 'master' into elasticsearch
* master: (157 commits)
  Fix phpdoc.
  fixed test break.
  refactor Exception::toArrayRecursive().
  Fix StringHelper::substr() call.
  Incorrect array representation when has previous
  Add data padding and key derivation.
  Fixed beforeCopy option.
  doc fix.
  Added missing beforeCopy option to FileHelper::copyDirectory
  Renamed ListViewBase → BaseListView
  Fixes #915: helper classes renamed again
  Renamed YiiBase to AbstractYii
  reverted doc change: the original one is correct.
  Renamed base helper classes
  Advanced application: added applying migrations to readme
  fixed typos
  Advanced application: init is now automatically called when installing via Composer
  Advanced application: init script can now be executed in non-interactive input mode
  Advanced application: fixed console return codes
  Fixed phpdoc
  ...
2013-09-30 10:59:50 +02:00
Qiang Xue
d56bf3f00a Merge pull request #921 from ekerazha/master
Fix phpdoc.
2013-09-29 10:06:04 -07:00
ekerazha
64a33e7849 Fix phpdoc. 2013-09-29 18:18:59 +02:00
Qiang Xue
c4f4e52a5a fixed test break. 2013-09-29 12:16:20 -04:00
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