Carsten Brandt
3a613e8565
allow setting css rel explicitly
...
used e.g. for less client side compiling
11 years ago
Alexander Makarov
454a9ee52e
fixes #1303 : Security::decrypt now returns null w/o error when null is passed as $data
11 years ago
Andrea Panattoni
4941db1eee
Checkboxlist documentation fix
...
"Item" parameter keys are the values of the checkbox list,
while the values are the checkbox labels.
11 years ago
Carsten Brandt
e775c82dd8
Changed usage of self to static to allow extendibility
...
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static
verification code for properties:
https://gist.github.com/cebe/7566916
11 years ago
Qiang Xue
53457a0a3f
Simplified ArrayHelper::multisort().
11 years ago
Qiang Xue
7d9639ea49
Fixed test break.
11 years ago
Qiang Xue
3959b8dbda
Fixed test break.
11 years ago
Qiang Xue
b06caa297b
Fixes #1206 .
11 years ago
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
11 years ago
Qiang Xue
abb349361b
use json format.
11 years ago
Qiang Xue
f09c78aad9
save security keys as a serialized string instead of exported variable.
11 years ago
Alexander Makarov
1af4ffd21a
Fixes #1056 : removed 5.3 compatibiltiy code from ArrayHelper::multisort, fixed phpdoc
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Carsten Brandt
f716bdd70d
Fixed option merging in Console::prompt()
...
defaults overided settings
11 years ago
Qiang Xue
fceb2d6e21
Fixes #957 : Json::encode() doesn't handle empty object correctly.
11 years ago
Qiang Xue
293cb9d86f
Fixed search form.
11 years ago
ekerazha
64a33e7849
Fix phpdoc.
11 years ago
Qiang Xue
c4f4e52a5a
fixed test break.
11 years ago
ekerazha
cb7921b8a5
Fix StringHelper::substr() call.
11 years ago
ekerazha
6dc69e68b5
Add data padding and key derivation.
11 years ago
Qiang Xue
efef0e52ca
Fixed beforeCopy option.
11 years ago
Alexander Makarov
40629ca49b
Added missing beforeCopy option to FileHelper::copyDirectory
...
It was mentioned in AssetManager::publish phpdoc.
11 years ago
Alexander Makarov
b873f9f242
Fixes #915 : helper classes renamed again
11 years ago
Alexander Makarov
76cab3ea64
Renamed base helper classes
11 years ago
Alexander Makarov
3e94fb479f
Fixed phpdoc
11 years ago
Alexander Makarov
bc9a6f3e16
Better strtr arguments format
11 years ago
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