upgrade spring, remove pretix extend

This commit is contained in:
_Bastler 2024-11-27 21:16:51 +01:00
parent 77270cf917
commit 88ebefb283
4 changed files with 23 additions and 15 deletions

View File

@ -109,6 +109,9 @@
<scope>runtime</scope>
</dependency>
</dependencies>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>db-mysql</id>

View File

@ -56,13 +56,13 @@
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>1.7</version>
<version>1.9.0</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>31.1-jre</version>
<version>33.3.1-jre</version>
</dependency>
<dependency>
@ -73,7 +73,7 @@
<dependency>
<groupId>org.passay</groupId>
<artifactId>passay</artifactId>
<version>1.6.4</version>
<version>1.6.5</version>
</dependency>
<dependency>
@ -84,8 +84,8 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.70</version>
<artifactId>bcprov-jdk18on</artifactId>
<version>1.78.1</version>
</dependency>
<dependency>
@ -96,13 +96,13 @@
<dependency>
<groupId>javax.measure</groupId>
<artifactId>unit-api</artifactId>
<version>2.1.3</version>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.9.0</version>
<version>1.12.0</version>
</dependency>
</dependencies>
</project>

View File

@ -460,12 +460,17 @@ public class MembershipManager {
logger.debug("Create membership fee order: " + membershipFeeOrder.toString());
JsonObject expire = new JsonObject();
expire.addProperty("expires", pretixDateFormat.format(Date.from(expires)));
membershipFeeOrder = pretixManager.extendOrder(membershipFeeOrder.get("code").getAsString(), expire);
logger.debug("Extend membership fee order: " + membershipFeeOrder.get("code").getAsString() + " to "
+ pretixDateFormat.format(Date.from(expires)));
/*
* JsonObject expire = new JsonObject();
* expire.addProperty("expires", pretixDateFormat.format(Date.from(expires)));
* membershipFeeOrder =
* pretixManager.extendOrder(membershipFeeOrder.get("code").getAsString(),
* expire);
*
* logger.debug("Extend membership fee order: " +
* membershipFeeOrder.get("code").getAsString() + " to "
* + pretixDateFormat.format(Date.from(expires)));
*/
/*
* if (orderSendmail) {

View File

@ -20,7 +20,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.4</version>
<version>3.4.0</version>
<relativePath />
</parent>