48 Commits

Author SHA1 Message Date
2457e24795 Fixes #4071: mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer 2014-06-26 18:28:28 +04:00
df65a0f9de added explicit comment about file transport to mail config
fixes #3694
2014-06-04 17:43:09 +02:00
85a56f548f no need to set writable folders for console 2014-04-24 20:42:53 +02:00
38cea05b55 setting writable folders in init-script
It is said, that these folders are handled already by composer.json, what is definitely true. But if I can't (or don't want to) call composer create-project command, I have to run post-create-project-cmd manually like `composer run-script post-create-project-cmd`. IMHO, it's consistent to make such preparations in init script.
2014-04-24 16:44:21 +02:00
520011fff6 Fixes #3088: The debug and gii modules will manage their own URL rules now 2014-04-17 20:42:50 -04:00
586f5b87b0 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
386979d6a3 Revert "Used ternary operator instead of "or" for constant definition"
This reverts commit 2bb6f13505e212d68841a7e6609806fb30d04002.
2014-03-06 01:56:51 +04:00
2bb6f13505 Used ternary operator instead of "or" for constant definition 2014-03-04 22:17:11 +04:00
45bf5deea1 env. config fixed 2014-02-18 18:29:56 +04:00
dac615c86b added index tests files to application 2014-02-16 19:22:03 +04:00
4e6aa21198 The directory holding email templates is renamed from mails to mail 2014-02-12 15:01:01 -05:00
c811a883a4 cs fix [skip ci] 2014-02-08 17:45:23 -05:00
ae28d40b7a Revert "fixed configs"
This reverts commit c94131b875f81c71a6f2e5e63c5ef08ea47b51ad.
2014-02-08 17:44:02 -05:00
c94131b875 fixed configs 2014-02-08 21:14:53 +04:00
9da28421ee Use fileTransport for email in debug mode by default 2014-02-06 00:14:01 +04:00
5fbd4ce78e fixed dev config. 2014-01-31 18:37:15 -05:00
17c1bcb3f8 Fixes for #2236 2014-01-31 20:36:16 +04:00
6b0b424027 fixed yii cmd with aliases. 2014-01-29 20:18:52 -05:00
d88fbac4ee Merge pull request #2107 from creocoder/yii2-advanced-app-env-improvement
Cleaner environments for yii2-advanced-app
2014-01-28 14:41:54 -08:00
86747e89ef Aliases moved to aliases.php 2014-01-28 22:19:00 +04:00
4f17c45f00 Fix typos in constant 2014-01-25 01:33:28 +04:00
e1459d4037 Yet one optimization 2014-01-22 18:39:53 +04:00
a4c8617f42 Cleaner environments for yii2-advanced-app 2014-01-22 12:24:15 +04:00
4b7c879c6d Defined STDOUT in entry scripts in case console application is running via CGI 2014-01-21 17:32:27 +04:00
ab47d58c69 path fixes. 2014-01-10 21:58:50 -05:00
b4c60c142c Yii 2 advanced app environments usage fix 2014-01-11 03:33:41 +04:00
e267af0f7e Fixed production environment for advanced app 2014-01-09 04:21:01 +04:00
1f47d94eca Fixes #1846 2014-01-09 02:41:12 +04:00
0f87c990f9 Advanced app template: moved database connection DSN, login and password to -local config not to expose it to VCS 2014-01-08 22:44:39 +04:00
10553b6afc adjusted the advanced app to use the new yii composer extension installer. 2013-10-22 21:29:42 -04:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
dfb6e1f404 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
907d24fb9e Advanced application: fixed console return codes 2013-09-28 01:01:49 +04:00
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
df85be3622 Added debug to preload in advanced app template 2013-09-04 16:18:15 +04:00
f877de144b Removed DebugTarget reference from advanced app template configs 2013-09-04 15:55:32 +04:00
829c10f4fa Fixed yii autoload precedence. 2013-08-18 20:33:11 -04:00
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
3af5c9bf38 Resolves #674 - Remove old config files 2013-07-29 11:14:17 +02:00
ccb2b0f609 Resolves #674 2013-07-29 11:11:16 +02:00
2d8da01c98 import namespaces. 2013-07-12 07:36:00 -04:00
d29ea5a110 import namespaces. 2013-07-12 07:31:54 -04:00
12c48d1ae4 Refactored logging. 2013-07-02 22:09:25 -04:00
d8d9be7506 Renamed some folders to fit changed app structure. 2013-06-16 17:38:17 +02:00
420637443c Refactored the way of sending response in controller actions. 2013-06-13 23:39:18 -04:00
4a9f0eed0c Moved commented sections into -local configs, added prod environment 2013-05-24 23:34:34 +04:00
0411f09a43 Added install tool, moved all local configs and entry points to environments 2013-05-24 23:05:41 +04:00