Skip to content

Commit bbdb461

Browse files
authored
Merge pull request #3660 from 2sic/develop
v20.00.02
2 parents 4007690 + 640a507 commit bbdb461

758 files changed

Lines changed: 1857 additions & 1910 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Src/2sxc Multi-Target.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<s:Boolean x:Key="/Default/UserDictionary/Words/=Backends/@EntryIndexedValue">True</s:Boolean>
99
<s:Boolean x:Key="/Default/UserDictionary/Words/=Clickable/@EntryIndexedValue">True</s:Boolean>
1010
<s:Boolean x:Key="/Default/UserDictionary/Words/=cmsid/@EntryIndexedValue">True</s:Boolean>
11+
<s:Boolean x:Key="/Default/UserDictionary/Words/=crossorigin/@EntryIndexedValue">True</s:Boolean>
1112
<s:Boolean x:Key="/Default/UserDictionary/Words/=decryptor/@EntryIndexedValue">True</s:Boolean>
1213
<s:Boolean x:Key="/Default/UserDictionary/Words/=Deduplicated/@EntryIndexedValue">True</s:Boolean>
1314
<s:Boolean x:Key="/Default/UserDictionary/Words/=Deduplicating/@EntryIndexedValue">True</s:Boolean>

Src/Data/App_Data/system/bundles/system-settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9811,7 +9811,7 @@
98119811
},
98129812
{
98139813
"Id": 130593,
9814-
"Version": 13,
9814+
"Version": 14,
98159815
"Guid": "c459f03d-bb65-4813-ac8a-0a780f72eab7",
98169816
"Type": {
98179817
"Id": "f5764f60-2621-4a5d-9391-100fbe664640",
@@ -9820,7 +9820,7 @@
98209820
"Attributes": {
98219821
"String": {
98229822
"ApiKey": {
9823-
"en-us": "secure:pycbhspVSBHE662IjdEfFG8rwwCdxN9jCQaMJK6/QfLl/JxaDhAk+6q1WU4BSXw4;iv:HUyYDwdMhsuiaxZo3TG4Zg=="
9823+
"en-us": "secure:7nRMfvzJ0BHyTtGDFaVB4kCYLBGRkgW1oAYG1KTLXk/jme8q9Hhb4a1ZOuJVwM94;iv:5cmjUX6SDTJMCj+IkwhWNA=="
98249824
},
98259825
"SettingsIdentifier": {
98269826
"en-us": "GoogleMaps"

Src/Dnn/ToSic.Sxc.Dnn.Core/Compatibility/Data.DynamicEntity.Toolbar/OldDynamicEntityFeatures.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using ToSic.Sxc.Data.Sys;
88
using ToSic.Sxc.Data.Sys.CodeDataFactory;
99
using ToSic.Sxc.Data.Sys.Factory;
10+
using ToSic.Sxc.Edit.Toolbar.Sys;
1011
using ToSic.Sxc.Services;
1112

1213
// ReSharper disable once CheckNamespace
@@ -32,7 +33,7 @@ public System.Web.IHtmlString GenerateOldToolbar(ICodeDataFactory cdf, IEntity e
3233
if (cdf.CompatibilityLevel > CompatibilityLevels.MaxLevelForEntityDotToolbar)
3334
throw new("content.Toolbar is deprecated in the new RazorComponent. Use @Edit.TagToolbar(content) or @Edit.Toolbar(content) instead. See https://go.2sxc.org/EditToolbar");
3435

35-
var toolbar = new Edit.Toolbar.ItemToolbar(entity).ToolbarAsTag;
36+
var toolbar = new ItemToolbar(entity).ToolbarAsTag;
3637
return new System.Web.HtmlString(toolbar);
3738

3839
}

Src/Dnn/ToSic.Sxc.Dnn.Core/Dnn/Adam/DnnAdamFileSystem.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Data.SqlClient;
44
using System.Web.Configuration;
55
using ToSic.Eav.Apps.Sys;
6-
using ToSic.Lib.Services;
76
using ToSic.Sxc.Adam;
87
using ToSic.Sxc.Adam.Sys;
98
using ToSic.Sxc.Adam.Sys.FileSystem;

Src/Dnn/ToSic.Sxc.Dnn.Core/Dnn/Cms/DnnModuleUpdater.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using ToSic.Eav.Context.Sys.ZoneMapper;
88
using ToSic.Eav.Data;
99
using ToSic.Eav.Metadata.Sys;
10-
using ToSic.Lib.Services;
1110
using ToSic.Sxc.Apps.Sys.Work;
1211
using ToSic.Sxc.Blocks;
1312
using ToSic.Sxc.Blocks.Sys;

Src/Dnn/ToSic.Sxc.Dnn.Core/Dnn/Cms/DnnPagePublishing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
using ToSic.Sxc.Dnn.Context;
1515
using ToSic.Sxc.Dnn.Run;
1616

17-
using ServiceBase = ToSic.Lib.Services.ServiceBase;
17+
using ServiceBase = ToSic.Sys.Services.ServiceBase;
1818

1919
namespace ToSic.Sxc.Dnn.Cms;
2020

Src/Dnn/ToSic.Sxc.Dnn.Core/Dnn/Cms/DnnPagePublishing_ModuleSettings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using DotNetNuke.Entities.Modules;
2-
using ToSic.Lib.Services;
32

43
namespace ToSic.Sxc.Dnn.Cms;
54

Src/Dnn/ToSic.Sxc.Dnn.Core/Dnn/Code/DnnDynamicCodeRootTT.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
1-
using ToSic.Lib.Helpers;
2-
using ToSic.Sxc.Dnn.Run;
1+
using ToSic.Sxc.Dnn.Run;
32
using ToSic.Sxc.Services;
3+
using ToSic.Sxc.Services.Sys;
44
using ToSic.Sxc.Sys.ExecutionContext;
55
using ExecutionContext = ToSic.Sxc.Sys.ExecutionContext.ExecutionContext;
66

77
namespace ToSic.Sxc.Dnn.Code;
88

99
[PrivateApi]
10-
internal class DnnExecutionContext<TModel, TServiceKit>(ExecutionContext.MyServices services)
10+
internal class DnnExecutionContext<TModel, TServiceKit>(ExecutionContext.Dependencies services)
1111
: ExecutionContext<TModel, TServiceKit>(services, DnnConstants.LogName), IHasDnn
1212
where TModel : class
1313
where TServiceKit : ServiceKit
1414
{
15+
16+
// TODO: WE CAN PROBABLY DROP THIS CLASS, IF WE ALWAYS USE GetService<IDnnContext>(reuse: true) INSTEAD OF DNN
17+
1518
/// <summary>
1619
/// Dnn context with module, page, portal etc.
1720
/// </summary>

Src/Dnn/ToSic.Sxc.Dnn.Core/Dnn/Code/DnnDynamicCodeService.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System.Web;
22
using System.Web.UI;
3-
using ToSic.Lib.Services;
43
using ToSic.Sxc.Dnn.Services;
54
using ToSic.Sxc.Dnn.Web;
65
using ToSic.Sxc.Services.Sys.DynamicCodeService;
@@ -22,15 +21,15 @@ internal class DnnDynamicCodeService: DynamicCodeService
2221
LazySvc<PageChangeSummary> pageChangeSummary,
2322
LazySvc<DnnPageChanges> dnnPageChanges,
2423
LazySvc<DnnClientResources> dnnClientResources)
25-
: MyServicesBase(connect: [pageServiceShared, pageChangeSummary, dnnPageChanges, dnnClientResources])
24+
: DependenciesBase(connect: [pageServiceShared, pageChangeSummary, dnnPageChanges, dnnClientResources])
2625
{
2726
public LazySvc<IPageServiceShared> PageServiceShared { get; } = pageServiceShared;
2827
public LazySvc<PageChangeSummary> PageChangeSummary { get; } = pageChangeSummary;
2928
public LazySvc<DnnPageChanges> DnnPageChanges { get; } = dnnPageChanges;
3029
public LazySvc<DnnClientResources> DnnClientResources { get; } = dnnClientResources;
3130
}
3231

33-
public DnnDynamicCodeService(MyServices services) : base(services, $"{DnnConstants.LogName}.DynCdS")
32+
public DnnDynamicCodeService(Dependencies services) : base(services, $"{DnnConstants.LogName}.DynCdS")
3433
{
3534
_scopedServices = ScopedServiceProvider.Build<MyScopedServices>().ConnectServices(Log);
3635
_user = services.User;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using ToSic.Sxc.Services;
2+
using ToSic.Sxc.Services.Sys;
23
using ExecutionContext = ToSic.Sxc.Sys.ExecutionContext.ExecutionContext;
34

45
namespace ToSic.Sxc.Dnn.Code;
@@ -7,5 +8,5 @@ namespace ToSic.Sxc.Dnn.Code;
78
/// The basic DnnDynamicCode without explicitly typed model / kit
89
/// </summary>
910
[PrivateApi]
10-
internal class DnnExecutionContext(ExecutionContext.MyServices services)
11+
internal class DnnExecutionContext(ExecutionContext.Dependencies services)
1112
: DnnExecutionContext<object, ServiceKit>(services);

0 commit comments

Comments
 (0)