This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div> | |
<umb-load-indicator ng-if="model.loading"></umb-load-indicator> | |
<umb-box ng-if="!model.loading"> | |
<umb-box-header title="Notifications" | |
description="Define who will get an email when key events occur (';' seperated lists)"> | |
</umb-box-header> | |
<umb-box-content> | |
<umb-control-group label="Pending Notifications" | |
description="Email addresses to notify"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Example: Hooking into TranslationManager (v8) Events | |
// | |
// Shows you how to register for the Events fired by Translation Manager | |
// these are the job events, each one gets the job object passed to it | |
// so you can extract info and workout what you might want to do. | |
// | |
// | |
// Packages (if not in web project) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Jumoo.uSync.Core; | |
using Jumoo.uSync.Core.Interfaces; | |
using Newtonsoft.Json; | |
using System.IO; | |
using System.Linq; | |
using Umbraco.Core; | |
using Umbraco.Core.IO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using Umbraco.Core.Composing; | |
using Umbraco.Core.Logging; | |
using Umbraco.Core.Services.Changes; | |
using Umbraco.Web.Cache; | |
using Umbraco.Web.PublishedCache; | |
using uSync8.BackOffice; | |
namespace uSync8.EventTriggers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Jumoo.TranslationManager.Core.Models; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Umbraco.Core; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@inherits Umbraco.Web.Macros.PartialViewMacroPage | |
@using Umbraco.Web.Models | |
@{ | |
var folders = Model.GetParameterValue<string>("mediaFolder", "") | |
.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries); | |
var subFolders = Model.GetParameterValue<bool>("subFolders", true); | |
var selection = Umbraco.TypedMedia(folders).Where(x => x != null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Umbraco.Core; | |
using Umbraco.Core.Models; | |
using Umbraco.Core.Services; | |
using Umbraco.Web.HealthCheck; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Jumoo.TranslationManager.Core.Services; | |
using Umbraco.Core; | |
using Umbraco.Core.Composing; | |
using Umbraco.Core.Services; | |
namespace Jumoo.Translation.ExampleCode | |
{ | |
// | |
// Example Code : CopyNodeName on Approval |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Silent Upgrade for Umbraco v8. | |
* --------------------------------- | |
* | |
* HEALTH WARNING: Look this is doing some internal umbraco 'messing' about, using this | |
* to auto upgrade your umbraco installations is done at your own risk. | |
* | |
* This code will run when your site is in Upgrade mode. | |
* This happens when the version in web.config or the database migrations don't | |
* match what the umbraco code thinks should be the version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Jumoo.TranslationManager.Core.Services; | |
using Umbraco.Core; | |
using Umbraco.Core.Logging; | |
namespace TranslationManager.Events | |
{ | |
/// <summary> | |
/// Exmaple how listen for events on translation jobs. in Translation Manager (v2.x) | |
/// </summary> |