Subsonic Web UI Cleanup\Overhaul

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Mon Nov 07, 2011 4:07 am

Ultraviolet wrote:Love what I'm seeing so far. Great work. A few thoughts in a Win 7 64bit system with your .war in the shared dropbox on 4.6.beta1.

Bug:
-Can't get anything other than the main frame to render in most recent version of FF. Things work great in Chrome though.

Other thoughts:
-I like what you're doing with the Random Playlist functionality. What about moving it to a more logical location like the advanced portion of trickydick's player mod? I've always thought Sindre had that in a strange spot. Almost none of my users even know it exists.
-It would be great if the playlist frame was resizable.
-I absolutely love the drag and drop playlist functionality. Can you get rid of the Up/Down arrows now on the tracks in the playlist?
-A piece of functionality that was in trickydick's Outlook themes was a "previous"/"next" or "forward"/"back" (can't remember) functionality where if you had 100 U2 albums and you selected one to view the tracks in the main frame, you could move alphabetically forward and backward without having to return to the jquery accordian. I don't see that implemented in currently, but I loved the convenience of that.

Thanks for the awesome work--I'm loving the changes (especially drag and drop playlists!).


Thanks for the feedback. I've narrowed the bug down to the Google Webfonts not loading nicely in Firefox, so until I can figure it out I may disable the feature for firefox users. In the meantime, if you are reliant on Firefox for your browsing you can open the /WEB-INF/jsp/head.jsp file and remove the tag
Code: Select all
<script type="text/javascript" src="<c:url value='/script/webfont.js'/>"></script>

This should let everything load properly in Firefox.

I have definitely considered moving the random playlist generator to a better location. It's under my todo's for random playlist generator tweaks
I'm planning to completely remove the entire 'frames' system and re-implement it as a modular 'window' system to allow better control of window size and layout.
I've left the up/down buttons temporarily for 'legacy users' until the new drag/drop functionality is better implemented. Eventually it will be an option the user can choose to enable drag/drop or up/down playlist sorting (or both).
I'm not sure what you mean about the last point, but that feature should (still) be there... IE, if i have five beastie boys albums, and I click one of them, it will show the previous or next alphabetical album for that artist... Is this what you're referring to?
Subsonic.png


BKKKPewsey wrote:As I finally found my war file which was hiding :shock: (new glasses reqd.) in program files/subsonic I thought I would give this a try. So I deleted my jetty folder, replaced the war file with new one and re-started SS.
This unpacked the war file successfully but instead of putting the files in jetty/xxxx/webapp they appeared in jetty/webapp.
Thinking this was probably not a good idea I re-installed 4.6beta by renaming my war files again, checked all was back working and then unzipped the war file and replaced webapp with the new files. In anticipation I fired up chrome and got :-
Image

Just the backgrounds and the frame borders with the rather unhelpful message
It is probably me doing something obviously stupid but what I cannot guess what :?

Windows Server 2003

Believe it or not, the error actually makes perfect sense (to me). The "cannot call message 'not' of null" is basically saying there was a failure of the jquery function call '.not()' trying to call something which doesn't exist (it's null\hasn't loaded yet)...

I will narrow the issue down (it's only called once) and figure out what the call is referencing and why it's having some problems.

If you'd like to try some troubleshooting for me, try opening the /WEB-INF/jsp/playlist.jsp file and scroll to the end. Then modify the 'jQueryLoad.wait' so it looks like this:
Code: Select all
        <script type="text/javascript">
            jQueryLoad.wait(function() {
                jQueryUILoad.wait(function() {
                    $(init)
                });
            });
        </script>


I'm thinking the problem was due to the fact the 'init' was being called as soon as jQuery was loaded instead of waiting for jQueryUI to load too.
Since the Drag/Drop functionality is a part of jQuery UI, we need to wait for it to load otherwise the playlistCallback function will throw errors.
Even though the .not() function is part of jQuery (not jQueryUI), I'm hoping this might fix it by nature of randomness.

Anyways, If you're having any trouble getting your Subsonic back to a working state let me know and I'll try to help.

Also I'm not sure, but it might be the default functionality of the Windows version to unzip the war right to the jetty/webapp folder and skip the build number (jetty/####) folder. I will have to confirm this.

I will post an updated war once I fix these two issues.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Mon Nov 07, 2011 5:11 pm

I had a bit of free time so I modded playlist jsp as requested.
This did have some effect as can be seen below (Note: now hi-tech theme)

Image

After clearing the error prompt shown it is replaced with "cannot call message 'not' of null" error again.
If I click on an artist in left frame the albums are shown correctly in main so some bits are working :)
The screenshot has cut off the top but it contains the usual subsonic has encountered an internal error please report blah blah
Hope this helps in some way :mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Web UI Cleanup\Overhaul

