ChristophNZ
0d05d0bf34
Import Document Type: use ContentTypeService to search for allowed child nodes if they are not part of the imported type(s)
2018-02-22 15:53:11 +10:00
Shannon
244429b972
Fixes PackageInstaller event args to make sure the package metadata is passed through
2018-01-16 19:15:01 +11:00
Claus
308c381e17
U4-10014 Making package install events public
2017-06-13 13:28:23 +02:00
Sebastiaan Janssen
1164f1cdbb
Merge branch 'dev-v7' into temp-U4-9980
2017-06-04 14:55:03 +02:00
Niels Hartvig
7f05b80a22
Make Seb happy
2017-06-04 14:02:05 +02:00
Niels Hartvig
20239a9b71
Adds a null check to avoid breaking tests (and to comform to coding standards)
2017-06-04 14:00:51 +02:00
Sebastiaan Janssen
771935b8a5
Update PackagingService.cs
2017-06-03 18:36:00 +02:00
Niels Hartvig
73bb401f81
Updating to TryParse to make Sir Janssen happy :-)
2017-06-03 18:34:09 +02:00
Niels Hartvig
8ccbe4c1e4
Adds support for keys in package content
2017-06-03 17:34:31 +02:00
Shannon
e913034d93
Changes PackagingService to not have a different base class since it was not needed
2017-04-27 13:21:56 +10:00
Shannon
756b4d24c0
Updates endpoint to include hidden package files
2017-04-26 22:10:34 +10:00
Shannon
26bd3c7c0b
removes unneeded closing of stream since it's disposed
2017-04-26 19:42:58 +10:00
Shannon
944b3dcaac
New method for IPackagingService to fetch a package from the repo, removes usages of the old repo endpoint, removes ability to push a package from the back office to Our since that would require a different endpoint.
2017-04-26 19:02:36 +10:00
Claus
5226762528
Merge branch 'temp-U4-9351' into dev-v7.6
...
Conflicts:
src/Umbraco.Core/Events/ImportPackageEventArgs.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Web/Editors/PackageInstallController.cs
2017-02-10 10:08:31 +01:00
Claus
925c343a30
U4-9351 Add events for package install/uninstall
2017-02-07 10:00:34 +01:00
Stephan
6bbfb65100
Merge temp-u4-9322 (Shan Events) into temp-u4-9322a (Steph)
2017-01-26 18:30:00 +01:00
Stephan
4fc3398e49
U4-9322 - refactor UnitOfWork pattern
2017-01-25 13:34:41 +01:00
Shannon
27eeb383b4
Updates all repos to use IScopeUnitOfWork
2017-01-19 16:51:39 +11:00
Shannon
dccee93700
fixes up some null checks and fixes up some string null checks - casting XElement to (string) explicitly avoids null reference exceptions when the XElement isn't actually present.
2016-02-11 15:11:11 +01:00
Jon R. Humphrey
8b4d34a1e8
Update PackagingService.cs
...
I've made the changes to the code after running into the "sequence contains no matching element" error in my Starter Kit package install. We knew that there were no calls to .First()., .Last(), or .Single() in our code based on search results and checking for this call, however we were able to deduce that the issue was that we were including a new ImageCropper DataType without values based on Jeavon's [example:] [https://umbraco.com/follow-us/blog-archive/2014/5/30/developing-a-website-with-responsive-images-using-the-umbraco-v714-image-cropper/ ]
I know it's a simple fix but if it helps anyone else not run into the same thing then that's perfect!
Thank you for all your hard work on Umbraco, maybe someday I can do more!
2016-02-03 13:21:36 +00:00
Shannon
dbb7e3825d
Fixes events for containers
2016-01-27 15:22:58 +01:00
Shannon
cc4c7b0d88
Adds events for creating/deleting containers
2016-01-27 14:30:57 +01:00
Shannon
4ce4bd25c4
Fixes package installer and export - doesn't import any folders for child doc types, doesn't export folders for child doc types, ensures that parent doc types are added as compositions (this was never working) and changed the list<string> to hashset<string> so it's always unique.
2016-01-15 11:07:21 +01:00
Shannon
ce3028446b
Moves all serialization logic, including the part for folders into the EntityXmlSerializer where it needs to be, updates the data type repo to ensure paths are udpated correctly when moving, removes folder logic from other packaging logic, it's purely the responsibility of the serializer. adds new methods to content type and data type services to return an entities total folder collection.
2016-01-14 19:33:53 +01:00
Shannon
f0b0cd1641
adds success checking to the CreateContentTypeContainer results, adds overload instead of optional parameter (breaking change), changes GetContainer(string folderName, int level) to return IEnumerable and changed name to GetContainers - since there could be multiple results for the same container name at a given level.
2016-01-12 14:32:45 +01:00
Sebastiaan Janssen
79f0e2563c
Allows for creation of packages with folder structures for doctypes and datatypes and exporting document types with folder structures
...
Fixes installing packages while maintaining the exported folder structure
2016-01-11 22:01:05 +01:00
Sebastiaan Janssen
c783900097
Support folders for package installs (for document types and data types) and imports for document types
2016-01-11 17:52:29 +01:00
Sebastiaan Janssen
20720cdb28
Merge branch 'dev-v7' into 7.4.0
2016-01-06 15:59:51 +01:00
Sebastiaan Janssen
d2483159bc
Fixes unit tests, not all packages will have the sort order in there
2016-01-06 15:59:23 +01:00
Sebastiaan Janssen
37baeec8a9
Merge branch 'dev-v7' into 7.4.0
...
# Conflicts:
# src/Umbraco.Core/Services/PackagingService.cs
2016-01-06 15:23:47 +01:00
Sebastiaan Janssen
48ab3f580c
Fixes the build
2016-01-06 15:21:45 +01:00
Claus
c524d67a37
Fixes: U4-7553 Importing Document Type doesn't respect property sort order
...
Handling sortOrder property in both import/export.
(cherry picked from commit 378479b4c1 )
# Conflicts:
# src/Umbraco.Core/Services/PackagingService.cs
2016-01-06 14:56:31 +01:00
Claus
378479b4c1
Fixes: U4-7553 Importing Document Type doesn't respect property sort order
...
Handling sortOrder property in both import/export.
2016-01-06 14:48:37 +01:00
Claus
bfa9c80ed6
Added null checks for elements on import.
2016-01-06 10:27:39 +01:00
Kevin Jump
c1f5d8392d
Package Service - Case Insensitive Macro parameters
...
Make the check for existing alias values case Insensitive - stops the
SQL error you get if you try to add the same parameter twice.
2015-07-22 10:53:08 +01:00
Shannon
1f0a4490a6
U4-6737 Add unique id (guid) column to property type
2015-06-24 17:47:20 +02:00
Shannon
76a10fc776
Works on: U4-1979 Some legacy business logic APIs do not wrap the new Service APIs. Deprecates the ctor passing in a parent id for the data type (since it's always -1). Wraps legacy DataTypeDefinition to use the new services layer.
2015-05-18 16:06:22 +10:00
Shannon
a1c7352da1
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Integration/GetCultureTests.cs
src/Umbraco.Tests/Models/ContentTests.cs
src/Umbraco.Tests/Models/ContentTypeTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Tests/Services/ContentTypeServiceTests.cs
src/Umbraco.Web/Models/ContentExtensions.cs
src/Umbraco.Web/Mvc/SurfaceController.cs
2015-04-09 16:50:07 +10:00
Shannon
b35397b464
uses property type ctor overload to accept an alias which prob should have been there all along since in most cases you need an alias to create one (same prob goes for property groups, etc... but oh well). Adds a couple tests for case insensitive comparisons in PropertyCollection
2015-04-08 16:33:16 +10:00
Shannon
e1e73f5e5f
completes: U4-6174 Remove cmsPropertyType.helpText column
2015-01-29 17:21:44 +11:00
Shannon
519b06fe30
Moves logging interface to Logging namespace called ILogger, creates a resolver for it, updates the boot process to ensure it exists first and anything during the boot process that is logging ensures that if it is not resolved that it logs elsewhere. Wraps LogHelper to use the ILogger based on the resolver. Updates all services that used LogHelper to have an ILogger injected into them. This is really only the start, there's a ton of places that use LogHelper (508) other places so we'll need to start looking at changing those over. All base classes will need to expose an Ilogger so people can use that.
2015-01-07 17:23:24 +11:00
Morten Christensen
25de56a98b
Ensuring that imported data types raise events with PreValues saved.
2014-12-02 16:11:59 +01:00
Morten Christensen
b11135a096
Fixes #U4-5921 Import of Document Type fails, if dependencies are not part of the import.
2014-12-02 13:35:58 +01:00
Morten Christensen
dcc50c3b53
Adding optional ctor overload for ContentType to enable passing an Alias
2014-12-01 15:26:20 +01:00
Morten Christensen
c288c2b9a3
Improves sorting of doc types before importing. Related to U4-5868
2014-11-26 22:47:36 +01:00
Morten Christensen
ea9c37d500
Implements U4-5868 Packager should include compositions
2014-11-26 14:22:31 +01:00
Shannon
da87ba8bc7
Merge remote-tracking branch 'origin/7.1.9' into 7.2.0
...
Conflicts:
src/Umbraco.Core/Services/PackagingService.cs
2014-11-21 09:59:31 +11:00
Kristian Schneider
3e66235932
amendment to U4-5737 Create package: ContentType Tab index not saved to ensure that the sortorder gets updated when importing doctypes
2014-11-20 14:23:47 +00:00
Shannon Deminick
58f4d2a6c5
Merge pull request #475 from KevinJump/v7.1.6.packagecontentfix
...
Package Installer - Moving content.setValue back out of PropertyType if block (back to v7.1.4 pos)
2014-10-27 10:27:29 +10:00
Shannon
863e8b5024
Changes PetaPoco UOW to use a Queue instead of trying to order by a date which even in ticks is sometimes the same. Changes some content ext to accept the service it needs instead of relying on the app ctx singleton and obsoletes others. Fixes ContentBase.ContentTypeId to check if the Id has been set on it's true ContentTypeBase which is required with the new foreign key to insert entities (this was actually a bug without the foreign key). Updates media/content services with paging to use parameters correctly. Fixes tests.
2014-10-01 10:18:51 +10:00