683 Commits

Author SHA1 Message Date
8df9dddd70 Added Url::createAbsolute, adjusted signiatures 2014-03-09 18:24:27 +04:00
2cd5f982fe Renamed methods, added Url::getHome 2014-03-09 18:15:37 +04:00
14fc5bd1de Added Url::canonical 2014-03-09 18:10:36 +04:00
5420517e21 Added Url::rememberReturnUrl 2014-03-09 18:07:54 +04:00
e758608a5a Added Url::asset 2014-03-09 18:02:24 +04:00
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
fad635440b Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. 2014-03-07 19:08:27 -05:00
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
e38c4225b2 Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
Conflicts:
	framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
3777ec2bd3 fixed > 100 typos introduced by me :-) 2014-03-05 02:38:59 +01:00
c64ab9d7fc Fixes #2624: Html::textArea() should respect "name" option. 2014-03-04 19:34:09 -05:00
b0ef4c9084 Removed unused variables 2014-03-04 21:46:30 +04:00
d3171b6cfb fix code style php5.4 syntax 2014-03-04 06:37:49 +02:00
045eb9f7ee Inline control structures are not allowed 2014-03-04 06:32:37 +02:00
eaaa5b1bb5 fix code style 2014-03-04 06:12:30 +02:00
35651ea122 fix code style Expected 1 space after FUNCTION keyword; 0 found 2014-03-04 05:53:06 +02:00
0f50e038c8 fix phpDoc, added @throws annotation BaseFileHelper::copyDirectory 2014-03-04 05:05:11 +02:00
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
b2f1b00bf2 code style. operator IF 2014-03-03 21:32:34 +03:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
6e7edfdf5b short array syntax 2014-03-03 20:21:55 +03:00
90c7bf288d Fixed indentation in BaseInflector 2014-03-03 03:18:17 +01:00
44750915e0 Add $transliteration for Vietnamese
Please review and merge it,
Thank advance
2014-03-02 19:06:35 +07:00
6c88183be0 Merge commit 'd3ff343e5ee02a14dd17d6cf947aa7f52857474a' into feature-restapi
Conflicts:
	framework/helpers/BaseArrayHelper.php
2014-02-28 18:22:10 -05:00
9beba31fc0 rest WIP 2014-02-28 08:34:51 -05:00
d2d94ab358 fixed arrayHelper::toArray() recursive call
added a missing argument
2014-02-25 12:51:08 +01:00
04bf51b01a Fixes #2392: Added addCssStyle(), removeCssStyle(), cssStyleFromArray() and cssStyleToArray() to Html 2014-02-23 19:12:33 -05:00
d8d44b6127 Merge pull request #2501 from yiisoft/unify-urls
Fixes #2426: Changed URL creation method signatures to be consistent
2014-02-21 23:53:15 +03:00
ac3ac5d107 added link about rendering of HTML attributes to Html helper 2014-02-20 19:14:46 +01:00
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00
c9c7db9ae5 fixed several issues with apidoc generator 2014-02-18 05:01:49 +01:00
9190e0f4dd Changed markdown library to cebe/markdown
- supports GFM now
- allows defining different flavors

fixes #47
2014-02-18 03:48:31 +01:00
26cb7b2a3c Renamed fooVar to fooParam for various classes. 2014-02-15 18:18:27 -05:00
20aff5330c added back fallback mechanism for generating salt. 2014-02-13 14:04:15 -05:00
660d3a57d6 Inconsistently insecure
Why use a strong random number generator in one place, but not another? I know salts have no cryptographic security requirement, but collisions are less likely if you use one.
2014-02-13 13:26:54 -05:00
80d69a6551 Renamed csrfParam back to csrfVar for consistency. 2014-02-10 11:27:54 -05:00
2026eb85ac Update BaseHtml.php 2014-02-09 09:03:38 +05:30
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
6ed9848591 Removed unused assignment 2014-02-07 13:12:33 +04:00
b21fd298c5 Fixed minor coding style issues 2014-02-01 01:18:38 +04:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
296fc72d63 more clear docs about html options
fixes yiisoft/yii#2844
2014-01-28 11:40:19 +01:00
f9dee9c951 Fixed an issue with Filehelper and not accessable directories
which resulted in endless loop

http://www.yiiframework.com/forum/index.php/topic/50982-cfilehelper-bug-security-flaw/
2014-01-28 11:09:41 +01:00
21ae27b306 updated phpdoc properties 2014-01-28 00:11:18 +01:00
a37b35a4e1 Fixes #1897
- Gii diff markup is now copy paste friendly
- Removed StringHelper::diff()
- Moved phpspec/php-diff dependency from yiisoft/yii2 to yiisoft/yii2-gii
2014-01-27 06:13:13 +04:00
ff8e78c655 Merge branch '2048-improve-messages-config-exceptions' of github.com:nineinchnick/yii2 into nineinchnick-2048-improve-messages-config-exceptions
Conflicts:
	framework/messages/config.php
2014-01-26 17:48:44 -05:00
150d71368b Merge branch 'request-params-refactoring' of github.com:cebe/yii2 into cebe-request-params-refactoring
Conflicts:
	framework/CHANGELOG.md
2014-01-26 17:41:14 -05:00
26564fb9b5 fixed code style for assignments inside if conditions 2014-01-26 17:00:43 +01:00
07ce08d970 updated helpers/BaseFileHelper::findFiles description and comments in messages/config.php 2014-01-26 15:28:55 +01:00
f90e594f4f remove _FLAG from PATTERN_FLAG constants 2014-01-26 15:03:24 +01:00