Postby Ultraviolet » Mon Nov 07, 2011 6:44 pm

BKKKPewsey, I'm running this on a Win 7 box and just unzipped the .war file into the webapp folder and overwrote all contents and that seemed to work.

califrag, thanks. I removed webfont big from the head.jsp file and that solved the FF display issue. A few other things I've noticed:

-I very rarely see "Previous/Next" album functionality that you show in your screen shot and, when I do see it, it's only when I choose something from a search return list (and then it's still only 5% of the time that I can navigate other albums). If I choose something from the accordian, I never see it. What I typically see is this:
Untitled.png

I've tried IE9, Chrome and FF and none seem to do better with this bit of functionality than others. I've tried multiple themes too.

-When doing a search, the "More" button that displays a greater number of album and song searches does not work in IE9, FF and Chrome.

-Both the Similar Artists information and the Now Playing info never displays for myself or other users in FF and Chrome. It very occasionally displays in IE9 though.

Let me know if this type of feedback is helpful to you, or if it's too early in the development process.

I'm loving the drag and drop playlist. I went ahead and removed the up/down arrows just to make my self happy. Looks great and works great. Thanks again.
Ultraviolet
 
Posts: 62
Joined: Wed Jul 21, 2010 2:29 pm

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Mon Nov 07, 2011 8:50 pm

Ultraviolet wrote:BKKKPewsey, I'm running this on a Win 7 box and just unzipped the .war file into the webapp folder and overwrote all contents and that seemed to work.

I gave that a try (eg overwriting rather then deleting first)
Interestingly that appeared to get rid of the errors pop-ups but the functionality was further reduced in that if I click on an artist in left frame the main frame just goes blank (no albums shown) :(

In case the error in the top frame is of use its below
Code: Select all
Subsonic encountered an internal error. You can report this error in the Subsonic Forum. Please include the information below.

Exception   javax.servlet.ServletException
Message   javax.servlet.jsp.JspTagException: Theme 'hitech': No message found under code 'podcastLargeImage' for locale 'en_GB'.
Java version   Sun Microsystems Inc. 1.6.0_29
Operating system   Windows 2003 5.2
Server   jetty-6.1.x
Memory   Used 104 of 164 MB
Stack trace   javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Theme 'hitech': No message found under code 'podcastLargeImage' for locale 'en_GB'.
   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
   at org.apache.jsp.WEB_002dINF.jsp.top_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.top_jsp:297)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:268)
   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
   at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)
   at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
   at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
   at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:47)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
   at org.mortbay.jetty.Server.handle(Server.java:313)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: javax.servlet.jsp.JspTagException: Theme 'hitech': No message found under code 'podcastLargeImage' for locale 'en_GB'.
   at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:183)
   at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:77)
   at org.apache.jsp.WEB_002dINF.jsp.top_jsp._jspx_meth_spring_theme_5(org.apache.jsp.WEB_002dINF.jsp.top_jsp:770)
   at org.apache.jsp.WEB_002dINF.jsp.top_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.top_jsp:196)
   ... 70 more
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Mon Nov 07, 2011 9:15 pm

BKKKPewsey wrote:I had a bit of free time so I modded playlist jsp as requested.
This did have some effect as can be seen below (Note: now hi-tech theme)

Image

After clearing the error prompt shown it is replaced with "cannot call message 'not' of null" error again.
If I click on an artist in left frame the albums are shown correctly in main so some bits are working :)
The screenshot has cut off the top but it contains the usual subsonic has encountered an internal error please report blah blah
Hope this helps in some way :mrgreen:



Interesting... I think something must not have gotten installed correctly, you shouldn't be getting the 'internal error' on the top frame.
Sorry for the problems you're encountering... I will get them figured out. :)
This may be a stupid question, but you made sure to stop Subsonic before you copied the files over right?
If Subsonic was still running when you copied the files over, it could cause these kinds of errors.

Ultraviolet wrote:BKKKPewsey, I'm running this on a Win 7 box and just unzipped the .war file into the webapp folder and overwrote all contents and that seemed to work.

califrag, thanks. I removed webfont big from the head.jsp file and that solved the FF display issue. A few other things I've noticed:

