Commit Graph

32949 Commits

Author SHA1 Message Date
Bjarke Berg
fea86bbf7a Moved the application url to HostingEnvironment and set it in the request middleware 2021-02-08 11:00:15 +01:00
Bjarke Berg
cf81f9b706 Fallback for getting the current published content in UmbracoHelper 2021-02-05 19:48:44 +01:00
Bjarke Berg
ed18fba786 Fixed issue with injected UmbracoHelper hiding the one on the UmbracoViewPage 2021-02-05 19:36:31 +01:00
Bjarke Berg
c3fbfa1280 Fixed issues with embed serialization + view
added missing view for grid media
Fix missing negation
2021-02-05 19:23:58 +01:00
Bjarke Berg
7c4982a04d Fixed issues with embed serialization + view
added missing view for grid media
+ Fixed null issues in js
2021-02-05 18:41:52 +01:00
Bjarke Berg
7949f12377 casing issues + missing semicolon in view 2021-02-05 17:17:59 +01:00
Bjarke Berg
39e9daf11a lowercasing names 2021-02-05 16:32:35 +01:00
Bjarke Berg
fb7f4cf55b temp rename file 2021-02-05 16:31:33 +01:00
Bjarke Berg
36e1c012d4 lowercasing files 2021-02-05 16:31:14 +01:00
Bjarke Berg
fe9410713e Temp move files before lowercasing them 2021-02-05 16:28:55 +01:00
Bjarke Berg
c876cb3583 Added Views to template and fixed casing issue for linux 2021-02-05 14:41:33 +01:00
Bjarke Berg
359f188274 Casing issues fixed for linux/docker 2021-02-05 14:01:46 +01:00
Bjarke Berg
c98efe047f Cleanup of duplicate entries in csproj and disabled compiled views as default from template (To work with purelive) 2021-02-05 12:27:30 +01:00
Bjarke Berg
f2b2e95c15 Merge pull request #9762 from umbraco/netcore/task/Surface-Routing-9717
SurfaceController routing for netcore
2021-02-05 10:12:10 +01:00
Mole
f8c7b9e639 Merge pull request #9748 from umbraco/netcore/feature/healthchecks
NetCore: Updated healthchecks
2021-02-05 09:55:07 +01:00
Shannon
891ba8c9e9 fixing build 2021-02-05 13:26:28 +11:00
Shannon
967c150180 Merge branch 'netcore/netcore' into netcore/task/Surface-Routing-9717 2021-02-05 13:22:21 +11:00
Shannon
295e4eb118 Merge branch 'netcore/task/Surface-Routing-9717' of https://github.com/umbraco/Umbraco-CMS into netcore/task/Surface-Routing-9717 2021-02-05 13:14:40 +11:00
Shannon
b883ebfd7d Fixing tests, created constants 2021-02-05 13:14:24 +11:00
Shannon Deminick
7aff288ff1 Apply suggestions from code review
Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2021-02-05 12:32:09 +11:00
Shannon
eed8e4dca8 Fixing tests 2021-02-05 12:19:09 +11:00
Bjarke Berg
97e52122b4 Update src/Umbraco.Core/HealthChecks/Checks/Security/HstsCheck.cs 2021-02-04 13:58:33 +01:00
Shannon
6273c95a90 Gets UmbracoPageResult working with ViewData and TempData 2021-02-04 14:51:55 +11:00
Shannon
eda98aa41f Changes how controllers are discovered, re-uses aspnetcore to do this, rely directly on the resolved ControllerActionDescriptor since this is how routing works anyways and also saves future lookups (perf), gets the UmbracoPageResult 'working' - at least to proxy a controller execution but now we need to do the model state merging, etc... 2021-02-04 13:09:28 +11:00
Bjarke Berg
8bc9d05a3f Better description of success when value is null 2021-02-03 11:37:32 +01:00
Bjarke Berg
53eff154a6 Cleanup and added missing view 2021-02-03 09:12:39 +01:00
Bjarke Berg
3bf36ef705 Fixed links. They are not allowed to contain "/" 2021-02-03 08:05:16 +01:00
Bjarke Berg
027caa05db File moves 2021-02-03 08:00:03 +01:00
Bjarke Berg
0f226b590a updated files before move 2021-02-03 07:58:42 +01:00
Bjarke Berg
8624a246ba Updated healthchecks to show a link to documentation instead of trying to fix something that can often not be fixed automatically. 2021-02-03 07:42:56 +01:00
Shannon
57f3de7652 Removes a ton of old code 2021-02-03 15:59:50 +11:00
Shannon
0c26a82489 Changes the umbraco route values to use http features intead of in route values which is much nicer, fixes the redirect to page result, tests a surface controller POST and it works, ensures the routing takes place before the form check, removes a bunch of old code 2021-02-03 15:47:27 +11:00
Shannon
2dc169457b removes module injector and other migrated code 2021-02-02 18:49:16 +11:00
Shannon
86fd473018 UmbracoRequestBegin and UmbracoRequestEnd part of the core proj and changed to just have a IUmbracoContext reference. Removes IRequestAccessor events, Fixes the DatabaseServerMessengerNotificationHandler weirdness, Removes UmbracoModule and friends and old routing events and statuses 2021-02-02 18:42:39 +11:00
Shannon
9e43ff8662 linting 2021-02-02 17:32:17 +11:00
Shannon
c024db9d3c gets surface controllers and front-end api controllers auto-routed, adds tests 2021-02-02 14:48:01 +11:00
Shannon
2f97265bc0 Moves controller integration tests into correct namespace 2021-02-02 14:46:46 +11:00
Mole
708b7a5430 Handle route data 2021-02-01 13:35:19 +01:00
Mole
d52c084e3b Minor style changes 2021-02-01 13:04:58 +01:00
Bjarke Berg
4fdfec9d71 Added tests that ensure the potential ambigous endpoints are handled correct 2021-02-01 13:04:56 +01:00
Bjarke Berg
14284b64c2 Bugfixes..
- ModelsBuilder: Inject PublishedValueFallback into static Mixins
- ModelsBuilder: Throw exception if compiler can't compile the code
- CheckIfUserTicketDataIsStaleAttribute: Scope issue
- Ambiguous Actions: Couldn't determine the action when empty arrays was passed. Fixed by using more v8 like solution. (Still stupid the client not just have different endpoints)
- Fixed issue with reading the body from post requests. Often we where not allowed to seek in the stream.
- UmbracoHelper: Made available on UmbracoViewPage
- Client entity.resource.js: Don't ask server when getByIds has 0 ids.
- Client content.resource.js: Renamed endpoint GetEmptyBlueprint to avoid ambiguous action name
2021-02-01 13:04:45 +01:00
Shannon
d5f595def2 Enables the Action htmlhelperextension for surface controllers 2021-02-01 17:57:15 +11:00
Shannon
a0cbff2868 linting 2021-02-01 17:53:40 +11:00
Shannon
a974ba71fd linting 2021-02-01 17:50:20 +11:00
Shannon
2a41cec263 Ensures the default PublishedModelFactory is always registered. Ensures AddModelsBuilder is done when adding the website (not required for the back office). 2021-02-01 16:53:24 +11:00
Shannon
624739e697 Streamlines HtmlAgilityPack dependency 2021-02-01 15:39:28 +11:00
Shannon
dd90193365 makes MB event an INotification 2021-02-01 15:37:41 +11:00
Bjarke Berg
9b01f24b1c Merge pull request #9721 from umbraco/netcore/feature/AB10090-migrate-published-x-extensions
NetCore: Published X Extensions classes migration
2021-01-28 10:18:25 +01:00
Mole
1f6b942af7 Merge pull request #9694 from umbraco/netcore/feature/net5
Netcore: Updated to .NET 5
2021-01-28 09:46:07 +01:00
Elitsa Marinovska
a6ecf1b401 Merge remote-tracking branch 'origin/netcore/feature/net5' into netcore/feature/AB10090-migrate-published-x-extensions 2021-01-26 11:24:09 +01:00