Shannon
48db556d1b
Updated SettingsForTest to return mockable umbraco settings so we can set whatever we want. Fixing up unit tests. Removes calls to CleanUmbracoSettingsConfig and EnsureUmbracoSettingsConfig since we should be dealing with the mockable settings.
2013-09-16 19:33:21 +10:00
Shannon
b043ee577f
Renamed config interfaces properly with Section suffix, re-implemented the For<T> UmbracoConfiguration method to retreive specific settings... might use this entirely instead of the nested access as it might make it easier to mock.
2013-09-16 17:39:45 +10:00
Shannon
09b68a75be
Simplifies the IContentSection so that there's no nesting of interface classes and updates some unit tests
2013-09-16 15:52:59 +10:00
Shannon
f38a6e1561
Makes some massive headway with the real config section, have got all code re-delegated to using it and have migrated the baserest config to the core project, all configs will be shared out of the UmbracoConfiguration singleton, now to get the unit tests all wired up and using mocks for the most part.
2013-09-13 18:11:20 +10:00
Shannon
d39cea7edd
Fixes merge issues with new member stuff regarding the column controlId -> propertyEditorAlias change. Removed the old sqlce sql scripts (
...
U4-2802 Obsolete unused/obsolete legacy umbraco.datalayer SQL utilities and installers)
2013-09-11 13:19:35 +10:00
Shannon
e75c050eff
Merge branch '7.0.0' into 7.0.0--property-editor-guid-to-alias
...
Conflicts:
src/Umbraco.Core/Models/Rdbms/PropertyDataReadOnlyDto.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Services/PackagingService.cs
src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx.cs
2013-09-11 13:07:22 +10:00
Shannon
b097f33bc9
Fixes: U4-2789 Tree.config registeres tree inconsistently
2013-09-10 18:28:45 +10:00
Shannon
42c86a05b8
Completes U4-2390 Remove VersionID Guid in IPublishedContent properties
2013-09-10 17:37:10 +10:00
Shannon
5036df4174
Fixes permissions issue with default permissions and ensures default permissions come from the user type instead of the unused db column in the umbracoUser table. Fixes up the FilterAllowedOutgoingContentAttributeTests attribute with the new permissions changes. Fixes: U4-2771 Content sort dialog, ysod on loading children
2013-09-10 13:38:45 +10:00
Shannon
e962e86c3c
Merge remote-tracking branch 'origin/6.2.0' into 7.0.0
...
Conflicts:
src/Umbraco.Core/Models/Rdbms/MemberReadOnlyDto.cs
src/Umbraco.Core/Models/Rdbms/PropertyDataReadOnlyDto.cs
src/Umbraco.Core/Persistence/Querying/BaseExpressionHelper.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IMemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberTypeRepository.cs
src/Umbraco.Core/StringExtensions.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx.cs
src/Umbraco.Web/Umbraco.Web.csproj
2013-09-10 11:49:05 +10:00
Shannon
719b921e0b
Created the maps for all core property editors to map from legacy GUID to new alias with unit tests.
2013-09-09 15:57:22 +10:00
Shannon
26a47e7ee1
Updated the published conversion process with the new PropertyValueConverter and migrated the old core IPropertyEditorValueConverters to the new format.
2013-09-09 15:17:33 +10:00
Shannon
cf6a3cdfef
A bunch more work done to convert the GUID -> alias for prop eds
2013-09-06 16:00:35 +10:00
Shannon
78741bf134
more work on removing the GUID requirement for prop editors, removes legacy editDataType webforms editor (U4-2801 Remove legacy/un-used editDataType.aspx webforms editor)
2013-09-06 15:27:38 +10:00
Shannon
45dabd6293
Lots of work on U4-2722 Change Property Editors over to use unique alias instead of GUID
...
it compiles but i haven't had time to test anything yet, will start all unit testing/fixing tomorrow, just needed to save this work somewhere.
2013-09-05 18:38:54 +10:00
Morten Christensen
1f68cad45b
Refactoring MemberService and MembersMembershipProvider from Darrens pull request to fit the changes made the past week.
...
SecurityHelper is moved to the Umbraco.Web.Security namespace.
MembershipExtensions are changed to the new models
2013-09-04 15:42:01 +02:00
Morten Christensen
c5945789f0
Refactoring the MemberRepository to use the new Member class
2013-09-03 17:02:15 +02:00
Morten Christensen
6742bf4708
Removing the old Member, MemberType and MemberGroup classes from the Model.Membership namespace
2013-09-03 17:01:34 +02:00
Shannon
e5633df6c3
Added pre-vals for the file upload property editor (backwards compatible format) and fixed saving a data type.
2013-09-03 18:28:14 +10:00
Shannon
7c9f5eda9d
Fixes up more permissions checks, refactors MediaController.PostAddFile to use the correct WebAPI usage. Fixes issue with UmbracoClientManager throwing errors because the treeProps didn't include all called props.
2013-09-03 16:35:36 +10:00
Shannon
f0a2bfdea4
Updates EntityController with corrected permissions checking, updated media controller with correct permissions checking, added unit tests for the permisions filters.
2013-09-03 13:59:25 +10:00
Morten Christensen
008d413302
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
...
Conflicts:
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
src/Umbraco.Core/Persistence/Repositories/MediaRepository.cs
src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/moveOrCopy.aspx.cs
2013-09-02 15:55:05 +02:00
Morten Christensen
186d5157ec
Implementing the read only side of the MemberType/MemberTypeRepository.
...
PropertyTypes and PropertyGroups are loaded as part of the MemberType in one go.
MemberTypeRepository uses the same approach as the ContentTypeRepository and MediaTypeRepository for saving/updating.
Refactoring how the 9-PropertyType convention is handled.
2013-09-02 15:53:09 +02:00
perploug
623a28c158
delete fontawesome
2013-09-02 15:40:14 +02:00
Sebastiaan Janssen
35c7b224bd
Fix merge issue
2013-09-02 12:49:01 +02:00
Morten Christensen
20b4975cfb
Creating a new Member/IMember and MemberType/IMemberType class under the Umbraco.Core.Model namespace in order to move away from the weird structure that we initially ported over.
...
Refactoring the MemberTypeRepository to use the new MemberType class.
Starting the implementation of ReadOnly DTOs for MemberType.
Starting the implementation of the factory for the MemberTypeReadOnlyDto.
2013-08-31 19:13:36 +02:00
Shannon
7806762b80
Implemented a real .Net configuration section for umbracoSettings.config + unit tests for every property. NOTE: This isn't referenced in the codebase yet, going to start setting default values for most of the properties so that we can remove them from the config file for shipping (ship minimal config) then reference these settings in the codebase.
2013-08-31 11:28:19 +10:00
Morten Christensen
5d5c25f0e4
Implemented new IMemberType, MemberTypeFactory, MemberFactory and MemberTypeMapper.
...
Started implementation of MemberTypeRepository.
2013-08-30 17:24:06 +02:00
Morten Christensen
e5145f3eb0
Merge branch '6.2.0' of https://github.com/umbraco/Umbraco-CMS into 6.2.0
2013-08-29 12:51:43 +02:00
Shannon
357dc6ec8e
Fixes: U4-2711 DAMP throws unknown exception on image upload with image cropper
2013-08-29 12:27:49 +10:00
Morten Christensen
c7351dfad7
Adding additional methods to the MemberRepository to support various types of lookups/queries, and experimenting with adding dummy properties to the model so a strongly typed query can be translated using mappers.
...
GetByQuery needs to be refactored so the selection is done in a subquery, so we don't loose properties in the result set
2013-08-28 17:27:29 +02:00
Morten Christensen
575abc6abf
Implementing the mapper for Member. Refactoring the MemberProfile, IMember and IMembershipUser interfaces
2013-08-28 15:24:22 +02:00
Morten Christensen
6f63369e11
Updating the Member and MemberProfile class to include the standard UmbracoEntity properties.
...
Refactoring the sql query and the dtos to use the PropertyType as Primary and Property as secondary as a Property might be empty for a defined type.
Adding labels to the conventional Member PropertyType aliases.
2013-08-28 14:17:16 +02:00
Shannon
0ebe9ec0fa
Updated some of the property editor API to ensure that when formatting data for persistence we have access to the pre-values as well since these might need to be used to format the persisted data. Completed the new property editor: Multiple text box and it is saving the data in a backwards compatible format. Changed the internal AsDictionary method of the pre value collection to be a public method called FormatAsDictionary.
2013-08-28 17:53:31 +10:00
Shannon
d257835cb5
Merge remote-tracking branch 'origin/6.2.0' into 7.0.0
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Models/ContentTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/webservices/legacyAjaxCalls.asmx.cs
2013-08-28 11:08:23 +10:00
Morten Christensen
342232f21e
Updating the Member class and adding an UmbracoMember wrapper as a bridge between MembershipUser and Member
2013-08-27 15:49:46 +02:00
Morten Christensen
0aa38728fc
Updating the readonly dtos
2013-08-27 15:48:00 +02:00
Shannon
3e95b0468f
Checkbox list property editor is now working.
2013-08-27 13:18:47 +10:00
Morten Christensen
37d190c97d
Implementing read-only DTOs for improved reading of Members from db.
...
Started implementation of Member, MemberType and MemberGroup repositories.
2013-08-26 16:59:41 +02:00
Morten Christensen
f1818aae1b
Updating the Profile and Member classes
2013-08-26 16:58:08 +02:00
Shannon
3708b0de65
Got value editors being able to handle 'object' not just string so we can post and return json structures directly to the angular editors, got the multiple drop down list working and saving data. U4-2704 Change property editor value editor to return/receive object instead of string
2013-08-26 18:03:35 +10:00
Shannon
5b289a4971
Implemented much more for the new drop down property editors to ensure backwards compatibility, had to implement a new required method for property editors to format their data for cache storage. Changed how the drop down angular list is generated, now it uses a dictionary which is much more elegant with less code. Got drop down (normal) and drop down publishing keys working and saving the correct data types, nearly have drop down list multiple working but going to change the property editors to be able to post object (json) instead of just a string for values.
2013-08-26 17:24:08 +10:00
Shannon
59a8e03c79
Got further with pre-value editors and strongly typed stuff, got the pre-value editor for drop down list working and saving array objects. Now need to wire that up to the editor but think i need to change how the drop down list displays it's values.
2013-08-23 18:10:32 +10:00
Shannon
ec4f6de631
Fixes: U4-2701 The media creation process needs to be optimized, there's far too much IO occuring
2013-08-23 13:41:16 +10:00
Shannon
c477da95fd
Ensures all IDisposables are in a using clause for all processes involved with the media uploader, there were also a few streams not being closed or disposed either!
2013-08-23 11:20:00 +10:00
Shannon
ad4ebe3755
Updated a lot more of the pre-values stuff and the data type editor, updated lots more of the dropdown property editor and now have serialized/deserialized values working for pre-values. Now just need to finish off the pre-value field for the drop down list.
2013-08-22 18:38:57 +10:00
Shannon
a29706b5ce
Updated the model mappers to include the pre-value value which is now wired up to the display, now just need to get the data type's persisting.
2013-08-20 11:33:41 +10:00
Shannon
bedd938553
fixes issue with legacy data types and new-prevalues
2013-08-15 13:29:35 +10:00
Shannon
89ce60ef0f
Merge remote-tracking branch 'origin/6.1.4' into 7.0.0
...
Conflicts:
src/Umbraco.Core/Events/RecycleBinEventArgs.cs
src/Umbraco.Core/Persistence/Querying/BaseExpressionHelper.cs
src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IContentRepository.cs
src/Umbraco.Core/Persistence/Repositories/SimilarNodeNameComparer.cs
src/Umbraco.Web.UI/config/ExamineIndex.config
src/Umbraco.Web/Strategies/DeleteFilesAfterEmptiedRecycleBin.cs
src/Umbraco.Web/Umbraco.Web.csproj
2013-08-15 12:59:05 +10:00
Shannon
4a8026c902
Got the Date and Date/Time new property editors created, fixed up a few date casting issues with data. These editors 'should' be compatible with the previous legacy date/datetime editors, just need to test it.
2013-08-14 20:08:45 +10:00