-I very rarely see "Previous/Next" album functionality that you show in your screen shot and, when I do see it, it's only when I choose something from a search return list (and then it's still only 5% of the time that I can navigate other albums). If I choose something from the accordian, I never see it. What I typically see is this:
Untitled.png

I've tried IE9, Chrome and FF and none seem to do better with this bit of functionality than others. I've tried multiple themes too.

-When doing a search, the "More" button that displays a greater number of album and song searches does not work in IE9, FF and Chrome.

-Both the Similar Artists information and the Now Playing info never displays for myself or other users in FF and Chrome. It very occasionally displays in IE9 though.

Let me know if this type of feedback is helpful to you, or if it's too early in the development process.

I'm loving the drag and drop playlist. I went ahead and removed the up/down arrows just to make my self happy. Looks great and works great. Thanks again.



It looks like it is identifying those albums as being 'single albums not attached to an artist', and so it's not grouping them together into a navigable set.

Are your albums set up in the format "Root -> Artist -> Album -> Files" ?

Your folders should be
Music
Music->U2
Music->U2->Album 1
Music->U2->Album 2
Music->U2->Album 3

If this is how you've got your music organized then I will need to look into it further.

It's hard for me to tell, but from the screenshot it looks as if your music may be organized as just 'Music->Artist Year Album'

I haven't messed around at all with the search functionality, so not sure how I broke the 'more results' button. I will look into it when I get to the 'Improve search functionality' todo. I hope you don't mind waiting but if that's something you can't live without for now then you may wanna revert back to official.

I think there was an issue with my previous .war which was causing the now playing not to trigger in the right frame.
I've made some changes to my current working version and it seems to load more reliably now than before.

Again, I apologize for the bugs\problems you guys are having. When I update the .war it should fix some of these issues.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Mon Nov 07, 2011 9:21 pm

BKKKPewsey wrote:
Ultraviolet wrote:BKKKPewsey, I'm running this on a Win 7 box and just unzipped the .war file into the webapp folder and overwrote all contents and that seemed to work.

I gave that a try (eg overwriting rather then deleting first)
Interestingly that appeared to get rid of the errors pop-ups but the functionality was further reduced in that if I click on an artist in left frame the main frame just goes blank (no albums shown) :(

In case the error in the top frame is of use its below
Code: Select all
Subsonic encountered an internal error. You can report this error in the Subsonic Forum. Please include the information below.

Exception   javax.servlet.ServletException
Message   javax.servlet.jsp.JspTagException: Theme 'hitech': No message found under code 'podcastLargeImage' for locale 'en_GB'.
Java version   Sun Microsystems Inc. 1.6.0_29
Operating system   Windows 2003 5.2
Server   jetty-6.1.x
Memory   Used 104 of 164 MB
Stack trace   javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Theme 'hitech': No message found under code 'podcastLargeImage' for locale 'en_GB'.
   at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
   at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
   at org.apache.jsp.WEB_002dINF.jsp.top_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.top_jsp:297)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:268)
   at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
   at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:236)
   at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:257)
   at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1183)
   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:902)
   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
   at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
   at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
   at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
   at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
   at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:47)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.RequestEncodingFilter.doFilter(RequestEncodingFilter.java:43)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.ParameterDecodingFilter.doFilter(ParameterDecodingFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at net.sourceforge.subsonic.filter.BootstrapVerificationFilter.doFilter(BootstrapVerificationFilter.java:54)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
   at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
   at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
   at org.mortbay.jetty.Server.handle(Server.java:313)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
   at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
   at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: javax.servlet.jsp.JspTagException: Theme 'hitech': No message found under code 'podcastLargeImage' for locale 'en_GB'.
   at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:183)
   at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:77)
   at org.apache.jsp.WEB_002dINF.jsp.top_jsp._jspx_meth_spring_theme_5(org.apache.jsp.WEB_002dINF.jsp.top_jsp:770)
   at org.apache.jsp.WEB_002dINF.jsp.top_jsp._jspService(org.apache.jsp.WEB_002dINF.jsp.top_jsp:196)
   ... 70 more



Actually that error confirms my previous suspicions..
It looks like some files are not getting updated... Specifically in your case it is the hitech.properties file which controls the theme.
I've changed the underlying .properties files to be more consistent.

Previously the images were just named however, for example, when there were two images that were the same, just different size (one large and one small), sometimes they were called 'podcastLargeImage' and 'podcastImage', where the "Large' signified the large version, and the 'normal' was the small version.

For other images, they were reversed: ie, they were named 'donateSmallImage' and 'donateImage', where the 'small' image is the small version and the 'normal' was the large version (which was opposite how the podcast images were named).

