Commit Graph

13806 Commits

Author SHA1 Message Date
Carsten Brandt
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 c2c12a9049)
  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
Carsten Brandt
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
Carsten Brandt
fa07d31310 documentation fixed for mutex extension 2013-08-30 16:30:20 +02:00
Alexander Makarov
e1a6aacba8 Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049) 2013-08-30 18:23:09 +04:00
Alexander Makarov
c0102b4143 Merge pull request #831 from philippfrenzel/patch-5
add missing return to module template
2013-08-30 06:22:09 -07:00
Philipp Frenzel
e94b455535 add missing return to module template
I think according to the framework it should return the render and otherwise the browser will stay blank...
2013-08-30 15:05:00 +02:00
Alexander Makarov
d9d000649a Merge pull request #830 from philippfrenzel/patch-4
module should extend \yii\base\Module as \yii\web\Module doesn't exist...
2013-08-30 03:40:23 -07:00
Philipp Frenzel
70d263d66e Update module.php
module should extend \yii\base\Module as \yii\web\Module doesn't exist...

If this is outdated, then pls just ignore it!
2013-08-30 12:23:10 +02:00
Alexander Makarov
c2c12a9049 Fixes #829: loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set 2013-08-30 13:44:22 +04:00
Qiang Xue
2ecdfd6225 gii form width adjustment. 2013-08-29 17:20:04 -04:00
Qiang Xue
cb60fa5ddd Make sure query cloning works as expected. 2013-08-29 17:19:22 -04:00
Qiang Xue
30d6229943 Fixed test break. 2013-08-29 16:53:15 -04:00
Qiang Xue
6dba4da3ed Fixes #828: refactored QueryBuilder::build() 2013-08-29 16:47:48 -04:00
Carsten Brandt
147558ea19 added some class documentation 2013-08-28 19:33:06 +02:00
Carsten Brandt
91c16782ef finalized PhpDocController
- cleanup API and usage, add documetation link
- introduced @property feature in getter or setter which has precedence
  over @return or @param tag if present
2013-08-28 18:58:59 +02:00
Carsten Brandt
1d622b65c3 fixed docs about error methods in Model 2013-08-28 15:26:00 +02:00
Carsten Brandt
c582e589d2 added note about differing property types 2013-08-28 15:18:13 +02:00
Carsten Brandt
ca69ef09d4 update of @property annotations 2013-08-28 14:59:52 +02:00
Carsten Brandt
8366cb6e67 allow [] in property doc type 2013-08-28 14:54:00 +02:00
Carsten Brandt
6405c4f349 added proper word wrapping and note about read/writeonly properties 2013-08-28 14:40:31 +02:00
Carsten Brandt
c5b42910a9 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  refactored code.
2013-08-28 14:16:37 +02:00
Carsten Brandt
bdb77f33ba updated @property annotations of many classes 2013-08-28 14:16:13 +02:00
Qiang Xue
172d92958f refactored code. 2013-08-28 06:46:43 -04:00
Carsten Brandt
f870162535 fixed indentation of PhpDocController and sort properties alphabetically 2013-08-28 12:09:04 +02:00
Carsten Brandt
1c9b9681a7 phpdoc command skip classes that do not extend Object 2013-08-28 11:59:34 +02:00
Carsten Brandt
df21e10c5d fixed postioning of property tags in php-doc command 2013-08-28 11:51:19 +02:00
Carsten Brandt
14181b2be0 Update PHPDoc command to update classfiles automatically 2013-08-28 11:36:25 +02:00
Carsten Brandt
fa2a48c684 ported @property phpdoc generator from yii 1.1
fixes #822
2013-08-28 07:29:59 +02:00
Carsten Brandt
427c373ba6 implement Cache::exists() for various cache backends
fixes #811
2013-08-27 17:54:38 +02:00
Carsten Brandt
3b91801a35 cherry picked RedisCache and redis\Connection from redis WIP branch
commit in redis branch was:
0cd65e7496
2013-08-27 17:29:38 +02:00
Carsten Brandt
0e2ac86566 added Cache::exists() to check key existance in cache 2013-08-27 17:24:09 +02:00
Carsten Brandt
0cd65e7496 commented failing tests 2013-08-27 16:11:17 +02:00
Qiang Xue
d34f8486ab Fixes #811. 2013-08-27 08:13:20 -04:00
Qiang Xue
f941bfee60 Fixes #820. 2013-08-27 08:09:15 -04:00
Qiang Xue
62b4a645f1 crud generator WIP 2013-08-27 08:08:57 -04:00
Carsten Brandt
04a0ca5aab revert accidental change in db ActiveRecord 2013-08-26 19:49:39 +02:00
Qiang Xue
f48508e341 Merge pull request #809 from cebe/autoconfig-sorting
Gridview and DataProviders: Autoconfig sorting
2013-08-26 10:32:08 -07:00
Qiang Xue
71866c60b8 Merge pull request #817 from maximal/patch-1
Blowfish cost must be in range 4…31, not 4…30
2013-08-26 10:30:56 -07:00
Carsten Brandt
e3df19d984 Redis AR WIP
- introduced RecordSchema class for schema definition
2013-08-26 19:29:55 +02:00
MaximAL
3b8aff5a44 Blowfish cost must be in range 4…31, not 4…30
`generateSalt` parameter validation fix.
2013-08-26 20:49:23 +04:00
Carsten Brandt
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
Carsten Brandt
53b4ed3d7f Moved label for Sort::link() to html options 2013-08-26 18:02:44 +02:00
Carsten Brandt
39c002e83c Refactored DataColumn::renderHeaderCellContent() 2013-08-26 15:23:49 +02:00
Carsten Brandt
155749e18d typos in doc 2013-08-26 15:23:22 +02:00
Carsten Brandt
9847472144 introduced DataColumn::label property 2013-08-26 15:13:16 +02:00
Qiang Xue
c86d597077 css fix. 2013-08-26 08:39:27 -04:00
Carsten Brandt
b147760c7b added label option to Sort::link() 2013-08-26 14:06:48 +02:00
Qiang Xue
7150524e33 Finished model generator. 2013-08-25 23:15:13 -04:00
Alexander Makarov
b968402ebd more tests for FileHelper 2013-08-26 03:39:11 +04:00
Alexander Makarov
582ff594aa Added note about theme asset bundle to bootstrap widgets guide 2013-08-26 03:22:18 +04:00