Alexander Kochetov
1edf0a0981
FixtureController code style fixes and typo fixes
2014-01-04 18:42:22 +04:00
Carsten Brandt
fc6b63717c
removed hard restriction of cache keyPrefix to alnum
...
fixes #1773
2014-01-04 14:18:51 +01:00
Carsten Brandt
8d09633bb9
allow class level trigger call on Event subclasses
...
e.g. UserEvent::trigger('event', 'class');
should result in a UserEvent to be passed to the handlers instead of
a base\Event.
2014-01-04 11:48:03 +01:00
Carsten Brandt
4bb2ee95b7
updated docs of Event
2014-01-04 11:47:47 +01:00
Paul Kofmann
1924a528be
Redundant event's instanceof check
...
And some docs punctuation.
2014-01-04 11:23:09 +01:00
Carsten Brandt
a7b852fcc3
Changed elasticsearch AR primary key handling
...
now supports mapped primary key when _id is part of source with an
alias.
2014-01-04 04:26:50 +01:00
Carsten Brandt
3fdca0508c
applied fixture command docs from #1762
...
closes #1762
2014-01-04 00:44:58 +01:00
John Was
7e1e622458
simpler implementation of the handler property in yii\web\Session
2014-01-03 23:51:45 +01:00
Carsten Brandt
7d42fc4112
code style fixes
2014-01-03 23:30:59 +01:00
Mark
f4397f1b8a
fixture controller improved
2014-01-04 01:48:56 +04:00
Mark
ccfb7638d0
Added to the basic app, fixed config, added to core commands.
2014-01-04 01:16:05 +04:00
John Was
53bb25947d
add handler property to yii\web\Session
2014-01-03 21:52:45 +01:00
Qiang Xue
239778efbd
minor issue fix about fixture controllers.
2014-01-02 23:34:00 -05:00
Qiang Xue
9f74bba3f7
minor fixes.
2014-01-02 23:08:14 -05:00
Qiang Xue
4c45b429e5
doc fix.
2014-01-02 23:06:12 -05:00
Qiang Xue
f331547584
Fixes #1748 : code cleanup.
2014-01-02 23:00:32 -05:00
Qiang Xue
389ef891ab
Merge pull request #1743 from Ragazzo/yii2_faker_integration
...
Yii2 faker integration
2014-01-02 19:35:13 -08:00
Qiang Xue
4a9b2d2b82
Added support for using array-typed arguments for console commands
2014-01-02 21:06:59 -05:00
Mark
a3071fd90d
added faker integration
2014-01-02 23:46:08 +04:00
Qiang Xue
7ec8d0df5f
doc fix.
2014-01-01 23:47:41 -05:00
Qiang Xue
fb0c43b30b
yii\web\User::loginRequired() now returns the Response object instead of exiting the application
2014-01-01 23:36:55 -05:00
Qiang Xue
64c4d8e718
Fixes #1733 : Incorrect code about $_modelClasses in DbFixtureManager
2014-01-01 20:52:27 -05:00
Qiang Xue
4f346f4be1
doc fix.
2014-01-01 20:33:52 -05:00
Carsten Brandt
7a1949fe2d
improved traceability of errors thrown in toString() methods
2014-01-01 17:11:48 +01:00
Qiang Xue
27658e56ae
Fixes #1647 : Changed the default CSS class of error block to be error-block
2014-01-01 10:29:04 -05:00
Qiang Xue
978f8ec203
refactored profiling timing calculation.
2013-12-31 17:49:31 -05:00
Qiang Xue
9e66e08bc7
Fixes #802 : Added support for retrieving sub-array element or child object property through ArrayHelper::getValue()
2013-12-31 11:30:44 -05:00
Qiang Xue
1edeb7aa5e
Fixed test break.
2013-12-30 21:35:15 -05:00
Qiang Xue
5f8e6d377b
Fixes #1706 : Added support for registering a single JS/CSS file with dependency
2013-12-30 21:02:42 -05:00
Carsten Brandt
fbb9918a46
fixed an issue with message source and model as params
2013-12-30 19:22:26 +01:00
Carsten Brandt
5b8971352c
Merge pull request #1708 from crtlib/patch-2
...
Small fixes for the sake of consistency
2013-12-30 08:00:02 -08:00
Carsten Brandt
173c7de82b
changed default value of Component::_events
2013-12-30 16:55:57 +01:00
Carsten Brandt
ea47ce5ca2
code style fixes
2013-12-30 16:55:32 +01:00
Paul Kofmann
934051e804
Small fixes for the sake of consistency
2013-12-30 16:48:11 +01:00
Qiang Xue
89afcdece8
Merge pull request #1700 from crtlib/patch-1
...
Using constants instead of literals in Behavior docs
2013-12-30 07:08:53 -08:00
Qiang Xue
0b28f290f3
Fixes #1704 : Incorrect regexp is used in Inflector::camelize()
2013-12-30 10:07:44 -05:00
Qiang Xue
1361bd3c7f
Merge pull request #1683 from Ragazzo/mail_event
...
Mail events before/after
2013-12-30 06:57:22 -08:00
Mark
12e46921b3
line fix
2013-12-30 18:40:10 +04:00
Qiang Xue
b09f709adc
Fixed build break.
2013-12-30 09:32:51 -05:00
Mark
c0a2201143
end of line fix
2013-12-30 18:30:43 +04:00
Mark
f267f4623f
reverted $isValid for events.
2013-12-30 18:25:38 +04:00
Qiang Xue
bf73fe80d4
Merge pull request #1703 from crtlib/patch-2
...
Removed redundant code in detachBehaviors()
2013-12-30 06:24:23 -08:00
Qiang Xue
c88016f9d8
added default mail config to application.
2013-12-30 09:16:39 -05:00
Paul Kofmann
ee81915a1e
Removed redundant code in detachBehaviors()
...
After ensureBehaviors() call $this->_behaviors is an array already.
And since detachBehavior() unsets elements in $this->_behaviors, $this->_behaviors turns out to be an empty array after all iterations.
2013-12-30 15:14:11 +01:00
Paul Kofmann
6e34488fa5
Using constants instead of literals in Behavior
2013-12-30 12:42:41 +01:00
Qiang Xue
943bf88904
doc fix.
2013-12-29 23:36:19 -05:00
Qiang Xue
0788e1045f
Refactored unit tests.
2013-12-29 20:54:20 -05:00
Qiang Xue
28dc23ddac
Fixed the issue that query cache returns the same data for the same SQL but different query methods
2013-12-29 14:25:10 -05:00
Qiang Xue
9b1c2c8064
Fixes #1586 : QueryBuilder::buildLikeCondition() will now escape special characters and use percentage characters by default
2013-12-29 13:04:02 -05:00
Qiang Xue
60dd8d16a1
Fixes #1688 : ActiveForm is creating duplicated messages in error summary
2013-12-29 10:27:38 -05:00