Qiang Xue
51c29e444d
renamed Request::csrfTokenName to csrfVar.
...
added version, csrfVar and csrfToken to yii js module.
11 years ago
Alexander Makarov
a8d21805f5
Security::generateRandomKey enhancements:
...
- Equals sign is now replaced with dot.
- Slash is now replaced with dash.
- Better phpdoc.
11 years ago
Alexander Makarov
0284bc4a45
Fixes #875 : Security::generateRandomKey() can now be safely used in URLs
11 years ago
Qiang Xue
e9a5b92dd9
Added StringHelper::dirname()
11 years ago
Qiang Xue
4e1ab6e5a5
Fixes #848 : Added hidden field for Html::activeFileInput().
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
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.
11 years ago
MaximAL
3b8aff5a44
Blowfish cost must be in range 4…31, not 4…30
...
`generateSalt` parameter validation fix.
12 years ago
Alexander Makarov
6c1ef346aa
fixed typos in ArrayHelperBase phpdoc
12 years ago
Qiang Xue
b9553eb57a
Replaced diff vendor.
12 years ago
Qiang Xue
c7c7683f8f
Added StringHelper::diff().
12 years ago
Qiang Xue
9a9a9c0b56
code style fix.
12 years ago
Qiang Xue
65352e500f
refactored ActiveField.
12 years ago
Qiang Xue
6f42e87ebf
Added Html::error().
12 years ago
Carsten Brandt
b96fd24ef5
Finished documentation of Console Helper and Controller
...
fixes #33
12 years ago
Qiang Xue
7aeb2fcf4f
Fixed test breaks.
12 years ago
Niko Wicaksono
f756a45f51
Update radio and checkbox due to e3801fbf6b
12 years ago
Qiang Xue
e3801fbf6b
Upgraded bootstrap to 3.0RC1.
12 years ago
Carsten Brandt
e5569dc1da
Allow Url creation with Html::url in console context
...
fixes #718
12 years ago
davert
7f2d2da52c
formatting fix
12 years ago
davert
2a08297ac8
formatting fix
12 years ago
Michael Bodnarchuk
58083f6ed0
A simple patch to get AspectMock and Go Aop working with Yii2
...
This is a very tiny patch that changes nothing in code logic, but is required to get [AspectMock](https://github.com/Codeception/AspectMock ) and Go Aop working with Yii2.
Go Aop is processing all `include` and `require` directives, replacing them with its filters. Unfortunately it doesn't play well with one-liners. So I had to break the code into few lines to get that working.
I was trying to fix this issue in [Go Aop](https://github.com/lisachenko/go-aop-php/pull/78 ) but looks like, the only option is to fix that in Yii2.
AspectMock can dramaticly improve unit testing in Yii2, and I plan to do a blogpost with tutorial about it.
12 years ago
Alexander Makarov
0645445523
fixes #677
12 years ago
Qiang Xue
f7257e53f0
Fixes #659 .
12 years ago
resurtm
c98dae8430
Doc fix.
12 years ago
Qiang Xue
39817de330
Ensure correct type.
12 years ago
Qiang Xue
915a3cd779
Fixes #653 : use boolean type to indicate boolean attributes.
12 years ago
Qiang Xue
ec23b1b481
Added new boolean attributes.
12 years ago
Qiang Xue
a6cd7b72bb
refactored helper organization.
12 years ago
Qiang Xue
40b6b607c8
Fixes #632 .
12 years ago
Qiang Xue
e11ce60023
fixed the "only" option for FileHelper::findFiles()
12 years ago
Qiang Xue
227a831b8f
Improved FileHelper::filterPath()
12 years ago
Qiang Xue
d56739689c
Enhanced file options for FileHelper.
12 years ago
Qiang Xue
c3df0beecd
changed parameter ordering.
12 years ago
Qiang Xue
fae44063f6
Removed extra code.
12 years ago
Qiang Xue
5eac34a485
Debug toolbar WIP
12 years ago
Alexander Makarov
33ca13e498
fixed method name
12 years ago
Qiang Xue
0845f4b183
Enhanced ArrayHelper::toArray()
12 years ago
Qiang Xue
95b926a92c
Improved Json::encode() security.
12 years ago
Qiang Xue
71a156ebdf
Added itemOptions for Html::ol
12 years ago
Qiang Xue
d87afeb496
encode checkbox and radio list by default.
12 years ago
Qiang Xue
750b220da3
cleanup.
12 years ago
Qiang Xue
d5bd9853ea
Added Html::ol() and Html::ul()
12 years ago
Alexander Kochetov
ef9ceafdca
Refactoring
12 years ago
Alexander Kochetov
5bf0ba562f
Comments fixes
12 years ago
Alexander Kochetov
9bb0ce4b1c
Html helper pure HTML 5 mode without support old standarts
12 years ago
Qiang Xue
11c14a20e9
Simplified button signature.
12 years ago
Alexander Makarov
7dfae28b81
fixes #549 : ability to use HTMLPurifier multiple times
12 years ago
Qiang Xue
03e07f4340
cleaned up "use" statements.
12 years ago
Qiang Xue
0c3bcc467d
Moved toArray() from YiiBase to ArrayHelper.
12 years ago