upgrade to Spring Boot 4, add webauthn support, some cleanup

This commit is contained in:
2025-12-18 20:55:43 +01:00
parent c27e68caf0
commit b4b2552e7e
326 changed files with 2768 additions and 1075 deletions
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.businesslogic;
import java.util.Optional;
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.businesslogic;
import java.util.List;
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.businesslogic;
/**
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.businesslogic;
/**
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.controller;
import java.util.Optional;
@@ -65,14 +62,14 @@ public class DyndnsController extends BaseController {
}
if (ip.isEmpty() && ipv6.isEmpty()) {
throw new EntityResponseStatusException(HttpStatus.UNPROCESSABLE_ENTITY);
throw new EntityResponseStatusException(HttpStatus.CONFLICT);
}
try {
dyndnsManager.setRecord(name, ip, ipv6);
} catch (Exception e) {
e.printStackTrace();
throw new EntityResponseStatusException(HttpStatus.UNPROCESSABLE_ENTITY);
throw new EntityResponseStatusException(HttpStatus.CONFLICT);
}
}
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.controller;
import org.springframework.beans.factory.annotation.Autowired;
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.controller;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.model;
import com.fasterxml.jackson.annotation.JsonIgnore;
@@ -1,6 +1,3 @@
/**
*
*/
package de.bstly.we.dyndns.repository;
import org.springframework.data.jpa.repository.JpaRepository;