So in order to make all of the naming conventions consistent, I went back in and changed the image names and file names to be consistent (ie, podcastImage (large), podcastSmallImage (small), donateImage (large), donateSmallImage (small), helpImage (large), helpSmallImage (small). etc etc).

So what I'm getting at is it looks like the backend .properties files didn't get updated, which could have been caused if Subsonic was still running when you tried to overwrite the files.

Another thing I noticed is that your layout is the old layout, where it still has the 'listsize' combobox and the 'prev and next' buttons are still on the bottom...

That's not right, they should be on top and the 'listsize' should now be changed to 'list rows' and 'list columns'
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Mon Nov 07, 2011 9:51 pm

SS was most definitely stopped before any changes (according to the control panel - I didnt check in task manager)

I did download the correct war file I suppose (link on page 1 of this thread)?
It did show some files updated on the 3rd so I presumed it was the correct version?
Let us know if you want me to do any more testing as at the moment I only have a vanilla (virgin) 4.6 install so I can revert back with no problem. :mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Mon Nov 07, 2011 10:13 pm

BKKKPewsey wrote:SS was most definitely stopped before any changes (according to the control panel - I didnt check in task manager)

I did download the correct war file I suppose (link on page 1 of this thread)?
It did show some files updated on the 3rd so I presumed it was the correct version?
Let us know if you want me to do any more testing as at the moment I only have a vanilla (virgin) 4.6 install so I can revert back with no problem. :mrgreen:


Well, it's up to you if you'd like to continue testing. I'm just kinda pointing out what I'm thinking based from your screenshots.
The link on page 1 will always link to the latest .war file (that I've posted to dropbox, not the latest 'working-version' test file)

If you wanna give it another go you can, just make sure to double-triple-check (that's six times) that everything is stopped. Everything should be contained within the webapp folder, including the updated i18n profiles and theme .properties files. There isn't any other reason I can think of that they shouldn't have been overwritten when you extracted the war the first time.

The only thing I can think of is that Subsonic was still running: all of your files should show a new date, since the build date for these files was more recent.

One stupid thing I did, I had two instances of Subsonic running and I didn't know it. I kept killing the process that I thought was the active Subsonic, but in reality I was just killing the duplicate. Everytime I copied over some new files and 'restarted' Subsonic, I was like WTF nothing is changing. I realized that since the active Subsonic was still running in the background it wasn't updating things like the .properties and i18n profiles. Once I killed both the active Subsonic and the duplicate, then restarted Subsonic, everything was fine.

Anyways, like I said it's up to you if you'd like to give it another try. Otherwise you may just wanna wait until I push the next .war since it will include some fixes and changes.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Mon Nov 07, 2011 11:18 pm

Ok I tried again making sure that SS service was NOT running and copied the exploded war file over webapp.
Cleared jetty cache - cleared browser cache - flushed toilet! :)
and the result was

Image

Note I had changed themes previous in case it was a theme related problem and that is a whole screen cap.
No errors this time but I am not sure whether the top frame was even there? When I asked chrome to reload frame the whole page reloaded. Again no albums will appear in main.
The problems (or the results of) appear to change depending on the theme very odd :?

This does remind me of when I was helping trickydick sort out his player mod but we got there in the end :D
Ok revert back to 4.6 beta and listen to some sounds :mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Mon Nov 07, 2011 11:52 pm

BKKKPewsey wrote:Ok I tried again making sure that SS service was NOT running and copied the exploded war file over webapp.
Cleared jetty cache - cleared browser cache - flushed toilet! :)
and the result was

Note I had changed themes previous in case it was a theme related problem and that is a whole screen cap.
No errors this time but I am not sure whether the top frame was even there? When I asked chrome to reload frame the whole page reloaded. Again no albums will appear in main.
The problems (or the results of) appear to change depending on the theme very odd :?

This does remind me of when I was helping trickydick sort out his player mod but we got there in the end :D
Ok revert back to 4.6 beta and listen to some sounds :mrgreen:



lol ok, I appreciate your diligence in testing this with me. Just bear with me, I will get it sorted out... I'm thinking the loading problem is due to the google webfont. I moved the loading order around in the /WEB-INF/jsp/head.jsp file so that the 'webfont.js' loads right after the stylesheets/favicon, and right before all the 'heavy-duty' loading of LABS/jQuery. This seems to have fixed the webfont issue with Firefox, as now I can load it in Firefox and actually see the fonts.
Untitled.png

buuf.png

See, everything working in Firefox. Now playing, similar artists, all frames loaded (IT WORKS I PROMISE) lol.

