Skip to content

Commit da33cc3

Browse files
author
Claus
committed
Merge branch 'umco-chore/housekeeping' into dev
2 parents 6f84176 + 4f7c3bc commit da33cc3

21 files changed

+131
-406
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# editorconfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Default settings:
7+
# A newline ending every file
8+
# Use 4 spaces as indentation
9+
[*]
10+
insert_final_newline = true
11+
indent_style = space
12+
indent_size = 4
13+
14+
# Trim trailing whitespace, limited support.
15+
# https://github.com/editorconfig/editorconfig/wiki/Property-research:-Trim-trailing-spaces
16+
trim_trailing_whitespace = true

.gitattributes

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
*.doc diff=astextplain
2+
*.DOC diff=astextplain
3+
*.docx diff=astextplain
4+
*.DOCX diff=astextplain
5+
*.dot diff=astextplain
6+
*.DOT diff=astextplain
7+
*.pdf diff=astextplain
8+
*.PDF diff=astextplain
9+
*.rtf diff=astextplain
10+
*.RTF diff=astextplain
11+
12+
*.jpg binary
13+
*.png binary
14+
*.gif binary
15+
16+
*.cs text=auto diff=csharp
17+
*.vb text=auto
18+
*.c text=auto
19+
*.cpp text=auto
20+
*.cxx text=auto
21+
*.h text=auto
22+
*.hxx text=auto
23+
*.py text=auto
24+
*.rb text=auto
25+
*.java text=auto
26+
*.html text=auto
27+
*.htm text=auto
28+
*.css text=auto
29+
*.scss text=auto
30+
*.sass text=auto
31+
*.less text=auto
32+
*.js text=auto
33+
*.lisp text=auto
34+
*.clj text=auto
35+
*.sql text=auto
36+
*.php text=auto
37+
*.lua text=auto
38+
*.m text=auto
39+
*.asm text=auto
40+
*.erl text=auto
41+
*.fs text=auto
42+
*.fsx text=auto
43+
*.hs text=auto
44+
45+
*.csproj text=auto merge=union
46+
*.vbproj text=auto merge=union
47+
*.fsproj text=auto merge=union
48+
*.dbproj text=auto merge=union
49+
*.sln text=auto eol=crlf merge=union

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,25 @@ Primarily this project offers connectors for the most popular Umbraco community
1212

1313
This project offers Umbraco Deploy connectors for the following community packages:
1414

