Commit Graph

37300 Commits

Author SHA1 Message Date
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
b0e0c38720 Merge pull request #9740 from umbraco/netcore/bugfix/fixes-found-while-building-realistic-site_2
Netcore: Various bugfixes found while building realistic website
2021-02-01 14:25:47 +01: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
Bjarke Berg
04058fb9c6 Merge pull request #9734 from umbraco/netcore/task/MB-cleanup-9973
Cleanup some of the MB changes for netcore
2021-02-01 08:21:35 +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
Elitsa Marinovska
6536cf7ae4 Resolving dependencies & fixes published content tests 2021-01-26 11:19:09 +01:00
Elitsa Marinovska
01c03c19c3 Migrates PublishedContentExtensions.cs, PublishedElementExtensions.cs and PublishedPropertyExtension.cs 2021-01-26 11:17:55 +01:00
Bjarke Berg
9f2a230e4c Merge pull request #9717 from umbraco/netcore/feature/migrate-more-tests
Netcore: Migrate more tests
2021-01-26 08:24:52 +01:00
Bjarke Berg
5a4a3c760d Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5 2021-01-26 08:09:33 +01:00
Bjarke Berg
8bf75a5047 Retry flaky test 2021-01-26 08:09:12 +01:00
Bjarke Berg
6f357a771d Netcore: Replace IUmbracoRequestLifetime with EventAggregator nofitications (#9711)
* AB#9928 - Replace IUmbracoRequestLifetime with event aggregator

* AB#9928 - Fix issue with profiling, by calling it explicitly in the request middleware

* Longer timeout to avoid flaky test

* Longer timeout to avoid flaky test

Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
2021-01-26 07:58:11 +01:00
Bjarke Berg
e0f98d84f6 Migrated RangeTests.cs 2021-01-25 19:34:17 +01:00
Bjarke Berg
1080d36b8e Migrated SqlCeSyntaxProviderTests and removed tests that tested the test framework... 2021-01-25 19:22:58 +01:00
Elitsa Marinovska
21f1b49f16 Fixes missed change from Persistance to Persistence 2021-01-25 12:42:13 +01:00
Bjarke Berg
c79b31ed2e Changed remaining background jobs to be either hosted services or real fire and forget + Cleanup + moved classes to the legacy test project, that is only needed there. (#9700) 2021-01-25 09:26:38 +01:00
Bjarke Berg
4a3941620d Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5 2021-01-25 08:54:37 +01:00
Bjarke Berg
647d6ac5ab Post merge fix (conflicts) 2021-01-25 07:37:05 +01:00
Shannon Deminick
b885bcf193 Merge pull request #9682 from umbraco/netcore/feature/add_support_for_sync_notification_handlers_in_event_aggregator
Netcore: Add support for sync notification handlers in event aggregator
2021-01-25 15:22:41 +11:00
Bjarke Berg
ea10d45393 more retrys for extremely flaky test 2021-01-22 08:34:52 +01:00
Bjarke Berg
c5de3f86de Fix build 2021-01-22 07:46:30 +01:00
Bjarke Berg
c0961337d2 Fix build 2021-01-22 07:15:30 +01:00
Bjarke Berg
08ee15534c Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore 2021-01-21 09:51:36 +01:00
Bjarke Berg
132c4f7910 Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/net5 2021-01-21 09:37:44 +01:00
Bjarke Berg
9f2863892d Merge pull request #9672 from umbraco/netcore/task/models-builder-9789
Get MB with PureLive working for netcore
2021-01-21 09:24:03 +01:00
Shannon
0b2c0da3aa Fixes issue of razor engine not being notified of new models when the site starts without content. 2021-01-21 17:58:44 +11:00
Shannon
6e15668dad Fixes issue of double binding event aggregates 2021-01-21 17:37:18 +11:00
Bjarke Berg
bd32151585 Remove old TODOs 2021-01-21 07:11:31 +01:00
Bjarke Berg
839eb62953 Introduce a Sync publish option 2021-01-21 07:09:52 +01:00
Bjarke Berg
063bb5aa51 Updated dotnet new template to use net5 and prepare for option for net6 in the future 2021-01-21 06:45:21 +01:00
Bjarke Berg
2291162fb3 Fix too many wildcard characters in .net version 2021-01-20 21:32:14 +01:00
Bjarke Berg
362767601c update azure pipeline to use .net 5 2021-01-20 21:26:12 +01:00
Bjarke Berg
e38972abf0 Updated to net5.0 and updated most nuget packages. Also fixed the nuspec files. + Fix typo Persistance => Persistence. 2021-01-20 21:01:45 +01:00
berg
ad7981246e Fix test 2021-01-20 16:45:19 +01:00
Bjarke Berg
d573928cc1 Merge remote-tracking branch 'origin/v8/dev' into netcore/netcore
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentEventsTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/ContentServiceTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Services/RedirectUrlServiceTests.cs
#	src/Umbraco.Tests/Services/EntityServiceTests.cs
2021-01-20 15:53:19 +01:00