Qiang Xue
f9b957554f
Added Controller::enableCsrfValidation to support turning on/off CSRF validation for particular actions.
2013-09-18 23:24:11 -04:00
Qiang Xue
0fc423c74a
Added support for data-method and data-confirm.
2013-09-18 23:11:55 -04:00
Carsten Brandt
1f8ab8106d
updated classmap
2013-09-19 00:21:12 +02:00
Carsten Brandt
df6176edb6
added unit test for Model::load()
2013-09-18 23:43:46 +02:00
Carsten Brandt
128ee07b78
100% test coverage for CacheSession
2013-09-18 22:54:11 +02:00
Carsten Brandt
bd2404f1c6
added simple unit test for CacheSession
2013-09-18 22:46:43 +02:00
Carsten Brandt
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
Qiang Xue
c2a3aa3d99
Fixes #885 : removed NULLs from filtering by models.
2013-09-18 16:18:47 -04:00
Alexander Makarov
bb6d0f1b47
Merge pull request #888 from sergon/patch-5
...
Update passwordResetToken.php
2013-09-18 11:27:52 -07:00
Alexander Makarov
2426ae5f7d
Merge pull request #889 from sergon/patch-6
...
Update SiteController.php
2013-09-18 11:27:31 -07:00
gsd
41e2c41002
Update SiteController.php
2013-09-18 22:18:12 +06:00
gsd
29394758ba
Update passwordResetToken.php
2013-09-18 22:12:47 +06:00
Carsten Brandt
0510027446
removed viaTable from redis AR
2013-09-18 17:50:42 +02:00
Carsten Brandt
72889128fc
fixed offset and limit in redis AR
2013-09-18 17:49:56 +02:00
Carsten Brandt
563171eba4
moved redis out of yii\db namespace
2013-09-18 17:09:40 +02:00
Carsten Brandt
d8d6d1e368
Merge branch 'master' into redis
...
* master: (156 commits)
added property docs to AR test classes
moved getPDOType() back to Command to avoid dependency on Schema
updated @property annotations of web\Request
moved redis out of yii\db namespace
Fixes #884 .
Supports sending CSRF token via HTTP header.
Use .prop() instead .attr().
use meta tags to pass CSRF token.
Added memcached service in Travis YAML
fixed typo
cleanup db `use` statements
doc fix.
Better strtr arguments format
Modified js registration position.
renamed Request::csrfTokenName to csrfVar. added version, csrfVar and csrfToken to yii js module.
Advanced application enhancements.
Basic application enhancements.
Better phpdoc for AccessControl
Security::generateRandomKey enhancements:
Fixes #875 : Security::generateRandomKey() can now be safely used in URLs
...
Conflicts:
.travis.yml
framework/yii/caching/RedisCache.php
tests/unit/framework/caching/RedisCacheTest.php
2013-09-18 16:37:56 +02:00
Carsten Brandt
3a347c3587
added property docs to AR test classes
2013-09-18 16:30:00 +02:00
Carsten Brandt
ef13a11f66
moved getPDOType() back to Command to avoid dependency on Schema
...
fixes #854
2013-09-18 16:29:16 +02:00
Carsten Brandt
cc09ef56b9
updated @property annotations of web\Request
2013-09-18 16:03:06 +02:00
Carsten Brandt
0e261fba5a
moved redis out of yii\db namespace
2013-09-18 16:03:06 +02:00
Carsten Brandt
9c3a488d75
Merge pull request #883 from pmoust/travis-yaml
...
Added Memcached for Travis
2013-09-18 03:48:06 -07:00
Qiang Xue
9836b28ed3
Fixes #884 .
2013-09-18 00:35:31 -04:00
Qiang Xue
2deff126cf
Supports sending CSRF token via HTTP header.
2013-09-17 21:43:03 -04:00
Qiang Xue
2db91187db
Use .prop() instead .attr().
2013-09-17 21:02:48 -04:00
Qiang Xue
1aa836ffc7
use meta tags to pass CSRF token.
2013-09-17 21:00:19 -04:00
Panagiotis Moustafellos
315af43e84
Merge branch 'hotfix/travis-memcached' into develop
2013-09-17 20:22:38 +03:00
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