sitereactor
da0ab7b76a
Implements IFileService for U4-939
...
Updates TemplateRepository to treat the passed in string as an alias for a template that could be a master or a view.
2012-10-24 11:29:51 -02:00
sitereactor
d82e9848da
Implements IDataTypeService for U4-938
...
Refactoring base ContentType Repository and its implementations to allow for queries against PropertyType - still needs testing though.
Adding mappers for PropertyGroup and PropertyType models, so they are usable for queries.
2012-10-24 10:49:08 -02:00
sitereactor
ce6aeb2a21
Implements MediaService for U4-941
...
Minor update to the ContentType/MediaType repositories to insure that CT references are removed when deleting.
Updates Media- and ContentMappers to map ContentTypeId.
Updates Media to have internal Trash-method.
2012-10-24 08:36:45 -02:00
sitereactor
3ef0e302c3
Implements the Property method on the Stylesheet class, so it can be used from the backoffice.
...
Completes U4-934
2012-10-24 06:42:04 -02:00
sitereactor
987e0a8efc
Unit tests covering Mapper implementations for U4-978
2012-10-23 12:17:23 -02:00
sitereactor
a53dde8a20
Adding two missing properties to ContentTypeBase.
...
Creating mappers for the few types that supports "db queries" through the repository U4-978
2012-10-23 11:29:16 -02:00
sitereactor
ee96ced595
Adding missing code comments/documentation
2012-10-23 08:09:01 -02:00
sitereactor
bfff317a96
Adding class to create base data using the internal DTOs
2012-10-23 07:30:00 -02:00
sitereactor
2545de57e0
Refactoring usage of DatabaseType - more convention based.
...
Limiting the use of the DatabaseType, so its only used for NText and NChar.
Adding LengthAttribute for fixed sized columns.
2012-10-22 12:52:29 -02:00
sitereactor
b3d8b4c53c
Refactoring syntax providers for db creation.
...
Adding tests for sql, sql ce and mysql to ensure the creaion of tables and their dependencies/references.
2012-10-19 19:07:17 -02:00
sitereactor
c1909eccf5
Refactoring database creation, adding sql syntax provider to account for differences in syntax between sql, ce and mysql.
...
Adding MySql unit test.
2012-10-19 13:20:57 -02:00
Morten@Thinkpad-X220
e34298c9f3
Changing the BaseDatabaseTest to be provider agnostic, so we can use it to test against all 3 providers.
2012-10-18 12:08:51 -02:00
Morten@Thinkpad-X220
e745f9ef08
Merge with 6.0.0-PetaPocoExtension
2012-10-18 11:56:03 -02:00
Morten@Thinkpad-X220
0c34b1a4ef
Merge with 4.10.0
2012-10-18 11:54:32 -02:00
Morten@Thinkpad-X220
9918ca9696
Decorating remaining DTOs for db table creation
2012-10-18 11:49:44 -02:00
Morten@Thinkpad-X220.ab-nat1.dk
5bd2059cd7
Removing attributes for migrations as a library that does this already exists.
...
Updating a few DTOs for programmatic creation.
2012-10-17 10:12:30 -02:00
Shannon Deminick
e85f594b84
Fixed issue with trees not showing up for some packages, was issue with PluginManager caching between finding global types or finding types with specific attributes.
...
In this case, we were finding attributed trees only which was cached against the type of ITree, then we were looking for all ITrees but previously we cached finding ITrees
but the cache value was only the attributed ones.
Removed the caching of some plugin finding since they are only found once and there's no reason for the additional mem overhead.
2012-10-17 08:44:32 +05:00
Shannon Deminick
ea217edaae
Merge
2012-10-17 07:25:15 +05:00
Shannon Deminick
6f778c26d1
Initial commit of refactoring of package installer for the installer process. Converted a few webforms pages/controls to the new format, created
...
new JS class to manage the installation, created new MVC controller for managing the ajax installation
2012-10-16 01:33:35 +05:00
Sebastiaan Janssen
487fdea34e
Logging for the datalayer now properly uses the LogHelper in Umbraco.Core
2012-10-15 07:02:29 -02:00
Morten@Thinkpad-X220.ab-nat1.dk
2523781fc1
Refactoring PetaPoco extensions for table creation. Adding a few conventions, but still a few on the todo list.
2012-10-14 12:56:02 -02:00
Morten@Thinkpad-X220.ab-nat1.dk
10f87b3c82
Missing a few renamings of cmsTab
2012-10-14 12:03:23 -02:00
Morten@Thinkpad-X220.ab-nat1.dk
46a54d0bc3
Changing abstract migration classes to be a bit more intuitive and actually use the class instead of the decorations.
...
Added unit test for sample add and drop column changes.
2012-10-13 09:57:45 -02:00
Shannon Deminick
f7868b2cf1
Updated some of the Object resolver code, adds new protected AddTypes method, renamed method on Legacy resolver.
...
Fixes yet another issue with templates and package installs.
2012-10-13 10:59:21 +05:00
Shannon Deminick
0368f2846e
Removed erroneous logging on plugin manager.
2012-10-13 09:26:30 +05:00
Morten@Thinkpad-X220
ba45e0d365
Code from freedom friday project extending petapoco with a bunch of annotations used to decorate strongly typed models for table creation
2012-10-12 12:37:55 -02:00
Morten@Thinkpad-X220
361d3e91f6
Merge with 4.10.0
2012-10-11 13:13:38 -02:00
Morten@Thinkpad-X220
3f3362e23d
Refactoring around the RepositoryResolver to allow the configuration of repositories and cache providers for each repository.
...
Added implementation of an infrastructure configuration section.
Added unit tests for the RepositoryResolver to verify that it can resolve all repository types and their configured cache provider.
2012-10-11 13:11:17 -02:00
Shannon Deminick
ce4828d678
Fixes HasContent if there is actually no content (new install).
...
Fixes issue with TreeDefinitionCollection not initializing when accessing singleton... not sure how i overlooked that before. This fixes
issues with MNTP initialization and probably some other tree stuff.
Removes warning log in umbracomodule for not a document as this just takes up space in the log.
Fixes issue with logger that was logging 'Info' for our internal Debug calls.
2012-10-11 02:30:48 +05:00
Shannon Deminick
8e914e751c
Fixes: U4-1013 - editing a View file in template edit ensures no duplicated files.
2012-10-11 00:46:19 +05:00
Shannon Deminick
77db6cad01
Fixes issues with last commmit. Fixes: U4-786 - made some things public
2012-10-10 20:44:29 +05:00
Morten@Thinkpad-X220
3047d04f02
Some improvements around validation of content/media properties
2012-10-10 13:18:14 -02:00
Morten@Thinkpad-X220
4e19127dcf
Adding unit tests for Content along with some test helpers.
...
Implements ContentService U4-936
2012-10-10 12:13:23 -02:00
Morten@Thinkpad-X220
858e549d4a
Renaming a PetaPoco relator for consistency after db schema updates
2012-10-10 08:56:25 -02:00
Morten@Thinkpad-X220
74ecbac7d7
Refactoring Content/Media and ContentTypes/MediaTypes so the two are as close as possible. By doing this Media and Content are practically the same witht the except of a few properties.
...
This implements U4-10
2012-10-10 08:42:54 -02:00
Morten@Thinkpad-X220
90108e344f
Refactoring database changes from 4.10.0.
...
Implementing the contnet type composition as part of U4-956.
2012-10-10 07:15:51 -02:00
Morten@Thinkpad-X220.ab-nat1.dk
f69b3e9b97
Refactoring singleton implementation for DatabaseFactory and Repository Cache Providers as per recommendations from http://csharpindepth.com/articles/general/singleton.aspx
...
Adding unit test for DatabaseFactory.
2012-10-09 16:07:19 -02:00
Morten@Thinkpad-X220
2dbc40134c
Refactoring TemplateRepository and adding providers to the FileSystemPRoviders.config
2012-10-09 12:27:57 -02:00
Morten@Thinkpad-X220
a9939ac183
Adds MediaFactory implementation U4-985
...
Adds MediaRepository implementation U4-957
Refactoring ContentType and MediaType to have parent id as constructor dependency.
Refactoring PropertyFactory to work for both Content and Media.
Adding Version property to Media.
2012-10-09 11:53:22 -02:00
Morten@Thinkpad-X220
0d9bb02a9c
Adds MediaTypeRepository implementation U4-958 and improving the code structure in the content type repos a bit.
2012-10-09 10:49:43 -02:00
Morten@Thinkpad-X220
87ff6d03e8
Adds MediaTypeRepository implementation U4-958
2012-10-09 10:26:55 -02:00
Morten@Thinkpad-X220
9ca4fbff9d
Adds MediaTypeFactory implementation U4-981
2012-10-09 10:10:18 -02:00
Morten@Thinkpad-X220
62c69edf02
Moving public interfaces for a cleaner structure in the .Core project.
2012-10-09 09:49:55 -02:00
Morten@Thinkpad-X220
3454f4e8fa
Adds Stylesheet repository implementation U4-966
2012-10-09 08:49:17 -02:00
Morten@Thinkpad-X220
4eee5cfd5f
Adds template repository and an abstract file repository U4-967
2012-10-09 08:45:15 -02:00
Morten@Thinkpad-X220
0fbf3b2fdc
Adds Script repository and some edits to the Script model U4-965
...
Refactoring RepositoryResolver to use the base repository instead of the Queryable repo.
2012-10-09 08:12:03 -02:00
Morten@Thinkpad-X220
93694daf28
Renaming the base repository interface
2012-10-09 07:17:57 -02:00
Morten@Thinkpad-X220
4abc8075ab
Refactoring repository inheritance
2012-10-09 06:59:18 -02:00
Morten@Thinkpad-X220
a459cb95c4
Adds Relation and RelationType repositories U4-962 and U4-963
2012-10-09 06:34:12 -02:00
Morten@Thinkpad-X220
14e827d749
Adds Relation and RelationType factories U4-987 and U4-986
2012-10-09 06:01:04 -02:00