Commit Graph

942 Commits

Author SHA1 Message Date
pgregorynz
493e5c7734 Resolve issue #30937. Fixes problem with iFileHanderData in intranet environ
in IE.
2012-08-07 18:20:59 -10:00
Casey Neehouse
f97c171a97 Changes to the GetDocumentsForExpiration method to only unpublish nodes set to published rather than newest. 2012-08-08 00:07:03 +04:00
shannon@ShandemVaio
b68bcba85e Updated UmbracoModule to support the TransferRequest just like umbraMVCo does using query strings. Added more
unit tests for UmbracoModule, refactored the Umbraco.Web.Routing.Domains to not have static methods and created an
interface for it so that we can unit test it. Changed DocumentRequest stuff to internal. Finally got unit test working for the module
2012-08-07 02:33:08 +06:00
shannon@ShandemVaio
19205f1435 Improves perf of UmbracoModule rendering, adds unit test for UmbracoModule, fixes StateHelper with HttpContext.Current,
Fixes Action with empty JsSource, Fixes GlobalSettings to be unit testable, adds medium trust config
section to my own transform.
2012-08-06 22:40:06 +06:00
shannon@ShandemVaio
a539fd2554 Fixes DataTypesResolver namespace 2012-08-01 23:53:19 +06:00
shannon@ShandemVaio
8a192a0065 Renamed TypeFinder2 to Umbraco.Core.TypeFinder. Obsoleted old TypeFinder and cleaned up non-used methods
in the new TypeFinder. Updated some unit tests and removed benchmark tests since we already have the benchmarks.
2012-08-01 23:50:33 +06:00
shannon@ShandemVaio
923f4f517f Created ActionsResolver for creating IActions and updated Action class to use this now. Still needs
a bit of cleanup, see TODO notes in Action.cs
2012-08-01 23:30:37 +06:00
shannon@ShandemVaio
d644b44d80 Created PackageActionsResolver object to deal with IPackageAction plugins. 2012-08-01 23:03:26 +06:00
shannon@ShandemVaio
646e96ab15 Changed PluginResolverType to PluginManager. Reinstated Resolution and ResolverBase<T> since
this gives us more control over all Resolvers and streamlines them. Created IBootManager, CoreBootManager and WebBootManager
to handle the application initialization including the creation of Resolvers. This means that if people are using the dlls outside
of the web app, they can run the boot strappers to initialize everything.
2012-08-01 22:06:15 +06:00
shannon@ShandemVaio
bee357ffdc Obsoletes umbraco.cms.businesslogic.datatype.controls.Factory with new Umbraco.Core.DataTypesResolver 2012-08-01 10:05:39 +06:00
shannon@ShandemVaio
a0a99e8f12 Obsoletes umbraco.presentation.cache with new Umbraco.Core.CacheRefreshersResolver
Have removed ResolverBase as we cannot rely on manually setting the current singleton object since applications outside of the standard umbraco web application
might be using these singletons and would expect they already be setup. Have changed all current resolvers to manage their
own singleton instances and sealed them.
2012-08-01 09:49:10 +06:00
shannon@ShandemVaio
2fd8d17be9 Changed Action over to use PluginTypeResolver to find IActions and added unit test for it. 2012-07-31 03:14:24 +06:00
azzlack
b226be4939 Split AbstractDataEditorControl to separate class file.
Cleaned up code in AbstractDataEditor and AbstractDataEditorControl.
Made AbstractDataEditorControl inherit from INamingContainer to help with control id issues.
Made the ID and DataTypeName fields of AbstractDataEditor abstract so they must be implemented.
2012-07-27 21:34:58 -02:00
shannon@ShandemVaio
da0217d330 Updated PackageAction to use PluginTypeResolver and added unit test to ensure they are found. 2012-07-27 12:29:41 +06:00
shannon@ShandemVaio
507b6ab773 Updated MediaFactory to use PluginTypeResolver and added a unit test to ensure they are being found. 2012-07-27 12:23:22 +06:00
shannon@ShandemVaio
5576f65ef0 Updated DataType factory to use PluginTypeResolver and made the dictionary thread safe.
Updated MacroEngineFactory to use PluginTypeResolver and made it thread safe. Have also
updated it to only create one instance of each IMacroEngine per application which should
increase performance a teeny bit, plus that's how it should be.
2012-07-27 11:54:29 +06:00
shannon@ShandemVaio
1823cce4f6 Changed over Action to use PluginTypeResolver to find and instantiate IActionHandlers and included a unit test. 2012-07-27 10:53:40 +06:00
agrath
fffbd960c1 Another NRE that I missed 2012-07-26 16:05:44 -12:00
agrath
5f95575141 Fixed a NRE in FileHandlerData when user has not updated umbracoSettings.config to add the new /settings/content/imaging/autoFillImageProperties node 2012-07-26 15:36:34 -12:00
shannon@ShandemVaio
62d6db935d Integrating v5 TypeFinder. Imported a few classes from v5 regarding utility classes and partial trust
unit test helper classes. Changed calls from old TypeFinder to new TypeFinder2. Created benchmark unit
tests to test speed differences between them.
Fixes: 30946 - IOHelper with HttpContext issue
Fixes: 30945 - AppCodeFileExtensions issue with UmbracoSettings
2012-07-26 21:12:54 +06:00
shannon@ShandemVaio
21203b8070 Renamed umbraco.Test to Umbraco.LegacyTests
Updated InternalsVisibleTo declarations.
Updated the ApplicationTest test to use a new base class as a test to install a local sqlce database
for testing against.
Added Umbraco.Core project.
Added Umbraco.Web project.
Created new sln folder Legacy
2012-07-17 01:32:46 +06:00
PerPloug
b974a7e6e5 Flet 2012-07-12 19:17:04 -02:00
hartvig
9e9f3ebab7 Work items: 30898 2012-07-12 11:35:43 -02:00
PerPloug
e0aed34bc9 Added HttppostedFileWrapper support to filehandler and upload datatype 2012-07-12 09:41:55 -02:00
PerPloug
a556d3ef4b Added overloads to the umbracoFile handler to support HttpPostedFile HttpPostedFilebase, stream and byte[] 2012-07-11 10:56:28 -02:00
hartvig
ac4855e16f Adds support for auto setting file related properties through configuration (width, height, length and extension) and adds support for transparent thumbnails (at last!). Work items: 29167 2012-07-04 08:56:18 -02:00
sitereactor
5e5274632c Removing Deep Linking feature from main branch 2012-07-04 07:08:24 -02:00
hartvig
9a95c08271 Adds better support for simpler file attachment to document/media properties, by just assigning an HttpPostedFile as the value of an upload property (then it'll handle storing the file, generating thumbnails, etc):
myImage.getProperty("mainImage").Value = Request.Files[0];
Adds helper class "UmbracoFile" for easier file upload / file manipulation in general (to be provider based so we can support manipulation via ImageGen or ImageResizing.NET as well as support for abstracting file storage via providers (through an IFile but currently in an implementation that needs refactoring (used in a wrong way atm)). Will fix that part tomorrow!
2012-07-03 20:58:50 -02:00
leekelleher
eed13fcfda Fixed workitem:29297 - overloaded mssql db reads caused by creating styles on a stylesheet for use in the richtexteditor styles drop down (tinymce).
Patch supplied by @tentonipete (unable to create fork/PR)
2012-06-29 10:32:20 -01:00
Matt@MBP-PC.Home
0bd5bc580a Fixed broken build script
Updated config templates to be dependant files so appearing underneath the real file. Build script has been updated to use these when preparing for a build. I think this makes it more obvious, as previously templates were heald elswhere and was easy to forget.
Removed config templates for files which are auto generated.
2012-06-29 09:09:32 -01:00
Matt@MBP-PC.Home
1bfd8438c7 Created AppStartupHandlers to auto populate App / Tree config with any found DLLs or any DB registered trees.config
Updated the package installer to trigger the App/Tree StartupHandlers to re-trigger any imports.
2012-06-28 12:37:16 -01:00
Matt@MBP-PC.Home
46ca473e55 Re-added missing media classes 2012-06-27 07:12:27 -01:00
shannon@ShandemVaio.home
ef7b0c8e65 Changes 'dlls' to 'lib' 2012-06-22 22:23:05 +04:00
shannon@ShandemVaio.home
1f79ccf207 Changes all xslt transforms to use VS transforms. #U4-62 2012-06-22 22:01:16 +04:00
shannon@ShandemVaio.home
580cb340ac Cleaning up folder structure (U4-56) 2012-06-22 20:39:48 +04:00
scarta
6e77a09008 Issue 30472 - Fixed exception where 'Item has already been added...' is thrown during umbraco.controls.ContentControl.CreateChildControls.
ContentTypes are cached, but contain a lazily-loaded list which could potentially be populated twice by two separate requests.
2011-09-14 12:47:08 -01:00
sebastiaan
06e84f4a98 D'oh! Apologies for bad testing, query had one too many AND's in there =) 2012-08-31 07:07:09 -02:00
sebastiaan
96f582f188 Fix for U4-650 was incorrect, removing ASCII filters out øåæ and probably other letters as well.
It's now very exact, just look if the first letter is not in a list of 26 letters.
2012-08-31 07:01:14 -02:00
DMITRIY@Dmitriy-PC
f0de2d3141 Fix 29-06-2012 - When edit tab name not in English, value saving wrong in the database, because old SQL query didn't use parameters,
so caption in database was ??????????
2012-06-29 07:39:58 -03:00
sebastiaan
9736e627c5 Fixes U4-650 Member section, the "Other" node does not work on SQL CE 2012-08-30 10:44:48 -02:00
sebastiaan
a4bc45528a Fixes U4-514 - MediaType.GetByAlias throws if alias isn't found 2012-08-30 08:38:49 -02:00
sebastiaan
65af083996 U4-708 New document sort order only needs to be set in 1 place, no seperate update needed for documents in root
Changed the name of the method to GetNewDocumentSortOrder to be more accurate
2012-08-30 03:39:17 -02:00