-
Notifications
You must be signed in to change notification settings - Fork 6
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
Showing
2,792 changed files
with
319,360 additions
and
99 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
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
## Initial Release (0.9.0) | ||
## Initial Release (1.0) | ||
|
||
* Includes support for Umbraco 6 and 7 |
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
Binary file not shown.
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
1 change: 0 additions & 1 deletion
1
ReferenceWebsite/umbraco/Plugins/uComponents/DataTypeGrid/PreValueWebService.asmx
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
ReferenceWebsite/umbraco/Plugins/uComponents/Shared/AjaxUpload/AjaxUploadHandler.ashx
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
ReferenceWebsite/umbraco/Plugins/uComponents/UrlPicker/UrlPickerService.asmx
This file was deleted.
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> |
26 changes: 26 additions & 0 deletions
26
ReferenceWebsiteUmbraco7/App_Browsers/w3cvalidator.browser
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> |
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 @@ | ||
<access/> |
2 changes: 2 additions & 0 deletions
2
ReferenceWebsiteUmbraco7/App_Data/packages/installed/installedPackages.config
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 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages></packages> |
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 @@ | ||
This file is only here so that the containing folder will be included in the NuGet package, it is safe to delete. |
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 @@ | ||
<%@ 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,44 @@ | ||
using System.Collections.Generic; | ||
using UmbracoVault.Attributes; | ||
|
||
namespace ReferenceWebsite.Models | ||
{ | ||
[UmbracoEntity(AutoMap = true)] | ||
public class ArraysViewModel : CmsViewModelBase | ||
{ | ||
/// <summary> | ||
/// Raw integer arrays are supported using a textstring | ||
/// </summary> | ||
public int[] IntArray { get; set; } | ||
|
||
/// <summary> | ||
/// Raw string arrays are supported using a textstring | ||
/// </summary> | ||
public string[] StringArray { get; set; } | ||
|
||
/// <summary> | ||
/// Generic content lists are supported. | ||
/// </summary> | ||
public IList<StaffMember> StaffList { get; set; } | ||
|
||
/// <summary> | ||
/// This contains the list of Checkbox Values | ||
/// </summary> | ||
public string[] CheckboxList { get; set; } | ||
|
||
/// <summary> | ||
/// THis contains the list of Dictionary Picker values | ||
/// </summary> | ||
public string[] DictionaryPicker { get; set; } | ||
|
||
/// <summary> | ||
/// List of Integers that correspond to prevalues in the Umbraco DB. Lookup is required to get text values. | ||
/// </summary> | ||
public int[] DropDownListMultiplePublishKeys { get; set; } | ||
|
||
/// <summary> | ||
/// List of dropdown values. Publishes the string entry so no lookup is required | ||
/// </summary> | ||
public string[] DropDownListMultiple { get; set; } | ||
} | ||
} |
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,27 @@ | ||
using System; | ||
using UmbracoVault.Attributes; | ||
|
||
namespace ReferenceWebsite.Models | ||
{ | ||
[UmbracoMediaEntity(AutoMap = true)] | ||
public class BlogEntryViewModel : CmsViewModelBase | ||
{ | ||
public string Title { get; set; } | ||
public DateTime PostDate { get; set; } | ||
|
||
[UmbracoRichTextProperty] | ||
public string Content { get; set; } | ||
|
||
[UmbracoProperty(Alias = "image")] | ||
public Image PostImage { get; set; } | ||
} | ||
|
||
[UmbracoEntity(AutoMap = true)] | ||
public class BlogHomeViewModel : CmsViewModelBase | ||
{ | ||
public string Title { get; set; } | ||
public string SidebarCopy { get; set; } | ||
public BlogEntryViewModel FeaturedBlogEntry { get; set; } | ||
} | ||
|
||
} |
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 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
namespace ReferenceWebsite.Models | ||
{ | ||
public class BreadcrumbsViewModel : CmsViewModelBase | ||
{ | ||
} | ||
} |
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,17 @@ | ||
using Umbraco.Core.Models; | ||
|
||
namespace ReferenceWebsite.Models | ||
{ | ||
public interface ICmsViewModel | ||
{ | ||
IPublishedContent CmsContent { get; set; } | ||
} | ||
|
||
/// <summary> | ||
/// Base class for view models, provides Umbraco node information | ||
/// </summary> | ||
public class CmsViewModelBase : ICmsViewModel | ||
{ | ||
public IPublishedContent CmsContent { get; set; } | ||
} | ||
} |
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,33 @@ | ||
using UmbracoVault.Attributes; | ||
|
||
namespace ReferenceWebsite.Models | ||
{ | ||
/// <summary> | ||
/// Enum of full month names | ||
/// </summary> | ||
public enum Month | ||
{ | ||
January = 1, | ||
February, | ||
March, | ||
April, | ||
May, | ||
June, | ||
July, | ||
August, | ||
September, | ||
October, | ||
November, | ||
December | ||
} | ||
|
||
/// <summary> | ||
/// Sample model entry showing an enum property | ||
/// </summary> | ||
[UmbracoEntity(AutoMap=true)] | ||
public class EnumsViewModel : CmsViewModelBase | ||
{ | ||
[UmbracoEnumProperty] | ||
public Month Month { get; set; } | ||
} | ||
} |
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,13 @@ | ||
using UmbracoVault.Attributes; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
namespace ReferenceWebsite.Models | ||
{ | ||
[UmbracoEntity(AutoMap=true)] | ||
public class GenericContentViewModel | ||
{ | ||
public string Content { get; set; } | ||
} | ||
} |
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,94 @@ | ||
using UmbracoVault.Attributes; | ||
|
||
namespace ReferenceWebsite.Models | ||
{ | ||
/// <summary> | ||
/// Vault supports most C# numeric and boolean primitives | ||
/// </summary> | ||
[UmbracoEntity(AutoMap = true)] | ||
public class NumericTypesViewModel : CmsViewModelBase | ||
{ | ||
/// <summary> | ||
/// Booleans can be represented by the Umbraco true/false type. | ||
/// </summary> | ||
public bool Bool { get; set; } | ||
|
||
/// <summary> | ||
/// Bytes | ||
/// Supported range: 0 to 255 | ||
/// </summary> | ||
public byte Byte { get; set; } | ||
|
||
/// <summary> | ||
/// Decimals | ||
/// Supported range: -79228162514264337593543950335 to 79228162514264337593543950335 | ||
/// </summary> | ||
/// <remarks>Exceeds Umbraco numeric type</remarks> | ||
public decimal Decimal { get; set; } | ||
|
||
/// <summary> | ||
/// Doubles | ||
/// Supported range: -1.79769313486232e308 to 1.79769313486232e308 | ||
/// </summary> | ||
/// <remarks>Exceeds Umbraco numeric type</remarks> | ||
public double Double { get; set; } | ||
|
||
/// <summary> | ||
/// Floats | ||
/// Supported range: -3.402823e38 to 3.402823e38 | ||
/// </summary> | ||
public float Float { get; set; } | ||
|
||
/// <summary> | ||
/// Ints | ||
/// Supported range: -2,147,483,648 to 2,147,483,647 | ||
/// </summary> | ||
public int Int { get; set; } | ||
|
||
/// <summary> | ||
/// Longs | ||
/// Supported range: -9,223,372,036,854,775,808 .. 9,223,372,036,854,775,807 | ||
/// </summary> | ||
/// <remarks>Exceeds Umbraco numeric type</remarks> | ||
public long Long { get; set; } | ||
|
||
/// <summary> | ||
/// Signed Bytes | ||
/// Supported range: -128 to 127 | ||
/// </summary> | ||
public sbyte SByte { get; set; } | ||
|
||
/// <summary> | ||
/// Shorts | ||
/// Supported range: -32,768 to 32,767 | ||
/// </summary> | ||
public short Short { get; set; } | ||
|
||
/// <summary> | ||
/// Unsigned Ints | ||
/// Supported range: 0 to 4,294,967,295 | ||
/// </summary> | ||
/// <remarks>Exceeds Umbraco numeric type</remarks> | ||
public uint UInt { get; set; } | ||
|
||
/// <summary> | ||
/// Unsigned Longs | ||
/// Supported range: 0 to 18,446,744,073,709,551,615 | ||
/// </summary> | ||
/// <remarks>Exceeds Umbraco numeric type</remarks> | ||
public ulong ULong { get; set; } | ||
|
||
/// <summary> | ||
/// Unsigned Shorts | ||
/// Supported range: 0 to 65,535 | ||
/// </summary> | ||
public ushort UShort { get; set; } | ||
|
||
/// <summary> | ||
/// Slider property editor | ||
/// Supported range: 0 to 2,147,483,647 | ||
/// </summary> | ||
/// <remarks>Slider doesn't support negative values</remarks> | ||
public int Slider { get; set; } | ||
} | ||
} |
Oops, something went wrong.