Qiang Xue
9aa006e5ea
Removed implementation of Arrayable from yii\Object
2014-01-21 16:44:28 -05:00
Carsten Brandt
4844886431
added schema parameter to createAbsoluteUrl() to force 'http' or 'https'
...
fixes #1585
2014-01-21 19:00:17 +01:00
Paul Klimov
dcf8f450f5
AssetController adjusting URLs at same line has been fixed.
2014-01-21 12:45:56 +02:00
Paul Klimov
1fd7dc66c5
Unit test for AssetController has been fixed.
2014-01-20 16:14:46 +02:00
Qiang Xue
b496a04f49
refactored fixture feature.
2014-01-19 23:17:53 -05:00
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
Alexander Makarov
c978b9c25e
Merge pull request #2057 from creocoder/auto-timestamp-field-renaming
...
AutoTimestamp field renaming
2014-01-19 02:13:10 -08:00
Alexander Kochetov
0ec5643ce3
Unit tests updated
2014-01-19 13:51:56 +04:00
Qiang Xue
87be9deaf0
refactored fixture.
2014-01-18 16:18:33 -05:00
Qiang Xue
12ff86305a
refactored fixture implementation.
2014-01-17 23:35:14 -05:00
Qiang Xue
106e912401
Added tests for Fixture feature.
2014-01-17 16:22:11 -05:00
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
2014-01-16 10:28:58 +01:00
Qiang Xue
a8068dfe5c
fixed test break.
2014-01-11 10:54:43 -05:00
Qiang Xue
442393dac9
removed failing tests.
2014-01-11 10:44:39 -05:00
Qiang Xue
7d08a09620
Fixes #1809 : Added support for building "EXISTS" and "NOT EXISTS" query conditions
2014-01-11 08:35:43 -05:00
Qiang Xue
ab47d58c69
path fixes.
2014-01-10 21:58:50 -05:00
Carsten Brandt
f6530314e2
Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring
...
[WIP] Changed elasticsearch AR primary key handling
2014-01-10 15:56:22 -08:00
Carsten Brandt
31fece562e
fixed test break
2014-01-10 15:39:06 +01:00
Qiang Xue
d9dd7292db
Fixed test break.
2014-01-08 23:21:44 -05:00
Qiang Xue
eb779ff6cb
Fixed test break.
2014-01-08 23:03:38 -05:00
Qiang Xue
b23bade285
fixed test break.
2014-01-08 21:57:24 -05:00
Qiang Xue
35f8823249
fixed test break.
2014-01-08 21:34:20 -05:00
Qiang Xue
c67c929696
Fixed test break.
2014-01-08 21:23:12 -05:00
Qiang Xue
dc01411bea
Fixes #1791
2014-01-07 11:23:35 -05:00
Qiang Xue
c4c328dc92
Fixes #1791 : support ON condition for relational query.
2014-01-06 23:56:58 -05:00
Qiang Xue
795a09c27a
Fixes #1791 : joinWithRelation using table alias.
2014-01-05 17:42:40 -05: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
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
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
Qiang Xue
cbad97c78d
change back the visibility of findTableNames to protected.
2013-12-29 09:51:36 -05:00
Mark
791d8124ad
added test
2013-12-29 06:23:52 +04:00
Antonio Ramirez
6f932d99ae
Merge branch 'upstream' into 364-toAscii
...
* upstream: (21 commits)
Fixes #1643 : Added default value for `Captcha::options`
Fixes #1654 : Fixed the issue that a new message source object is generated for every new message being translated
Allow dash char in ActionColumn’s button names.
Added SecurityTest.
fixed functional test when enablePrettyUrl is false.
fixed composer.json
minor doc fix.
Fixes #1634 : Use masked CSRF tokens to prevent BREACH exploits
Use better random CSRF token.
GII unique indexes avoid autoIncrement columns
updated debug retry params.
Added sleep().
Added unit test for ActiveRecord::updateAttributes().
Fixes #1641 : Added `BaseActiveRecord::updateAttributes()`
Fixed #1504 : Debug toolbar isn't loaded successfully in some environments when xdebug is enabled
Mongo README.md updated.
Fixes #1611 : Added `BaseActiveRecord::markAttributeDirty()`
Number validator was missing
Fixes #1638 : prevent table names from being enclosed within curly brackets twice.
Unique indexes rules for single columns into array
...
2013-12-27 18:07:42 +01:00
Antonio Ramirez
08aaeda397
refactored inflector's slug and improved fallback char map
2013-12-27 18:06:27 +01:00
Antonio Ramirez
b7904c46aa
remove TransliteratorHelper
2013-12-27 18:04:05 +01:00
Qiang Xue
3b1602acc8
Added SecurityTest.
2013-12-27 09:12:58 -05:00
Antonio Ramirez
fc9fb80c21
added TransliteratorHelper class
2013-12-26 20:56:11 +01:00
Qiang Xue
7654fff26d
Added unit test for ActiveRecord::updateAttributes().
2013-12-26 12:39:38 -05:00
Carsten Brandt
795c74100d
reverted #1598 and added a test for it
2013-12-26 01:18:55 +01:00
Qiang Xue
0345191245
Added ActiveQuery::innerJoinWith().
2013-12-24 21:27:13 -05:00
Qiang Xue
4f44bb2416
Fixes #1581 : Added ActiveQuery::joinWith() to support joining with relations
2013-12-24 00:08:49 -05:00
Qiang Xue
2402d2d031
Draft implementation of ActiveQuery::joinWith().
2013-12-23 22:26:44 -05:00
Qiang Xue
9649a6727a
Renamed attributeName and className to targetAttribute and targetClass for UniqueValidator and ExistValidator.
...
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
Qiang Xue
252b6c9ef1
Fixes #797 : Added support for validating multiple columns by UniqueValidator and ExistValidator
2013-12-22 11:30:59 -05:00
Qiang Xue
42d8748e6e
Fixes #1579 : throw exception when the given AR relation name does not match in a case sensitive manner.
...
Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()`
2013-12-21 23:26:35 -05:00
Carsten Brandt
b4612637ec
make count behave like in SQL
...
also fixed count behavior according to limit and offset.
fixes #1458
2013-12-18 17:22:56 +01:00
Carsten Brandt
b59b77cd4f
added timeZone property to i18n formatter
...
fixed #1021
2013-12-17 13:45:16 +01:00
Florian Fackler
ff7c25ea7b
Fixes #1497 (wrong file rendered if language != sourceLanguage)
2013-12-12 22:55:10 +01:00
Carsten Brandt
e2b4708bbd
added support for updateCounters to elasticsearch
...
issue #1313
2013-12-09 14:42:28 +01:00
Qiang Xue
bce353bf3a
fixed test break.
2013-12-06 14:32:59 -05:00