Commit Graph

40898 Commits

Author SHA1 Message Date
Hao Kung 850ba6375d React to AuthN/Z changes 2015-03-02 16:31:35 -08:00
Hao Kung 46aaf790c4 React to AuthN changes 2015-03-02 16:14:38 -08:00
Hao Kung c08721c7b3 React to AuthN renames 2015-03-02 15:37:35 -08:00
Hao Kung 775eb5ece4 Split Security into AuthN/AuthZ
AuthenticationType -> Scheme
Move Active/Passive into AutomaticAuthenticationHandler
Security -> Authorization/Authentication assemblies
401-403 logic
Switch from ClaimsIdentity to ClaimsPrincipal
2015-03-02 15:33:52 -08:00
Hao Kung de1e8763dd Security -> Authentication
AuthN renames and design changes
2015-03-02 15:25:52 -08:00
Doug Bunting ae4cafc002 Correct evaluation of expression result in `GenerateSelect()`
- #1468
- Always use `ModelExplorer` in `<select/>`, `DropDownListFor()` and `ListBoxFor()` cases
 - allows evaluation of more-complex expressions
- Use `ViewData.Model` in `DropDownList()` and `ListBox()` template cases
 - `ViewData` was previously ignored in these cases

nit: change `ViewDataDictionary.Eval()` to return `Model` if `expression` is `null` or empty
- now `throw` on `null` or empty `expression` name in `ViewDataEvaluator.Eval()`
- simplifies some of the higher-level code
 - no change to `selectList` fallback; `Model` incorrect for that case
 - no change to `GenerateRadioButton()`; would change behaviour unrelated to #1468
  - this helper uses incorrect `ViewData` lookup text, see #1487
2015-03-02 12:07:43 -08:00
Praburaj e447546e4e Reacting to hosting API changes 2015-03-02 12:03:01 -08:00
Praburaj 747f4137c6 Reacting to Hosting API changes 2015-03-02 11:56:44 -08:00
Praburaj d6535eeba0 Rename IHttpContextAccessor.Value to IHttpContextAccessor.HttpContext
Fixes: https://github.com/aspnet/Hosting/issues/160
2015-03-02 10:38:37 -08:00
Eilon Lipton 16c8d51d0b Fixes #76 - improve error messages in Hosting
Removed the TODOs from messages, and generally made them more readable.
2015-03-01 22:55:27 -08:00
Doug Bunting 28561e9924 Follow up to `ModelExplorer` creation
- see commit 9d5364c
- never correct to pass a `Func<object>` to `GetExplorerForExpression()`
- `<label/>` tests succeeded because that tag helper doesn't use expression result
- `<select/>` tests succeeded because that tag helper gets result from `ViewData`
 - does not use `ModelExplorer` due to #1468

nit: update variable names `metadata` -> `modelExplorer`
2015-03-01 09:39:36 -08:00
Eilon Lipton 653cb005cb Update README.md 2015-02-28 10:35:35 -08:00
Eilon Lipton 2f960b9e3b Merge pull request #206 from ajuckel/dev
Remove space from ISignOutContext filename
2015-02-28 10:33:26 -08:00
Anthony W. Juckel ba2c06072e Remove space from ISignOutContext filename 2015-02-28 01:20:25 -06:00
Praburaj 698af6d1d3 Reacting to hosting API changes 2015-02-27 16:18:05 -08:00
Levi B e9fb79a4fb React to rename: AddEncoders -> AddWebEncoders 2015-02-27 14:48:13 -08:00
Levi B 04707ccaa0 Add unit tests for the service provider extensions 2015-02-27 14:44:12 -08:00
Levi B a1dbce9065 Rename AddEncoders -> AddWebEncoders 2015-02-27 12:55:55 -08:00
Suhas Joshi eeb6c983fe Update to new version of Linq.Expressions 2015-02-27 11:48:46 -08:00
Praburaj 6bf5eabd9f Hosting API review # 2
1. Moving HostingUtilities and PipelineInstance into internal namespaces.
2. Renaming some properties in IHostingEnvironment
3. Renaming IHttpContextAccessor HttpContext into Value.

