Commit Graph

1817 Commits

Author SHA1 Message Date
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
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
Carsten Brandt
124a73a598 make Query reuseable
fixes #1545
2013-12-17 15:51:27 +01:00
Carsten Brandt
b59b77cd4f added timeZone property to i18n formatter
fixed #1021
2013-12-17 13:45:16 +01:00
Carsten Brandt
2febbebb44 fixed params in Query to allow execution twice
fixes #1545
2013-12-17 13:19:54 +01:00
Carsten Brandt
ed7b7db8b9 LinkSorter did not use Html options
fixes #1556
2013-12-17 03:47:15 +01:00
Qiang Xue
a911e2501b Fixes #1514: added more doc. 2013-12-16 21:09:03 -05:00
Qiang Xue
0d38d6131e doc fix. 2013-12-16 21:04:42 -05:00
Carsten Brandt
454174a688 added NOT operator for db, elasticsearch, redis
issue #1523
2013-12-17 01:49:10 +01:00
Carsten Brandt
d3a181c674 fixed controllerMap docs in Module
fixes #1541
2013-12-16 11:03:30 +01:00
Alexander Makarov
6ed8d1767c Adjusted logging guide, fixed examples for email target 2013-12-16 10:04:32 +01:00
Qiang Xue
d3a450f5fd doc fix. 2013-12-15 13:55:11 -05:00
Pavel Agalecky
87d7ffafee Added support for aliases for config files in console command 'message' 2013-12-15 00:30:05 +04:00
Vladimir
92b9ae382f Update BaseSecurity.php
prevent call strlen function twice
2013-12-14 22:22:54 +03:00
Alexander Makarov
7488caacc3 fixes #1515 2013-12-14 14:37:10 +01:00
Qiang Xue
35df318e07 Fixes #1500: Log messages exported to files are not separated by newlines 2013-12-13 21:55:34 -05:00
Qiang Xue
35c931ed40 Fixes #1509: The SQL for creating Postgres RBAC tables is incorrect 2013-12-13 21:37:00 -05:00
Qiang Xue
63640db65c Added Widget::autoIdPrefix to support prefixing automatically generated widget IDs 2013-12-13 21:15:43 -05:00
Alexander Makarov
66e5be7f7f Widget IDs are now always unique no matter if it's the same request or new one 2013-12-12 23:45:54 +01:00
Florian Fackler
ff7c25ea7b Fixes #1497 (wrong file rendered if language != sourceLanguage) 2013-12-12 22:55:10 +01:00
Carsten Brandt
85b5c75b61 doc style 2013-12-12 22:01:41 +01:00
Carsten Brandt
033e743f5b Merge pull request #1492 from egorpromo/more-docs-for-event
More docs for /yii/base/Component.php::trigger()
2013-12-12 12:59:57 -08:00