Fourteenmeister
f46c706033
Update QueryBuilder.php
...
fix error occurs when you use multiple databases.
2014-05-14 10:20:57 +09:00
Fourteenmeister
b36b9bfdad
fix error
...
fix error when if fields whose names are reserved word
2014-05-13 10:41:29 +09:00
Fourteenmeister
3e45097126
MS SQL Server fix for older versions than 2012 (alternative solution)
...
This alternative solution LIMIT, OFFSET problem SQL Server version older than 2012.
2014-05-08 13:04:36 +09:00
Alexander Makarov
e4bd3b5932
Merge pull request #3378 from yiisoft/db-integrity-exception
...
Database IntegrityException
2014-05-07 23:13:40 +04:00
Alexander Makarov
b491441246
Removed yii\rest\ActiveController::$transactional property and connected functionality
2014-05-07 22:16:37 +04:00
Alexander Makarov
8886fb235f
Fixed handleException method visibility, removed unnecessary slashes from FQN
2014-05-07 20:56:51 +04:00
Alexander Makarov
ab96c1abc1
Merge branch 'master'
2014-05-07 20:49:28 +04:00
Alexander Makarov
e0b701bb87
Added SQL files for RBAC back
2014-05-07 20:49:03 +04:00
Carsten Brandt
b65b0ce591
better exception message for non existing validator
2014-05-07 13:09:39 +02:00
Alexander Makarov
bea7cf8449
Moved exception handling to schema
2014-05-07 04:27:21 +04:00
Alexander Makarov
5cb243025a
Merge branch 'master'
2014-05-07 04:04:49 +04:00
Alexander Makarov
b1d94e5c95
Removed unnecessary instance check, fixed Sphinx schema
2014-05-07 04:04:44 +04:00
Qiang Xue
15c5f94f80
Merge pull request #3386 from adamaltman/master
...
correct typo in phpdoc for HttpBearerAuth class
2014-05-06 19:55:52 -04:00
Alexander Makarov
a86d2ad11e
Added yii\console\Controller::EXIT_CODE_NORMAL and yii\console\Controller::EXIT_CODE_ERROR constants, yii\console\MigrateController now returns yii\console\Controller::EXIT_CODE_ERROR in case of failed migration
2014-05-07 03:11:35 +04:00
Alexander Makarov
c7b05f0c22
Fixed inconsistent return of \yii\console\Application::runAction()
2014-05-07 03:11:35 +04:00
Adam Altman
1ddcd8e705
correct typo in phpdoc for HttpBearerAuth class
2014-05-06 17:56:13 -05:00
Qiang Xue
af7530663d
Fixes #3383 : Added $type parameter to IdentityInterface::findIdentityByAccessToken()
2014-05-06 18:45:18 -04:00
Alexander Makarov
ef4d9683ce
Fixed RBAC migration for SQLite
2014-05-07 00:52:56 +04:00
Alexander Makarov
905e39ede9
RBAC migration is now aware of custom table names, speeded up RBAC tests
2014-05-07 00:19:33 +04:00
Alexander Makarov
12732cfa53
Fixed rbac tests to use migration
2014-05-06 21:02:35 +04:00
Alexander Makarov
ff3a20a785
Removed duplicate property
2014-05-06 21:02:35 +04:00
Alexander Makarov
d0ddb56639
Fixes #699 : fixed wrong usage of self and static
2014-05-06 20:05:41 +04:00
Alexander Makarov
ca465eae18
Renamed handleError to handleException
2014-05-06 19:15:18 +04:00
Alexander Makarov
6cfc949691
Added CUBRID support for throwing integrity exception
2014-05-06 19:13:54 +04:00
Alexander Makarov
7764086c5d
IntegrityException should be thrown for relational DBs only
2014-05-06 19:07:23 +04:00
Alexander Makarov
d1ec2a0241
Better naming for Schema properties
2014-05-06 19:06:34 +04:00
Alexander Makarov
2aa5555654
Fixes #2435 : yii\db\IntegrityException is now thrown on database integrity errors instead of general yii\db\Exception
2014-05-06 18:28:06 +04:00
Alexander Makarov
ca23cd8a2c
Implemented throwing \yii\db\IntegrityException on DB integrity errors
2014-05-06 18:26:27 +04:00
Carsten Brandt
76b3d89d83
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2: (43 commits)
`BaseActiveRecord::findAll()` comment fix
Fixes #2913 : RBAC `DbManager` is now initialized via migration
[NL] Removed app.php
[NL] brought translations up to date
Fix for comparing numeric attributes in JavaScript
Better Gii caption english
Fix for comparing numeric attributes in JavaScript
HHVM compatibility Fixes for Yii 2 Console Application
Rough creation of a doc style guide
typo
Finished Edits
Edited up to Active Record
renamed chapter to section [skip ci]
Catalan translation
Edited up through "I18N"
Cleaned Up
updated guide toc [skip ci]
Update concept-behaviors.md
Fixed wrong links [skip ci]
Fixed document for multisort in BaseArrayHelper
...
2014-05-06 16:00:45 +02:00
Carsten Brandt
c3fe4aa0fd
@inheritdoc from interfaces and params
2014-05-06 15:59:52 +02:00
Alexander Makarov
b86f5a14f7
#2435 Tests for integrity exception
2014-05-06 16:56:51 +04:00
Alexander Kochetov
d041116b94
BaseActiveRecord::findAll() comment fix
2014-05-06 16:18:01 +04:00
Alexander Makarov
42c566935e
Fixes #2913 : RBAC DbManager is now initialized via migration
2014-05-06 14:59:40 +04:00
Steve Guns
8347ca5cb1
[NL] Removed app.php
2014-05-06 11:15:46 +02:00
Steve Guns
ddce87a355
[NL] brought translations up to date
2014-05-06 10:56:38 +02:00
Carsten Brandt
0d2995f7fb
Merge pull request #3368 from technixp/master
...
Fix for comparing numeric attributes in JavaScript
2014-05-06 10:30:12 +02:00
Marius Kubrakov
a2bf04b084
Fix for comparing numeric attributes in JavaScript
2014-05-06 11:15:58 +03:00
Jurmarcus Allen
6099e85160
HHVM compatibility Fixes for Yii 2 Console Application
2014-05-06 01:18:37 -05:00
larnu
15135b8071
Catalan translation
2014-05-05 19:46:57 +02:00
Yeung Song
5ea81a91c9
Fixed document for multisort in BaseArrayHelper
...
Fixed
2014-05-05 16:33:08 +08:00
Agrumas
c19e76e09d
Lithuanian translation cleanup. [skip ci]
2014-05-04 20:45:46 +03:00
Agrumas
82dbbce481
Updated Lithuanian translation
2014-05-04 20:01:30 +03:00
Agrumas
f5e5ffa3b1
Merge branch 'master' of https://github.com/yiisoft/yii2
2014-05-04 19:25:34 +03:00
Alexander Makarov
4e5079abd8
Fix #3327 : "Unable to find debug data" when logging objects with circular references
2014-05-04 20:02:06 +04:00
Qiang Xue
7450c0d9d4
changelog update. [skip ci]
2014-05-02 13:03:35 -04:00
armab
313139968e
Update BaseMailer.php
2014-05-02 18:34:13 +03:00
armab
cdadc01ba2
Update BaseMailer.php
2014-05-02 17:33:25 +03:00
armab
a324b26c7f
BaseMailer: strip <style> content from TextBody fix
...
If ```$htmlLayout``` contains <style> tags with CSS rules,
strip_tags here: https://github.com/yiisoft/yii2/blob/master/framework/mail/BaseMailer.php#L189
won't clean those CSS rules.
Actual html:
```html
<html>
<head>
<style>
.text-secondary {color: #93959A;}
[...]
[Other CSS rules]
[...]
</style>
</head>
<body>
<div>Some content</div>
</body>
</html>
```
Will look this way in TEXT version of Email:
```
.text-secondary {color: #93959A;}
[...]
[Other CSS rules]
[...]
Some content
```
--------------
If TEXT version of Email differs drastically from visible content of HTML version,
it can be result that some penalty points will apply to such mails:
http://wiki.apache.org/spamassassin/Rules/MPART_ALT_DIFF_COUNT
Since it's default behaviour for both yii2-app-advanced and yii2-app-basic (where stripped from tags html used for TextBody),
I believe people will stumble in this for sure, without even knowing that their emails can be penalized.
You can reproduce it by placing CSS styles in email view or layout
and test it here: http://www.mail-tester.com/ (SpamAssassin section).
2014-05-02 17:01:03 +03:00
Alexander Makarov
a4c644d3a3
Fixes #3325 : fixed generated markup for conditional comments
...
No changelog line since feature was introduced after beta
2014-05-02 15:29:26 +04:00
Alexander Makarov
009238156e
Fixed slashed to match guide
2014-05-02 14:47:19 +04:00