Commit Graph

331 Commits

Author SHA1 Message Date
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
rowanmiller fad5ba4323 Copy of Microsoft.AspNet.Diagnostics.Entity code from EntityFramework
Straight copy of code with no modification so that we have a baseline of changes made to port the code to the Diagnostics repo
2014-11-17 15:49:09 -08:00
Victor Hurdugaci b466013235 Update KProj to the latest format 2014-11-12 15:01:34 -08:00
David Fowler b7b0a4468a Merge branch 'release' into dev 2014-10-31 00:53:10 -07:00
David Fowler 5ae262f394 Added package descriptions 2014-10-31 00:52:45 -07:00
SonjaKhan ac14c3222b making page generator work for different libraries 2014-10-29 11:36:52 -07:00
Chris R acd88a6ca7 Merge pull request #38 from tugberkugurlu/ErrorTitleShowNewLine
showing the error message inside pre tag in order to properly render the new lines
2014-10-16 08:55:30 -07:00
Chris Ross a0f3560095 New ErrorHandler middleware. 2014-10-11 07:04:07 -07:00
Pranav K 3279c15047 Reacting to CLR package versioning changes 2014-10-10 10:31:13 -07:00
tugberkugurlu a023b08282 replacing newlines inside the error message with the HTML br tag on error
page to properly dispaly the newlines on the error page
2014-10-10 11:26:59 +03:00
Chris Ross 536f6830ba Fix ILibaryInformation.Version break. 2014-10-07 09:31:08 -07:00
David Fowler b7a8d6a1f7 Fixup references 2014-10-05 04:44:48 -07:00
Victor Hurdugaci 0c3f7eab9e Runtime information page 2014-10-01 15:20:44 -07:00
Chris R 14bca1d49b Merge pull request #35 from turchenkoalex/bug-27
Issue #27: Error page middleware returns an empty body on OS X
2014-09-23 12:48:42 -07:00
Chris Ross d7f5c81b13 Handle IBuilder rename to IApplicationBuilder. 2014-09-10 12:14:50 -07:00
David Fowler 5f685a6629 Updated to use the new target framework in project.json 2014-09-04 01:37:15 -07:00
David Fowler cce48f4cdf Updated to use the new target framework in project.json 2014-08-28 22:00:36 -07:00
Chris Ross 635dd57c56 Welcome Page: #16 - Remove JQuery and embedded font. 2014-08-20 16:04:59 -07:00
Pranav K d0eb26026a Reacting to System.IO package version change 2014-08-20 06:56:29 -07:00
Pranav K 692d7fc7b2 Reacting to System.IO.FileSystem package version change 2014-08-18 15:08:58 -07:00
David Fowler f354762f23 Removed sources from project file 2014-08-15 07:57:28 -07:00
Pranav K 748c5394ad Reacting to System.Collections versioning change 2014-07-14 16:47:38 -07:00
David Fowler 91ee6ed484 Renamed configurations to frameworks in project.json 2014-07-13 21:46:00 -07:00
turchenkoalex 1e1e55b362 Fix not shown 'exception page' on non windows system
Occurs on non windows system where Environment.NewLine is LF (1 symbol length) Unix, Linux, OS X etc. And options.ShowExceptionDetails is true.
Replaced number '2' to Environment.NewLine.Length.
2014-07-13 21:14:05 +04:00
David Fowler 221a8f4f50 Changed defines from DEBUG to DIAGNOSTICS_PAGE_MIDDLEWARE 2014-07-10 10:06:16 -07:00
Brice Lambson d1e8cdc95c Fix version of Microsoft.AspNet.Razor reference 2014-06-19 17:37:00 -07:00
Brice Lambson 301432e5cb Bump version to 1.0.0-* 2014-06-19 16:13:11 -07:00
David Fowler ced5d8697e Fixed project.json casing 2014-05-26 02:48:39 -07:00
David Fowler 372e31ab59 Fixed casing of project.json 2014-05-25 09:59:16 -07:00
David Fowler d6c4ebd0e0 Renamed Project.json to Project.json2 2014-05-25 09:59:16 -07:00
Pranav K 5c76e34749 Updating kproj file to match tooling changes 2014-05-18 20:13:54 -07:00
Chris Ross 2dffa63c3d Update generated view files. 2014-05-12 10:47:12 -07:00
Chris Ross 6cd3ce7a5a Fix ASP.NET casing. 2014-05-12 10:46:33 -07:00
Chris Ross 2ef957aac2 Update runtime dependency. 2014-05-12 10:41:48 -07:00
Chris Ross 9bdd0bc26e Remove unused DI dependency. 2014-05-09 15:59:40 -07:00
Chris Ross 522b037771 #14 - Update welcome page text and links. 2014-05-09 12:42:46 -07:00
Andrew Peters 54c9794c2a Updating copyright headers 2014-05-08 23:00:53 -07:00
Wei Wang b94cb1e893 Sort dependencies and remove duplicates in dependencies 2014-05-07 16:24:26 -07:00
DamianEdwards 61beff8fd1 Added grunt to do JS & CSS validation:
- Updated JS & CSS files according to errors reported
- Updated sake script to find all npm/grunt folders and operate on those, rather than on root

Build installs node/npm locally before running grunt

Refactored makefile.shade a little
2014-05-07 14:03:42 -07:00
Chris Ross e651ebf6aa Fixing missing FileSystem dependency. 2014-05-06 14:33:43 -07:00
Chris Ross 0c48454ad2 Fix HttpAbstractions dependency issues. 2014-05-06 10:39:14 -07:00
Wei Wang f66a0cb429 Remove unused dependency 2014-05-05 19:16:34 -07:00
DamianEdwards 6ff73d50e0 Minor changes:
- Fixed mismatched quotes
- Made PageGenerator depend directly on Razor instead of Mvc, as that's all it needs
- Rebased on latest dev changes
- #11
2014-05-02 22:51:29 -07:00
DamianEdwards 257b2abc43 Removed jQuery from the error page:
- All functionality working
- Tested in IE11/10/9/8 (via emulation mode), and Chrome latest
- Made the clickable areas cursor a pointer
- #11
2014-05-02 22:40:28 -07:00
DamianEdwards b4de33eeea Added a console app to generate the Razor pages
- Replaces the TT files previously being used (in Katana)
- Modified the include file logic to work better with the new generated Razor output as the old syntax/logic didn't work well with the additional line pragmas, etc. being emitted
- Updated the middleware to work with new generated output (ExecuteAsync instead of Execute, etc.)
- Fixed a scoping issue in Error.cshtml
- gitignore sln.ide cache directory
- #3
2014-05-01 16:24:03 -07:00
Chris Ross a78d5ac019 Remove unused FileSystem dependencies. 2014-05-01 12:31:44 -07:00
David Fowler f5f225e6ea Updated to use new tooling 2014-04-08 02:11:05 -07:00
David Fowler a42fcb72b3 Update to new version of Tasks 2014-03-28 00:04:30 -07:00
Chris Ross 7ddfc9cde4 Initial import from Katana. 2014-03-13 10:57:15 -07:00