1823 Commits

Author SHA1 Message Date
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
ab05f0d791 Fixed the signature of Schema::findUniqueIndexes(). 2013-12-25 20:30:50 -05:00
795c74100d reverted #1598 and added a test for it 2013-12-26 01:18:55 +01:00
166f8aa582 Fix wrong array index in unique indexes for MySql 2013-12-25 20:25:29 -03:00
89f0bfe100 Making accesors public 2013-12-25 18:27:54 -03:00
d376da57e4 Get DB unique indexes information 2013-12-25 18:08:50 -03:00
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
0345191245 Added ActiveQuery::innerJoinWith(). 2013-12-24 21:27:13 -05:00
dc720d9bf4 more docs about joinwith() 2013-12-24 09:29:05 -05: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
d50fd7067b Merge pull request #1603 from edin/master
Fixed sequence id match for postgresql
2013-12-23 17:33:26 -08:00
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
5fc275e935 Fixes #1499: Added ActionColumn::controller property to support customizing the controller for handling GridView actions 2013-12-23 16:36:21 -05:00
56c361bb9e Fixed changelog. 2013-12-23 14:55:41 -05:00
55deceb061 Fixes #1076 2013-12-23 08:47:30 -05:00
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
69cb09dbf3 doc fix. 2013-12-22 22:49:44 -05: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
be5afe7da8 Fixes #1572: Added yii\web\Controller::createAbsoluteUrl() 2013-12-22 22:06:11 +01:00
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -05:00
2eee7b3f1b Update ActiveField.php
doc fixes
2013-12-22 17:36:40 +02:00
d620f3152e refactored BaseActiveRecord::isPrimaryKey() 2013-12-22 10:19:49 -05:00
d5f40b42cf Added ActiveRecordInterface::getOldPrimaryKey(). 2013-12-22 10:02:00 -05:00
a08de95177 Fixes #1582: Error messages shown via client-side validation should not be double encoded 2013-12-22 01:27:03 -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
0ff8518c21 Fixes #1550: fixed the issue that JUI input widgets did not property input IDs. 2013-12-21 17:07:31 -05:00
a126419e9e Fixes #1591: StringValidator is accessing undefined property 2013-12-21 15:37:49 -05:00
226c9f22d0 Fixed issue with tabular input in ActiveField::radio and checkbox 2013-12-18 08:56:19 -08: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
37e22e577e Paginiation and Sort can now create absolute URLs 2013-12-18 16:33:20 +01:00
157b1ffd32 Merge pull request #1568 from cebe/jsonserializable
Json::encode did not handle JsonSerializable objects
2013-12-18 05:34:51 -08:00
060775b0da Json::encode did not handle JsonSerializable objects 2013-12-18 14:31:43 +01:00
8c4412be50 short array syntax 2013-12-18 14:05:00 +01:00
7a81110f6b make ActiveRelation reusable
fixes #1560
2013-12-17 17:01:01 +01:00
b2d9166927 refactored scalar query functions to share common code 2013-12-17 16:14:27 +01:00
124a73a598 make Query reuseable
fixes #1545
2013-12-17 15:51:27 +01:00
b59b77cd4f added timeZone property to i18n formatter
fixed #1021
2013-12-17 13:45:16 +01:00
2febbebb44 fixed params in Query to allow execution twice
fixes #1545
2013-12-17 13:19:54 +01:00
ed7b7db8b9 LinkSorter did not use Html options
fixes #1556
2013-12-17 03:47:15 +01:00
a911e2501b Fixes #1514: added more doc. 2013-12-16 21:09:03 -05:00
0d38d6131e doc fix. 2013-12-16 21:04:42 -05:00
454174a688 added NOT operator for db, elasticsearch, redis
issue #1523
2013-12-17 01:49:10 +01:00
d3a181c674 fixed controllerMap docs in Module
fixes #1541
2013-12-16 11:03:30 +01:00
6ed8d1767c Adjusted logging guide, fixed examples for email target 2013-12-16 10:04:32 +01:00
d3a450f5fd doc fix. 2013-12-15 13:55:11 -05:00
87d7ffafee Added support for aliases for config files in console command 'message' 2013-12-15 00:30:05 +04:00
92b9ae382f Update BaseSecurity.php
prevent call strlen function twice
2013-12-14 22:22:54 +03:00
7488caacc3 fixes #1515 2013-12-14 14:37:10 +01:00
35df318e07 Fixes #1500: Log messages exported to files are not separated by newlines 2013-12-13 21:55:34 -05:00