Shandem
09428d703c
Merge pull request #298 from KevinJump/6.2.0--PackageServiceFixes
...
6.2.0 package service fixes
2014-03-19 14:43:19 +11:00
Shannon
a60e2318ad
Fix Null Prevalue Values on Export of DataTypes
...
Exporting a DataType that has a Numeric pre-value that has no value
causes an Exception - added null checking to pre value.value
2014-03-17 13:23:26 +11:00
Morten Christensen
b680f87c12
Adding a note about the usage of the PackageInstallation class in the PackagingService
2014-03-14 12:14:43 +01:00
Morten Christensen
8db6633c91
Initial implementation of a new package installation approach based on PR-297. Everything is left internal as we don't know when something like this can be introduced.
...
Idea is to be able to install a complete package using the PackagingService, so that we eventually can obsolete the old Packager/Installer-code.
2014-03-14 12:11:38 +01:00
Kevin Jump
366697f4eb
PackageService: Fixes Single import for DataTypes
...
Importing a file with a single data type failed, because the DataType
element is at the root when exported.
2014-02-18 15:10:11 +00:00
Kevin Jump
987644379e
Fix U4-4119 - Export Fails for Generic Properties
...
Adds null checking for PropertyGroupID on export so that properties with
no group (tab) don't throw an exception.
2014-02-18 15:07:47 +00:00
Morten Christensen
955573256d
Updating the legacy Installer class to use the new methods in the PackagingService
2014-01-10 15:11:07 +01:00
Morten Christensen
d963f5cd7d
Updating a few methods that are made public in 7.0.2
2014-01-10 14:57:27 +01:00
Morten Christensen
2467b5ee3b
Removing some internal experimental stuff that isnt used
2014-01-10 14:53:27 +01:00
Morten Christensen
f86eb4b741
Adds import and export of languages along with tests
2014-01-10 14:48:55 +01:00
Morten Christensen
6e344f335e
Adding Export of DictionaryItems including test
2014-01-10 13:08:33 +01:00
Morten Christensen
6b205bd725
Updates from PR#127 from Lars-Erik. Had to manually copy in the changes because the PR was closed.
...
Adds Import of Dictionary Items to the PackagingService along with tests and a fix for the DictionaryRepository.
2014-01-10 11:45:41 +01:00
Sebastiaan Janssen
aae16f227e
Merge pull request #227 from mattbrailsford/6.2.0-3454
...
Maintains tab sort order for doc type imports/exports.
2013-12-29 06:20:09 -08:00
Shannon
763ab26446
Updates packaging service to not export empty properties.
2013-12-19 13:13:13 +11:00
Shannon
fe16cc91fa
back ports packaging service updates
2013-12-16 18:17:30 +11:00
Shannon
2ce952bdbb
backports data type service updates and fixes unit tests with correct seeding value.
2013-12-16 17:17:23 +11:00
lars-erik
d8debf6789
Fixes Template.ToXml() (U4-3508) and refactored Template.Import to use PackagingService.ImportTemplates.
...
Fixed nullreference bug in ImportTemplates when used with XElement("Template"). (Added test for case with one template only)
2013-11-13 14:27:05 +01:00
mattbrailsford
d963917556
Added SortOrder to XML for document types (used by export)
...
Added ability for doctype importer to set the sort order if a sort order element is available
2013-11-07 16:30:23 +00:00
Shannon
9a3b70149c
Fixes packaging service to export data type's property with the ID as the property editor ID
2013-10-28 11:00:14 +11:00
Morten Christensen
09de4a3666
Adding LocalizationService to ctor
2013-09-04 11:30:00 +02:00
Sebastiaan Janssen
e634dba4ea
2nd attempt: U4-2514 Checkboxlist prevalues in packages broken
2013-07-23 13:16:18 +02:00
Sebastiaan Janssen
0d5ec8bfd5
Merge branch '6.0.7' into 6.1.2
2013-06-26 20:57:32 +02:00
Sebastiaan Janssen
d9228c368f
Fixes U4-2404 Photo gallery broken on Azure - Since the template saving routine is doing ToSafeAlias, we should also do it when setting the default template
2013-06-26 20:54:36 +02:00
Morten Christensen
4643d34546
Moving generation of xml from ContentExtensions to the PackagingService
2013-06-26 13:30:54 +02:00
Morten Christensen
e4387b8dae
Adding some internal bits in the ServiceContextManager and PackagingService
2013-06-25 13:43:57 +02:00
Morten Christensen
634e4a6949
Merge with 6.0.6
2013-05-27 08:47:14 -02:00
Morten Christensen
e61b567ee1
Fixes #U4-2270 and #U4-2269
2013-05-27 08:45:07 -02:00
Morten Christensen
232581664b
Moving internal membership provider classes.
...
Adding missing alias to AllowedContentTypes on ContentType.
Adding Package export test.
2013-05-24 08:13:24 -02:00
Sebastiaan Janssen
59c36ad70e
Fixed U4-2090 Content not published after installing starterkit on fresh site
...
(Umbraco 6.1 beta)
Reverts previous "fix" as the actual cause was in Document.cs
2013-05-10 06:59:51 -02:00
Sebastiaan Janssen
753fe411c5
Fixes U4-2090 Content not published after installing starterkit on fresh site
...
(Umbraco 6.1 beta)
2013-05-07 13:01:18 -02:00
Morten Christensen
3fdc0e5361
Fixes #U4-2137 Ensuring that existing templates are updated instead of duplicated when installing packages.
...
Adds test for installing templates and then updating the same templates through another package install.
2013-04-24 07:41:37 -02:00
Morten Christensen
f758b33da5
Properly fixes #U4-2112 and adds option to determine whether or not to import doc type structues.
2013-04-21 07:25:38 -02:00
Sebastiaan Janssen
eba7582a97
Eh, yeah, maybe I should start with making a copy of the element first.. d'oh!
2013-04-17 11:16:15 -02:00
Sebastiaan Janssen
0cf2a1fc2a
Possible fix for U4-2097 Package import causes template tree to break - modified
...
closure problem
2013-04-17 10:57:24 -02:00
Morten Christensen
eab9be4ef7
Fixing issue with reimporting document types and the structure of allowed doc types.
...
Removing old code from Installer.
2013-04-04 06:02:08 -02:00
Morten Christensen
49b5ddf850
Refactor of fix for U4-2014
2013-03-31 18:17:01 -02:00
Sebastiaan Janssen
69b0c7cf09
Fixes: U4-2024 Umbraco 6.0.3 : Error while importing Document Type
2013-03-29 15:01:04 -01:00
Sebastiaan Janssen
b4ce4fbdef
Logging warning when package installer can't create a property due to a missing
...
datatype for that property
2013-03-26 07:55:43 -01:00
Sebastiaan Janssen
bc9fd04a36
Related to U4-1847 - Tabs weren't imported with the correct sort order and when
...
a datatype can't be found we should silently fail and not create the property
that wants that datatype (that's how v4 did it).
2013-03-25 12:49:43 -01:00
Morten Christensen
6b74b75b6f
Adding a few checks to ensure that we don't try to bulk save an empty list
2013-03-22 14:08:20 -01:00
Morten Christensen
98e53b3d74
Correcting a few checks for multiple or single item imports in the PackagingService
2013-03-22 13:58:21 -01:00
Morten Christensen
a1f01f9d5c
re-inverting the check for existing datatypedefinitions in the packaging service
2013-03-22 13:48:51 -01:00
Sebastiaan Janssen
70285991bb
I think this was an oversight, if a definition is NOT null, then fill it
2013-03-22 13:35:47 -01:00
Morten Christensen
d485c3da97
Fixes U4-1875 by correcting the Creating events in the ContentService and MediaService, so null is returned if the creation of an object is cancelled.
...
In the legacy Document and Media classes we check if the created object is null to determine if the event has been cancelled through the new api.
2013-03-21 16:09:45 -01:00
Morten Christensen
c6b7f20dab
Fixes U4-1849 by introducing a new attribute for packaged DataTypes, so it stores information about the database type.
...
Will still default to Ntext, but seeing as the database type has never been used before it always defaulted to Ntext.
2013-03-21 14:40:17 -01:00
Morten Christensen
a55fedab0a
Adding a few checks to ensure package installation doesn't fail when properties are not present in the xml.
2013-03-21 13:40:54 -01:00
Morten Christensen
0e12f14a4a
Making the export method internal until its been properly implemented
2013-03-21 13:10:31 -01:00
Morten Christensen
63de9e6691
Refactoring package installer to use the new PackagingService.
...
Refactoring ImportDocumentType dialog to import through the PackagingService.
Making a few corrections to the ProppertyGroup and PropertyType classes to support bulk saving.
2013-03-21 12:34:10 -01:00
Morten Christensen
b9ea85d29d
Updating Template to have a lazy master template id.
...
Adding a few new methods to the DataTypeService, which were needed for the import of DataTypes.
Adding bulk saving of templates.
Adding TopologicalSorter for sorting dependencies.
Implementing import of DataTypes and Templates.
Renaming the import test fixture for consistency after having creating the PackagingService.
2013-03-20 20:31:44 -01:00
Morten Christensen
d0787e92fe
Implementing PackagingService and moving Import Export methods to this service to have it specialized and centralized around packaging operations.
2013-03-20 13:51:46 -01:00