Tigrov
2b7e8be1e8
Fixes #14192 : Fixed wrong default null value for TIMESTAMP when using PostgreSQL
7 years ago
Kolyunya
9031a115b9
Fixes #13586 : Added `$preserveNonEmptyValues` property to the `yii\behaviors\AttributeBehavior`
7 years ago
vladis84
f6b54e1ac8
Fixes #14089 : Added tests for `yii\base\Theme`
7 years ago
Alexander Makarov
b00c82c2a2
Adjusted RBAC docs to offer both migrations and command approaches [skip ci]
7 years ago
Thiago Talma
1d062100b6
Fixes #13787 : Added `yii\db\Migration::$maxSqlOutputLength` that allows limiting number of characters for outputting SQL
7 years ago
Arthur Khachaturov
78ec17f13c
Fixes #14201 : `yii\console\controllers\MessageController::extractMessagesFromTokens()` is now protected
7 years ago
Carsten Brandt
2b9f0006d5
added example for using unsupported PHP format in yii formatter
...
fixes #14278
7 years ago
Nikolay Oleynikov
fdc91f351b
Improved base migration controller documentation [skip ci] ( #14253 )
7 years ago
Bizley
deea1829db
Fixes #14264 : Fixed a bug where `yii\log\Logger::calculateTimings()` was not accepting messages with array tokens
7 years ago
Carsten Brandt
fddb34b91c
added param binding examples for update() and delete()
...
fixes #14218
7 years ago
Carsten Brandt
a3501ed831
guide: note about param binding on strings, not arrays
...
issue #14218
7 years ago
PowerGamer1
3dc8f426d0
Fix MessageController color output on non-color termnials
...
fixes #14248
close #14249
7 years ago
Carsten Brandt
b056dff031
improved formatter documentation
7 years ago
Dmitry Naumenko
cf9787ddef
Merge pull request #14256 from brandonkelly/patch-7
...
Fixed Formatter::normalizeDatetimeValue() docs
7 years ago
Dmitry Naumenko
4fdc55093f
Merge pull request #14255 from lourdas/master
...
Greek translation update.
7 years ago
Brandon Kelly
981346cb1e
Fixed Formatter::normalizeDatetimeValue() docs
...
There was a reference to `$checkTimeInfo` that was leftover from 54278fc842
7 years ago
Vasileios Lourdas
38bf88df1a
Greek translation update.
7 years ago
Carsten Brandt
d6bd627ac3
prepare for next release
7 years ago
Carsten Brandt
be658f82bf
release version 2.0.12
7 years ago
Carsten Brandt
c09a03ab8e
fixed version and missing `@since` annotation
7 years ago
Carsten Brandt
717c545d2c
moved wrong changelog entry
7 years ago
Carsten Brandt
226f524da3
skip failing HHVM test
...
see https://github.com/yiisoft/yii2/issues/14244
7 years ago
Paul Klimov
40e5702b6b
Fixes #5108 `DateValidator` resets `$timestampAttribute` value on empty attribute ( #14242 )
...
* `yii\validators\DateValidator` now resets `$timestampAttribute` value on empty validated attribute value
* array-value test at `DateValidatorTest` restored
7 years ago
Carsten Brandt
b8d5a35916
Merge pull request #14241 from cebe/migration-namespaces
...
Added support for specifying aliases for migrationNamespaces
7 years ago
Carsten Brandt
844eacba26
Update BaseMigrateController.php
...
make sure console arguments are recognized as array.
7 years ago
Paul Klimov
cd3c6404cb
Fixes #4999 : Added support for wildcards at `yii\filters\AccessRule::$controllers`
7 years ago
Carsten Brandt
6ec6f8d76c
moved include file logic to separate method
7 years ago
Carsten Brandt
5288577221
make migrationPath accept an array
7 years ago
Tobias Munk
deb1def9d3
added alias syntax support
...
fixes #13356
fixes #13359
7 years ago
Carsten Brandt
cb9462b224
Added support for specifying aliases for migrationNamespaces
...
This is used to specify pathes to migrations that do not have
namespaces.
While not directly supported by the migration command provideded by the
framework, these migrations exist in a lot of extensions because custom implementations
of migration controllers out of the framework were using this approach
to load multiple migrations from multiple paths.
Even the framework itself currently ships non-namespaced migrations:
- 17a1d91e4a/framework/rbac/migrations/m140506_102106_rbac_init.php
- 17a1d91e4a/framework/caching/migrations/m150909_153426_cache_init.php
- 17a1d91e4a/framework/log/migrations/m141106_185632_log_init.php
This change allows existing applications to adopt the new namespace-based approach
while keeping existing migrations. While it would be possible to add
namespaces to migrations in the application itself, it is not easily possible
to add namespaces to migrations that come from external sources like
extensions.
7 years ago
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
7 years ago
Paul Klimov
0beb59305c
Fixes #13058 : Fixed caught exception thrown during view file rendering produces wrong output
7 years ago
leandrogehlen
17a1d91e4a
Allows override query relation in descendant class
...
fixes #13441
close #13642
7 years ago
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
7 years ago
nanodesu88
67b9a57e86
additional fix for #13501
...
close #13593
7 years ago
Carsten Brandt
3e94919592
added failing test for #13593
7 years ago
Carsten Brandt
2feb0945ca
Fixed RBAC databases tests
...
tests were reusing static DB connection instance resulting in all tests
to be run against MySQL only!
PgSQL and Sqlite tests are now failing because of the issue reported in #13501 .
7 years ago
Carsten Brandt
fa4d76223b
Merge pull request #14123 from cebe/access-rule-params
...
Alternative implementation for passing parameters to AccessRule roles
7 years ago
Carsten Brandt
a1f396c5d8
improved docs
7 years ago
Carsten Brandt
339972fb34
simplified guide example
7 years ago
Felipe Sateler
88bbd61988
Alternative implementation for passing parameters to AccessRule roles
...
fixes #8426 : `yii\filters\AccessRule` now allows passing GET or other parameters to the role checking function
replaces #8426
7 years ago
Felipe Sateler
18bb002c99
Document queryParams in the authorization guide
7 years ago
Alexander Makarov
137a936a60
Merge pull request #14215 from ihipop/feature/add_doc_for_issue_#8420 [skip ci]
...
Add doc for issue #8420
7 years ago
ihipop
7d209b4143
Adjusted text,add some adivse [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
f111ab4413
Merge branch 'd1rtyf1ng3rs-13551-load-fixtures-in-subdirectories'
7 years ago
SilverFire - Dmitry Naumenko
f7c9e6b852
Enhanced FixtureController::getFixtureRelativeName()
...
Updated CHANGELOG
7 years ago
Skiba Max
51dd58cf34
Fixed #13551 : loading fixtures in subdirectories
7 years ago
Beowulfenator
ed0c755f7c
Adjusted text [skip ci]
7 years ago
Victor Heng
85294ab4e3
Add migration file example for DbSession ( #14227 ) [skip ci]
...
Creating a `char` primaryKey in a migration is non-obvious. Used solution from this [issue comment](https://github.com/yiisoft/yii2/issues/10889#issuecomment-302995086 ).
7 years ago
Ilya Rogov
e2218cbbae
Add test coverage of yii\helpers\Html ( #14220 )
7 years ago