-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e19f3db
commit d95bbb5
Showing
2,644 changed files
with
362,404 additions
and
23 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<browsers> | ||
|
||
<browser refID="Default"> | ||
<controlAdapters> | ||
<adapter controlType="System.Web.UI.HtmlControls.HtmlForm" | ||
adapterType="umbraco.presentation.urlRewriter.FormRewriterControlAdapter" /> | ||
</controlAdapters> | ||
</browser> | ||
|
||
</browsers> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<browsers> | ||
<!-- | ||
Browser capability file for the w3c validator | ||
|
||
sample UA: "W3C_Validator/1.305.2.148 libwww-perl/5.803" | ||
--> | ||
<browser id="w3cValidator" parentID="default"> | ||
<identification> | ||
<userAgent match="^W3C_Validator" /> | ||
</identification> | ||
|
||
<capture> | ||
<userAgent match="^W3C_Validator/(?'version'(?'major'\d+)(?'minor'\.\d+)\w*).*" /> | ||
</capture> | ||
|
||
<capabilities> | ||
<capability name="browser" value="w3cValidator" /> | ||
<capability name="majorversion" value="${major}" /> | ||
<capability name="minorversion" value="${minor}" /> | ||
<capability name="version" value="${version}" /> | ||
<capability name="w3cdomversion" value="1.0" /> | ||
<capability name="xml" value="true" /> | ||
<capability name="tagWriter" value="System.Web.UI.HtmlTextWriter" /> | ||
</capabilities> | ||
</browser> | ||
</browsers> |
31 changes: 31 additions & 0 deletions
31
AchmeErrorSite/App_Plugins/ModelsBuilder/modelsbuilder.controller.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
function modelsBuilderController($scope, umbRequestHelper, $log, $http, modelsBuilderResource) { | ||
|
||
$scope.generate = function() { | ||
$scope.generating = true; | ||
umbRequestHelper.resourcePromise( | ||
$http.post(umbRequestHelper.getApiUrl("modelsBuilderBaseUrl", "BuildModels")), | ||
'Failed to generate.') | ||
.then(function (result) { | ||
$scope.generating = false; | ||
$scope.dashboard = result; | ||
}); | ||
}; | ||
|
||
$scope.reload = function () { | ||
$scope.ready = false; | ||
modelsBuilderResource.getDashboard().then(function (result) { | ||
$scope.dashboard = result; | ||
$scope.ready = true; | ||
}); | ||
}; | ||
|
||
function init() { | ||
modelsBuilderResource.getDashboard().then(function(result) { | ||
$scope.dashboard = result; | ||
$scope.ready = true; | ||
}); | ||
} | ||
|
||
init(); | ||
} | ||
angular.module("umbraco").controller("Umbraco.Dashboard.ModelsBuilderController", modelsBuilderController); |
41 changes: 41 additions & 0 deletions
41
AchmeErrorSite/App_Plugins/ModelsBuilder/modelsbuilder.htm
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<div id="modelsBuilder" ng-controller="Umbraco.Dashboard.ModelsBuilderController"> | ||
|
||
<div ng-show="ready" style="float: right;"> | ||
<button type="button" class="btn" ng-click="reload()"><span>Reload</span></button> | ||
</div> | ||
|
||
<h3>Models Builder</h3> | ||
|
||
<div ng-show="!ready"> | ||
Loading... | ||
</div> | ||
|
||
<div ng-show="ready"> | ||
<div ng-bind-html-unsafe="dashboard.text"></div> | ||
|
||
<div ng-if="dashboard.outOfDateModels"> | ||
<p>Models are <strong>out-of-date</strong>. | ||
</p> | ||
</div> | ||
|
||
<div ng-if="dashboard.canGenerate"> | ||
<div ng-if="dashboard.generateCausesRestart"> | ||
<p style="color: red; font-weight: bold;">Generating models will restart the application.</p> | ||
</div> | ||
<div ng-show="!generating"> | ||
<button type="button" ng-click="generate()" class="btn btn-danger"> | ||
<span>Generate models</span> | ||
</button> | ||
</div> | ||
<div class="umb-loader-wrapper" ng-show="generating"> | ||
<div class="umb-loader"></div> | ||
</div> | ||
</div> | ||
|
||
<div ng-if="dashboard.lastError" style="margin-top: 32px;" ng-show="!generating"> | ||
<span style="color: red; font-weight: bold;">Last generation failed with the following error:</span> | ||
<pre style="width: 80%; white-space: pre-line; background: #f8f8f8; padding: 4px; font-size: small;">{{dashboard.lastError}}</pre> | ||
</div> | ||
</div> | ||
|
||
</div> |
23 changes: 23 additions & 0 deletions
23
AchmeErrorSite/App_Plugins/ModelsBuilder/modelsbuilder.resource.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
function modelsBuilderResource($q, $http, umbRequestHelper) { | ||
|
||
return { | ||
getModelsOutOfDateStatus: function () { | ||
return umbRequestHelper.resourcePromise( | ||
$http.get(umbRequestHelper.getApiUrl("modelsBuilderBaseUrl", "GetModelsOutOfDateStatus")), | ||
"Failed to get models out-of-date status"); | ||
}, | ||
|
||
buildModels: function () { | ||
return umbRequestHelper.resourcePromise( | ||
$http.post(umbRequestHelper.getApiUrl("modelsBuilderBaseUrl", "BuildModels")), | ||
"Failed to build models"); | ||
}, | ||
|
||
getDashboard: function () { | ||
return umbRequestHelper.resourcePromise( | ||
$http.get(umbRequestHelper.getApiUrl("modelsBuilderBaseUrl", "GetDashboard")), | ||
"Failed to get dashboard"); | ||
} | ||
}; | ||
} | ||
angular.module("umbraco.resources").factory("modelsBuilderResource", modelsBuilderResource); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
//array of files we want to inject into the application on app_start | ||
javascript: [ | ||
'~/App_Plugins/ModelsBuilder/modelsbuilder.controller.js', | ||
'~/App_Plugins/ModelsBuilder/modelsbuilder.resource.js' | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<%@ Application Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<system.webServer> | ||
<handlers> | ||
<clear /> | ||
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" /> | ||
</handlers> | ||
</system.webServer> | ||
</configuration> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../masterpages/umbracoPage.Master" CodeBehind="delete.aspx.cs" Inherits="umbraco.presentation.actions.delete" %> | ||
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %> | ||
|
||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> | ||
<style type="text/css"> | ||
body{background-image: none !Important;} | ||
</style> | ||
</asp:Content> | ||
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server"> | ||
<cc1:UmbracoPanel ID="Panel2" runat="server" AutoResize="false" Width="500px" Height="200px" Text="Delete"> | ||
|
||
|
||
<asp:Panel ID="confirm" runat="server"> | ||
<cc1:Pane ID="pane_delete" runat="server"> | ||
<p><asp:Literal ID="warning" runat="server"></asp:Literal></p> | ||
</cc1:Pane> | ||
<p> | ||
<asp:Button ID="deleteButton" runat="server" OnClick="deleteButton_Click" /> | ||
</p> | ||
</asp:Panel> | ||
|
||
|
||
<cc1:Pane ID="deleteMessage" runat="server" Visible="false"> | ||
<p><asp:Literal ID="deleted" runat="server"></asp:Literal></p> | ||
</cc1:Pane> | ||
|
||
|
||
</cc1:UmbracoPanel> | ||
</asp:Content> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="editContent.aspx.cs" Inherits="umbraco.presentation.actions.editContent" %> | ||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" > | ||
<head runat="server"> | ||
<title>Untitled Page</title> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server"> | ||
<div> | ||
|
||
</div> | ||
</form> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="preview.aspx.cs" Inherits="umbraco.presentation.actions.preview" %> | ||
|
||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
|
||
<html xmlns="http://www.w3.org/1999/xhtml" > | ||
<head runat="server"> | ||
<title>Preview page</title> | ||
</head> | ||
<body> | ||
<form id="form1" runat="server"> | ||
<div> | ||
|
||
</div> | ||
</form> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="../masterpages/umbracoPage.Master" CodeBehind="publish.aspx.cs" Inherits="umbraco.presentation.actions.publish" %> | ||
<%@ Register TagPrefix="cc1" Namespace="umbraco.uicontrols" Assembly="controls" %> | ||
|
||
<asp:Content ContentPlaceHolderID="head" runat="server"> | ||
<style type="text/css"> | ||
body{background-image: none !Important;} | ||
</style> | ||
</asp:Content> | ||
|
||
<asp:Content ContentPlaceHolderID="body" runat="server"> | ||
|
||
<cc1:UmbracoPanel ID="Panel2" Text="Publish" AutoResize="false" Width="500px" Height="200px" runat="server"> | ||
<asp:Panel ID="confirm" runat="server"> | ||
<cc1:Pane ID="pane_publish" runat="server"> | ||
<p> | ||
<asp:Literal ID="warning" runat="server"></asp:Literal> | ||
</p> | ||
</cc1:Pane> | ||
<br /> | ||
<p> | ||
<asp:Button ID="deleteButton" runat="server" OnClick="deleteButton_Click" /> | ||
</p> | ||
</asp:Panel> | ||
|
||
<cc1:Pane ID="deleteMessage" runat="server" Visible="false"> | ||
<p><asp:Literal ID="deleted" runat="server"></asp:Literal></p> | ||
</cc1:Pane> | ||
</cc1:UmbracoPanel> | ||
|
||
</asp:Content> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %> | ||
<%@ Import Namespace="Umbraco.Core.IO" %> | ||
<script runat="server"> | ||
protected override void OnInit(EventArgs e) | ||
{ | ||
Response.ContentType = "text/xml"; | ||
} | ||
</script> | ||
<rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"> | ||
<service> | ||
<engineName>umbraco</engineName> | ||
<engineLink>http://umbraco.org/</engineLink> | ||
<homePageLink>http://<%=Request.ServerVariables["SERVER_NAME"]%></homePageLink> | ||
<apis> | ||
<api name="MetaWeblog" blogID="1" preferred="true" apiLink="http://<%=Request.ServerVariables["SERVER_NAME"]%><%=IOHelper.ResolveUrl(SystemDirectories.Umbraco) %>/channels.aspx" /> | ||
<api name="Blogger" blogID="1" preferred="false" apiLink="http://<%=Request.ServerVariables["SERVER_NAME"]%><%=IOHelper.ResolveUrl(SystemDirectories.Umbraco) %>/channels.aspx" /> | ||
</apis> | ||
</service> | ||
</rsd> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %> | ||
<%@ Import Namespace="Umbraco.Core.IO" %> | ||
<%@ Import Namespace="umbraco" %> | ||
<script runat="server"> | ||
protected override void OnInit(EventArgs e) | ||
{ | ||
Response.ContentType = "text/xml"; | ||
} | ||
protected override void OnLoad(EventArgs e) | ||
{ | ||
var useXhtml = false; | ||
if (bool.TryParse(GlobalSettings.EditXhtmlMode, out useXhtml) && !useXhtml) | ||
{ | ||
xhtml.Text = "no"; | ||
} | ||
else | ||
{ | ||
xhtml.Text = "yes"; | ||
} | ||
} | ||
</script> | ||
<manifest xmlns="http://schemas.microsoft.com/wlw/manifest/weblog"> | ||
<weblog> | ||
<imageUrl>http://umbraco.org/images/liveWriterIcon.png</imageUrl> | ||
<watermarkImageUrl>http://umbraco.org/images/liveWriterWatermark.png</watermarkImageUrl> | ||
<homepageLinkText>View your site/weblog</homepageLinkText> | ||
<adminLinkText>Edit your site/weblog</adminLinkText> | ||
<adminUrl>{blog-homepage-url}<%= IOHelper.ResolveUrl(SystemDirectories.Umbraco) %>/</adminUrl> | ||
<postEditingUrl>{blog-homepage-url}<%= IOHelper.ResolveUrl(SystemDirectories.Umbraco)%>/actions/editContent.aspx?id={post-id}</postEditingUrl> | ||
|
||
</weblog> | ||
<views> | ||
<default>WebLayout</default> | ||
</views> | ||
<options> | ||
<supportsScripts>Yes</supportsScripts> | ||
<supportsEmbeds>Yes</supportsEmbeds> | ||
<supportsHtmlTitles>Yes</supportsHtmlTitles> | ||
<supportsEmptyTitles>No</supportsEmptyTitles> | ||
<maxRecentPosts>100</maxRecentPosts> | ||
<supportsNewCategories>Yes</supportsNewCategories> | ||
<supportsExcerpt>Yes</supportsExcerpt> | ||
<supportsPages>No</supportsPages> | ||
<supportsPageParent>No</supportsPageParent> | ||
<supportsPageOrder>No</supportsPageOrder> | ||
<supportsAutoUpdate>Yes</supportsAutoUpdate> | ||
<supportsMultipleCategories>Yes</supportsMultipleCategories> | ||
<requiresXHTML><asp:Literal runat="server" id="xhtml"></asp:Literal></requiresXHTML> | ||
</options> | ||
</manifest> |
Oops, something went wrong.