Commit Graph

103 Commits

Author SHA1 Message Date
Rowan Miller c35afcc1a8 💚 Prepare for IAccessor API change in EF
IAccessor is being renamed to IInfrastructure. The places we use it in
this repo can actually use an extension method instead and avoid the
cast, so updating to that.
2015-10-26 10:10:30 -07:00
Pavel Krymets a97d55b10c Rename Microsoft.Runtime.Abstractions to Microsoft.Extensions.PlatformAbstractions 2015-10-22 19:30:09 -07:00
Pranav K 3e7eb6df61 Skip auto generated files from API consistency 2015-10-22 10:29:22 -07:00
Rowan Miller 1c26436041 Bring back "Apply Migrations" button on database error page
Mostly just a revert of the commit that removed this functionality, with a few changes:
* Perform proper JavaScript encoding in the script part of the database error page Views/BaseView.cs
* Use the builder pattern in the UseXyz extension methods on IApplicationBuilder (per #184). Also applying this to DatabaseErrorPageOptions to keep things consistent.
* Fixing a few tests that were getting the context from DI but putting it in a using block so that it got disposed (rather than letting DI handle disposing).
2015-10-20 09:29:15 -07:00
Rowan Miller 111dab7ddf 🐛 No database error page for existing databases
When there is an existing database and no migrations are present, then we should just display the standard error page as they are not using migrations and need to adjust their mapping code to match the existing schema.
Resolve #182
2015-10-20 09:23:42 -07:00
John Luo 793504843e reacting to telemetry rename 2015-10-19 17:17:40 -07:00
Chris R b144f5fd7c React to HttpRequestIdentifierFeature default change. 2015-10-16 10:15:56 -07:00
Pranav K 84b91c95fe Turn off warningsAsErrors in tests to unblock CI 2015-10-09 10:45:41 -07:00
Nate McMaster ba2bb3f0c9 React to EF rename 2015-10-05 13:44:26 -07:00
John Luo 7b9cfac65a Adding telemetry publish for unhandled exceptions to developer exception page and exception handler #180 2015-10-03 17:00:22 -07:00
Pranav K 3657a1a14b Renaming Microsoft.Framework.* -> Microsoft.Extensions.* 2015-10-03 15:44:46 -07:00
Arthur Vickers 6afe357271 Strategy rename 2015-09-24 11:08:41 -07:00
Arthur Vickers 062d072712 React to EF fluent API changes 2015-09-24 10:38:13 -07:00
Pranav K af4f0fc6f0 Reacting to IChangeToken changes 2015-09-22 08:32:52 -07:00
Nate McMaster 8e7fca953c React to changes in EF. https://github.com/aspnet/EntityFramework/pull/3108 2015-09-15 11:43:00 -07:00
Kiran Challa 1a708b8479 Fixed razor view as its compilation fails due to changed apis
Updated PageGenerator to consider the modified Views folder paths
More restructuring of files
2015-09-09 09:38:42 -07:00
Kiran Challa c46615dc53 Added new extensions UseExceptionHandler & UseDeveloperExceptionPage 2015-09-09 09:38:39 -07:00
Kiran Challa 5cb8ad3d87 Skipped tests using file paths not supported on Mono 2015-09-04 01:07:03 -07:00
Kiran Challa 12d9302a31 Skipped Database error page tests temporarily to fix Travis CI 2015-09-04 00:46:23 -07:00
N. Taylor Mullen a8df52fa7c Update project.json to have warningsAsErrors accept a bool. 2015-09-02 15:34:39 -07:00
Hao Kung 088f2f81cc React to options 2015-09-02 14:26:42 -07:00
Chris R ecc5874b6c Fix test. 2015-08-31 10:51:48 -07:00
Chris R 0bb77764d3 Use the new HttpContext.Features API. 2015-08-31 07:51:36 -07:00
Brice Lambson b95f67733d React to aspnet/EntityFramework#2948 2015-08-28 12:11:30 -07:00
Brice Lambson 8ccfb99624 React to aspnet/EntityFramework#2902 2015-08-24 10:41:56 -07:00
Kiran Challa 09b1c0fa63 [Fixes #167]Error page/handler should reset any buffered data, clear headers, etc. 2015-08-20 10:21:34 -07:00
Brice Lambson e8fc5a970a React to aspnet/EntityFramework#2831 2015-08-17 10:24:21 -07:00
Kiran Challa 97e66878a7 Reacting to disposable logger provider 2015-08-12 16:07:16 -07:00
Chris R 0e05c64855 React to IFeatureCollection changes, test cleanup. 2015-08-04 09:09:53 -07:00
mikary c0255f4188 React to aspnet/EntityFramework#2757 2015-07-31 12:38:57 -07:00
Victor Hurdugaci 15c0e16a91 React to DNX changes 2015-07-29 03:38:40 -07:00
Kiran Challa 8d583a4718 [Fixes #157] ErrorPage middleware doesn't show source code lines of Razor files 2015-07-28 08:49:53 -07:00
Brice Lambson 6e72a3935d Merge branch 'release' into dev 2015-07-22 08:34:30 -07:00
Andrew Stanton-Nurse 4656872876 react to DNX renames 2015-07-21 16:43:57 -07:00
Brice Lambson 3a7c0132c1 Revert "React to aspnet/EntityFramework#2613"
This reverts commit 97459de509.
2015-07-21 15:35:20 -07:00
Kiran Challa ab124d2ca0 Reacting to merging of FeatureModel into Http.Features 2015-07-17 10:06:24 -07:00
Kiran Challa fea15eb8de Removed creation of request id logging scope 2015-07-16 18:51:57 -07:00
Kiran Challa 236d4009c3 [Fixes #40] Suppress caching for ErrorHandler 2015-07-14 21:15:51 -07:00
Brice Lambson 97459de509 React to aspnet/EntityFramework#2613 2015-07-14 10:16:41 -07:00
Arthur Vickers 83c6ea7116 React to EF namespace changes 2015-06-30 10:59:15 -07:00
Arthur Vickers 15fa458362 React to EF changes 2015-06-25 16:00:00 -07:00
Arthur Vickers 33a673cd35 React to EF name changes 2015-06-23 16:00:32 -07:00
Arthur Vickers 791ec1a016 Use ApplyMigrations extension method 2015-06-19 11:37:01 -07:00
Arthur Vickers 7f63665607 Stop using GenerateValueOnAdd. 2015-06-17 11:54:48 -07:00
Arthur Vickers ccdedc704d React to EntityOptions -> DbContextOptions rename 2015-06-15 23:01:16 -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
Arthur Vickers 760be0c77c React to DbContextOptions name change 2015-05-26 11:34:48 -07:00
Smit Patel c6c5c94971 React to EF: changes in ModelSnapshot 2015-05-14 14:01:06 -07:00
Smit Patel 499f62c596 React to EF Changes: Remove Usage of BasicModelBuilder 2015-05-11 14:59:38 -07:00
N. Taylor Mullen b1643b438a Update LICENSE.txt and license header on files. 2015-05-01 13:46:24 -07:00