Alexander Makarov
e0b701bb87
Added SQL files for RBAC back
11 years ago
Carsten Brandt
b65b0ce591
better exception message for non existing validator
11 years ago
Alexander Makarov
bea7cf8449
Moved exception handling to schema
11 years ago
Alexander Makarov
b1d94e5c95
Removed unnecessary instance check, fixed Sphinx schema
11 years ago
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
11 years ago
Alexander Makarov
c7b05f0c22
Fixed inconsistent return of \yii\console\Application::runAction()
11 years ago
Adam Altman
1ddcd8e705
correct typo in phpdoc for HttpBearerAuth class
11 years ago
Qiang Xue
af7530663d
Fixes #3383 : Added `$type` parameter to `IdentityInterface::findIdentityByAccessToken()`
11 years ago
Alexander Makarov
ef4d9683ce
Fixed RBAC migration for SQLite
11 years ago
Alexander Makarov
905e39ede9
RBAC migration is now aware of custom table names, speeded up RBAC tests
11 years ago
Alexander Makarov
12732cfa53
Fixed rbac tests to use migration
11 years ago
Alexander Makarov
ff3a20a785
Removed duplicate property
11 years ago
Alex-Code
7ff1f4ae33
Update DefaultValueValidator.php
11 years ago
Alexander Makarov
d0ddb56639
Fixes #699 : fixed wrong usage of self and static
11 years ago
Alexander Makarov
ca465eae18
Renamed handleError to handleException
11 years ago
Alexander Makarov
6cfc949691
Added CUBRID support for throwing integrity exception
11 years ago
Alexander Makarov
7764086c5d
IntegrityException should be thrown for relational DBs only
11 years ago
Alexander Makarov
d1ec2a0241
Better naming for Schema properties
11 years ago
Alex-Code
8d80582f0c
Update CHANGELOG.md
11 years ago
Alex-Code
7dfd210b79
Update DefaultValueValidator.php
...
Allow the default value to be a closure
11 years ago
Marius Kubrakov
1182ba5e45
Fixes #3368 value also has to be parsed.
11 years ago
Alexander Makarov
2aa5555654
Fixes #2435 : `yii\db\IntegrityException` is now thrown on database integrity errors instead of general `yii\db\Exception`
11 years ago
Alexander Makarov
ca23cd8a2c
Implemented throwing \yii\db\IntegrityException on DB integrity errors
11 years ago
Carsten Brandt
c3fe4aa0fd
`@inheritdoc` from interfaces and params
11 years ago
Alexander Makarov
b86f5a14f7
#2435 Tests for integrity exception
11 years ago
Alexander Kochetov
d041116b94
`BaseActiveRecord::findAll()` comment fix
11 years ago
Alexander Makarov
42c566935e
Fixes #2913 : RBAC `DbManager` is now initialized via migration
11 years ago
Steve Guns
8347ca5cb1
[NL] Removed app.php
11 years ago
Steve Guns
ddce87a355
[NL] brought translations up to date
11 years ago
Marius Kubrakov
a2bf04b084
Fix for comparing numeric attributes in JavaScript
11 years ago
Marius Kubrakov
b014a7bd09
Fix for comparing numeric attributes in JavaScript
11 years ago
Jurmarcus Allen
6099e85160
HHVM compatibility Fixes for Yii 2 Console Application
11 years ago
larnu
15135b8071
Catalan translation
11 years ago
Yeung Song
5ea81a91c9
Fixed document for multisort in BaseArrayHelper
...
Fixed
11 years ago
Agrumas
c19e76e09d
Lithuanian translation cleanup. [skip ci]
11 years ago
Agrumas
82dbbce481
Updated Lithuanian translation
11 years ago
Alexander Makarov
4e5079abd8
Fix #3327 : "Unable to find debug data" when logging objects with circular references
11 years ago
Qiang Xue
7450c0d9d4
changelog update. [skip ci]
11 years ago
armab
313139968e
Update BaseMailer.php
11 years ago
armab
cdadc01ba2
Update BaseMailer.php
11 years ago
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).
11 years ago
Alexander Makarov
a4c644d3a3
Fixes #3325 : fixed generated markup for conditional comments
...
No changelog line since feature was introduced after beta
11 years ago
Alexander Makarov
009238156e
Fixed slashed to match guide
11 years ago
Qiang Xue
0880656be3
Fixes #3311 .
11 years ago
Yeung Song
9dcdbd5e30
update document for BaseYii::setAlias method.
...
update
11 years ago
Qiang Xue
48c7e328c9
Finished behavior guide [skip ci]
11 years ago
Carsten Brandt
2e892c42e4
added docs about build automation tool
...
fixes #2852
11 years ago
Qiang Xue
5b6e79dc14
Fixes #3298 : Supported configuring `View::theme` using a class name
11 years ago
Qiang Xue
7d31cba3a8
Finished event guide. [skip ci]
11 years ago
Qiang Xue
d954618796
Added support to insert an event handler at the beginning of class-level event handler queue
11 years ago