Commit Graph

21729 Commits

Author SHA1 Message Date
sornaks 9f3433acec WebFX 156 - Introducing RedirectPermanent.
Merging RedirectPermanent to Redirect.
2014-04-02 15:24:20 -07:00
Chris Ross 2b226c936f Update for latest abstraction contracts. 2014-04-01 17:18:37 -07:00
Chris Ross ee37c75544 Rename Auth Context API Ack to Accept 2014-04-01 17:08:09 -07:00
Chris Ross dfc0c5d323 Change GetAuthType to use a context object instead of a delegate. 2014-04-01 16:29:47 -07:00
Chris Ross c638c74bc9 Move AuthManager methods to Context and Response. 2014-04-01 16:03:54 -07:00
Chris Ross cb982f19bb Update samples. 2014-03-31 13:05:03 -07:00
Chris Ross 60f09fbc93 Make lower level public API. Layering. 2014-03-31 12:47:28 -07:00
Ryan Nowak 87a47f50cc Passing more data to on GetVirtualPath
For link generation to areas, we need to provide the set of values that
the route could potentially provide.

Basically if we know what action we want to reach, we want to know whether
or not a given route could hit that action before giving it the OK to
generate a link.

For instance a route like '{controller}' couldn't hit an action like
'HomeController:DoACoolThing', since it can never provide a value for
'action'. This makes it possible for WebFX to make the right decision
without changing the behavior of any of the routing constructs. This also
has the side-effect of removing a class of order dependencies in routing
that cause bad links to be generated.
2014-03-31 12:05:47 -07:00
Chris Ross 63dc9ad719 Auth: Remove GetAuthType predicate overload. 2014-03-31 12:00:55 -07:00
Chris Ross 60d892b529 Revert new project dependnecy. 2014-03-31 11:28:27 -07:00
Pranav K 90864bcd9c Fixing broken project.json 2014-03-31 11:25:56 -07:00
Pranav K bacc8d1737 * Adding trace listener to ProjectKClone
* Setting Max degrees of parallelism to 4 since too many connections is
* causing MyGet to time out
2014-03-31 11:22:42 -07:00
Chris Ross 097138e813 Auth: Validate acks. 2014-03-31 11:12:22 -07:00
Chris Ross 4347ddfd0f Security contracts. 2014-03-31 11:12:20 -07:00
rowanmiller dabb68cc6d Fix EF InvalidOperationException on Startup
The code that does an 'UPSERT' of seed data on app start was querying
existing instances and attaching as modified of seed instances on the
same context. Now that we track query results this will throw because
the context has two instances of the same entity (same key value).

Swapping to use a temporary context to query existing data.
2014-03-31 10:45:41 -07:00
Chris Ross 83855f8eac Redesign security contracts. 2014-03-31 10:30:57 -07:00
Pranav K bbf51f3556 Re-adding suitable builds 2014-03-31 10:11:55 -07:00
Yishai Galatzer 3e7d8d54f9 CR Feedback
Added and renamed tests
2014-03-31 09:32:47 -07:00
Yishai Galatzer ff5d919e0d Remove unused usings 2014-03-31 09:31:50 -07:00
Yishai Galatzer cd0528b1b2 Link generation related tests 2014-03-31 09:31:49 -07:00
Yishai Galatzer 77ef7a5cde RouteConstraints Step II + III
Include Url Generation support
Add unit tests
Clean issues found by unit tests
2014-03-31 09:31:48 -07:00
Pranav K b705f363ab Update snapshot dependencies to not use suitable build 2014-03-31 06:27:56 -07:00
David Fowler a18e037578 Updated samples to use new hosting APIs 2014-03-31 02:44:09 -07:00
David Fowler 351964878f Updated task package 2014-03-29 03:19:45 -07:00
David Fowler 2b87a625d9 Updated clr packages 2014-03-29 01:15:28 -07:00
Chris Ross af1a97cd7c WebListener: Normalize request read validation. 0 size is invalid. Return 0 if closed. 2014-03-28 11:03:09 -07:00
Pranav K 50f4fff510 Updating CoreCLR package versions 2014-03-28 09:28:23 -07:00
Pranav K 3fa5f9ca47 Updating CoreCLR package versions 2014-03-28 06:32:26 -07:00
Pranav K eaddb29577 Updating CoreCLR package versions 2014-03-28 06:03:23 -07:00
Pranav K e019e67325 Updating CoreCLR package versions 2014-03-28 05:53:01 -07:00
David Fowler 36a2524780 Updated CLR dependencies 2014-03-28 00:23:16 -07:00
David Fowler a42fcb72b3 Update to new version of Tasks 2014-03-28 00:04:30 -07:00
David Fowler edb931bb2d Fixed interop services package version. 2014-03-27 22:45:20 -07:00
David Fowler 0767bb104e Updated package versions. 2014-03-27 22:33:28 -07:00
Pranav K b366cb1cd0 Updating CoreCLR package versions 2014-03-27 18:30:24 -07:00
Pranav K 6ff5ebafd2 Updating CoreCLR package versions 2014-03-27 17:30:36 -07:00
Praburaj 2a19ec7b2a Simplifying the options to the error page middleware. 2014-03-27 16:23:58 -07:00
Praburaj 4fc1857994 Fixing a code review comment to change the app name from "BugTracker" to "MusicStore" 2014-03-27 16:20:25 -07:00
Praburaj 5eacb62b62 A few changes with this checkin:
1. Adding scripts to self host & custom host Music store
2. Updating readme
3. Cleanup some helper classes that are not necessary.
4. Adding error page middleware for diagnostics.
5. Flipping the switch to run helios on "K" by default.
2014-03-27 16:10:16 -07:00
Yishai Galatzer db7b36a859 Fix merge errors 2014-03-27 11:01:04 -07:00
Yishai Galatzer 70e26a80ad CR Feedback 2014-03-27 10:58:15 -07:00
Yishai Galatzer a917cbd577 Constraints 2014-03-27 10:58:14 -07:00
Ryan Nowak cf16d6cba7 Small refactor of TemplateBinder
We'll need to access the accepted values to do proper link generation, so
separating this process out into 2 parts.

Also moving defaults into the TemplateBinder because they are conceptually
part of the route, not part of the request. I'll do the same for
TemplateMatcher soon, but it's a big change and worth separating.
2014-03-26 18:44:57 -07:00
Pranav K 8b2137189e Add finish build triggers along with snapshot dependencies when updating TeamCity dependencies 2014-03-26 17:16:00 -07:00
Chris Ross 3ff8eba3a7 Rename test project as FunctionalTests. 2014-03-26 14:28:54 -07:00
Chris Ross a7210c9938 Test: Move xunit attribute to AssemblyInfo. 2014-03-26 14:19:12 -07:00
Yishai Galatzer 89828f6a92 Add missing reference to project.json and include version in routing 2014-03-26 13:13:14 -07:00
Pranav K ccaaaeb392 Adding asmdiff.shade 2014-03-25 22:19:14 -07:00
rowanmiller fe9770cc80 Use OnModelCreating & OnConfiguring (plus some other cleanup)
Swapping context to use OnModelCreating & OnConfiguring now that models
are cached
Adding some [Required] annotations to properties that are really
required in the domain model
Renaming Cart => CartItem because that's what it really is :)
Allowing database to hold some null data now that we can materialize it
(although we can't save it yet)
2014-03-25 16:01:01 -07:00
Chris Ross aed5b9a1c9 Convert tests to K test. 2014-03-25 15:42:50 -07:00