From 293aa7f6f361bac9304a87e657df41e0e3e433b0 Mon Sep 17 00:00:00 2001 From: Tom Fulton Date: Tue, 24 Nov 2015 21:54:01 -0800 Subject: [PATCH 01/10] Update grunt-umbraco-package to v1.0 --- Gruntfile.js | 25 +++++++++++++------------ config/package.xml | 39 --------------------------------------- package.json | 2 +- 3 files changed, 14 insertions(+), 52 deletions(-) delete mode 100644 config/package.xml diff --git a/Gruntfile.js b/Gruntfile.js index 4c1340c..0b1e65a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -193,18 +193,19 @@ module.exports = function(grunt) { }, umbracoPackage: { - options: { - name: "<%= pkgMeta.name %>", - version: '<%= pkgMeta.version %>', - url: '<%= pkgMeta.url %>', - license: '<%= pkgMeta.license %>', - licenseUrl: '<%= pkgMeta.licenseUrl %>', - author: '<%= pkgMeta.author %>', - authorUrl: '<%= pkgMeta.authorUrl %>', - manifest: 'config/package.xml', - readme: 'config/readme.txt', - sourceDir: 'tmp/umbraco', - outputDir: 'pkg', + dist: { + src: 'tmp/umbraco', + dest: 'pkg', + options: { + name: "<%= pkgMeta.name %>", + version: '<%= pkgMeta.version %>', + url: '<%= pkgMeta.url %>', + license: '<%= pkgMeta.license %>', + licenseUrl: '<%= pkgMeta.licenseUrl %>', + author: '<%= pkgMeta.author %>', + authorUrl: '<%= pkgMeta.authorUrl %>', + readme: '<%= grunt.file.read("config/readme.txt") %>' + } } }, diff --git a/config/package.xml b/config/package.xml deleted file mode 100644 index 1bb787a..0000000 --- a/config/package.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - <%= name %> - <%= version %> - <%= license %> - <%= url %> - - 0 - 0 - 0 - - - - <%= author %> - <%= authorUrl %> - - ]]> - - - - - - - - - - - - <% files.forEach(function(file) { %> - - <%= file.guid %>.<%= file.ext %> - <%= file.dir %> - <%= file.name %> - - <% }); %> - - \ No newline at end of file diff --git a/package.json b/package.json index 4032a92..a1b04ff 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "grunt-msbuild": "~0.1.9", "grunt-dotnet-assembly-info": "~1.0.9", "load-grunt-tasks": "~0.4.0", - "grunt-umbraco-package": "0.0.6" + "grunt-umbraco-package": "^1.0.0" }, "repository": { "type": "git", From 608b12aa10ba06b965dfef8453d3ac39daf84431 Mon Sep 17 00:00:00 2001 From: kgiszewski Date: Thu, 3 Dec 2015 08:43:23 -0500 Subject: [PATCH 02/10] Revert "Fix #304" This reverts commit f4e449f0305fc91a74707102851259132348d0d2. Conflicts: app/Umbraco/Umbraco.Archetype/Models/ArchetypeModel.cs --- .../Umbraco.Archetype/Models/ArchetypeModel.cs | 17 ----------------- config/meta.json | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/app/Umbraco/Umbraco.Archetype/Models/ArchetypeModel.cs b/app/Umbraco/Umbraco.Archetype/Models/ArchetypeModel.cs index cf37c92..11a13a1 100644 --- a/app/Umbraco/Umbraco.Archetype/Models/ArchetypeModel.cs +++ b/app/Umbraco/Umbraco.Archetype/Models/ArchetypeModel.cs @@ -4,7 +4,6 @@ using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -using Umbraco.Core.Logging; namespace Archetype.Models { @@ -48,22 +47,6 @@ namespace Archetype.Models /// public string SerializeForPersistence() { - //clean out any properties with a null datatype - foreach (var fieldset in Fieldsets) - { - var properties = fieldset.Properties.ToList(); - - foreach (var property in fieldset.Properties) - { - if (property.DataTypeGuid == null) - { - properties.Remove(property); - } - } - - fieldset.Properties = properties; - } - var json = JObject.Parse(JsonConvert.SerializeObject(this, new JsonSerializerSettings() { ReferenceLoopHandling = ReferenceLoopHandling.Ignore })); var propertiesToRemove = new String[] { "propertyEditorAlias", "dataTypeId", "dataTypeGuid", "hostContentType", "editorState" }; diff --git a/config/meta.json b/config/meta.json index e5d1968..2c9c76f 100644 --- a/config/meta.json +++ b/config/meta.json @@ -1,6 +1,6 @@ { "name": "Archetype", - "version": "1.12.0", + "version": "1.12.1", "url": "http://github.com/imulus/archetype/", "author": "Imulus - Kevin Giszewski - Tom Fulton - Lee Kelleher - Matt Brailsford - Kenn Jacobsen - Et. Al.", "authorUrl": "http://imulus.com/", From bb056a01ddd0dc8b03491faa467707b4445b4fa4 Mon Sep 17 00:00:00 2001 From: kgiszewski Date: Thu, 3 Dec 2015 08:44:40 -0500 Subject: [PATCH 03/10] Update dll to v1.12.1 --- app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs b/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs index 08dbf8f..2ba2adf 100644 --- a/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs +++ b/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs @@ -1,4 +1,4 @@ using System.Reflection; -[assembly: AssemblyVersion("1.12.0")] -[assembly: AssemblyFileVersion("1.12.0")] +[assembly: AssemblyVersion("1.12.1")] +[assembly: AssemblyFileVersion("1.12.1")] From 7df4d4cfcd9b2a105968e0773b1fbbce745b55e0 Mon Sep 17 00:00:00 2001 From: Martin Abrahams Date: Thu, 10 Dec 2015 16:03:14 +1100 Subject: [PATCH 04/10] Fix for issue #258, same issue as fileupload datatype, need to add empty validation property --- app/directives/archetypeproperty.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/directives/archetypeproperty.js b/app/directives/archetypeproperty.js index 58430f3..37bd121 100644 --- a/app/directives/archetypeproperty.js +++ b/app/directives/archetypeproperty.js @@ -99,6 +99,13 @@ angular.module("umbraco.directives").directive('archetypeProperty', function ($c scope.model.validation = {}; scope.model.validation.mandatory = 0; } + + //colorpicker datatype hack + if (view.indexOf('colorpicker.html') != -1) { + scope.propertyForm = scope.form; + scope.model.validation = {}; + scope.model.validation.mandatory = 0; + } //some items need an alias scope.model.alias = "archetype-property-" + propertyAlias; From 8dfe1f3ca43a3a9d333085985057562cca28500e Mon Sep 17 00:00:00 2001 From: kgiszewski Date: Tue, 15 Dec 2015 11:26:40 -0500 Subject: [PATCH 05/10] Keepin it DRY --- app/directives/archetypeproperty.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/app/directives/archetypeproperty.js b/app/directives/archetypeproperty.js index 37bd121..3a9b177 100644 --- a/app/directives/archetypeproperty.js +++ b/app/directives/archetypeproperty.js @@ -93,15 +93,8 @@ angular.module("umbraco.directives").directive('archetypeProperty', function ($c } } - //upload datatype hack - if(view.indexOf('fileupload.html') != -1) { - scope.propertyForm = scope.form; - scope.model.validation = {}; - scope.model.validation.mandatory = 0; - } - - //colorpicker datatype hack - if (view.indexOf('colorpicker.html') != -1) { + //upload, colorpicker datatype hack + if(view.indexOf('fileupload.html') != -1 || view.indexOf('colorpicker.html') != -1) { scope.propertyForm = scope.form; scope.model.validation = {}; scope.model.validation.mandatory = 0; From 16351df6924a951e0be70b236dd5ef8a108ec943 Mon Sep 17 00:00:00 2001 From: kgiszewski Date: Mon, 4 Jan 2016 15:02:02 -0500 Subject: [PATCH 06/10] Fix #312 --- Gruntfile.js | 42 +++++++++++-------- .../Properties/VersionInfo.cs | 4 +- config/meta.json | 2 +- config/package.nuspec | 2 +- config/package_binaries.nuspec | 18 ++++++++ 5 files changed, 47 insertions(+), 21 deletions(-) create mode 100644 config/package_binaries.nuspec diff --git a/Gruntfile.js b/Gruntfile.js index 0b1e65a..a874b74 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -18,8 +18,7 @@ module.exports = function(grunt) { "app/views/archetype.config.fieldset.dialog_versioned.html": "app/views/archetype.config.fieldset.dialog.html", "app/views/archetype.config_versioned.html": "app/views/archetype.config.html", "app/views/archetype_versioned.html": "app/views/archetype.html", - "app/views/archetype.default_versioned.html": "app/views/archetype.default.html", - + "app/views/archetype.default_versioned.html": "app/views/archetype.default.html" }, options: { replacements: [{ @@ -152,7 +151,7 @@ module.exports = function(grunt) { { cwd: '<%= dest %>/bin', src: ['*.dll'], - dest: 'tmp/nuget/lib/net40', + dest: 'tmp/nuget_binaries/lib/net40', expand: true } ] @@ -169,6 +168,10 @@ module.exports = function(grunt) { dist: { src: 'tmp/nuget/package.nuspec', dest: 'pkg' + }, + dist_binaries: { + src: 'tmp/nuget_binaries/package_binaries.nuspec', + dest: 'pkg' } }, @@ -182,13 +185,28 @@ module.exports = function(grunt) { license: '<%= pkgMeta.license %>', licenseUrl: '<%= pkgMeta.licenseUrl %>', author: '<%= pkgMeta.author %>', - authorUrl: '<%= pkgMeta.authorUrl %>', - files: [{ path: 'tmp/nuget/**', target: 'content/App_Plugins/Archetype'}] + authorUrl: '<%= pkgMeta.authorUrl %>' } }, 'files': { 'tmp/nuget/package.nuspec': ['config/package.nuspec'] } + }, + 'nuspec_binaries': { + 'options': { + 'data': { + name: '<%= pkgMeta.name %>.Binaries', + version: '<%= pkgMeta.version %>', + url: '<%= pkgMeta.url %>', + license: '<%= pkgMeta.license %>', + licenseUrl: '<%= pkgMeta.licenseUrl %>', + author: '<%= pkgMeta.author %>', + authorUrl: '<%= pkgMeta.authorUrl %>' + } + }, + 'files': { + 'tmp/nuget_binaries/package_binaries.nuspec': ['config/package_binaries.nuspec'] + } } }, @@ -249,15 +267,6 @@ module.exports = function(grunt) { src: ['<%= grunt.option("target") %>\\Web.config'] } }, - - jshint: { - options: { - jshintrc: '.jshintrc' - }, - src: { - src: ['app/**/*.js', 'lib/**/*.js'] - } - }, msbuild: { options: { @@ -281,8 +290,7 @@ module.exports = function(grunt) { }); grunt.registerTask('default', ['clean', 'string-replace', 'less', 'concat', 'assemblyinfo', 'msbuild:dist', 'copy:dll', 'copy:assets', 'copy:html', 'copy:config', 'clean:html', 'clean:js', 'clean:less']); - - grunt.registerTask('nuget', ['clean:tmp', 'default', 'copy:nuget', 'template:nuspec', 'nugetpack', 'clean:tmp']); + grunt.registerTask('nuget', ['clean:tmp', 'default', 'copy:nuget', 'template:nuspec', 'template:nuspec_binaries', 'nugetpack']); grunt.registerTask('umbraco', ['clean:tmp', 'default', 'copy:umbraco', 'umbracoPackage', 'clean:tmp']); - grunt.registerTask('package', ['clean:tmp', 'default', 'copy:nuget', 'template:nuspec', 'nugetpack', 'copy:umbraco', 'umbracoPackage', 'clean:tmp']); + grunt.registerTask('package', ['clean:tmp', 'default', 'copy:nuget', 'template:nuspec', 'template:nuspec_binaries', 'nugetpack', 'copy:umbraco', 'umbracoPackage']); }; \ No newline at end of file diff --git a/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs b/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs index 2ba2adf..d1253d4 100644 --- a/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs +++ b/app/Umbraco/Umbraco.Archetype/Properties/VersionInfo.cs @@ -1,4 +1,4 @@ using System.Reflection; -[assembly: AssemblyVersion("1.12.1")] -[assembly: AssemblyFileVersion("1.12.1")] +[assembly: AssemblyVersion("1.12.2")] +[assembly: AssemblyFileVersion("1.12.2")] diff --git a/config/meta.json b/config/meta.json index 2c9c76f..8329404 100644 --- a/config/meta.json +++ b/config/meta.json @@ -1,6 +1,6 @@ { "name": "Archetype", - "version": "1.12.1", + "version": "1.12.2", "url": "http://github.com/imulus/archetype/", "author": "Imulus - Kevin Giszewski - Tom Fulton - Lee Kelleher - Matt Brailsford - Kenn Jacobsen - Et. Al.", "authorUrl": "http://imulus.com/", diff --git a/config/package.nuspec b/config/package.nuspec index 6755f9e..8853785 100644 --- a/config/package.nuspec +++ b/config/package.nuspec @@ -12,7 +12,7 @@ http://github.com/imulus/archetype/raw/master/assets/logo.png <%= licenseUrl %> - + \ No newline at end of file diff --git a/config/package_binaries.nuspec b/config/package_binaries.nuspec new file mode 100644 index 0000000..d21714d --- /dev/null +++ b/config/package_binaries.nuspec @@ -0,0 +1,18 @@ + + + + Archetype.Binaries + <%= version %> + <%= name %> + imulus, kgiszewski, tomfulton + imulus, kgiszewski, tomfulton + http://github.com/imulus/archetype + + umbraco + http://github.com/imulus/archetype/raw/master/assets/logo.png + <%= licenseUrl %> + + + + + \ No newline at end of file From bb194fff761f31667a5fd3054f07719d1b843c25 Mon Sep 17 00:00:00 2001 From: kgiszewski Date: Tue, 5 Jan 2016 08:35:35 -0500 Subject: [PATCH 07/10] Fix #314 --- Gruntfile.js | 32 +++++++++++++++++++++++++++++--- config/package_courier.nuspec | 18 ++++++++++++++++++ 2 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 config/package_courier.nuspec diff --git a/Gruntfile.js b/Gruntfile.js index a874b74..019e965 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -153,6 +153,12 @@ module.exports = function(grunt) { src: ['*.dll'], dest: 'tmp/nuget_binaries/lib/net40', expand: true + }, + { + cwd: 'app/Umbraco/Archetype.Courier/bin/release/', + src: ['Archetype.Courier.dll'], + dest: 'tmp/nuget_courier/lib/net40', + expand: true } ] }, @@ -172,6 +178,10 @@ module.exports = function(grunt) { dist_binaries: { src: 'tmp/nuget_binaries/package_binaries.nuspec', dest: 'pkg' + }, + dist_courier: { + src: 'tmp/nuget_courier/package_courier.nuspec', + dest: 'pkg' } }, @@ -207,6 +217,22 @@ module.exports = function(grunt) { 'files': { 'tmp/nuget_binaries/package_binaries.nuspec': ['config/package_binaries.nuspec'] } + }, + 'nuspec_courier': { + 'options': { + 'data': { + name: '<%= pkgMeta.name %>.Courier', + version: '<%= pkgMeta.version %>', + url: '<%= pkgMeta.url %>', + license: '<%= pkgMeta.license %>', + licenseUrl: '<%= pkgMeta.licenseUrl %>', + author: '<%= pkgMeta.author %>', + authorUrl: '<%= pkgMeta.authorUrl %>' + } + }, + 'files': { + 'tmp/nuget_courier/package_courier.nuspec': ['config/package_courier.nuspec'] + } } }, @@ -290,7 +316,7 @@ module.exports = function(grunt) { }); grunt.registerTask('default', ['clean', 'string-replace', 'less', 'concat', 'assemblyinfo', 'msbuild:dist', 'copy:dll', 'copy:assets', 'copy:html', 'copy:config', 'clean:html', 'clean:js', 'clean:less']); - grunt.registerTask('nuget', ['clean:tmp', 'default', 'copy:nuget', 'template:nuspec', 'template:nuspec_binaries', 'nugetpack']); - grunt.registerTask('umbraco', ['clean:tmp', 'default', 'copy:umbraco', 'umbracoPackage', 'clean:tmp']); - grunt.registerTask('package', ['clean:tmp', 'default', 'copy:nuget', 'template:nuspec', 'template:nuspec_binaries', 'nugetpack', 'copy:umbraco', 'umbracoPackage']); + grunt.registerTask('nuget', ['copy:nuget', 'template:nuspec', 'template:nuspec_binaries', 'template:nuspec_courier', 'nugetpack']); + grunt.registerTask('umbraco', ['copy:umbraco', 'umbracoPackage']); + grunt.registerTask('package', ['clean:tmp', 'default', 'nuget', 'copy:umbraco', 'umbracoPackage', 'clean:tmp']); }; \ No newline at end of file diff --git a/config/package_courier.nuspec b/config/package_courier.nuspec new file mode 100644 index 0000000..562177d --- /dev/null +++ b/config/package_courier.nuspec @@ -0,0 +1,18 @@ + + + + Archetype.Courier + <%= version %> + <%= name %> + leekelleher + kgiszewski, leekelleher + http://github.com/imulus/archetype + + umbraco + http://github.com/imulus/archetype/raw/master/assets/logo.png + <%= licenseUrl %> + + + + + \ No newline at end of file From 990836bc37cd1b6455d073665a624a1c82fb82d7 Mon Sep 17 00:00:00 2001 From: kgiszewski Date: Tue, 5 Jan 2016 08:39:09 -0500 Subject: [PATCH 08/10] Fix #315 --- app/Umbraco/DatabaseSizer/Application.cs | 53 ---- .../DatabaseSizer/DatabaseSizer.csproj | 250 ------------------ .../DatabaseSizer/Properties/AssemblyInfo.cs | 36 --- app/Umbraco/DatabaseSizer/app.config | 27 -- app/Umbraco/DatabaseSizer/packages.config | 25 -- app/Umbraco/Umbraco.Archetype.sln | 10 +- 6 files changed, 3 insertions(+), 398 deletions(-) delete mode 100644 app/Umbraco/DatabaseSizer/Application.cs delete mode 100644 app/Umbraco/DatabaseSizer/DatabaseSizer.csproj delete mode 100644 app/Umbraco/DatabaseSizer/Properties/AssemblyInfo.cs delete mode 100644 app/Umbraco/DatabaseSizer/app.config delete mode 100644 app/Umbraco/DatabaseSizer/packages.config diff --git a/app/Umbraco/DatabaseSizer/Application.cs b/app/Umbraco/DatabaseSizer/Application.cs deleted file mode 100644 index 5261a0f..0000000 --- a/app/Umbraco/DatabaseSizer/Application.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using Umbraco.Core; -using Umbraco.Core.Logging; - -namespace DatabaseSizer -{ - /// - /// A now obsolete project that handled an Umbraco core limitation. - /// - [Obsolete("This project is now obsolete with 7.2.2+")] - public class Application : ApplicationEventHandler - { - protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) - { - base.ApplicationStarted(umbracoApplication, applicationContext); - - ExpandPrevalueValueColumnSize(); - } - - protected void ExpandPrevalueValueColumnSize() - { - try - { - var dbContext = ApplicationContext.Current.DatabaseContext; - var colCount = - dbContext.Database.ExecuteScalar( - "SELECT COUNT(1) FROM INFORMATION_SCHEMA.COLUMNS WHERE DATA_TYPE = 'nvarchar' AND COLUMN_NAME = 'value' AND CHARACTER_MAXIMUM_LENGTH = 2500 AND TABLE_NAME = 'cmsDataTypePreValues'"); - - // Check column - if (colCount != 0) - { - using (var trans = dbContext.Database.GetTransaction()) - { - // Change column - dbContext.Database.Execute("ALTER TABLE [cmsDataTypePreValues] ALTER COLUMN [value] ntext NULL;"); - - trans.Complete(); - } - - LogHelper.Debug(typeof(Application), "Successfully expanded Prevalue table Value column"); - } - else - { - LogHelper.Debug(typeof(Application), "Prevalue table Value column is already expanded"); - } - } - catch (Exception ex) - { - LogHelper.Error(typeof(Application), "Error expanding Prevalue table Value column", ex); - } - } - } -} \ No newline at end of file diff --git a/app/Umbraco/DatabaseSizer/DatabaseSizer.csproj b/app/Umbraco/DatabaseSizer/DatabaseSizer.csproj deleted file mode 100644 index 7337c4d..0000000 --- a/app/Umbraco/DatabaseSizer/DatabaseSizer.csproj +++ /dev/null @@ -1,250 +0,0 @@ - - - - - Debug - AnyCPU - {0114C963-C514-49C1-B7AB-DCB1825F498C} - Library - Properties - DatabaseSizer - DatabaseSizer - v4.5 - 512 - ..\ - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\AutoMapper.3.0.0\lib\net40\AutoMapper.dll - False - - - ..\packages\AutoMapper.3.0.0\lib\net40\AutoMapper.Net4.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\businesslogic.dll - False - - - ..\packages\ClientDependency.1.7.1.2\lib\ClientDependency.Core.dll - False - - - ..\packages\ClientDependency-Mvc.1.7.0.4\lib\ClientDependency.Core.Mvc.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\cms.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\controls.dll - False - - - ..\packages\xmlrpcnet.2.5.0\lib\net20\CookComputing.XmlRpcV2.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\Examine.dll - False - - - ..\packages\HtmlAgilityPack.1.4.6\lib\Net45\HtmlAgilityPack.dll - False - - - ..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll - False - - - ..\packages\ImageProcessor.1.9.0.0\lib\ImageProcessor.dll - False - - - ..\packages\ImageProcessor.Web.3.2.3.0\lib\net45\ImageProcessor.Web.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\interfaces.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\log4net.dll - False - - - ..\packages\Lucene.Net.2.9.4.1\lib\net40\Lucene.Net.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\Microsoft.ApplicationBlocks.Data.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\Microsoft.Web.Helpers.dll - False - - - False - ..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll - - - ..\packages\Microsoft.AspNet.Mvc.FixedDisplayModes.1.0.0\lib\net40\Microsoft.Web.Mvc.FixedDisplayModes.dll - False - - - ..\packages\MiniProfiler.2.1.0\lib\net40\MiniProfiler.dll - False - - - ..\packages\MySql.Data.6.6.5\lib\net40\MySql.Data.dll - False - - - ..\packages\Newtonsoft.Json.6.0.2\lib\net45\Newtonsoft.Json.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\SQLCE4Umbraco.dll - False - - - - - False - ..\packages\UmbracoCms.Core.7.1.2\lib\System.Data.SqlServerCe.dll - - - False - ..\packages\UmbracoCms.Core.7.1.2\lib\System.Data.SqlServerCe.Entity.dll - - - ..\packages\Microsoft.AspNet.WebApi.Client.4.0.30506.0\lib\net40\System.Net.Http.Formatting.dll - False - - - - False - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll - - - ..\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll - False - - - ..\packages\Microsoft.AspNet.WebApi.WebHost.4.0.20710.0\lib\net40\System.Web.Http.WebHost.dll - False - - - False - ..\packages\Microsoft.AspNet.Mvc.4.0.20710.0\lib\net40\System.Web.Mvc.dll - - - False - ..\packages\Microsoft.AspNet.Razor.2.0.20710.0\lib\net40\System.Web.Razor.dll - - - False - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll - - - False - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll - - - False - ..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll - - - - - - - - ..\packages\UmbracoCms.Core.7.1.2\lib\TidyNet.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\umbraco.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\Umbraco.Core.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\umbraco.DataLayer.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\umbraco.editorControls.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\umbraco.MacroEngines.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\umbraco.providers.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\Umbraco.Web.UI.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\umbraco.XmlSerializers.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\UmbracoExamine.dll - False - - - ..\packages\UmbracoCms.Core.7.1.2\lib\UrlRewritingNet.UrlRewriter.dll - False - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file diff --git a/app/Umbraco/DatabaseSizer/Properties/AssemblyInfo.cs b/app/Umbraco/DatabaseSizer/Properties/AssemblyInfo.cs deleted file mode 100644 index 46a4e6f..0000000 --- a/app/Umbraco/DatabaseSizer/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("DatabaseSizer.cs")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("DatabaseSizer.cs")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("28dc35d2-3dfb-40b4-9093-bc47c91127ea")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/app/Umbraco/DatabaseSizer/app.config b/app/Umbraco/DatabaseSizer/app.config deleted file mode 100644 index ccb9166..0000000 --- a/app/Umbraco/DatabaseSizer/app.config +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/Umbraco/DatabaseSizer/packages.config b/app/Umbraco/DatabaseSizer/packages.config deleted file mode 100644 index 3fc6851..0000000 --- a/app/Umbraco/DatabaseSizer/packages.config +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/app/Umbraco/Umbraco.Archetype.sln b/app/Umbraco/Umbraco.Archetype.sln index 342d893..000b32d 100644 --- a/app/Umbraco/Umbraco.Archetype.sln +++ b/app/Umbraco/Umbraco.Archetype.sln @@ -1,6 +1,8 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Archetype.Umbraco", "Umbraco.Archetype\Archetype.Umbraco.csproj", "{7D185D41-4228-4978-ACB8-83F9A48AD94F}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{D84AA4ED-85A6-484F-9E72-BE7AC9835821}" @@ -12,8 +14,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{D84AA4 EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Archetype.Tests", "Archetype.Tests\Archetype.Tests.csproj", "{21F3E6CF-B76F-4059-9474-1AF1CE63CD6B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatabaseSizer", "DatabaseSizer\DatabaseSizer.csproj", "{0114C963-C514-49C1-B7AB-DCB1825F498C}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Archetype.Courier", "Archetype.Courier\Archetype.Courier.csproj", "{FE8BE437-8B11-4E49-9B02-F45994E6D723}" EndProject Global @@ -30,10 +30,6 @@ Global {21F3E6CF-B76F-4059-9474-1AF1CE63CD6B}.Debug|Any CPU.Build.0 = Debug|Any CPU {21F3E6CF-B76F-4059-9474-1AF1CE63CD6B}.Release|Any CPU.ActiveCfg = Release|Any CPU {21F3E6CF-B76F-4059-9474-1AF1CE63CD6B}.Release|Any CPU.Build.0 = Release|Any CPU - {0114C963-C514-49C1-B7AB-DCB1825F498C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0114C963-C514-49C1-B7AB-DCB1825F498C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0114C963-C514-49C1-B7AB-DCB1825F498C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0114C963-C514-49C1-B7AB-DCB1825F498C}.Release|Any CPU.Build.0 = Release|Any CPU {FE8BE437-8B11-4E49-9B02-F45994E6D723}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FE8BE437-8B11-4E49-9B02-F45994E6D723}.Debug|Any CPU.Build.0 = Debug|Any CPU {FE8BE437-8B11-4E49-9B02-F45994E6D723}.Release|Any CPU.ActiveCfg = Release|Any CPU From 523630416f5dd83f62b406bb70fe822607d8fc6d Mon Sep 17 00:00:00 2001 From: bjarnef Date: Tue, 5 Jan 2016 22:19:08 +0100 Subject: [PATCH 09/10] Correct for attribute to match id of input ... futhermore add title tooltip with value of property alias like in Umbraco core. --- app/controllers/controller.js | 2 ++ app/views/archetype.default.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/controller.js b/app/controllers/controller.js index 264ea27..d8d9270 100644 --- a/app/controllers/controller.js +++ b/app/controllers/controller.js @@ -15,6 +15,8 @@ angular.module("umbraco").controller("Imulus.ArchetypeController", function ($sc // store the umbraco property alias to help generate unique IDs. Hopefully there's a better way to get this in the future :) $scope.umbracoHostPropertyAlias = $scope.$parent.$parent.model.alias; + + $scope.isDebuggingEnabled = Umbraco.Sys.ServerVariables.isDebuggingEnabled; $scope.overlayMenu = { show: false, diff --git a/app/views/archetype.default.html b/app/views/archetype.default.html index d952cc0..1b5f3fc 100644 --- a/app/views/archetype.default.html +++ b/app/views/archetype.default.html @@ -24,7 +24,7 @@
-