Carsten Brandt
bc4324c041
Merge branch 'master' into redis
...
* master: (613 commits)
fixed typo
Fixes #1222 : refactored jui/Widget, intorduced jui/Slider and jui/SliderInput
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
Added example for dividers to bootstrap Nav
Checkboxlist documentation fix
Added "Using controller action to render errors"
Fix doc
Renamed DetailView attribute type to format
encode email in Formatter
Added default status code setting.
"yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins.
fix rbac select statement
Comments cleanup.
Reverted closeButton
Nomenclature and code realignment.
better nginx config
guide about using bootstrap less files
Include Schema in new migrations by default
...
Conflicts:
framework/yii/db/ActiveRecord.php
framework/yii/db/ActiveRelation.php
tests/unit/data/config.php
2013-11-22 15:04:08 +01:00
Carsten Brandt
45d92f1cef
refactored emailvalidator test
2013-11-20 16:50:29 +01:00
Carsten Brandt
7b5b93efd2
fixed email validator test break
2013-11-20 16:46:04 +01:00
Carsten Brandt
8dab87be3d
fixed EmailValidator IDN and full pattern support
...
also made everything conistent with client validation
2013-11-20 16:18:19 +01:00
Qiang Xue
d2e5f2c507
Fixes #1234 : use dash instead of underscore to separate language and country in locale id.
2013-11-19 16:33:52 -05:00
Qiang Xue
53457a0a3f
Simplified ArrayHelper::multisort().
2013-11-19 14:10:00 -05:00
Qiang Xue
9efe446545
Fixes #1236 : removed Sort::ASC and DESC
2013-11-19 10:20:07 -05:00
Carsten Brandt
09a3300b7c
refactored redis cache, added mset()
2013-11-17 21:09:13 +01:00
Qiang Xue
1c24b3e0d8
removed TestCase and WebTestCase.
2013-11-16 21:30:20 -05:00
Alexander Makarov
979e8d1619
Replaced assertTrue(file_exists with assertFileExists in FileHelperTest
2013-11-17 04:19:57 +04:00
Alexander Makarov
1a7a15a3ef
Implemented mset, madd for cache. Added tests.
2013-11-17 04:00:43 +04:00
Alexander Makarov
5fc51f1ad9
Merge pull request #1094 from pmoust/cache-mset
...
[WIP] Caching: mset() method to store multiple items.
2013-11-16 14:24:17 -08:00
Carsten Brandt
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
2013-11-16 16:53:50 +01:00
Qiang Xue
ffded7a1b5
array syntax fix.
2013-11-15 10:15:25 -05:00
Qiang Xue
b44921126b
Merge pull request #1097 from yiisoft/db-traits
...
Db traits
2013-11-14 05:27:00 -08:00
Carsten Brandt
9448c3d471
added unit tests for active dataprovider and fixed query tests
2013-11-13 19:35:44 +01:00
slavcodev
9bf7f791b8
Fix test
2013-11-12 17:53:24 +02:00
slavcodev
35681c618b
Fix test
2013-11-12 17:24:35 +02:00
slavcodev
b0b1c27c85
Fix phpDoc var tag format
2013-11-12 06:21:04 +02:00
Qiang Xue
b965d4eec7
Implemented file transport for mails.
2013-11-09 22:24:27 -05:00
Qiang Xue
9763086842
Fixed test break
2013-11-07 22:57:49 -05:00
Qiang Xue
f7f76a3e62
Fixed test break.
2013-11-07 22:43:47 -05:00
Qiang Xue
90a5bcc611
Refactored mail.
2013-11-07 22:33:57 -05:00
Paul Klimov
f77a047273
Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2
2013-11-07 17:16:40 +02:00
Paul Klimov
104cfd7cb2
'yii\mail\MessageInterface' methods renamed: 'text' to 'textBody', 'html' to 'htmlBody'
2013-11-07 12:22:24 +02:00
Paul Klimov
1aafa73e15
Render methods removed from 'yii\mail\MessageInterface'.
...
Method 'yii\mail\MailerInterface::compose()' reworked allowing rendering message body.
2013-11-07 12:18:07 +02:00
Alexander Makarov
a65734abc3
Merge pull request #1152 from yiisoft/view-refactoring
...
Refactored View
2013-11-06 12:45:45 -08:00
Carsten Brandt
0ea05a6460
added unit tests for logger and log target
...
related to #1151
2013-11-06 20:26:49 +01:00
Alexander Makarov
927e9dddb4
Refactored View
2013-11-06 22:52:27 +04:00
Paul Klimov
ad7761f96a
Method 'yii\mail\MessageInterface::compose()' renamed to 'yii\mail\MessageInterface::message()'.
2013-11-06 13:27:07 +02:00
Paul Klimov
3d1a625cbb
'yii\mail\MessageInterface' updated:
...
- 'body()' renamed to 'renderBody()'
- new 'body()' method introduced
2013-11-06 12:48:44 +02:00
Paul Klimov
b0c5981d42
Method names "yii\mail\MessageInterface" simplified.
2013-11-06 12:28:39 +02:00
Klimov Paul
28b032737d
Method 'yii\mail\BaseMailer::compose()' updated, allowing composition of the complex methods like 'renderText' and 'body'.
2013-11-05 16:09:24 +02:00
Klimov Paul
45d02d07a0
Method 'yii\mail\MessageInterface::body()' added.
2013-11-05 15:45:27 +02:00
Klimov Paul
87af95f712
'yii\mail\MessageInterface' updated:
...
- setter methods renamed to have pure name
- method 'createMessage' renamed to 'compose'
2013-11-05 14:57:13 +02:00
Carsten Brandt
58589e03bd
improved asset converter command running
...
now also gets stderr output.
fixes #1140
2013-11-05 12:25:29 +01:00
Carsten Brandt
a0b0d42b46
fixed message formatting for all the ICU versions
...
- refactored replaceNamedArguments.
- ensure gridview message works on all systems.
fixes #1072
2013-11-04 15:05:38 +01:00
Klimov Paul
ef6fea9610
Unit test 'BaseMessageTest' created
2013-11-04 13:24:22 +02:00
Paul Klimov
368c244768
MessageInterface::render() replaced by MessageInterface::renderHtml() and MessageInterface::renderText()
2013-11-04 11:52:33 +02:00
Qiang Xue
9862ee35b2
Fixes #1115 : fixed the issue with PDO boolean value binding with pgsql
2013-11-03 18:51:16 -05:00
Carsten Brandt
433958b40c
removed sqlite specific test as it is the same as base AR test now
2013-11-03 15:50:11 +01:00
Qiang Xue
26c7f6d62f
Fixed sqlite column type detection bug.
2013-11-03 09:02:17 -05:00
Carsten Brandt
c8c377e698
skip test on postgres
2013-11-01 18:10:57 +01:00
Carsten Brandt
ee1689da03
some more on active record unit tests and sqlite
...
sqlite does not seem to allow using boolean values in select query
2013-11-01 17:57:28 +01:00
Carsten Brandt
937a55f4fa
fixed unit test for sqlite
2013-11-01 17:39:49 +01:00
Carsten Brandt
f153ce443a
reverted non working fix for #1115
2013-11-01 17:20:19 +01:00
Carsten Brandt
e5a1244e0f
moved unit test from cubrid to general
...
should be tested for all dbms not only cubrid even if the problem may
not exist in all of them it is good to verify that.
2013-11-01 16:46:41 +01:00
Qiang Xue
8b00693a0a
Fixes #1025 : Implemented support for class-level events.
2013-10-30 00:12:48 -04:00
Carsten Brandt
34945b0b69
added unit test to verify storing of null values
...
http://www.yiiframework.com/forum/index.php/topic/48359-inserting-nulls/page__view__findpost__p__226019
2013-10-29 18:27:20 +01:00
Paul Klimov
4c27d887ca
Merge branch 'master' of github.com:yiisoft/yii2 into email-swift-2
2013-10-29 16:12:17 +02:00