Mark
5c2c79e776
fixed sequence reset
2013-12-27 09:51:27 +04:00
Mark
e23f869c69
added postgresql features to reset seq/check integrity
2013-12-27 09:42:51 +04:00
Qiang Xue
c8960168c5
Fixes #1634 : Use masked CSRF tokens to prevent BREACH exploits
2013-12-26 17:51:14 -05:00
Qiang Xue
2686403c0e
Use better random CSRF token.
2013-12-26 16:19:09 -05:00
Antonio Ramirez
26330b9381
removed ascii method and use the new TransliteratorHelper::process at its place
2013-12-26 20:56:52 +01:00
Antonio Ramirez
fc9fb80c21
added TransliteratorHelper class
2013-12-26 20:56:11 +01:00
Qiang Xue
7eccd9d926
Fixes #1641 : Added BaseActiveRecord::updateAttributes()
2013-12-26 12:31:13 -05:00
Qiang Xue
68cb074c6a
Fixed #1504 : Debug toolbar isn't loaded successfully in some environments when xdebug is enabled
2013-12-26 10:55:36 -05:00
Qiang Xue
f77e3b4bba
Fixes #1611 : Added BaseActiveRecord::markAttributeDirty()
2013-12-26 09:46:02 -05:00
Qiang Xue
2d3ac6b4e2
Fixes #1638 : prevent table names from being enclosed within curly brackets twice.
2013-12-26 09:29:46 -05:00
Qiang Xue
da78b6e16e
doc fix.
2013-12-26 00:29:03 -05:00
Qiang Xue
1689a9ef9a
Changed the signature of urlCreator and button creators for yii\gridview\ActionColumn
2013-12-26 00:24:11 -05:00
Qiang Xue
abdfe30cac
parameter adjustment.
2013-12-25 23:37:24 -05:00
Qiang Xue
bae5cda5b9
The signature for yii\gridview\ActionColumn::urlCreator is changed - the $action parameter is moved to the first
2013-12-25 23:36:28 -05:00
Qiang Xue
ab05f0d791
Fixed the signature of Schema::findUniqueIndexes().
2013-12-25 20:30:50 -05:00
Carsten Brandt
795c74100d
reverted #1598 and added a test for it
2013-12-26 01:18:55 +01:00
Luciano Baraglia
166f8aa582
Fix wrong array index in unique indexes for MySql
2013-12-25 20:25:29 -03:00
Luciano Baraglia
89f0bfe100
Making accesors public
2013-12-25 18:27:54 -03:00
Luciano Baraglia
d376da57e4
Get DB unique indexes information
2013-12-25 18:08:50 -03:00
Qiang Xue
dba7c02a2c
Fixes #1610 : Html::activeCheckboxList() and Html::activeRadioList() will submit an empty string if no checkbox/radio is selected
2013-12-25 11:55:47 -05:00
Qiang Xue
0345191245
Added ActiveQuery::innerJoinWith().
2013-12-24 21:27:13 -05:00
Qiang Xue
dc720d9bf4
more docs about joinwith()
2013-12-24 09:29:05 -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
d50fd7067b
Merge pull request #1603 from edin/master
...
Fixed sequence id match for postgresql
2013-12-23 17:33:26 -08:00
Edin
5e092ac619
Fixed sequence id match for postgresql
...
PgAdmin generates sequence as '"Schema"."Table_seq"'::regclass when
non public schema is used.
2013-12-24 02:01:54 +01:00
Qiang Xue
5fc275e935
Fixes #1499 : Added ActionColumn::controller property to support customizing the controller for handling GridView actions
2013-12-23 16:36:21 -05:00
Qiang Xue
56c361bb9e
Fixed changelog.
2013-12-23 14:55:41 -05:00
Qiang Xue
55deceb061
Fixes #1076
2013-12-23 08:47:30 -05:00
Vincent
488918d03c
Refinement in comments
...
I checked this using XDebug, and the function actually returns null (which is something different than false). I assume it is the comment that should be changed, and not the code itself...
2013-12-23 12:00:12 +01:00
Qiang Xue
69cb09dbf3
doc fix.
2013-12-22 22:49: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
Alexander Makarov
be5afe7da8
Fixes #1572 : Added yii\web\Controller::createAbsoluteUrl()
2013-12-22 22:06:11 +01:00
Alexander Makarov
a7cf6a984c
Fixes #1597 : Added enableAutoLogin to basic and advanced application templates so "remember me" now works properly
2013-12-22 20:16:06 +01:00
Qiang Xue
252b6c9ef1
Fixes #797 : Added support for validating multiple columns by UniqueValidator and ExistValidator
2013-12-22 11:30:59 -05:00
futbolim
2eee7b3f1b
Update ActiveField.php
...
doc fixes
2013-12-22 17:36:40 +02:00
Qiang Xue
d620f3152e
refactored BaseActiveRecord::isPrimaryKey()
2013-12-22 10:19:49 -05:00
Qiang Xue
d5f40b42cf
Added ActiveRecordInterface::getOldPrimaryKey().
2013-12-22 10:02:00 -05:00
Qiang Xue
a08de95177
Fixes #1582 : Error messages shown via client-side validation should not be double encoded
2013-12-22 01:27:03 -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
Qiang Xue
0ff8518c21
Fixes #1550 : fixed the issue that JUI input widgets did not property input IDs.
2013-12-21 17:07:31 -05:00
Qiang Xue
a126419e9e
Fixes #1591 : StringValidator is accessing undefined property
2013-12-21 15:37:49 -05:00
Jacob Morrison
226c9f22d0
Fixed issue with tabular input in ActiveField::radio and checkbox
2013-12-18 08:56:19 -08: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
37e22e577e
Paginiation and Sort can now create absolute URLs
2013-12-18 16:33:20 +01:00
Qiang Xue
157b1ffd32
Merge pull request #1568 from cebe/jsonserializable
...
Json::encode did not handle JsonSerializable objects
2013-12-18 05:34:51 -08:00
Carsten Brandt
060775b0da
Json::encode did not handle JsonSerializable objects
2013-12-18 14:31:43 +01:00
Paul Kofmann
8c4412be50
short array syntax
2013-12-18 14:05:00 +01:00
Carsten Brandt
7a81110f6b
make ActiveRelation reusable
...
fixes #1560
2013-12-17 17:01:01 +01:00
Carsten Brandt
b2d9166927
refactored scalar query functions to share common code
2013-12-17 16:14:27 +01:00