This file contains hidden or 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
# statup umbraco, and add some packages if you want | |
# | |
# e.g numbraco MyTestSite uSync Jumoo.TranslationManager vendr -NoStarter | |
# | |
# extras!!! | |
# | |
# open vscode in the folder as part of the build | |
# numbraco MyTestSite -code | |
# | |
# don't run the site |
This file contains hidden or 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Umbraco.Core; | |
namespace Jumoo.TranslationManager.Core.Providers | |
{ |
This file contains hidden or 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 Umbraco.Core; | |
using Umbraco.Core.Composing; | |
using uSync.Expansions.Core.Cache; | |
namespace uSyncCacheDisable | |
{ | |
[RuntimeLevel(MinLevel = RuntimeLevel.Run)] | |
[ComposeAfter(typeof(SyncCacheComposer))] |
This file contains hidden or 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
/// **************************************************** | |
/// NOTE: As of uSync 8.8.4 this functionaliy exists in the core of the package | |
/// https://github.com/KevinJump/uSync/releases/tag/8.4.4 | |
/// | |
/// With ContentEdition Installed you can move the dictionayHandler with a Group="Settings" attribute in the config file. | |
/// **************************************************** | |
/// uSync Dictionary Handler | |
/// untested code - in theory this would make a dictionary handler that synced with the settings group in uSync not the content one. |
This file contains hidden or 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.Models; | |
using Jumoo.TranslationManager.Core.Services; | |
using Jumoo.TranslationManager.LinkUpdater; | |
namespace MyLinkUpdater | |
{ | |
/// <summary> | |
/// Update links inside content based on the setup in translation manager. | |
/// </summary> |
This file contains hidden or 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 HtmlAgilityPack; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Umbraco.Core.Models; | |
using Umbraco.Core.Services; | |
using VersOne.Epub; |
This file contains hidden or 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> |
This file contains hidden or 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 hidden or 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 hidden or 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; |