Commit Graph

76 Commits

Author SHA1 Message Date
Qiang Xue
3616d1f0d1 Fixes #2816: Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s 2014-04-05 18:15:06 -04:00
Qiang Xue
50e338127d Improved action filter and action execution flow by supporting installing action filters at controller, module and application levels 2014-04-04 23:30:59 -04:00
Alexander Makarov
6054ede16a Fixed phpdoc, removed unit tests for Formatter asRelativeTime that were relative to current time since it was impossible to specify correct expected values 2014-03-31 02:05:04 +04:00
David Renty
dde5a00ce3 Merge branch 'master' of https://github.com/yiisoft/yii2
Conflicts:
	framework/base/Formatter.php
	tests/unit/framework/base/FormatterTest.php
2014-03-18 17:31:11 +01:00
David Renty
91e4ad5978 PSR-2 compliance 2014-03-17 12:02:26 +01:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
David Renty
cb3eb9c6d8 Added support for inverted intervals (future time) and unit tests 2014-03-14 18:29:23 +01:00
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Qiang Xue
fad635440b Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions. 2014-03-07 19:08:27 -05:00
Qiang Xue
e38c4225b2 Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
Conflicts:
	framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
Alexander Makarov
fc4098b89a Code style 2014-03-04 00:56:27 +04:00
Qiang Xue
f22d409e8b test break fix. 2014-03-02 00:34:33 -05:00
Florian Fackler
6e1ec30906 Added missing Object.php unit tests for 100% code coverage 2014-02-08 21:42:27 +01:00
Florian Fackler
c600572f34 The missing Component.php tests 2014-02-08 21:11:03 +01:00
Qiang Xue
c829dd6b47 added more tests. 2014-01-27 17:24:48 -05:00
Qiang Xue
18d7224ac8 Fixes #2149: Added yii\base\DynamicModel to support ad-hoc data validation 2014-01-27 16:13:25 -05:00
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
Qiang Xue
039ed688cf Fixes #1301: fixed scenario generation when there are "except" scenarios. 2013-11-24 10:23:22 -05:00
Qiang Xue
1c24b3e0d8 removed TestCase and WebTestCase. 2013-11-16 21:30:20 -05:00
Qiang Xue
8b00693a0a Fixes #1025: Implemented support for class-level events. 2013-10-30 00:12:48 -04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Jin Hu
5d7c37bd7e Incorrect array representation when has previous 2013-09-29 23:27:14 +08:00
Carsten Brandt
df6176edb6 added unit test for Model::load() 2013-09-18 23:43:46 +02:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Qiang Xue
91b6e2945a Removed the support for calling anonymous function returned as a property value. 2013-09-12 20:10:06 -04:00
Carsten Brandt
15a3ec2764 added unit tests and call to $behavior->hasMethod in Component 2013-08-31 23:27:52 +02:00
Alexander Makarov
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
Qiang Xue
60ba20491e Added support for passing parameters to the format method. 2013-08-03 16:51:57 -04:00
Qiang Xue
f2e57b2eec Fixed test breaks. 2013-07-02 22:19:05 -04:00
Qiang Xue
3eccd850fe Added Formatter::nullDisplay. 2013-06-25 11:32:16 -04:00
Alexander Kochetov
9bb0ce4b1c Html helper pure HTML 5 mode without support old standarts 2013-06-19 20:14:40 +04:00
Carsten Brandt
8b6447876a refactored numberformatting in base\Formatter
added decimalSeparator and thousandSeparator properties.
issue #48
2013-05-29 02:19:08 +02:00
Qiang Xue
9a97037012 Finished Formatter. 2013-05-28 18:55:26 -04:00
Qiang Xue
000fdc3de0 formatter WIP. 2013-05-28 17:27:37 -04:00
Qiang Xue
0005b07d29 Removed Vector and Dictionary. 2013-05-15 20:27:41 -04:00
Carsten Brandt
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02:00
resurtm
ea68bd3a55 CS fixes. 2013-05-11 15:58:27 +06:00
resurtm
5575f53657 CS fixes. 2013-05-11 15:38:07 +06:00
Zander Baldwin
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Alexander Makarov
173706f516 updated expected exception message 2013-04-23 14:11:40 +04:00
Qiang Xue
a421f9f1ab refactored component event. 2013-04-05 19:29:10 -04:00
Alexander Makarov
9923888637 More Model tests 2013-03-29 03:22:50 +04:00
Alexander Makarov
a72d2f536a Some tests for Model 2013-03-29 02:50:36 +04:00
Qiang Xue
1fbf81be57 User WIP. 2013-03-28 17:43:27 -04:00
Qiang Xue
c03a3ff858 Finishes flash feature. 2013-03-27 11:39:05 -04:00
Qiang Xue
f68bed0ccb fixed exception. 2013-03-03 10:19:22 -05:00
Alexander Makarov
aa3d92f715 more tests for Vector 2013-02-25 02:54:31 +04:00
Alexander Makarov
79859238b4 more tests for Dictionary 2013-02-25 02:44:40 +04:00
Alexander Makarov
411a1b84d5 more tests for Object 2013-02-25 02:40:40 +04:00
Alexander Makarov
4c7bd953a1 added test for calling unknown method of Component 2013-02-25 02:32:59 +04:00