mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-01 15:33:40 +08:00
Enabling Orchard.Rules extensions by default
--HG-- branch : 1.x
This commit is contained in:
parent
a03d79beba
commit
d01057336b
@ -11,7 +11,6 @@ namespace Orchard.Core.Contents.Handlers {
|
||||
void TriggerEvent(string category, string type, Func<Dictionary<string, object>> tokensContext);
|
||||
}
|
||||
|
||||
[OrchardFeature("Contents.Rules")]
|
||||
public class RulePartHandler : ContentHandler {
|
||||
public RulePartHandler(IRulesManager rulesManager) {
|
||||
|
||||
|
@ -10,11 +10,6 @@ Features:
|
||||
Name: Contents
|
||||
Description: Default custom content type definition, creation and management.
|
||||
Category: Core
|
||||
Contents.Rules:
|
||||
Name: Contents Rules
|
||||
Description: Rules for the Contents modules
|
||||
Category: Rules
|
||||
Dependencies: Orchard.Rules, Contents
|
||||
Contents.ControlWrapper:
|
||||
Name: Content Control Wrapper
|
||||
Description: Add an Edit button on the front-end for authenticated users
|
||||
|
@ -1,7 +1,6 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using Orchard.ContentManagement;
|
||||
using Orchard.Environment.Extensions;
|
||||
using Orchard.Events;
|
||||
using Orchard.Localization;
|
||||
|
||||
@ -10,7 +9,6 @@ namespace Orchard.Core.Contents.Rules {
|
||||
void Describe(dynamic describe);
|
||||
}
|
||||
|
||||
[OrchardFeature("Contents.Rules")]
|
||||
public class ContentEvents : IEventProvider {
|
||||
public ContentEvents() {
|
||||
T = NullLocalizer.Instance;
|
||||
|
@ -2,7 +2,6 @@
|
||||
using System.Web.Mvc;
|
||||
using Orchard.ContentManagement.MetaData;
|
||||
using Orchard.DisplayManagement;
|
||||
using Orchard.Environment.Extensions;
|
||||
using Orchard.Events;
|
||||
using Orchard.Localization;
|
||||
|
||||
@ -11,7 +10,6 @@ namespace Orchard.Core.Contents.Rules {
|
||||
void Describe(dynamic context);
|
||||
}
|
||||
|
||||
[OrchardFeature("Contents.Rules")]
|
||||
public class ContentForms : IFormProvider {
|
||||
private readonly IContentDefinitionManager _contentDefinitionManager;
|
||||
protected dynamic Shape { get; set; }
|
||||
|
@ -11,8 +11,3 @@ Features:
|
||||
Description: Standard content item comments.
|
||||
Dependencies: Settings
|
||||
Category: Social
|
||||
Orchard.Comments.Rules:
|
||||
Name: Comments Rules
|
||||
Description: Rules for the Comments modules
|
||||
Category: Rules
|
||||
Dependencies: Orchard.Comments, Orchard.Rules
|
@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using Orchard.Comments.Models;
|
||||
using Orchard.Environment.Extensions;
|
||||
using Orchard.Events;
|
||||
using Orchard.ContentManagement;
|
||||
using Orchard.Localization;
|
||||
@ -10,7 +9,6 @@ namespace Orchard.Comments.Rules {
|
||||
void Describe(dynamic describe);
|
||||
}
|
||||
|
||||
[OrchardFeature("Orchard.Comments.Rules")]
|
||||
public class CommentsActions : IActionProvider {
|
||||
private readonly IContentManager _contentManager;
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using Orchard.DisplayManagement;
|
||||
using Orchard.Environment.Extensions;
|
||||
using Orchard.Events;
|
||||
using Orchard.Localization;
|
||||
|
||||
@ -9,7 +8,6 @@ namespace Orchard.Comments.Rules {
|
||||
void Describe(dynamic context);
|
||||
}
|
||||
|
||||
[OrchardFeature("Orchard.Comments.Rules")]
|
||||
public class CommentsForms : IFormProvider {
|
||||
protected dynamic Shape { get; set; }
|
||||
public Localizer T { get; set; }
|
||||
|
@ -11,8 +11,3 @@ Features:
|
||||
FeatureDescription: Email Messaging services.
|
||||
Category: Messaging
|
||||
Dependencies: Orchard.Messaging
|
||||
Orchard.Email.Rules:
|
||||
Name: Email Rules
|
||||
Description: Rules for the Email modules
|
||||
Category: Rules
|
||||
Dependencies: Orchard.Email, Orchard.Rules
|
@ -2,7 +2,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Orchard.Core.Common.Models;
|
||||
using Orchard.Environment.Extensions;
|
||||
using Orchard.Events;
|
||||
using Orchard.Messaging.Events;
|
||||
using Orchard.Messaging.Models;
|
||||
@ -17,7 +16,6 @@ namespace Orchard.Email.Rules {
|
||||
void Describe(dynamic describe);
|
||||
}
|
||||
|
||||
[OrchardFeature("Orchard.Email.Rules")]
|
||||
public class MailActions : IActionProvider {
|
||||
private readonly IMessageManager _messageManager;
|
||||
private readonly IOrchardServices _orchardServices;
|
||||
|
@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using Orchard.DisplayManagement;
|
||||
using Orchard.Environment.Extensions;
|
||||
using Orchard.Events;
|
||||
using Orchard.Localization;
|
||||
|
||||
@ -9,7 +8,6 @@ namespace Orchard.Email.Rules {
|
||||
void Describe(dynamic context);
|
||||
}
|
||||
|
||||
[OrchardFeature("Orchard.Email.Rules")]
|
||||
public class MailForms : IFormProvider {
|
||||
protected dynamic Shape { get; set; }
|
||||
public Localizer T { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user