Vladimir
92b9ae382f
Update BaseSecurity.php
...
prevent call strlen function twice
11 years ago
Florian Fackler
ff7c25ea7b
Fixes #1497 (wrong file rendered if language != sourceLanguage)
11 years ago
Carsten Brandt
839650a6bd
fixed output in Console::select()
11 years ago
Carsten Brandt
be911e199a
created proper progress bar
...
fixes #1293
11 years ago
Qiang Xue
1f5f19df13
Fixes #1457 : support using AR relations as input.
11 years ago
Alexander Makarov
51592f179f
Fixed wrong refactoring of helpers
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Qiang Xue
7a5a29c767
Added ArrayHelper::keyExists().
11 years ago
Qiang Xue
83623851f3
Fixes #1397 : support customization of the container tag for Html::checkbox() and radio()
11 years ago
Qiang Xue
8d68044982
Fixes #1373 : optimized FileHelper::filterPath
11 years ago
Qiang Xue
fb3ebe7000
doc cleanup.
11 years ago
Qiang Xue
a1612f5d7e
Fixes #1362 : added itemOptions to Html::radioList and checkboxList.
11 years ago
Qiang Xue
8307075f74
Fixes #1362 : doc fix.
11 years ago
slavcodev
f1452d3070
Remove extra var
11 years ago
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.
11 years ago
Alexander Makarov
6c1ef346aa
fixed typos in ArrayHelperBase phpdoc
12 years ago