Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from original #1

Merged
merged 69 commits into from
Nov 29, 2015
Merged

Update from original #1

merged 69 commits into from
Nov 29, 2015

Conversation

engern
Copy link
Owner

@engern engern commented Nov 29, 2015

No description provided.

bjarnef and others added 30 commits October 20, 2015 22:28
…o allow button to scale for different translations
Changed thumbnail paths to include rnd equal to UpdateDate
…nderMvcController if developers want access to an async Index action.
…that MVC takes care of everything regarding async vs non-async and any controller descriptor/action descriptor lookups and cache. Creates a RenderIndexActionSelectorAttribute - this is used to decorate the underlying RenderMvcController.Index action. MVC will call into this method to check if the MethodInfo is valid, we then do a quick comparison of types, if the current type is the same as the reflected type, this means that the Index action has been overridden or there is no custom controller... lets use it. If the types don't match we'll do a simple reflected lookup to check if the reflected controller type (current controller) has more than one index action, if so, it means that a custom controller is in play and it has a custom index action... so we won't use the base class action and then it's up to MVC to find any other matching Index action based on the current request parameters. Added some tests for this too.
…th middleware configured for the current user is called for sign out. Updates our cookie middleware provider to also ensure that our custom cookies are cleared when signing out with OWIN.
…ding expiration of the cookie/ticket when the user is supposed to be always logged in to 30 minutes in case the timeout is actually set very low in config.
…es but because we have Webforms, WebApi, MVC and OWIN, they all like to deal with cookies differently. OWIN should still be solely in charge of the auth cookies, so the auth extensions are cleaned up, the renewal now works by queuing the renewal and we have custom middleware detect if a force renewal has been queued and we renew the auth cookie there. Have obsoleted a few methods that should not be used that write auth tickets directly (this is purely for backwards compat with webforms). All of these changes now ensure that the auth cookie is renewed consistently between Webforms, WebApi, MVC and OWIN. Some changes also include ensuring that OWIN is used to sign out.
Realized that we don't need to convert the exisitng dictionary to a new
dictionary.
Split Get and Post into 2 separate methods to maintain backwards
compability
Shazwazza and others added 28 commits November 25, 2015 11:01
Add message to login screen if Caps Lock is on
U4-7307 Windows Authentication prompts for Windows login after Umbrac…
Changed web api GetBigThumbnail to image processor
This reverts commit 14265fc, reversing
changes made to 18c3345.

Conflicts:
	src/Umbraco.Web.UI.Client/src/views/propertyeditors/fileupload/fileupload.controller.js
	src/Umbraco.Web/Editors/ImagesController.cs
…en rendering template names html encodes the names.
Fixes U4-6340 : Partial view macro with parameters not working in RTE and Grid (backend)
… to use a Model to post with the same Action name
This reverts commit f0e1460.

Conflicts:
	src/Umbraco.Web.UI.Client/bower.json
…low with some error messaging, converts some String -> string and == false updates.
…bracoBackOfficeCookieAuthOptions. Ensures that when a webforms page requests token renewal that the token is not always renewed for the request, it checks if the tokens expiry correctly and only renews when necessary so the cookie is not written each time. Fixes the ForceRenewalCookieAuthenticationHandler to only write a cookie if the request is for a request that is not normally auth'd (i.e. is a webforms form that exists outside the normal /umbraco path ... legacy).
…w, ensures that it only extends the ticket when necessary and not everytime this middleware is called - the same logic that OWIN normally renews tickets with, this means the cookie is not written everytime this request is made.
engern added a commit that referenced this pull request Nov 29, 2015
@engern engern merged commit ad591c0 into engern:dev-v7 Nov 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
10 participants