diff --git a/docker-compose.yml b/docker-compose.yml index f091a8f3946a13a2a0a42e1655616d2028169880..127a55d1179dd80a190ee3c7f3efd41ad8be7d73 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -96,10 +96,11 @@ services: - ./conf/iParapheur-mysql.cnf:/etc/mysql/conf.d/iParapheur-mysql.cnf pes-viewer: - image: registry.libriciel.fr:443/public/signature/pes-viewer:1.5.1 + image: registry.libriciel.fr:443/public/signature/pes-viewer:2.0.5 restart: unless-stopped mem_limit: 1536M environment: + - SERVER_SERVLET_CONTEXT_PATH=/bl-xemwebviewer - MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE=health - SERVER_FORWARD_HEADERS_STRATEGY=FRAMEWORK volumes: @@ -108,7 +109,7 @@ services: - ./data/xwv-shared:/var/tmp/bl-xemwebviewer/xwv-shared crypto: - image: registry.libriciel.fr:443/public/signature/crypto:3.0.1 + image: registry.libriciel.fr:443/public/signature/crypto:3.0.5 restart: unless-stopped mem_limit: 1G environment: @@ -118,14 +119,14 @@ services: - '127.0.0.1:8004:8080' pdf-stamp: - image: registry.libriciel.fr/public/signature/pdf-stamp:2.5.3 + image: registry.libriciel.fr/public/signature/pdf-stamp:2.6.0 restart: unless-stopped mem_limit: 512M environment: - MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE=health pastell-connector: - image: registry.libriciel.fr/public/signature/pastell-connector:1.3.5 + image: registry.libriciel.fr/public/signature/pastell-connector:1.3.8 restart: unless-stopped mem_limit: 512M environment: diff --git a/iparapheur-amp/pom.xml b/iparapheur-amp/pom.xml index e5c97a46ba11590fdef86dd52a34326069b2ad6f..652de4057091e79e480ae805c9e319b8d12e707a 100644 --- a/iparapheur-amp/pom.xml +++ b/iparapheur-amp/pom.xml @@ -6,13 +6,13 @@ <parent> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> </parent> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur-amp</artifactId> <description>Parapheur electronique</description> <packaging>war</packaging> - <version>4.7.15-for-Alf3.4.c</version> + <version>4.7.16-for-Alf3.4.c</version> <name>i-Parapheur AMP packaging</name> <url>http://maven.apache.org</url> <properties> @@ -65,13 +65,13 @@ <dependency> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur-core</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> </dependency> <dependency> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur-mobile-webscripts</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> </dependency> <dependency> diff --git a/iparapheur-core/pom.xml b/iparapheur-core/pom.xml index 650083152ce5484405b2b41eb5c89f60c9af9fbf..7b88f0f12c196ccaa72aead9987b3ceca0b86fb9 100644 --- a/iparapheur-core/pom.xml +++ b/iparapheur-core/pom.xml @@ -5,14 +5,14 @@ <parent> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur-core</artifactId> <packaging>jar</packaging> <name>iparapheur core module</name> - <version>4.7.15</version> + <version>4.7.16</version> <description>Parapheur electronique</description> <!-- General Info --> <url>https://adullact.net/projects/paraphelec/</url> @@ -294,7 +294,7 @@ <dependency> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur-rules</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> <!-- exclusions> <exclusion> <artifactId>asm</artifactId> diff --git a/iparapheur-core/src/main/java/com/atolcd/parapheur/repo/impl/ParapheurServiceImpl.java b/iparapheur-core/src/main/java/com/atolcd/parapheur/repo/impl/ParapheurServiceImpl.java index 6b3d2870b67f699d3715c0d24a163df41971a028..8b5b3bcaacc3333e580c26ebdbc777eeb2d7c859 100755 --- a/iparapheur-core/src/main/java/com/atolcd/parapheur/repo/impl/ParapheurServiceImpl.java +++ b/iparapheur-core/src/main/java/com/atolcd/parapheur/repo/impl/ParapheurServiceImpl.java @@ -3854,7 +3854,6 @@ public final class ParapheurServiceImpl implements ParapheurService, Initializin * Assemblage des PDFs en un seul, apposition des calques d'impression */ if (!tmpFiles.isEmpty()) { - File tmpMerged = TempFileProvider.createTempFile("tmpconvfinal", ".pdf"); File archive = TempFileProvider.createTempFile("tmpconvfinal", ".pdf"); String firstPagePath = tmpFiles.get(0).getAbsolutePath(); @@ -3863,19 +3862,11 @@ public final class ParapheurServiceImpl implements ParapheurService, Initializin for(int i = 1; i < tmpFiles.size(); i++) { allpaths.add(tmpFiles.get(i).getAbsolutePath()); } - boolean result = utils.merge(firstPagePath, tmpMerged.getAbsolutePath(), allpaths); + boolean result = utils.merge(firstPagePath, archive.getAbsolutePath(), allpaths); if(!result) { throw new RuntimeException("Erreur lors de la fusion des documents. Fonction Merge"); - } else { - result = utils.unlock(tmpMerged.getAbsolutePath(), archive.getAbsolutePath()); - if (!result) { - throw new RuntimeException("Erreur lors de la fusion des documents. Fonction Unlock"); - } } - // Delete tmp file - tmpMerged.delete(); - return archive; } return null; diff --git a/iparapheur-core/src/main/resources/alfresco/module/parapheur/core/parapheur-version.properties b/iparapheur-core/src/main/resources/alfresco/module/parapheur/core/parapheur-version.properties index 60983f2ad6b9d45c1d0337c0fd78ef23cc65f6e2..7f8981df21d00697734cb8b7d5b972a611f3c09b 100755 --- a/iparapheur-core/src/main/resources/alfresco/module/parapheur/core/parapheur-version.properties +++ b/iparapheur-core/src/main/resources/alfresco/module/parapheur/core/parapheur-version.properties @@ -1,2 +1,2 @@ -ph_version=4.7.15 -ph_build=20230106 +ph_version=4.7.16 +ph_build=20230526 diff --git a/iparapheur-mobile-webscripts/pom.xml b/iparapheur-mobile-webscripts/pom.xml index 63a7f379350217c1cb032190f9c4700546ed312f..83891ff1d6433f0fe5b6c30c36562d05d28be66b 100644 --- a/iparapheur-mobile-webscripts/pom.xml +++ b/iparapheur-mobile-webscripts/pom.xml @@ -5,7 +5,7 @@ <parent> <artifactId>iparapheur</artifactId> <groupId>org.adullact.iparapheur</groupId> - <version>4.7.15</version> + <version>4.7.16</version> </parent> <modelVersion>4.0.0</modelVersion> @@ -94,7 +94,7 @@ <dependency> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur-core</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> <scope>provided</scope> </dependency> diff --git a/iparapheur-rules/pom.xml b/iparapheur-rules/pom.xml index b4ebed263d4f31e648b791ec0ac7a918feb2bb18..cc44b7c6b711b02f6e9b5938c2d55320731ba76a 100644 --- a/iparapheur-rules/pom.xml +++ b/iparapheur-rules/pom.xml @@ -5,10 +5,10 @@ <parent> <groupId>org.adullact.iparapheur</groupId> <artifactId>iparapheur</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> </parent> <artifactId>iparapheur-rules</artifactId> - <version>4.7.15</version> + <version>4.7.16</version> <name>iparapheur-rules</name> <url>http://maven.apache.org</url> <properties> diff --git a/pom.xml b/pom.xml index e451eac96d0ef75fce0974c9e0e9c4ccf4a8da9a..f30baab907c7dcdfee25606667444ec7db98ee49 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ <artifactId>iparapheur</artifactId> <packaging>pom</packaging> <name>iparapheur</name> - <version>4.7.15</version> + <version>4.7.16</version> <description>Parapheur electronique</description> <url>https://adullact.net/projects/paraphelec/</url>