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
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
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
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
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
a1f396c5d8
improved docs
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
SilverFire - Dmitry Naumenko
f7c9e6b852
Enhanced FixtureController::getFixtureRelativeName()
...
Updated CHANGELOG
7 years ago
Skiba Max
51dd58cf34
Fixed #13551 : loading fixtures in subdirectories
7 years ago
viwek
49ab20139c
Inserted missing * on line 972 ( #14224 ) [skip ci]
7 years ago
Alex-Code
7c6620a65f
Fixes #13846 : Fixed `Query::count()` issue with `orderBy`
7 years ago
Alexander Makarov
9b8b965fcb
Fixes #14211 : Fixed regression in Unique and Exist validators
7 years ago
corpsepk
ac70262bfc
Fixed typo in BaseFileHelper::findFiles() docs ( #14200 ) [skip ci]
7 years ago
bscheshirwork
921147dca5
Fixes #14161 , #14150 : fixed primary table aliasing (include case manual set alias) in validators
7 years ago
Sergey Makinen
118fc08af8
Fix dropping unique/indexes
7 years ago
Sergey Makinen
4104235258
Fix schema caching on commands
7 years ago
Sergey Makinen
73ac13e6d7
Implement retrieving dbms constraints
7 years ago
Alexander Makarov
625d554e3a
Additional edge case for #14150
7 years ago
Alexander Makarov
8a087c8537
#14150 : Added {{ and }} to getTablesUsedInFrom() output
7 years ago
Alexander Makarov
b151b1cdb2
Fixes #14150
7 years ago
Bizley
ddee256a1a
Fixes #14133 : Fixed bug when calculating timings with mixed nested profile begin and end in `yii\log\Logger::calculateTimings()`
7 years ago
Alexander Makarov
1838370da0
Fixed changelog [skip ci]
7 years ago
Alexander Makarov
96382454b1
Additional refactoring as suggested by @dynasource
7 years ago
ejsoft
e5799da1c0
Remove unnecessary variable from UrlRule.php ( #13948 )
7 years ago
Robert Korulczyk
daa8b67c7b
Fixes #13350 , #14094 , #11288
...
- Bug #13350 : Fixed bug with incorrect caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager`.
- Bug #14094 : Fixed bug when single `yii\web\UrlManager::createUrl()` call my result multiple calls of `yii\web\UrlRule::createUrl()` for the same rule.
- Enh #11288 : Added support for caching of `yii\web\UrlRule::createUrl()` results in `yii\web\UrlManager` for rules with defaults.
7 years ago
Alexander Makarov
9828bde1db
Added escaping for column name
7 years ago
Carsten Brandt
5c72047426
Fixed ambiguous column name in SELECT in UniqueValidator
...
fixes #14042
7 years ago
Carsten Brandt
5ed6910e1c
Added support for cloning a db connection
...
improved fix #14020
fixes #13890
https://github.com/yiisoft/yii2/pull/14020/files#r115185865
close #14121
7 years ago
Alexey Rogachev
80d6f7323a
Do not render empty row in GridView when data is empty and emptyText set to false
...
Fixes #13352
close #13422
7 years ago
Carsten Brandt
3b7eb5ceea
added changelog for #12528
7 years ago
Alexander Makarov
23cc4bf4fe
Further changes for unique and exist validators
...
- Combined methods for getting names and aliases of from tables
- Normalized names and aliases
- Added MSSQL syntax
- Added support for spaces in aliases and table names
7 years ago
Carsten Brandt
4cb98c42cb
changelog for #14067
7 years ago
Craig London
e360457091
function clear() -- Set populated arrays to empty arrays ( #14067 )
...
`yii\web\View::clear()` sets populated arrays to empty arrays
7 years ago