Commit Graph

4243 Commits

Author SHA1 Message Date
Alex-Code
ad039e125a New truncate and truncateWords methods
New truncate and truncateWords methods, https://github.com/yiisoft/yii2/issues/2941
2014-04-01 10:14:43 +01: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
Qiang Xue
271dccdc6b Fixes #2931. 2014-03-31 11:34:47 -04:00
Alexander Makarov
06fdb79730 Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query 2014-03-31 15:09:33 +04:00
Qiang Xue
338b6aa7d3 Refactored ActiveRecord::find() so that find(null) will also return an ActiveRecord instance instead of ActiveQuery. 2014-03-30 19:01:02 -04:00
Carsten Brandt
3fb840f3f3 updated errorhandler views doc 2014-03-31 00:43:08 +02:00
Alexander Makarov
ecf019e311 Merge branch 'master' 2014-03-31 02:20:56 +04:00
Alexander Makarov
6054ede16a Fixed phpdoc, removed unit tests for Formatter asRelativeTime that were relative to current time since it was impossible to specify correct expected values 2014-03-31 02:05:04 +04:00
Alexander Makarov
05afeb4831 Merge branch 'master' 2014-03-31 01:06:09 +04:00
Qiang Xue
5adcac52a6 improved DI definition normalization. 2014-03-30 17:03:44 -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
Qiang Xue
4acab5c42d fixed data-method. 2014-03-30 12:23:10 -04:00
Alexander Makarov
cb4488ae4c Implemented Oracle column comment reading from another schema 2014-03-30 19:41:47 +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
7be743e1a7 cleanup application errorHandler getter 2014-03-30 12:24:45 +02:00
Carsten Brandt
a64429acf3 removed TODOs 2014-03-30 12:01:08 +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
Alexander Makarov
8cd247730a Query::filter() adjustments 2014-03-29 23:26:02 +04:00
Carsten Brandt
bb2906917d adjusted guide and small code adjustements 2014-03-29 20:15:32 +01:00
Alexander Makarov
a884c80fe3 Merge branch 'master' 2014-03-29 22:55:59 +04:00
Carsten Brandt
33543cbdb3 improved error handler output on console app 2014-03-29 19:52:36 +01:00
Qiang Xue
92bd71cd84 Fixes #2912: Relative view files will be looked for under the directory containing the view currently being rendered 2014-03-28 21:54:32 -04:00
Qiang Xue
48383f9a19 app end improvement. 2014-03-28 18:05:43 -04:00
Qiang Xue
43b8430e0f improvement of Application::end() handling. 2014-03-28 18:03:10 -04:00
Qiang Xue
c40ae85994 typo fix. 2014-03-28 17:00:12 -04: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
Qiang Xue
d44e42ab9e Fixed oci querybuilder. 2014-03-27 11:01:00 -04:00
Qiang Xue
13c0931b23 Fixes #2880 2014-03-27 10:58:56 -04:00
Carsten Brandt
093f5ebd32 ensure log dispatcher gets registered with logger in all cases
fixes #2894
2014-03-27 15:05:16 +01:00
Carsten Brandt
00614b465b docs about JsonParser 2014-03-27 14:24:59 +01:00
Carsten Brandt
c73cfe147f Fixed inconsistencies with setting old attributes and pks
issue #2892
2014-03-27 13:17:54 +01:00
Carsten Brandt
6f552e0fdf ensure logger gets set before any other config
fixes #2894
2014-03-27 13:04:36 +01:00
Carsten Brandt
f0dcceb37c ensure Dispatchers logger gets set when requested.
fixes #2894
2014-03-27 13:00:59 +01:00
Carsten Brandt
f4395206b7 reset dirty attributes after afterSave
so information about changed values is available in `afterSave`-event.

fixes #2892
2014-03-27 12:14:03 +01:00
Alexander Makarov
372220450b Merge branch 'master' 2014-03-27 12:56:01 +04:00
Alexander Makarov
3c1a8141fd fixes #2002 2014-03-27 12:41:16 +04:00
Qiang Xue
f7edebb295 Fixed test break. 2014-03-26 22:06:12 -04:00
Qiang Xue
f8b63591b0 Fix #2877: yii\log\Logger is split into yii\log\Logger and yii\log\Dispatcher. (qiangxue) 2014-03-26 21:48:41 -04:00