Carsten Brandt
be658f82bf
release version 2.0.12
2017-06-05 16:33:41 +02:00
Carsten Brandt
c09a03ab8e
fixed version and missing @since annotation
2017-06-05 16:26:51 +02:00
Carsten Brandt
717c545d2c
moved wrong changelog entry
2017-06-05 16:04:32 +02:00
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
2017-06-05 11:50:02 +02:00
Carsten Brandt
b8d5a35916
Merge pull request #14241 from cebe/migration-namespaces
...
Added support for specifying aliases for migrationNamespaces
2017-06-05 11:38:26 +02:00
Carsten Brandt
844eacba26
Update BaseMigrateController.php
...
make sure console arguments are recognized as array.
2017-06-05 11:31:38 +02:00
Paul Klimov
cd3c6404cb
Fixes #4999 : Added support for wildcards at yii\filters\AccessRule::$controllers
2017-06-02 21:19:38 +03:00
Carsten Brandt
6ec6f8d76c
moved include file logic to separate method
2017-06-02 13:35:45 +02:00
Carsten Brandt
5288577221
make migrationPath accept an array
2017-06-02 13:35:45 +02:00
Tobias Munk
deb1def9d3
added alias syntax support
...
fixes #13356
fixes #13359
2017-06-02 13:34:34 +02:00
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.
2017-06-02 13:34:34 +02:00
Carsten Brandt
4b9e48b8dc
improved docs: link term "path alias" to the guide
2017-06-02 10:45:20 +02:00
Paul Klimov
0beb59305c
Fixes #13058 : Fixed caught exception thrown during view file rendering produces wrong output
2017-06-02 01:30:21 +03:00
leandrogehlen
17a1d91e4a
Allows override query relation in descendant class
...
fixes #13441
close #13642
2017-06-01 11:53:43 +02:00
Carsten Brandt
6e7ea782c0
fix cloning of DB connection for sqlite in-memory db
...
fixes #14131
close #14232
2017-06-01 11:43:49 +02:00
nanodesu88
67b9a57e86
additional fix for #13501
...
close #13593
2017-05-31 19:17:28 +02:00
Carsten Brandt
a1f396c5d8
improved docs
2017-05-31 17:46:34 +02:00
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
2017-05-31 17:46:34 +02:00
SilverFire - Dmitry Naumenko
f7c9e6b852
Enhanced FixtureController::getFixtureRelativeName()
...
Updated CHANGELOG
2017-05-30 21:27:50 +03:00
Skiba Max
51dd58cf34
Fixed #13551 : loading fixtures in subdirectories
2017-05-30 21:27:43 +03:00
viwek
49ab20139c
Inserted missing * on line 972 ( #14224 ) [skip ci]
2017-05-28 17:30:36 +05:00
Alex-Code
7c6620a65f
Fixes #13846 : Fixed Query::count() issue with orderBy
2017-05-28 15:27:45 +03:00
Alexander Makarov
9b8b965fcb
Fixes #14211 : Fixed regression in Unique and Exist validators
2017-05-26 00:31:30 +03:00
corpsepk
ac70262bfc
Fixed typo in BaseFileHelper::findFiles() docs ( #14200 ) [skip ci]
2017-05-24 20:59:35 +05:00
bscheshirwork
921147dca5
Fixes #14161 , #14150 : fixed primary table aliasing (include case manual set alias) in validators
2017-05-16 13:24:49 +03:00
Alexander Makarov
625d554e3a
Additional edge case for #14150
2017-05-12 18:06:27 +03:00
Alexander Makarov
8a087c8537
#14150 : Added {{ and }} to getTablesUsedInFrom() output
2017-05-12 15:55:37 +03:00
Alexander Makarov
b151b1cdb2
Fixes #14150
2017-05-12 14:17:23 +03:00
Bizley
ddee256a1a
Fixes #14133 : Fixed bug when calculating timings with mixed nested profile begin and end in yii\log\Logger::calculateTimings()
2017-05-12 11:48:16 +03:00
Alexander Makarov
1838370da0
Fixed changelog [skip ci]
2017-05-12 00:47:59 +03:00
Alexander Makarov
d331b72be6
Merge branch 'master' into unique-validator-fix
2017-05-12 00:45:55 +03:00
Alexander Makarov
96382454b1
Additional refactoring as suggested by @dynasource
2017-05-10 13:08:29 +03:00
ejsoft
e5799da1c0
Remove unnecessary variable from UrlRule.php ( #13948 )
2017-05-10 12:31:05 +03:00
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.
2017-05-10 12:30:43 +03:00
Alexander Makarov
9828bde1db
Added escaping for column name
2017-05-10 12:04:54 +03:00
Carsten Brandt
5c72047426
Fixed ambiguous column name in SELECT in UniqueValidator
...
fixes #14042
2017-05-10 12:02:48 +03:00
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
2017-05-10 09:46:10 +02:00
Alexey Rogachev
80d6f7323a
Do not render empty row in GridView when data is empty and emptyText set to false
...
Fixes #13352
close #13422
2017-05-10 09:40:29 +02:00
Carsten Brandt
3b7eb5ceea
added changelog for #12528
2017-05-10 01:31:11 +02:00
Carsten Brandt
156f09fc6e
Merge pull request #14056 from cebe/db-logging
...
added option to disable query logging in DB command
2017-05-10 01:25:02 +02:00
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
2017-05-10 00:35:40 +03:00
Carsten Brandt
4cb98c42cb
changelog for #14067
2017-05-09 22:51:08 +02:00
Craig London
e360457091
function clear() -- Set populated arrays to empty arrays ( #14067 )
...
`yii\web\View::clear()` sets populated arrays to empty arrays
2017-05-09 17:31:13 +03:00
Klimov Paul
473598ac8c
Added support for sorting by expression to \yii\data\Sort
2017-05-09 17:26:49 +03:00
Alexander Makarov
990b7c1574
Fixed changelog [skip ci]
2017-05-09 01:33:32 +03:00
Leandro Gehlen
25242adb91
Fixes #5442 : Fixed problem on load fixture dependencies with database related tests
2017-05-08 22:31:12 +03:00
Carsten Brandt
5e8e6840b6
Added copyEmptyDirectories option to FileHelper
...
also set it to false in AssetManager to avoid creating a lot of empty
directories.
fixes #9669
2017-05-08 00:21:53 +02:00
Carsten Brandt
fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql()
...
fixes #12528
2017-05-08 00:04:37 +02:00
Carsten Brandt
65ea226729
added option to disable query logging in DB command
...
fixes #12528
2017-05-08 00:04:13 +02:00
Taras Gudz
18bc835243
Typo ( #14117 ) [skip ci]
2017-05-05 17:06:46 +03:00