diff --git a/src/de/superx/bin/ExecuteMask.java b/src/de/superx/bin/ExecuteMask.java index 5a68e38..d70e8d3 100644 --- a/src/de/superx/bin/ExecuteMask.java +++ b/src/de/superx/bin/ExecuteMask.java @@ -5,6 +5,7 @@ import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; +import java.net.URISyntaxException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @@ -129,11 +130,13 @@ public class ExecuteMask { } String userName = GetOpts.getValue("-user"); String loggingProperties = GetOpts.getValue("-logger"); + myWEBINFFilePath= de.superx.util.PathAndFileUtils.getWebinfDirectory(); + if (GetOpts.isPresent("-fopxconf")) { fopxconfFile = new File(GetOpts.getOpt("-fopxconf").replaceAll("-fopxconf:", "")); } else { - fopxconfFile = null; + fopxconfFile = new File(myWEBINFFilePath+ File.separator + "conf"+ File.separator +"fop.xconf"); } try { @@ -153,7 +156,7 @@ public class ExecuteMask { } tutil.start(); try { - //SuperXManager.initKettleEnv(); + SuperXManager.initKettleEnv(); SxPools.init(); SxPools.get(mandantenID).init(); SxPools.get(mandantenID).initLogging(true); @@ -421,8 +424,8 @@ public class ExecuteMask { private static void transformFile(Maske maske, String xmlfile, String stylesheet, String contenttype, String filename, MockHttpServletResponse mockResponse_par, String method) { TransletUtils.initFactory("net.sf.saxon.TransformerFactoryImpl", null); - String stylesheetPath = getMyWEBINFFilePath() + File.separator + ".." + File.separator + "xml" + File.separator - + stylesheet; + String stylesheetPath = myWEBINFFilePath + File.separator + ".." + File.separator + "xml" + File.separator + + stylesheet; if (method.equals("xls")) { try { XmlTransformer xt = new XmlTransformer(mockServletConfig, mock, mockResponse_par, null, null); diff --git a/src/de/superx/bin/SxTransformer.java b/src/de/superx/bin/SxTransformer.java index 9bc066f..96a43d5 100644 --- a/src/de/superx/bin/SxTransformer.java +++ b/src/de/superx/bin/SxTransformer.java @@ -27,6 +27,7 @@ import javax.xml.transform.URIResolver; import javax.xml.transform.sax.SAXResult; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; +import javax.xml.transform.Transformer; import org.apache.fop.apps.FOUserAgent; import org.apache.fop.apps.Fop; @@ -37,6 +38,7 @@ import org.apache.fop.apps.MimeConstants; import org.jfor.jfor.converter.Converter; import org.xml.sax.InputSource; +import de.superx.common.TransletCache; import de.superx.util.SqlStringUtils; // ACHTUNG - PDF ERZEUGUNG WIEDER AKTIV DQ 27.12.2005!!! @@ -106,7 +108,7 @@ public class SxTransformer { public void setFopxconfFile(File fopxconfFile) { this.fopxconfFile = fopxconfFile; } - + public String mandantenID; Logger myLogger; String loglevel; @@ -332,9 +334,10 @@ public class SxTransformer { public void transformFile(String methode) throws TransformerException, Exception { - javax.xml.transform.TransformerFactory tFactory = javax.xml.transform.TransformerFactory.newInstance("net.sf.saxon.TransformerFactoryImpl", null); + /*javax.xml.transform.TransformerFactory tFactory = javax.xml.transform.TransformerFactory.newInstance("net.sf.saxon.TransformerFactoryImpl", null); - javax.xml.transform.Transformer transformer = tFactory.newTransformer(new javax.xml.transform.stream.StreamSource(this.stylesheet)); + javax.xml.transform.Transformer transformer = tFactory.newTransformer(new javax.xml.transform.stream.StreamSource(this.stylesheet));*/ + Transformer transformer = TransletCache.getTransformer(this.mandantenID, this.stylesheet); //StringReader s1 = new StringReader(quellstring); transformer.setOutputProperty(javax.xml.transform.OutputKeys.ENCODING, SqlStringUtils.getEncoding()); if (methode.equals("pdf") || methode.equals("rtf")) diff --git a/src/de/superx/etl/EtlUtils.java b/src/de/superx/etl/EtlUtils.java index 5ca5336..c34d0ce 100644 --- a/src/de/superx/etl/EtlUtils.java +++ b/src/de/superx/etl/EtlUtils.java @@ -52,17 +52,9 @@ public static String MODUL_ROHDATEN_SUBPFAD=PATHSEP+"rohdaten"+PATHSEP; public static void main(String args[]) { - try { - String webinfdir=de.superx.util.PathAndFileUtils.getWebinfDirectory(); - System.out.println(webinfdir); - - } catch (URISyntaxException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } catch (Exception e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } + String webinfdir=de.superx.util.PathAndFileUtils.getWebinfDirectory(); + System.out.println("WEB-INF:"+webinfdir); + } public static Properties convertStringToProperty(String inp) throws IOException diff --git a/src/de/superx/servlet/SuperXmlTabelle.java b/src/de/superx/servlet/SuperXmlTabelle.java index c7afb9f..c4eafba 100644 --- a/src/de/superx/servlet/SuperXmlTabelle.java +++ b/src/de/superx/servlet/SuperXmlTabelle.java @@ -1010,6 +1010,7 @@ public class SuperXmlTabelle extends AbstractSuperXServlet { filename_extension="."+contenttype.substring(contenttype.lastIndexOf("/")+1); // open browser download dialogue + response.setContentType("application/x-xml; charset=" + SqlStringUtils.getEncoding()); response.setHeader("Content-disposition", "attachment; filename=" + FileUtils.removeProblemChars(maske.getName()) + filename_extension); response.setHeader("Cache-Control", "expires=0"); } diff --git a/src/de/superx/servlet/SxPool.java b/src/de/superx/servlet/SxPool.java index 7135a0f..2447440 100644 --- a/src/de/superx/servlet/SxPool.java +++ b/src/de/superx/servlet/SxPool.java @@ -174,7 +174,7 @@ public class SxPool extends GenericObjectPool implements NamedObjectI { lastpart = lastpart.replaceAll("\\?ApplicationName.*", ""); String type = getDatabaseAbbr().equals("PG") ? "POSTGRESQL" : "INFORMIX"; // DatabaseMeta.getDatabaseInterfacesMap() ; - /*kettleDatabaseMeta = new DatabaseMeta("eduetl", type, "Native", host, lastpart, port, + kettleDatabaseMeta = new DatabaseMeta("eduetl", type, "Native", host, lastpart, port, props.getProperty("connectionName"), props.getProperty("password")); if (lastpart.indexOf(":INFORMIXSERVER") > -1) { String ixServer = lastpart.substring(lastpart.indexOf(":INFORMIXSERVER") + 16); @@ -182,7 +182,7 @@ public class SxPool extends GenericObjectPool implements NamedObjectI { kettleDatabaseMeta.setDBName(dbname); kettleDatabaseMeta.setServername(ixServer); - }*/ + } ConnectionFactory connectionFactory = new DriverManagerConnectionFactory( this.props.getProperty("connectionURL"), this.props); PoolableConnectionFactory poolableConnectionFactory = new PoolableConnectionFactory(connectionFactory, this, @@ -345,11 +345,10 @@ public class SxPool extends GenericObjectPool implements NamedObjectI { String myWEBINFFilePath=SuperXManager.getWEB_INFPfad(); //bei Kommandozerilenaufrufen ist WEB-INF nicht aus dem Servlet Manager ermittelbar: if(myWEBINFFilePath==null || myWEBINFFilePath.equals(".")) - try { myWEBINFFilePath= de.superx.util.PathAndFileUtils.getWebinfDirectory(); - } catch (URISyntaxException e1) { // Default ist user.dir: - myWEBINFFilePath=System.getProperty("user.dir"); + if(myWEBINFFilePath.equals(".")) { + myWEBINFFilePath=System.getProperty("user.dir"); } // rs = st.executeQuery("select tid from sx_repository where id='WEBINFDIR'"); int tid = 0; @@ -437,14 +436,14 @@ public class SxPool extends GenericObjectPool implements NamedObjectI { base = "."; String targetDir = ""; - if (SuperXManager.isHis1) { - targetDir = SuperXManager.getWEB_INFPfad() + File.separator + "logs"; + //if (SuperXManager.isHis1) { + targetDir = de.superx.util.PathAndFileUtils.getWebinfDirectory() + File.separator + "logs"; File f = new File(targetDir); if (!f.exists()) f.mkdir(); - } else { - targetDir = base + File.separator + "logs"; - } + //} else { + // targetDir = base + File.separator + "logs"; + //} if (System.getProperty("SX_LOG_TO_TMP") != null && System.getProperty("SX_LOG_TO_TMP").equalsIgnoreCase("true")) targetDir = System.getProperty("java.io.tmpdir"); return targetDir; @@ -456,11 +455,8 @@ public class SxPool extends GenericObjectPool implements NamedObjectI { * @throws Exception */ private void readPropertiesAndUrl() throws Exception { - String propname = "db_" + getName() + ".properties"; - if (getName().equals("default")) - propname = "db.properties"; - - props = PropsReader.prepareProps(new File(SuperXManager.getWEB_INFPfad() + File.separator + propname)); + + props = PropsReader.prepareProps(new File(getDbPropertyFilePath())); if (props.getProperty("restrictedConnectionName") != null && !props.getProperty("restrictedConnectionName").trim().equals("") && props.getProperty("restrictedConnectionPassword") != null @@ -473,7 +469,18 @@ public class SxPool extends GenericObjectPool implements NamedObjectI { props.put("password", PropsReader.check(props.getProperty("connectionPassword"))); } } - + + private String getDbPropertyFilePath() { + String propname = "db_" + getName() + ".properties"; + if (getName().equals("default")) + propname = "db.properties"; + String myWEBINFFilePath=SuperXManager.getWEB_INFPfad(); + //bei Kommandozeilenaufrufen ist WEB-INF nicht aus dem Servlet Manager ermittelbar: + if(myWEBINFFilePath==null || myWEBINFFilePath.equals(".")) + myWEBINFFilePath= de.superx.util.PathAndFileUtils.getWebinfDirectory(); + + return myWEBINFFilePath + File.separator + propname; + } public String getSqlDialect() { String result = "Informix"; if (props.getProperty("driverName").indexOf("postgres") > -1) diff --git a/src/de/superx/servlet/SxPools.java b/src/de/superx/servlet/SxPools.java index 6082f60..aa29ce9 100644 --- a/src/de/superx/servlet/SxPools.java +++ b/src/de/superx/servlet/SxPools.java @@ -4,6 +4,7 @@ import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; +import java.net.URISyntaxException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; diff --git a/src/de/superx/servlet/XmlTransformer.java b/src/de/superx/servlet/XmlTransformer.java index 428a8fe..c9a1d23 100644 --- a/src/de/superx/servlet/XmlTransformer.java +++ b/src/de/superx/servlet/XmlTransformer.java @@ -195,7 +195,7 @@ public class XmlTransformer { desiredContenttype = "text/html; charset=" + SqlStringUtils.getEncoding(); desiredContenttype = desiredContenttype.toLowerCase(); - if (desiredContenttype.startsWith("text/xml")) { + if (desiredContenttype.startsWith("text/xml") || desiredContenttype.startsWith("application/jrxml")) { response.setContentType("text/xml; charset=" + SqlStringUtils.getEncoding()); methode = "xml"; } else { @@ -316,7 +316,7 @@ public class XmlTransformer { // DQ wird sich in Zukunft ändern, iText wird benutzt.. Logger.getLogger("superx_" + getMandantenID()).log(Level.INFO, "Erzeuge Contenttype: " + desiredContenttype); - if (desiredContenttype.equals("text/xml")) { + if (desiredContenttype.equals("text/xml") || desiredContenttype.startsWith("application/jrxml")) { createXml(transformer, returnTextStringReader); @@ -342,7 +342,7 @@ public class XmlTransformer { createNative(returnTextStringReader); } else // Normal xml Transformation, not fop or rtf - createNormalOutput(transformer, returnTextStringReader); + createNormalOutput(transformer, returnTextStringReader,desiredContenttype); } } } @@ -469,7 +469,7 @@ public class XmlTransformer { this.browser = browser; } - private void createNormalOutput(javax.xml.transform.Transformer transformer, StringReader returnTextStringReader) throws IOException, TransformerException { + private void createNormalOutput(javax.xml.transform.Transformer transformer, StringReader returnTextStringReader, String desiredContenttype) throws IOException, TransformerException { Logger.getLogger("superx_" + getMandantenID()).log(Level.INFO, "Normal xml Transformation, not fop or rtf"); @@ -486,7 +486,14 @@ public class XmlTransformer { result = CryptUtils.simpleEncryptString2(result); } tutil.start(); - sendBackHTML( result); + if(desiredContenttype.equals("text/plain")) + { + sendBackTXT(result); + } + else + { + sendBackHTML( result); + } Logger.getLogger("superx_" + getMandantenID()).log(Level.FINER, " schicken der Ergebnisseite an Client " + tutil.getSinceStart()); } @@ -537,7 +544,47 @@ public class XmlTransformer { out.close(); } - + /** + * aus abstrakter Klasse servletHelper übernommen + * + * + * @param txt + * @throws IOException + */ + protected void sendBackTXT(String txt) throws IOException { + OutputStream out = null; + TimeUtils t = new TimeUtils(); + t.start(); + + // Check the Accepting-Encoding header from the HTTP request. + // If the header includes gzip, choose GZIP. + // If the header includes compress, choose ZIP. + // Otherwise choose no compression. + + String encoding = request.getHeader("Accept-Encoding"); + if (!SuperXManager.isResponseCompressionWanted) + encoding = "none"; + byte[] myBytes = txt.getBytes(SqlStringUtils.getEncoding()); + + if (encoding != null && encoding.indexOf("gzip") != -1) { + response.setHeader("Content-Encoding", "gzip"); + out = new GZIPOutputStream(response.getOutputStream()); + } else if (encoding != null && encoding.indexOf("compress") != -1) { + response.setHeader("Content-Encoding", "compress"); + out = new ZipOutputStream(response.getOutputStream()); + } else { + + response.setContentLength(myBytes.length); + out = response.getOutputStream(); + } + + response.setContentType("text/plain; charset=" + SqlStringUtils.getEncoding()); + out.write(myBytes); + + // t.print("sending"); + + out.close(); + } /** * @param transformer * @param returnTextStringReader diff --git a/src/de/superx/util/PathAndFileUtils.java b/src/de/superx/util/PathAndFileUtils.java index 628e6d4..59fc0cd 100644 --- a/src/de/superx/util/PathAndFileUtils.java +++ b/src/de/superx/util/PathAndFileUtils.java @@ -262,15 +262,22 @@ public abstract class PathAndFileUtils { * @return Path to the directory WEB-INF * @throws URISyntaxException */ - public static String getWebinfDirectory() throws URISyntaxException + public static String getWebinfDirectory() { + String myDir=System.getProperty("user.dir"); + try { if (runningFromJar()) { - return getWebinfDirectoryFromJar(); + myDir= getWebinfDirectoryFromJar(); } else { - return getWebinfDirectoryFromClass(); + myDir= getWebinfDirectoryFromClass(); } + } catch (URISyntaxException e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + return myDir; } /** * determine Path where superx-build lies (WEB-INF/classes) diff --git a/superx/WEB-INF/conf/edustore/db/bin/module_scripts_create.x b/superx/WEB-INF/conf/edustore/db/bin/module_scripts_create.x index f12b5e8..02381f5 100755 --- a/superx/WEB-INF/conf/edustore/db/bin/module_scripts_create.x +++ b/superx/WEB-INF/conf/edustore/db/bin/module_scripts_create.x @@ -22,7 +22,7 @@ MODULE=$1 MODULE_PATH="$2" DATABASE="$3" DATABASE_SIC="$DATABASE" -BUILD_MONDRIAN="$5" +BUILD_MONDRIAN_TMP="$5" MONDRIAN_VERSION="$4" CURRPATH=`pwd` MODULE_UPPER=`echo $MODULE | tr "[:lower:]" "[:upper:]"` @@ -41,6 +41,15 @@ MONDRIAN_VERSION=3 fi +if [ "$BUILD_MONDRIAN" == "0" ] + then + echo "Kein Mondrian-build" + else + BUILD_MONDRIAN=$BUILD_MONDRIAN_TMP + +fi + + echo "Erzeuge Modul-Scripte" echo "Modul: $MODULE" diff --git a/superx/WEB-INF/conf/edustore/db/conf/module_scripts_create_ant.xml b/superx/WEB-INF/conf/edustore/db/conf/module_scripts_create_ant.xml index aed80d0..12fadac 100644 --- a/superx/WEB-INF/conf/edustore/db/conf/module_scripts_create_ant.xml +++ b/superx/WEB-INF/conf/edustore/db/conf/module_scripts_create_ant.xml @@ -1875,7 +1875,7 @@ ${mw_unload} + depends="module_mondrian_schema_res,module_mondrian_schema_sos,module_mondrian_schema_cob,module_mondrian_schema_fin,module_mondrian_schema_zul,module_mondrian_schema_sva,module_mondrian_schema_kenn,module_mondrian_merge_schema" /> diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql index 8f1f4a0..5a0ce56 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_ids.sql @@ -661,12 +661,6 @@ insert into tmp_themenbaum gueltig_bis) values('Stammdatenverwaltung','71620','Administration','01.01.1900','01.01.3000'); -insert into tmp_themenbaum -( name ,maskeninfo_id, parentname, - gueltig_seit , - gueltig_bis) -values('OrgUnitTests','71640','Entwicklung','01.01.1900','01.01.3000'); - insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , @@ -752,7 +746,7 @@ values ('user_institution','user_institution','/edit/kern/user_institution_edit. insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum'::varchar(200),'In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten auf das Organigramm verwalten.'::varchar(255)); +values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete'::varchar(200),'In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql index cbe546f..754dd79 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_integrate_pg.sql @@ -663,12 +663,6 @@ insert into tmp_themenbaum gueltig_bis) values('Stammdatenverwaltung','71620','Administration',date_val('01.01.1900'),date_val('01.01.3000')); -insert into tmp_themenbaum -( name ,maskeninfo_id, parentname, - gueltig_seit , - gueltig_bis) -values('OrgUnitTests','71640','Entwicklung',date_val('01.01.1900'),date_val('01.01.3000')); - insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml index 6d8fcad..68feb09 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_ids.xml @@ -179,6 +179,9 @@ + + + @@ -198,6 +201,9 @@ + + + eduetl:delete from dim_datum; diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml index a3c1bd0..82fe3c0 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/his1/edustore_install/edustore_kern_upgrade2_pg.xml @@ -187,6 +187,9 @@ + + + @@ -208,6 +211,9 @@ + + + eduetl:truncate table dim_datum cascade; diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml b/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml index bc13623..ce06473 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern.xml @@ -9654,7 +9654,7 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc 30.09.2020 - + $SUPERX_DIR/db/install/masken POSTGRES @@ -10298,6 +10298,9 @@ gueltig_bis DATE + @@ -10314,6 +10317,7 @@ gueltig_bis DATE + diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml b/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml index 7a3b9ea..5ae11c8 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern_cubes.xml @@ -1,5 +1,5 @@ - diff --git a/superx/WEB-INF/conf/edustore/db/install/conf/kern_mask_test_ant.xml b/superx/WEB-INF/conf/edustore/db/install/conf/kern_mask_test_ant.xml index 19eecce..8a53ed1 100644 --- a/superx/WEB-INF/conf/edustore/db/install/conf/kern_mask_test_ant.xml +++ b/superx/WEB-INF/conf/edustore/db/install/conf/kern_mask_test_ant.xml @@ -350,14 +350,6 @@ - - - - - - - - diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql index 5a6a1cf..6137255 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_install_ids.sql @@ -4814,12 +4814,6 @@ insert into tmp_themenbaum gueltig_bis) values('Stammdatenverwaltung','71620','Administration','01.01.1900','01.01.3000'); -insert into tmp_themenbaum -( name ,maskeninfo_id, parentname, - gueltig_seit , - gueltig_bis) -values('OrgUnitTests','71640','Entwicklung','01.01.1900','01.01.3000'); - insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , @@ -4907,7 +4901,7 @@ values ('user_institution','user_institution','/edit/kern/user_institution_edit. insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum'::varchar(200),'In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten auf das Organigramm verwalten.'::varchar(255)); +values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete'::varchar(200),'In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql b/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql index 5d2e805..29e619c 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_install_pg.sql @@ -5743,12 +5743,6 @@ insert into tmp_themenbaum gueltig_bis) values('Stammdatenverwaltung','71620','Administration',date_val('01.01.1900'),date_val('01.01.3000')); -insert into tmp_themenbaum -( name ,maskeninfo_id, parentname, - gueltig_seit , - gueltig_bis) -values('OrgUnitTests','71640','Entwicklung',date_val('01.01.1900'),date_val('01.01.3000')); - insert into tmp_themenbaum ( name ,maskeninfo_id, parentname, gueltig_seit , diff --git a/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql b/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql index e79ba62..98592b8 100644 --- a/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/kern_load_ids.sql @@ -1,5 +1,5 @@ -- XML-generiertes SQL-Script fuer dbaccess--von module_etl.xsl ---ETL-Schritt load: +--ETL-Schritt load: Upload KERN-Modul ! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/organigrammquelle_pruefen.sql ausführen" diff --git a/superx/WEB-INF/conf/edustore/db/install/masken/remove_obsolete_masks.sql b/superx/WEB-INF/conf/edustore/db/install/masken/remove_obsolete_masks.sql index ce19972..afa9ed8 100644 --- a/superx/WEB-INF/conf/edustore/db/install/masken/remove_obsolete_masks.sql +++ b/superx/WEB-INF/conf/edustore/db/install/masken/remove_obsolete_masks.sql @@ -1,21 +1,26 @@ ---Sicherheitskritische obsolete Masken löschen -delete from maskeninfo where tid=70540; -delete from felderinfo where tid in (select felderinfo_id from masken_felder_bez where maskeninfo_id=70540); -delete from sachgeb_maske_bez where maskeninfo_id=70540; -delete from masken_felder_bez where maskeninfo_id=70540; -delete from maske_system_bez where maskeninfo_id=70540; -delete from themenbaum where maskeninfo_id=70540; +--Sicherheitskritische oder obsolete Masken löschen -delete from maskeninfo where tid=70560; -delete from felderinfo where tid in (select felderinfo_id from masken_felder_bez where maskeninfo_id=70560); -delete from sachgeb_maske_bez where maskeninfo_id=70560; -delete from masken_felder_bez where maskeninfo_id=70560; -delete from maske_system_bez where maskeninfo_id=70560; -delete from themenbaum where maskeninfo_id=70560; - -delete from maskeninfo where tid=70700; -delete from felderinfo where tid in (select felderinfo_id from masken_felder_bez where maskeninfo_id=70700); -delete from sachgeb_maske_bez where maskeninfo_id=70700; -delete from masken_felder_bez where maskeninfo_id=70700; -delete from maske_system_bez where maskeninfo_id=70700; -delete from themenbaum where maskeninfo_id=70700; \ No newline at end of file +DELETE FROM felderinfo +WHERE tid in( + SELECT felderinfo_id FROM masken_felder_bez + WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700) +); +DELETE FROM maskeninfo +WHERE tid in(70520, 70540, 70550, 70560, 70700); +DELETE FROM masken_felder_bez +WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700); +DELETE FROM sachgeb_maske_bez +WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700); +DELETE FROM maske_system_bez +WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700); +DELETE FROM sx_mask_style +WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700); +DELETE FROM group_masken_bez +WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700); +DELETE FROM macro_masken_bez +WHERE maskeninfo_id1 in(70520, 70540, 70550, 70560, 70700) +OR maskeninfo_id2 in(70520, 70540, 70550, 70560, 70700); +DELETE FROM user_masken_bez +WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700); +DELETE FROM themenbaum +WHERE maskeninfo_id in(70520, 70540, 70550, 70560, 70700, 71640, 71580); diff --git a/superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql b/superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql new file mode 100644 index 0000000..182b377 --- /dev/null +++ b/superx/WEB-INF/conf/edustore/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql @@ -0,0 +1,38 @@ +--freemarker template + +--Selektion aus KB: +-- +-- SELECT D.systeminfo_id, P.target_server || '/' || P.document_root|| '/' || P.target_path || '/' || 'f_' || chapter_filename || '.htm' as url +-- FROM kb_chapter K, kb_document D, kb_output_project P, kb_output_project_part A + -- where D.id=K.document_id + -- and P.id=A.output_project_id + -- and A.src_document_id=D.id + -- and K.defaulttext='Konstanten' + -- ; + + +<#assign doku_links = [ +{"systeminfo_id":"310", "link":"http://www.superx-projekt.de/doku/costage_modul/admin/f_Konstanten.htm"}, +{"systeminfo_id":"121", "link":"http://www.superx-projekt.de/doku/gang_modul/admin/f_Konstanten.htm"}, +{"systeminfo_id":"3", "link":"http://www.superx-projekt.de/doku/fin_modul/admin_install/f_Konstanten.htm"}, +{"systeminfo_id":"7", "link":"http://www.superx-projekt.de/doku/sos_modul/admin/conf/f_Konstanten.htm"}, +{"systeminfo_id":"10", "link":"http://www.superx-projekt.de/doku/cob_modul/admin/f_Konstanten.htm"}, +{"systeminfo_id":"6", "link":"http://www.superx-projekt.de/doku/sva_modul/admin/f_Konstanten.htm"}, +{"systeminfo_id":"140", "link":"http://www.superx-projekt.de/doku/ivs_modul/admin/f_Konstanten.htm"}, +{"systeminfo_id":"7", "link":"http://www.superx-projekt.de/doku/sos_modul/admin/best/f_Konstanten.htm"}, +{"systeminfo_id":"130", "link":"http://www.superx-projekt.de/doku/zul_modul/admin/f_Konstanten.htm"}, +{"systeminfo_id":"200", "link":"http://www.superx-projekt.de/doku/man_modul/install/f_Konstanten.htm"}, +{"systeminfo_id":"109", "link":"http://www.superx-projekt.de/doku/kenn_modul/install/f_Konstanten.htm"}, +{"systeminfo_id":"300", "link":"http://www.superx-projekt.de/doku/lm_modul/conf/f_Konstanten.htm"}, +{"systeminfo_id":"9", "link":"http://www.superx-projekt.de/doku/kern_modul/config/f_Konstanten.htm"}, +{"systeminfo_id":"120", "link":"http://www.superx-projekt.de/doku/erfolg_modul/admin/f_Konstanten.htm"} +] /> +<#if K_PLATTFORM?exists && K_PLATTFORM == 2> +<#foreach link in doku_links> + +update konstanten set doku_link='${link.link}' +where systeminfo_id=${link.systeminfo_id}; + + + + diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/cif_fuellen_key_2.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/cif_fuellen_key_2.sql new file mode 100644 index 0000000..eb080ea --- /dev/null +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/cif_fuellen_key_2.sql @@ -0,0 +1,100 @@ +-- Die cif wird um ICE-Schlüssel erweitert +--freemarker template +--(c) 2010 Daniel Quathamer + +--Liste der cif-Schlüssel des Moduls: +--Wird in cif mit key=1 eingefügt + +<#assign cif_keys_list = [ + + ] /> + +--Liste der cifx-Schlüssel des Moduls: +--Wird in cif mit key=2 eingefügt + +<#assign cifx_keys_list = [ + + {"name":"Befristungsgrund", "key":"635"}, + {"name":"Quellsystem", "key":"1"} + {"name":"Art des Studienbeginns", "key":"690"}, + {"name":"Art des Studienende", "key":"691"}, + {"name":"Flächenart", "key":"800"}, + {"name":"Prüfungsamtnummer", "key":"9008"} , + {"name":"Zuordnungsarten zwischen Units", "key":"9015"} + ] /> + + create temp table tmp_cif2 + ( + tid serial, + key smallint not null , + hs integer not null, + apnr integer not null , + kurz char(10), + druck varchar(30), + lang_1 char(50), + astat INTEGER , + parent INTEGER , + sortc1 CHAR(10) , + bund_apnr CHAR(10) , + sprache CHAR(3) + ); + +create temp table tmp_hilf(tid integer); + +--zuerst Metadaten cif: +<#list cif_keys_list as cif_key> +select 'cif-Schlüssel ${cif_key.name} key= ${cif_key.key} einfügen '::varchar(255) from xdummy; +insert into tmp_cif2(key,hs,apnr,kurz,druck,lang_1 + ) +select 1,0,${cif_key.key},substring('${cif_key.name}' from 1 for 10),'${cif_key.name}','${cif_key.name}' +from xdummy +; + +--dann Metadaten cifx: +<#list cifx_keys_list as cifx_key> +select 'cifx-Schlüssel ${cifx_key.name} key= ${cifx_key.key} einfügen '::varchar(255) from xdummy; +insert into tmp_cif2(key,hs,apnr,kurz,druck,lang_1 + ) +select 2,0,${cifx_key.key},substring('${cifx_key.name}' from 1 for 10),'${cifx_key.name}','${cifx_key.name}' +from xdummy +; + + +--Vorhandene Schlüssel werden ersetzt, nicht vorhandene Schlüssel bleiben: +delete from cif where '' || key ||'_' || apnr in +(select '' || key || '_' || apnr from tmp_cif2 ) +; + + + + +insert into tmp_hilf select max(tid) from cif; +update tmp_hilf set tid=1 where tid is null; + + insert into cif(tid,key,hs,apnr,kurz,druck,lang_1 + -- , + -- parent, + -- astat, + -- bund_apnr, + -- sortc1, + -- sprache + ) +select C.tid+H.tid,key,hs,apnr,kurz,druck,lang_1 +-- , + -- parent, + -- astat, + -- bund_apnr, + -- sortc1, + -- sprache + from tmp_cif2 C, tmp_hilf H +where apnr is not null; + + drop table tmp_cif2; + drop table tmp_hilf; + + + +update cif set kurz=substring(druck from 1 for 10) +where kurz is null and druck is not null; + + diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql index cc43ce3..5da0bc8 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql @@ -307,6 +307,13 @@ drop table tmp_cifx_load; ! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/cif_fuellen.sql +! echo "Scriptfile $SUPERX_DIR/db/install/upgrade/cif_fuellen_key_2.sql ausführen" +! echo `date` + + +! DOSQL $SUPERX_DIR/db/install/upgrade/cif_fuellen_key_2.sql + + ! echo "Scriptfile $SUPERX_DIR/db/install/upgrade/menu_element_upgrade.sql ausführen" ! echo `date` @@ -355,6 +362,13 @@ drop table tmp_cif_load; ! DOSQL $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql +! echo "Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql ausführen" +! echo `date` + + +! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql + + ! echo "Lade Tabelle dim_datum" ! echo `date` @@ -423,7 +437,7 @@ values ('user_institution','user_institution','/edit/kern/user_institution_edit. insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('themenbaum_edit','themenbaum','/edit/kern/themenbaum_edit.jsp','Themenbaum'::varchar(200),'In diesem Formular können Sie den Themenbaum bearbeiten. Bitte beachten Sie: bei Änderungen muss der Themenbaum neu geladen werden (SuperXManager)'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) -values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten auf das Organigramm verwalten.'::varchar(255)); +values ('sichten','sichten','/edit/kern/sichten_edit.jsp','Sichten'::varchar(200),'In diesem Formular können Sie Sichten verwalten.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) values ('sachgeb_maske_bez','sachgeb_maske_bez','/edit/kern/sachgeb_maske_bez_edit.jsp','Masken und Sachgebiete'::varchar(200),'In diesem Formular können Sie Masken zu Sachgebieten zuordnen.'::varchar(255)); insert into tmp_db_forms (name, tablename,form_path,caption,description) diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql index 835333f..cbf14ee 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql @@ -277,6 +277,12 @@ select now(), 'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/cif_fuellen. \! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/cif_fuellen.sql +select now(), 'Scriptfile $SUPERX_DIR/db/install/upgrade/cif_fuellen_key_2.sql ausführen'; + + +\! DOSQL $SUPERX_DIR/db/install/upgrade/cif_fuellen_key_2.sql + + select now(), 'Scriptfile $SUPERX_DIR/db/install/upgrade/menu_element_upgrade.sql ausführen'; @@ -323,6 +329,12 @@ select now(), 'Scriptfile $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sq \! DOSQL $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql +select now(), 'Scriptfile $SUPERX_DIR/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql ausführen'; + + +\! DOSQL $SUPERX_DIR/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql + + select now(), 'Lade Tabelle dim_datum'; \! sx_auto_upload_table.x dim_datum $SUPERX_DIR/db/install/schluesseltabellen/release_unloads/dim_datum.unl diff --git a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_themenbaum.sql b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_themenbaum.sql index 9c1c964..37cef8a 100644 --- a/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_themenbaum.sql +++ b/superx/WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_themenbaum.sql @@ -1619,36 +1619,6 @@ select delete from tmp_themenbaum; -insert into tmp_themenbaum( - name, - maskeninfo_id, - gueltig_seit, - gueltig_bis) - select 'OrgUnitTests'::char(255),71640, - date_val('01.01.1900'),date_val('30.09.2999') - from xdummy; -delete from tmp_themenbaum where 0 < -(select count(*) from themenbaum where maskeninfo_id=71640); -update tmp_themenbaum set parent=(select max(tid) from themenbaum where name='Entwicklung'); - -insert into themenbaum( - name, - maskeninfo_id, - parent, - gueltig_seit, - gueltig_bis, - erlaeuterung) -select - name, - maskeninfo_id, - parent, - gueltig_seit, - gueltig_bis, - erlaeuterung - from tmp_themenbaum; - -delete from tmp_themenbaum; - insert into tmp_themenbaum( name, maskeninfo_id, diff --git a/superx/WEB-INF/kern_dbforms-config_ids.xml b/superx/WEB-INF/kern_dbforms-config_ids.xml index 9a68ab0..a84e3fa 100644 --- a/superx/WEB-INF/kern_dbforms-config_ids.xml +++ b/superx/WEB-INF/kern_dbforms-config_ids.xml @@ -1041,11 +1041,11 @@ Um zukünftig evtl. Hierarchien von Sichten abzubilden - + Querverweis zur Systeminfo - - + + 10 ist standardsicht, 20 ist alt.Hierarchie @@ -1056,7 +1056,7 @@ Bezeichnung der Sicht, die für User angezeigt wird - + kann für Sortierungen benutzt werden @@ -1065,14 +1065,14 @@ key,parent,name,gueltig_seit,gueltig_bis oder Prozedur, die mit sp_ anfängt - + id der alt.Hier in angegebenen Quelltabelle null bei regulärer Hierarchie - + Tabelle mit Infos zu TreeView aus Cob - + id des benutzen trees aus Cob-Tabelle trees null bei regulärer Hierachie @@ -1090,23 +1090,23 @@ zukünftig für erweiterte Rechtevergabe - + soll der Stand geändert werden können - + bei Bedarf noch Attribute der Sicht hinterlegt werden, auf die man bei Bedarf Einschränkungen fahren kann - + bei Bedarf noch Attribute der Sicht hinterlegt werden, auf die man bei Bedarf Einschränkungen fahren kann - -bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + +bei Bedarf noch ein Ganzzahl-Attribut der Sicht hinterlegt werden, auf die man bei Bedarf Einschränkungen fahren kann - -bei Bedarf noch Attribute der Sicht hinterlegt werden, auf + +bei Bedarf noch ein Ganzzahl-Attribut der Sicht hinterlegt werden, auf die man bei Bedarf Einschränkungen fahren kann @@ -1117,10 +1117,10 @@ soll Sicht im Applet gecachet werden - + soll Sicht im XML-Frontend gecachet werden - + @@ -2400,12 +2400,32 @@ mode="full">
-In diesem Formular können Sie Sichten auf das Organigramm verwalten. +In diesem Formular können Sie Sichten verwalten. art name - + + + + + + + + + + + + + + + + + + + + +
diff --git a/superx/WEB-INF/lib/superx5.0.jar b/superx/WEB-INF/lib/superx5.0.jar index 3765ab8..5c4649d 100644 Binary files a/superx/WEB-INF/lib/superx5.0.jar and b/superx/WEB-INF/lib/superx5.0.jar differ diff --git a/superx/WEB-INF/patch/patch_archive/patch_2023-11-22_bash_var.sh b/superx/WEB-INF/patch/patch_archive/patch_2023-11-22_bash_var.sh new file mode 100755 index 0000000..1e8fc6e --- /dev/null +++ b/superx/WEB-INF/patch/patch_archive/patch_2023-11-22_bash_var.sh @@ -0,0 +1,49 @@ + + +export ANLEITUNG="Modul: KERN +PATCH 2023-11-22 Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : +Kernmodul 5.0 Bugfixes +Layoutanpassung Themenbaum und Menüs +Bugfix kommandozeilenbasierter Aufruf von Berichten (ExecuteMask) +Bugfixes Informix + + +Achtung: Dieser Patch ist für SuperX 5.0 geeignet, nicht für HISinOne-BI. + + +Dateien: + +Datei: +edit/kern/show_html_content.jsp Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Bugfix Impressum Link unter Informix +Datei: +edit/kern/webapp_manager.jsp Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=306961 : Layoutfeinheiten Webanwendung Manager +Datei: +style/superx.css Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Layout Themenbaum nach Login: Blautöne vereinheitlicht +Datei: +WEB-INF/conf/edustore/db/install/masken/remove_obsolete_masks.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +Datei: +WEB-INF/conf/edustore/db/install/prozeduren/proc_sp_user_themen_ids.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Bugfix Themenbaum bei Informix +Datei: +WEB-INF/conf/edustore/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Doku Links Konstanten setzen bei SuperX +Datei: +WEB-INF/conf/edustore/db/install/upgrade/cif_fuellen_key_2.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : CIF-Schlüssel key=2 nachtragen (Stammdatenverwaltung) +Datei: +WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Doku Links Konstanten setzen bei SuperX +Datei: +WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Doku Links Konstanten setzen bei SuperX +Datei: +WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_themenbaum.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +Datei: +WEB-INF/lib/superx5.0.jar Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=272917 : SuperX-Servlet Bugfix ExecuteMask net.sf.saxon.trans.XPathException: Cannot find a 1-argument function named... +Datei: +xml/pageComponents_html.xsl Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Icons im Breadcrumb verkleinert +Änderungen: + Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Anpassung Doku Links Konstanten +Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Themenbaum Informix +Ausgeführter SQL Befehl: drop procedure sp_user_themen(integer,date,smallint); Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Themenbaum Informix +Scriptfile: $SUPERX_DIR/db/install/prozeduren/proc_sp_user_themen_ids.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +Scriptfile: $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql Erweiterung https://hiszilla.his.de/hiszilla/show_bug.cgi?id=307740 : CIF key=2 +Scriptfile: $SUPERX_DIR/db/install/upgrade/cif_fuellen_key_2.sql +" +export MODULE_LIST="kern " + diff --git a/superx/WEB-INF/patch/patch_archive/patch_2023-11-22_readme.htm b/superx/WEB-INF/patch/patch_archive/patch_2023-11-22_readme.htm new file mode 100644 index 0000000..0076b12 --- /dev/null +++ b/superx/WEB-INF/patch/patch_archive/patch_2023-11-22_readme.htm @@ -0,0 +1,137 @@ + + + + Patch + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+

+

Patchnotes mit Administrationshilfe

+

made by MEMTEXT

+

+
+
+
+
+
+
+
+
+
+

Modul: KERN

+

PATCH 2023-11-22

+
+
+
+

Achtung: Der Patch ist nur für aktuelle Modulversionen geeignet!

+

Erweiterung 307740: +

+ + +
    Kernmodul 5.0 Bugfixes + +
  • Layoutanpassung Themenbaum und Menüs
  • + +
  • Bugfix kommandozeilenbasierter Aufruf von Berichten (ExecuteMask)
  • + +
  • Bugfixes Informix
  • + +
+ +

+ Achtung: Dieser Patch ist für SuperX 5.0 geeignet, nicht für HISinOne-BI.
+ +

+ +
+

Dateien:

+
    +
  • Datei: edit/kern/show_html_content.jsp
    Erweiterung 307740: Bugfix Impressum Link unter Informix +
  • +
  • Datei: edit/kern/webapp_manager.jsp
    Erweiterung 306961: Layoutfeinheiten Webanwendung Manager +
  • +
  • Datei: style/superx.css
    Erweiterung 307740: Layout Themenbaum nach Login: Blautöne vereinheitlicht +
  • +
  • Datei: WEB-INF/conf/edustore/db/install/masken/remove_obsolete_masks.sql
    Erweiterung 307740: Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +
  • +
  • Datei: WEB-INF/conf/edustore/db/install/prozeduren/proc_sp_user_themen_ids.sql
    Erweiterung 307740: Bugfix Themenbaum bei Informix +
  • +
  • Datei: WEB-INF/conf/edustore/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql
    Erweiterung 307740: Doku Links Konstanten setzen bei SuperX +
  • +
  • Datei: WEB-INF/conf/edustore/db/install/upgrade/cif_fuellen_key_2.sql
    Erweiterung 307740: CIF-Schlüssel key=2 nachtragen (Stammdatenverwaltung) +
  • +
  • Datei: WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_pg.sql
    Erweiterung 307740: Doku Links Konstanten setzen bei SuperX +
  • +
  • Datei: WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_ids.sql
    Erweiterung 307740: Doku Links Konstanten setzen bei SuperX +
  • +
  • Datei: WEB-INF/conf/edustore/db/install/upgrade/kern_upgrade_themenbaum.sql
    Erweiterung 307740: Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +
  • +
  • Datei: WEB-INF/lib/superx5.0.jar
    Erweiterung 272917: SuperX-Servlet Bugfix ExecuteMask net.sf.saxon.trans.XPathException: Cannot find a 1-argument function named... +
  • +
  • Datei: xml/pageComponents_html.xsl
    Erweiterung 307740: Icons im Breadcrumb verkleinert +
  • +
+

Änderungen:

+
    +
  • Erweiterung 307740: Anpassung Doku Links Konstanten
    Scriptfile: $SUPERX_DIR/db/install/schluesseltabellen/konstanten_doku_links_setzen.sql +
  • +
  • Erweiterung 307740: Themenbaum Informix
    + Ausgeführter SQL Befehl: drop procedure sp_user_themen(integer,date,smallint); +
  • +
  • Erweiterung 307740: Themenbaum Informix
    Scriptfile: $SUPERX_DIR/db/install/prozeduren/proc_sp_user_themen_ids.sql +
  • +
  • Erweiterung 307740: Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen
    Scriptfile: $SUPERX_DIR/db/install/masken/remove_obsolete_masks.sql +
  • +
  • Erweiterung 307740: CIF key=2
    Scriptfile: $SUPERX_DIR/db/install/upgrade/cif_fuellen_key_2.sql +
  • +
+
+
+
+

Download

+ +

In der klassischen SuperX-Variante liegt das db und webserver Verzeichnis auf einer Ebene meistens unterhalb von /home/superx. + Bei der "webapps"-Variante liegt alles unterhalb von webapps/superx. Dies ist der Standard in HISinOne-BI.

+
+ +
+
+
+
+
+
+ + diff --git a/superx/WEB-INF/patch/xml/patch_2023-11-22.xml b/superx/WEB-INF/patch/xml/patch_2023-11-22.xml new file mode 100644 index 0000000..2dafc44 --- /dev/null +++ b/superx/WEB-INF/patch/xml/patch_2023-11-22.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + +
    Kernmodul 5.0 Bugfixes +
  • Layoutanpassung Themenbaum und Menüs
  • +
  • Bugfix kommandozeilenbasierter Aufruf von Berichten (ExecuteMask)
  • +
  • Bugfixes Informix
  • +
+

+Achtung: Dieser Patch ist für SuperX 5.0 geeignet, nicht für HISinOne-BI.
+

+
+ + + + + + + + + +Bugfix Impressum Link unter Informix +Layoutfeinheiten Webanwendung Manager +Layout Themenbaum nach Login: Blautöne vereinheitlicht +Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +Bugfix Themenbaum bei Informix + +Doku Links Konstanten setzen bei SuperX +CIF-Schlüssel key=2 nachtragen (Stammdatenverwaltung) + +Doku Links Konstanten setzen bei SuperX +Doku Links Konstanten setzen bei SuperX +Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +SuperX-Servlet Bugfix ExecuteMask net.sf.saxon.trans.XPathException: Cannot find a 1-argument function named... +Icons im Breadcrumb verkleinert + + + + + + + + + + + + + + +Anpassung Doku Links Konstanten +Themenbaum Informix +Themenbaum Informix +Masken Verwundbarkeitstest und Test LiveMapping unsichtbar machen +CIF key=2 + + + + + + +
+ + + +
diff --git a/superx/edit/kern/webapp_manager.jsp b/superx/edit/kern/webapp_manager.jsp index 5ce37d3..5be0de9 100644 --- a/superx/edit/kern/webapp_manager.jsp +++ b/superx/edit/kern/webapp_manager.jsp @@ -23,13 +23,11 @@ function getVersion() { -//alert("klappt"); var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("version").innerHTML = this.responseText; - //alert(this.responseText); } }; xhttp.open("GET", "../../sxrest/version", true); @@ -37,13 +35,11 @@ var xhttp = new XMLHttpRequest(); } function ManagerCacheRefresh() { -//alert("klappt"); var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("ManagerCacheStatus").innerHTML = this.responseText; - //alert(this.responseText); } }; xhttp.open("GET", "../../sxrest/managercache_refresh", true); @@ -51,42 +47,26 @@ var xhttp = new XMLHttpRequest(); } function TransletCacheRefresh() { -//alert("klappt"); var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("TransletCacheStatus").innerHTML = this.responseText; - //alert(this.responseText); } }; xhttp.open("GET", "../../sxrest/transletcache_refresh", true); xhttp.send(); } -function toggleDevelopmentMode(modus) -{ -var xhttp = new XMLHttpRequest(); - xhttp.onreadystatechange = function() { - if (this.readyState == 4 && this.status == 200) { - document.getElementById("toggleDevelopmentmodeStatus").innerHTML = this.responseText; - //alert(this.responseText); - } - }; - xhttp.open("POST", "../../sxrest/toggle_developmentmode/"+modus, true); - xhttp.send(); - -} function getLogs(logtype,caption,loglines) { -document.getElementById("MaskHeader").innerHTML="Protokolle"; +document.getElementById("MaskHeader").innerHTML=(logtype.startsWith("server")?"Server-Logdateien":"Maskenprotokolle"); document.getElementById("MaskSubHeader").innerHTML=caption; var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { document.getElementById("Inhalt").innerHTML = this.responseText; - //alert(this.responseText); } }; xhttp.open("GET", "../../sxrest/logs/"+logtype+"?loglines="+loglines, true); @@ -229,16 +209,15 @@ if(tab == null)