Commit Graph

132 Commits

Author SHA1 Message Date
Carsten Brandt
9679721e0c fixes display of array log messages in debug toolbar
fixes #3244
2014-06-09 15:17:54 +02:00
Carsten Brandt
efbd23b52e refactored logger to support array values out of the box.
fixes #3245, #3244
2014-06-09 14:58:36 +02:00
Alexander Makarov
af1a266665 Fixes #2299: Date and time in request list is now never wrapped 2014-06-08 03:20:57 +04:00
Klimov Paul
bcf71310cb Typo fixed 2014-06-05 15:07:29 +03:00
Klimov Paul
6cdd40e9ad Extra tab symbol removed 2014-06-05 15:04:41 +03:00
Carsten Brandt
e899406494 improved docs about application and module namespace
fixes #3539
2014-05-23 19:14:36 +02:00
Carsten Brandt
b7e493fca0 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
Carsten Brandt
d622442acf improved debugger on handling unreadable files
issue #3494
2014-05-17 14:43:47 +02:00
Carsten Brandt
3838b501ba refactored Debug Mail panel to work with different vendors
implementation checks for instanceof for additional swiftmailer
capabilities.

issue #2870
2014-04-25 21:04:39 +02:00
Carsten Brandt
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
Qiang Xue
b55ce76479 Fixes #1263: Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration 2014-04-22 12:42:51 -04:00
Qiang Xue
707e4e810e fixed typo. [skip ci] 2014-04-17 23:33:13 -04:00
Qiang Xue
520011fff6 Fixes #3088: The debug and gii modules will manage their own URL rules now 2014-04-17 20:42:50 -04:00
Qiang Xue
12c3b59b9b log fixes [skip ci] 2014-04-15 14:44:11 -04:00
Qiang Xue
b0b8056f6c Fixes #3108: Added yii\debug\Module::enableDebugLogs to disable logging debug logs by default 2014-04-15 14:43:09 -04:00
Alexander Makarov
b568c904ea Updated changelog 2014-04-15 13:57:15 +04:00
Evgeniy Tkachenko
b45409327d Hide debug toolbar when media = print
fix https://github.com/yiisoft/yii2/issues/3050
2014-04-15 11:47:12 +03:00
Carsten Brandt
c501ae4f4d debug: fix highlight of redirect HTTP status
1xx status is not that common.
2014-04-14 14:52:36 +02:00
Carsten Brandt
94d6fb1804 Fixed view path in debug mail panel 2014-04-14 14:45:10 +02:00
Qiang Xue
f4c38faf74 prepare for next release. 2014-04-13 21:22:29 -04:00
Qiang Xue
8bbcff70db prepare for 2.0.0-beta release. 2014-04-13 17:58:59 -04:00
Carsten Brandt
c6e1a2f02f Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (79 commits)
  Refactored app bootstrap logic.
  Update authorization.md
  Fixes #3052: Fixed the issue that cache dependency data is not reused when `reusable` is set true
  start debug logging only if debug runs when bootstrap.
  Update finnish translation
  Add ODBC support to yii\db\Connection
  updated error handler and requirement checker links.
  fixed broken API links [skip ci]
  added more doc [skip ci]
  update class map.
  Fixes #2034: Added `ContentNegotiator` to support response format and language negotiation
  renamed attributes to attributeNames in model
  updated phpdoc
  Removed `Application::preload` in favor of `Application::bootstrap`
  Update module-debug.md
  Update model.md
  Fixes
  Update basics.md
  typo fix [skip ci]
  Added `HtmlResponseFormatter` and `JsonResponseFormatter`
  ...
2014-04-10 22:22:36 +02:00
Carsten Brandt
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
Qiang Xue
ea75177abc Refactored app bootstrap logic. 2014-04-10 15:05:01 -04:00
Qiang Xue
629ed62983 start debug logging only if debug runs when bootstrap. 2014-04-10 08:45:33 -04:00
Qiang Xue
0b29c9607d fixed broken API links [skip ci] 2014-04-09 22:22:49 -04:00
Qiang Xue
586f5b87b0 Removed Application::preload in favor of Application::bootstrap 2014-04-09 10:47:10 -04:00
Carsten Brandt
865b71ef5e cleanup CHANGELOGs 2014-04-03 20:28:08 +02: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
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
Carsten Brandt
1e75427393 updated classmap and phpdoc 2014-03-24 23:26:30 +01:00
Qiang Xue
6e8c460273 Fixes #2724: consistent use of absolute and relative routes. 2014-03-22 20:17:31 -04:00
Qiang Xue
72c99663ff Refactored container. 2014-03-18 11:49:52 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
Carsten Brandt
c3ce904af5 fixed detailview attributes
fixes #2765
2014-03-17 12:27:01 +01:00
Qiang Xue
7960ccdf50 Tab to spaces conversion. 2014-03-16 20:05:54 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Alexander Makarov
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
Alexander Makarov
92b381795b Adjusted Url helper methods 2014-03-10 01:34:05 +04:00
Alexander Makarov
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
Carsten Brandt
1b7e1cd027 Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
* 'feature' of https://github.com/mongosoft/yii2:
  returned back formatting language files
  code style. WHILE
  code style. FOR
  code style. FOREACH
  code style. operator IF
  @param, @var, @property and @return must declare types as boolean, integer, string, array or null
  short echo tags
  short array syntax

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/models/Context.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/bootstrap/views/index.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/views/index.php
	extensions/apidoc/templates/offline/views/offline.php
	extensions/apidoc/templates/online/views/index.php
	extensions/elasticsearch/Connection.php
	extensions/redis/ActiveQuery.php
	framework/base/ErrorException.php
	framework/helpers/BaseFileHelper.php
	tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
AlexGx
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
Alexander Makarov
61b64d7513 Removed unused "use" statements 2014-03-04 22:40:04 +04:00
Alexander Mohorev
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +03:00
Alexander Makarov
a7a1bd8da0 Merge pull request #2578 from schmunk42/feature/update-composer-keywords
replaced keyword "yii" with "yii2" in composer.json files (fixes #2557)
2014-03-03 21:39:41 +03:00
Qiang Xue
6bdf02dc93 Fixes #2601 2014-03-02 17:04:40 -05:00
Qiang Xue
5d0ec52a52 Added support for reading page size from query parameters by Pagination 2014-02-27 20:01:09 -05:00
Tobias Munk
825a71c6df replaced keyword "yii" with "yii2" in composer.json files (fixes #2557) 2014-02-27 17:37:08 +01:00
Qiang Xue
da13b336be minor css fixes. 2014-02-24 15:26:47 -05:00
Alexander Makarov
43c17d99cc Fixes #2426: Changed URL creation method signatures to be consistent 2014-02-20 20:10:33 +04:00