Commit Graph

198 Commits

Author SHA1 Message Date
Kiran Challa 8c8490fab4 [Fixes #112] BaseView.ExecuteAsync disposes the response stream 2015-07-14 21:11:46 -07:00
Kiran Challa f7e7ce53a5 [Fixes #145] Fix typo "collapsable" to be a real word ("collapsible") 2015-07-14 20:50:32 -07:00
Brice Lambson 97459de509 React to aspnet/EntityFramework#2613 2015-07-14 10:16:41 -07:00
Victor Hurdugaci 4cbc9ace9c Add repository information to project files 2015-07-01 19:48:35 -07:00
Chris R 26a6b5dc33 #28 Remove environment page from the error page. 2015-06-30 17:05:42 -07:00
Arthur Vickers 83c6ea7116 React to EF namespace changes 2015-06-30 10:59:15 -07:00
Arthur Vickers 33a673cd35 React to EF name changes 2015-06-23 16:00:32 -07:00
Arthur Vickers 3b29dbdd98 Fix old way of getting Migrator 2015-06-19 11:55:58 -07:00
Arthur Vickers 28d2d2e5d7 Add using directive 2015-06-19 11:18:18 -07:00
Arthur Vickers b4a7d09ad2 React to removal of RelationalDatabase class. 2015-06-19 11:07:28 -07:00
Arthur Vickers a07065c02e React to removal of AsRelational 2015-06-19 09:39:41 -07:00
Chris R 9e547d5a9d Remove extra bracket from error page view. 2015-06-16 10:25:54 -07:00
Henk Mollema 72d8c12ca3 Removed unused resource string 2015-06-16 09:51:11 -07:00
Henk Mollema 0da9e2bec5 Remove ErrorPageOptions properties except SourceCodeLineCount
- Removed all properties except `SourceCodeLineCount`
- Updated ErroPageMiddleware (including some minor code-style changes)
- Updated CompilationErrorPage.cshtml and ErrorPage.cshtml
- Added `run` command to PageGenerator project.json to execute from command line
- Include cookies on error page
- Removed showSource parameter
- Remove unused exception parameter
2015-06-16 09:51:10 -07:00
Chris R ef4ab17700 React to OnSendingHeaders rename. 2015-06-12 15:48:45 -07:00
Henk Mollema 6dbbe831c4 Removed SetDefaultVisibility for ErrorPageOptions
- Removed `SetDefaultVisibility` method from `(Database)ErrorPageOptions`
- `(Database)ErrorPageOptions` properties are now auto-properties since there is no default visibility anymore
- Removed `isDevMode` parameter from `ErrorPageMiddleware` ctor
- Removed comments from `ErroPageExtensions.UseErrorPage()`
- Updated Entity tests

#130
2015-06-09 10:14:22 -07:00
Troy Dai 39fa2782d2 Merge branch 'release' into dev 2015-06-03 11:52:58 -07:00
Troy Dai 499de6536b Fix Diagnostics build break 2015-06-03 11:50:51 -07:00
N. Taylor Mullen 3fa5dee2d7 React to aspnet/Razor#140 2015-05-29 14:52:23 -07:00
Eilon Lipton 75d047795b Merge pull request #131 from hishamco/dev
Using [NotNull]
2015-05-07 21:53:38 -07:00
Troy Dai 0440ca751e React to common package name change 2015-05-07 09:36:55 -07:00
Hisham Abdullah Bin Ateya 1f36174da5 Using [NotNull] 2015-05-07 00:32:34 +03:00
Brice Lambson 8508c6256e React to WithCurrentCulture removal 2015-05-04 10:38:59 -07:00
N. Taylor Mullen b1643b438a Update LICENSE.txt and license header on files. 2015-05-01 13:46:24 -07:00
Troy Dai 02d163eaaf React to DNX package name change 2015-05-01 11:06:38 -07:00
Brennan 976a4c6511 React to Logging package rename 2015-04-30 00:16:12 -07:00
Brennan 94fb2ce557 Revert "Revert "Interfaces->Abstractions""
This reverts commit 12a58a0795.
2015-04-29 23:51:25 -07:00
Brennan 12a58a0795 Revert "Interfaces->Abstractions"
This reverts commit 80b66cfde3.
2015-04-29 23:43:12 -07:00
Brennan 80b66cfde3 Interfaces->Abstractions 2015-04-29 16:28:45 -07:00
Chris Ross af641b1ca5 Handle removal of HttpResponse.SendAsync extension. 2015-04-23 11:40:47 -07:00
Praburaj b27c6fc1e2 Fixing runtime info middleware on coreclr
Also adding more information like OS, runtime type and architecture to the info page.
2015-04-17 11:47:46 -07:00
Pranav K 3b2ded5652 Adding support for printing multiple compilation failures 2015-04-16 14:54:08 -07:00
Praburaj 1c648fa905 Revert "Fixing runtime info middleware on coreclr"
This reverts commit 7f83cc4e99.
2015-04-15 13:55:21 -07:00
Praburaj 5a289a2c9b Merge branch 'packagename' into dev 2015-04-15 13:50:12 -07:00
Praburaj ebf76371de Adding a package description for the ELM middleware package
Fixes: https://github.com/aspnet/Diagnostics/issues/100
2015-04-15 12:10:04 -07:00
Praburaj 7f83cc4e99 Fixing runtime info middleware on coreclr
Fixes: https://github.com/aspnet/Diagnostics/issues/108
2015-04-15 11:04:03 -07:00
Praburaj 14ee7abf22 Remove hosting dependency on diagnostics package 2015-04-08 19:16:36 -07:00
Pranav K dc7e4c8c4f Merge branch 'release' into dev 2015-04-08 07:15:43 -07:00
Pranav K 9da95d620c Reacting to ICompilationMessage line indexes changing to be 1-based 2015-04-07 22:05:05 -07:00
ajcvickers c72add2736 Merge branch 'dev' of github.com:aspnet/Diagnostics into dev 2015-04-07 21:51:30 -07:00
ajcvickers 027cbdac04 React to EF change 2015-04-07 21:51:11 -07:00
N. Taylor Mullen dc94ede400 Merge branch 'release' into dev 2015-04-07 14:43:56 -07:00
N. Taylor Mullen cfa6399de6 Add serviceable attribute to projects.
aspnet/DNX#1600
2015-04-07 14:43:50 -07:00
Kiran Challa bd1e282e58 Reacting to ILogger api changes 2015-04-04 00:34:07 -07:00
Doug Bunting b76de57432 Merge remote-tracking branch 'origin/release' into dev 2015-04-03 11:40:43 -07:00
N. Taylor Mullen cb6c01b8da Update project.json, code=>compile. Also remove **/*.cs and **/*.vs from compile section. These are now defaulted to on. 2015-04-02 16:15:43 -07:00
Doug Bunting 9d095e2f21 Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:24 -07:00
Pranav K d2dfae108a * Remove ICompilation* interfaces from Diagnostics
* Removing error message from CompilationErrorPage since it repeats
 individual errors.

 Fixes #111
2015-04-02 12:37:33 -07:00
Kiran Challa 9cffbd171b Fix Elm extensions 2015-03-25 16:03:29 -07:00
Praburaj cb159a678a Fixing the Elm middleware to check if request has form content
With a change to HttpAbstractions, ReadFormAsync throws if called on a request whose content type is not
not form encoded content.
2015-03-24 10:43:00 -07:00
Rowan Miller 105d3353cf 🔥 Remove migrations end point 2015-03-23 15:56:30 -07:00
Rowan Miller f644aea3b1 🎨 Update 'k' to 'dnx' in migrations info 2015-03-23 15:55:43 -07:00
Hao Kung b66b2df264 React to hosting 2015-03-19 11:22:22 -07:00
Praburaj 7a245eba5b Update welcome page text from ASP.NET vnext to 5
Fixes: https://github.com/aspnet/Diagnostics/issues/82
2015-03-16 16:52:24 -07:00
Praburaj b879f4a084 using [NotNull] attribute from the Common repo 2015-03-13 17:21:37 -07:00
Praburaj 6ee155c40f Move IServiceCollection extension to Microsoft.Framework.DependencyInjection namespace
Fixes: https://github.com/aspnet/Diagnostics/issues/96
2015-03-13 17:11:23 -07:00
Levi B 2337d7808d Change dependency reference WebEncoders -> WebEncoders.Core 2015-03-12 22:57:44 -07:00
N. Taylor Mullen b07a656b8a Update .kproj => .xproj. 2015-03-11 14:05:30 -07:00
N. Taylor Mullen c746f2beb7 Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:52:44 -07:00
N. Taylor Mullen a30765bc6c Update kvm/KVM/Kvm => dnvm/DNVM/Dnvm. 2015-03-08 12:48:41 -07:00
N. Taylor Mullen 61ef1afd30 Update K_BUILD_VERSION/kre/KRE/.k => DNX_BUILD_VERSION/dnx/DNX/.dnx. 2015-03-08 12:48:39 -07:00
N. Taylor Mullen 684983effb Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:48:36 -07:00
Praburaj 34182987a6 Removing an incorrect comment 2015-03-06 11:34:21 -08:00
Praburaj 18696828cc Using new IHtmlEncoders
Fixes: https://github.com/aspnet/Diagnostics/issues/89
2015-03-06 11:29:58 -08:00
Brennan 00a1127676 Missed some logging API 2015-03-04 20:38:11 -08:00
Brennan 4887a77498 Logging API changes 2015-03-04 17:04:05 -08:00
ajcvickers 66252ff736 React to EF namespace change 2015-02-13 14:56:28 -08:00
Praburaj f243244972 Adding ability to turn off the status code pages
Added a feature named IStatusCodeFeature with an enabled property. MVC or any framework can get this feature and turn it off if
it does not want status code pages logic to take over and send HTML response.

Also refactored the sample flow to make it easier to understand.
2015-02-12 11:09:47 -08:00
Praburaj 31afaca7e3 Renaming some extensions to disambiguate ones with similar parameters. 2015-02-10 17:03:41 -08:00
Praburaj 686d517966 Updating extension names 2015-02-10 16:30:42 -08:00
Praburaj 23ef6d4eb8 Changing extensions from StatusCodePagesOptions to IApplicationBuilder.
Addressing few more PR comments.
2015-02-10 16:18:06 -08:00
Praburaj 6850035d8e PR comments
Addressing some outstanding PR feedback.
2015-02-10 14:54:59 -08:00
Chris Ross 6444f3e15d Move the reason phrase lookup to WebUtilities. 2015-02-10 13:29:59 -08:00
Chris Ross cd238d4545 Outline for StatusCodePages middleware. 2015-02-10 13:29:48 -08:00
Brice Lambson a09d8a4ead React to Migrations changes 2015-02-10 11:07:18 -08:00
ajcvickers 88d977b193 React to EF changes 2015-02-05 10:56:14 -08:00
Brennan a54886b3f3 Updating .kproj files 2015-02-04 09:13:50 -08:00
Pranav K ed2bf6cee9 Reacting to XRE renames 2015-01-28 17:59:20 -08:00
Pranav K 8c3edc158f Reacting to KRuntime renames 2015-01-20 01:49:44 -08:00
Chris Ross 05cacda513 Remove unused PipelineCore reference. 2015-01-15 21:49:43 -08:00
Pranav K 576731e86e Adding contract interfaces for specifying runtime compilation exceptions.
Fixes #12
2015-01-12 14:35:15 -08:00
Chris Ross 97b151f2c2 Handle ReadFormAsync breaking change. 2015-01-07 16:25:42 -08:00
mikary 32e28a8fc8 Reacting to API changes in EntityFramework Migrations 2015-01-07 14:51:05 -08:00
rowanmiller 5e00937d59 Handle wrapped exceptions in Database Error Page
If a database exception is wrapped later in the request (after EF has logged it) then we were not displaying the database error page.
This was occurring in ASP.NET Identity where the exception was getting wrapped in an AggregateException.
We now walk the tree of inner exceptions looking for a match.
Also adding some extra logging as this was hard to debug without resorting to source code.
2014-12-18 14:16:38 -08:00
Pranav K effdc65d9f Reacting to System.Threading.ExecutionContext being removed 2014-12-15 14:32:31 -08:00
SonjaKhan 4f75ae6485 grouping elm by activity context 2014-12-12 17:12:11 -08:00
SonjaKhan 71a4c18598 Collapsed Logs 2014-12-11 16:49:13 -08:00
SonjaKhan 234c9ec935 adding a clear button to elm 2014-12-08 09:52:37 -08:00
Brice Lambson 17e5811a97 React to a change in EntityFramework.Migrations 2014-12-03 14:40:17 -08:00
SonjaKhan b5a328aa0e fixing dependencies 2014-12-01 14:11:01 -08:00
Pranav K b8626a75ca Updating Elm to depend on Razor instead of Mvc.Razor
* Removing dependencies that are transitively included.
2014-11-25 17:07:04 -08:00
Praburaj 86432baac7 File names and line numbers don't appear on mono error page
https://github.com/aspnet/Diagnostics/issues/54

Fix is to handle the retrievel of file name with different separators on .net and mono.
2014-11-25 15:15:46 -08:00
SonjaKhan ce59419893 elm logger 2014-11-25 14:58:04 -08:00
ajcvickers e6fdb8cbd2 React to EF dynamic services changes 2014-11-25 13:38:22 -08:00
Victor Hurdugaci eb99bf25a3 Add schema version to kproj files 2014-11-25 10:39:01 -08:00
ajcvickers 6f8407bca4 Reacting to EF change 2014-11-21 11:42:38 -08:00
SonjaKhan 44b50b46f9 updating the page generator and base view to work with razor helper functions 2014-11-21 09:26:36 -08:00
Praburaj 58b1ae1712 A regression introduced in a recent change
With this fix a case is regressed.
ba5d235a32

If file information is not available if function is empty then line needs to be sent. With the regression empty lines were printed in error page where symbol information is not available. This fixes it. Thanks Chris for identitying this and fixing.
2014-11-20 16:24:04 -08:00
Praburaj ba5d235a32 Function name not passed to LoadFrame method when file name is not present in stacktrace
When file names are missing from exception stack trace the above line of code does not pass the detected function name. As a result issue described in bug : https://github.com/aspnet/Diagnostics/issues/49 happens.

This issue happens on mono. With this fix method names show up in the error page middleware output on mono.
2014-11-18 17:06:08 -08:00
rowanmiller ef544d9baa Update Microsoft.AspNet.Diagnostics.Entity to build in this repo
Previous commit copied code verbatim from EF repo
This commit updates it to build in this repo
2014-11-18 15:12:13 -08:00