Alexander Makarov
663d3fedc8
Added defaultView to ViewAction
2014-04-02 12:42:04 +04:00
Qiang Xue
c0e06b447c
Refactored ViewAction.
2014-04-01 12:14:59 -04:00
Alexander Makarov
a528b2ed1c
Merge pull request #2934 from yiisoft/action-for-static-pages
...
Fixes #2932 : Added `yii\web\ViewAction` that allow you to render views based on GET parameter
2014-04-01 19:58:08 +04:00
Alexander Makarov
0cce768443
Removed ViewAction::afterRun()
2014-04-01 19:12:34 +04:00
Alexander Makarov
9fd0dcedaa
Extracted render method to allow custom renderers by subclassing
2014-04-01 13:15:51 +04:00
Alexander Makarov
a4be5bc910
Dropped defaultView
2014-04-01 13:13:15 +04:00
Alexander Makarov
542d532b12
Renamed basePath to viewPrefix
2014-04-01 13:12:09 +04:00
Qiang Xue
a0f9a6d701
Fixes #2937
2014-03-31 23:17:39 -04:00
Alexander Makarov
9936acf764
Fixes #2932 : Added yii\web\ViewAction that allow you to render views based on GET parameter
2014-04-01 00:41:21 +04:00
Alexander Makarov
05afeb4831
Merge branch 'master'
2014-03-31 01:06:09 +04:00
Carsten Brandt
21f2602c10
Merge pull request #2916 from yiisoft/refactor-errorhandler
...
Refactor errorhandler
2014-03-30 22:54:50 +02:00
Qiang Xue
c23b671f3b
better fix [skip ci]
2014-03-30 12:39:22 -04:00
Qiang Xue
03db4c468a
Fixes #2921
2014-03-30 12:38:04 -04:00
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
Carsten Brandt
f6ce9ead97
removed unnecessary static var
2014-03-30 12:38:13 +02:00
Carsten Brandt
a4b6fb263d
handle Exceptions in application init()
2014-03-30 01:27:18 +01:00
Carsten Brandt
89f6a00147
created console errorHandler
2014-03-30 01:04:43 +01:00
Carsten Brandt
f2b20d99d5
Merge branch 'master' into refactor-errorhandler
...
* master:
Fixes #2912 : Relative view files will be looked for under the directory containing the view currently being rendered
app end improvement.
improvement of Application::end() handling.
typo fix.
Fixes #2910 : Added `Application::end()`
Conflicts:
framework/base/Application.php
2014-03-30 00:27:51 +01:00
Carsten Brandt
c93231e26b
improved session error handling
...
fixes #1946
2014-03-29 23:54:26 +01:00
Carsten Brandt
8b4d4a0b25
cleanup web errorhandler
2014-03-29 23:02:35 +01:00
Qiang Xue
ac74fede28
Fixes #2910 : Added Application::end()
2014-03-28 16:59:21 -04:00
Carsten Brandt
d4ad533d48
moved error handling related methods from app to errorhandler
2014-03-28 19:57:11 +01:00
Qiang Xue
b9b4555da6
move assetManager to base application.
2014-03-27 14:09:30 -04:00
Carsten Brandt
00614b465b
docs about JsonParser
2014-03-27 14:24:59 +01:00
Carsten Brandt
f0dcceb37c
ensure Dispatchers logger gets set when requested.
...
fixes #2894
2014-03-27 13:00:59 +01:00
Carsten Brandt
435747cf98
apidoc and codestyle fixes
2014-03-26 23:03:18 +01:00
Philippe Gaultier
1a7da8be90
Use correct files array to allow inheritence
2014-03-26 19:58:40 +01:00
Carsten Brandt
27659d1776
fixed FileHelper private method static call
2014-03-26 17:51:52 +01:00
Carsten Brandt
cc4d4933d4
fixed undefined variable problem in AccessControl
2014-03-26 16:04:49 +01:00
Carsten Brandt
0b2aafc780
fixed private / self in helpers
...
fixes #2886
2014-03-26 16:03:42 +01:00
Carsten Brandt
1e75427393
updated classmap and phpdoc
2014-03-24 23:26:30 +01:00
Qiang Xue
4c939eee3e
reverted back change to parsing body params.
2014-03-23 16:52:43 -04:00
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
6e8c460273
Fixes #2724 : consistent use of absolute and relative routes.
2014-03-22 20:17:31 -04:00
Qiang Xue
300c5a549a
Fixes #2825 : Request::getBodyParams() should correctly parse CONTENT TYPE.
2014-03-22 13:01:21 -04:00
Qiang Xue
1a71c10934
Added yii\web\PrefixUrlRule
2014-03-21 22:01:20 -04:00
Qiang Xue
44d9d0dabb
Fixes #2820
2014-03-21 10:38:32 -04:00
Qiang Xue
58ead7deb1
cleanup.
2014-03-21 09:56:12 -04:00
Qiang Xue
be6b259c4e
A better fix.
2014-03-21 09:54:49 -04:00
Qiang Xue
3c518c4207
Merge commit 'f605508bb2805d24df98037ea239f8f582deda0e' into feature-container
2014-03-20 23:51:02 -04:00
Qiang Xue
4374616302
throw exception when UrlManager is not properly configured in console mode.
2014-03-19 09:36:13 -04:00
Ряднов Андрей
aa4e6ec039
fix User::getReturnUrl() after #2501
2014-03-19 11:20:40 +03:00
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
2014-03-18 12:31:27 -04:00
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
Qiang Xue
f61734d412
Added $checkSession parameter to User::getIsGuest() and getId().
2014-03-16 20:43:01 -04:00
Qiang Xue
9e33dedc4e
Added return value for User::logout().
2014-03-16 19:16:39 -04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Qiang Xue
21f2f38b35
Fixes #2691 : Null parameters will not be included in the generated URLs by UrlManager
2014-03-12 20:26:20 -04:00
Carsten Brandt
40cb98bb02
updated @property annotations
2014-03-11 16:21:25 +01:00
Alexander Makarov
7a3fd41afc
Fixes #2701
2014-03-11 15:44:09 +04:00