I have noticed the issue where sometimes immediately after changing the theme, or just at random, it will not completely load everything or a certain frame won't load until you hit 'refresh' a couple of times. I think this is caused by the caching filters that are set up on each page (some pages are set up so that they don't cache files, which hinders loading performance but ensures you are always getting the latest content and no stale pages.)

I will post up a new .war sometime tonight, if you wanna give it another try later on.
Just for reference, can you post exactly what browser/version you are using? It will help in troubleshooting.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Tue Nov 08, 2011 1:02 am

That easy 15.0.874.106 Chrome (on Vista)
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Web UI Cleanup\Overhaul

Postby poisonborz » Tue Nov 08, 2011 3:50 pm

I'm planning to completely remove the entire 'frames' system and re-implement it as a modular 'window' system to allow better control of window size and layout.


While archaic in web terms, frames were useful in one aspect: they allow easy resizing of the main window/playlist. What do you mean under this "modular/window"system?
poisonborz
 
Posts: 8
Joined: Tue Oct 11, 2011 3:16 pm

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Tue Nov 08, 2011 9:23 pm

poisonborz wrote:
I'm planning to completely remove the entire 'frames' system and re-implement it as a modular 'window' system to allow better control of window size and layout.


While archaic in web terms, frames were useful in one aspect: they allow easy resizing of the main window/playlist. What do you mean under this "modular/window"system?


Well I haven't quite decided exactly how I want to implement the modular window system...

I'm thinking of trying to use these to make it somehow..
http://jqueryui.com/demos/sortable/#portlets
http://jqueryui.com/demos/resizable/#constrain-area
http://jqueryui.com/demos/draggable/#constrain-movement

I'm sure there are some jQuery plugins that would be perfect for what I'm trying to do..

Basically I'd like to change things so that each 'frame' (except the top frame) is it's own window within the browser window which can be resized, moved\dragged, minimized or maximized.
I'd also like to give the playlist a 'pop-out' functionality so you can have the playlist in its own window...

Well anyway these are just future plans and I haven't really put much thought into it besides this.

I've also been toying around with changing all of the 'frameset' objects to 'object' objects which act like iframes, but haven't fully developed that version yet. It was just for testing really.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby kaconet » Mon Nov 14, 2011 5:11 pm

califrag wrote:Here are some new screenshots showing the Personal Settings page where you can set your default Home List Type, Rows and Columns.

http://i.imgur.com/Y9Hdn.png
http://i.imgur.com/SHWlS.png
http://i.imgur.com/VJUIw.png
http://i.imgur.com/R0VIM.png
http://i.imgur.com/zzrBQ.png
http://i.imgur.com/sJU6h.png

Notice it moves the selected list type to the front of the row on the home screen :)

There are still a few problems I'm trying to figure out...
When the Now Playing info is empty and you click 'Playing' at the top it will take you back to the Home page.
If you are viewing the Home page and you change the list settings to something different than your default, when you click 'Playing' it reloads the home page with your default list settings.
Instead, it should load the Home page back to the last list type that you were viewing...
It's a minor usability bug...

A few other things, specifically the upload function that I still need to fix first too.
Also, I've only managed to update the English text... Not sure what to do for the other languages....

Sindre has offered to create a sourceforge branch for me and just got everything set up so I will be posting all the modifications there.

I've finished synchronizing all of my changes to the newer 2441 build source and I'm ready to get everything up on Sourceforge.

I've successfully built the new .war file and can post it now, but I am still figuring out how to build the windows\linux\mac installers.

I'm not sure what the best way for people to upgrade whether to just post the .war file or wait until I get the installers figured out.



Have tried it but it''s very buggy
kaconet
 
Posts: 7
Joined: Sun Apr 17, 2011 11:45 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby Ultraviolet » Mon Nov 14, 2011 6:16 pm

Yeah, it's buggy, but I think it's a great start. One design change that was not for the better however, was changing the accordion to expand on hoverintent instead of click. In this case, more clicks is definitely preferable as the accordion is constantly expanding and contracting with errant mouse movements. I'm forcing my users to be guinea pigs and that's the number one complaint I've heard so far (design wise--obviously there are bugs to iron out)--it drove me nuts too so I changed it back. Just some usability feedback about a design decision that I think made things so easy, it caused problems.

Really looking forward to your next .war release or SourceForge check in so I can see your progress. Thanks for all the work.
Ultraviolet
 
Posts: 62
Joined: Wed Jul 21, 2010 2:29 pm

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 3 guests