788 Commits

Author SHA1 Message Date
31fece562e fixed test break 2014-01-10 15:39:06 +01:00
5dca1257b2 reverted primaryKey of elasticsearch to be array again
meet the AR interface requirements.
2014-01-09 13:44:12 +01:00
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
2df7d0a8bd Merge branch '46-image-helper' of github.com:tonydspaniard/yii2 into tonydspaniard-46-image-helper
Conflicts:
	composer.json
2013-12-31 15:33:46 -05:00
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
32ea48c7ba Actualize phpunit usage approach 2013-12-30 22:34:24 +04:00
0b28f290f3 Fixes #1704: Incorrect regexp is used in Inflector::camelize() 2013-12-30 10:07:44 -05:00
1361bd3c7f Merge pull request #1683 from Ragazzo/mail_event
Mail events before/after
2013-12-30 06:57:22 -08:00
9c4689d8fb Merge branch 'upstream' into 46-image-helper
* upstream: (35 commits)
  Fixes #1691: added “viewport” meta tag to layout views.
  Fixed the issue that query cache returns the same data for the same SQL but different query methods
  moved section
  subsection added
  typo [skip ci]
  docs about response
  Fixes #1586: `QueryBuilder::buildLikeCondition()` will now escape special characters and use percentage characters by default
  docs improved
  csrf docs added
  Fixes #1685: UrlManager::showScriptName should be set true for tests.
  Fixes #1688: ActiveForm is creating duplicated messages in error summary
  change back the visibility of findTableNames to protected.
  Typo fix.
  Fixes #1681: Added support for automatically adjusting the "for" attribute of label generated by `ActiveField::label()`
  Simplified tests.
  Fixes #1631: Charset is now explicitly set to UTF-8 when serving JSON
  Fixed typo
  added html layout for mail component in basic app
  CS fixes.
  Merge branch 'debug_module_improvements' of github.com:Ragazzo/yii2 into Ragazzo-debug_module_improvements
  ...
2013-12-29 21:51:36 +01:00
53160797df added tests 2013-12-29 21:43:26 +01:00
cbad97c78d change back the visibility of findTableNames to protected. 2013-12-29 09:51:36 -05:00
791d8124ad added test 2013-12-29 06:23:52 +04:00
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
08aaeda397 refactored inflector's slug and improved fallback char map 2013-12-27 18:06:27 +01:00
b7904c46aa remove TransliteratorHelper 2013-12-27 18:04:05 +01:00
3b1602acc8 Added SecurityTest. 2013-12-27 09:12:58 -05:00
fc9fb80c21 added TransliteratorHelper class 2013-12-26 20:56:11 +01:00
7654fff26d Added unit test for ActiveRecord::updateAttributes(). 2013-12-26 12:39:38 -05:00
795c74100d reverted #1598 and added a test for it 2013-12-26 01:18:55 +01:00
8da6f39a86 Merge branch 'master' of github.com:yiisoft/yii2 into authclient 2013-12-25 17:15:04 +02:00
0345191245 Added ActiveQuery::innerJoinWith(). 2013-12-24 21:27:13 -05:00
f0b9e1503d OpenId client 'discover()' method updated to return 'identity' instead of set internal field. 2013-12-24 17:25:35 +02:00
46746cd8a1 OpenId client 'discover()' method refactored. 2013-12-24 16:06:21 +02:00
5a137e6dec OpenId client refactor in progress. 2013-12-24 14:18:49 +02:00
4f44bb2416 Fixes #1581: Added ActiveQuery::joinWith() to support joining with relations 2013-12-24 00:08:49 -05:00
2402d2d031 Draft implementation of ActiveQuery::joinWith(). 2013-12-23 22:26:44 -05:00
7a4c1cd387 Trait "ClientTrait" converted into "BaseClient" class. 2013-12-23 15:31:23 +02:00
ba95e1dd12 Normalization of user attributes added to Auth Client. 2013-12-23 11:12:14 +02:00
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
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -05:00
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
f06b5ab161 Widget "yii\authclient\widgets\Choice" fixed. 2013-12-20 14:04:26 +02:00
21fff9429c Mongo full text search test updated. 2013-12-19 12:21:20 +02:00
702cf513ca make elasticsearch tests only work on yiitext index 2013-12-18 17:31:32 +01:00
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
4d1390ceb1 fixed travis mongodb 2013-12-18 04:33:41 +01:00
de83e4ddd1 Merge branch 'master' of github.com:yiisoft/yii2 into authclient 2013-12-17 17:12:38 +02:00
b59b77cd4f added timeZone property to i18n formatter
fixed #1021
2013-12-17 13:45:16 +01:00
91000e8d8c Merge branch 'master' of github.com:yiisoft/yii2 into authclient 2013-12-16 15:55:44 +02:00
b62b4eae2b Sphinx Active Relation lazy load fixed. 2013-12-16 15:54:32 +02:00
9ea4ef13fe MongoDB Active Relation lazy load fixed. 2013-12-16 15:46:28 +02:00
34f9c924b9 Merge branch 'master' of github.com:yiisoft/yii2 into authclient 2013-12-16 13:56:52 +02:00
776a92502f "yii\authclient" structure refactored. 2013-12-16 13:26:25 +02:00
1ef606da9a "yii\authclient\AuthAction" created. 2013-12-13 16:28:53 +02:00
ff7c25ea7b Fixes #1497 (wrong file rendered if language != sourceLanguage) 2013-12-12 22:55:10 +01:00
691cc14c1c "\yii\authclient\provider\Collection" added. 2013-12-12 12:46:17 +02:00
6171287f79 Classes "\yii\authclient\provider\*" created as draft. 2013-12-11 17:17:35 +02:00
41eaa2df07 Extension "authclient" recomposed. 2013-12-11 13:56:14 +02:00
cdae9b6046 Extension "authclient" added as draft. 2013-12-10 14:49:51 +02:00
0310935e48 fixed test breaks. 2013-12-10 00:12:17 -05:00