Commit Graph

5826 Commits

Author SHA1 Message Date
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
Daniel Gomez Pan
510c492224 Fix version [skip ci] 2015-09-27 19:42:13 +02:00
Alexander Makarov
0e40eaa8ac Fixed changelog entry number 2015-09-27 19:56:26 +03:00
Alexander Makarov
511a32e8ca Merge branch '8613-fragmentcache-empty-content' of https://github.com/kidol/yii2 into kidol-8613-fragmentcache-empty-content
# Conflicts:
#	framework/CHANGELOG.md
2015-09-27 19:54:00 +03:00
Alexander Makarov
2c7bb626d9 Reordered changelog 2015-09-27 19:51:47 +03:00
Alexander Makarov
3b140d9eff Merge branch 'master' into json-error-response
# Conflicts:
#	framework/CHANGELOG.md
2015-09-27 19:47:14 +03:00
Alexander Makarov
7b12f59fa9 Fixed phpdoc in RBAC migration 2015-09-27 19:41:58 +03:00
mdmunir
6eb59be665 Fixes #9643: Added migrations for DB cache 2015-09-27 19:41:21 +03:00
Alexander Makarov
4f6bf4cdf2 Merge pull request #9634 from Vovan-VE/patch-1
Doc block confuse in ManagerInterface::getRolesByUser() [skip ci]
2015-09-27 19:36:57 +03:00
mdmunir
b7020065c8 Fixes #9476: Added DI injection via controller action method signature 2015-09-27 19:35:43 +03:00