timgeyssens / bundlingandminificationforthemasses Goto Github PK
View Code? Open in Web Editor NEWUI layer on top of http://aspnetoptimization.codeplex.com/ for Umbraco
Home Page: http://www.nibble.be/?p=237
UI layer on top of http://aspnetoptimization.codeplex.com/ for Umbraco
Home Page: http://www.nibble.be/?p=237
It would be great if the selected bundle node can be hightlighted. At least add the bundle name to the header, so it is easier to see which bundle you actually are editing.
At the moment the heading is just "Bundle Editor".
When editing bundles you select files from the left side, which are added to the right side (included in bundle).
However it would be great if already selected files (included in bundle) either are highlighted or removed from left side (and or course re-added to left side if they are removed from bundle).
The package manager complains about HtmlAgilityPack.dll, if I ignore that error, then I get a YSOD - Attempt by security transparent method 'System.Web.Http.GlobalConfiguration.get_Configuration()' to access security critical type 'System.Web.Http.HttpConfiguration' failed.
We have just tried to upgrade to Umbraco 7.2.2 right from 7.2.1.
Optimus 1.2.1 was running just fine for the 7.2.1 version.
During the upgrade process, right after all manual file copies and merges of .config files, when browsing the site for the first time in order to finish the update, the process stalled. We could not get further than the page /umbraco/AuthorizeUpgrade?redir=%2finstall%2f%3fredir%3dtrue%26url%3dhttp...
The page AuthorizeUpgrade innerly requested the file /DependencyHandler.axd?s= which was throwing HTTP 500 Internal Server Errors. In ~/app_data/logs/UmbracoTraceLog.txt we could see errors like the following each time we tried to refresh the page:
2015-02-20 13:16:33,984 [46] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 48] An unhandled exception occurred
System.InvalidOperationException: Esta operación no se admite en un URI relativo.
en System.Uri.get_PathAndQuery()
en ClientDependency.Core.CompositeFiles.Providers.BaseCompositeFileProcessingProvider.WritePathToStream(ClientDependencyType type, String path, HttpContextBase context, StreamWriter sw)
en ClientDependency.Core.CompositeFiles.Providers.CompositeFileProcessingProvider.<>c__DisplayClass3.b__0(String s)
en System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() en System.Linq.Enumerable.WhereEnumerableIterator
1.MoveNext()
en System.Collections.Generic.List1..ctor(IEnumerable
1 collection)
en System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) en ClientDependency.Core.CompositeFiles.Providers.CompositeFileProcessingProvider.CombineFiles(String[] filePaths, HttpContextBase context, ClientDependencyType type, List
1& fileDefs)
en ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.ProcessRequestInternal(HttpContextBase context, String fileset, ClientDependencyType type, Int32 version, Byte[] outputBytes, OutputCachedPage page)
en ClientDependency.Core.CompositeFiles.CompositeDependencyHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
The only workaround we found to finish the upgrade to 7.2.2 was to disable the optimisations (setting debug="true" in web.config). After this change the upgrade was able to finish. However...
When we tried to set debug="false" back in web.config Umbraco backend stopped working again (the site contents were served, but the backend was not available because of this error). So we are running it now in debug="true" mode.
Another weird thing that happens when debug is enabled, that might help pinpoint the source of the error (or errors) are the following:
A. If, from the backend, we browse to Settings->Bundling->Scripts and click on any of the existing bundles, the background request to /App_Plugins/Optimus/Index?virtualPath=... fails with an HTTP 401 You must login to view this resource.
B. If we try to créate a new bundle, right clicking on Scripts (for instance, it fails for Styles too), and select + Create, the inner request made to /umbraco/create.aspx?nodeId=1&nodeType=scriptBundle&nodeName... returns with HTTP 500 Internal Server Error.
In this latter case, the error logged in UmbracoTraceLog.txt was:
2015-02-20 14:22:54,987 [30] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 57] An unhandled exception occurred
System.Web.HttpUnhandledException (0x80004005): Se produjo una excepción de tipo 'System.Web.HttpUnhandledException'. ---> System.ArgumentException: The create dialog for "scriptBundle" does not match anything defined in the "~/umbraco/config/create/UI.xml". This could mean an incorrectly installed package or a corrupt UI file
en umbraco.cms.presentation.Create.OnLoad(EventArgs e)
en System.Web.UI.Control.LoadRecursive()
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
en System.Web.UI.Page.HandleError(Exception e)
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
en System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
en System.Web.UI.Page.ProcessRequest()
en System.Web.UI.Page.ProcessRequest(HttpContext context)
en ASP.umbraco_create_aspx.ProcessRequest(HttpContext context) en c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\6ffd8b37\ea6ae51a\App_Web_create.aspx.5f2dec3.lfwndyig.0.cs:línea 0
en System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Optmius skipped 'https://oss.maxcdn.com/respond/1.4.2/respond.min.js' in Bundle '/bundles/iefixes' as the file path was invalid. Only application relative URLs (~/url) are allowed.
I have tried looking at the Api controller but i couldn't find any leads of add CDN's to bundles
I've recently setup an Umbraco 7.7.8 site from scratch, and when installing Optimus from the Package Manager, I received an error or two on setting up. Unfortunately, I didn't copy the errors at the time, but if they'd be helpful, I can setup another dummy site and try an install again.
Regardless, I found that the issue is that Umbraco 7.7.8 (not sure about other versions) appears to ship with Newtonsoft Json.NET version 6.x, whereas I believe Optimus here requires Json.NET 10.x. I manually copied in version 10.x over the 6.x version that was in my Umbraco install and the issues went away. It's operating as it should now that I've manually updated the libraries. Not sure if there is a way to automatically update those through your setup in the Package Manager or otherwise. Let me know if you need any more information, thank you!
Please add Ctrl+S support to the SASS editor (I would assume others also, but I'm only using SASS).
If nothing else, at least keep the save button in view. Otherwise, we're stuck having to scroll all the way up and click Save when editing files any longer than your monitor can display without scrolling.
As a temporary fix, I wrapped the editor in a scrollable div, for example:
<div class="umb-scrollable row-fluid">
<umb:PropertyPanel runat="server" ID="EditorPanel">
<umb:CodeArea runat="server" ID="EditorSource" EditorMimeType="text/x-sass" AutoResize="true" OffSetX="47" OffSetY="47" />
</umb:PropertyPanel>
</div>
Thanks for a great package otherwise!
Installing the latest Optimus core package into Umbraco 7.5 appears to work fine until you go to create a new bundle. Here's the error - http://screencast.com/t/0vvICacSWm.
I also received an error at one point about bundles.config not existing (I worked around this by cloning and renaming bundles.tmp.config.
Hi, I have installed the package Optimus v1.4.0 in Umbraco v7.3.4 but it isn't working right. When I add a new bundle, it doesn't show in the tree afterwards and it doesn't let me add scripts into it. Are you aware of any incompatibilities with this version of umbraco? Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.