Stephan
74e0a4d999
7.6 merge review fixes
2016-11-03 19:20:42 +01:00
Stephan
e477c8b0b3
Merge branch origin/dev-v7 into dev-v7-deploy
2016-09-29 09:03:56 +02:00
Mark
94b12dfb02
Updated code according to coding rules
2016-09-27 09:36:35 +02:00
Mark
0cc88a1706
Bugfix in Initialize method of UmbracoMediaFile
...
GetExtension returns an empty string instead of null which causes the
substring to return an argumentoutofrange exception. Discovered this
when trying to use Save(HttpPostedFile file) and Save(HttpPostedFileBase
file), but since the temporary generated path didn't include an
extension, these methods always threw an exception
2016-09-27 09:08:56 +02:00
Stephan
111a3ca6ac
Refactor Shadow FileSystems
2016-09-22 21:45:59 +02:00
Stephan
14adc2a3b3
deploy-30 refactoring
2016-01-26 14:18:30 +01:00
Stephan
e68dda81d2
Try to make sense of files and medias for Deploy
2015-12-09 16:45:40 +01:00
TimoPerplex
68ff77f5b6
This commit removes the hardcoded .jpg thumbnails
...
This commit removes the hardcoded .jpg thumbnails and uses the image
original extension to create the thumbnail.
Because we now use the original extension the image is no longer masked
as another (extension is .jpg but the file is actually a .png)
This fixes issues with Internet Explorer used in combination with the
no-sniff header.
Ref topic:
https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/66788-adding-nosniff-header-breaks-png-images-in-internet-explorer
2015-07-24 16:27:26 +02:00
Shannon
0efb9b72e7
Adds small exif library to read meta data from jpg's so we can attempt to read width/height from exif instead of loading the file into mem with GDI, makes for much faster and far less memory processing.U4-6246 Uploading specific images causes GDI+ Errors
2015-02-10 16:33:59 +11:00
Shannon
6e78a9f98f
fix merge
2014-07-16 14:14:02 +10:00
Shannon
92c19ba76c
Merge remote-tracking branch 'origin/6.2.2' into 7.1.5
...
Conflicts:
src/Umbraco.Core/IO/UmbracoMediaFile.cs
2014-07-16 14:13:05 +10:00
Shannon
b3288f0c91
fixes merge issue
2014-07-10 12:11:10 +10:00
Shannon
d5993a4783
Backports fix from 7 for GetDimensions call to ensure the file exists
2014-07-10 12:09:26 +10:00
Shannon
17b0547cfc
Merge commit '874f464a2b51000920e2323f93bea116546e9b88' into 7.1.5
...
Conflicts:
src/Umbraco.Core/IO/FileSystemExtensions.cs
src/Umbraco.Core/IO/UmbracoMediaFile.cs
src/Umbraco.Web/umbraco.presentation/umbraco/channels/UmbracoMetaWeblogAPI.cs
2014-07-10 11:53:45 +10:00
Shannon
874f464a2b
Fixes: U4-5190 Overwrite Media File in 6.2.1 - process cannot access along with a bunch of other undisposed disposables :/
2014-07-10 11:45:57 +10:00
Shannon
5a779c24d0
Fixes: U4-4428 Upload field on members fails on resizing
2014-03-17 18:39:53 +11:00
Shannon
3e8ada24e4
reverts sebastian's commit as this will cause unwanted other side affects
2014-03-17 16:08:06 +11:00
Sebastiaan Janssen
f626738174
DoResize(-1,-1) - I don't know why you'd ever want to attempt to resize to -1,-1.
...
Also removed the else clause as it hides the error until later, now size will be null at the appropriate time.
2014-03-16 11:46:49 +01:00
Shannon
394915fa05
centralizes the thumbnail/image handling
2013-09-25 21:09:59 +10:00
Shannon
1e9a17babe
Fixes merge issues, fixes up some unit tests, removes the For<T> config section stuff and simplifies the singleton, refactors it with methods as per discussion with stephen.
2013-09-25 19:23:41 +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
b3ec44b61d
Getting all the unit tests working again with the GUID to alias change, lots of little fixes everywhere.
2013-09-06 17:50:31 +10: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
Shannon
dedaa2125d
Fixes up a few issues found with media uploading
2013-08-28 10:45:50 +10:00
perploug
e825c08901
Added events.Service and xmlhelper.service
2013-08-12 15:17:34 +02:00
Shannon
d1eb8fd9eb
Obsoletes UmbracoFile with new UmbracoMediaFile in the Core assembly and wraps the legacy class to use the new one. Improves performance of UmbracoMediaFile by ensuring any IO is lazy loaded and then saved to a local property so it doesn't need to re-read the file for things like length/size.
...
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
2013-07-23 17:59:44 +10:00
Shannon
739a6c47a4
Obsoletes UmbracoFile with new UmbracoMediaFile in the Core assembly and wraps the legacy class to use the new one. Improves performance of UmbracoMediaFile by ensuring any IO is lazy loaded and then saved to a local property so it doesn't need to re-read the file for things like length/size.
2013-07-23 17:49:54 +10:00