Commit Graph

1653 Commits

Author SHA1 Message Date
Qiang Xue
30907b6134 Fixes #826: cleaned up User::getReturnUrl(). 2013-09-13 20:54:16 -04:00
Qiang Xue
6c6cb3cd90 Fixes #853: Added composite FK support for SQLite. 2013-09-13 20:41:40 -04:00
Qiang Xue
02fd82c42a Fixed build break. 2013-09-13 20:19:50 -04:00
Qiang Xue
6fe152da7e Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords. 2013-09-13 20:13:46 -04:00
Carsten Brandt
6015312548 code style 2013-09-13 17:55:01 +02:00
Carsten Brandt
0bf2daddd5 changed querybuilder typemap to lower case 2013-09-13 17:49:29 +02:00
Carsten Brandt
3e5491e089 changed cubrid table and column name quoting
` is a MySQL thing supported by cubrid. " is more common.
2013-09-13 17:45:55 +02:00
Alexander Makarov
4e2db366fc Merge pull request #866 from bwoester/more-request-method-checks
More request method checks
2013-09-13 04:31:29 -07:00
Qiang Xue
91b6e2945a Removed the support for calling anonymous function returned as a property value. 2013-09-12 20:10:06 -04:00
Alexander Makarov
a2b946e4d3 Zend Data Cache returns null when record doesn't exist (reverted from commit 590121c4ff) 2013-09-13 00:49:13 +04:00
Qiang Xue
84dd19d76f Fixed the issue that Object/Component doesn't support using anonymous function as normal property values. 2013-09-11 13:42:34 -04:00
Qiang Xue
c6f4dac249 Refactored AR code. 2013-09-11 13:41:47 -04:00
Benjamin Wöster
64d57b397a add checks for HEAD request 2013-09-10 14:33:50 +02:00
Benjamin Wöster
d02e7d4004 add checks for GET and OPTIONS requests 2013-09-10 14:27:22 +02:00
Qiang Xue
7303bae382 Fixed foreign key generation bug for pgsql. 2013-09-10 08:24:14 -04:00
Qiang Xue
2e01c06a4b Fixes #865. 2013-09-10 08:15:46 -04:00
Alexander Makarov
590121c4ff Zend Data Cache returns null when record doesn't exist 2013-09-10 14:42:53 +04:00
Qiang Xue
4cbdd7a6dd crud WIP 2013-09-09 23:36:44 -04:00
Qiang Xue
db212f0586 Added $label parameter to ActiveField::label(). 2013-09-09 22:49:01 -04:00
Qiang Xue
e9a5b92dd9 Added StringHelper::dirname() 2013-09-09 21:59:50 -04:00
Qiang Xue
347e79a467 Fixes #863: adjusted horizontal form layout 2013-09-09 21:27:58 -04:00
Qiang Xue
791905e8bb Reverted previous change as it breaks layout. 2013-09-09 08:44:40 -04:00
Qiang Xue
ea561ed3e0 Fixes #861. 2013-09-09 07:05:35 -04:00
Qiang Xue
b6f07859c1 Added support for getting all tables for pgsql. 2013-09-08 08:47:52 -04:00
Qiang Xue
e683bd3ddb CRUD WIP 2013-09-08 08:05:49 -04:00
Qiang Xue
4edd842558 Added LinkSorter::attributes. 2013-09-07 23:43:47 -04:00
Qiang Xue
02e3b451be Removed sorter from the default display of ListView. 2013-09-07 23:43:26 -04:00
Qiang Xue
263dbd264d Changed default pagination size to 20. 2013-09-07 23:37:36 -04:00
Qiang Xue
a12f8da1ff Fixed debugger style. 2013-09-07 23:37:15 -04:00
Alexander Makarov
409500000a Validation reference, validators phpdoc fixes 2013-09-08 02:26:35 +04:00
Qiang Xue
a9991d4e91 CRUD WIP 2013-09-07 08:18:41 -04:00
Alexander Makarov
6d25d3aef6 Added info about custom validator method signature to Model::rules phpdoc 2013-09-06 18:44:02 +04:00
Carsten Brandt
8ca17bbfbc Merge pull request #847 from yiisoft/cubrid
[WIP] Cubrid db support
2013-09-06 07:14:41 -07:00
Carsten Brandt
23b858a2cc removed comments 2013-09-06 15:51:30 +02:00
Carsten Brandt
164c70eebc Add support for composite FK to cubrid 2013-09-06 15:32:33 +02:00
Carsten Brandt
8abeed03bd added SchemaTest 2013-09-06 15:03:57 +02:00
Qiang Xue
95c2674609 hint fix. 2013-09-06 08:40:44 -04:00
Qiang Xue
4e1ab6e5a5 Fixes #848: Added hidden field for Html::activeFileInput(). 2013-09-06 08:40:16 -04:00
Carsten Brandt
e996f3dfd5 Workaround for broken PDO::quote() in CUBRID 9.1.0
http://jira.cubrid.org/browse/APIS-658
2013-09-06 13:53:33 +02:00
Carsten Brandt
791f9d3f4e better use int for boolean representation
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
2013-09-06 13:21:35 +02:00
Carsten Brandt
c6ef7ec9d5 moved Command::getPdoType() to Schema
this allows different implementation in different DBMS

CUBRID does not supprt PDO::TYPE_BOOL, so we use STRING here which will
be casted by the DBMS
2013-09-06 11:40:29 +02:00
Qiang Xue
b16bf0691a fixed typo 2013-09-05 23:37:15 -04:00
Qiang Xue
fccd8185b5 Enhanced the default implementation of Model::scenarios() to return all scenarios found in rules(). 2013-09-05 22:39:40 -04:00
Carsten Brandt
2387d00341 CUBRID added exception about wrong implementation of quoteValue 2013-09-05 18:22:24 +02:00
Carsten Brandt
57a91c842a CUBRID Query builder 2013-09-05 17:30:18 +02:00
Carsten Brandt
f4fb2d94ef finalizing cubrid Schema 2013-09-05 17:29:47 +02:00
Carsten Brandt
be67559fe1 added CUBIRD DB Schema class 2013-09-05 16:49:11 +02:00
Carsten Brandt
42a9d13bc6 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  doc fix.
2013-09-05 16:47:34 +02:00
Carsten Brandt
267f2d7849 fixed docs in db Schema classes 2013-09-05 16:47:05 +02:00
Qiang Xue
326e98a41c doc fix. 2013-09-05 08:31:04 -04:00