1696 Commits

Author SHA1 Message Date
b7948e4840 Removed unnecessary lines 2013-09-26 23:35:02 +08:00
d9b256d734 Fixed pagination not working before data loaded 2013-09-26 20:29:59 +08:00
220db270cf Improved crud generator. 2013-09-25 21:20:58 -04:00
7d2d925dbe Added SerialColumn to crud generated code. 2013-09-24 21:50:08 -04:00
cd969509e6 Added ActionColumn.
crud generator WIP.
2013-09-24 21:46:31 -04:00
e19d0dacf9 Fixes #823: consistent interface naming 2013-09-24 15:45:09 +04:00
76154b9776 Fixes #901: Added $delete parameter to Session::getFlash(). 2013-09-23 20:38:54 -04:00
43d392d8d2 porting the fix from https://github.com/yiisoft/yii/pull/2894 2013-09-23 07:18:42 -04:00
f415193cdc Fixes #898: supported different signature of MemCache::addServer(). 2013-09-22 17:02:46 -04:00
93d5f5a3ec Fixes #897. 2013-09-22 13:01:27 -04:00
df091b15a8 Merge pull request #895 from iJackUA/patch-1
Fix parenthesis typo in CRUD index template
2013-09-21 17:28:00 -07:00
f4cbadb37b Merge pull request #896 from wicaksono/development
Use str_replace() rather than implode-explode
2013-09-21 17:27:02 -07:00
2765bcccf8 Use str_replace() rather than implode-explode 2013-09-22 00:49:12 +07:00
73cdbb37c0 Fix parenthesis typo in CRUD index template
it was causing blocking PHP error
2013-09-21 17:20:40 +03:00
ae39324e54 Support ajax redirection. 2013-09-20 16:21:18 -04:00
3acca93ad3 Enable CSRF validation by default. 2013-09-20 15:04:28 -04:00
41f7a7d243 Supports more elements to use data-confirm and data-method attributes. 2013-09-20 14:57:41 -04:00
1aeb86df78 refactored Request::validateCsrfToken(). 2013-09-19 08:24:06 -04:00
4f555a5751 Fixed CSRF validation bug. 2013-09-19 08:17:07 -04:00
f9b957554f Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions. 2013-09-18 23:24:11 -04:00
0fc423c74a Added support for data-method and data-confirm. 2013-09-18 23:11:55 -04:00
1f8ab8106d updated classmap 2013-09-19 00:21:12 +02:00
b8ffee6559 moved CacheSession::init() parent call after init of cache component
session autostart would fail otherwise.
fixes #887
2013-09-18 22:38:53 +02:00
c2a3aa3d99 Fixes #885: removed NULLs from filtering by models. 2013-09-18 16:18:47 -04:00
ef13a11f66 moved getPDOType() back to Command to avoid dependency on Schema
fixes #854
2013-09-18 16:29:16 +02:00
cc09ef56b9 updated @property annotations of web\Request 2013-09-18 16:03:06 +02:00
0e261fba5a moved redis out of yii\db namespace 2013-09-18 16:03:06 +02:00
9836b28ed3 Fixes #884. 2013-09-18 00:35:31 -04:00
2deff126cf Supports sending CSRF token via HTTP header. 2013-09-17 21:43:03 -04:00
2db91187db Use .prop() instead .attr(). 2013-09-17 21:02:48 -04:00
1aa836ffc7 use meta tags to pass CSRF token. 2013-09-17 21:00:19 -04:00
240b42aa0c fixed typo 2013-09-17 20:48:20 +04:00
43d15155c6 cleanup db use statements 2013-09-17 10:01:01 +02:00
dd59dd1db7 doc fix. 2013-09-16 22:13:32 -04:00
bc9a6f3e16 Better strtr arguments format 2013-09-16 23:20:17 +04:00
ad479dd7f6 Modified js registration position. 2013-09-15 18:57:11 -04:00
51c29e444d renamed Request::csrfTokenName to csrfVar.
added version, csrfVar and csrfToken to yii js module.
2013-09-15 18:54:26 -04:00
f34d7064ea Better phpdoc for AccessControl 2013-09-16 02:08:29 +04:00
a8d21805f5 Security::generateRandomKey enhancements:
- Equals sign is now replaced with dot.
- Slash is now replaced with dash.
- Better phpdoc.
2013-09-16 01:49:54 +04:00
0284bc4a45 Fixes #875: Security::generateRandomKey() can now be safely used in URLs 2013-09-15 16:34:19 +04:00
4a9efc9e75 Corrected schema used for MySQL 2013-09-15 15:18:38 +04:00
523a63f576 Added TYPE_BIGPK to Schema 2013-09-15 15:08:43 +04:00
a2b4ef0f82 Fixes #876. 2013-09-14 08:35:37 -04:00
30907b6134 Fixes #826: cleaned up User::getReturnUrl(). 2013-09-13 20:54:16 -04:00
6c6cb3cd90 Fixes #853: Added composite FK support for SQLite. 2013-09-13 20:41:40 -04:00
02fd82c42a Fixed build break. 2013-09-13 20:19:50 -04:00
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
6015312548 code style 2013-09-13 17:55:01 +02:00
0bf2daddd5 changed querybuilder typemap to lower case 2013-09-13 17:49:29 +02:00
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