Commit Graph

34039 Commits

Author SHA1 Message Date
Shannon
2b412f337c Fixes issue with growing cookie/identity (we don't want to use Actor), fixes GlobalSettings issue, ensures temp claims are not cloned 2020-06-09 17:40:35 +10:00
Shannon
246e28d147 Implements PostLogout and ensures all appropriate cookies are cleared on logout along with ensuring that the ticket is renewed each user seconds request if configured to stay logged in. 2020-06-09 14:36:36 +10:00
Shannon
9b991f3882 Fixes back office check, adds more tests, changes area to be a constant 2020-06-09 13:01:05 +10:00
Shannon
ed2aba49d6 fix build, adds tests 2020-06-09 12:35:31 +10:00
Shannon
433a7c8908 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/get-remaining-seconds
# Conflicts:
#	src/Umbraco.Web/Editors/AuthenticationController.cs
2020-06-09 10:41:57 +10:00
Bjarke Berg
57a087861c Merge pull request #8242 from AndyButland/feature/netcore-trees
Netcore: Migrated some tree related classes
2020-06-08 15:19:04 +02:00
Bjarke Berg
c35d2c0793 Migrated section controller + LanguageTreeController, ApplciationTreeController.
Updated AngularJsonOnlyConfigurationAttribute to be a TypeFilterAttribute, to allow injeciton into the filter.

Fixed test
2020-06-08 14:07:36 +02:00
Bjarke Berg
af382e5e71 Migrated section controller + LanguageTreeController, ApplciationTreeController.
Updated AngularJsonOnlyConfigurationAttribute to be a TypeFilterAttribute, to allow injeciton into the filter.

Note: Left TODO about checking authorization of proxied trees..
2020-06-08 13:14:23 +02:00
Andy Butland
458de2b0be Migrated tree related classes to .NET core 2020-06-07 09:34:32 +02:00
Bjarke Berg
354225452a Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-06-05 08:14:23 +02:00
Bjarke Berg
58d7fc1817 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/gulp/tasks/watchTask.js
2020-06-05 08:05:50 +02:00
Bjarke Berg
1231ef78db Merge pull request #8230 from umbraco/netcore/feature/AB6961-IWebSecurity-injection
Netcore: Removing UmbracoContext.Security usages
2020-06-05 07:47:19 +02:00
Bjarke Berg
10fe1ec47b Fixed tests by registering IWebSecurity in the container in the base test class 2020-06-05 07:17:19 +02:00
Bjarke Berg
6a560d6340 Fixed tests 2020-06-05 06:36:42 +02:00
Elitsa Marinovska
582903b597 Null check 2020-06-04 15:16:34 +02:00
Elitsa Marinovska
7b93130690 Changing to the specific property 2020-06-04 13:55:48 +02:00
Elitsa Marinovska
68488eb5a7 Another round of injecting webSecurity directly 2020-06-04 13:55:07 +02:00
Elitsa Marinovska
42fba97af9 Removing the need of requesting umbracoContext to get the web security service 2020-06-04 13:53:06 +02:00
Elitsa Marinovska
e32d5bb9b9 Injecting IWebSecurity directly instead of getting it through UmbracoContext.Security 2020-06-04 13:40:33 +02:00
Bjarke Berg
b2b0291386 Netcore: Migration of more controllers (#8220)
* https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated DictionaryController, TinyMceController and UpdateCheckController

* Removing connection string and changing to use the right variable

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2020-06-03 17:17:30 +02:00
Shannon
b421cc67f4 moves test 2020-06-03 18:25:54 +10:00
Shannon
0d0b3324fb Merge branch 'netcore/feature/websecurity' into netcore/feature/get-remaining-seconds 2020-06-03 18:11:59 +10:00
Shannon
4ca87d8923 Merge branch 'netcore/feature/websecurity' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/websecurity 2020-06-03 18:10:54 +10:00
Shannon
846432111d fixes tests 2020-06-03 18:10:35 +10:00
Shannon
6004a0fb44 wip starts migrating get remaining seconds, removes a bunch of code from netframework thats already been moved. 2020-06-03 17:47:32 +10:00
Bjarke Berg
396d7e9b31 Updateded the ValidateAngularAntiForgeryTokenAttribute to use the IBackOfficeAntiforgery instead of default IAntiforgery 2020-06-03 09:09:25 +02:00
Shannon
d024443b23 Converts FromClaimsIdentity to a bool method 2020-06-03 15:00:39 +10:00
Shannon
bba0eceac0 removes notes 2020-06-03 14:30:55 +10:00
Shannon
7ac01fc02f Merge branch 'netcore/netcore' into netcore/feature/websecurity
# Conflicts:
#	src/Umbraco.Web.BackOffice/Filters/OnlyLocalRequestsAttribute.cs
2020-06-03 13:26:40 +10:00
Shannon Deminick
a7a463c7d4 Merge pull request #8183 from umbraco/netcore/feature/identity
Back office identity changes and cookie authentication
2020-06-03 12:55:57 +10:00
Shannon
c6481bdabb Migrates another methods of authentication controller over along with calculating the ticket's remaining seconds 2020-06-03 12:47:40 +10:00
Shannon
6c59f26c83 Ensures the required ajax headers are sent up in the back office, adds notes. 2020-06-03 11:20:53 +10:00
Shannon
e70d98d3d5 Merge branch 'netcore/feature/identity' into netcore/feature/websecurity 2020-06-03 10:53:09 +10:00
Shannon
95ed6d01a2 removes uneeded file 2020-06-03 10:52:11 +10:00
Shannon
d1a95b2498 adds notes 2020-06-03 10:29:10 +10:00
Claus
c22f6f51d1 Merge pull request #8218 from umbraco/v8/bugfix/clipboard-typofix
Fix up typo for clipboardService.registrerClearPropertyResolver & mark incorrect as deprecated
2020-06-02 13:28:58 +02:00
Sebastiaan Janssen
9829d4abef Merge branch 'v8/dev' into v8/contrib 2020-06-02 11:41:09 +02:00
Chad
a4274ba767 Shorter JSON property names for nucache (#8204) 2020-06-02 11:35:19 +02:00
Warren Buckley
4d497053a3 Fix up typos & mark incorrect as deprecated 2020-06-02 09:08:43 +01:00
Shannon
670d62a2dc Gets cookie authentication actually working along with session validation 2020-06-02 17:48:08 +10:00
Shannon
22c842f2e5 fixes service registration 2020-06-02 14:51:27 +10:00
Shannon
4afaade436 Gets WebSecurity implemented 2020-06-02 14:46:58 +10:00
Shannon
ea58dce644 implements logic to log the user in on install 2020-06-02 13:47:58 +10:00
Shannon
b75fba71f5 Cleaning up websecurity and implementing it, migrates security stamp and session id validation for cookie auth 2020-06-02 13:28:30 +10:00
Shannon
d85fc0d353 fixes last tests 2020-06-01 18:15:57 +10:00
Shannon
3ead22a46a fixes remaining tests and updates views 2020-06-01 17:07:19 +10:00
Shannon
39eebe82cd set the response correctly 2020-06-01 16:42:44 +10:00
Shannon
914e261d86 fix ContentSaveValidationAttribute which does not actually do the permissions check 2020-06-01 16:40:34 +10:00
Shannon
f92f34934f fix remaining tests 2020-06-01 16:40:04 +10:00
Shannon
793bbbab5b Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/identity-temp 2020-06-01 15:51:56 +10:00