Commit Graph

436 Commits

Author SHA1 Message Date
Claus
9ac3885488 Merge pull request #7596 from umbraco/v8/feature/7292-memberhasaccess
Adds new methods to MembershipHelper for dealing with checking bulk paths for access
2020-08-06 08:22:45 +02:00
Warren Buckley
df19ca45a0 Make this a sucessful login even though they have no start nodes - so our SPA app can decide in the UI what to do/show 2020-04-02 15:35:21 +01:00
Erik-Jan Westendorp
0a79e28205 #7803 Add EditorGroupAlias and WriterGroupAlias to Constants cl… (#7804) 2020-03-24 14:03:51 +01:00
Shannon
88df0fe691 Adds new methods to MembershipHelper for dealing with checking bulk paths for access 2020-02-07 00:17:21 +11:00
emma burstow
c7cceedbd6 Merge branch 'v8/contrib' into pr/5917 2020-01-30 10:50:47 +00:00
elitsa
35d021237e Added a cookie path claim on user login, so that we can validate requests for xsrf token 2019-12-11 14:33:21 +01:00
Ronald Barendse
34008edd34 Fix issues with added PanicException 2019-11-15 09:15:12 +01:00
Ronald Barendse
9f19546c42 Validate options argument and authentication type 2019-11-14 00:10:16 +01:00
Ronald Barendse
ed90e71f76 Removed usage of obsoleted ArgumentNullOrEmptyException 2019-10-07 22:10:21 +02:00
Shannon
0a12f86108 Moves the reserved path detection to RoutableDocumentFilter, adds caching to MVC route detection 2019-09-10 16:09:09 +10:00
Kenn Jacobsen
e69784caf8 Merge branch 'v8/dev' into v8-fix-login-user-without-start-nodes 2019-07-30 13:36:41 +02:00
Kenn Jacobsen
f27b754967 Update src/Umbraco.Web/Security/BackOfficeSignInManager.cs
Co-Authored-By: Ronald Barendse <ronald@barend.se>
2019-07-25 07:40:44 +02:00
Kenn Jacobsen
f4d8f58505 Update src/Umbraco.Web/Security/BackOfficeSignInManager.cs
Co-Authored-By: Ronald Barendse <ronald@barend.se>
2019-07-25 07:40:38 +02:00
Frans de Jong
1c6bf55e5d GetCurrentLoginStatus()
In the summary of MembershipHelper.GetCurrentLoginStatus() it states that null will be returned when no member is logged in but that isn't the case (anymore?).
2019-07-23 13:02:11 +02:00
Shannon
817a458334 Merge remote-tracking branch 'origin/v7/7.15' into v8/8.1
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/UmbracoVersion.cs
#	src/Umbraco.Web.UI/packages.config
2019-07-18 16:22:38 +10:00
Shannon
f3bfc1ffb2 Puts back UmbracoAntiForgeryAdditionalDataProvider for backwards compat reasons but it is not used 2019-07-18 16:18:11 +10:00
Kenn Jacobsen
3031459b8a Don't allow logins for users with no content and/or media start nodes 2019-07-16 19:44:11 +02:00
Shannon
b675f6252c removes files (should have been part of cherry pick?), fixes logic 2019-07-16 23:07:31 +10:00
Shannon
d52420183e Cherry picks ValidateUmbracoFormRouteStringAttribute implementation and fixes up some logic 2019-07-16 23:03:26 +10:00
Ronald Barendse
b0c4042e87 Removed UmbracoAntiForgeryAdditionalDataProvider 2019-07-15 10:16:09 +02:00
Bjarke Berg
be587b2064 https://umbraco.visualstudio.com/D-Team%20Tracker/_workitems/edit/1085 - Creates a custom IAntiForgeryAdditionalDataProvider that provides and validates custom token data in the request which allows having a custom AF token per form created with BeginUmbracoForm 2019-06-26 14:15:26 +02:00
Shannon
3e74bbfb45 Creates a custom IAntiForgeryAdditionalDataProvider that provides and validates custom token data in the request which allows having a custom AF token per form created with BeginUmbracoForm 2019-06-25 14:35:28 +10:00
Sebastiaan Janssen
c03a4d978b Use int.MinValue instead of calculating from SuperUserId 2019-05-06 08:22:03 +02:00
Sebastiaan Janssen
e5839a89cd Fixes references to the "SuperUser" which used to have user Id 0, but now has userId -1 2019-05-02 14:56:12 +02:00
Stephan
7a6884d208 Rename mapper stuff 2019-04-03 10:39:49 +02:00
Stephan
c5f934930e Merge branch 'v8/dev' into v8/feature/284-auto-mapper 2019-04-02 12:03:05 +02:00
Stephan
70c2090a56 Refactor more mappers - AutoMapper gone now 2019-03-27 09:15:32 +01:00
Stephan
ef5646fa3b Cleanup, reduce AutoMapper exposure 2019-03-27 09:15:31 +01:00
Kenn Jacobsen
4d0d17eb1b Remove params overloads on MembershipHelper 2019-03-26 15:11:05 +01:00
Kenn Jacobsen
64bae439bf Fix stuff from review 2019-03-26 08:44:03 +01:00
Kenn Jacobsen
36827cfa9f Move some of the multiget member methods to MembershipHelper 2019-03-08 07:31:39 +01:00
Shannon
45f7e71787 Merge remote-tracking branch 'origin/temp8' into temp8-umbhelper-vs-umbcontext-cleanup 2019-02-15 13:09:26 +11:00
Shannon
6f7e1cac3e Merge branch 'temp8' into temp8-contexts 2019-02-15 12:55:17 +11:00
Shannon
02e3a8f19c Removes all inter-dependencies between UmbracoContext, UmbracoHelper and MembershipHelper and moves Html methods to HtmlHelper extensions. This simplifies UmbracoHelper and MembershipHelper to not require huge dependencies and splits the logic in a nicer fashion instead of wrapping everything 2019-02-15 11:43:56 +11:00
Shannon
6a49f1f99d no need for a Current. usage here 2019-02-15 11:27:33 +11:00
Sebastiaan Janssen
5a482a49bf Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
2019-02-14 18:14:46 +01:00
Shannon
f814a80ab7 Fixes the ContentSaveValidationAttribute since it was capturing a request based object in it's ctor when it's a singleton, moves the OnlyLocalRequestsAttribute to the correct namespace, WebSecurity shouldn't be IDisposable 2019-02-14 11:37:27 +11:00
Stephan
29f2f34f9b Refactor IContent vs IContentType 2019-02-05 14:06:48 +01:00
Shannon
c5819ca702 Merge branch 'temp8' into temp8-macros-dont-render-and-other-macro-bugs
# Conflicts:
#	src/Umbraco.Web/Editors/EntityController.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Runtime/WebRuntimeComposer.cs
2019-02-04 12:42:07 +11:00
Shannon
bb64141207 removes obsolete method 2019-02-01 16:35:10 +11:00
Warren Buckley
69f7a1b7b9 Finish up remaining AppSetting keys as Constants 2019-01-31 12:05:56 +00:00
Stephan
a6f9598a23 Introduce IPublishedRouter 2019-01-31 11:07:45 +01:00
Shannon
2a54b2931c Removes providers section from umbraco settings 2019-01-31 01:20:19 +11:00
Chris Houston
193e24afd2 Fixing all the TODO, FIXME & HACK comments so they all follow the same layout. 2019-01-27 11:16:00 +01:00
Chris Houston
0b6ba5aa52 Temp8 - Fixing spelling / typos etc in Umbraco.Web (#4148) 2019-01-26 16:52:19 +01:00
Stephan
c840895f90 Deal with more fixme 2019-01-22 09:49:35 +01:00
Stephan
67e4703821 CacheHelper becomes AppCaches 2019-01-17 08:34:29 +01:00
Stephan
19ae9f5dee Refactor configuration for DI 2019-01-07 19:40:07 +01:00
Stephan
adced099be Move UmbracoConfig singleton to Current 2018-12-12 23:31:16 +01:00
Stephan
49a0b68b28 IContainer is IRegister+IFactory 2018-11-28 11:05:41 +01:00