Commit Graph

5835 Commits

Author SHA1 Message Date
Alexander Makarov
b638634be0 Merge pull request #9926 from SilverFire/9924-param-with-quote
Fixed #9924 - yii.js handleAction corrupted parameters with quote char
2015-10-15 12:53:59 +03:00
Sam
5332e900e3 Fixes #7341, #9551, #9928: Client validation now skips disabled inputs 2015-10-15 12:46:26 +03:00
SilverFire - Dima Naumenko
ef33422e65 Fixed #9924 - yii.js handleAction corrupted parameters with quote char 2015-10-15 09:02:19 +03:00
Vadim
c00b97a12c Fixes #9915: yii\helpers\ArrayHelper::getValue() was erroring instead of returning null for non-existing object properties 2015-10-14 12:56:59 +03:00
SilverFire - Dima Naumenko
ccd20793d4 Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0 2015-10-14 00:15:22 +03:00
Klimov Paul
8cbcbdded7 Default Cache.SerializerPermissions configuration option for HTMLPurifier is set to 0775 2015-10-13 13:19:49 +03:00
kidol
4bc2eb7945 Fixes controller DI 2015-10-12 15:52:19 +02:00
Carsten Brandt
decd45201c allow passing a single Expression object to select() and addSelect()
fixes #9883
2015-10-11 09:58:42 +02:00
Alexander Makarov
8d2af0d2d9 Added last resort measure for FileHelper::removeDirectory() fail to unlink symlinks under Windows 2015-10-11 02:05:15 +03:00
Alexander Makarov
3f4fcbe569 Removed accidentally typed char 2015-10-10 20:53:23 +03:00
Alexander Makarov
fb2fa8634d Fixes #9877 2015-10-10 18:17:27 +03:00
Carsten Brandt
255eec3ddd fixed typo 2015-10-10 12:58:15 +02:00
Alexander Makarov
70cfdfd289 Fixed test break 2015-10-10 01:16:16 +03:00
Alexander Makarov
8260cfa4ea Compare with null instead of isset 2015-10-10 01:12:59 +03:00
Alexander Makarov
7a08b8d9d9 Use ++ instead of x = x + 1 2015-10-10 01:05:56 +03:00
Alexander Makarov
1b3770fd21 Use === instead of == where possible 2015-10-10 01:04:35 +03:00
Alexander Makarov
4ecafe653c More compact number operations 2015-10-10 00:41:54 +03:00
Alexander Makarov
b65bfad44d Simplified regular expressions 2015-10-10 00:40:25 +03:00
Alexander Makarov
ffa3a59591 Compare with empty string instead of comparing length with 0 2015-10-10 00:37:46 +03:00
Alexander Makarov
f83d233072 Fixed method call case to match definition 2015-10-10 00:26:44 +03:00
Alexander Makarov
5ab4f0f090 Better quotes usage in strings
- Use single quote where interpolation isn't necessary
- Use interpolation when it's better than concatenation
2015-10-10 00:23:52 +03:00
nainoon
3a313ac652 Fixes #9874: Fixed outputting exception stacktrace in non-debug mode when Response::FORMAT_RAW is used 2015-10-09 23:41:15 +03:00
Alexander Makarov
0712bad090 Fixes #9846: Fixed yii\web\User::loginRequired() should throw 401 not 403 (reverted from commit 4e715f9d65)
See https://github.com/yiisoft/yii2/issues/9846#issuecomment-146891825
2015-10-09 22:13:39 +03:00
A Slatius
a030cd4250 Allow the use of Yii aliases in an SQLite dsn
Making it possible to use a SQLite DSN like;

```php
'db' => [
    'dsn' => 'sqlite:@app/db/database.sqlite3',
]
```

That way it'll always work out of the box and absolute paths aren't
needed.

close #9869
2015-10-09 16:21:33 +02:00
trbsi
f83954752f Croatian language updated, Serbian - Fixed
close #9865
2015-10-09 15:53:26 +02:00
Alexander Makarov
0bda5e362e Fixes #9783: jQuery inputmask dependency updated to ~3.2.2 2015-10-09 16:31:13 +03:00
Nikola Kovacs
3ac007440a Fix translation 2015-10-09 13:03:54 +02:00
spikyjt@gmail.com
4e715f9d65 Fixes #9846: Fixed yii\web\User::loginRequired() should throw 401 not 403 2015-10-07 18:16:42 +03:00
jeicd
f0deb1cee8 Convert tabs to spaces 2015-10-05 15:38:56 +06:00
Alexander Makarov
e1458eb075 Merge pull request #9834 from pana1990/update-migration
Update syntax migration
2015-10-05 12:20:39 +03:00
jeicd
c2f83da8d8 Fix phpdoc 2015-10-05 15:00:13 +06:00
jeicd
0407407b76 fix coding style to follow PSR-2 2015-10-05 13:58:47 +06:00
Daniel Gomez Pan
540883e179 Update syntax migration 2015-10-05 06:02:11 +02:00
mdmunir
d2baecbda5 fix #9823 2015-10-04 08:10:42 +07:00
mdmunir
3accf52ddb fix #9823 2015-10-03 23:00:46 +07:00
Alexander Makarov
fbe5bb7d20 Fixed generation of canonical URLs for ViewAction pages 2015-10-03 17:58:38 +03:00
Vovan-VE
c68b9a486c Fix: Issue #9814: event type EVENT_AFTER_INSERT and EVENT_AFTER_UPDATE
Events `EVENT_AFTER_INSERT` and `EVENT_AFTER_UPDATE` are documented
as `Event`, but infact they are `AfterSaveEvent`.
2015-10-03 20:23:56 +08:00
John Was
eb6935e4a8 add more conditions when reading mysql information_schema to speed it up 2015-10-01 12:20:19 +02:00
Nikola Kovacs
a7ef39ca6b fix typo in documentation 2015-09-30 12:44:31 +02:00
Nikola Kovacs
a7a8f1e0cf Fix links in documentation 2015-09-30 12:09:53 +02:00
Carsten Brandt
64379dc7ba phpdoc fix 2015-09-29 15:37:05 +02:00
Carsten Brandt
f007fc1e60 avoid recursion on the root of the file system
fixes #9791
2015-09-29 15:37:05 +02:00
Jan Waś
191185f5e3 Fixes #6351: Find MySQL FK constraints from information_schema tables instead of SHOW CREATE TABLE to improve reliability 2015-09-29 13:47:20 +03:00
Alexander Makarov
50cd3e1123 Fixes #6200 2015-09-29 00:04:23 +03:00
Carsten Brandt
d8047f34f6 RangeValidator phpdoc tweak 2015-09-28 22:23:18 +02:00
Alexander Makarov
77d6111b06 Fixed phpdoc of DefaultValidator 2015-09-28 17:48:04 +03:00
RomeroMsk
e93b797098 Fixes #7581: Added ability to specify range using anonymous function in RangeValidator 2015-09-28 17:47:15 +03:00
Alexander Makarov
cfc2c18e15 Changelog entry for #9454 2015-09-28 17:42:27 +03:00
Alexander Makarov
ab0b50c30d Merge pull request #9496 from daliran/Sqlsrv-MARS
Fixed #9454: changed sqlsrv pdo class selection
2015-09-28 17:40:42 +03:00
Kevin LEVRON
bc543db206 fix doc 2015-09-28 15:25:29 +02:00