Commit Graph

15391 Commits

Author SHA1 Message Date
Alexander Makarov
98fa3a75a0 Merge pull request #10797 from muhammadcahya/master
Efficiency CSS on Requirement Checker
2016-02-10 12:06:29 +03:00
muhammadcahya
557b32f1d7 Efficiency CSS on Requirement Checker
I think this is no need a 6807 lines only for css style, 'same' css code, unused code inside core framework. 
Like @samdark say, I think will be better to remove unused stuff.

closed issue : https://github.com/yiisoft/yii2/issues/10791
2016-02-10 10:44:39 +07:00
muhammadcahya
d0e285ea3a Change to semantic html 5 elements/tags 2016-02-10 10:42:03 +07:00
Daniel Gomez Pan
cc7628e5d2 WIP #10764: update docs [skip ci] 2016-02-10 00:50:52 +01:00
Dmitry Naumenko
a5d6bd5c8e Merge pull request #10783 from yiisoft/7964-i18n-fallback
Fixed i18n message sources to load fallback messages in a smarter way
2016-02-10 00:39:55 +02:00
SilverFire - Dmitry Naumenko
b5c52ecbae PHPDoc updates 2016-02-10 00:39:25 +02:00
SilverFire - Dmitry Naumenko
4f3adc2cb8 Added i18n/migration static migrations 2016-02-10 00:38:45 +02:00
Dmitry Naumenko
09990ccc86 Merge pull request #10782 from yiisoft/ip-validator-message
IpValidator: use message property for default error
2016-02-09 23:39:27 +02:00
Daniel Gomez Pan
295bb3e173 WIP #10764: adjusted Html::beginTag and Html::endTag methods to be consistent 2016-02-09 18:13:32 +01:00
SilverFire - Dmitry Naumenko
63eb47fb39 IpValidator - added examples to class PHPDoc 2016-02-09 09:45:32 +02:00
SilverFire - Dmitry Naumenko
b804dbb98f IpValidator JS validation: wrongIp->message renamed 2016-02-08 19:44:44 +02:00
SilverFire - Dmitry Naumenko
15f70ce615 Merge branch 'master' into ip-validator-message 2016-02-08 19:41:42 +02:00
Alexander Makarov
9edd26eef7 Updated composer.json dependency versions. Fixes #10785 2016-02-08 11:33:16 +03:00
Daniel Gomez Pan
f4990b3879 WIP #10764: add extra test for Menu class 2016-02-07 22:24:08 +01:00
SilverFire - Dmitry Naumenko
32c424da10 Fixed i18n message sources to load fallback messages in a smarter way
Added migration and unit-tests for `yii\i18n\DbMessageSource`

Closes #7964
2016-02-07 23:08:52 +02:00
Carsten Brandt
0f30b0843b added test for SORT_DESC
for #8348 and #10607
2016-02-07 20:50:25 +01:00
Andrew Nester
78de315794 Fixed processing nested objects multisort in BaseArrayHelper
fixes #8348
close #10607
2016-02-07 20:20:32 +01:00
Jan Siqueira
f9473ebc61 Fix default value parsing in pgsql\Schema for null values
Fixes #10692
close #10694
2016-02-07 20:07:17 +01:00
Carsten Brandt
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
Carsten Brandt
93ed683502 IpValidator: use message property for default error
its better to use already existing `message` property for the default error message.
2016-02-07 19:30:29 +01:00
Carsten Brandt
e41c2e3946 validators PHPdoc 2016-02-07 19:16:31 +01:00
Carsten Brandt
effe3b0b94 phpdoc adjustments 2016-02-07 18:12:22 +01:00
Carsten Brandt
ef5ce2d4c1 missing @since annotations in helpers 2016-02-07 17:46:12 +01:00
Carsten Brandt
273bd9ba6d add test for ActionFilter::isActive 2016-02-07 16:54:38 +01:00
Daniel Gomez Pan
cd7039e97c WIP #10764 2016-02-07 16:39:41 +01:00
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
Alexander Makarov
357845ac31 Removed controller action injection from the list of features in the guide and translations 2016-02-07 12:10:30 +03:00
Dmitry Naumenko
c11af3fc66 Merge pull request #10772 from lubosdz/master
[SK] Updated locale strings
2016-02-06 23:46:54 +02: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
Carsten Brandt
4579b8a610 Update core-code-style.md
added missing line
2016-02-06 18:26:10 +01:00
Carsten Brandt
255ec95c49 Update core-code-style.md
adjusted property style rules to match current practise.
2016-02-06 18:25:23 +01:00
Alexander Makarov
00f82407ac Merge pull request #10770 from dynasource/cs-property-ordering
Update core-code-style.md [skip ci]
2016-02-06 19:31:28 +03:00
Boudewijn Vahrmeijer
9b4c32b247 Update core-code-style.md
no rule is also a rule
https://github.com/yiisoft/yii2/issues/10767#issuecomment-180794947
2016-02-06 17:15:18 +01:00
Dmitry Naumenko
e8a7a8a0f4 Merge pull request #10757 from andrewnester/10739-unlimited-url-slashes
10739 - Multiple slashes at the end of route should not be accepted as valid url
2016-02-05 15:46:40 +02: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
Dmitry Naumenko
ddf7f9e06b Merge pull request #10589 from andrewnester/10545-rest-controller-fix
#10545 - Fix for XMLResponseFormatter to format models in a proper way
2016-02-05 13:32:37 +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