43 Commits

Author SHA1 Message Date
174843a971 Fixes #5690: adjusted paths in message config generated by yii message/config to reflect directory structure better 2015-01-11 14:56:11 +08:00
23e51edfc6 use a monospace font in error details on exception page
better readability
2014-12-13 16:28:34 +01:00
95afdceb55 fixed exception page to show error info that is longer than screen 2014-10-22 23:19:20 +02:00
798a22be4d add missing semicolon, fixes #5393 2014-10-07 15:18:08 +08:00
8f81e231da Fixes #4453: yii message/extract wasn't properly writing to po files in case of multiple categories 2014-07-26 02:46:58 +04:00
bc3200cef1 Fixes #4295: reworked message extraction for PO files 2014-07-17 19:33:37 +04:00
583a562bb9 migration fixed 2014-07-01 18:18:09 +04:00
4f95fcd91f added unit tests for schema detection
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
ee2b968b7f fixed argument display in errorHandler 2014-05-25 20:30:26 +02:00
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
7511de6cab added errorInfo to exception views 2014-05-12 13:31:33 +02:00
340278b59c Fixes #3183: fixed regression after #3175 2014-04-30 01:31:11 +04:00
dad88c78b4 Fixes #2837: Error page now shows arguments in stack trace method calls 2014-04-18 04:20:22 +04:00
8546b41bb8 Update error.php 2014-04-16 19:59:25 -03:00
57692cd448 Update error.php 2014-04-16 19:47:28 -03:00
c1445871f4 Correction of many errors code inspection.
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
055455d814 updated error handler and requirement checker links. 2014-04-10 00:05:05 -04:00
3fb840f3f3 updated errorhandler views doc 2014-03-31 00:43:08 +02:00
dbc6d106b4 reverted wrong changes after #2764
- readded removed file
- readded use statement to migration template
2014-03-16 21:01:53 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
da13b336be minor css fixes. 2014-02-24 15:26:47 -05:00
62a7e397e0 fix the _only_ option in calls to FileHelper::findFiles() 2014-01-27 21:04:49 +01:00
ff8e78c655 Merge branch '2048-improve-messages-config-exceptions' of github.com:nineinchnick/yii2 into nineinchnick-2048-improve-messages-config-exceptions
Conflicts:
	framework/messages/config.php
2014-01-26 17:48:44 -05:00
8bdc437bc2 Fixes #2079:
- i18n now falls back to `en` from `en-US` if message translation isn't found
- View now falls back to `en` from `en-US` if file not found
- Default `sourceLanguage` and `language` are now `en`
2014-01-23 04:51:17 +04:00
4fe0eeb1b6 refacotring. 2014-01-21 19:12:10 -05:00
05db070b32 Adjusted #2008 2014-01-22 03:31:22 +04:00
edf98ced99 Fixes #1973: Re-implemented solution for yii message/extract is now able to generate .po files 2014-01-14 23:09:37 +04:00
4d8d3eaf2c minor fix of exception display. 2014-01-13 22:16:11 -05:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00
0d814fa523 Moved "framework" to "iii". 2013-05-09 12:00:15 -04:00
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
c1428a174a minor cleanup. 2013-04-12 07:25:37 -04:00
80dbaaca8b bug fixes. 2013-03-25 19:37:42 -04:00
1d48d01ef7 refactored View. 2013-03-20 22:03:13 -04:00
2d5db95149 More on error handling:
- Correct exit code for require errors in CLI mode. It was 0 even in case of error.
- Solved handling fatals and displaying custom error template w/o output buffering.
- If XDEBUG is available, error screen will display trace (implementation inspired by Kohana and Nette).
- Added ErrorException to store/display type of the error and user-friendly messages.
- Fatals are still logged in PHP log.
- Turned off native display_errors since we're now catching all errors.
- Added reserving memory (256kb) . Can be removed safely. In case of removal we're losing only memory exhausted error when allocating last very small chunk of memory.
- Properly handled errors in __toString (exception can't be thrown in this case).
- In the YII_DEBUG===false mode it's bad to display exception name even in page title.
- In the YII_DEBUG===true mode it's still useful to get user-friendly message additionally to exception name.
2013-02-13 03:51:29 +04:00
811880031c fixed YII_DEBUG exception view 2013-02-07 16:13:57 +04:00
1c375b9097 bug fixes. 2013-02-06 10:47:40 -05:00
af4455eb03 Finished console support.
Finished migrate command.
2013-02-03 19:37:29 -05:00
ba4d9fc2b4 changed ->owner to ->context in error view 2012-06-10 12:00:03 +04:00
6caad53ade Removed unnecessary markup from error views 2012-04-25 14:52:53 +04:00
b7e4bd3155 ... 2012-04-21 18:26:59 -04:00
7c06cc03d7 finished error handler. 2012-04-21 16:33:54 -04:00