Addresses:
https://github.com/aspnet/Hosting/issues/159
https://github.com/aspnet/Hosting/issues/157
https://github.com/aspnet/Hosting/issues/161
2015-02-27 11:30:38 -08:00
Levi B eb42bc51fb CodePointFilter parameterless ctor should be empty, not Basic Latin 2015-02-27 11:30:01 -08:00
Levi B 0ca24147a0 Add unit tests and code generation routines 2015-02-27 11:30:00 -08:00
damianedwards 72533d66df Update functional test:
- #1577
2015-02-27 10:44:35 -08:00
damianedwards 8b64e3c7bb Add support for globbing to ScriptTagHelper:
- Fixes #1577
2015-02-27 10:37:36 -08:00
damianedwards 6490b113d8 Make LinkTagHelper JS down-level browser safe:
- #2088
2015-02-27 10:20:29 -08:00
Wei Wang 64ddbe0160 React to runtime perf changes in functional tests 2015-02-27 02:53:46 -08:00
Wei Wang 69294f06d6 React to runtime perf changes 2015-02-27 00:27:29 -08:00
Levi B bf0f94ce20 Store reg keys in a different folder to mitigate impact of renaming changes 2015-02-26 23:46:02 -08:00
Eilon Lipton eb2887e5ef Merge pull request #153 from dtkujawski/dev
Ability to derive Startup from base class
2015-02-26 22:39:07 -08:00
Brennan 3260787f2b NullLogger moved location 2015-02-26 18:16:37 -08:00
Pranav K ed3f5118e3 Reacting to NullLoggerFactory removal 2015-02-26 17:52:50 -08:00
Pranav K 73f44889f2 ViewLocationExpanderContext should have a flag that indicates if the
lookup is for a full or partial view

Fixes #1212
2015-02-26 16:41:54 -08:00
ajcvickers a65ebbf1f1 React to EF change 2015-02-26 15:31:49 -08:00
Praburaj e1301925c0 Reacting to hosting api changes 2015-02-26 12:26:50 -08:00
Praburaj 97d9b2e385 Reacting to hosting changes 2015-02-26 12:19:11 -08:00
Praburaj 435215b542 PR comments 2015-02-26 10:38:39 -08:00
Levi B e4db4b1189 Temporarily store keys in different folder to resolve issues caused by package renaming 2015-02-26 10:35:40 -08:00
Praburaj a2eec4f863 Changing the IHttpContextFactory.CreateHttpContext take in a IFeatureCollection
Addresses: https://github.com/aspnet/Hosting/issues/162
2015-02-25 17:48:46 -08:00
Praburaj fc6b855f42 Changing the AppFunc signature to pass IFeatureCollection
Reaction to bug: https://github.com/aspnet/Hosting/issues/162
2015-02-25 17:43:04 -08:00
Praburaj cb3def5668 Changing signature of AppFunc to pass on IFeatureCollection
Reaction to this fix: https://github.com/aspnet/Hosting/issues/162
2015-02-25 17:40:17 -08:00
Levi B b821b706b7 React to DataProtection rename 2015-02-25 17:31:02 -08:00
Levi B d864b72561 React to DataProtection rename 2015-02-25 17:23:11 -08:00
Levi B 0b1858d5c1 React to DataProtection renaming 2015-02-25 16:59:57 -08:00
Levi B e2ca9fc652 Rename to Microsoft.AspNet.DataProtection
from Microsoft.AspNet.Security.DataProtection
2015-02-25 16:49:33 -08:00
Praburaj 00864c1af4 Hosting API review feedback # 1
Addresses:
https://github.com/aspnet/Hosting/issues/164
https://github.com/aspnet/Hosting/issues/163
https://github.com/aspnet/Hosting/issues/155
https://github.com/aspnet/Hosting/issues/156
https://github.com/aspnet/Hosting/issues/154
2015-02-25 16:05:22 -08:00
Levi B e8e2fbbdeb Reference WebEncoders package 2015-02-25 16:04:36 -08:00
Levi B c5dc9abff6 Doc comment cleanup, API refactorings
Rename CodePointFilters -> UnicodeBlocks
Rework allowed / disallowed code point APIs for ease of use
Move service registration APIs into WebEncoders project
2015-02-25 14:01:17 -08:00
Brennan be7984eebc Logging test objects were copy-pasta from logging repo, removing and using official version 2015-02-25 12:58:51 -08:00
Praburaj fa7956d814 Fixing some more build breaks on net 4.5 projects. 2015-02-25 11:10:46 -08:00
Ajay Bhargav Baaskaran 9f9dcbe6ec Additional functional tests for ElementalValueProvider 2015-02-25 10:22:43 -08:00