791 Commits

Author SHA1 Message Date
0d91021f02 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049ec321e77ee13bc7f8a9a8293596b21)
  add missing return to module template
  Update module.php
  Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
  gii form width adjustment.
  Make sure query cloning works as expected.
  Fixed test break.
  Fixes #828: refactored QueryBuilder::build()
2013-08-30 16:54:32 +02:00
4b7f5a728a improved control over and handling of file and dir permissions
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
  over directory permissions.
2013-08-30 16:52:33 +02:00
30d6229943 Fixed test break. 2013-08-29 16:53:15 -04:00
6dba4da3ed Fixes #828: refactored QueryBuilder::build() 2013-08-29 16:47:48 -04:00
3b91801a35 cherry picked RedisCache and redis\Connection from redis WIP branch
commit in redis branch was:
0cd65e7496befb3c4aed86e47257103fea63d329
2013-08-27 17:29:38 +02:00
0e2ac86566 added Cache::exists() to check key existance in cache 2013-08-27 17:24:09 +02:00
0cd65e7496 commented failing tests 2013-08-27 16:11:17 +02:00
e3df19d984 Redis AR WIP
- introduced RecordSchema class for schema definition
2013-08-26 19:29:55 +02:00
82dc3b124c Merge branch 'master' into redis
* master: (131 commits)
  css fix.
  Finished model generator.
  more tests for FileHelper
  Added note about theme asset bundle to bootstrap widgets guide
  fixed typos in ArrayHelperBase phpdoc
  More tests for ArrayHelper and Inflector
  Fixed typo and code style
  Fixes #21: implemented jQueryUI Slider
  Fixes #790: added visible for Nav and Dropdown
  finished rule generation for model generator.
  bug fix of form generator.
  minor fixes of debugger.
  Added SafeValidator.
  fix dataProvider getSort()
  cleanup MemCache timeout API after #804
  Added failureCallback, reduced timeouts to 1s
  Mentioning that timeoutms is available in memcache only.
  set default format for gridview to text
  Removed extra line
  Added timeoutms parameter in MemCache
  ...

Conflicts:
	tests/unit/data/config.php
2013-08-26 18:10:06 +02:00
b968402ebd more tests for FileHelper 2013-08-26 03:39:11 +04:00
cc5618c034 More tests for ArrayHelper and Inflector 2013-08-26 03:21:19 +04:00
06682d0ba9 coverage improvements 2013-08-24 00:31:01 +02:00
c189e5ad3f UniqueValidator test. 2013-08-24 00:05:27 +02:00
24e2f88503 Renamed validator test models to be less specific. 2013-08-23 22:47:45 +02:00
7d5bb082ac FilterValidator test 2013-08-23 22:33:39 +02:00
3b07e4affc Added FileValidator tests. 2013-08-23 17:24:56 +02:00
3469b2cb60 RangeValidator tests. 2013-08-22 16:12:09 +02:00
4a02e0b539 finished form generator. 2013-08-18 08:52:30 -04:00
0c45765e7d Added tests for uncovered lines. 2013-08-18 14:39:22 +02:00
5c8927af7d Added ExistValidatorTest and added new option to DatabaseTestCase 2013-08-17 00:40:45 +02:00
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
8e48f01c85 Add RegularExpressionValidatorTest 2013-08-14 21:20:20 +02:00
02c92fea93 Merge remote-tracking branch 'upstream/master' into add-tests 2013-08-13 19:03:10 +02:00
bae79cd76c Added ValidatorTest 2013-08-13 19:01:53 +02:00
d9f87f4045 Added RequiredValidatorTest 2013-08-13 16:49:53 +02:00
533b1eeb6e fixed phpdoc 2013-08-13 02:47:30 +04:00
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
b84097c1ae fixed redis response parsing for large data
fixes #743
2013-08-12 01:17:53 +02:00
133e5c6e35 Merge branch 'master' into redis
* master: (806 commits)
  avoid confusing docs about autoload return value
  doc fix.
  Fixed doc.
  Fixed autoloader behavior according to leading \
  Fix in RequestPanel
  changed to trace from info.
  Removed yii\debug\Module::enabled.
  minor enhancement of debugger.
  Refactored the basic app.
  Added ErrorAction.
  Use `hasAttribute()` instead to avoid code duplication
  refactored NavBar and basic app navbar.
  test break fix.
  test break fix.
  Fixed test breaks.
  #735: removed hiddenInput to avoid confusion.
  ResizableAsset typo fix!
  Update radio and checkbox due to e3801fbf6bdf167c31f4f2bbb774f75659956d57
  css fix.
  Fixed the basic app template.
  ...

Conflicts:
	.travis.yml
	tests/unit/data/config.php
2013-08-12 00:45:37 +02:00
24a66b383d test break fix. 2013-08-09 09:50:19 -04:00
6d66a98acb test break fix. 2013-08-09 09:32:28 -04:00
7aeb2fcf4f Fixed test breaks. 2013-08-09 09:21:41 -04:00
a81480d309 Improved ValidatorTest organization. 2013-08-06 19:56:05 +02:00
b5472c20e3 Typo fix 2013-08-06 15:21:29 +02:00
8f8de7cf60 Added NumberValidatorTest 2013-08-06 13:13:58 +02:00
f78a77dfcf Merge branch 'master' of github.com:yiisoft/yii2 into add-tests 2013-08-06 10:52:17 +02:00
27238f8d03 refactored ActiveDataProvider. 2013-08-03 17:02:36 -04:00
60ba20491e Added support for passing parameters to the format method. 2013-08-03 16:51:57 -04:00
b31b02a55d renamed IDataProvider::getItems() to getModels() 2013-08-03 08:20:30 -04:00
3d5388ff2b Reorganized captcha code. 2013-08-03 07:20:39 -04:00
f7bb54be1c Test fix for Php 5.3 2013-07-31 23:03:34 +02:00
467d88faf9 Added StringValidatorTest 2013-07-31 22:48:19 +02:00
1ce7344e18 Additional tests in EmailValidator. 2013-07-31 21:14:14 +02:00
777ff792c4 DateValidatorTest 2013-07-31 20:12:45 +02:00
1c6b64e717 Added CompareValidatorTest and improved BooleanValidatorTest and UrlValidatorTest 2013-07-31 19:42:20 +02:00
fc1d2af36c UrlValidator Tests 2013-07-29 16:21:07 +02:00
09c5e61462 fix test 2013-07-29 15:25:05 +02:00
cde97847f4 BooleanValidatorTest 2013-07-29 15:15:33 +02:00
e9f22eb44e Travis-ci and phpunit config for coveralls 2013-07-29 13:17:57 +02:00
e5cc17f94e Add .gitkeep for coveralls reports 2013-07-29 13:16:57 +02:00