Carsten Brandt
ddade3fc6e
fixed behavior of AuthMethod::isActive
...
this is an adjustment of #10188 fixing #7405
isActive() should not be affected in any way by specifying "optional" property.
isActive() should be determined from only and except.
If it is active it can then be checked if optional or not.
Currently this changes the behavior that except will always have precedence.
2016-02-07 16:35:28 +01:00
Carsten Brandt
e43c41c9ea
db layer phpdoc fixes
2016-02-07 16:33:26 +01:00
mdmunir
2505e7ef63
Fixes #9785 : Added ability to invoke callback with dependency resolution to DI container
2016-02-07 14:55:45 +03:00
Alexander Makarov
b226252e08
Merge pull request #10765 from yiisoft/revert-action-di
...
Revert DI injection via controller action method signature
2016-02-07 12:28:15 +03:00
Alexander Makarov
26a1e098ff
Removed controller action injection-related changelog line
2016-02-07 12:16:42 +03:00
lubosdz
c2214af969
[SK] Updated locale strings
2016-02-06 22:38:43 +01:00
Carsten Brandt
5db772ef7b
cleanup console namespace changes
2016-02-06 20:05:14 +01:00
Carsten Brandt
3f828d9599
alphabetical order for console core commands
2016-02-06 20:04:31 +01:00
Carsten Brandt
e8d309dddb
documentation fixes for 2.0.7
2016-02-06 19:47:13 +01:00
Carsten Brandt
364eb39eae
moved wrongly added CHANGELOG entry
2016-02-06 18:43:33 +01:00
Carsten Brandt
42b8569846
Revert DI injection via controller action method signature
...
reverts b7020065c and related commits.
reverts implementation of #9476
For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
2016-02-06 18:40:50 +01:00
Andrew Nester
fecd4dcfa5
10739 - Multiple slashes at the end of route should not be accepted as valid url
2016-02-05 16:38:49 +03:00
Dmitry Naumenko
a9bb31c4c0
Merge pull request #10753 from SilverFire/10751-url-validator
...
Fixed UrlValidator pattern to improve matching
2016-02-05 14:47:47 +02:00
SilverFire - Dmitry Naumenko
d12af259e0
Fixed UrlValidator pattern to improve matching
2016-02-05 14:47:12 +02:00
Andrew Nester
a0ca37ed6a
10545 - Fix for XMLResponseFormatter to format models in a proper way
2016-02-05 14:31:12 +03:00
SilverFire - Dmitry Naumenko
b43ebcc368
yii\db\Connection::createCommand() removed DI usage for performance reasons
2016-02-04 14:32:09 +02:00
Carsten Brandt
49c15fa304
better documentation for Command in db Connection
2016-02-04 13:24:08 +01:00
SilverFire - Dmitry Naumenko
8b92b08306
db/Connection - update PHPDocs, update CHANGELOG
2016-02-04 14:03:57 +02:00
Sam Mousa
aa36f63f4c
Fixed issue #7674
2016-02-04 14:03:46 +02:00
SilverFire - Dmitry Naumenko
4c31c26628
EmailValidator - the name of the mailbox is no longer limited with the length
2016-02-01 23:49:51 +02:00
Evgeniy Tkachenko
8b9514fd5f
Refactoring yii\web\Request::getMethod
2016-01-28 23:15:10 +03:00
Carsten Brandt
5e4485673f
Merge pull request #10682 from yiisoft/group-order-expression
...
DB Expressions in groupBy and orderBy
2016-01-28 17:20:31 +01:00
Carsten Brandt
8680f0f1d8
BC way of merging expression params of orderBy and groupBy
...
this logic should be moved to the sub methods in 2.1
2016-01-28 17:01:16 +01:00
Carsten Brandt
f0a62cdbd3
allow expressions in GROUP BY
2016-01-27 16:53:20 +01:00
Carsten Brandt
5a462dc5d2
added tests and documentation for #8824
2016-01-27 16:26:43 +01:00
Carsten Brandt
c3240525df
updated docs about Expression class
...
fixes #10647
2016-01-27 15:33:01 +01:00
Alexander Makarov
72e11ed81a
Merge pull request #10670 from pana1990/update-docs
...
Add phpdoc [skip ci]
2016-01-26 20:20:14 +03:00
Daniel Gomez Pan
36de283411
Fix grammar in chage log [skip ci]
2016-01-26 18:06:01 +01:00
Daniel Gomez Pan
e630072408
Add phpdoc [skip ci]
2016-01-26 18:01:17 +01:00
SilverFire - Dmitry Naumenko
96a50bcc35
Updated CHANGELOG.md
2016-01-26 10:18:41 +02:00
SilverFire - Dmitry Naumenko
275a7827c3
ActionColumn::visibleButtins() - changed PHPDoc wording
2016-01-26 10:17:16 +02:00
SilverFire - Dmitry Naumenko
fdea27c433
Merge branch '9198-buttons-visible-in-action-column' of https://github.com/fornit1917/yii2 into fornit1917-9198-buttons-visible-in-action-column
2016-01-26 09:36:32 +02:00
Vit
f17a881539
fix typo
2016-01-26 10:29:32 +03:00
SilverFire - Dmitry Naumenko
ca013ca38c
Merge branch '9198-buttons-visible-in-action-column' of https://github.com/fornit1917/yii2 into fornit1917-9198-buttons-visible-in-action-column
2016-01-26 09:18:23 +02:00
Vit S
bdddcc54ad
code review fixes
2016-01-25 22:56:44 +03:00
SilverFire - Dmitry Naumenko
9bd0810bce
FileValidator - fixed fix for error message on UPLOAD_ERR_FORM_SIZE ( 7f65704)
2016-01-25 21:36:11 +02:00
Vit S
c6c765b014
Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column
2016-01-25 21:28:54 +03:00
SilverFire - Dmitry Naumenko
7f657047da
FileValidator - fixed error message on UPLOAD_ERR_FORM_SIZE
...
Closes #10660
2016-01-25 20:14:51 +02:00
Alexander Makarov
105c3779af
Added example for TagDependency
2016-01-25 16:44:01 +03:00
SilverFire - Dmitry Naumenko
cb7d290416
Merge branch 'master' of github.com:yiisoft/yii2
2016-01-23 10:43:29 +02:00
SilverFire - Dmitry Naumenko
011c1c65cc
Updated CHANGELOG, UPGRADE guide
2016-01-23 10:42:56 +02:00
SilverFire - Dmitry Naumenko
6936c41cf1
SluggableBahavior - PHPDoc and code style fixed; validateSlug, generateUniqueSlug - private -> protected
2016-01-23 10:42:56 +02:00
Hesam Khaki
bd6b70b470
fixes some coding styles in sluggableBehavior
2016-01-23 10:42:56 +02:00
Hesam Khaki
a8dfd50078
numerous refactors for SluggabeBehavior class
2016-01-23 10:42:56 +02:00
Andrew Nester
61df727eaf
Expression objects for orderBy should be handled in QueryBuilder
...
fixes #10535
close #10637
- Added test to prove orderBy accepts \yii\db\Expression
2016-01-23 09:27:54 +01:00
githubjeka
2e7014fd72
Fix bug #10638
2016-01-21 20:22:51 +03:00
Andrew Nester
6acab778da
10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629
2016-01-21 10:55:52 +03:00
SilverFire - Dmitry Naumenko
969469b55a
Updated CHANGELOG
2016-01-20 12:35:49 +02:00
Andrew Nester
9eaa82e15d
10555 - Fix for ActiveForm - When previous action doesn't reload page, this action will be triggered again when another submit button clicked
2016-01-20 13:08:26 +03:00
Evgeniy Tkachenko
be4c9ae5b8
it added also to detachBehavior()
2016-01-20 10:44:14 +03:00