Upgrade DaliCMS build 14 to build 15

This is a list of 'deployment requirements' for build 15:

  • run patchtables
    • patchtables18.sql
    • patchtables19.sql
    • patchtables20.sql
    • patchtables21.sql
  • copy gwt 1.4 jars to ext.dir: gwt-dev-linux.jar gwt-user.jar gwt-servlet.jar
  • run copyresources

  • add to admin.jsp: (replace @PROJECT@)
          function redirectLogin() {
            window.location = '/@PROJECT@/admin/admin.jsp';
          }
    
  • check if there are feeds that are falsely marked as archived:
    select id,name,archivetype,archivedate from FEED where archivetype = 1 and archivedate <= 3600000
    
    if there are results from the this query, make sure they should not be archived (which is very likely) and run the following update:
         update FEED set archivetype = 0 where archivetype = 1 and archivedate <= 3600000;
    
  • check for events where the start date lies after the end date
        select * from EVENT where startdate > enddate and enddate > 0;
        update EVENT set enddate = 0 where startdate > enddate and enddate > 0;
    
  • [if forum enabled] replace in modules/forum/forumtemplate_top.inc:
         //todo: ...
        String lang = ....
    
    by
      pageContext.setAttribute("lang", DaliSettings.getInstance().getSetting(Setting.DEFAULT_LANGUAGE));
    
  • [optional] change the following in style.css if forum is used with default layout

#primarycontent h3, #singlecontent h3: add "width: 500px;" and remove "background" definition #primarycontent .post .header, #singlecontent .post .header: add the "background" specification that was just removed from the previous rule

  • [optional] add 'bannermanager' to tools in admin.jsp
  • [optional] add 'rssmanager' to tools in admin.jsp