Commit Graph

181 Commits

Author SHA1 Message Date
Bjarke Berg
b5f0a7348d Avoid using Current.IOHelper 2020-06-08 08:51:50 +02:00
Andy Butland
458de2b0be Migrated tree related classes to .NET core 2020-06-07 09:34:32 +02:00
Bjarke Berg
8694498583 Fix for model in templates 2020-06-05 13:31:08 +02:00
Bjarke Berg
1d543d1dfd Migrated MacroRenderingController + Related UmbracoComponentRenderer => TemplateRenderer + ParitalViewMacroEngine 2020-06-05 06:31:42 +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
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
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
670d62a2dc Gets cookie authentication actually working along with session validation 2020-06-02 17:48:08 +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
Bjarke Berg
58c70c3a90 Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI.NetCore/Umbraco/config/lang/en_us.xml
2020-05-29 13:02:27 +02:00
Bjarke Berg
dca04b3dd7 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Web.UI.Client/src/views/users/user.controller.js
#	src/Umbraco.Web/Models/Trees/MenuItemList.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Trees/RelationTypeTreeController.cs
#	src/Umbraco.Web/UmbracoApplication.cs
2020-05-29 12:59:42 +02:00
Bjarke Berg
c3606b31ce https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Clean up and fixed issue with Ambiguous actions 2020-05-28 15:20:02 +02:00
Bjarke Berg
31dc9b079b https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Moved PackageController and added VersionConverter on AngularJsonMediaTypeFormatter, instead of having single attribute only used for PackageController 2020-05-27 08:30:00 +02:00
Bjarke Berg
71a8cb6d35 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated DataTypeController + Fixed injection of services to UmbracoApplicationAuthorizeAttribute 2020-05-26 14:42:19 +02:00
Bjarke Berg
e879c5c7d9 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6587 - Migrated CodeFileController 2020-05-26 13:08:20 +02:00
Shannon
9dcad544a9 Implements more BackOfficeController and AuthenticationController, some web security and more, gets the back office UI almost rendering 2020-05-25 23:15:32 +10:00
Shannon
0730867d74 Gets default.cshtml rendering what should work, had to update quite a few things to get to this point, now need to figure out why it doesn't start booting angular. 2020-05-25 19:37:16 +10:00
Shannon
cf58782093 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/identity
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
2020-05-21 15:46:43 +10:00
Shannon
f47ceb8bbe Implements more of identity and makes it more specific to the back office (less intrusive), starts adding cookie auth 2020-05-21 15:43:33 +10:00
Bjarke Berg
ea300f61ce Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/AB6586-migrate_controllers 2020-05-20 13:30:02 +02:00
Bjarke Berg
bff9477c31 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated ExamineManagementController 2020-05-19 14:02:12 +02:00
Bjarke Berg
35680bba46 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated DashboardController and BackOfficeAssetsController 2020-05-19 09:52:58 +02:00
Mikulas Tomanka
df2d1fb4da use sql main dom lock when linux and ignore config setting 2020-05-19 09:45:31 +02:00
Bjarke Berg
e7354c9b45 Merge pull request #8124 from umbraco/netcore/feature/boot-failed-exception
boot failed exception handling
2020-05-19 07:50:06 +02:00
Shannon
95d695594a Ensure we capture boot failed exception earlier and ensure that composers registered to run on boot failed are executed 2020-05-19 14:51:05 +10:00
Bjarke Berg
4ca6868553 https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated TourController 2020-05-18 15:19:52 +02:00
Bjarke Berg
287f379c1b Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore 2020-05-18 12:01:18 +02:00
Bjarke Berg
5e131ebafb Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-05-18 11:51:55 +02:00
Shannon
06ce62d922 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/boot-failed-exception 2020-05-18 16:20:25 +10:00
Shannon
1cf8fb376c Merge branch 'netcore/feature/auto-routing' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/auto-routing 2020-05-18 15:35:34 +10:00
Shannon
a84bcdd6ae fix ctor, fix usages of GetBackOfficeUrl 2020-05-18 15:35:20 +10:00
Shannon
027b449cb6 fixes virtual path 2020-05-18 15:16:09 +10:00
Shannon Deminick
074a174139 Update src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-05-18 15:15:53 +10:00
Shannon Deminick
5dc0dfb5ad Update src/Umbraco.Web.Common/Extensions/LinkGeneratorExtensions.cs
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-05-18 15:12:30 +10:00
Andy Butland
b2e12f400c Migrated OnlyLocalRequestsAttribute into netcore 2020-05-16 19:17:08 +02:00
Andy Butland
c681b4a835 Migrated HttpQueryStringModelBinder into netcore. 2020-05-16 09:41:54 +02:00
Bjarke Berg
515d43e11b Merge branch 'netcore/netcore' into netcore/feature/auto-routing
# Conflicts:
#	src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
2020-05-15 14:10:03 +02:00
Andy Butland
8ae0e12512 Removed global setting of content model binder and used encoded URL in model binding exception filter redirect. 2020-05-15 10:33:09 +02:00
Shannon
3d9603e669 Migrates more logic from the umb module over to netcore 2020-05-14 22:50:27 +10:00
Shannon
88f6d09ef9 Enables the boot failed exception logic 2020-05-14 22:14:00 +10:00
Shannon
3ebf8a969c naming 2020-05-14 21:20:06 +10:00
Shannon
dced6dc791 2 diff areas for the back office so views can be stored in a nice place, updates tests to verify controllers are attributed with correct areas 2020-05-14 21:12:41 +10:00
Shannon
ac6f691208 Adds tests for all routes and fixes up some of the issues 2020-05-14 20:59:29 +10:00
Shannon
18a1a72349 writes tests for endpoint routes 2020-05-14 18:08:59 +10:00
Shannon
e3591923c3 Gets auto-routing back office api controllers working, lots of notes 2020-05-14 17:04:16 +10:00