88 Commits

Author SHA1 Message Date
bc9a6f3e16 Better strtr arguments format 2013-09-16 23:20:17 +04:00
51c29e444d renamed Request::csrfTokenName to csrfVar.
added version, csrfVar and csrfToken to yii js module.
2013-09-15 18:54:26 -04:00
a8d21805f5 Security::generateRandomKey enhancements:
- Equals sign is now replaced with dot.
- Slash is now replaced with dash.
- Better phpdoc.
2013-09-16 01:49:54 +04:00
0284bc4a45 Fixes #875: Security::generateRandomKey() can now be safely used in URLs 2013-09-15 16:34:19 +04:00
e9a5b92dd9 Added StringHelper::dirname() 2013-09-09 21:59:50 -04:00
4e1ab6e5a5 Fixes #848: Added hidden field for Html::activeFileInput(). 2013-09-06 08:40:16 -04:00
7fa81949bf various documentation changes 2013-09-01 19:47:26 +02:00
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.
2013-08-30 16:52:33 +02:00
3b8aff5a44 Blowfish cost must be in range 4…31, not 4…30
`generateSalt` parameter validation fix.
2013-08-26 20:49:23 +04:00
6c1ef346aa fixed typos in ArrayHelperBase phpdoc 2013-08-26 03:21:37 +04:00
b9553eb57a Replaced diff vendor. 2013-08-19 14:21:40 -04:00
c7c7683f8f Added StringHelper::diff(). 2013-08-19 08:52:39 -04:00
9a9a9c0b56 code style fix. 2013-08-16 16:48:53 -04:00
65352e500f refactored ActiveField. 2013-08-14 21:17:13 -04:00
6f42e87ebf Added Html::error(). 2013-08-14 08:24:19 -04:00
b96fd24ef5 Finished documentation of Console Helper and Controller
fixes #33
2013-08-12 02:27:23 +02:00
7aeb2fcf4f Fixed test breaks. 2013-08-09 09:21:41 -04:00
f756a45f51 Update radio and checkbox due to e3801fbf6bdf167c31f4f2bbb774f75659956d57 2013-08-09 11:49:40 +07:00
e3801fbf6b Upgraded bootstrap to 3.0RC1. 2013-08-08 20:00:48 -04:00
e5569dc1da Allow Url creation with Html::url in console context
fixes #718
2013-08-05 17:32:53 +02:00
7f2d2da52c formatting fix 2013-07-31 23:01:11 +03:00
2a08297ac8 formatting fix 2013-07-31 22:47:45 +03:00
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.
2013-07-31 22:39:13 +03:00
0645445523 fixes #677 2013-07-29 20:08:47 +04:00
f7257e53f0 Fixes #659. 2013-07-24 13:41:14 -04:00
c98dae8430 Doc fix. 2013-07-24 21:36:10 +06:00
39817de330 Ensure correct type. 2013-07-24 08:02:19 -04:00
915a3cd779 Fixes #653: use boolean type to indicate boolean attributes. 2013-07-23 20:45:14 -04:00
ec23b1b481 Added new boolean attributes. 2013-07-22 09:51:43 -04:00
a6cd7b72bb refactored helper organization. 2013-07-17 20:45:36 -04:00
40b6b607c8 Fixes #632. 2013-07-17 20:12:19 -04:00
e11ce60023 fixed the "only" option for FileHelper::findFiles() 2013-07-11 10:54:56 -04:00
227a831b8f Improved FileHelper::filterPath() 2013-07-11 08:35:53 -04:00
d56739689c Enhanced file options for FileHelper. 2013-07-11 08:20:31 -04:00
c3df0beecd changed parameter ordering. 2013-07-07 09:46:14 -04:00
fae44063f6 Removed extra code. 2013-07-05 17:24:36 -04:00
5eac34a485 Debug toolbar WIP 2013-07-05 16:40:12 -04:00
33ca13e498 fixed method name 2013-07-04 19:38:09 +04:00
0845f4b183 Enhanced ArrayHelper::toArray() 2013-06-28 07:07:18 -04:00
95b926a92c Improved Json::encode() security. 2013-06-28 06:28:05 -04:00
71a156ebdf Added itemOptions for Html::ol 2013-06-25 16:16:36 -04:00
d87afeb496 encode checkbox and radio list by default. 2013-06-25 16:12:18 -04:00
750b220da3 cleanup. 2013-06-25 14:58:30 -04:00
d5bd9853ea Added Html::ol() and Html::ul() 2013-06-25 13:53:20 -04:00
ef9ceafdca Refactoring 2013-06-20 00:03:22 +04:00
5bf0ba562f Comments fixes 2013-06-19 20:22:06 +04:00
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
11c14a20e9 Simplified button signature. 2013-06-19 08:54:09 -04:00
7dfae28b81 fixes #549: ability to use HTMLPurifier multiple times 2013-06-18 00:24:40 +04:00
03e07f4340 cleaned up "use" statements. 2013-06-14 22:42:55 -04:00