Commit Graph

37701 Commits

Author SHA1 Message Date
Pavel Krymets b2c73f13e2 Add AppAuthentication package (#617) 2017-10-26 10:28:38 -07:00
Nate McMaster 521b9bdd5e Add missing import 2017-10-26 09:37:58 -07:00
Nate McMaster df486e54a8 Pin tools and package versions to make builds more repeatable 2017-10-26 09:30:36 -07:00
Scott Addie 1df37f8060 Fix spelling mistake in constant name 2017-10-26 11:27:39 +01:00
Scott Addie 4172d62aa5 Add missing @ symbol to AccessDenied.cshtml 2017-10-26 11:21:43 +01:00
Ryan Nowak d612072d1a Fix a broken MVC test 2017-10-25 23:29:35 -07:00
Ryan Nowak 736b49294d Add Template abstraction
This change adds the Template as a top level abstraction. URL templating
is now a two-stage process.

First you use a 'key' to look up a Template, then you use the Template
to create the URL.

This change also has some cleanup of the way RoutePatternBinder gets
instantiated. I added a factory service so that most of the complex
things can be made internal to Dispatcher. Now it's much easier to
constuct and use. These impacts some pubternal APIs that we already
broke, but makes them actually nice :)

Also cleaned up some tests and fixed one that was broken and not
running.
2017-10-25 22:15:24 -07:00
Nate McMaster 1c0aeb08bb Add RuntimeStore config to music store 2017-10-25 20:01:02 -07:00
Nate McMaster d8e8ab7c60 Temporarily remove Microsoft.AspNetCore.All from expected output 2017-10-25 17:44:31 -07:00
Nate McMaster 421bcb490f Pin tools and package versions 2017-10-25 17:40:26 -07:00
Nate McMaster b49ffc9e9e Remove All metapackage and runtime store infrastructure (#244) 2017-10-25 17:39:32 -07:00
Andrew Stanton-Nurse ab78fb0b8c fix build break 2017-10-25 15:22:36 -07:00
Ryan Nowak 2d661396df Port TemplateBinder to dispatcher 2017-10-25 14:28:20 -07:00
Jass Bagga eebc7db2ca Use RoutePatternMatcher logic in TemplateMatcher (#484) 2017-10-25 14:16:04 -07:00
Cesar Blum Silveira 8c4bdbcf6b Add "zero config" HTTPS support using local development certificate. (#2093) 2017-10-25 13:59:09 -07:00
Stephen Halter c3ba875d12 Better handle Socket transport accept errors (#2133)
* More reliably swallow accept errors during shutdown
* Handle and log connection reset errors thrown from accept
* Don't trace errors for server-aborted connections
2017-10-25 12:58:00 -07:00
Justin Kotalik 9c5d38a786 Expose VirtualDirectory to In Process mode (#210) 2017-10-25 12:35:47 -07:00
Justin Kotalik 94c895a1bd Parse Path and PathBase from Virtual Directory. (#457) 2017-10-25 12:35:13 -07:00
Andrew Stanton-Nurse 1678c54291 Add some tracing and increase timeout for flaky test (#2130) 2017-10-25 11:56:43 -07:00
Justin Kotalik bd62aa88d7 React to ANCM OnAsyncCompletion changes (#447) 2017-10-25 11:46:55 -07:00
Justin Kotalik 332b108f41 Changes PostCompletion to handle OnAsyncCompletion after managed request has completed. (#212) 2017-10-25 11:46:34 -07:00
Nate McMaster a01aee7e9c Add scripts to auto-update build tools and submodules (#618)
* Add a script to auto-update submodules
* Add VSCode settings
* Add script to update the build tools version
2017-10-25 11:39:53 -07:00
Andrew Stanton-Nurse 7d205d1093 add event names to Logging messages (#2132) 2017-10-25 11:27:05 -07:00
N. Taylor Mullen ab62ea9321 React to API feedback on VisualStudioRazorParser.
- Changed `ReparseAsync` to be `QueueReparse`. It's now async void to not give the misconception that it blocks until a reparse has been completed.
- Removed `IContextChangedListener`. People can get the same effect of the interface by retrieving the document tracker interface via the `RazorEditorFactoryService` and then when its context changes getting the parser.
- Exposed `TryGetParser` to aid in replacing `IContextChangedListener`.
- Updated tests to not rely on `IContextChangedListener`.
2017-10-25 10:28:01 -07:00
N. Taylor Mullen d027697389 Merge branch 'rel/vs15.5' into dev 2017-10-25 09:45:28 -07:00
N. Taylor Mullen 6ac0137a9f Make AtDirectiveCompletionPoint resilient to null owners.
- Added a test to verify the new owner == null case.

#1733
2017-10-25 09:44:33 -07:00
Mikael Mengistu eec6b4f2f5 Removing Connected event from TestConnection (#1055) 2017-10-24 23:23:56 -07:00
bchavez 97d488acda
Fix spelling error in failing test. 2017-10-24 15:09:45 -07:00
bchavez 44c58a3042
Corrected copy/paste error in XML doc for SignInManager 2017-10-24 14:59:31 -07:00
bchavez 8928f8446f
House Cleaning - Spell check and grammar. 🚿 2017-10-24 14:59:31 -07:00
Hao Kung f147951d92 Revert "use WebHost.CreateDefaultBuilder in IdentitySample.Mvc"
This reverts commit 20ec50d5d2.
2017-10-24 14:54:41 -07:00
Hao Kung c69b0423a4 Revert "add Microsoft.AspNetCore dependency"
This reverts commit 9842863695.
2017-10-24 14:54:39 -07:00
Hao Kung 707be3dca0 Fix comment of variance time for Rfc6238 2017-10-24 14:43:41 -07:00
Tugberk Ugurlu 9842863695 add Microsoft.AspNetCore dependency 2017-10-24 14:40:24 -07:00
Tugberk Ugurlu 20ec50d5d2 use WebHost.CreateDefaultBuilder in IdentitySample.Mvc
so that it picks up the logging config from the `appsettings.json`
2017-10-24 14:40:24 -07:00
BrennanConroy 30e7422407 Enable reconnect for Redis connection by default (#1037) 2017-10-24 14:30:13 -07:00
Nate McMaster 8c63660b15 Update EntityFrameworkCore to 88551da89 - react to aspnet/EntityFrameworkCore#10151 2017-10-24 12:41:26 -07:00
= 537a735d30 Fix target dependencies 2017-10-24 12:36:12 -07:00
John Luo 386483b9ef Create timestamp free cumulative archives 2017-10-24 11:46:28 -07:00
N. Taylor Mullen fb8aff12f1 Add EditorSettings management to workspaces.
- Built a design where there's a singleton `EditorSettingsManager` that handles the "current" settings state in the world. When it detects that settings have changed via an update method being called it dispatches a `Changed` event.
- Exposed editor settings on the document tracker. When the editor settings change the document tracker dispatches to any listeners that its context has changed.
- Added tests to validate all the various settings management.

#1718
2017-10-24 10:42:49 -07:00
Nate McMaster 4da6565d5b Update modules/Scaffolding to ce3c4802 to fix aspnet/Scaffolding#645 2017-10-24 10:35:19 -07:00
Mikael Mengistu 1768a081ba Updating default pattern(#1046) 2017-10-23 22:20:31 -07:00
pan-wang bfb2c86cda moving export methods to a standalone file (#211) 2017-10-23 16:26:15 -07:00
Vladimir Sadov 204cf7a1dc This brings support for the final syntax of "ref readonly" and some bug fixes. (#2121)
Noticeable changes:
- use `in` at declaration of "in" parameters, not `ref readonly`
- `ref` comes before `partial` when declaring partial ref structs.
- unboxing conversions for ref-like types are statically rejected as impossible to succeed

The corresponding VSIX to match these compiler bits with IDE experience is -
https://dotnet.myget.org/F/roslyn/vsix/0b48e25b-9903-4d8b-ad39-d4cca196e3c7-2.6.0.6221102.vsix
2017-10-23 16:18:15 -07:00
pan-wang c845a331bb adding forwarding end freb event (#209) 2017-10-23 15:28:48 -07:00
Nate McMaster e91af13a7d Generate the PackageVersionProps file and put it in the lineup package 2017-10-23 15:00:53 -07:00
N. Taylor Mullen 212d97e511 Manage VisualStudioRazorParser lifetime.
- Exposed `VisualStudioRazorParser`, `DocumentStructureChangedEventArgs` and `ICanHasContextChangedListener` as ways to consume the new parser for a Razor document.
- Split the `VisualStudioRazorParser` into an abstract base and an implementation to avoid internal constructors.
- Changed the parser and corresponding smart indenter to take in document trackers, template engine factories and parser context change listeners. Of these additions the parser context change listeners will be deprecated once we own the TagHelper discovery mechanisms.
- Changed how the parser manages its internal parsing life cycle. It now creates template engines when the document tracker tells it to. So when project changes happen or new documents are opened the parser will re-instantiate its internal parser to ensure that it is parsing against the correct configurations.
- Removed all accessor services in favor of a singular RazorEditorFactoryService. This service is responsible for retrieving/creating various Razor components.
- Changed the code document provider to now use the parser provider in order to locate code documents associated with buffers. Prior to this that logic was hard coded.
- Removed old template engine reconstruction logic in the document tracker now that the parser owns that piece.
- Updated tracker to notify listeners when it's unsubscribing. This is how listeners can know when to tear bits down.
- Refactored/added pieces to the `DefaultVisualStudioRazorParser` in order to improve its unit/integration testing ability.
- Updated existing tests to react to new signatures.
- Added new visual studio razor parser tests, uncommented existing ones, and re-enforced ones that were previously flakey.
- Added various tests for the new services added, i.e. text buffer factory service tests.

#1630
2017-10-23 14:39:15 -07:00
Brice Lambson bf23f16c22 Add SQLitePCLRaw.bundle_sqlcipher 2017-10-23 13:48:02 -07:00
Sergei Dorogin a0733ffa91 RazorPageGenerator: extracted creating RazorEngine into a method [refactoring] (#1727)
* RazorPageGenerator: extracted creating RazorEngine into a method to simplify reusing logic in custom generators

RazorPageGenerator: added optional cli argument with base directory  (previously current dir always was used)
2017-10-23 12:44:29 -07:00
Ryan Brandenburg 058d70190a Metapackage false 2017-10-23 11:29:20 -07:00