Shannon Deminick
98a171266e
Fixes PhysicalFileSystem to use IOHelper instead of HostingEnvironment. Removes all references to new IFileSystem's that canont be supported currently, leaving only the media file system.
...
Updates all code to use PhysicalFileSystem in place of what 'could' eventually be an abstracted IFileSystem. Updates unit tests
accordingly.
2013-01-14 03:04:09 +03:00
Shannon Deminick
e49bb2dd51
Adds a null check to set the label values, if the content item wasn't loaded then no properties were filled and thsu
...
no need to update the labels. Cleans up a tiny bit more code.
2013-01-08 00:58:22 +03:00
Shannon Deminick
147867a7a8
Fixes the requirement for LegacyUploadFieldWorkaround, cleans up some of the code in ContentControl and various other (legacy) places, improves performance slightly too.
2013-01-07 23:24:29 +03:00
Sebastiaan Janssen
4166cd9f5d
Extra checks for empty strings and non-existing paths, use PhysicalFileSystem
2013-01-03 09:48:29 -01:00
Morten Christensen
169db0c15f
Fixes U4-1368 so the FileHandlerData doesn't handle setting properties for Document and Media.
...
Properties using the UploadField will have its value as well as related values updated in a BeforeSave event.
2013-01-02 14:28:15 -01:00
Sebastiaan Janssen
8ef6ca73f6
Merge with 4.11.2
2012-12-28 09:02:45 -01:00
Sebastiaan Janssen
30cf0e2040
Add some logging to PhysicalFileSystem
2012-12-26 06:49:54 -01:00
Sebastiaan Janssen
e2eee711d8
Fixes U4-483 - Replace illegal characters in media with a dash, not underscore
...
Also removing multiple repeating dashes, leaving only one in place.
2012-12-13 09:26:34 -01:00
Shannon Deminick
73414f4504
Merge with default
2012-12-07 19:56:40 +05:00
Shannon Deminick
2a90e93a6f
Updated partial view macro engine to support storing the files in the App_Plugins/[packagename]/Views/MacroPartials
...
so they can be stored with a package and not pollute the main file system.
2012-12-07 07:04:11 +05:00
Sebastiaan Janssen
dac1a8e9dc
Checking to see why the test file doesn't get deleted on the build server
2012-11-29 11:56:33 -01:00
Morten Christensen
59630b99b4
Merge with 4.11.0
2012-11-13 14:33:28 -01:00
Shannon Deminick
083bab0528
Added HashCodeCombiner and unit tests to support. Added ability to create a hashed file based on scanned assemblies in the
...
PluginManager and added a cached plugin xml file to the PluginManager. Now we don't actually scan any assemblies on app startup
during plugin finding if none of the DLLs have changed. Added trace statements to the UmbracoModule for better benchmarking for
how long a full request takes to load from start to finish.
2012-11-11 09:09:06 +05:00
Morten Christensen
705fed7a5e
Adding unit tests for DictionaryRepository.
2012-11-08 15:55:44 -01:00
sitereactor
5541ba8a30
Merge with 4.10.0
2012-11-08 08:00:20 -01:00
Shannon Deminick
f4dc045561
Removed MediaFileSystemExtensions and just added the methods to the MediaFileSystem which are more discoverable.
...
Added Code Annotations to all file system classes pointing to the new #U4-1156 tracking item to publicize.
2012-11-08 08:27:38 +05:00
Shannon Deminick
67d9e578f5
Fixes: #U4-919, we will just use real classes for extension methods and all custom file systems like the MediaFileSystem must inherit from
...
FileSystemWrapper
2012-11-07 09:30:40 +05:00
Casey Neehouse
bbd62f20a9
Corrects a couple minor issue with Directory support when mapped to a
...
Virtual Directory and network shares.
2012-10-26 04:19:14 +04:00
niels.kuhnel
632d9f171e
Support for running Umbraco from a network drive.
2012-10-25 08:14:10 -02: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
Shannon Deminick
1aebce7ad6
makes SystemDirectories and SystemFiles public.
...
moves ResolveUrlsFromTextString to TemplateUtilities class and obsoletes other ones.
Fixes an issue if content cache is stored in codegen folder and not in med trust.
Updates the XmlDocument (IDocumentProperty) to always return a value with parsed {localLink} and resolved Urls and cache them so the parsing only happens once.
2012-09-29 11:11:48 +07:00
PerPloug
04e0b35c7d
Method Renaming to follow standards
...
Marking IOHelper methods as internal
Removing unneeded umbraco setting
Missing icon and missing folder in UI project
2012-09-28 09:19:16 -02:00
PerPloug
b8b951f094
Missing UmbracoSettings change in umbraco.core
...
IOHelper in umbraco.core
Both related to mvc views in template tree
2012-09-27 06:30:59 -02:00
sebastiaan
c5535ddbc2
Improved SafeFileName method to include all valid characters as listed by RFC 3986 section 2.2 Reserved Characters (January 2005) and character data chars that could be ambiguous
...
Now characters like Chinese characters are allowed in the filenames, which addresses the issue below
#U4-885 Fixed
2012-09-20 16:46:55 -02:00
sebastiaan
ce0923cfc6
Uploading media with hyphens get a space added before the hyphen
...
New media uploader: illegal characters in the filename are not filtered
New media uploader: IE in intranet mode stores the whole path
Fixed U4-882 U4-883 U4-874
2012-09-19 12:45:11 -02:00
Shannon Deminick
9127061194
Added support for determining rendering engine based on template chosen.
2012-09-07 07:57:25 +07:00
Shannon Deminick
f36a88384d
Migrated UmbracoSettings, GlobalSettings, XmlHelper, IOHelper and supporting classes to Umbraco.Core.
...
This fixes the need for Umbraco.Core to reference business logic since business logic needs to reference
Umbraco.Core (Umbraco.Core should never reference any other project except for interfaces, it is the 'Core'
of the new codebase.
2012-08-23 22:28:22 +06:00
Matt@MBP13-PC
d30b5b0b2c
Updatedt TinyMCEWebControl.cs to use IFileSystem
2012-08-21 06:42:01 -01:00
Matt@MBP13-PC
085f4a4fcf
Updated Document code to use IFileSystem when copying
...
Added some helper extention methods for IFileSystem
2012-08-20 11:42:18 -01:00
Matt@MBP13-PC
3e2510cbda
Added code to auto seek stream to begining when saving via IFileSystem just in case
2012-08-20 10:51:14 -01:00
Matt@MBP13-PC
2775d9bedc
Removed AbstractFileSystem in favour of extension methods
...
Updated UmbracoFile to use IFileSystem
Updated UmbracoMediaFactories to use IFileSystem
2012-08-20 10:46:32 -01:00
Matt@MBP13-PC
3a2ed918de
Added dynamic wrapper support to IFileSystem to allow context specific implementations from which to hang extension methods upon (ie IMediaFileSystem)
2012-08-20 09:42:32 -01:00
Matt@MBP13-PC
e2274b7892
Hooked up IFileSystem to the file uploader / IFile
2012-08-14 09:11:49 -01:00
Matt@MBP13-PC
524244d1ec
Added FileSystemProviders config section
...
Added FileSystemProviderManager class for fetching a file system provider by alias (this should probably be moved into the Umbraco context in 4.10)
2012-08-13 13:26:06 -01:00
Matt@MBP13-PC
ad291265f3
Added PhysicalFileSystem constructor overload to work out the rootPath / rootUrl from a virtualRoot path (Can only work with a valid HttpContext)
2012-08-13 10:23:45 -01:00
Matt@MBP13-PC
d2ac9158c6
Added IFileSystem
...
Fixed issue with last merge
2012-08-13 10:04:31 -01:00