Commit Graph

4221 Commits

Author SHA1 Message Date
Panagiotis Moustafellos
f38c516ac5 Added memcached service in Travis YAML 2013-09-17 20:20:18 +03:00
Alexander Makarov
240b42aa0c fixed typo 2013-09-17 20:48:20 +04:00
Carsten Brandt
43d15155c6 cleanup db use statements 2013-09-17 10:01:01 +02:00
Qiang Xue
dd59dd1db7 doc fix. 2013-09-16 22:13:32 -04:00
Alexander Makarov
bc9a6f3e16 Better strtr arguments format 2013-09-16 23:20:17 +04:00
Qiang Xue
ad479dd7f6 Modified js registration position. 2013-09-15 18:57:11 -04:00
Qiang Xue
51c29e444d renamed Request::csrfTokenName to csrfVar.
added version, csrfVar and csrfToken to yii js module.
2013-09-15 18:54:26 -04:00
Alexander Makarov
f5778b6bf0 Advanced application enhancements.
- Turned on CSRF validation by default.
- Added access control for login, signup and logout for frontend application.
- Added access control for login, logout and index for backend application.
- YII_ENV is now defined for all applications.
- No trace is writted to logs if debug is turned off.
- Added default error view for frontend and backend.
- In frontend application captcha will always ask for "testme" if YII_ENV is defined as "test".
2013-09-16 02:46:29 +04:00
Alexander Makarov
325f83f66b Basic application enhancements.
- Turned on CSRF validation by default.
- Application params are now readed before config is defined to be able to use values from params when configuring.
- Added access control for login and logout.
2013-09-16 02:41:19 +04:00
Alexander Makarov
f34d7064ea Better phpdoc for AccessControl 2013-09-16 02:08:29 +04:00
Alexander Makarov
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
Alexander Makarov
0284bc4a45 Fixes #875: Security::generateRandomKey() can now be safely used in URLs 2013-09-15 16:34:19 +04:00
Alexander Makarov
4a9efc9e75 Corrected schema used for MySQL 2013-09-15 15:18:38 +04:00
Alexander Makarov
523a63f576 Added TYPE_BIGPK to Schema 2013-09-15 15:08:43 +04:00
Qiang Xue
a2b4ef0f82 Fixes #876. 2013-09-14 08:35:37 -04:00
Carsten Brandt
0a5b1a935e simplified memcache installation on travis 2013-09-14 12:57:45 +02:00
Carsten Brandt
a1af321d38 fixed typo in apc install script 2013-09-14 12:56:10 +02:00
Carsten Brandt
34ebe65cf5 added apc,redis and memcache(d) to travis 2013-09-14 12:50:16 +02:00
Carsten Brandt
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
Carsten Brandt
41bd9ab7a8 added memcache and apc to travis 2013-09-14 12:23:06 +02:00
Carsten Brandt
f6f2522ad6 added travis README from yii 1.1 2013-09-14 12:12:20 +02:00
Carsten Brandt
69a38d1895 added cubrid_pdo to travis 2013-09-14 12:07:04 +02:00
Carsten Brandt
281e602850 added pecl install pdo_cubrid to travis.yml 2013-09-14 11:53:46 +02:00
Carsten Brandt
1179cb2a1c made travis phpunit verbose to see why cubrid tests are skipped 2013-09-14 11:41:23 +02:00
Carsten Brandt
eb5bf2dabe added cubrid dbms to travis-ci
copied from
056e734ce3/.travis.yml
2013-09-14 11:33:07 +02:00
Carsten Brandt
d3740932a4 fixed broken cubrid tests
fixed expected quoting
2013-09-14 11:12:48 +02:00
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
Larry Ullman
b05442d368 Doing that editing thing 2013-09-13 11:23:56 -04: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
887a9aa66a Merge pull request #868 from ninbopa/doc
Update single row query function
2013-09-11 11:51:31 -07:00
ninbopa
62f5b47f1d Update single row query function 2013-09-11 20:59:25 +03: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