15+
- [Archetype](https://our.umbraco.org/projects/backoffice-extensions/archetype/)
16+
- [Content List](https://github.com/umco/umbraco-content-list)
1517
- [DocType Grid Editor](https://our.umbraco.org/projects/backoffice-extensions/doc-type-grid-editor/)
16-
- [UrlPicker](https://our.umbraco.org/projects/backoffice-extensions/urlpicker/)
1718
- [LeBlender](https://our.umbraco.org/projects/backoffice-extensions/leblender)
19+
- [Multi Url Picker](https://our.umbraco.com/projects/backoffice-extensions/multi-url-picker)
1820
- [Nested Content](https://our.umbraco.org/projects/backoffice-extensions/nested-content/)
19-
- [Stacked Content](https://github.com/umco/umbraco-stacked-content)
2021
- [nuPickers](https://our.umbraco.org/projects/backoffice-extensions/nupickers/)
21-
- [Archetype](https://our.umbraco.org/projects/backoffice-extensions/archetype/)
22-
- [Content List](https://github.com/umco/umbraco-content-list)
2322
- [Property List](https://github.com/umco/umbraco-property-list)
23+
- [Stacked Content](https://github.com/umco/umbraco-stacked-content)
2424
- [Tuple](https://github.com/umco/umbraco-tuple)
25+
- [UrlPicker](https://our.umbraco.org/projects/backoffice-extensions/urlpicker/)
2526

2627
---
2728

2829
## Getting Started
2930

3031
### Installation
3132

32-
You can install the NuGet package using `Install-Package Umbraco.Deploy.Contrib`.
33+
You can install the NuGet package using `Install-Package Umbraco.Deploy.Contrib`.
3334
[![NuGet release](https://img.shields.io/nuget/v/Umbraco.Deploy.Contrib.svg)](https://www.nuget.org/packages/Umbraco.Deploy.Contrib)
3435

3536
---

src/Umbraco.Deploy.Contrib.Connectors/GridCellValueConnectors/DocTypeGridEditorCellValueConnector.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public override string GetValue(GridValue.GridControl control, Property property
6969

7070
// throws if not found - no need for a null check
7171
var propValueConnector = ValueConnectors.Get(propertyType);
72-
72+
7373
var mockProperty = new Property(propertyType, value);
7474
var parsedValue = propValueConnector.GetValue(mockProperty, dependencies);
7575
// test if the value is a json object (thus could be a nested complex editor)
@@ -83,7 +83,7 @@ public override string GetValue(GridValue.GridControl control, Property property
8383
{
8484
docTypeGridEditorContent.Value[propertyType.Alias] = parsedValue;
8585
}
86-
86+
8787
}
8888

8989
var resolvedValue = JsonConvert.SerializeObject(docTypeGridEditorContent);
@@ -140,7 +140,7 @@ public override void SetValue(GridValue.GridControl control, Property property)
140140

141141
var mockProperty = new Property(propertyType);
142142
var mockContent = new Content("mockContent", -1, new ContentType(-1),
143-
new PropertyCollection(new List<Property> {mockProperty}));
143+
new PropertyCollection(new List<Property> { mockProperty }));
144144

145145
{
146146
propValueConnector.SetValue(mockContent, mockProperty.Alias, value.ToString());
@@ -177,7 +177,6 @@ public override void SetValue(GridValue.GridControl control, Property property)
177177
}
178178
}
179179

180-
181180
/// <summary>
182181
/// The value of a DocTypeGridEditor cell
183182
/// <example>

src/Umbraco.Deploy.Contrib.Connectors/GridCellValueConnectors/LeBlenderGridCellValueConnector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public override void SetValue(GridValue.GridControl control, Property property)
201201
var propValueConnector = ValueConnectors.Get(propertyType);
202202
// we need to create a mocked property that we can parse in to the value connector
203203
var mockProperty = new Property(propertyType);
204-
var mockContent = new Content("mockContent", -1, new ContentType(-1), new PropertyCollection(new List<Property> {mockProperty}));
204+
var mockContent = new Content("mockContent", -1, new ContentType(-1), new PropertyCollection(new List<Property> { mockProperty }));
205205

206206
if (leBlenderProperty.Value.Type == JTokenType.Array)
207207
{
Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

5-
// General Information about an assembly is controlled through the following
6-
// set of attributes. Change these attribute values to modify the information
7-
// associated with an assembly.
84
[assembly: AssemblyTitle("Umbraco.Deploy.Contrib.Connectors")]
95
[assembly: AssemblyDescription("")]
106
[assembly: AssemblyConfiguration("")]
117
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("Umbraco.Deploy.Contrib.Connectors")]
13-
[assembly: AssemblyCopyright("Copyright © 2017")]
8+
[assembly: AssemblyProduct("Umbraco.Deploy.Contrib")]
9+
[assembly: AssemblyCopyright("Copyright \xa9 2016 Umbraco")]
1410
[assembly: AssemblyTrademark("")]
1511
[assembly: AssemblyCulture("")]
1612

17-
// Setting ComVisible to false makes the types in this assembly not visible
18-
// to COM components. If you need to access a type in this assembly from
19-
// COM, set the ComVisible attribute to true on that type.
2013
[assembly: ComVisible(false)]
21-
22-
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("42fb2213-0815-41cd-94f8-dfb0ec1d8061")]
14+
[assembly: Guid("42fb2213-0815-41cd-94f8-dfb0ec1d8061")]

0 commit comments

Comments
 (0)