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.Forms.Core; | |
| using Umbraco.Forms.Core.Enums; | |
| using Microsoft.Extensions.Logging; | |
| using Microsoft.AspNetCore.Http; | |
| using Umbraco.Forms.Core.Attributes; | |
| using Umbraco.Cms.Core; | |
| using Umbraco.Extensions; | |
| using Microsoft.Extensions.DependencyInjection; | |
| namespace Example.Forms.Workflows |
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
| /* | |
| * This file is a copy of the core version from https://github.com/umbraco/Umbraco-CMS/blob/6bca91a52fabfe96b7ede1837b908b33d78136ed/src/Umbraco.Web.UI.Client/src/packages/core/workspace/components/workspace-action/default/workspace-action-default-kind.element.ts | |
| * with the addition of a document icon in the button! | |
| */ | |
| import type { | |
| ManifestWorkspaceAction, | |
| ManifestWorkspaceActionMenuItem, | |
| MetaWorkspaceActionDefaultKind, | |
| UmbWorkspaceActionDefaultKind, |
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 Microsoft.AspNetCore.Mvc; | |
| using Umbraco.Cms.Core.Models; | |
| using Umbraco.Cms.Core.Services; | |
| using Umbraco.Cms.Web.Common.Controllers; | |
| namespace Website.Code | |
| { | |
| public class PublishDescendantsController : UmbracoApiController | |
| { | |
| private readonly IContentService _contentService; |
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
| /* | |
| This file is just a copy of the core MemberService but we can't just overwrite the function we need | |
| so we need to use it as a wrapper to the actual MemberService; the baseService defined below. | |
| */ | |
| using Newtonsoft.Json.Linq; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Drawing.Printing; | |
| using System.Linq; | |
| using System.Text.RegularExpressions; |
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
| (() => { | |
| angular.module("umbraco").run(["authResource", "twoFactorLoginResource", "editorService", "notificationsService", "eventsService", "overlayService", async (authResource, twoFactorLoginResource, editorService, notificationsService, eventsService, overlayService) => { | |
| const state = {}; | |
| const init = async (firstInit) => { | |
| "app.ready" | |
| state.currentUser = await authResource.getCurrentUser(); | |
| state.twoFactorAuthProviders = await twoFactorLoginResource.get2FAProvidersForUser(state.currentUser.id); |
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
| ## Ignore Visual Studio temporary files, build results, and | |
| ## files generated by popular Visual Studio add-ons. | |
| # User-specific files | |
| *.suo | |
| *.user | |
| *.userosscache | |
| *.sln.docstates | |
| # User-specific files (MonoDevelop/Xamarin Studio) | |
| *.userprefs | |
| # Build results |
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
| .offset_container * { | |
| display: block; | |
| } | |
| .offset_container input { | |
| max-width: 200px; | |
| } |