Commit Graph

5308 Commits

Author SHA1 Message Date
Carsten Brandt
16c94efaf5 improved error messages in FileHelper 2015-03-26 13:24:59 +01:00
Qiang Xue
c01804d7c9 Fixes #7775: Added more strict check on controller IDs when they are being used to create controller instances on Windows 2015-03-25 21:54:06 -04:00
Qiang Xue
ac623ab8f6 Fixes #7850: Added and to allow selectively caching cookies and HTTP headers 2015-03-24 21:18:59 -04:00
Alexander Makarov
371fa3f241 Fixes #7856: Fixed comments order in messageConfig 2015-03-25 00:25:07 +03:00
Qiang Xue
04e1da1a7d Added to allow caching cookies selectively and turn off cookie caching by default 2015-03-23 14:08:27 -04:00
Sidney Lins (slinstj, former sidtj)
41e5a8a83b Fixes #6975: Pressing arrows while focused in inputs of Active Form with validateOnType enabled no longer triggers validation 2015-03-21 15:52:44 +03:00
Carsten Brandt
2f5345b63c improved beforeAction docs 2015-03-21 12:13:03 +01:00
tom--
70fa53a20f Update Controller.php and Module.php
beforeAction() code style:

1. Return early on error
2. Don't else-after-return

close #7804
2015-03-21 12:10:25 +01:00
Carsten Brandt
2a23520618 added documentation about handling date values
fixes #6530
fixes #5857
relates to #3973
2015-03-20 16:06:12 +01:00
Carsten Brandt
0a6715bd0b enhanced default value for ListView Sort attribute labels
fixes #7530
close #7561
2015-03-20 14:18:52 +01:00
Carsten Brandt
817bd4279a fixed AR phpdoc
fixes #7787
2015-03-19 12:59:05 +01:00
Qiang Xue
99a612e1a6 Finished AR guide [skip ci] 2015-03-15 01:26:06 -04:00
Amir Basiri
3349c06690 fixed a typo in fa, he and tj messages files. Solved #7695 2015-03-13 10:43:24 +03:30
Lorenzo Milesi
4007363ae5 Updated italian framework messages 2015-03-12 15:45:21 +01:00
nkovacs
45a0b67531 fix typo in hungarian translation 2015-03-11 17:04:27 +01:00
Qiang Xue
bd20b30b89 AR guide WIP [skip ci] 2015-03-09 22:43:24 -04:00
Carsten Brandt
26392372c0 added ActionColumn::$buttonOptions
allows for configuration of the default buttons like this:

```php
[
	'class' => ActionColumn::className(),
	'template' => '<div class="btn-group text-center">{view} {update} {delete}</div>',
	'buttonOptions' => [
		'class' => 'btn btn-default btn-xs',
	],
],
```

close #7633
2015-03-08 23:23:39 +01:00
Ezekiel Fernandez
d0c01dc9ba CodeStyle fix
close #7614
2015-03-07 00:41:20 +01:00
Alexander Makarov
52df3466f4 Reverted #7450: Don't add empty parameters to URL when filtering a grid (reverted from commit aba7710699) 2015-03-06 23:40:30 +03:00
Yurii K
aba7710699 Fixes #7450: Don't add empty parameters to URL when filtering a grid 2015-03-06 23:14:24 +03:00
Alexander Makarov
b7a29e38d9 Fixes #6895: Added ignoreCategories config option for message command to ignore categories specified 2015-03-06 21:51:42 +03:00
Alexander Makarov
b6a591c720 Fixes #7571: HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and YII_DEBUG is false 2015-03-06 20:10:54 +03:00
Carsten Brandt
65a2c54974 fixed unicode in FormatConverter escaping
fixes #7603
2015-03-06 16:01:05 +01:00
Carsten Brandt
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
Carsten Brandt
fc0d322e12 Updated dependency to cebe/markdown to version 1.0.x. 2015-03-06 06:50:07 +01:00
Carsten Brandt
08e0143c16 created Console::wrapText() to imrove console help output on small screens 2015-03-05 21:19:42 +01:00
callmez
f60da03e07 Fixes #7562, fixes #6841: yii help now lists all sub-commands by default 2015-03-05 19:17:22 +03:00
SilverFire
12fe0c7b85 Fixes #7488: Added StringHelper::explode to perform explode with trimming and skipping of empty elements 2015-03-05 19:10:38 +03:00
Carsten Brandt
624db0e678 updated Component::__isset() docs
close #7587
2015-03-05 14:57:29 +01:00
Brandon Kelly
6d2bc06bf4 Corrected the Component::__isset() docs
__isset() returns true if the property is set; not if it's null.
2015-03-05 14:51:54 +01:00
Carsten Brandt
1945738c8d improved and fixed Html helper and ActiveField phpdoc
fixes #7560
2015-03-04 03:51:00 +01:00
Alexander Makarov
0eecb6ab1e Fixes #7529: Fixed yii\web\Response::sendContentAsFile() that was broken in 2.0.3 2015-03-04 00:41:44 +03:00
lynicidn
1a81211a9a Update AssetManager #7535
#7535
2015-03-03 09:39:27 +03:00
Vasileios Lourdas
3f74319e26 Minor updates to Greek language. 2015-03-01 18:39:57 +02:00
Qiang Xue
82c1136613 prepare for next release. 2015-03-01 01:24:14 -05:00
Qiang Xue
985119350b 2.0.3 release. 2015-03-01 01:22:44 -05:00
Carsten Brandt
2aace3714c minor adjustments 2015-03-01 01:24:28 +01:00
Artem Belov
81bcd116a8 Added "submenuTemplate" property for "items" config in Menu widget
fixes #5681
close #5897
2015-03-01 00:33:00 +01:00
Alexander Makarov
d7346cbfaf Used PHP_OS instead of php_uname() to check for Linix 2015-03-01 02:31:13 +03:00
Brandon Kelly
7a37c47bb2 Fixed #7150 - support ICU single quote syntaxes
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text  within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'

close #7151
2015-03-01 00:02:35 +01:00
Alexander Kochetov
29f5dc37a5 Correct phpDoc for return in several cases
close #6733
2015-02-28 23:49:16 +01:00
Carsten Brandt
ba6bce4e2d fixed DateValidator to work with multibyte strings
fixes #6835
2015-02-28 23:45:17 +01:00
Yoyon Cahyono
8b5e16ed56 compare position at which date value parsing ended with its string length to ensure validation when using php intl extension to parse date value
- fixes #6553
- Add additional testValidateAttributeICUFormat() test case using "2012-12-12foo" for "yyyy-MM-dd" date format
- close #6835
2015-02-28 23:33:17 +01:00
Pavel
5ed412495e Added dot symbol to Html::getInputId()
close #7209
2015-02-28 23:15:34 +01:00
Carsten Brandt
95cdd0905d fix case in asDatetime method references
close #7095
2015-02-28 23:09:10 +01:00
Nikolay Bogolubov
2e414632be fix EmailValidator - added unit tests
close #7183
fixes #7172
2015-02-28 23:04:12 +01:00
Alexander Makarov
4fffd8fcef Prevented Security from erroring in case of /dev/urandom or /dev/random aren't available 2015-02-28 23:04:19 +03:00
Carsten Brandt
68f78f25e0 Update CHANGELOG.md
fixed typo in issue number, 796a0e6156
2015-02-27 22:11:03 +01:00
Carsten Brandt
da50920ac8 improved wording in TimestampBehavior 2015-02-27 21:25:49 +01:00
Carsten Brandt
e742ba0ea1 updated docs about timestamp and refresh
fixes #7484
2015-02-27 11:31:45 +01:00