143 Commits

Author SHA1 Message Date
9e66e08bc7 Fixes #802: Added support for retrieving sub-array element or child object property through ArrayHelper::getValue() 2013-12-31 11:30:44 -05:00
0b28f290f3 Fixes #1704: Incorrect regexp is used in Inflector::camelize() 2013-12-30 10:07:44 -05:00
8c1715d5a7 remove UTF-8 string conversion 2013-12-28 09:28:47 +01:00
61591ea4ae update phpDoc 2013-12-27 18:09:07 +01:00
6f932d99ae Merge branch 'upstream' into 364-toAscii
* upstream: (21 commits)
  Fixes #1643: Added default value for `Captcha::options`
  Fixes #1654: Fixed the issue that a new message source object is generated for every new message being translated
  Allow dash char in ActionColumn’s button names.
  Added SecurityTest.
  fixed functional test when enablePrettyUrl is false.
  fixed composer.json
  minor doc fix.
  Fixes #1634: Use masked CSRF tokens to prevent BREACH exploits
  Use better random CSRF token.
  GII unique indexes avoid autoIncrement columns
  updated debug retry params.
  Added sleep().
  Added unit test for ActiveRecord::updateAttributes().
  Fixes #1641: Added `BaseActiveRecord::updateAttributes()`
  Fixed #1504: Debug toolbar isn't loaded successfully in some environments when xdebug is enabled
  Mongo README.md updated.
  Fixes #1611: Added `BaseActiveRecord::markAttributeDirty()`
  Number validator was missing
  Fixes #1638: prevent table names from being enclosed within curly brackets twice.
  Unique indexes rules for single columns into array
  ...
2013-12-27 18:07:42 +01:00
08aaeda397 refactored inflector's slug and improved fallback char map 2013-12-27 18:06:27 +01:00
b7904c46aa remove TransliteratorHelper 2013-12-27 18:04:05 +01:00
c8960168c5 Fixes #1634: Use masked CSRF tokens to prevent BREACH exploits 2013-12-26 17:51:14 -05:00
26330b9381 removed ascii method and use the new TransliteratorHelper::process at its place 2013-12-26 20:56:52 +01:00
fc9fb80c21 added TransliteratorHelper class 2013-12-26 20:56:11 +01:00
dba7c02a2c Fixes #1610: Html::activeCheckboxList() and Html::activeRadioList() will submit an empty string if no checkbox/radio is selected 2013-12-25 11:55:47 -05:00
060775b0da Json::encode did not handle JsonSerializable objects 2013-12-18 14:31:43 +01:00
0d38d6131e doc fix. 2013-12-16 21:04:42 -05:00
92b9ae382f Update BaseSecurity.php
prevent call strlen function twice
2013-12-14 22:22:54 +03:00
ff7c25ea7b Fixes #1497 (wrong file rendered if language != sourceLanguage) 2013-12-12 22:55:10 +01:00
839650a6bd fixed output in Console::select() 2013-12-11 21:18:10 +01:00
be911e199a created proper progress bar
fixes #1293
2013-12-11 21:18:10 +01:00
1f5f19df13 Fixes #1457: support using AR relations as input. 2013-12-07 18:16:56 -05:00
51592f179f Fixed wrong refactoring of helpers 2013-12-04 14:31:10 +01:00
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
7a5a29c767 Added ArrayHelper::keyExists(). 2013-12-02 20:57:24 -05:00
83623851f3 Fixes #1397: support customization of the container tag for Html::checkbox() and radio() 2013-12-02 10:06:56 -05:00
8d68044982 Fixes #1373: optimized FileHelper::filterPath 2013-12-01 08:59:53 -05:00
fb3ebe7000 doc cleanup. 2013-11-29 12:47:10 -05:00
a1612f5d7e Fixes #1362: added itemOptions to Html::radioList and checkboxList. 2013-11-29 12:13:53 -05:00
8307075f74 Fixes #1362: doc fix. 2013-11-29 11:34:34 -05:00
0b1ddc9327 Merge pull request #1346 from slavcodev/clean-var-dumper
Remove extra var
2013-11-28 05:54:37 -08:00
f1452d3070 Remove extra var 2013-11-28 13:21:30 +02:00
3a613e8565 allow setting css rel explicitly
used e.g. for less client side compiling
2013-11-26 17:33:05 +01:00
454a9ee52e fixes #1303: Security::decrypt now returns null w/o error when null is passed as $data 2013-11-23 19:44:03 +04:00
4941db1eee Checkboxlist documentation fix
"Item" parameter keys are the values of the checkbox list,
while the values are the checkbox labels.
2013-11-21 22:37:03 +01:00
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
2013-11-20 18:36:05 +01:00
53457a0a3f Simplified ArrayHelper::multisort(). 2013-11-19 14:10:00 -05:00
7d9639ea49 Fixed test break. 2013-11-19 11:47:09 -05:00
3959b8dbda Fixed test break. 2013-11-19 11:33:25 -05:00
b06caa297b Fixes #1206. 2013-11-16 08:00:39 -05:00
9b95a81b0c Fixed the rest phpDocs [skip ci] 2013-11-12 03:13:37 +00:00
abb349361b use json format. 2013-11-08 21:47:54 -05:00
f09c78aad9 save security keys as a serialized string instead of exported variable. 2013-11-08 21:35:51 -05:00
1af4ffd21a Fixes #1056: removed 5.3 compatibiltiy code from ArrayHelper::multisort, fixed phpdoc 2013-10-24 16:57:05 +04:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
f716bdd70d Fixed option merging in Console::prompt()
defaults overided settings
2013-10-17 04:19:42 +02:00
fceb2d6e21 Fixes #957: Json::encode() doesn't handle empty object correctly. 2013-10-09 20:33:06 -04:00
293cb9d86f Fixed search form. 2013-10-04 20:35:58 -04:00
d56bf3f00a Merge pull request #921 from ekerazha/master
Fix phpdoc.
2013-09-29 10:06:04 -07:00
64a33e7849 Fix phpdoc. 2013-09-29 18:18:59 +02:00
c4f4e52a5a fixed test break. 2013-09-29 12:16:20 -04:00
cb7921b8a5 Fix StringHelper::substr() call. 2013-09-29 17:59:31 +02:00
6dc69e68b5 Add data padding and key derivation. 2013-09-29 17:21:41 +02:00