Compare commits
28
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1595a1799d | ||
|
|
7d621a9966 | ||
|
|
c40144db19 | ||
|
|
c77cd73deb | ||
|
|
b76f3662e4 | ||
|
|
188408fc1e | ||
|
|
0b86dd79d3 | ||
|
|
0436460c03 | ||
|
|
4d84dcdd42 | ||
|
|
039e3b5fa8 | ||
|
|
15c5b0eb92 | ||
|
|
36c9369404 | ||
|
|
43f3261972 | ||
|
|
3d7efc5d94 | ||
|
|
ebf256fd50 | ||
|
|
f678e1d2e3 | ||
|
|
81c14351ee | ||
|
|
3711d8d6b1 | ||
|
|
a3b2a9b3e3 | ||
|
|
dd7925fbf4 | ||
|
|
1b1d17f6f5 | ||
|
|
58a00dde24 | ||
|
|
a95583b9e0 | ||
|
|
56f788957a | ||
|
|
df1295059a | ||
|
|
853161e891 | ||
|
|
64b33ea62b | ||
|
|
0ca4600371 |
+1
-1
@@ -213,7 +213,7 @@ id_ed25519.pub
|
||||
.mypy_cache
|
||||
.pytest_cache
|
||||
.ipynb_checkpoints
|
||||
|
||||
.build-cache
|
||||
|
||||
|
||||
**/jcef-bundle/
|
||||
|
||||
@@ -199,7 +199,6 @@ return useToolOperation({
|
||||
|
||||
- **Java Version**: Minimum JDK 17, supports and recommends JDK 21
|
||||
- **Lombok**: Used extensively - ensure IDE plugin is installed
|
||||
- **Desktop Mode**: Set `STIRLING_PDF_DESKTOP_UI=true` for desktop application mode
|
||||
- **File Persistence**:
|
||||
- **Backend**: Designed to be stateless - files are processed in memory/temp locations only
|
||||
- **Frontend**: Uses IndexedDB for client-side file storage and caching (with thumbnails)
|
||||
|
||||
@@ -41,8 +41,8 @@ dependencies {
|
||||
api "org.apache.pdfbox:preflight:$pdfboxVersion"
|
||||
api 'com.github.junrar:junrar:7.5.7' // RAR archive support for CBR files
|
||||
api 'jakarta.servlet:jakarta.servlet-api:6.1.0'
|
||||
api 'org.snakeyaml:snakeyaml-engine:2.10'
|
||||
api "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.14"
|
||||
api 'org.snakeyaml:snakeyaml-engine:3.0.1'
|
||||
api "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.15"
|
||||
// Simple Java Mail for EML/MSG parsing (replaces direct Angus Mail usage)
|
||||
api 'org.simplejavamail:simple-java-mail:8.12.6'
|
||||
api 'org.simplejavamail:outlook-module:8.12.6' // MSG file support
|
||||
|
||||
-24
@@ -1,8 +1,6 @@
|
||||
package stirling.software.common.configuration;
|
||||
|
||||
import java.io.File;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.Locale;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@@ -61,28 +59,6 @@ public class InstallationPathConfig {
|
||||
}
|
||||
|
||||
private static String initializeBasePath() {
|
||||
if (Boolean.parseBoolean(System.getProperty("STIRLING_PDF_DESKTOP_UI", "false"))) {
|
||||
String os = System.getProperty("os.name").toLowerCase(Locale.ROOT);
|
||||
if (os.contains("win")) {
|
||||
return Paths.get(
|
||||
System.getenv("APPDATA"), // parent path
|
||||
"Stirling-PDF")
|
||||
+ File.separator;
|
||||
} else if (os.contains("mac")) {
|
||||
return Paths.get(
|
||||
System.getProperty("user.home"),
|
||||
"Library",
|
||||
"Application Support",
|
||||
"Stirling-PDF")
|
||||
+ File.separator;
|
||||
} else {
|
||||
return Paths.get(
|
||||
System.getProperty("user.home"), // parent path
|
||||
".config",
|
||||
"Stirling-PDF")
|
||||
+ File.separator;
|
||||
}
|
||||
}
|
||||
return "." + File.separator;
|
||||
}
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@ import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.math.BigDecimal;
|
||||
import java.math.RoundingMode;
|
||||
import java.net.*;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.*;
|
||||
@@ -38,6 +40,10 @@ public class GeneralUtils {
|
||||
*/
|
||||
private static final int MAX_DNS_ADDRESSES = 20;
|
||||
|
||||
// Constants for size conversion
|
||||
private static final BigDecimal KIB = BigDecimal.valueOf(1024L);
|
||||
private static final BigDecimal LONG_MAX_DECIMAL = BigDecimal.valueOf(Long.MAX_VALUE);
|
||||
|
||||
private final Set<String> DEFAULT_VALID_SCRIPTS = Set.of("png_to_webp.py", "split_photos.py");
|
||||
private final Set<String> DEFAULT_VALID_PIPELINE =
|
||||
Set.of(
|
||||
@@ -539,39 +545,26 @@ public class GeneralUtils {
|
||||
|
||||
try {
|
||||
if (sizeStr.endsWith("TB")) {
|
||||
return (long)
|
||||
(Double.parseDouble(sizeStr.substring(0, sizeStr.length() - 2))
|
||||
* 1024L
|
||||
* 1024L
|
||||
* 1024L
|
||||
* 1024L);
|
||||
return toBytes(parseSizeValue(sizeStr.substring(0, sizeStr.length() - 2)), 4);
|
||||
} else if (sizeStr.endsWith("GB")) {
|
||||
return (long)
|
||||
(Double.parseDouble(sizeStr.substring(0, sizeStr.length() - 2))
|
||||
* 1024L
|
||||
* 1024L
|
||||
* 1024L);
|
||||
return toBytes(parseSizeValue(sizeStr.substring(0, sizeStr.length() - 2)), 3);
|
||||
} else if (sizeStr.endsWith("MB")) {
|
||||
return (long)
|
||||
(Double.parseDouble(sizeStr.substring(0, sizeStr.length() - 2))
|
||||
* 1024L
|
||||
* 1024L);
|
||||
return toBytes(parseSizeValue(sizeStr.substring(0, sizeStr.length() - 2)), 2);
|
||||
} else if (sizeStr.endsWith("KB")) {
|
||||
return (long)
|
||||
(Double.parseDouble(sizeStr.substring(0, sizeStr.length() - 2)) * 1024L);
|
||||
return toBytes(parseSizeValue(sizeStr.substring(0, sizeStr.length() - 2)), 1);
|
||||
} else if (!sizeStr.isEmpty() && sizeStr.charAt(sizeStr.length() - 1) == 'B') {
|
||||
return Long.parseLong(sizeStr.substring(0, sizeStr.length() - 1));
|
||||
return toBytes(parseSizeValue(sizeStr.substring(0, sizeStr.length() - 1)), 0);
|
||||
} else {
|
||||
// Use provided default unit or fall back to MB
|
||||
String unit = defaultUnit != null ? defaultUnit.toUpperCase(Locale.ROOT) : "MB";
|
||||
double value = Double.parseDouble(sizeStr);
|
||||
BigDecimal value = parseSizeValue(sizeStr);
|
||||
return switch (unit) {
|
||||
case "TB" -> (long) (value * 1024L * 1024L * 1024L * 1024L);
|
||||
case "GB" -> (long) (value * 1024L * 1024L * 1024L);
|
||||
case "MB" -> (long) (value * 1024L * 1024L);
|
||||
case "KB" -> (long) (value * 1024L);
|
||||
case "B" -> (long) value;
|
||||
default -> (long) (value * 1024L * 1024L); // Default to MB
|
||||
case "TB" -> toBytes(value, 4);
|
||||
case "GB" -> toBytes(value, 3);
|
||||
case "MB" -> toBytes(value, 2);
|
||||
case "KB" -> toBytes(value, 1);
|
||||
case "B" -> toBytes(value, 0);
|
||||
default -> toBytes(value, 2); // Default to MB
|
||||
};
|
||||
}
|
||||
} catch (NumberFormatException e) {
|
||||
@@ -590,6 +583,30 @@ public class GeneralUtils {
|
||||
return convertSizeToBytes(sizeStr, "MB");
|
||||
}
|
||||
|
||||
private Long toBytes(BigDecimal value, int powerOf1024) {
|
||||
if (value == null) {
|
||||
return null;
|
||||
}
|
||||
if (value.compareTo(BigDecimal.ZERO) < 0) {
|
||||
log.warn("Size value cannot be negative: {}", value);
|
||||
return null;
|
||||
}
|
||||
if (powerOf1024 < 0 || powerOf1024 > 4) {
|
||||
throw new IllegalArgumentException("Invalid power for size conversion: " + powerOf1024);
|
||||
}
|
||||
BigDecimal multiplier = powerOf1024 == 0 ? BigDecimal.ONE : KIB.pow(powerOf1024);
|
||||
BigDecimal bytes = value.multiply(multiplier).setScale(0, RoundingMode.DOWN);
|
||||
if (bytes.compareTo(LONG_MAX_DECIMAL) > 0) {
|
||||
log.warn("Size value too large to fit in long: {}", bytes);
|
||||
return null;
|
||||
}
|
||||
return bytes.longValue();
|
||||
}
|
||||
|
||||
private BigDecimal parseSizeValue(String value) {
|
||||
return new BigDecimal(value);
|
||||
}
|
||||
|
||||
/* Validates if a string represents a valid size unit. */
|
||||
private boolean isValidSizeUnit(String unit) {
|
||||
// Use a precomputed Set for O(1) lookup, normalize using a locale-safe toUpperCase
|
||||
|
||||
@@ -38,12 +38,12 @@ public class RequestUriUtils {
|
||||
}
|
||||
|
||||
// Specific static files bundled with the frontend
|
||||
if (normalizedUri.equals("/robots.txt")
|
||||
|| normalizedUri.equals("/favicon.ico")
|
||||
|| normalizedUri.equals("/manifest.json")
|
||||
|| normalizedUri.equals("/site.webmanifest")
|
||||
|| normalizedUri.equals("/manifest-classic.json")
|
||||
|| normalizedUri.equals("/index.html")) {
|
||||
if ("/robots.txt".equals(normalizedUri)
|
||||
|| "/favicon.ico".equals(normalizedUri)
|
||||
|| "/manifest.json".equals(normalizedUri)
|
||||
|| "/site.webmanifest".equals(normalizedUri)
|
||||
|| "/manifest-classic.json".equals(normalizedUri)
|
||||
|| "/index.html".equals(normalizedUri)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -173,6 +173,12 @@ public class RequestUriUtils {
|
||||
"/api/v1/ui-data/footer-info") // Public footer configuration
|
||||
|| trimmedUri.startsWith("/api/v1/invite/validate")
|
||||
|| trimmedUri.startsWith("/api/v1/invite/accept")
|
||||
// Health Endoints
|
||||
|| trimmedUri.startsWith("/actuator/health")
|
||||
|| trimmedUri.startsWith("/health")
|
||||
|| trimmedUri.startsWith("/healthz")
|
||||
|| trimmedUri.startsWith("/liveness")
|
||||
|| trimmedUri.startsWith("/readiness")
|
||||
|| trimmedUri.startsWith(
|
||||
"/api/v1/mobile-scanner/") // Mobile scanner endpoints (no auth)
|
||||
|| trimmedUri.startsWith("/v1/api-docs");
|
||||
|
||||
@@ -16,6 +16,14 @@ class GeneralUtilsAdditionalTest {
|
||||
assertNull(GeneralUtils.convertSizeToBytes(null));
|
||||
}
|
||||
|
||||
@Test
|
||||
void testConvertSizeToBytesEdgeCases() {
|
||||
assertNull(GeneralUtils.convertSizeToBytes("-10MB"));
|
||||
assertNull(GeneralUtils.convertSizeToBytes("10000000TB")); // overflow beyond long
|
||||
assertEquals(1099511627776L, GeneralUtils.convertSizeToBytes("1TB"));
|
||||
assertEquals(2684354560L, GeneralUtils.convertSizeToBytes("2.5GB"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void testFormatBytes() {
|
||||
assertEquals("512 B", GeneralUtils.formatBytes(512));
|
||||
|
||||
+1
-19
@@ -38,13 +38,6 @@ spotless {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
if (System.getenv('STIRLING_PDF_DESKTOP_UI') != 'false'
|
||||
|| (project.hasProperty('STIRLING_PDF_DESKTOP_UI')
|
||||
&& project.getProperty('STIRLING_PDF_DESKTOP_UI') != 'false')) {
|
||||
implementation 'org.openjfx:javafx-controls:21'
|
||||
implementation 'org.openjfx:javafx-swing:21'
|
||||
}
|
||||
|
||||
if (System.getenv('DISABLE_ADDITIONAL_FEATURES') != 'true'
|
||||
|| (project.hasProperty('DISABLE_ADDITIONAL_FEATURES')
|
||||
&& System.getProperty('DISABLE_ADDITIONAL_FEATURES') != 'true')) {
|
||||
@@ -58,7 +51,7 @@ dependencies {
|
||||
implementation 'commons-io:commons-io:2.21.0'
|
||||
implementation "org.bouncycastle:bcprov-jdk18on:$bouncycastleVersion"
|
||||
implementation "org.bouncycastle:bcpkix-jdk18on:$bouncycastleVersion"
|
||||
implementation 'io.micrometer:micrometer-core:1.16.1'
|
||||
implementation 'io.micrometer:micrometer-core:1.16.2'
|
||||
implementation 'com.google.zxing:core:3.5.4'
|
||||
implementation "org.commonmark:commonmark:$commonmarkVersion" // https://mvnrepository.com/artifact/org.commonmark/commonmark
|
||||
implementation "org.commonmark:commonmark-ext-gfm-tables:$commonmarkVersion"
|
||||
@@ -115,19 +108,8 @@ sourceSets {
|
||||
resources {
|
||||
srcDirs += ['../configs']
|
||||
}
|
||||
java {
|
||||
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
|
||||
exclude 'stirling/software/SPDF/UI/impl/**'
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
test {
|
||||
java {
|
||||
if (System.getenv('STIRLING_PDF_DESKTOP_UI') == 'false') {
|
||||
exclude 'stirling/software/SPDF/UI/impl/**'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import io.github.pixee.security.SystemCommand;
|
||||
|
||||
import jakarta.annotation.PostConstruct;
|
||||
import jakarta.annotation.PreDestroy;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
@@ -28,7 +27,6 @@ import stirling.software.common.configuration.AppConfig;
|
||||
import stirling.software.common.configuration.ConfigInitializer;
|
||||
import stirling.software.common.configuration.InstallationPathConfig;
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.util.UrlUtils;
|
||||
|
||||
@Slf4j
|
||||
@EnableScheduling
|
||||
@@ -60,19 +58,6 @@ public class SPDFApplication {
|
||||
|
||||
Properties props = new Properties();
|
||||
|
||||
if (Boolean.parseBoolean(System.getProperty("STIRLING_PDF_DESKTOP_UI", "false"))) {
|
||||
System.setProperty("java.awt.headless", "false");
|
||||
app.setHeadless(false);
|
||||
props.put("java.awt.headless", "false");
|
||||
props.put("spring.main.web-application-type", "servlet");
|
||||
|
||||
int desiredPort = 8080;
|
||||
String port = UrlUtils.findAvailablePort(desiredPort);
|
||||
props.put("server.port", port);
|
||||
System.setProperty("server.port", port);
|
||||
log.info("Desktop UI mode: Using port {}", port);
|
||||
}
|
||||
|
||||
app.setAdditionalProfiles(getActiveProfile(args));
|
||||
|
||||
ConfigInitializer initializer = new ConfigInitializer();
|
||||
@@ -153,13 +138,6 @@ public class SPDFApplication {
|
||||
"Running in Tauri mode. Parent process PID: {}",
|
||||
parentPid != null ? parentPid : "not set");
|
||||
}
|
||||
// Desktop UI initialization removed - webBrowser dependency eliminated
|
||||
// Keep backwards compatibility for STIRLING_PDF_DESKTOP_UI system property
|
||||
if (Boolean.parseBoolean(System.getProperty("STIRLING_PDF_DESKTOP_UI", "false"))) {
|
||||
log.info("Desktop UI mode enabled, but WebBrowser functionality has been removed");
|
||||
// webBrowser.initWebUI(url); // Removed - desktop UI eliminated
|
||||
}
|
||||
|
||||
// Standard browser opening logic
|
||||
String browserOpenEnv = env.getProperty("BROWSER_OPEN");
|
||||
boolean browserOpen = browserOpenEnv != null && "true".equalsIgnoreCase(browserOpenEnv);
|
||||
@@ -192,14 +170,6 @@ public class SPDFApplication {
|
||||
}
|
||||
}
|
||||
|
||||
@PreDestroy
|
||||
public void cleanup() {
|
||||
// webBrowser cleanup removed - desktop UI eliminated
|
||||
// if (webBrowser != null) {
|
||||
// webBrowser.cleanup();
|
||||
// }
|
||||
}
|
||||
|
||||
@EventListener
|
||||
public void onWebServerInitialized(WebServerInitializedEvent event) {
|
||||
int actualPort = event.getWebServer().getPort();
|
||||
|
||||
@@ -18,26 +18,22 @@ import org.apache.pdfbox.rendering.PDFRenderer;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.model.api.general.CropPdfForm;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.GeneralApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
import stirling.software.common.util.ProcessExecutor;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/general")
|
||||
@Tag(name = "General", description = "General APIs")
|
||||
@GeneralApi
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class CropController {
|
||||
@@ -122,7 +118,7 @@ public class CropController {
|
||||
return r >= threshold && g >= threshold && b >= threshold;
|
||||
}
|
||||
|
||||
@PostMapping(value = "/crop", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@AutoJobPostMapping(value = "/crop", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@Operation(
|
||||
summary = "Crops a PDF document",
|
||||
description =
|
||||
|
||||
+9
-6
@@ -19,7 +19,6 @@ import com.fasterxml.jackson.core.type.TypeReference;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
@@ -27,21 +26,23 @@ import lombok.Setter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.model.api.EditTableOfContentsRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.GeneralApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/general")
|
||||
@GeneralApi
|
||||
@Slf4j
|
||||
@Tag(name = "General", description = "General APIs")
|
||||
@RequiredArgsConstructor
|
||||
public class EditTableOfContentsController {
|
||||
|
||||
private final CustomPDFDocumentFactory pdfDocumentFactory;
|
||||
private final ObjectMapper objectMapper;
|
||||
|
||||
@PostMapping(value = "/extract-bookmarks", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@AutoJobPostMapping(
|
||||
value = "/extract-bookmarks",
|
||||
consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@Operation(
|
||||
summary = "Extract PDF Bookmarks",
|
||||
description = "Extracts bookmarks/table of contents from a PDF document as JSON.")
|
||||
@@ -142,7 +143,9 @@ public class EditTableOfContentsController {
|
||||
return bookmark;
|
||||
}
|
||||
|
||||
@PostMapping(value = "/edit-table-of-contents", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@AutoJobPostMapping(
|
||||
value = "/edit-table-of-contents",
|
||||
consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@Operation(
|
||||
summary = "Edit Table of Contents",
|
||||
description = "Add or edit bookmarks/table of contents in a PDF document.")
|
||||
|
||||
+6
-8
@@ -14,34 +14,32 @@ import org.apache.pdfbox.util.Matrix;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.model.api.general.MergeMultiplePagesRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.GeneralApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.GeneralFormCopyUtils;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/general")
|
||||
@Tag(name = "General", description = "General APIs")
|
||||
@GeneralApi
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class MultiPageLayoutController {
|
||||
|
||||
private final CustomPDFDocumentFactory pdfDocumentFactory;
|
||||
|
||||
@PostMapping(value = "/multi-page-layout", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@AutoJobPostMapping(
|
||||
value = "/multi-page-layout",
|
||||
consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@Operation(
|
||||
summary = "Merge multiple pages of a PDF document into a single page",
|
||||
description =
|
||||
|
||||
+4
-8
@@ -15,26 +15,22 @@ import org.apache.pdfbox.util.Matrix;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.model.api.general.ScalePagesRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.GeneralApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/general")
|
||||
@Tag(name = "General", description = "General APIs")
|
||||
@GeneralApi
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
public class ScalePagesController {
|
||||
@@ -116,7 +112,7 @@ public class ScalePagesController {
|
||||
return sizeMap;
|
||||
}
|
||||
|
||||
@PostMapping(value = "/scale-pages", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@AutoJobPostMapping(value = "/scale-pages", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@Operation(
|
||||
summary = "Change the size of a PDF page/document",
|
||||
description =
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
package stirling.software.SPDF.controller.api;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Hidden;
|
||||
@@ -52,385 +49,4 @@ public class SettingsController {
|
||||
public ResponseEntity<Map<String, Boolean>> getDisabledEndpoints() {
|
||||
return ResponseEntity.ok(endpointConfiguration.getEndpointStatuses());
|
||||
}
|
||||
|
||||
// ========== GENERAL SETTINGS ==========
|
||||
|
||||
@GetMapping("/admin/settings/general")
|
||||
@Hidden
|
||||
public ResponseEntity<Map<String, Object>> getGeneralSettings() {
|
||||
Map<String, Object> settings = new HashMap<>();
|
||||
settings.put("ui", applicationProperties.getUi());
|
||||
settings.put(
|
||||
"system",
|
||||
Map.of(
|
||||
"defaultLocale", applicationProperties.getSystem().getDefaultLocale(),
|
||||
"showUpdate", applicationProperties.getSystem().isShowUpdate(),
|
||||
"showUpdateOnlyAdmin",
|
||||
applicationProperties.getSystem().isShowUpdateOnlyAdmin(),
|
||||
"customHTMLFiles", applicationProperties.getSystem().isCustomHTMLFiles(),
|
||||
"fileUploadLimit", applicationProperties.getSystem().getFileUploadLimit()));
|
||||
return ResponseEntity.ok(settings);
|
||||
}
|
||||
|
||||
@PostMapping("/admin/settings/general")
|
||||
@Hidden
|
||||
public ResponseEntity<String> updateGeneralSettings(@RequestBody Map<String, Object> settings)
|
||||
throws IOException {
|
||||
// Update UI settings
|
||||
if (settings.containsKey("ui")) {
|
||||
Map<String, String> ui = (Map<String, String>) settings.get("ui");
|
||||
if (ui.containsKey("appNameNavbar")) {
|
||||
GeneralUtils.saveKeyToSettings("ui.appNameNavbar", ui.get("appNameNavbar"));
|
||||
applicationProperties.getUi().setAppNameNavbar(ui.get("appNameNavbar"));
|
||||
}
|
||||
}
|
||||
|
||||
// Update System settings
|
||||
if (settings.containsKey("system")) {
|
||||
Map<String, Object> system = (Map<String, Object>) settings.get("system");
|
||||
if (system.containsKey("defaultLocale")) {
|
||||
GeneralUtils.saveKeyToSettings("system.defaultLocale", system.get("defaultLocale"));
|
||||
applicationProperties
|
||||
.getSystem()
|
||||
.setDefaultLocale((String) system.get("defaultLocale"));
|
||||
}
|
||||
if (system.containsKey("showUpdate")) {
|
||||
GeneralUtils.saveKeyToSettings("system.showUpdate", system.get("showUpdate"));
|
||||
applicationProperties.getSystem().setShowUpdate((Boolean) system.get("showUpdate"));
|
||||
}
|
||||
if (system.containsKey("showUpdateOnlyAdmin")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"system.showUpdateOnlyAdmin", system.get("showUpdateOnlyAdmin"));
|
||||
applicationProperties
|
||||
.getSystem()
|
||||
.setShowUpdateOnlyAdmin((Boolean) system.get("showUpdateOnlyAdmin"));
|
||||
}
|
||||
if (system.containsKey("fileUploadLimit")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"system.fileUploadLimit", system.get("fileUploadLimit"));
|
||||
applicationProperties
|
||||
.getSystem()
|
||||
.setFileUploadLimit((String) system.get("fileUploadLimit"));
|
||||
}
|
||||
}
|
||||
|
||||
return ResponseEntity.ok(
|
||||
"General settings updated. Restart required for changes to take effect.");
|
||||
}
|
||||
|
||||
// ========== SECURITY SETTINGS ==========
|
||||
|
||||
@GetMapping("/admin/settings/security")
|
||||
@Hidden
|
||||
public ResponseEntity<Map<String, Object>> getSecuritySettings() {
|
||||
Map<String, Object> settings = new HashMap<>();
|
||||
ApplicationProperties.Security security = applicationProperties.getSecurity();
|
||||
|
||||
settings.put("enableLogin", security.isEnableLogin());
|
||||
settings.put("loginMethod", security.getLoginMethod());
|
||||
settings.put("loginAttemptCount", security.getLoginAttemptCount());
|
||||
settings.put("loginResetTimeMinutes", security.getLoginResetTimeMinutes());
|
||||
settings.put(
|
||||
"initialLogin",
|
||||
Map.of(
|
||||
"username",
|
||||
security.getInitialLogin().getUsername() != null
|
||||
? security.getInitialLogin().getUsername()
|
||||
: ""));
|
||||
|
||||
// JWT settings
|
||||
ApplicationProperties.Security.Jwt jwt = security.getJwt();
|
||||
settings.put(
|
||||
"jwt",
|
||||
Map.of(
|
||||
"enableKeystore", jwt.isEnableKeystore(),
|
||||
"enableKeyRotation", jwt.isEnableKeyRotation(),
|
||||
"enableKeyCleanup", jwt.isEnableKeyCleanup(),
|
||||
"keyRetentionDays", jwt.getKeyRetentionDays()));
|
||||
|
||||
return ResponseEntity.ok(settings);
|
||||
}
|
||||
|
||||
@PostMapping("/admin/settings/security")
|
||||
@Hidden
|
||||
public ResponseEntity<String> updateSecuritySettings(@RequestBody Map<String, Object> settings)
|
||||
throws IOException {
|
||||
if (settings.containsKey("enableLogin")) {
|
||||
GeneralUtils.saveKeyToSettings("security.enableLogin", settings.get("enableLogin"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.setEnableLogin((Boolean) settings.get("enableLogin"));
|
||||
}
|
||||
if (settings.containsKey("loginMethod")) {
|
||||
GeneralUtils.saveKeyToSettings("security.loginMethod", settings.get("loginMethod"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.setLoginMethod((String) settings.get("loginMethod"));
|
||||
}
|
||||
if (settings.containsKey("loginAttemptCount")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.loginAttemptCount", settings.get("loginAttemptCount"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.setLoginAttemptCount((Integer) settings.get("loginAttemptCount"));
|
||||
}
|
||||
if (settings.containsKey("loginResetTimeMinutes")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.loginResetTimeMinutes", settings.get("loginResetTimeMinutes"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.setLoginResetTimeMinutes(
|
||||
((Number) settings.get("loginResetTimeMinutes")).longValue());
|
||||
}
|
||||
|
||||
// JWT settings
|
||||
if (settings.containsKey("jwt")) {
|
||||
Map<String, Object> jwt = (Map<String, Object>) settings.get("jwt");
|
||||
if (jwt.containsKey("keyRetentionDays")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.jwt.keyRetentionDays", jwt.get("keyRetentionDays"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getJwt()
|
||||
.setKeyRetentionDays((Integer) jwt.get("keyRetentionDays"));
|
||||
}
|
||||
}
|
||||
|
||||
return ResponseEntity.ok(
|
||||
"Security settings updated. Restart required for changes to take effect.");
|
||||
}
|
||||
|
||||
// ========== CONNECTIONS SETTINGS (OAuth/SAML) ==========
|
||||
|
||||
@GetMapping("/admin/settings/connections")
|
||||
@Hidden
|
||||
public ResponseEntity<Map<String, Object>> getConnectionsSettings() {
|
||||
Map<String, Object> settings = new HashMap<>();
|
||||
ApplicationProperties.Security security = applicationProperties.getSecurity();
|
||||
|
||||
// OAuth2 settings
|
||||
ApplicationProperties.Security.OAUTH2 oauth2 = security.getOauth2();
|
||||
settings.put(
|
||||
"oauth2",
|
||||
Map.of(
|
||||
"enabled", oauth2.getEnabled(),
|
||||
"issuer", oauth2.getIssuer() != null ? oauth2.getIssuer() : "",
|
||||
"clientId", oauth2.getClientId() != null ? oauth2.getClientId() : "",
|
||||
"provider", oauth2.getProvider() != null ? oauth2.getProvider() : "",
|
||||
"autoCreateUser", oauth2.getAutoCreateUser(),
|
||||
"blockRegistration", oauth2.getBlockRegistration(),
|
||||
"useAsUsername",
|
||||
oauth2.getUseAsUsername() != null
|
||||
? oauth2.getUseAsUsername()
|
||||
: ""));
|
||||
|
||||
// SAML2 settings
|
||||
ApplicationProperties.Security.SAML2 saml2 = security.getSaml2();
|
||||
settings.put(
|
||||
"saml2",
|
||||
Map.of(
|
||||
"enabled", saml2.getEnabled(),
|
||||
"provider", saml2.getProvider() != null ? saml2.getProvider() : "",
|
||||
"autoCreateUser", saml2.getAutoCreateUser(),
|
||||
"blockRegistration", saml2.getBlockRegistration(),
|
||||
"registrationId", saml2.getRegistrationId()));
|
||||
|
||||
return ResponseEntity.ok(settings);
|
||||
}
|
||||
|
||||
@PostMapping("/admin/settings/connections")
|
||||
@Hidden
|
||||
public ResponseEntity<String> updateConnectionsSettings(
|
||||
@RequestBody Map<String, Object> settings) throws IOException {
|
||||
// OAuth2 settings
|
||||
if (settings.containsKey("oauth2")) {
|
||||
Map<String, Object> oauth2 = (Map<String, Object>) settings.get("oauth2");
|
||||
if (oauth2.containsKey("enabled")) {
|
||||
GeneralUtils.saveKeyToSettings("security.oauth2.enabled", oauth2.get("enabled"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setEnabled((Boolean) oauth2.get("enabled"));
|
||||
}
|
||||
if (oauth2.containsKey("issuer")) {
|
||||
GeneralUtils.saveKeyToSettings("security.oauth2.issuer", oauth2.get("issuer"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setIssuer((String) oauth2.get("issuer"));
|
||||
}
|
||||
if (oauth2.containsKey("clientId")) {
|
||||
GeneralUtils.saveKeyToSettings("security.oauth2.clientId", oauth2.get("clientId"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setClientId((String) oauth2.get("clientId"));
|
||||
}
|
||||
if (oauth2.containsKey("clientSecret")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.oauth2.clientSecret", oauth2.get("clientSecret"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setClientSecret((String) oauth2.get("clientSecret"));
|
||||
}
|
||||
if (oauth2.containsKey("provider")) {
|
||||
GeneralUtils.saveKeyToSettings("security.oauth2.provider", oauth2.get("provider"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setProvider((String) oauth2.get("provider"));
|
||||
}
|
||||
if (oauth2.containsKey("autoCreateUser")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.oauth2.autoCreateUser", oauth2.get("autoCreateUser"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setAutoCreateUser((Boolean) oauth2.get("autoCreateUser"));
|
||||
}
|
||||
if (oauth2.containsKey("blockRegistration")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.oauth2.blockRegistration", oauth2.get("blockRegistration"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setBlockRegistration((Boolean) oauth2.get("blockRegistration"));
|
||||
}
|
||||
if (oauth2.containsKey("useAsUsername")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.oauth2.useAsUsername", oauth2.get("useAsUsername"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getOauth2()
|
||||
.setUseAsUsername((String) oauth2.get("useAsUsername"));
|
||||
}
|
||||
}
|
||||
|
||||
// SAML2 settings
|
||||
if (settings.containsKey("saml2")) {
|
||||
Map<String, Object> saml2 = (Map<String, Object>) settings.get("saml2");
|
||||
if (saml2.containsKey("enabled")) {
|
||||
GeneralUtils.saveKeyToSettings("security.saml2.enabled", saml2.get("enabled"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getSaml2()
|
||||
.setEnabled((Boolean) saml2.get("enabled"));
|
||||
}
|
||||
if (saml2.containsKey("provider")) {
|
||||
GeneralUtils.saveKeyToSettings("security.saml2.provider", saml2.get("provider"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getSaml2()
|
||||
.setProvider((String) saml2.get("provider"));
|
||||
}
|
||||
if (saml2.containsKey("autoCreateUser")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.saml2.autoCreateUser", saml2.get("autoCreateUser"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getSaml2()
|
||||
.setAutoCreateUser((Boolean) saml2.get("autoCreateUser"));
|
||||
}
|
||||
if (saml2.containsKey("blockRegistration")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"security.saml2.blockRegistration", saml2.get("blockRegistration"));
|
||||
applicationProperties
|
||||
.getSecurity()
|
||||
.getSaml2()
|
||||
.setBlockRegistration((Boolean) saml2.get("blockRegistration"));
|
||||
}
|
||||
}
|
||||
|
||||
return ResponseEntity.ok(
|
||||
"Connection settings updated. Restart required for changes to take effect.");
|
||||
}
|
||||
|
||||
// ========== PRIVACY SETTINGS ==========
|
||||
|
||||
@GetMapping("/admin/settings/privacy")
|
||||
@Hidden
|
||||
public ResponseEntity<Map<String, Object>> getPrivacySettings() {
|
||||
Map<String, Object> settings = new HashMap<>();
|
||||
|
||||
settings.put("enableAnalytics", applicationProperties.getSystem().getEnableAnalytics());
|
||||
settings.put("googleVisibility", applicationProperties.getSystem().isGooglevisibility());
|
||||
settings.put("metricsEnabled", applicationProperties.getMetrics().isEnabled());
|
||||
|
||||
return ResponseEntity.ok(settings);
|
||||
}
|
||||
|
||||
@PostMapping("/admin/settings/privacy")
|
||||
@Hidden
|
||||
public ResponseEntity<String> updatePrivacySettings(@RequestBody Map<String, Object> settings)
|
||||
throws IOException {
|
||||
if (settings.containsKey("enableAnalytics")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"system.enableAnalytics", settings.get("enableAnalytics"));
|
||||
applicationProperties
|
||||
.getSystem()
|
||||
.setEnableAnalytics((Boolean) settings.get("enableAnalytics"));
|
||||
}
|
||||
if (settings.containsKey("googleVisibility")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"system.googlevisibility", settings.get("googleVisibility"));
|
||||
applicationProperties
|
||||
.getSystem()
|
||||
.setGooglevisibility((Boolean) settings.get("googleVisibility"));
|
||||
}
|
||||
if (settings.containsKey("metricsEnabled")) {
|
||||
GeneralUtils.saveKeyToSettings("metrics.enabled", settings.get("metricsEnabled"));
|
||||
applicationProperties.getMetrics().setEnabled((Boolean) settings.get("metricsEnabled"));
|
||||
}
|
||||
|
||||
return ResponseEntity.ok(
|
||||
"Privacy settings updated. Restart required for changes to take effect.");
|
||||
}
|
||||
|
||||
// ========== ADVANCED SETTINGS ==========
|
||||
|
||||
@GetMapping("/admin/settings/advanced")
|
||||
@Hidden
|
||||
public ResponseEntity<Map<String, Object>> getAdvancedSettings() {
|
||||
Map<String, Object> settings = new HashMap<>();
|
||||
|
||||
settings.put("endpoints", applicationProperties.getEndpoints());
|
||||
settings.put(
|
||||
"enableAlphaFunctionality",
|
||||
applicationProperties.getSystem().isEnableAlphaFunctionality());
|
||||
settings.put("maxDPI", applicationProperties.getSystem().getMaxDPI());
|
||||
settings.put("enableUrlToPDF", applicationProperties.getSystem().isEnableUrlToPDF());
|
||||
settings.put("customPaths", applicationProperties.getSystem().getCustomPaths());
|
||||
settings.put(
|
||||
"tempFileManagement", applicationProperties.getSystem().getTempFileManagement());
|
||||
|
||||
return ResponseEntity.ok(settings);
|
||||
}
|
||||
|
||||
@PostMapping("/admin/settings/advanced")
|
||||
@Hidden
|
||||
public ResponseEntity<String> updateAdvancedSettings(@RequestBody Map<String, Object> settings)
|
||||
throws IOException {
|
||||
if (settings.containsKey("enableAlphaFunctionality")) {
|
||||
GeneralUtils.saveKeyToSettings(
|
||||
"system.enableAlphaFunctionality", settings.get("enableAlphaFunctionality"));
|
||||
applicationProperties
|
||||
.getSystem()
|
||||
.setEnableAlphaFunctionality(
|
||||
(Boolean) settings.get("enableAlphaFunctionality"));
|
||||
}
|
||||
if (settings.containsKey("maxDPI")) {
|
||||
GeneralUtils.saveKeyToSettings("system.maxDPI", settings.get("maxDPI"));
|
||||
applicationProperties.getSystem().setMaxDPI((Integer) settings.get("maxDPI"));
|
||||
}
|
||||
if (settings.containsKey("enableUrlToPDF")) {
|
||||
GeneralUtils.saveKeyToSettings("system.enableUrlToPDF", settings.get("enableUrlToPDF"));
|
||||
applicationProperties
|
||||
.getSystem()
|
||||
.setEnableUrlToPDF((Boolean) settings.get("enableUrlToPDF"));
|
||||
}
|
||||
|
||||
return ResponseEntity.ok(
|
||||
"Advanced settings updated. Restart required for changes to take effect.");
|
||||
}
|
||||
}
|
||||
|
||||
+4
-8
@@ -15,20 +15,18 @@ import org.apache.pdfbox.pdmodel.PDDocument;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.github.pixee.security.Filenames;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.config.EndpointConfiguration;
|
||||
import stirling.software.SPDF.model.api.converters.ConvertEbookToPdfRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
import stirling.software.common.util.ProcessExecutor;
|
||||
@@ -36,9 +34,7 @@ import stirling.software.common.util.ProcessExecutor.ProcessExecutorResult;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@ConvertApi
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class ConvertEbookToPDFController {
|
||||
@@ -58,7 +54,7 @@ public class ConvertEbookToPDFController {
|
||||
return endpointConfiguration.isGroupEnabled("Ghostscript");
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/ebook/pdf")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/ebook/pdf")
|
||||
@Operation(
|
||||
summary = "Convert an eBook file to PDF",
|
||||
description =
|
||||
|
||||
+4
-8
@@ -12,14 +12,10 @@ import org.apache.commons.io.FilenameUtils;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.github.pixee.security.Filenames;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -28,15 +24,15 @@ import stirling.software.SPDF.config.EndpointConfiguration;
|
||||
import stirling.software.SPDF.model.api.converters.ConvertPdfToEpubRequest;
|
||||
import stirling.software.SPDF.model.api.converters.ConvertPdfToEpubRequest.OutputFormat;
|
||||
import stirling.software.SPDF.model.api.converters.ConvertPdfToEpubRequest.TargetDevice;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
import stirling.software.common.util.ProcessExecutor;
|
||||
import stirling.software.common.util.ProcessExecutor.ProcessExecutorResult;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@ConvertApi
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class ConvertPDFToEpubController {
|
||||
@@ -77,7 +73,7 @@ public class ConvertPDFToEpubController {
|
||||
return command;
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/epub")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/epub")
|
||||
@Operation(
|
||||
summary = "Convert PDF to EPUB/AZW3",
|
||||
description =
|
||||
|
||||
+4
-8
@@ -3,31 +3,27 @@ package stirling.software.SPDF.controller.api.converters;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.configuration.RuntimePathConfig;
|
||||
import stirling.software.common.model.api.PDFFile;
|
||||
import stirling.software.common.util.PDFToFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
|
||||
@RestController
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@ConvertApi
|
||||
@RequiredArgsConstructor
|
||||
public class ConvertPDFToHtml {
|
||||
|
||||
private final TempFileManager tempFileManager;
|
||||
private final RuntimePathConfig runtimePathConfig;
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/html")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/html")
|
||||
@Operation(
|
||||
summary = "Convert PDF to HTML",
|
||||
description =
|
||||
|
||||
+7
-11
@@ -7,19 +7,17 @@ import org.apache.pdfbox.text.PDFTextStripper;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.SPDF.model.api.converters.PdfToPresentationRequest;
|
||||
import stirling.software.SPDF.model.api.converters.PdfToTextOrRTFRequest;
|
||||
import stirling.software.SPDF.model.api.converters.PdfToWordRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.configuration.RuntimePathConfig;
|
||||
import stirling.software.common.model.api.PDFFile;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
@@ -28,9 +26,7 @@ import stirling.software.common.util.PDFToFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@ConvertApi
|
||||
@RequiredArgsConstructor
|
||||
public class ConvertPDFToOffice {
|
||||
|
||||
@@ -38,7 +34,7 @@ public class ConvertPDFToOffice {
|
||||
private final TempFileManager tempFileManager;
|
||||
private final RuntimePathConfig runtimePathConfig;
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/presentation")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/presentation")
|
||||
@Operation(
|
||||
summary = "Convert PDF to Presentation format",
|
||||
description =
|
||||
@@ -53,7 +49,7 @@ public class ConvertPDFToOffice {
|
||||
return pdfToFile.processPdfToOfficeFormat(inputFile, outputFormat, "impress_pdf_import");
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/text")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/text")
|
||||
@Operation(
|
||||
summary = "Convert PDF to Text or RTF format",
|
||||
description =
|
||||
@@ -79,7 +75,7 @@ public class ConvertPDFToOffice {
|
||||
}
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/word")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/word")
|
||||
@Operation(
|
||||
summary = "Convert PDF to Word document",
|
||||
description =
|
||||
@@ -93,7 +89,7 @@ public class ConvertPDFToOffice {
|
||||
return pdfToFile.processPdfToOfficeFormat(inputFile, outputFormat, "writer_pdf_import");
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/xml")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/xml")
|
||||
@Operation(
|
||||
summary = "Convert PDF to XML",
|
||||
description =
|
||||
|
||||
+17
-16
@@ -74,30 +74,26 @@ import org.apache.xmpbox.xml.XmpSerializer;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.github.pixee.security.Filenames;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.model.api.converters.PdfToPdfARequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.configuration.RuntimePathConfig;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.ProcessExecutor;
|
||||
import stirling.software.common.util.ProcessExecutor.ProcessExecutorResult;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@ConvertApi
|
||||
@Slf4j
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@RequiredArgsConstructor
|
||||
public class ConvertPDFToPDFA {
|
||||
|
||||
@@ -483,15 +479,22 @@ public class ConvertPDFToPDFA {
|
||||
command.add("-dCompatibilityLevel=" + profile.getCompatibilityLevel());
|
||||
command.add("-sDEVICE=pdfwrite");
|
||||
command.add("-sColorConversionStrategy=RGB");
|
||||
command.add("-dProcessColorModel=/DeviceRGB");
|
||||
command.add("-sOutputICCProfile=" + colorProfiles.rgb().toAbsolutePath());
|
||||
command.add("-sDefaultRGBProfile=" + colorProfiles.rgb().toAbsolutePath());
|
||||
command.add("-sDefaultGrayProfile=" + colorProfiles.gray().toAbsolutePath());
|
||||
command.add("-dEmbedAllFonts=true");
|
||||
command.add("-dSubsetFonts=false"); // Embed complete fonts to avoid incomplete glyphs
|
||||
command.add("-dSubsetFonts=true");
|
||||
command.add("-dCompressFonts=true");
|
||||
command.add("-dNOSUBSTFONTS=false"); // Allow font substitution for problematic fonts
|
||||
command.add("-dPDFSETTINGS=/prepress");
|
||||
|
||||
// Explicitly tune downsampling/compression for high-quality print
|
||||
command.add("-dColorImageDownsampleType=/Bicubic");
|
||||
command.add("-dColorImageResolution=300");
|
||||
command.add("-dGrayImageDownsampleType=/Bicubic");
|
||||
command.add("-dGrayImageResolution=300");
|
||||
command.add("-dMonoImageDownsampleType=/Bicubic");
|
||||
command.add("-dMonoImageResolution=1200");
|
||||
|
||||
command.add("-dNOPAUSE");
|
||||
command.add("-dBATCH");
|
||||
command.add("-dNOOUTERSAVE");
|
||||
@@ -562,7 +565,7 @@ public class ConvertPDFToPDFA {
|
||||
}
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/pdfa")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/pdfa")
|
||||
@Operation(
|
||||
summary = "Convert a PDF to a PDF/A or PDF/X",
|
||||
description =
|
||||
@@ -2449,9 +2452,7 @@ public class ConvertPDFToPDFA {
|
||||
|
||||
@Getter
|
||||
private enum PdfXProfile {
|
||||
PDF_X_1("PDF/X-1", "_PDFX-1.pdf", "1.3", "2001", "pdfx-1", "pdfx"),
|
||||
PDF_X_3("PDF/X-3", "_PDFX-3.pdf", "1.3", "2003", "pdfx-3"),
|
||||
PDF_X_4("PDF/X-4", "_PDFX-4.pdf", "1.4", "2008", "pdfx-4");
|
||||
PDF_X("PDF/X", "_PDFX.pdf", "1.6", "2008", "pdfx");
|
||||
|
||||
private final String displayName;
|
||||
private final String suffix;
|
||||
@@ -2477,7 +2478,7 @@ public class ConvertPDFToPDFA {
|
||||
|
||||
static PdfXProfile fromRequest(String requestToken) {
|
||||
if (requestToken == null) {
|
||||
return PDF_X_4;
|
||||
return PDF_X;
|
||||
}
|
||||
String normalized = requestToken.trim().toLowerCase(Locale.ROOT);
|
||||
Optional<PdfXProfile> match =
|
||||
@@ -2485,7 +2486,7 @@ public class ConvertPDFToPDFA {
|
||||
.filter(profile -> profile.requestTokens.contains(normalized))
|
||||
.findFirst();
|
||||
|
||||
return match.orElse(PDF_X_4);
|
||||
return match.orElse(PDF_X);
|
||||
}
|
||||
|
||||
String outputSuffix() {
|
||||
|
||||
+3
-4
@@ -9,7 +9,6 @@ import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
@@ -89,7 +88,7 @@ public class ConvertPdfJsonController {
|
||||
return WebResponseUtils.bytesToWebResponse(pdfBytes, docName);
|
||||
}
|
||||
|
||||
@PostMapping(consumes = "multipart/form-data", value = "/pdf/text-editor/metadata")
|
||||
@AutoJobPostMapping(consumes = "multipart/form-data", value = "/pdf/text-editor/metadata")
|
||||
@Operation(
|
||||
summary = "Extract PDF metadata for text editor lazy loading",
|
||||
description =
|
||||
@@ -127,7 +126,7 @@ public class ConvertPdfJsonController {
|
||||
.body(jsonBytes);
|
||||
}
|
||||
|
||||
@PostMapping(
|
||||
@AutoJobPostMapping(
|
||||
value = "/pdf/text-editor/partial/{jobId}",
|
||||
consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||
@StandardPdfResponse
|
||||
@@ -180,7 +179,7 @@ public class ConvertPdfJsonController {
|
||||
return WebResponseUtils.bytesToWebResponse(jsonBytes, docName, MediaType.APPLICATION_JSON);
|
||||
}
|
||||
|
||||
@PostMapping(value = "/pdf/text-editor/clear-cache/{jobId}")
|
||||
@AutoJobPostMapping(value = "/pdf/text-editor/clear-cache/{jobId}")
|
||||
@Operation(
|
||||
summary = "Clear cached PDF document for text editor",
|
||||
description =
|
||||
|
||||
+4
-8
@@ -27,18 +27,16 @@ import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.github.pixee.security.Filenames;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.SPDF.model.api.converters.PdfToVideoRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.ApplicationContextProvider;
|
||||
@@ -51,9 +49,7 @@ import stirling.software.common.util.TempFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@ConvertApi
|
||||
@RequiredArgsConstructor
|
||||
public class ConvertPdfToVideoController {
|
||||
|
||||
@@ -68,7 +64,7 @@ public class ConvertPdfToVideoController {
|
||||
private final CustomPDFDocumentFactory pdfDocumentFactory;
|
||||
private final TempFileManager tempFileManager;
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/video")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/video")
|
||||
@Operation(
|
||||
summary = "Convert PDF to Video Slideshow",
|
||||
description =
|
||||
|
||||
+4
-8
@@ -21,19 +21,17 @@ import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.servlet.support.ServletUriComponentsBuilder;
|
||||
import org.springframework.web.util.UriComponentsBuilder;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.model.api.converters.UrlToPdfRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.configuration.RuntimePathConfig;
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
@@ -43,10 +41,8 @@ import stirling.software.common.util.ProcessExecutor;
|
||||
import stirling.software.common.util.RegexPatternUtils;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@ConvertApi
|
||||
@Slf4j
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@RequiredArgsConstructor
|
||||
public class ConvertWebsiteToPDF {
|
||||
|
||||
@@ -59,7 +55,7 @@ public class ConvertWebsiteToPDF {
|
||||
|
||||
private static final Pattern NUMERIC_HTML_ENTITY_PATTERN = Pattern.compile("&#(x?[0-9a-f]+);");
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/url/pdf")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/url/pdf")
|
||||
@Operation(
|
||||
summary = "Convert a URL to a PDF",
|
||||
description =
|
||||
|
||||
+5
-9
@@ -13,12 +13,8 @@ import org.apache.commons.io.FilenameUtils;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
@@ -27,6 +23,8 @@ import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.config.EndpointConfiguration;
|
||||
import stirling.software.SPDF.model.api.converters.PdfVectorExportRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.ConvertApi;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
import stirling.software.common.util.ProcessExecutor;
|
||||
@@ -35,10 +33,8 @@ import stirling.software.common.util.TempFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/convert")
|
||||
@ConvertApi
|
||||
@Slf4j
|
||||
@Tag(name = "Convert", description = "Convert APIs")
|
||||
@RequiredArgsConstructor
|
||||
public class PdfVectorExportController {
|
||||
|
||||
@@ -49,7 +45,7 @@ public class PdfVectorExportController {
|
||||
private final TempFileManager tempFileManager;
|
||||
private final EndpointConfiguration endpointConfiguration;
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/vector/pdf")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/vector/pdf")
|
||||
@Operation(
|
||||
summary = "Convert PostScript formats to PDF",
|
||||
description =
|
||||
@@ -94,7 +90,7 @@ public class PdfVectorExportController {
|
||||
}
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/vector")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/pdf/vector")
|
||||
@Operation(
|
||||
summary = "Convert PDF to vector format",
|
||||
description =
|
||||
|
||||
+17
-13
@@ -8,9 +8,6 @@ import org.apache.pdfbox.pdmodel.common.PDRectangle;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.github.pixee.security.Filenames;
|
||||
@@ -18,7 +15,6 @@ import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.media.Content;
|
||||
import io.swagger.v3.oas.annotations.responses.ApiResponse;
|
||||
import io.swagger.v3.oas.annotations.responses.ApiResponses;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
@@ -28,20 +24,22 @@ import stirling.software.SPDF.model.api.filter.ContainsTextRequest;
|
||||
import stirling.software.SPDF.model.api.filter.FileSizeRequest;
|
||||
import stirling.software.SPDF.model.api.filter.PageRotationRequest;
|
||||
import stirling.software.SPDF.model.api.filter.PageSizeRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.FilterApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.PdfUtils;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/filter")
|
||||
@Tag(name = "Filter", description = "Filter APIs")
|
||||
@FilterApi
|
||||
@RequiredArgsConstructor
|
||||
public class FilterController {
|
||||
|
||||
private final CustomPDFDocumentFactory pdfDocumentFactory;
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-contains-text")
|
||||
@AutoJobPostMapping(
|
||||
consumes = MediaType.MULTIPART_FORM_DATA_VALUE,
|
||||
value = "/filter-contains-text")
|
||||
@Operation(
|
||||
summary = "Checks if a PDF contains set text, returns true if does",
|
||||
description = "Input:PDF Output:Boolean Type:SISO")
|
||||
@@ -70,7 +68,9 @@ public class FilterController {
|
||||
return ResponseEntity.noContent().build();
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-contains-image")
|
||||
@AutoJobPostMapping(
|
||||
consumes = MediaType.MULTIPART_FORM_DATA_VALUE,
|
||||
value = "/filter-contains-image")
|
||||
@Operation(
|
||||
summary = "Checks if a PDF contains an image",
|
||||
description = "Input:PDF Output:Boolean Type:SISO")
|
||||
@@ -98,7 +98,9 @@ public class FilterController {
|
||||
return ResponseEntity.noContent().build();
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-page-count")
|
||||
@AutoJobPostMapping(
|
||||
consumes = MediaType.MULTIPART_FORM_DATA_VALUE,
|
||||
value = "/filter-page-count")
|
||||
@Operation(
|
||||
summary = "Checks if a PDF is greater, less or equal to a setPageCount",
|
||||
description = "Input:PDF Output:Boolean Type:SISO")
|
||||
@@ -129,7 +131,7 @@ public class FilterController {
|
||||
: ResponseEntity.noContent().build();
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-page-size")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-page-size")
|
||||
@Operation(
|
||||
summary = "Checks if a PDF is of a certain size",
|
||||
description = "Input:PDF Output:Boolean Type:SISO")
|
||||
@@ -166,7 +168,7 @@ public class FilterController {
|
||||
: ResponseEntity.noContent().build();
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-file-size")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-file-size")
|
||||
@Operation(
|
||||
summary = "Checks if a PDF is a set file size",
|
||||
description = "Input:PDF Output:Boolean Type:SISO")
|
||||
@@ -194,7 +196,9 @@ public class FilterController {
|
||||
: ResponseEntity.noContent().build();
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/filter-page-rotation")
|
||||
@AutoJobPostMapping(
|
||||
consumes = MediaType.MULTIPART_FORM_DATA_VALUE,
|
||||
value = "/filter-page-rotation")
|
||||
@Operation(
|
||||
summary = "Checks if a PDF is of a certain rotation",
|
||||
description = "Input:PDF Output:Boolean Type:SISO")
|
||||
|
||||
+4
-8
@@ -36,20 +36,18 @@ import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.*;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.config.EndpointConfiguration;
|
||||
import stirling.software.SPDF.model.api.misc.OptimizePdfRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.MiscApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.service.LineArtConversionService;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
@@ -60,10 +58,8 @@ import stirling.software.common.util.TempFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/misc")
|
||||
@MiscApi
|
||||
@Slf4j
|
||||
@Tag(name = "Misc", description = "Miscellaneous APIs")
|
||||
@RequiredArgsConstructor
|
||||
public class CompressController {
|
||||
|
||||
@@ -922,7 +918,7 @@ public class CompressController {
|
||||
return Math.min(9, currentLevel + 1);
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/compress-pdf")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/compress-pdf")
|
||||
@Operation(
|
||||
summary = "Optimize PDF file",
|
||||
description =
|
||||
|
||||
+10
@@ -112,6 +112,16 @@ public class ConfigController {
|
||||
"showSettingsWhenNoLogin",
|
||||
applicationProperties.getSystem().isShowSettingsWhenNoLogin());
|
||||
|
||||
// SSO Provider settings
|
||||
boolean enableOAuth =
|
||||
applicationProperties.getSecurity().getOauth2() != null
|
||||
&& applicationProperties.getSecurity().getOauth2().getEnabled();
|
||||
boolean enableSaml =
|
||||
applicationProperties.getSecurity().getSaml2() != null
|
||||
&& applicationProperties.getSecurity().getSaml2().getEnabled();
|
||||
configData.put("enableOAuth", enableOAuth);
|
||||
configData.put("enableSaml", enableSaml);
|
||||
|
||||
// Mail settings - check both SMTP enabled AND invites enabled
|
||||
boolean smtpEnabled = applicationProperties.getMail().isEnabled();
|
||||
boolean invitesEnabled = applicationProperties.getMail().isEnableInvites();
|
||||
|
||||
+4
-8
@@ -24,20 +24,18 @@ import org.apache.pdfbox.text.PDFTextStripper;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.github.pixee.security.Filenames;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.config.EndpointConfiguration;
|
||||
import stirling.software.SPDF.model.api.misc.ProcessPdfWithOcrRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.MiscApi;
|
||||
import stirling.software.common.configuration.RuntimePathConfig;
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
@@ -50,9 +48,7 @@ import stirling.software.common.util.TempFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/misc")
|
||||
@Tag(name = "Misc", description = "Miscellaneous APIs")
|
||||
@MiscApi
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
public class OCRController {
|
||||
@@ -85,7 +81,7 @@ public class OCRController {
|
||||
.toList();
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/ocr-pdf")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/ocr-pdf")
|
||||
@Operation(
|
||||
summary = "Process a PDF file with OCR",
|
||||
description =
|
||||
|
||||
+7
-9
@@ -34,17 +34,15 @@ import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.WebDataBinder;
|
||||
import org.springframework.web.bind.annotation.InitBinder;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.SPDF.model.api.misc.AddStampRequest;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.MiscApi;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.GeneralUtils;
|
||||
@@ -53,9 +51,7 @@ import stirling.software.common.util.TempFile;
|
||||
import stirling.software.common.util.TempFileManager;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/misc")
|
||||
@Tag(name = "Misc", description = "Miscellaneous APIs")
|
||||
@MiscApi
|
||||
@RequiredArgsConstructor
|
||||
public class StampController {
|
||||
|
||||
@@ -79,7 +75,7 @@ public class StampController {
|
||||
});
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/add-stamp")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/add-stamp")
|
||||
@Operation(
|
||||
summary = "Add stamp to a PDF file",
|
||||
description =
|
||||
@@ -277,7 +273,9 @@ public class StampController {
|
||||
|
||||
// Split the stampText into multiple lines
|
||||
String[] lines =
|
||||
RegexPatternUtils.getInstance().getEscapedNewlinePattern().split(stampText);
|
||||
RegexPatternUtils.getInstance()
|
||||
.getEscapedNewlinePattern()
|
||||
.split(processedStampText);
|
||||
|
||||
// Calculate dynamic line height based on font ascent and descent
|
||||
float ascent = font.getFontDescriptor().getAscent();
|
||||
|
||||
+124
-279
@@ -3,21 +3,15 @@ package stirling.software.SPDF.controller.api.security;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.time.Instant;
|
||||
import java.time.ZoneId;
|
||||
import java.time.ZonedDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.*;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.apache.pdfbox.cos.COSInputStream;
|
||||
import org.apache.pdfbox.cos.COSName;
|
||||
import org.apache.pdfbox.cos.COSString;
|
||||
import org.apache.pdfbox.io.RandomAccessRead;
|
||||
import org.apache.pdfbox.io.RandomAccessReadBufferedFile;
|
||||
import org.apache.pdfbox.pdmodel.*;
|
||||
import org.apache.pdfbox.pdmodel.common.PDMetadata;
|
||||
import org.apache.pdfbox.pdmodel.common.PDRectangle;
|
||||
@@ -35,8 +29,7 @@ import org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject;
|
||||
import org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject;
|
||||
import org.apache.pdfbox.pdmodel.graphics.optionalcontent.PDOptionalContentGroup;
|
||||
import org.apache.pdfbox.pdmodel.graphics.optionalcontent.PDOptionalContentProperties;
|
||||
import org.apache.pdfbox.pdmodel.interactive.action.PDActionJavaScript;
|
||||
import org.apache.pdfbox.pdmodel.interactive.action.PDActionURI;
|
||||
import org.apache.pdfbox.pdmodel.interactive.action.*;
|
||||
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation;
|
||||
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationFileAttachment;
|
||||
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink;
|
||||
@@ -44,23 +37,14 @@ import org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlin
|
||||
import org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode;
|
||||
import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm;
|
||||
import org.apache.pdfbox.pdmodel.interactive.form.PDField;
|
||||
import org.apache.pdfbox.preflight.PreflightDocument;
|
||||
import org.apache.pdfbox.preflight.ValidationResult;
|
||||
import org.apache.pdfbox.preflight.exception.SyntaxValidationException;
|
||||
import org.apache.pdfbox.preflight.exception.ValidationException;
|
||||
import org.apache.pdfbox.preflight.parser.PreflightParser;
|
||||
import org.apache.pdfbox.text.PDFTextStripper;
|
||||
import org.apache.xmpbox.XMPMetadata;
|
||||
import org.apache.xmpbox.schema.PDFAIdentificationSchema;
|
||||
import org.apache.xmpbox.xml.DomXmpParser;
|
||||
import org.apache.xmpbox.xml.XmpParsingException;
|
||||
import org.apache.xmpbox.xml.XmpSerializer;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
@@ -68,21 +52,22 @@ import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.SPDF.model.api.security.PDFVerificationResult;
|
||||
import stirling.software.SPDF.service.VeraPDFService;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.SecurityApi;
|
||||
import stirling.software.common.model.api.PDFFile;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
import stirling.software.common.util.RegexPatternUtils;
|
||||
import stirling.software.common.util.WebResponseUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/security")
|
||||
@SecurityApi
|
||||
@Slf4j
|
||||
@Tag(name = "Security", description = "Security APIs")
|
||||
@RequiredArgsConstructor
|
||||
public class GetInfoOnPDF {
|
||||
|
||||
@@ -95,6 +80,7 @@ public class GetInfoOnPDF {
|
||||
private static final ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
private final CustomPDFDocumentFactory pdfDocumentFactory;
|
||||
private final VeraPDFService veraPDFService;
|
||||
|
||||
private static void addOutlinesToArray(PDOutlineItem outline, ArrayNode arrayNode) {
|
||||
if (outline == null) return;
|
||||
@@ -111,214 +97,8 @@ public class GetInfoOnPDF {
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean checkForStandard(PDDocument document, String standardKeyword) {
|
||||
if ("PDF/A".equalsIgnoreCase(standardKeyword)) {
|
||||
return getPdfAConformanceLevel(document) != null;
|
||||
}
|
||||
|
||||
return checkStandardInMetadata(document, standardKeyword);
|
||||
}
|
||||
|
||||
public static String getPdfAConformanceLevel(PDDocument document) {
|
||||
if (document == null || document.isEncrypted()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return getPdfAVersionFromMetadata(document);
|
||||
}
|
||||
|
||||
private static String getPdfAVersionFromMetadata(PDDocument document) {
|
||||
try {
|
||||
PDMetadata pdMetadata = document.getDocumentCatalog().getMetadata();
|
||||
if (pdMetadata != null) {
|
||||
try (COSInputStream metaStream = pdMetadata.createInputStream()) {
|
||||
DomXmpParser domXmpParser = new DomXmpParser();
|
||||
XMPMetadata xmpMeta = domXmpParser.parse(metaStream);
|
||||
|
||||
PDFAIdentificationSchema pdfId = xmpMeta.getPDFAIdentificationSchema();
|
||||
if (pdfId != null) {
|
||||
Integer part = pdfId.getPart();
|
||||
String conformance = pdfId.getConformance();
|
||||
|
||||
if (part != null && conformance != null) {
|
||||
return part + conformance.toUpperCase(Locale.ROOT);
|
||||
}
|
||||
} else {
|
||||
try (COSInputStream rawStream = pdMetadata.createInputStream()) {
|
||||
byte[] metadataBytes = rawStream.readAllBytes();
|
||||
String rawMetadata = new String(metadataBytes, StandardCharsets.UTF_8);
|
||||
String extracted = extractPdfAVersionFromRawXml(rawMetadata);
|
||||
if (extracted != null) {
|
||||
return extracted;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (XmpParsingException e) {
|
||||
log.debug("XMP parsing failed, trying raw metadata search: {}", e.getMessage());
|
||||
try (COSInputStream metaStream = pdMetadata.createInputStream()) {
|
||||
byte[] metadataBytes = metaStream.readAllBytes();
|
||||
String rawMetadata = new String(metadataBytes, StandardCharsets.UTF_8);
|
||||
String extracted = extractPdfAVersionFromRawXml(rawMetadata);
|
||||
if (extracted != null) {
|
||||
return extracted;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.debug("Error reading PDF/A metadata: {}", e.getMessage());
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
private static String extractPdfAVersionFromRawXml(String rawXml) {
|
||||
if (rawXml == null || rawXml.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
Pattern partPattern = RegexPatternUtils.getInstance().getPdfAidPartPattern();
|
||||
Pattern confPattern = RegexPatternUtils.getInstance().getPdfAidConformancePattern();
|
||||
|
||||
Matcher partMatcher = partPattern.matcher(rawXml);
|
||||
Matcher confMatcher = confPattern.matcher(rawXml);
|
||||
|
||||
if (partMatcher.find() && confMatcher.find()) {
|
||||
String part = partMatcher.group(1);
|
||||
String conformance = confMatcher.group(1).toUpperCase(Locale.ROOT);
|
||||
return part + conformance;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.debug("Error parsing raw XMP for PDF/A version: {}", e.getMessage());
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
private static boolean validatePdfAWithPreflight(PDDocument document, String version) {
|
||||
if (document == null || document.isEncrypted()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Use Stream-to-File pattern: save to temp file instead of loading into memory
|
||||
// This prevents OutOfMemoryError on large PDFs
|
||||
Path tempFile = null;
|
||||
try {
|
||||
tempFile = Files.createTempFile("preflight-", ".pdf");
|
||||
|
||||
// Save document to temp file (avoids loading entire document into memory)
|
||||
try (var outputStream = Files.newOutputStream(tempFile)) {
|
||||
document.save(outputStream);
|
||||
}
|
||||
|
||||
// Use RandomAccessReadBufferedFile for efficient file-based reading
|
||||
// This avoids Windows file locking issues that occur with memory-mapped files
|
||||
try (RandomAccessRead source = new RandomAccessReadBufferedFile(tempFile.toFile())) {
|
||||
PreflightParser parser = new PreflightParser(source);
|
||||
|
||||
try (PDDocument parsedDocument = parser.parse()) {
|
||||
if (!(parsedDocument instanceof PreflightDocument preflightDocument)) {
|
||||
log.debug(
|
||||
"Parsed document is not a PreflightDocument; unable to validate claimed PDF/A {}",
|
||||
version);
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
ValidationResult result = preflightDocument.validate();
|
||||
if (!result.isValid() && log.isDebugEnabled()) {
|
||||
log.debug(
|
||||
"PDF/A validation found {} errors for claimed version {}",
|
||||
result.getErrorsList().size(),
|
||||
version);
|
||||
int logged = 0;
|
||||
for (ValidationResult.ValidationError error : result.getErrorsList()) {
|
||||
log.debug(
|
||||
" Error {}: {}", error.getErrorCode(), error.getDetails());
|
||||
if (++logged >= MAX_LOGGED_ERRORS) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return result.isValid();
|
||||
} catch (ValidationException e) {
|
||||
log.debug(
|
||||
"Validation exception during PDF/A validation: {}", e.getMessage());
|
||||
}
|
||||
} catch (SyntaxValidationException e) {
|
||||
log.debug(
|
||||
"Syntax validation failed during PDF/A validation: {}", e.getMessage());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} catch (IOException e) {
|
||||
log.debug("IOException during PDF/A validation: {}", e.getMessage());
|
||||
} catch (Exception e) {
|
||||
log.debug("Unexpected error during PDF/A validation: {}", e.getMessage());
|
||||
} finally {
|
||||
// Explicitly clean up temp file to prevent disk exhaustion
|
||||
// This must be in finally block to ensure cleanup even on exceptions
|
||||
if (tempFile != null) {
|
||||
try {
|
||||
Files.deleteIfExists(tempFile);
|
||||
} catch (IOException e) {
|
||||
log.warn(
|
||||
"Failed to delete temp file during PDF/A validation cleanup: {}",
|
||||
tempFile,
|
||||
e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private static boolean checkStandardInMetadata(PDDocument document, String standardKeyword) {
|
||||
// Check XMP Metadata
|
||||
try {
|
||||
PDMetadata pdMetadata = document.getDocumentCatalog().getMetadata();
|
||||
if (pdMetadata != null) {
|
||||
try (COSInputStream metaStream = pdMetadata.createInputStream()) {
|
||||
// First try to read raw metadata as string to check for standard keywords
|
||||
byte[] metadataBytes = metaStream.readAllBytes();
|
||||
String rawMetadata = new String(metadataBytes, StandardCharsets.UTF_8);
|
||||
|
||||
if (rawMetadata.contains(standardKeyword)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// If raw check doesn't find it, try parsing with XMP parser
|
||||
try (COSInputStream metaStream = pdMetadata.createInputStream()) {
|
||||
try {
|
||||
DomXmpParser domXmpParser = new DomXmpParser();
|
||||
XMPMetadata xmpMeta = domXmpParser.parse(metaStream);
|
||||
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
new XmpSerializer().serialize(xmpMeta, baos, true);
|
||||
String xmpString = baos.toString(StandardCharsets.UTF_8);
|
||||
|
||||
if (xmpString.contains(standardKeyword)) {
|
||||
return true;
|
||||
}
|
||||
} catch (XmpParsingException e) {
|
||||
// XMP parsing failed, but we already checked raw metadata above
|
||||
log.debug(
|
||||
"XMP parsing failed for standard check, but raw metadata was already checked: {}",
|
||||
e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
ExceptionUtils.logException("PDF standard checking", e);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private static ObjectNode generatePDFSummaryData(
|
||||
PDDocument document, String pdfaConformanceLevel, Boolean pdfaValidationPassed) {
|
||||
PDDocument document, List<PDFVerificationResult> verificationResults) {
|
||||
ObjectNode summaryData = objectMapper.createObjectNode();
|
||||
|
||||
// Check if encrypted
|
||||
@@ -346,24 +126,16 @@ public class GetInfoOnPDF {
|
||||
}
|
||||
|
||||
// Check standard compliance
|
||||
if (pdfaConformanceLevel != null) {
|
||||
summaryData.put("standardCompliance", "PDF/A-" + pdfaConformanceLevel);
|
||||
summaryData.put("standardPurpose", "long-term archiving");
|
||||
if (pdfaValidationPassed != null) {
|
||||
summaryData.put("standardValidationPassed", pdfaValidationPassed);
|
||||
if (verificationResults != null && !verificationResults.isEmpty()) {
|
||||
ArrayNode complianceArray = objectMapper.createArrayNode();
|
||||
for (PDFVerificationResult result : verificationResults) {
|
||||
ObjectNode complianceNode = objectMapper.createObjectNode();
|
||||
complianceNode.put("Standard", result.getStandard());
|
||||
complianceNode.put("Compliant", result.isCompliant());
|
||||
complianceNode.put("Summary", result.getComplianceSummary());
|
||||
complianceArray.add(complianceNode);
|
||||
}
|
||||
} else if (checkForStandard(document, "PDF/X")) {
|
||||
summaryData.put("standardCompliance", "PDF/X");
|
||||
summaryData.put("standardPurpose", "graphic exchange");
|
||||
} else if (checkForStandard(document, "PDF/UA")) {
|
||||
summaryData.put("standardCompliance", "PDF/UA");
|
||||
summaryData.put("standardPurpose", "universal accessibility");
|
||||
} else if (checkForStandard(document, "PDF/E")) {
|
||||
summaryData.put("standardCompliance", "PDF/E");
|
||||
summaryData.put("standardPurpose", "engineering workflows");
|
||||
} else if (checkForStandard(document, "PDF/VT")) {
|
||||
summaryData.put("standardCompliance", "PDF/VT");
|
||||
summaryData.put("standardPurpose", "variable and transactional printing");
|
||||
summaryData.set("Compliance", complianceArray);
|
||||
}
|
||||
|
||||
return summaryData;
|
||||
@@ -591,40 +363,113 @@ public class GetInfoOnPDF {
|
||||
return docInfoNode;
|
||||
}
|
||||
|
||||
private static ObjectNode extractComplianceInfo(PDDocument document) {
|
||||
private static ObjectNode extractComplianceInfo(
|
||||
PDDocument doc, List<PDFVerificationResult> verificationResults) {
|
||||
ObjectNode compliancy = objectMapper.createObjectNode();
|
||||
|
||||
try {
|
||||
String pdfaConformanceLevel = getPdfAConformanceLevel(document);
|
||||
boolean isPdfACompliant = pdfaConformanceLevel != null;
|
||||
boolean isPdfXCompliant = checkForStandard(document, "PDF/X");
|
||||
boolean isPdfECompliant = checkForStandard(document, "PDF/E");
|
||||
boolean isPdfVTCompliant = checkForStandard(document, "PDF/VT");
|
||||
boolean isPdfUACompliant = checkForStandard(document, "PDF/UA");
|
||||
boolean isPdfBCompliant = checkForStandard(document, "PDF/B");
|
||||
boolean isPdfSECCompliant = checkForStandard(document, "PDF/SEC");
|
||||
boolean isPdfA = false;
|
||||
boolean isPdfUA = false;
|
||||
boolean isPdfX = false;
|
||||
boolean isPdfE = false;
|
||||
boolean isPdfB = false;
|
||||
String pdfAConformanceLevel = null;
|
||||
|
||||
compliancy.put("IsPDF/ACompliant", isPdfACompliant);
|
||||
if (pdfaConformanceLevel != null) {
|
||||
compliancy.put("PDF/AConformanceLevel", pdfaConformanceLevel);
|
||||
Boolean pdfaValidationPassed =
|
||||
validatePdfAWithPreflight(document, pdfaConformanceLevel);
|
||||
compliancy.put("IsPDF/AValidated", pdfaValidationPassed);
|
||||
if (verificationResults != null) {
|
||||
for (PDFVerificationResult result : verificationResults) {
|
||||
if (result == null) continue;
|
||||
if (result.isCompliant()) {
|
||||
String std = result.getStandard().toLowerCase();
|
||||
if (std.contains("pdf_a") || std.contains("pdfa")) {
|
||||
isPdfA = true;
|
||||
String profile = result.getValidationProfile();
|
||||
if (profile != null) {
|
||||
if (profile.contains("1b")
|
||||
|| profile.contains("2b")
|
||||
|| profile.contains("3b")) {
|
||||
isPdfB = true;
|
||||
}
|
||||
// Simple extraction: remove "pdfa-" prefix
|
||||
pdfAConformanceLevel = profile.replace("pdfa-", "");
|
||||
}
|
||||
}
|
||||
if (std.contains("pdf_ua") || std.contains("pdfua")) isPdfUA = true;
|
||||
if (std.contains("pdf_x") || std.contains("pdfx")) isPdfX = true;
|
||||
if (std.contains("pdf_e") || std.contains("pdfe")) isPdfE = true;
|
||||
}
|
||||
}
|
||||
compliancy.put("IsPDF/XCompliant", isPdfXCompliant);
|
||||
compliancy.put("IsPDF/ECompliant", isPdfECompliant);
|
||||
compliancy.put("IsPDF/VTCompliant", isPdfVTCompliant);
|
||||
compliancy.put("IsPDF/UACompliant", isPdfUACompliant);
|
||||
compliancy.put("IsPDF/BCompliant", isPdfBCompliant);
|
||||
compliancy.put("IsPDF/SECCompliant", isPdfSECCompliant);
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
log.error("Error extracting compliance info: {}", e.getMessage());
|
||||
compliancy.put("IsPDF/ACompliant", isPdfA);
|
||||
compliancy.put("IsPDF/UACompliant", isPdfUA);
|
||||
compliancy.put("IsPDF/ECompliant", isPdfE);
|
||||
compliancy.put("IsPDF/VTCompliant", false); // Not currently implemented
|
||||
compliancy.put("IsPDF/BCompliant", isPdfB);
|
||||
if (pdfAConformanceLevel != null) {
|
||||
compliancy.put("PDF/AConformanceLevel", pdfAConformanceLevel);
|
||||
}
|
||||
|
||||
compliancy.put("IsPDF/SECCompliant", isSECCompliant(doc));
|
||||
|
||||
if (verificationResults != null && !verificationResults.isEmpty()) {
|
||||
// Keep original simple structure as backup or extra info
|
||||
for (PDFVerificationResult result : verificationResults) {
|
||||
if (result == null) continue;
|
||||
String standard = result.getStandard();
|
||||
boolean isCompliant = result.isCompliant();
|
||||
|
||||
if (standard != null) {
|
||||
// Avoid overwriting specific keys if collision, but here keys are distinct
|
||||
// enough
|
||||
compliancy.put(standard, isCompliant);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return compliancy;
|
||||
}
|
||||
|
||||
private static boolean isSECCompliant(PDDocument doc) {
|
||||
try {
|
||||
// 1. Check Encryption
|
||||
if (doc.isEncrypted()) return false;
|
||||
|
||||
PDDocumentCatalog catalog = doc.getDocumentCatalog();
|
||||
|
||||
// 2. Check for JavaScript (Active Content)
|
||||
if (catalog.getOpenAction() instanceof PDActionJavaScript) return false;
|
||||
if (catalog.getNames() != null && catalog.getNames().getJavaScript() != null)
|
||||
return false;
|
||||
|
||||
// Check for AcroForm
|
||||
if (catalog.getAcroForm() != null) return false;
|
||||
|
||||
// 3. Check for Embedded Files
|
||||
if (catalog.getNames() != null && catalog.getNames().getEmbeddedFiles() != null)
|
||||
return false;
|
||||
|
||||
// 4. Check for External Links or Navigation Actions
|
||||
for (PDPage page : doc.getPages()) {
|
||||
for (PDAnnotation annotation : page.getAnnotations()) {
|
||||
if (annotation instanceof PDAnnotationLink) {
|
||||
PDAnnotationLink link = (PDAnnotationLink) annotation;
|
||||
PDAction action = link.getAction();
|
||||
if (action instanceof PDActionURI
|
||||
|| action instanceof PDActionLaunch
|
||||
|| action instanceof PDActionRemoteGoTo
|
||||
|| action instanceof PDActionSubmitForm) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
} catch (Exception e) {
|
||||
log.error("Error checking SEC compliance: {}", e.getMessage());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private static ObjectNode extractEncryptionInfo(PDDocument document) {
|
||||
ObjectNode encryption = objectMapper.createObjectNode();
|
||||
|
||||
@@ -1215,7 +1060,7 @@ public class GetInfoOnPDF {
|
||||
return stats;
|
||||
}
|
||||
|
||||
@PostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/get-info-on-pdf")
|
||||
@AutoJobPostMapping(consumes = MediaType.MULTIPART_FORM_DATA_VALUE, value = "/get-info-on-pdf")
|
||||
@Operation(
|
||||
summary = "Get comprehensive PDF information",
|
||||
description =
|
||||
@@ -1231,6 +1076,13 @@ public class GetInfoOnPDF {
|
||||
return createErrorResponse("Invalid PDF file: " + e.getMessage());
|
||||
}
|
||||
|
||||
List<PDFVerificationResult> verificationResults = null;
|
||||
try {
|
||||
verificationResults = veraPDFService.validatePDF(inputFile.getInputStream());
|
||||
} catch (Exception e) {
|
||||
log.error("VeraPDF validation failed", e);
|
||||
}
|
||||
|
||||
boolean readonly = true;
|
||||
|
||||
try (PDDocument pdfBoxDoc = pdfDocumentFactory.load(inputFile, readonly)) {
|
||||
@@ -1239,20 +1091,13 @@ public class GetInfoOnPDF {
|
||||
ObjectNode metadata = extractMetadata(pdfBoxDoc);
|
||||
ObjectNode basicInfo = extractBasicInfo(pdfBoxDoc, inputFile.getSize());
|
||||
ObjectNode docInfoNode = extractDocumentInfo(pdfBoxDoc);
|
||||
ObjectNode compliancy = extractComplianceInfo(pdfBoxDoc);
|
||||
ObjectNode compliancy = extractComplianceInfo(pdfBoxDoc, verificationResults);
|
||||
ObjectNode encryption = extractEncryptionInfo(pdfBoxDoc);
|
||||
ObjectNode permissionsNode = extractPermissions(pdfBoxDoc);
|
||||
ObjectNode other = extractOtherInfo(pdfBoxDoc);
|
||||
ObjectNode formFieldsNode = extractFormFields(pdfBoxDoc);
|
||||
|
||||
// Generate summary data
|
||||
String pdfaConformanceLevel = getPdfAConformanceLevel(pdfBoxDoc);
|
||||
Boolean pdfaValidationPassed = null;
|
||||
if (pdfaConformanceLevel != null) {
|
||||
pdfaValidationPassed = validatePdfAWithPreflight(pdfBoxDoc, pdfaConformanceLevel);
|
||||
}
|
||||
ObjectNode summaryData =
|
||||
generatePDFSummaryData(pdfBoxDoc, pdfaConformanceLevel, pdfaValidationPassed);
|
||||
ObjectNode summaryData = generatePDFSummaryData(pdfBoxDoc, verificationResults);
|
||||
|
||||
// Extract per-page information
|
||||
ObjectNode pageInfoParent = extractPerPageInfo(pdfBoxDoc);
|
||||
|
||||
+4
-8
@@ -6,16 +6,12 @@ import java.util.List;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.verapdf.core.EncryptedPdfException;
|
||||
import org.verapdf.core.ModelParsingException;
|
||||
import org.verapdf.core.ValidationException;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -23,11 +19,11 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import stirling.software.SPDF.model.api.security.PDFVerificationRequest;
|
||||
import stirling.software.SPDF.model.api.security.PDFVerificationResult;
|
||||
import stirling.software.SPDF.service.VeraPDFService;
|
||||
import stirling.software.common.annotations.AutoJobPostMapping;
|
||||
import stirling.software.common.annotations.api.SecurityApi;
|
||||
import stirling.software.common.util.ExceptionUtils;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/v1/security")
|
||||
@Tag(name = "Security", description = "Security APIs")
|
||||
@SecurityApi
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class VerifyPDFController {
|
||||
@@ -41,7 +37,7 @@ public class VerifyPDFController {
|
||||
+ "Automatically detects PDF/A, PDF/UA-1, PDF/UA-2, and WTPDF standards "
|
||||
+ "from the document's XMP metadata and validates compliance. "
|
||||
+ "Input:PDF Output:JSON Type:SISO")
|
||||
@PostMapping(value = "/verify-pdf", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
@AutoJobPostMapping(value = "/verify-pdf", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||
public ResponseEntity<List<PDFVerificationResult>> verifyPDF(
|
||||
@ModelAttribute PDFVerificationRequest request) {
|
||||
|
||||
|
||||
+1
-4
@@ -14,9 +14,6 @@ public class PdfToPdfARequest extends PDFFile {
|
||||
@Schema(
|
||||
description = "The output format type (PDF/A or PDF/X)",
|
||||
requiredMode = Schema.RequiredMode.REQUIRED,
|
||||
allowableValues = {
|
||||
"pdfa", "pdfa-1", "pdfa-2", "pdfa-2b", "pdfa-3", "pdfa-3b", "pdfx", "pdfx-1",
|
||||
"pdfx-3", "pdfx-4"
|
||||
})
|
||||
allowableValues = {"pdfa", "pdfa-1", "pdfa-2", "pdfa-2b", "pdfa-3", "pdfa-3b", "pdfx"})
|
||||
private String outputFormat;
|
||||
}
|
||||
|
||||
+3
-2
@@ -2,6 +2,7 @@ package stirling.software.SPDF.service;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.URI;
|
||||
import java.net.URL;
|
||||
import java.security.GeneralSecurityException;
|
||||
import java.security.KeyStore;
|
||||
@@ -510,7 +511,7 @@ public class CertificateValidationService {
|
||||
private byte[] downloadTrustList(String urlStr) {
|
||||
HttpURLConnection conn = null;
|
||||
try {
|
||||
URL url = new URL(urlStr);
|
||||
URL url = URI.create(urlStr).toURL();
|
||||
conn = (HttpURLConnection) url.openConnection();
|
||||
conn.setRequestMethod("GET");
|
||||
conn.setConnectTimeout(10_000);
|
||||
@@ -700,7 +701,7 @@ public class CertificateValidationService {
|
||||
private byte[] downloadXml(String urlStr) {
|
||||
HttpURLConnection conn = null;
|
||||
try {
|
||||
URL url = new URL(urlStr);
|
||||
URL url = URI.create(urlStr).toURL();
|
||||
conn = (HttpURLConnection) url.openConnection();
|
||||
conn.setRequestMethod("GET");
|
||||
conn.setConnectTimeout(10_000);
|
||||
|
||||
+2
-7
@@ -82,7 +82,7 @@ public class TelegramPipelineBot extends TelegramLongPollingBot {
|
||||
|
||||
@PostConstruct
|
||||
public void register() {
|
||||
if (StringUtils.isAnyBlank(getBotUsername(), getBotToken())) {
|
||||
if (StringUtils.isAnyBlank(getBotUsername(), this.telegramProperties.getBotToken())) {
|
||||
log.warn("Telegram bot disabled because botToken or botUsername is not configured");
|
||||
return;
|
||||
}
|
||||
@@ -392,7 +392,7 @@ public class TelegramPipelineBot extends TelegramLongPollingBot {
|
||||
new URI(
|
||||
"https",
|
||||
"api.telegram.org",
|
||||
"/file/bot" + getBotToken() + "/" + filePath,
|
||||
"/file/bot" + this.telegramProperties.getBotToken() + "/" + filePath,
|
||||
null);
|
||||
return uri.toURL();
|
||||
} catch (URISyntaxException e) {
|
||||
@@ -516,9 +516,4 @@ public class TelegramPipelineBot extends TelegramLongPollingBot {
|
||||
public String getBotUsername() {
|
||||
return telegramProperties.getBotUsername();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getBotToken() {
|
||||
return telegramProperties.getBotToken();
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+123
-41
@@ -1,22 +1,30 @@
|
||||
package stirling.software.SPDF.controller.api.security;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Collections;
|
||||
import java.util.GregorianCalendar;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.pdfbox.Loader;
|
||||
import org.apache.pdfbox.pdmodel.*;
|
||||
import org.apache.pdfbox.pdmodel.common.PDRectangle;
|
||||
import org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification;
|
||||
import org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile;
|
||||
import org.apache.pdfbox.pdmodel.encryption.AccessPermission;
|
||||
import org.apache.pdfbox.pdmodel.encryption.ProtectionPolicy;
|
||||
import org.apache.pdfbox.pdmodel.encryption.StandardProtectionPolicy;
|
||||
import org.apache.pdfbox.pdmodel.font.PDType1Font;
|
||||
import org.apache.pdfbox.pdmodel.font.Standard14Fonts;
|
||||
import org.apache.pdfbox.pdmodel.interactive.action.PDActionJavaScript;
|
||||
import org.apache.pdfbox.pdmodel.interactive.action.PDActionLaunch;
|
||||
import org.apache.pdfbox.pdmodel.interactive.action.PDActionURI;
|
||||
import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotationLink;
|
||||
import org.junit.jupiter.api.*;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.junit.jupiter.params.ParameterizedTest;
|
||||
@@ -35,6 +43,8 @@ import org.springframework.web.multipart.MultipartFile;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import stirling.software.SPDF.model.api.security.PDFVerificationResult;
|
||||
import stirling.software.SPDF.service.VeraPDFService;
|
||||
import stirling.software.common.model.api.PDFFile;
|
||||
import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
|
||||
@@ -43,6 +53,7 @@ import stirling.software.common.service.CustomPDFDocumentFactory;
|
||||
class GetInfoOnPDFTest {
|
||||
|
||||
@Mock private CustomPDFDocumentFactory pdfDocumentFactory;
|
||||
@Mock private VeraPDFService veraPDFService;
|
||||
|
||||
@InjectMocks private GetInfoOnPDF getInfoOnPDF;
|
||||
|
||||
@@ -661,41 +672,6 @@ class GetInfoOnPDFTest {
|
||||
void testGetPageSize(float width, float height, String expected) {
|
||||
Assertions.assertEquals(expected, GetInfoOnPDF.getPageSize(width, height));
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("Should check for PDF/A standard")
|
||||
void testCheckForStandard_PdfA() throws IOException {
|
||||
// This would require a real PDF/A document or mocking
|
||||
PDDocument document = createSimplePdfWithText("Test");
|
||||
boolean result = GetInfoOnPDF.checkForStandard(document, "PDF/A");
|
||||
Assertions.assertFalse(result); // Simple PDF is not PDF/A compliant
|
||||
document.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("Should handle null document in checkForStandard")
|
||||
void testCheckForStandard_NullDocument() {
|
||||
boolean result = GetInfoOnPDF.checkForStandard(null, "PDF/A");
|
||||
Assertions.assertFalse(result);
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("Should get PDF/A conformance level")
|
||||
void testGetPdfAConformanceLevel() throws IOException {
|
||||
PDDocument document = createSimplePdfWithText("Test");
|
||||
String level = GetInfoOnPDF.getPdfAConformanceLevel(document);
|
||||
Assertions.assertNull(level);
|
||||
document.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("Should handle encrypted document in getPdfAConformanceLevel")
|
||||
void testGetPdfAConformanceLevel_EncryptedDocument() throws IOException {
|
||||
PDDocument document = createEncryptedPdf();
|
||||
String level = GetInfoOnPDF.getPdfAConformanceLevel(document);
|
||||
Assertions.assertNull(level); // Encrypted documents return null
|
||||
document.close();
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
@@ -776,8 +752,8 @@ class GetInfoOnPDFTest {
|
||||
class ComplianceTests {
|
||||
|
||||
@Test
|
||||
@DisplayName("Should check PDF/A compliance")
|
||||
void testCompliance_PdfA() throws IOException {
|
||||
@DisplayName("Should extract compliance info using VeraPDF")
|
||||
void testCompliance_PdfA() throws Exception {
|
||||
PDDocument document = createSimplePdfWithText("Test PDF/A");
|
||||
MockMultipartFile mockFile = documentToMultipartFile(document, "pdfa.pdf");
|
||||
|
||||
@@ -791,16 +767,22 @@ class GetInfoOnPDFTest {
|
||||
ArgumentMatchers.anyBoolean()))
|
||||
.thenReturn(loadedDoc);
|
||||
|
||||
// Mock VeraPDFService
|
||||
PDFVerificationResult result = new PDFVerificationResult();
|
||||
result.setStandard("pdfa-1b");
|
||||
result.setCompliant(true);
|
||||
result.setComplianceSummary("PDF/A-1b compliant");
|
||||
Mockito.when(veraPDFService.validatePDF(ArgumentMatchers.any(InputStream.class)))
|
||||
.thenReturn(List.of(result));
|
||||
|
||||
ResponseEntity<byte[]> response = getInfoOnPDF.getPdfInfo(request);
|
||||
|
||||
String jsonResponse = new String(response.getBody(), StandardCharsets.UTF_8);
|
||||
JsonNode jsonNode = objectMapper.readTree(jsonResponse);
|
||||
JsonNode compliancy = jsonNode.get("Compliancy");
|
||||
|
||||
Assertions.assertTrue(compliancy.has("IsPDF/ACompliant"));
|
||||
Assertions.assertTrue(compliancy.has("IsPDF/XCompliant"));
|
||||
Assertions.assertTrue(compliancy.has("IsPDF/ECompliant"));
|
||||
Assertions.assertTrue(compliancy.has("IsPDF/UACompliant"));
|
||||
Assertions.assertTrue(compliancy.has("pdfa-1b"));
|
||||
Assertions.assertTrue(compliancy.get("pdfa-1b").asBoolean());
|
||||
|
||||
loadedDoc.close();
|
||||
}
|
||||
@@ -840,4 +822,104 @@ class GetInfoOnPDFTest {
|
||||
loadedDoc.close();
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("SEC Compliance: Clean document should pass")
|
||||
void testSecCompliance_Clean() throws Exception {
|
||||
try (PDDocument doc = new PDDocument()) {
|
||||
doc.addPage(new PDPage());
|
||||
checkSecCompliance(doc, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("SEC Compliance: JavaScript action should fail")
|
||||
void testSecCompliance_JavaScript() throws Exception {
|
||||
try (PDDocument doc = new PDDocument()) {
|
||||
doc.addPage(new PDPage());
|
||||
PDActionJavaScript jsAction = new PDActionJavaScript("app.alert('Hi')");
|
||||
doc.getDocumentCatalog().setOpenAction(jsAction);
|
||||
checkSecCompliance(doc, false);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("SEC Compliance: External URI Link should fail")
|
||||
void testSecCompliance_ExternalLink() throws Exception {
|
||||
try (PDDocument doc = new PDDocument()) {
|
||||
PDPage page = new PDPage();
|
||||
doc.addPage(page);
|
||||
|
||||
PDAnnotationLink link = new PDAnnotationLink();
|
||||
PDActionURI action = new PDActionURI();
|
||||
action.setURI("http://google.com");
|
||||
link.setAction(action);
|
||||
|
||||
page.getAnnotations().add(link);
|
||||
checkSecCompliance(doc, false);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("SEC Compliance: Launch Action should fail")
|
||||
void testSecCompliance_LaunchAction() throws Exception {
|
||||
try (PDDocument doc = new PDDocument()) {
|
||||
PDPage page = new PDPage();
|
||||
doc.addPage(page);
|
||||
|
||||
PDAnnotationLink link = new PDAnnotationLink();
|
||||
PDActionLaunch action = new PDActionLaunch();
|
||||
link.setAction(action);
|
||||
|
||||
page.getAnnotations().add(link);
|
||||
checkSecCompliance(doc, false);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisplayName("SEC Compliance: Embedded File should fail")
|
||||
void testSecCompliance_EmbeddedFile() throws Exception {
|
||||
try (PDDocument doc = new PDDocument()) {
|
||||
doc.addPage(new PDPage());
|
||||
|
||||
PDComplexFileSpecification fs = new PDComplexFileSpecification();
|
||||
fs.setFile("test.txt");
|
||||
PDEmbeddedFile ef =
|
||||
new PDEmbeddedFile(doc, new ByteArrayInputStream("test".getBytes()));
|
||||
fs.setEmbeddedFile(ef);
|
||||
|
||||
PDEmbeddedFilesNameTreeNode efTree = new PDEmbeddedFilesNameTreeNode();
|
||||
efTree.setNames(Collections.singletonMap("test", fs));
|
||||
|
||||
PDDocumentNameDictionary names = new PDDocumentNameDictionary(doc.getDocumentCatalog());
|
||||
names.setEmbeddedFiles(efTree);
|
||||
doc.getDocumentCatalog().setNames(names);
|
||||
|
||||
checkSecCompliance(doc, false);
|
||||
}
|
||||
}
|
||||
|
||||
private void checkSecCompliance(PDDocument doc, boolean expected) throws Exception {
|
||||
try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
|
||||
doc.save(baos);
|
||||
byte[] bytes = baos.toByteArray();
|
||||
|
||||
Mockito.when(
|
||||
pdfDocumentFactory.load(
|
||||
ArgumentMatchers.any(MultipartFile.class),
|
||||
ArgumentMatchers.anyBoolean()))
|
||||
.thenReturn(Loader.loadPDF(bytes));
|
||||
|
||||
PDFFile request = new PDFFile();
|
||||
request.setFileInput(
|
||||
new MockMultipartFile("file", "test.pdf", "application/pdf", bytes));
|
||||
ResponseEntity<byte[]> response = getInfoOnPDF.getPdfInfo(request);
|
||||
|
||||
String jsonResponse = new String(response.getBody(), StandardCharsets.UTF_8);
|
||||
JsonNode jsonNode = objectMapper.readTree(jsonResponse);
|
||||
boolean actual = jsonNode.get("Compliancy").get("IsPDF/SECCompliant").asBoolean();
|
||||
|
||||
Assertions.assertEquals(expected, actual, "SEC Compliance check failed");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
repositories {
|
||||
maven { url "https://build.shibboleth.net/maven/releases" }
|
||||
maven { url = "https://build.shibboleth.net/maven/releases" }
|
||||
}
|
||||
|
||||
ext {
|
||||
|
||||
+1
-1
@@ -119,7 +119,7 @@ public class AuditDashboardController {
|
||||
@Schema(
|
||||
description = "Number of days to look back for audit events",
|
||||
example = "7",
|
||||
required = true)
|
||||
requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@RequestParam(value = "days", defaultValue = "7")
|
||||
int days) {
|
||||
|
||||
|
||||
+35
-13
@@ -49,6 +49,7 @@ import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
import stirling.software.proprietary.security.saml2.CustomSaml2AuthenticatedPrincipal;
|
||||
import stirling.software.proprietary.security.service.DatabaseService;
|
||||
import stirling.software.proprietary.security.service.MfaService;
|
||||
import stirling.software.proprietary.security.service.TeamService;
|
||||
import stirling.software.proprietary.security.session.SessionPersistentRegistry;
|
||||
import stirling.software.proprietary.service.UserLicenseSettingsService;
|
||||
@@ -68,6 +69,7 @@ public class ProprietaryUIDataController {
|
||||
private final ObjectMapper objectMapper;
|
||||
private final UserLicenseSettingsService licenseSettingsService;
|
||||
private final PersistentAuditEventRepository auditRepository;
|
||||
private final MfaService mfaService;
|
||||
|
||||
public ProprietaryUIDataController(
|
||||
ApplicationProperties applicationProperties,
|
||||
@@ -80,7 +82,8 @@ public class ProprietaryUIDataController {
|
||||
ObjectMapper objectMapper,
|
||||
@Qualifier("runningEE") boolean runningEE,
|
||||
UserLicenseSettingsService licenseSettingsService,
|
||||
PersistentAuditEventRepository auditRepository) {
|
||||
PersistentAuditEventRepository auditRepository,
|
||||
MfaService mfaService) {
|
||||
this.applicationProperties = applicationProperties;
|
||||
this.auditConfig = auditConfig;
|
||||
this.sessionPersistentRegistry = sessionPersistentRegistry;
|
||||
@@ -92,6 +95,7 @@ public class ProprietaryUIDataController {
|
||||
this.runningEE = runningEE;
|
||||
this.licenseSettingsService = licenseSettingsService;
|
||||
this.auditRepository = auditRepository;
|
||||
this.mfaService = mfaService;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -245,12 +249,14 @@ public class ProprietaryUIDataController {
|
||||
|
||||
Map<String, Boolean> userSessions = new HashMap<>();
|
||||
Map<String, Date> userLastRequest = new HashMap<>();
|
||||
Map<String, Map<String, String>> userSettings = new HashMap<>();
|
||||
int activeUsers = 0;
|
||||
int disabledUsers = 0;
|
||||
|
||||
while (iterator.hasNext()) {
|
||||
User user = iterator.next();
|
||||
if (user != null) {
|
||||
String username = user.getUsername();
|
||||
boolean shouldRemove = false;
|
||||
|
||||
// Check if user is an INTERNAL_API_USER
|
||||
@@ -264,7 +270,7 @@ public class ProprietaryUIDataController {
|
||||
|
||||
// Check if user is part of the Internal team
|
||||
if (user.getTeam() != null
|
||||
&& user.getTeam().getName().equals(TeamService.INTERNAL_TEAM_NAME)) {
|
||||
&& TeamService.INTERNAL_TEAM_NAME.equals(user.getTeam().getName())) {
|
||||
shouldRemove = true;
|
||||
}
|
||||
|
||||
@@ -278,7 +284,7 @@ public class ProprietaryUIDataController {
|
||||
boolean hasActiveSession = false;
|
||||
Date lastRequest = null;
|
||||
Optional<SessionEntity> latestSession =
|
||||
sessionPersistentRegistry.findLatestSession(user.getUsername());
|
||||
sessionPersistentRegistry.findLatestSession(username);
|
||||
|
||||
if (latestSession.isPresent()) {
|
||||
SessionEntity sessionEntity = latestSession.get();
|
||||
@@ -299,8 +305,21 @@ public class ProprietaryUIDataController {
|
||||
lastRequest = new Date(0);
|
||||
}
|
||||
|
||||
userSessions.put(user.getUsername(), hasActiveSession);
|
||||
userLastRequest.put(user.getUsername(), lastRequest);
|
||||
User userWithSettings =
|
||||
userRepository.findByIdWithSettings(user.getId()).orElse(user);
|
||||
|
||||
// Mask mfaSecret if present in settings
|
||||
Map<String, String> originalSettings = userWithSettings.getSettings();
|
||||
Map<String, String> settingsCopy =
|
||||
originalSettings != null
|
||||
? new HashMap<>(originalSettings)
|
||||
: new HashMap<>();
|
||||
if (settingsCopy.containsKey("mfaSecret")) {
|
||||
settingsCopy.put("mfaSecret", "********");
|
||||
}
|
||||
userSettings.put(username, settingsCopy);
|
||||
userSessions.put(username, hasActiveSession);
|
||||
userLastRequest.put(username, lastRequest);
|
||||
|
||||
if (hasActiveSession) activeUsers++;
|
||||
if (!user.isEnabled()) disabledUsers++;
|
||||
@@ -329,7 +348,7 @@ public class ProprietaryUIDataController {
|
||||
|
||||
List<Team> allTeams =
|
||||
teamRepository.findAll().stream()
|
||||
.filter(team -> !team.getName().equals(TeamService.INTERNAL_TEAM_NAME))
|
||||
.filter(team -> !TeamService.INTERNAL_TEAM_NAME.equals(team.getName()))
|
||||
.toList();
|
||||
|
||||
// Calculate license limits
|
||||
@@ -356,6 +375,7 @@ public class ProprietaryUIDataController {
|
||||
data.setLicenseMaxUsers(licenseMaxUsers);
|
||||
data.setPremiumEnabled(premiumEnabled);
|
||||
data.setMailEnabled(applicationProperties.getMail().isEnabled());
|
||||
data.setUserSettings(userSettings);
|
||||
|
||||
return ResponseEntity.ok(data);
|
||||
}
|
||||
@@ -407,6 +427,8 @@ public class ProprietaryUIDataController {
|
||||
data.setChangeCredsFlag(user.get().isFirstLogin() || user.get().isForcePasswordChange());
|
||||
data.setOAuth2Login(isOAuth2Login);
|
||||
data.setSaml2Login(isSaml2Login);
|
||||
data.setMfaEnabled(mfaService.isMfaEnabled(user.get()));
|
||||
data.setMfaRequired(mfaService.isMfaRequired(user.get()));
|
||||
|
||||
return ResponseEntity.ok(data);
|
||||
}
|
||||
@@ -418,7 +440,7 @@ public class ProprietaryUIDataController {
|
||||
List<TeamWithUserCountDTO> allTeamsWithCounts = teamRepository.findAllTeamsWithUserCount();
|
||||
List<TeamWithUserCountDTO> teamsWithCounts =
|
||||
allTeamsWithCounts.stream()
|
||||
.filter(team -> !team.getName().equals(TeamService.INTERNAL_TEAM_NAME))
|
||||
.filter(team -> !TeamService.INTERNAL_TEAM_NAME.equals(team.getName()))
|
||||
.toList();
|
||||
|
||||
List<Object[]> teamActivities = sessionRepository.findLatestActivityByTeam();
|
||||
@@ -446,7 +468,7 @@ public class ProprietaryUIDataController {
|
||||
.findById(id)
|
||||
.orElseThrow(() -> new RuntimeException("Team not found"));
|
||||
|
||||
if (team.getName().equals(TeamService.INTERNAL_TEAM_NAME)) {
|
||||
if (TeamService.INTERNAL_TEAM_NAME.equals(team.getName())) {
|
||||
return ResponseEntity.status(403).build();
|
||||
}
|
||||
|
||||
@@ -459,11 +481,8 @@ public class ProprietaryUIDataController {
|
||||
(user.getTeam() == null
|
||||
|| !user.getTeam().getId().equals(id))
|
||||
&& (user.getTeam() == null
|
||||
|| !user.getTeam()
|
||||
.getName()
|
||||
.equals(
|
||||
TeamService
|
||||
.INTERNAL_TEAM_NAME)))
|
||||
|| !TeamService.INTERNAL_TEAM_NAME.equals(
|
||||
user.getTeam().getName())))
|
||||
.toList();
|
||||
|
||||
List<Object[]> userSessions = sessionRepository.findLatestSessionByTeamId(id);
|
||||
@@ -541,6 +560,7 @@ public class ProprietaryUIDataController {
|
||||
private int licenseMaxUsers;
|
||||
private boolean premiumEnabled;
|
||||
private boolean mailEnabled;
|
||||
private Map<String, Map<String, String>> userSettings;
|
||||
}
|
||||
|
||||
@Data
|
||||
@@ -551,6 +571,8 @@ public class ProprietaryUIDataController {
|
||||
private boolean changeCredsFlag;
|
||||
private boolean oAuth2Login;
|
||||
private boolean saml2Login;
|
||||
private boolean mfaEnabled;
|
||||
private boolean mfaRequired;
|
||||
}
|
||||
|
||||
@Data
|
||||
|
||||
+25
-10
@@ -19,6 +19,7 @@ import stirling.software.common.model.exception.UnsupportedProviderException;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.service.DatabaseServiceInterface;
|
||||
import stirling.software.proprietary.security.service.SaveUserRequest;
|
||||
import stirling.software.proprietary.security.service.TeamService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
import stirling.software.proprietary.service.UserLicenseSettingsService;
|
||||
@@ -113,8 +114,14 @@ public class InitialSecuritySetup {
|
||||
&& userService.findByUsernameIgnoreCase(initialUsername).isEmpty()) {
|
||||
|
||||
Team team = teamService.getOrCreateDefaultTeam();
|
||||
userService.saveUser(
|
||||
initialUsername, initialPassword, team, Role.ADMIN.getRoleId(), false);
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder()
|
||||
.username(initialUsername)
|
||||
.password(initialPassword)
|
||||
.team(team)
|
||||
.role(Role.ADMIN.getRoleId())
|
||||
.firstLogin(false);
|
||||
userService.saveUserCore(builder.build());
|
||||
log.info("Admin user created: {}", initialUsername);
|
||||
} else {
|
||||
createDefaultAdminUser();
|
||||
@@ -127,8 +134,14 @@ public class InitialSecuritySetup {
|
||||
|
||||
if (userService.findByUsernameIgnoreCase(defaultUsername).isEmpty()) {
|
||||
Team team = teamService.getOrCreateDefaultTeam();
|
||||
userService.saveUser(
|
||||
defaultUsername, defaultPassword, team, Role.ADMIN.getRoleId(), true);
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder()
|
||||
.username(defaultUsername)
|
||||
.password(defaultPassword)
|
||||
.team(team)
|
||||
.role(Role.ADMIN.getRoleId())
|
||||
.firstLogin(true);
|
||||
userService.saveUserCore(builder.build());
|
||||
log.info("Default admin user created: {}", defaultUsername);
|
||||
}
|
||||
}
|
||||
@@ -137,12 +150,14 @@ public class InitialSecuritySetup {
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
if (!userService.usernameExistsIgnoreCase(Role.INTERNAL_API_USER.getRoleId())) {
|
||||
Team team = teamService.getOrCreateInternalTeam();
|
||||
userService.saveUser(
|
||||
Role.INTERNAL_API_USER.getRoleId(),
|
||||
UUID.randomUUID().toString(),
|
||||
team,
|
||||
Role.INTERNAL_API_USER.getRoleId(),
|
||||
false);
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder()
|
||||
.username(Role.INTERNAL_API_USER.getRoleId())
|
||||
.password(UUID.randomUUID().toString())
|
||||
.team(team)
|
||||
.role(Role.INTERNAL_API_USER.getRoleId())
|
||||
.firstLogin(false);
|
||||
userService.saveUserCore(builder.build());
|
||||
userService.addApiKeyToUser(Role.INTERNAL_API_USER.getRoleId());
|
||||
log.info("Internal API user created: {}", Role.INTERNAL_API_USER.getRoleId());
|
||||
} else {
|
||||
|
||||
+272
-4
@@ -11,7 +11,12 @@ import org.springframework.security.core.AuthenticationException;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
import org.springframework.security.core.userdetails.UserDetails;
|
||||
import org.springframework.security.core.userdetails.UsernameNotFoundException;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
||||
@@ -27,10 +32,13 @@ import stirling.software.proprietary.audit.AuditLevel;
|
||||
import stirling.software.proprietary.audit.Audited;
|
||||
import stirling.software.proprietary.security.model.AuthenticationType;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.model.api.user.UsernameAndPass;
|
||||
import stirling.software.proprietary.security.model.api.user.MfaCodeRequest;
|
||||
import stirling.software.proprietary.security.model.api.user.UsernameAndPassMfa;
|
||||
import stirling.software.proprietary.security.service.CustomUserDetailsService;
|
||||
import stirling.software.proprietary.security.service.JwtServiceInterface;
|
||||
import stirling.software.proprietary.security.service.LoginAttemptService;
|
||||
import stirling.software.proprietary.security.service.MfaService;
|
||||
import stirling.software.proprietary.security.service.TotpService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
/** REST API Controller for authentication operations. */
|
||||
@@ -45,6 +53,8 @@ public class AuthController {
|
||||
private final JwtServiceInterface jwtService;
|
||||
private final CustomUserDetailsService userDetailsService;
|
||||
private final LoginAttemptService loginAttemptService;
|
||||
private final MfaService mfaService;
|
||||
private final TotpService totpService;
|
||||
private final ApplicationProperties.Security securityProperties;
|
||||
|
||||
/**
|
||||
@@ -58,7 +68,7 @@ public class AuthController {
|
||||
@PostMapping("/login")
|
||||
@Audited(type = AuditEventType.USER_LOGIN, level = AuditLevel.BASIC)
|
||||
public ResponseEntity<?> login(
|
||||
@RequestBody UsernameAndPass request,
|
||||
@RequestBody UsernameAndPassMfa request,
|
||||
HttpServletRequest httpRequest,
|
||||
HttpServletResponse response) {
|
||||
try {
|
||||
@@ -116,6 +126,47 @@ public class AuthController {
|
||||
.body(Map.of("error", "User account is disabled"));
|
||||
}
|
||||
|
||||
if (mfaService.isMfaEnabled(user)) {
|
||||
String code = request.getMfaCode();
|
||||
if (code == null || code.isBlank()) {
|
||||
log.warn(
|
||||
"MFA required but no code provided for user: {} from IP: {}",
|
||||
username,
|
||||
ip);
|
||||
// loginAttemptService.loginFailed(username);
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(
|
||||
Map.of(
|
||||
"error", "mfa_required",
|
||||
"message", "Two-factor code required"));
|
||||
}
|
||||
String secret = mfaService.getSecret(user);
|
||||
if (secret == null || secret.isBlank()) {
|
||||
log.error("MFA enabled but no secret stored for user: {}", username);
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
|
||||
.body(Map.of("error", "MFA configuration error"));
|
||||
}
|
||||
Long timeStep = totpService.getValidTimeStep(secret, code);
|
||||
if (timeStep == null) {
|
||||
log.warn("Invalid MFA code for user: {} from IP: {}", username, ip);
|
||||
loginAttemptService.loginFailed(username);
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(
|
||||
Map.of(
|
||||
"error", "invalid_mfa_code",
|
||||
"message", "Invalid two-factor code"));
|
||||
}
|
||||
if (!mfaService.markTotpStepUsed(user, timeStep)) {
|
||||
log.warn("Replay MFA code detected for user: {} from IP: {}", username, ip);
|
||||
loginAttemptService.loginFailed(username);
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(
|
||||
Map.of(
|
||||
"error", "invalid_mfa_code",
|
||||
"message", "Invalid two-factor code"));
|
||||
}
|
||||
}
|
||||
|
||||
Map<String, Object> claims = new HashMap<>();
|
||||
claims.put("authType", AuthenticationType.WEB.toString());
|
||||
claims.put("role", user.getRolesAsString());
|
||||
@@ -163,7 +214,7 @@ public class AuthController {
|
||||
|
||||
if (auth == null
|
||||
|| !auth.isAuthenticated()
|
||||
|| auth.getPrincipal().equals("anonymousUser")) {
|
||||
|| "anonymousUser".equals(auth.getPrincipal())) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Not authenticated"));
|
||||
}
|
||||
@@ -244,6 +295,210 @@ public class AuthController {
|
||||
}
|
||||
}
|
||||
|
||||
@PreAuthorize("isAuthenticated() && !hasAuthority('ROLE_DEMO_USER')")
|
||||
@GetMapping("/mfa/setup")
|
||||
public ResponseEntity<?> setupMfa(Authentication authentication) {
|
||||
if (authentication == null || !authentication.isAuthenticated()) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Not authenticated"));
|
||||
}
|
||||
|
||||
String username = authentication.getName();
|
||||
User user =
|
||||
userService
|
||||
.findByUsernameIgnoreCaseWithSettings(username)
|
||||
.orElseThrow(() -> new UsernameNotFoundException("User not found"));
|
||||
ResponseEntity<?> authTypeResponse = ensureWebAuth(user);
|
||||
if (authTypeResponse != null) {
|
||||
return authTypeResponse;
|
||||
}
|
||||
|
||||
if (mfaService.isMfaEnabled(user)) {
|
||||
return ResponseEntity.status(HttpStatus.CONFLICT)
|
||||
.body(Map.of("error", "MFA already enabled"));
|
||||
}
|
||||
|
||||
try {
|
||||
String secret = totpService.generateSecret();
|
||||
mfaService.setSecret(user, secret);
|
||||
String otpAuthUri = totpService.buildOtpAuthUri(username, secret);
|
||||
|
||||
return ResponseEntity.ok(Map.of("secret", secret, "otpauthUri", otpAuthUri));
|
||||
} catch (Exception e) {
|
||||
log.error("Failed to setup MFA for user: {}", username, e);
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
|
||||
.body(Map.of("error", "Failed to setup MFA"));
|
||||
}
|
||||
}
|
||||
|
||||
@PreAuthorize("isAuthenticated() && !hasAuthority('ROLE_DEMO_USER')")
|
||||
@PostMapping("/mfa/enable")
|
||||
public ResponseEntity<?> enableMfa(
|
||||
@RequestBody MfaCodeRequest request, Authentication authentication) {
|
||||
if (authentication == null || !authentication.isAuthenticated()) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Not authenticated"));
|
||||
}
|
||||
|
||||
String username = authentication.getName();
|
||||
User user =
|
||||
userService
|
||||
.findByUsernameIgnoreCaseWithSettings(username)
|
||||
.orElseThrow(() -> new UsernameNotFoundException("User not found"));
|
||||
ResponseEntity<?> authTypeResponse = ensureWebAuth(user);
|
||||
if (authTypeResponse != null) {
|
||||
return authTypeResponse;
|
||||
}
|
||||
|
||||
String secret = mfaService.getSecret(user);
|
||||
if (secret == null || secret.isBlank()) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "MFA setup required"));
|
||||
}
|
||||
|
||||
if (request == null || request.getCode() == null) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "MFA code is required"));
|
||||
}
|
||||
|
||||
Long timeStep = totpService.getValidTimeStep(secret, request.getCode());
|
||||
if (timeStep == null) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Invalid two-factor code"));
|
||||
}
|
||||
|
||||
try {
|
||||
if (!mfaService.isTotpStepUsable(user, timeStep)) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Invalid two-factor code"));
|
||||
}
|
||||
mfaService.enableMfa(user);
|
||||
mfaService.markTotpStepUsed(user, timeStep);
|
||||
mfaService.setMfaRequired(user, false);
|
||||
return ResponseEntity.ok(Map.of("enabled", true));
|
||||
} catch (Exception e) {
|
||||
log.error("Failed to enable MFA for user: {}", username, e);
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
|
||||
.body(Map.of("error", "Failed to enable MFA"));
|
||||
}
|
||||
}
|
||||
|
||||
@PreAuthorize("isAuthenticated() && !hasAuthority('ROLE_DEMO_USER')")
|
||||
@PostMapping("/mfa/disable")
|
||||
public ResponseEntity<?> disableMfa(
|
||||
@RequestBody MfaCodeRequest request, Authentication authentication) {
|
||||
if (authentication == null || !authentication.isAuthenticated()) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Not authenticated"));
|
||||
}
|
||||
|
||||
String username = authentication.getName();
|
||||
User user =
|
||||
userService
|
||||
.findByUsernameIgnoreCaseWithSettings(username)
|
||||
.orElseThrow(() -> new UsernameNotFoundException("User not found"));
|
||||
ResponseEntity<?> authTypeResponse = ensureWebAuth(user);
|
||||
if (authTypeResponse != null) {
|
||||
return authTypeResponse;
|
||||
}
|
||||
|
||||
if (!mfaService.isMfaEnabled(user)) {
|
||||
return ResponseEntity.ok(Map.of("enabled", false));
|
||||
}
|
||||
|
||||
String secret = mfaService.getSecret(user);
|
||||
if (secret == null || secret.isBlank()) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "MFA configuration missing"));
|
||||
}
|
||||
|
||||
if (request == null || request.getCode() == null) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "MFA code is required"));
|
||||
}
|
||||
|
||||
Long timeStep = totpService.getValidTimeStep(secret, request.getCode());
|
||||
if (timeStep == null) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Invalid two-factor code"));
|
||||
}
|
||||
|
||||
try {
|
||||
if (!mfaService.isTotpStepUsable(user, timeStep)) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Invalid two-factor code"));
|
||||
}
|
||||
mfaService.disableMfa(user);
|
||||
mfaService.markTotpStepUsed(user, timeStep);
|
||||
return ResponseEntity.ok(Map.of("enabled", false));
|
||||
} catch (Exception e) {
|
||||
log.error("Failed to disable MFA for user: {}", username, e);
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
|
||||
.body(Map.of("error", "Failed to disable MFA"));
|
||||
}
|
||||
}
|
||||
|
||||
@PreAuthorize("isAuthenticated() && !hasAuthority('ROLE_DEMO_USER')")
|
||||
@PostMapping("/mfa/setup/cancel")
|
||||
public ResponseEntity<?> cancelMfaSetup(Authentication authentication) {
|
||||
if (authentication == null || !authentication.isAuthenticated()) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
.body(Map.of("error", "Not authenticated"));
|
||||
}
|
||||
|
||||
String username = authentication.getName();
|
||||
User user =
|
||||
userService
|
||||
.findByUsernameIgnoreCaseWithSettings(username)
|
||||
.orElseThrow(() -> new UsernameNotFoundException("User not found"));
|
||||
|
||||
if (mfaService.isMfaEnabled(user)) {
|
||||
return ResponseEntity.status(HttpStatus.CONFLICT)
|
||||
.body(Map.of("error", "MFA already enabled"));
|
||||
}
|
||||
|
||||
try {
|
||||
mfaService.clearPendingSecret(user);
|
||||
return ResponseEntity.ok(Map.of("cleared", true));
|
||||
} catch (Exception e) {
|
||||
log.error("Failed to clear MFA setup for user: {}", username, e);
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
|
||||
.body(Map.of("error", "Failed to clear MFA setup"));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Admin endpoint to disable MFA for a user
|
||||
*
|
||||
* @param username Username of the user to disable MFA for
|
||||
* @return Response indicating success or failure
|
||||
*/
|
||||
@PreAuthorize("hasRole('ROLE_ADMIN')")
|
||||
@PostMapping("/mfa/disable/admin/{username}")
|
||||
public ResponseEntity<?> disableMfaByAdmin(@PathVariable String username) {
|
||||
try {
|
||||
User user =
|
||||
userService
|
||||
.findByUsernameIgnoreCaseWithSettings(username)
|
||||
.orElseThrow(() -> new UsernameNotFoundException("User not found"));
|
||||
|
||||
if (!mfaService.isMfaEnabled(user)) {
|
||||
return ResponseEntity.ok(Map.of("enabled", false));
|
||||
}
|
||||
|
||||
mfaService.disableMfa(user);
|
||||
return ResponseEntity.ok(Map.of("enabled", false));
|
||||
} catch (UsernameNotFoundException e) {
|
||||
log.warn("User not found for MFA disable: {}", username);
|
||||
return ResponseEntity.status(HttpStatus.NOT_FOUND)
|
||||
.body(Map.of("error", "User not found"));
|
||||
} catch (Exception e) {
|
||||
log.error("Failed to disable MFA for user: {}", username, e);
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
|
||||
.body(Map.of("error", "Failed to disable MFA"));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to build user response object
|
||||
*
|
||||
@@ -266,6 +521,19 @@ public class AuthController {
|
||||
appMetadata.put("provider", user.getAuthenticationType());
|
||||
userMap.put("app_metadata", appMetadata);
|
||||
|
||||
// Add user metadata
|
||||
Map<String, Object> userMetadata = new HashMap<>();
|
||||
userMetadata.put("firstLogin", user.isFirstLogin());
|
||||
userMap.put("user_metadata", userMetadata);
|
||||
|
||||
return userMap;
|
||||
}
|
||||
|
||||
private ResponseEntity<?> ensureWebAuth(User user) {
|
||||
if (!AuthenticationType.WEB.name().equalsIgnoreCase(user.getAuthenticationType())) {
|
||||
return ResponseEntity.status(HttpStatus.FORBIDDEN)
|
||||
.body(Map.of("error", "MFA settings are only available for web accounts"));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
+12
-8
@@ -23,6 +23,7 @@ import stirling.software.proprietary.security.model.InviteToken;
|
||||
import stirling.software.proprietary.security.repository.InviteTokenRepository;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
import stirling.software.proprietary.security.service.EmailService;
|
||||
import stirling.software.proprietary.security.service.SaveUserRequest;
|
||||
import stirling.software.proprietary.security.service.TeamService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
@@ -90,7 +91,8 @@ public class InviteLinkController {
|
||||
.body(
|
||||
Map.of(
|
||||
"error",
|
||||
"An active invite already exists for this email address"));
|
||||
"An active invite already exists for this email"
|
||||
+ " address"));
|
||||
}
|
||||
|
||||
// If sendEmail is requested but no email provided, reject
|
||||
@@ -123,7 +125,8 @@ public class InviteLinkController {
|
||||
+ (currentUserCount + activeInvites)
|
||||
+ "/"
|
||||
+ maxUsers
|
||||
+ " users). Contact your administrator to upgrade your license."));
|
||||
+ " users). Contact your administrator to"
|
||||
+ " upgrade your license."));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -457,12 +460,13 @@ public class InviteLinkController {
|
||||
}
|
||||
|
||||
// Create the user account
|
||||
userService.saveUser(
|
||||
effectiveEmail,
|
||||
password,
|
||||
invite.getTeamId(),
|
||||
invite.getRole(),
|
||||
false); // Don't force password change
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder()
|
||||
.username(effectiveEmail)
|
||||
.password(password)
|
||||
.teamId(invite.getTeamId())
|
||||
.role(invite.getRole());
|
||||
userService.saveUserCore(builder.build());
|
||||
|
||||
// Mark invite as used
|
||||
invite.setUsed(true);
|
||||
|
||||
+96
-29
@@ -5,6 +5,7 @@ import java.security.Principal;
|
||||
import java.sql.SQLException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.UUID;
|
||||
@@ -17,7 +18,10 @@ import org.springframework.security.core.session.SessionInformation;
|
||||
import org.springframework.security.core.userdetails.UserDetails;
|
||||
import org.springframework.security.oauth2.core.user.OAuth2User;
|
||||
import org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import jakarta.mail.MessagingException;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
@@ -42,6 +46,7 @@ import stirling.software.proprietary.security.model.api.user.UsernameAndPass;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
import stirling.software.proprietary.security.saml2.CustomSaml2AuthenticatedPrincipal;
|
||||
import stirling.software.proprietary.security.service.EmailService;
|
||||
import stirling.software.proprietary.security.service.SaveUserRequest;
|
||||
import stirling.software.proprietary.security.service.TeamService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
import stirling.software.proprietary.security.session.SessionPersistentRegistry;
|
||||
@@ -65,26 +70,24 @@ public class UserController {
|
||||
@PostMapping("/register")
|
||||
public ResponseEntity<?> register(@RequestBody UsernameAndPass usernameAndPass)
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
String username = usernameAndPass.getUsername();
|
||||
String password = usernameAndPass.getPassword();
|
||||
try {
|
||||
log.debug("Registration attempt for user: {}", usernameAndPass.getUsername());
|
||||
log.debug("Registration attempt for user: {}", username);
|
||||
|
||||
if (userService.usernameExistsIgnoreCase(usernameAndPass.getUsername())) {
|
||||
log.warn(
|
||||
"Registration failed: username already exists: {}",
|
||||
usernameAndPass.getUsername());
|
||||
if (userService.usernameExistsIgnoreCase(username)) {
|
||||
log.warn("Registration failed: username already exists: {}", username);
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "User already exists"));
|
||||
}
|
||||
|
||||
if (!userService.isUsernameValid(usernameAndPass.getUsername())) {
|
||||
log.warn(
|
||||
"Registration failed: invalid username format: {}",
|
||||
usernameAndPass.getUsername());
|
||||
if (!userService.isUsernameValid(username)) {
|
||||
log.warn("Registration failed: invalid username format: {}", username);
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "Invalid username format"));
|
||||
}
|
||||
|
||||
if (usernameAndPass.getPassword() == null || usernameAndPass.getPassword().isEmpty()) {
|
||||
if (password == null || password.isEmpty()) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "Password is required"));
|
||||
}
|
||||
@@ -101,17 +104,16 @@ public class UserController {
|
||||
+ ", Available slots: "
|
||||
+ availableSlots));
|
||||
}
|
||||
|
||||
Team team = teamRepository.findByName(TeamService.DEFAULT_TEAM_NAME).orElse(null);
|
||||
User user =
|
||||
userService.saveUser(
|
||||
usernameAndPass.getUsername(),
|
||||
usernameAndPass.getPassword(),
|
||||
team,
|
||||
Role.USER.getRoleId(),
|
||||
false);
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder()
|
||||
.username(username)
|
||||
.password(password)
|
||||
.team(team)
|
||||
.enabled(false);
|
||||
User user = userService.saveUserCore(builder.build());
|
||||
|
||||
log.info("User registered successfully: {}", usernameAndPass.getUsername());
|
||||
log.info("User registered successfully: {}", username);
|
||||
|
||||
return ResponseEntity.status(HttpStatus.CREATED)
|
||||
.body(
|
||||
@@ -126,7 +128,7 @@ public class UserController {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", e.getMessage()));
|
||||
} catch (Exception e) {
|
||||
log.error("Registration error for user: {}", usernameAndPass.getUsername(), e);
|
||||
log.error("Registration error for user: {}", username, e);
|
||||
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR)
|
||||
.body(Map.of("error", "Registration failed: " + e.getMessage()));
|
||||
}
|
||||
@@ -221,6 +223,7 @@ public class UserController {
|
||||
Principal principal,
|
||||
@RequestParam(name = "currentPassword") String currentPassword,
|
||||
@RequestParam(name = "newPassword") String newPassword,
|
||||
@RequestParam(name = "confirmPassword") String confirmPassword,
|
||||
HttpServletRequest request,
|
||||
HttpServletResponse response)
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
@@ -233,6 +236,43 @@ public class UserController {
|
||||
return ResponseEntity.status(HttpStatus.NOT_FOUND)
|
||||
.body(Map.of("error", "userNotFound", "message", "User not found"));
|
||||
}
|
||||
|
||||
if (currentPassword == null
|
||||
|| currentPassword.isEmpty()
|
||||
|| newPassword == null
|
||||
|| newPassword.isEmpty()
|
||||
|| confirmPassword == null
|
||||
|| confirmPassword.isEmpty()) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(
|
||||
Map.of(
|
||||
"error",
|
||||
"missingParameters",
|
||||
"message",
|
||||
"Current password, new password, and confirmation are"
|
||||
+ " required"));
|
||||
}
|
||||
|
||||
if (!newPassword.equals(confirmPassword)) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(
|
||||
Map.of(
|
||||
"error",
|
||||
"passwordMismatch",
|
||||
"message",
|
||||
"New password and confirmation do not match"));
|
||||
}
|
||||
|
||||
if (newPassword.equals(currentPassword)) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(
|
||||
Map.of(
|
||||
"error",
|
||||
"passwordUnchanged",
|
||||
"message",
|
||||
"New password must be different from the current password"));
|
||||
}
|
||||
|
||||
User user = userOpt.get();
|
||||
if (!userService.isPasswordCorrect(user, currentPassword)) {
|
||||
return ResponseEntity.status(HttpStatus.UNAUTHORIZED)
|
||||
@@ -325,7 +365,9 @@ public class UserController {
|
||||
@RequestParam(name = "teamId", required = false) Long teamId,
|
||||
@RequestParam(name = "authType") String authType,
|
||||
@RequestParam(name = "forceChange", required = false, defaultValue = "false")
|
||||
boolean forceChange)
|
||||
boolean forceChange,
|
||||
@RequestParam(name = "forceMFA", required = false, defaultValue = "false")
|
||||
boolean forceMFA)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
if (!userService.isUsernameValid(username)) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
@@ -347,8 +389,9 @@ public class UserController {
|
||||
+ availableSlots));
|
||||
}
|
||||
Optional<User> userOpt = userService.findByUsernameIgnoreCase(username);
|
||||
User user = null;
|
||||
if (userOpt.isPresent()) {
|
||||
User user = userOpt.get();
|
||||
user = userOpt.get();
|
||||
if (user.getUsername().equalsIgnoreCase(username)) {
|
||||
return ResponseEntity.status(HttpStatus.CONFLICT)
|
||||
.body(Map.of("error", "Username already exists."));
|
||||
@@ -390,9 +433,23 @@ public class UserController {
|
||||
}
|
||||
}
|
||||
|
||||
if (authType.equalsIgnoreCase(AuthenticationType.SSO.toString())) {
|
||||
userService.saveUser(username, AuthenticationType.SSO, effectiveTeamId, role);
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder().username(username).teamId(effectiveTeamId).role(role);
|
||||
|
||||
AuthenticationType requestedAuthType;
|
||||
if ("SSO".equalsIgnoreCase(authType)) {
|
||||
requestedAuthType = AuthenticationType.OAUTH2;
|
||||
} else {
|
||||
try {
|
||||
requestedAuthType = AuthenticationType.valueOf(authType.toUpperCase(Locale.ROOT));
|
||||
} catch (IllegalArgumentException e) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "Invalid authentication type specified."));
|
||||
}
|
||||
}
|
||||
builder.authenticationType(requestedAuthType);
|
||||
|
||||
if (requestedAuthType == AuthenticationType.WEB) {
|
||||
if (password == null || password.isBlank()) {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "Password is required."));
|
||||
@@ -401,8 +458,9 @@ public class UserController {
|
||||
return ResponseEntity.status(HttpStatus.BAD_REQUEST)
|
||||
.body(Map.of("error", "Password must be at least 6 characters."));
|
||||
}
|
||||
userService.saveUser(username, password, effectiveTeamId, role, forceChange);
|
||||
builder.password(password).firstLogin(forceChange).requireMfa(forceMFA);
|
||||
}
|
||||
userService.saveUserCore(builder.build());
|
||||
return ResponseEntity.ok(Map.of("message", "User created successfully"));
|
||||
}
|
||||
|
||||
@@ -427,7 +485,8 @@ public class UserController {
|
||||
.body(
|
||||
Map.of(
|
||||
"error",
|
||||
"Email service is not configured. Please configure SMTP settings."));
|
||||
"Email service is not configured. Please configure SMTP"
|
||||
+ " settings."));
|
||||
}
|
||||
|
||||
// Parse comma-separated email addresses
|
||||
@@ -645,7 +704,8 @@ public class UserController {
|
||||
.body(
|
||||
Map.of(
|
||||
"error",
|
||||
"User's email is not a valid email address. Notifications are disabled."));
|
||||
"User's email is not a valid email address. Notifications"
|
||||
+ " are disabled."));
|
||||
}
|
||||
|
||||
String loginUrl = buildLoginUrl(request);
|
||||
@@ -826,7 +886,14 @@ public class UserController {
|
||||
String temporaryPassword = java.util.UUID.randomUUID().toString().substring(0, 12);
|
||||
|
||||
// Create user with forceChange=true
|
||||
userService.saveUser(email, temporaryPassword, teamId, role, true);
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder()
|
||||
.username(email)
|
||||
.password(temporaryPassword)
|
||||
.teamId(teamId)
|
||||
.role(role)
|
||||
.firstLogin(true);
|
||||
userService.saveUserCore(builder.build());
|
||||
|
||||
// Send invite email
|
||||
try {
|
||||
|
||||
+3
-2
@@ -12,8 +12,9 @@ public class H2SQLCondition implements Condition {
|
||||
boolean enableCustomDatabase =
|
||||
env.getProperty("system.datasource.enableCustomDatabase", Boolean.class, false);
|
||||
|
||||
if (enableCustomDatabase) {
|
||||
return false;
|
||||
// If custom database is not enabled, H2 is used by default
|
||||
if (!enableCustomDatabase) {
|
||||
return true;
|
||||
}
|
||||
|
||||
String dataSourceType = env.getProperty("system.datasource.type", String.class, "");
|
||||
|
||||
+16
@@ -4,6 +4,7 @@ import java.util.List;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
import org.springframework.data.repository.query.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
@@ -18,6 +19,9 @@ public interface UserRepository extends JpaRepository<User, Long> {
|
||||
@Query("FROM User u LEFT JOIN FETCH u.settings where upper(u.username) = upper(:username)")
|
||||
Optional<User> findByUsernameIgnoreCaseWithSettings(@Param("username") String username);
|
||||
|
||||
@Query("FROM User u LEFT JOIN FETCH u.settings where u.id = :id")
|
||||
Optional<User> findByIdWithSettings(@Param("id") Long id);
|
||||
|
||||
Optional<User> findByUsername(String username);
|
||||
|
||||
Optional<User> findByApiKey(String apiKey);
|
||||
@@ -76,4 +80,16 @@ public interface UserRepository extends JpaRepository<User, Long> {
|
||||
"SELECT COUNT(u) FROM User u WHERE u.ssoProvider IS NOT NULL "
|
||||
+ "OR LOWER(u.authenticationType) IN ('sso', 'oauth2', 'saml2')")
|
||||
long countSsoUsers();
|
||||
|
||||
@Query(
|
||||
"SELECT COUNT(u) FROM User u JOIN u.settings settings "
|
||||
+ "WHERE KEY(settings) = :key AND settings = :value")
|
||||
long countUsersBySetting(@Param("key") String key, @Param("value") String value);
|
||||
|
||||
@Modifying
|
||||
@Query(
|
||||
value = "DELETE FROM user_settings WHERE user_id = :userId AND setting_key IN (:keys)",
|
||||
nativeQuery = true)
|
||||
void deleteSettingsByUserIdAndKeys(
|
||||
@Param("userId") Long userId, @Param("keys") List<String> keys);
|
||||
}
|
||||
|
||||
+21
-2
@@ -26,8 +26,27 @@ public class EnterpriseEndpointFilter extends OncePerRequestFilter {
|
||||
throws ServletException, IOException {
|
||||
|
||||
if (!runningProOrHigher && isPrometheusEndpointRequest(request)) {
|
||||
response.setStatus(HttpStatus.NOT_FOUND.value());
|
||||
return;
|
||||
// Allow only health checks to pass through for non-pro users
|
||||
String uri = request.getRequestURI();
|
||||
|
||||
// Strip the context path
|
||||
String contextPath = request.getContextPath();
|
||||
String trimmedUri =
|
||||
(contextPath != null && uri.startsWith(contextPath))
|
||||
? uri.substring(contextPath.length())
|
||||
: uri;
|
||||
|
||||
boolean isHealthCheck =
|
||||
trimmedUri.startsWith("/actuator/health")
|
||||
|| "/health".equals(trimmedUri)
|
||||
|| "/healthz".equals(trimmedUri)
|
||||
|| "/liveness".equals(trimmedUri)
|
||||
|| "/readiness".equals(trimmedUri);
|
||||
|
||||
if (!isHealthCheck) {
|
||||
response.setStatus(HttpStatus.NOT_FOUND.value());
|
||||
return;
|
||||
}
|
||||
}
|
||||
filterChain.doFilter(request, response);
|
||||
}
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package stirling.software.proprietary.security.model.api.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MfaCodeRequest {
|
||||
|
||||
@Schema(description = "6-digit authentication code from your authenticator app")
|
||||
private String code;
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package stirling.software.proprietary.security.model.api.user;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class UsernameAndPassMfa extends UsernameAndPass {
|
||||
|
||||
@Schema(description = "6-digit authentication code from authenticator app", example = "123456")
|
||||
private String mfaCode;
|
||||
}
|
||||
+15
-11
@@ -1,9 +1,9 @@
|
||||
package stirling.software.proprietary.security.oauth2;
|
||||
|
||||
import static stirling.software.proprietary.security.model.AuthenticationType.OAUTH2;
|
||||
import static stirling.software.proprietary.security.model.AuthenticationType.SSO;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.sql.SQLException;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
@@ -114,10 +114,10 @@ public class CustomOAuth2AuthenticationSuccessHandler
|
||||
.sendRedirect(request, response, "/logout?userIsDisabled=true");
|
||||
return;
|
||||
}
|
||||
boolean isSsoUser = userService.isSsoAuthenticationTypeByUsername(username);
|
||||
if (userExists
|
||||
&& userService.hasPassword(username)
|
||||
&& (!userService.isAuthenticationTypeByUsername(username, SSO)
|
||||
|| !userService.isAuthenticationTypeByUsername(username, OAUTH2))
|
||||
&& !isSsoUser
|
||||
&& oauth2Properties.getAutoCreateUser()) {
|
||||
response.sendRedirect(contextPath + "/logout?oAuth2AuthenticationErrorWeb=true");
|
||||
return;
|
||||
@@ -259,19 +259,23 @@ public class CustomOAuth2AuthenticationSuccessHandler
|
||||
String referer = request.getHeader("Referer");
|
||||
if (referer != null && !referer.isEmpty()) {
|
||||
try {
|
||||
java.net.URL refererUrl = new java.net.URL(referer);
|
||||
String refererHost = refererUrl.getHost().toLowerCase();
|
||||
URI refererUri = URI.create(referer);
|
||||
String host = refererUri.getHost();
|
||||
if (host == null) {
|
||||
return Optional.empty();
|
||||
}
|
||||
|
||||
String refererHost = host.toLowerCase();
|
||||
|
||||
if (!isOAuthProviderDomain(refererHost)) {
|
||||
String origin = refererUrl.getProtocol() + "://" + refererUrl.getHost();
|
||||
if (refererUrl.getPort() != -1
|
||||
&& refererUrl.getPort() != 80
|
||||
&& refererUrl.getPort() != 443) {
|
||||
origin += ":" + refererUrl.getPort();
|
||||
String origin = refererUri.getScheme() + "://" + host;
|
||||
int port = refererUri.getPort();
|
||||
if (port != -1 && port != 80 && port != 443) {
|
||||
origin += ":" + port;
|
||||
}
|
||||
return Optional.of(origin);
|
||||
}
|
||||
} catch (java.net.MalformedURLException e) {
|
||||
} catch (IllegalArgumentException e) {
|
||||
// ignore and fall back
|
||||
}
|
||||
}
|
||||
|
||||
+16
-13
@@ -1,9 +1,9 @@
|
||||
package stirling.software.proprietary.security.saml2;
|
||||
|
||||
import static stirling.software.proprietary.security.model.AuthenticationType.SAML2;
|
||||
import static stirling.software.proprietary.security.model.AuthenticationType.SSO;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.net.URLDecoder;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.sql.SQLException;
|
||||
@@ -126,8 +126,8 @@ public class CustomSaml2AuthenticationSuccessHandler
|
||||
}
|
||||
|
||||
boolean hasPassword = userExists && userService.hasPassword(username);
|
||||
boolean isSSOUser =
|
||||
userExists && userService.isAuthenticationTypeByUsername(username, SSO);
|
||||
boolean isSsoUser =
|
||||
userExists && userService.isSsoAuthenticationTypeByUsername(username);
|
||||
boolean isSAML2User =
|
||||
userExists && userService.isAuthenticationTypeByUsername(username, SAML2);
|
||||
|
||||
@@ -135,15 +135,15 @@ public class CustomSaml2AuthenticationSuccessHandler
|
||||
"User status - Exists: {}, Has password: {}, Is SSO user: {}, Is SAML2 user: {}",
|
||||
userExists,
|
||||
hasPassword,
|
||||
isSSOUser,
|
||||
isSsoUser,
|
||||
isSAML2User);
|
||||
|
||||
if (userExists
|
||||
&& hasPassword
|
||||
&& (!isSSOUser || !isSAML2User)
|
||||
&& !isSsoUser
|
||||
&& saml2Properties.getAutoCreateUser()) {
|
||||
log.debug(
|
||||
"User {} exists with password but is not SSO user, redirecting to logout",
|
||||
"User {} exists with password but is not an SSO user, redirecting to logout",
|
||||
username);
|
||||
String origin = resolveOrigin(request);
|
||||
response.sendRedirect(origin + "/logout?oAuth2AuthenticationErrorWeb=true");
|
||||
@@ -318,15 +318,18 @@ public class CustomSaml2AuthenticationSuccessHandler
|
||||
String referer = request.getHeader("Referer");
|
||||
if (referer != null && !referer.isEmpty()) {
|
||||
try {
|
||||
java.net.URL refererUrl = new java.net.URL(referer);
|
||||
String origin = refererUrl.getProtocol() + "://" + refererUrl.getHost();
|
||||
if (refererUrl.getPort() != -1
|
||||
&& refererUrl.getPort() != 80
|
||||
&& refererUrl.getPort() != 443) {
|
||||
origin += ":" + refererUrl.getPort();
|
||||
URI refererUri = URI.create(referer);
|
||||
String host = refererUri.getHost();
|
||||
if (host == null) {
|
||||
return Optional.empty();
|
||||
}
|
||||
String origin = refererUri.getScheme() + "://" + host;
|
||||
int port = refererUri.getPort();
|
||||
if (port != -1 && port != 80 && port != 443) {
|
||||
origin += ":" + port;
|
||||
}
|
||||
return Optional.of(origin);
|
||||
} catch (java.net.MalformedURLException e) {
|
||||
} catch (IllegalArgumentException e) {
|
||||
log.debug(
|
||||
"Malformed referer URL: {}, falling back to request-based origin", referer);
|
||||
}
|
||||
|
||||
+6
-2
@@ -21,6 +21,7 @@ import java.time.format.DateTimeFormatter;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
@@ -265,14 +266,17 @@ public class DatabaseService implements DatabaseServiceInterface {
|
||||
String checksum = bytesToHex(digest.digest(content));
|
||||
log.info("Checksum for {}: {}", backupPath.getFileName(), checksum);
|
||||
|
||||
try (Connection conn = DriverManager.getConnection("jdbc:h2:mem:backupVerify");
|
||||
String verifyDbUrl = "jdbc:h2:mem:backupVerify_" + UUID.randomUUID();
|
||||
// Use a fresh in-memory database per verification to avoid leftover objects between
|
||||
// runs.
|
||||
try (Connection conn = DriverManager.getConnection(verifyDbUrl);
|
||||
PreparedStatement stmt = conn.prepareStatement("RUNSCRIPT FROM ?")) {
|
||||
stmt.setString(1, backupPath.toString());
|
||||
stmt.execute();
|
||||
}
|
||||
return true;
|
||||
} catch (IOException | NoSuchAlgorithmException | SQLException e) {
|
||||
log.error("Backup verification failed for {}: {}", backupPath, e.getMessage(), e);
|
||||
log.error("Backup verification failed for {}: {}", backupPath, e.getMessage());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
+247
@@ -0,0 +1,247 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import stirling.software.common.model.exception.UnsupportedProviderException;
|
||||
import stirling.software.proprietary.security.database.repository.UserRepository;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
|
||||
/**
|
||||
* Service for managing multi-factor authentication (MFA) settings for users.
|
||||
*
|
||||
* <p>This service reads and writes MFA-related settings such as secrets, enablement flags, and
|
||||
* last-used TOTP steps.
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
@Slf4j
|
||||
public class MfaService {
|
||||
|
||||
public static final String MFA_ENABLED_KEY = "mfaEnabled";
|
||||
public static final String MFA_SECRET_KEY = "mfaSecret";
|
||||
public static final String MFA_LAST_USED_STEP_KEY = "mfaLastUsedStep";
|
||||
public static final String MFA_REQUIRED_KEY = "mfaRequired";
|
||||
|
||||
private final UserRepository userRepository;
|
||||
private final DatabaseServiceInterface databaseService;
|
||||
|
||||
/**
|
||||
* Determines whether MFA is enabled for the given user.
|
||||
*
|
||||
* @param user target user
|
||||
* @return {@code true} if MFA is enabled
|
||||
*/
|
||||
public boolean isMfaEnabled(User user) {
|
||||
String value = getSetting(user, MFA_ENABLED_KEY);
|
||||
return Boolean.parseBoolean(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the MFA secret for the given user.
|
||||
*
|
||||
* @param user target user
|
||||
* @return Base32-encoded secret, or {@code null} if not set
|
||||
*/
|
||||
public String getSecret(User user) {
|
||||
return getSetting(user, MFA_SECRET_KEY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Stores a new MFA secret and marks MFA as pending (disabled) for the user.
|
||||
*
|
||||
* @param user target user
|
||||
* @param secret Base32-encoded secret to store
|
||||
* @throws SQLException when database persistence fails
|
||||
* @throws UnsupportedProviderException when the database provider is unsupported
|
||||
*/
|
||||
@Transactional
|
||||
public void setSecret(User user, String secret)
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = ensureSettings(managedUser);
|
||||
settings.put(MFA_ENABLED_KEY, "false");
|
||||
// Clear existing values and flush the removals before inserting a new secret. This keeps
|
||||
// the (user_id, setting_key) PK satisfied even when the persistence context re-inserts the
|
||||
// same keys within a single transaction.
|
||||
settings.remove(MFA_SECRET_KEY);
|
||||
settings.remove(MFA_LAST_USED_STEP_KEY);
|
||||
if (managedUser != null && managedUser.getId() != null) {
|
||||
userRepository.deleteSettingsByUserIdAndKeys(
|
||||
managedUser.getId(), Arrays.asList(MFA_SECRET_KEY, MFA_LAST_USED_STEP_KEY));
|
||||
userRepository.flush();
|
||||
}
|
||||
settings.put(MFA_SECRET_KEY, secret);
|
||||
persist(managedUser);
|
||||
}
|
||||
|
||||
/**
|
||||
* Enables MFA for the given user.
|
||||
*
|
||||
* @param user target user
|
||||
* @throws SQLException when database persistence fails
|
||||
* @throws UnsupportedProviderException when the database provider is unsupported
|
||||
*/
|
||||
public void enableMfa(User user) throws SQLException, UnsupportedProviderException {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = ensureSettings(managedUser);
|
||||
settings.put(MFA_ENABLED_KEY, "true");
|
||||
persist(managedUser);
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears any pending MFA setup data for the user.
|
||||
*
|
||||
* @param user target user
|
||||
* @throws SQLException when database persistence fails
|
||||
* @throws UnsupportedProviderException when the database provider is unsupported
|
||||
*/
|
||||
public void clearPendingSecret(User user) throws SQLException, UnsupportedProviderException {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = ensureSettings(managedUser);
|
||||
settings.put(MFA_ENABLED_KEY, "false");
|
||||
settings.remove(MFA_SECRET_KEY);
|
||||
settings.remove(MFA_LAST_USED_STEP_KEY);
|
||||
persist(managedUser);
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables MFA and clears stored secrets for the user.
|
||||
*
|
||||
* @param user target user
|
||||
* @throws SQLException when database persistence fails
|
||||
* @throws UnsupportedProviderException when the database provider is unsupported
|
||||
*/
|
||||
public void disableMfa(User user) throws SQLException, UnsupportedProviderException {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = ensureSettings(managedUser);
|
||||
settings.put(MFA_ENABLED_KEY, "false");
|
||||
settings.remove(MFA_SECRET_KEY);
|
||||
settings.remove(MFA_LAST_USED_STEP_KEY);
|
||||
persist(managedUser);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether a TOTP time step has not been used before.
|
||||
*
|
||||
* @param user target user
|
||||
* @param timeStep candidate TOTP time step
|
||||
* @return {@code true} if the time step is usable
|
||||
*/
|
||||
public boolean isTotpStepUsable(User user, long timeStep) {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = managedUser.getSettings();
|
||||
if (settings == null) {
|
||||
return true;
|
||||
}
|
||||
String lastUsed = settings.get(MFA_LAST_USED_STEP_KEY);
|
||||
if (lastUsed == null) {
|
||||
return true;
|
||||
}
|
||||
try {
|
||||
long lastUsedStep = Long.parseLong(lastUsed);
|
||||
return timeStep > lastUsedStep;
|
||||
} catch (NumberFormatException ignored) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Marks a TOTP time step as used, preventing replay.
|
||||
*
|
||||
* @param user target user
|
||||
* @param timeStep time step to mark as used
|
||||
* @return {@code true} if the time step was marked, {@code false} if it was already used
|
||||
* @throws SQLException when database persistence fails
|
||||
* @throws UnsupportedProviderException when the database provider is unsupported
|
||||
*/
|
||||
public boolean markTotpStepUsed(User user, long timeStep)
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = ensureSettings(managedUser);
|
||||
String lastUsed = settings.get(MFA_LAST_USED_STEP_KEY);
|
||||
if (lastUsed != null) {
|
||||
try {
|
||||
long lastUsedStep = Long.parseLong(lastUsed);
|
||||
if (timeStep <= lastUsedStep) {
|
||||
return false;
|
||||
}
|
||||
} catch (NumberFormatException ignored) {
|
||||
// treat malformed value as unused
|
||||
}
|
||||
}
|
||||
settings.put(MFA_LAST_USED_STEP_KEY, Long.toString(timeStep));
|
||||
persist(managedUser);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether MFA is required for the given user.
|
||||
*
|
||||
* @param user target user
|
||||
* @return {@code true} if MFA is required
|
||||
*/
|
||||
public boolean isMfaRequired(User user) {
|
||||
String value = getSetting(user, MFA_REQUIRED_KEY);
|
||||
if (value == null) {
|
||||
value = "false";
|
||||
}
|
||||
log.info("MFA required for user {}: {}", user.getUsername(), value);
|
||||
return Boolean.parseBoolean(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets whether MFA is required for the given user.
|
||||
*
|
||||
* @param user target user
|
||||
* @param required {@code true} to require MFA
|
||||
* @throws SQLException when database persistence fails
|
||||
* @throws UnsupportedProviderException when the database provider is unsupported
|
||||
*/
|
||||
public void setMfaRequired(User user, boolean required)
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = ensureSettings(managedUser);
|
||||
settings.put(MFA_REQUIRED_KEY, Boolean.toString(required));
|
||||
log.info("Set MFA required={} for user {}", required, managedUser.getUsername());
|
||||
persist(managedUser);
|
||||
}
|
||||
|
||||
private String getSetting(User user, String key) {
|
||||
User managedUser = getUserWithSettings(user);
|
||||
Map<String, String> settings = managedUser.getSettings();
|
||||
if (settings == null) {
|
||||
return null;
|
||||
}
|
||||
return settings.get(key);
|
||||
}
|
||||
|
||||
private User getUserWithSettings(User user) {
|
||||
if (user == null || user.getId() == null) {
|
||||
return user;
|
||||
}
|
||||
return userRepository.findByIdWithSettings(user.getId()).orElse(user);
|
||||
}
|
||||
|
||||
private Map<String, String> ensureSettings(User user) {
|
||||
Map<String, String> settings = user.getSettings();
|
||||
if (settings == null) {
|
||||
settings = new HashMap<>();
|
||||
user.setSettings(settings);
|
||||
}
|
||||
return settings;
|
||||
}
|
||||
|
||||
private void persist(User user) throws SQLException, UnsupportedProviderException {
|
||||
userRepository.save(user);
|
||||
databaseService.exportDatabase();
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import lombok.Builder;
|
||||
import lombok.Getter;
|
||||
|
||||
import stirling.software.common.model.enumeration.Role;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.security.model.AuthenticationType;
|
||||
|
||||
/**
|
||||
* Carries all attributes required to create or update a user account, including credentials,
|
||||
* SSO/provider details, team association, role and MFA configuration. Used by the security service
|
||||
* layer to persist or update users.
|
||||
*
|
||||
* <p>Defaults:
|
||||
*
|
||||
* <ul>
|
||||
* <li>password: null
|
||||
* <li>ssoProviderId: null
|
||||
* <li>ssoProvider: null
|
||||
* <li>authenticationType: {@code AuthenticationType.WEB}
|
||||
* <li>teamId: null
|
||||
* <li>team: null
|
||||
* <li>role: {@code Role.USER.getRoleId()}
|
||||
* <li>firstLogin: false
|
||||
* <li>enabled: true
|
||||
* <li>requireMfa: false
|
||||
* <li>mfaEnabled: false
|
||||
* <li>mfaSecret: null
|
||||
* <li>mfaLastUsedStep: null
|
||||
* </ul>
|
||||
*/
|
||||
@Getter
|
||||
@Builder(builderClassName = "Builder")
|
||||
public class SaveUserRequest {
|
||||
private final String username;
|
||||
@Builder.Default private final String password = null;
|
||||
@Builder.Default private final String ssoProviderId = null;
|
||||
@Builder.Default private final String ssoProvider = null;
|
||||
@Builder.Default private final AuthenticationType authenticationType = AuthenticationType.WEB;
|
||||
@Builder.Default private final Long teamId = null;
|
||||
@Builder.Default private final Team team = null;
|
||||
@Builder.Default private final String role = Role.USER.getRoleId();
|
||||
@Builder.Default private final boolean firstLogin = false;
|
||||
@Builder.Default private final boolean enabled = true;
|
||||
@Builder.Default private final boolean requireMfa = false;
|
||||
@Builder.Default private final boolean mfaEnabled = false;
|
||||
@Builder.Default private final String mfaSecret = null;
|
||||
@Builder.Default private final Long mfaLastUsedStep = null;
|
||||
}
|
||||
+159
@@ -0,0 +1,159 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import java.net.URLEncoder;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.SecureRandom;
|
||||
import java.time.Instant;
|
||||
|
||||
import javax.crypto.Mac;
|
||||
import javax.crypto.spec.SecretKeySpec;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.proprietary.security.util.Base32Codec;
|
||||
|
||||
/**
|
||||
* Service for generating and validating TOTP secrets and codes for MFA authentication.
|
||||
*
|
||||
* <p>This service handles secret generation, code validation across time steps, and building
|
||||
* otpauth:// URIs to provision authenticator apps.
|
||||
*/
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
public class TotpService {
|
||||
|
||||
private static final int SECRET_LENGTH_BYTES = 20;
|
||||
private static final int CODE_DIGITS = 6;
|
||||
private static final int PERIOD_SECONDS = 30;
|
||||
private static final String HMAC_ALGORITHM = "HmacSHA1";
|
||||
private static final String DEFAULT_ISSUER = "Stirling PDF";
|
||||
private static final SecureRandom SECURE_RANDOM = new SecureRandom();
|
||||
|
||||
private final ApplicationProperties applicationProperties;
|
||||
|
||||
/**
|
||||
* Generates a new random TOTP secret encoded in Base32.
|
||||
*
|
||||
* @return Base32-encoded secret suitable for provisioning an authenticator app
|
||||
*/
|
||||
public String generateSecret() {
|
||||
byte[] secret = new byte[SECRET_LENGTH_BYTES];
|
||||
SECURE_RANDOM.nextBytes(secret);
|
||||
return Base32Codec.encode(secret);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks whether a submitted TOTP code is valid for the current time window.
|
||||
*
|
||||
* @param secret Base32-encoded shared secret
|
||||
* @param code six-digit code supplied by the user
|
||||
* @return {@code true} if the code is valid for the current time window
|
||||
*/
|
||||
public boolean isValidCode(String secret, String code) {
|
||||
return getValidTimeStep(secret, code) != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validates a TOTP code and returns the time step it matches.
|
||||
*
|
||||
* @param secret Base32-encoded shared secret
|
||||
* @param code six-digit code supplied by the user
|
||||
* @return matching time step, or {@code null} if the code is invalid
|
||||
*/
|
||||
public Long getValidTimeStep(String secret, String code) {
|
||||
if (secret == null || secret.isBlank() || code == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
String normalizedCode = code.replace(" ", "");
|
||||
if (!normalizedCode.matches("\\d{6}")) {
|
||||
return null;
|
||||
}
|
||||
|
||||
byte[] secretKey;
|
||||
try {
|
||||
secretKey = Base32Codec.decode(secret);
|
||||
} catch (IllegalArgumentException e) {
|
||||
return null;
|
||||
}
|
||||
long timeStep = Instant.now().getEpochSecond() / PERIOD_SECONDS;
|
||||
byte[] normalizedCodeBytes = normalizedCode.getBytes(StandardCharsets.UTF_8);
|
||||
|
||||
for (int offset = -1; offset <= 1; offset++) {
|
||||
long candidate = timeStep + offset;
|
||||
String generatedCode = generateCode(secretKey, candidate);
|
||||
if (MessageDigest.isEqual(
|
||||
generatedCode.getBytes(StandardCharsets.UTF_8), normalizedCodeBytes)) {
|
||||
return candidate;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Builds an otpauth:// URI for configuring TOTP in authenticator apps.
|
||||
*
|
||||
* @param username account identifier to embed in the label
|
||||
* @param secret Base32-encoded secret to embed in the URI
|
||||
* @return otpauth URI that can be encoded as a QR code
|
||||
*/
|
||||
public String buildOtpAuthUri(String username, String secret) {
|
||||
String issuer = resolveIssuer();
|
||||
String label = encodeForOtpAuth(issuer + ":" + username);
|
||||
String encodedIssuer = encodeForOtpAuth(issuer);
|
||||
|
||||
return "otpauth://totp/"
|
||||
+ label
|
||||
+ "?secret="
|
||||
+ secret
|
||||
+ "&issuer="
|
||||
+ encodedIssuer
|
||||
+ "&algorithm=SHA1&digits="
|
||||
+ CODE_DIGITS
|
||||
+ "&period="
|
||||
+ PERIOD_SECONDS;
|
||||
}
|
||||
|
||||
private String encodeForOtpAuth(String value) {
|
||||
return URLEncoder.encode(value, StandardCharsets.UTF_8).replace("+", "%20");
|
||||
}
|
||||
|
||||
private String resolveIssuer() {
|
||||
if (applicationProperties.getUi() != null) {
|
||||
String appName = applicationProperties.getUi().getAppNameNavbar();
|
||||
if (appName != null && !appName.isBlank()) {
|
||||
return appName.trim();
|
||||
}
|
||||
}
|
||||
return DEFAULT_ISSUER;
|
||||
}
|
||||
|
||||
private String generateCode(byte[] secret, long timeStep) {
|
||||
try {
|
||||
ByteBuffer buffer = ByteBuffer.allocate(8);
|
||||
buffer.putLong(timeStep);
|
||||
|
||||
Mac mac = Mac.getInstance(HMAC_ALGORITHM);
|
||||
mac.init(new SecretKeySpec(secret, HMAC_ALGORITHM));
|
||||
byte[] hash = mac.doFinal(buffer.array());
|
||||
|
||||
int offset = hash[hash.length - 1] & 0x0F;
|
||||
int binary =
|
||||
((hash[offset] & 0x7F) << 24)
|
||||
| ((hash[offset + 1] & 0xFF) << 16)
|
||||
| ((hash[offset + 2] & 0xFF) << 8)
|
||||
| (hash[offset + 3] & 0xFF);
|
||||
|
||||
int otp = binary % (int) Math.pow(10, CODE_DIGITS);
|
||||
return String.format("%0" + CODE_DIGITS + "d", otp);
|
||||
} catch (Exception e) {
|
||||
throw new IllegalStateException("Failed to generate TOTP code", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
+87
-200
@@ -1,5 +1,10 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import static stirling.software.proprietary.security.service.MfaService.MFA_ENABLED_KEY;
|
||||
import static stirling.software.proprietary.security.service.MfaService.MFA_LAST_USED_STEP_KEY;
|
||||
import static stirling.software.proprietary.security.service.MfaService.MFA_REQUIRED_KEY;
|
||||
import static stirling.software.proprietary.security.service.MfaService.MFA_SECRET_KEY;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
@@ -101,7 +106,13 @@ public class UserService implements UserServiceInterface {
|
||||
}
|
||||
|
||||
if (autoCreateUser) {
|
||||
saveUser(username, ssoProviderId, ssoProvider, type);
|
||||
SaveUserRequest.Builder builder =
|
||||
SaveUserRequest.builder()
|
||||
.username(username)
|
||||
.ssoProviderId(ssoProviderId)
|
||||
.ssoProvider(ssoProvider)
|
||||
.authenticationType(type);
|
||||
saveUserCore(builder.build());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,6 +152,14 @@ public class UserService implements UserServiceInterface {
|
||||
return user;
|
||||
}
|
||||
|
||||
private User saveUser(Optional<User> user, String apiKey) {
|
||||
if (user.isPresent()) {
|
||||
user.get().setApiKey(apiKey);
|
||||
return userRepository.save(user.get());
|
||||
}
|
||||
throw new UsernameNotFoundException("User not found");
|
||||
}
|
||||
|
||||
public User refreshApiKeyForUser(String username) {
|
||||
// reuse the add API key method for refreshing
|
||||
return addApiKeyToUser(username);
|
||||
@@ -179,162 +198,6 @@ public class UserService implements UserServiceInterface {
|
||||
return userOpt.isPresent() && apiKey.equals(userOpt.get().getApiKey());
|
||||
}
|
||||
|
||||
public void saveUser(String username, AuthenticationType authenticationType)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
saveUser(username, authenticationType, (Long) null, Role.USER.getRoleId());
|
||||
}
|
||||
|
||||
public void saveUser(
|
||||
String username,
|
||||
String ssoProviderId,
|
||||
String ssoProvider,
|
||||
AuthenticationType authenticationType)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
saveUser(
|
||||
username,
|
||||
ssoProviderId,
|
||||
ssoProvider,
|
||||
authenticationType,
|
||||
(Long) null,
|
||||
Role.USER.getRoleId());
|
||||
}
|
||||
|
||||
private User saveUser(Optional<User> user, String apiKey) {
|
||||
if (user.isPresent()) {
|
||||
user.get().setApiKey(apiKey);
|
||||
return userRepository.save(user.get());
|
||||
}
|
||||
throw new UsernameNotFoundException("User not found");
|
||||
}
|
||||
|
||||
public User saveUser(
|
||||
String username, AuthenticationType authenticationType, Long teamId, String role)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
return saveUserCore(
|
||||
username, // username
|
||||
null, // password
|
||||
null, // ssoProviderId
|
||||
null, // ssoProvider
|
||||
authenticationType, // authenticationType
|
||||
teamId, // teamId
|
||||
null, // team
|
||||
role, // role
|
||||
false, // firstLogin
|
||||
true // enabled
|
||||
);
|
||||
}
|
||||
|
||||
public User saveUser(
|
||||
String username,
|
||||
String ssoProviderId,
|
||||
String ssoProvider,
|
||||
AuthenticationType authenticationType,
|
||||
Long teamId,
|
||||
String role)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
return saveUserCore(
|
||||
username, // username
|
||||
null, // password
|
||||
ssoProviderId, // ssoProviderId
|
||||
ssoProvider, // ssoProvider
|
||||
authenticationType, // authenticationType
|
||||
teamId, // teamId
|
||||
null, // team
|
||||
role, // role
|
||||
false, // firstLogin
|
||||
true // enabled
|
||||
);
|
||||
}
|
||||
|
||||
public User saveUser(
|
||||
String username, AuthenticationType authenticationType, Team team, String role)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
return saveUserCore(
|
||||
username, // username
|
||||
null, // password
|
||||
null, // ssoProviderId
|
||||
null, // ssoProvider
|
||||
authenticationType, // authenticationType
|
||||
null, // teamId
|
||||
team, // team
|
||||
role, // role
|
||||
false, // firstLogin
|
||||
true // enabled
|
||||
);
|
||||
}
|
||||
|
||||
public User saveUser(String username, String password, Long teamId)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
return saveUserCore(
|
||||
username, // username
|
||||
password, // password
|
||||
null, // ssoProviderId
|
||||
null, // ssoProvider
|
||||
AuthenticationType.WEB, // authenticationType
|
||||
teamId, // teamId
|
||||
null, // team
|
||||
Role.USER.getRoleId(), // role
|
||||
false, // firstLogin
|
||||
true // enabled
|
||||
);
|
||||
}
|
||||
|
||||
public User saveUser(
|
||||
String username, String password, Team team, String role, boolean firstLogin)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
return saveUserCore(
|
||||
username, // username
|
||||
password, // password
|
||||
null, // ssoProviderId
|
||||
null, // ssoProvider
|
||||
AuthenticationType.WEB, // authenticationType
|
||||
null, // teamId
|
||||
team, // team
|
||||
role, // role
|
||||
firstLogin, // firstLogin
|
||||
true // enabled
|
||||
);
|
||||
}
|
||||
|
||||
public User saveUser(
|
||||
String username, String password, Long teamId, String role, boolean firstLogin)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
return saveUserCore(
|
||||
username, // username
|
||||
password, // password
|
||||
null, // ssoProviderId
|
||||
null, // ssoProvider
|
||||
AuthenticationType.WEB, // authenticationType
|
||||
teamId, // teamId
|
||||
null, // team
|
||||
role, // role
|
||||
firstLogin, // firstLogin
|
||||
true // enabled
|
||||
);
|
||||
}
|
||||
|
||||
public void saveUser(String username, String password, Long teamId, String role)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
saveUser(username, password, teamId, role, false);
|
||||
}
|
||||
|
||||
public void saveUser(
|
||||
String username, String password, Long teamId, boolean firstLogin, boolean enabled)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
saveUserCore(
|
||||
username, // username
|
||||
password, // password
|
||||
null, // ssoProviderId
|
||||
null, // ssoProvider
|
||||
AuthenticationType.WEB, // authenticationType
|
||||
teamId, // teamId
|
||||
null, // team
|
||||
Role.USER.getRoleId(), // role
|
||||
firstLogin, // firstLogin
|
||||
enabled // enabled
|
||||
);
|
||||
}
|
||||
|
||||
public void deleteUser(String username) {
|
||||
Optional<User> userOpt = findByUsernameIgnoreCase(username);
|
||||
if (userOpt.isPresent()) {
|
||||
@@ -485,75 +348,71 @@ public class UserService implements UserServiceInterface {
|
||||
}
|
||||
|
||||
/**
|
||||
* Core implementation for saving a user with all possible parameters. This method centralizes
|
||||
* the common logic for all saveUser variants.
|
||||
* Core method to save a user based on the provided SaveUserRequest.
|
||||
*
|
||||
* @param username Username for the new user
|
||||
* @param password Password for the user (may be null for SSO/OAuth users)
|
||||
* @param ssoProviderId Unique identifier from SSO provider (may be null for non-SSO users)
|
||||
* @param ssoProvider Name of the SSO provider (may be null for non-SSO users)
|
||||
* @param authenticationType Type of authentication (WEB, SSO, etc.)
|
||||
* @param teamId ID of the team to assign (may be null to use default)
|
||||
* @param team Team object to assign (takes precedence over teamId if both provided)
|
||||
* @param role Role to assign to the user
|
||||
* @param firstLogin Whether this is the user's first login
|
||||
* @param enabled Whether the user account is enabled
|
||||
* @param request The SaveUserRequest containing user details
|
||||
* @return The saved User object
|
||||
* @throws IllegalArgumentException If username is invalid or team is invalid
|
||||
* @throws SQLException If database operation fails
|
||||
* @throws UnsupportedProviderException If provider is not supported
|
||||
* @throws IllegalArgumentException If the username is invalid
|
||||
* @throws SQLException If a database error occurs
|
||||
* @throws UnsupportedProviderException If an unsupported provider is specified
|
||||
*/
|
||||
private User saveUserCore(
|
||||
String username,
|
||||
String password,
|
||||
String ssoProviderId,
|
||||
String ssoProvider,
|
||||
AuthenticationType authenticationType,
|
||||
Long teamId,
|
||||
Team team,
|
||||
String role,
|
||||
boolean firstLogin,
|
||||
boolean enabled)
|
||||
public User saveUserCore(SaveUserRequest request)
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
|
||||
if (!isUsernameValid(username)) {
|
||||
if (!isUsernameValid(request.getUsername())) {
|
||||
throw new IllegalArgumentException(getInvalidUsernameMessage());
|
||||
}
|
||||
|
||||
User user = new User();
|
||||
user.setUsername(username);
|
||||
user.setUsername(request.getUsername());
|
||||
|
||||
// Set password if provided
|
||||
if (password != null && !password.isEmpty()) {
|
||||
user.setPassword(passwordEncoder.encode(password));
|
||||
if (request.getPassword() != null && !request.getPassword().isEmpty()) {
|
||||
user.setPassword(passwordEncoder.encode(request.getPassword()));
|
||||
}
|
||||
|
||||
// Set SSO provider details if provided
|
||||
if (ssoProviderId != null && ssoProvider != null) {
|
||||
user.setSsoProviderId(ssoProviderId);
|
||||
user.setSsoProvider(ssoProvider);
|
||||
if (request.getSsoProviderId() != null && request.getSsoProvider() != null) {
|
||||
user.setSsoProviderId(request.getSsoProviderId());
|
||||
user.setSsoProvider(request.getSsoProvider());
|
||||
}
|
||||
|
||||
// Set authentication type
|
||||
user.setAuthenticationType(authenticationType);
|
||||
user.setAuthenticationType(request.getAuthenticationType());
|
||||
|
||||
// Set enabled status
|
||||
user.setEnabled(enabled);
|
||||
user.setEnabled(request.isEnabled());
|
||||
|
||||
// Set first login flag
|
||||
user.setFirstLogin(firstLogin);
|
||||
user.setFirstLogin(request.isFirstLogin());
|
||||
|
||||
// Set MFA requirement
|
||||
Map<String, String> settings = user.getSettings();
|
||||
settings.put(MFA_REQUIRED_KEY, String.valueOf(request.isRequireMfa()));
|
||||
settings.put(MFA_ENABLED_KEY, String.valueOf(request.isMfaEnabled()));
|
||||
if (request.getMfaSecret() != null && !request.getMfaSecret().isEmpty()) {
|
||||
settings.put(MFA_SECRET_KEY, request.getMfaSecret());
|
||||
} else {
|
||||
settings.remove(MFA_SECRET_KEY);
|
||||
}
|
||||
if (request.getMfaLastUsedStep() != null) {
|
||||
settings.put(MFA_LAST_USED_STEP_KEY, String.valueOf(request.getMfaLastUsedStep()));
|
||||
} else {
|
||||
settings.remove(MFA_LAST_USED_STEP_KEY);
|
||||
}
|
||||
log.info(
|
||||
"MFA required set to true for user {} {}",
|
||||
request.getUsername(),
|
||||
user.getSettings().toString());
|
||||
|
||||
// Set role (authority)
|
||||
if (role == null) {
|
||||
role = Role.USER.getRoleId();
|
||||
}
|
||||
user.addAuthority(new Authority(role, user));
|
||||
user.addAuthority(new Authority(request.getRole(), user));
|
||||
|
||||
// Resolve and set team
|
||||
if (team != null) {
|
||||
user.setTeam(team);
|
||||
if (request.getTeam() != null) {
|
||||
user.setTeam(request.getTeam());
|
||||
} else {
|
||||
user.setTeam(resolveTeam(teamId, this::getDefaultTeam));
|
||||
user.setTeam(resolveTeam(request.getTeamId(), this::getDefaultTeam));
|
||||
}
|
||||
|
||||
// Save user
|
||||
@@ -600,6 +459,32 @@ public class UserService implements UserServiceInterface {
|
||||
return user.isPresent() && user.get().hasPassword();
|
||||
}
|
||||
|
||||
public boolean isSsoAuthenticationTypeByUsername(String username) {
|
||||
Optional<User> user = findByUsernameIgnoreCase(username);
|
||||
if (user.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
String authType = user.get().getAuthenticationType();
|
||||
if (authType == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
try {
|
||||
AuthenticationType authenticationType =
|
||||
AuthenticationType.valueOf(authType.toUpperCase(Locale.ROOT));
|
||||
if (authenticationType == AuthenticationType.OAUTH2
|
||||
|| authenticationType == AuthenticationType.SAML2) {
|
||||
return true;
|
||||
}
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
// Fall through to legacy string comparison below
|
||||
}
|
||||
|
||||
// Backward compatibility for legacy "SSO" value without relying on the deprecated enum
|
||||
return "SSO".equalsIgnoreCase(authType);
|
||||
}
|
||||
|
||||
public boolean isAuthenticationTypeByUsername(
|
||||
String username, AuthenticationType authenticationType) {
|
||||
Optional<User> user = findByUsernameIgnoreCase(username);
|
||||
@@ -652,6 +537,7 @@ public class UserService implements UserServiceInterface {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCurrentUserAdmin() {
|
||||
try {
|
||||
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
|
||||
@@ -667,6 +553,7 @@ public class UserService implements UserServiceInterface {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCurrentUserFirstLogin() {
|
||||
try {
|
||||
String username = getCurrentUsername();
|
||||
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
package stirling.software.proprietary.security.util;
|
||||
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.util.Arrays;
|
||||
import java.util.Locale;
|
||||
|
||||
/**
|
||||
* RFC 4648 Base32 encoder/decoder for handling TOTP secrets.
|
||||
*
|
||||
* <p>This implementation is used to encode binary secrets into Base32 strings and decode them back
|
||||
* into byte arrays for TOTP processing.
|
||||
*/
|
||||
public final class Base32Codec {
|
||||
|
||||
private static final char[] ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".toCharArray();
|
||||
private static final int[] LOOKUP_TABLE = new int[128];
|
||||
|
||||
static {
|
||||
Arrays.fill(LOOKUP_TABLE, -1);
|
||||
for (int i = 0; i < ALPHABET.length; i++) {
|
||||
LOOKUP_TABLE[ALPHABET[i]] = i;
|
||||
}
|
||||
}
|
||||
|
||||
private Base32Codec() {}
|
||||
|
||||
/**
|
||||
* Encodes the provided bytes into a Base32 string.
|
||||
*
|
||||
* @param data the raw bytes to encode
|
||||
* @return Base32-encoded representation of the input, or an empty string for null/empty input
|
||||
*/
|
||||
public static String encode(byte[] data) {
|
||||
if (data == null || data.length == 0) {
|
||||
return "";
|
||||
}
|
||||
|
||||
StringBuilder result = new StringBuilder((data.length * 8 + 4) / 5);
|
||||
int buffer = data[0] & 0xFF;
|
||||
int bitsLeft = 8;
|
||||
int index = 1;
|
||||
|
||||
while (bitsLeft > 0 || index < data.length) {
|
||||
if (bitsLeft < 5) {
|
||||
if (index < data.length) {
|
||||
buffer = (buffer << 8) | (data[index++] & 0xFF);
|
||||
bitsLeft += 8;
|
||||
} else {
|
||||
int padding = 5 - bitsLeft;
|
||||
buffer <<= padding;
|
||||
bitsLeft += padding;
|
||||
}
|
||||
}
|
||||
|
||||
int digit = (buffer >> (bitsLeft - 5)) & 0x1F;
|
||||
bitsLeft -= 5;
|
||||
result.append(ALPHABET[digit]);
|
||||
}
|
||||
|
||||
return result.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Decodes a Base32 string into raw bytes.
|
||||
*
|
||||
* @param value Base32-encoded string (padding and whitespace are ignored)
|
||||
* @return decoded byte array, or an empty array for null/blank input
|
||||
* @throws IllegalArgumentException when the input contains invalid Base32 characters
|
||||
*/
|
||||
public static byte[] decode(String value) {
|
||||
if (value == null || value.isBlank()) {
|
||||
return new byte[0];
|
||||
}
|
||||
|
||||
String normalized = value.replace("=", "").replace(" ", "").toUpperCase(Locale.ROOT);
|
||||
ByteArrayOutputStream output = new ByteArrayOutputStream(normalized.length());
|
||||
int buffer = 0;
|
||||
int bitsLeft = 0;
|
||||
|
||||
for (char character : normalized.toCharArray()) {
|
||||
if (character >= LOOKUP_TABLE.length || LOOKUP_TABLE[character] == -1) {
|
||||
throw new IllegalArgumentException("Invalid Base32 character: " + character);
|
||||
}
|
||||
|
||||
buffer = (buffer << 5) | LOOKUP_TABLE[character];
|
||||
bitsLeft += 5;
|
||||
|
||||
if (bitsLeft >= 8) {
|
||||
output.write((buffer >> (bitsLeft - 8)) & 0xFF);
|
||||
bitsLeft -= 8;
|
||||
}
|
||||
}
|
||||
|
||||
return output.toByteArray();
|
||||
}
|
||||
}
|
||||
+137
@@ -0,0 +1,137 @@
|
||||
package stirling.software.proprietary.controller.api;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.model.enumeration.Role;
|
||||
import stirling.software.proprietary.config.AuditConfigurationProperties;
|
||||
import stirling.software.proprietary.controller.api.ProprietaryUIDataController.AccountData;
|
||||
import stirling.software.proprietary.controller.api.ProprietaryUIDataController.DatabaseData;
|
||||
import stirling.software.proprietary.controller.api.ProprietaryUIDataController.LoginData;
|
||||
import stirling.software.proprietary.repository.PersistentAuditEventRepository;
|
||||
import stirling.software.proprietary.security.database.repository.SessionRepository;
|
||||
import stirling.software.proprietary.security.database.repository.UserRepository;
|
||||
import stirling.software.proprietary.security.model.Authority;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
import stirling.software.proprietary.security.service.DatabaseService;
|
||||
import stirling.software.proprietary.security.service.MfaService;
|
||||
import stirling.software.proprietary.security.session.SessionPersistentRegistry;
|
||||
import stirling.software.proprietary.service.UserLicenseSettingsService;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class ProprietaryUIDataControllerTest {
|
||||
|
||||
@Mock private SessionPersistentRegistry sessionPersistentRegistry;
|
||||
@Mock private UserRepository userRepository;
|
||||
@Mock private TeamRepository teamRepository;
|
||||
@Mock private SessionRepository sessionRepository;
|
||||
@Mock private DatabaseService databaseService;
|
||||
@Mock private UserLicenseSettingsService licenseSettingsService;
|
||||
@Mock private PersistentAuditEventRepository auditRepository;
|
||||
@Mock private MfaService mfaService;
|
||||
|
||||
private ApplicationProperties applicationProperties;
|
||||
private AuditConfigurationProperties auditConfig;
|
||||
private ObjectMapper objectMapper;
|
||||
|
||||
private ProprietaryUIDataController controller;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
applicationProperties = new ApplicationProperties();
|
||||
applicationProperties.getUi().setLanguages(List.of("en", "de"));
|
||||
applicationProperties.getSystem().setDefaultLocale("en");
|
||||
applicationProperties.getSecurity().setEnableLogin(true);
|
||||
applicationProperties.getSecurity().getOauth2().setEnabled(false);
|
||||
applicationProperties.getSecurity().getSaml2().setEnabled(false);
|
||||
|
||||
auditConfig = new AuditConfigurationProperties(applicationProperties);
|
||||
objectMapper = new ObjectMapper();
|
||||
|
||||
controller =
|
||||
new ProprietaryUIDataController(
|
||||
applicationProperties,
|
||||
auditConfig,
|
||||
sessionPersistentRegistry,
|
||||
userRepository,
|
||||
teamRepository,
|
||||
sessionRepository,
|
||||
databaseService,
|
||||
objectMapper,
|
||||
false,
|
||||
licenseSettingsService,
|
||||
auditRepository,
|
||||
mfaService);
|
||||
}
|
||||
|
||||
@Test
|
||||
void loginDataFlagsFirstTimeSetupWhenNoUsers() {
|
||||
when(userRepository.findAll()).thenReturn(Collections.emptyList());
|
||||
|
||||
ResponseEntity<LoginData> response = controller.getLoginData();
|
||||
|
||||
assertThat(response.getStatusCode().is2xxSuccessful()).isTrue();
|
||||
LoginData body = response.getBody();
|
||||
assertThat(body.isFirstTimeSetup()).isTrue();
|
||||
assertThat(body.isShowDefaultCredentials()).isTrue();
|
||||
assertThat(body.getLanguages()).containsExactly("en", "de");
|
||||
assertThat(body.getDefaultLocale()).isEqualTo("en");
|
||||
}
|
||||
|
||||
@Test
|
||||
void accountDataReturnsUserSettingsAndMfaFlags() {
|
||||
User user = new User();
|
||||
user.setUsername("user@example.com");
|
||||
Authority authority = new Authority();
|
||||
authority.setAuthority(Role.USER.getRoleId());
|
||||
user.addAuthority(authority);
|
||||
user.setSettings(Map.of("theme", "dark"));
|
||||
|
||||
when(userRepository.findByUsernameIgnoreCaseWithSettings("user@example.com"))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(true);
|
||||
when(mfaService.isMfaRequired(user)).thenReturn(false);
|
||||
|
||||
UsernamePasswordAuthenticationToken authentication =
|
||||
new UsernamePasswordAuthenticationToken(user, null, user.getAuthorities());
|
||||
|
||||
ResponseEntity<AccountData> response = controller.getAccountData(authentication);
|
||||
|
||||
assertThat(response.getStatusCode().is2xxSuccessful()).isTrue();
|
||||
AccountData data = response.getBody();
|
||||
assertThat(data.getUsername()).isEqualTo("user@example.com");
|
||||
assertThat(data.isMfaEnabled()).isTrue();
|
||||
assertThat(data.isMfaRequired()).isFalse();
|
||||
assertThat(data.getSettings()).contains("\"theme\":\"dark\"");
|
||||
}
|
||||
|
||||
@Test
|
||||
void databaseDataMarksUnknownVersion() {
|
||||
when(databaseService.getBackupList()).thenReturn(List.of());
|
||||
when(databaseService.getH2Version()).thenReturn("Unknown");
|
||||
|
||||
ResponseEntity<DatabaseData> response = controller.getDatabaseData();
|
||||
|
||||
assertThat(response.getStatusCode().is2xxSuccessful()).isTrue();
|
||||
DatabaseData data = response.getBody();
|
||||
assertThat(data.getBackupFiles()).isEmpty();
|
||||
assertThat(data.isVersionUnknown()).isTrue();
|
||||
}
|
||||
}
|
||||
+115
@@ -0,0 +1,115 @@
|
||||
package stirling.software.proprietary.security;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.Mockito.never;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.util.Collections;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.ArgumentCaptor;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.test.util.ReflectionTestUtils;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.model.enumeration.Role;
|
||||
import stirling.software.common.model.exception.UnsupportedProviderException;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.service.DatabaseServiceInterface;
|
||||
import stirling.software.proprietary.security.service.SaveUserRequest;
|
||||
import stirling.software.proprietary.security.service.TeamService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
import stirling.software.proprietary.service.UserLicenseSettingsService;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class InitialSecuritySetupTest {
|
||||
|
||||
@Mock private UserService userService;
|
||||
@Mock private TeamService teamService;
|
||||
@Mock private DatabaseServiceInterface databaseService;
|
||||
@Mock private UserLicenseSettingsService licenseSettingsService;
|
||||
|
||||
private ApplicationProperties applicationProperties;
|
||||
private InitialSecuritySetup initialSecuritySetup;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
applicationProperties = new ApplicationProperties();
|
||||
applicationProperties.getSecurity().getInitialLogin().setUsername("admin");
|
||||
applicationProperties.getSecurity().getInitialLogin().setPassword("password");
|
||||
Team internalTeam = new Team();
|
||||
internalTeam.setName(TeamService.INTERNAL_TEAM_NAME);
|
||||
User internalUser = new User();
|
||||
internalUser.setUsername(Role.INTERNAL_API_USER.getRoleId());
|
||||
internalUser.setTeam(internalTeam);
|
||||
when(userService.findByUsernameIgnoreCase(Role.INTERNAL_API_USER.getRoleId()))
|
||||
.thenReturn(Optional.of(internalUser));
|
||||
when(teamService.getOrCreateInternalTeam()).thenReturn(internalTeam);
|
||||
initialSecuritySetup =
|
||||
new InitialSecuritySetup(
|
||||
userService,
|
||||
teamService,
|
||||
applicationProperties,
|
||||
databaseService,
|
||||
licenseSettingsService);
|
||||
}
|
||||
|
||||
@Test
|
||||
void initImportsBackupWhenPresent() throws SQLException, UnsupportedProviderException {
|
||||
when(userService.hasUsers()).thenReturn(false);
|
||||
when(databaseService.hasBackup()).thenReturn(true);
|
||||
when(userService.getUsersWithoutTeam()).thenReturn(Collections.emptyList());
|
||||
when(userService.usernameExistsIgnoreCase(Role.INTERNAL_API_USER.getRoleId()))
|
||||
.thenReturn(true);
|
||||
|
||||
initialSecuritySetup.init();
|
||||
|
||||
verify(databaseService).importDatabase();
|
||||
verify(userService, never()).saveUserCore(any());
|
||||
verify(licenseSettingsService).initializeGrandfatheredCount();
|
||||
verify(licenseSettingsService).updateLicenseMaxUsers();
|
||||
}
|
||||
|
||||
@Test
|
||||
void initCreatesConfiguredAdminWhenNoBackup()
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
when(userService.hasUsers()).thenReturn(false);
|
||||
when(databaseService.hasBackup()).thenReturn(false);
|
||||
when(userService.findByUsernameIgnoreCase("admin")).thenReturn(Optional.empty());
|
||||
Team defaultTeam = new Team();
|
||||
defaultTeam.setName(TeamService.DEFAULT_TEAM_NAME);
|
||||
when(teamService.getOrCreateDefaultTeam()).thenReturn(defaultTeam);
|
||||
when(userService.getUsersWithoutTeam()).thenReturn(Collections.emptyList());
|
||||
when(userService.usernameExistsIgnoreCase(Role.INTERNAL_API_USER.getRoleId()))
|
||||
.thenReturn(true);
|
||||
|
||||
initialSecuritySetup.init();
|
||||
|
||||
ArgumentCaptor<SaveUserRequest> captor = ArgumentCaptor.forClass(SaveUserRequest.class);
|
||||
verify(userService).saveUserCore(captor.capture());
|
||||
SaveUserRequest saved = captor.getValue();
|
||||
assertThat(saved.getUsername()).isEqualTo("admin");
|
||||
assertThat(saved.getPassword()).isEqualTo("password");
|
||||
}
|
||||
|
||||
@Test
|
||||
void configureJwtSettingsDisablesKeyCleanupWhenJwtDisabled() {
|
||||
ReflectionTestUtils.setField(initialSecuritySetup, "v2Enabled", true);
|
||||
applicationProperties.getSecurity().getJwt().setEnableKeystore(false);
|
||||
when(userService.hasUsers()).thenReturn(true);
|
||||
when(userService.getUsersWithoutTeam()).thenReturn(Collections.emptyList());
|
||||
when(userService.usernameExistsIgnoreCase(any())).thenReturn(true);
|
||||
|
||||
initialSecuritySetup.init();
|
||||
|
||||
assertThat(applicationProperties.getSecurity().getJwt().isEnableKeyCleanup()).isFalse();
|
||||
}
|
||||
}
|
||||
+234
@@ -0,0 +1,234 @@
|
||||
package stirling.software.proprietary.security.controller.api;
|
||||
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.ArgumentMatchers.eq;
|
||||
import static org.mockito.Mockito.never;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
|
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
|
||||
import org.springframework.security.core.context.SecurityContextHolder;
|
||||
import org.springframework.test.web.servlet.MockMvc;
|
||||
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.model.enumeration.Role;
|
||||
import stirling.software.proprietary.security.model.AuthenticationType;
|
||||
import stirling.software.proprietary.security.model.Authority;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.model.api.user.UsernameAndPassMfa;
|
||||
import stirling.software.proprietary.security.service.CustomUserDetailsService;
|
||||
import stirling.software.proprietary.security.service.JwtServiceInterface;
|
||||
import stirling.software.proprietary.security.service.LoginAttemptService;
|
||||
import stirling.software.proprietary.security.service.MfaService;
|
||||
import stirling.software.proprietary.security.service.TotpService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class AuthControllerLoginTest {
|
||||
|
||||
private final ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
private MockMvc mockMvc;
|
||||
private ApplicationProperties.Security securityProperties;
|
||||
|
||||
@Mock private UserService userService;
|
||||
@Mock private JwtServiceInterface jwtService;
|
||||
@Mock private CustomUserDetailsService userDetailsService;
|
||||
@Mock private LoginAttemptService loginAttemptService;
|
||||
@Mock private MfaService mfaService;
|
||||
@Mock private TotpService totpService;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
securityProperties = new ApplicationProperties.Security();
|
||||
securityProperties.setLoginMethod("all");
|
||||
|
||||
AuthController controller =
|
||||
new AuthController(
|
||||
userService,
|
||||
jwtService,
|
||||
userDetailsService,
|
||||
loginAttemptService,
|
||||
mfaService,
|
||||
totpService,
|
||||
securityProperties);
|
||||
mockMvc = MockMvcBuilders.standaloneSetup(controller).build();
|
||||
}
|
||||
|
||||
@Test
|
||||
void loginRejectsWhenUserPassDisabled() throws Exception {
|
||||
securityProperties.setLoginMethod(
|
||||
ApplicationProperties.Security.LoginMethods.OAUTH2.toString());
|
||||
UsernameAndPassMfa payload = buildPayload(null);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/login")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(payload)))
|
||||
.andExpect(status().isForbidden())
|
||||
.andExpect(
|
||||
jsonPath("$.error")
|
||||
.value(
|
||||
"Username/password authentication is not enabled. Please use the configured authentication method."));
|
||||
|
||||
verify(userDetailsService, never()).loadUserByUsername(any());
|
||||
}
|
||||
|
||||
@Test
|
||||
void loginBlockedAccountReturnsUnauthorized() throws Exception {
|
||||
UsernameAndPassMfa payload = buildPayload(null);
|
||||
when(loginAttemptService.isBlocked("user@example.com")).thenReturn(true);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/login")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(payload)))
|
||||
.andExpect(status().isUnauthorized())
|
||||
.andExpect(
|
||||
jsonPath("$.error")
|
||||
.value("Account is locked due to too many failed attempts"));
|
||||
|
||||
verify(loginAttemptService, never()).loginSucceeded(any());
|
||||
}
|
||||
|
||||
@Test
|
||||
void loginRequiresMfaCodeWhenEnabled() throws Exception {
|
||||
UsernameAndPassMfa payload = buildPayload(null);
|
||||
User user = buildUser();
|
||||
when(userDetailsService.loadUserByUsername("user@example.com")).thenReturn(user);
|
||||
when(userService.isPasswordCorrect(user, "pw")).thenReturn(true);
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(true);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/login")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(payload)))
|
||||
.andExpect(status().isUnauthorized())
|
||||
.andExpect(jsonPath("$.error").value("mfa_required"));
|
||||
|
||||
verify(loginAttemptService, never()).loginSucceeded(any());
|
||||
}
|
||||
|
||||
@Test
|
||||
void loginFailsWhenPasswordIncorrect() throws Exception {
|
||||
UsernameAndPassMfa payload = buildPayload(null);
|
||||
User user = buildUser();
|
||||
when(userDetailsService.loadUserByUsername("user@example.com")).thenReturn(user);
|
||||
when(userService.isPasswordCorrect(user, "pw")).thenReturn(false);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/login")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(payload)))
|
||||
.andExpect(status().isUnauthorized())
|
||||
.andExpect(jsonPath("$.error").value("Invalid credentials"));
|
||||
|
||||
verify(loginAttemptService).loginFailed("user@example.com");
|
||||
}
|
||||
|
||||
@Test
|
||||
void loginSucceedsAndGeneratesToken() throws Exception {
|
||||
UsernameAndPassMfa payload = buildPayload(null);
|
||||
User user = buildUser();
|
||||
when(userDetailsService.loadUserByUsername("user@example.com")).thenReturn(user);
|
||||
when(userService.isPasswordCorrect(user, "pw")).thenReturn(true);
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(false);
|
||||
when(jwtService.generateToken(eq("user@example.com"), any(Map.class)))
|
||||
.thenReturn("token-123");
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/login")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(payload)))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.session.access_token").value("token-123"))
|
||||
.andExpect(jsonPath("$.user.username").value("user@example.com"));
|
||||
|
||||
verify(loginAttemptService).loginSucceeded("user@example.com");
|
||||
}
|
||||
|
||||
@Test
|
||||
void refreshReturnsUnauthorizedWhenTokenMissing() throws Exception {
|
||||
when(jwtService.extractToken(any())).thenReturn(null);
|
||||
mockMvc.perform(post("/api/v1/auth/refresh"))
|
||||
.andExpect(status().isUnauthorized())
|
||||
.andExpect(jsonPath("$.error").value("No token found"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void refreshReturnsNewTokenWhenValid() throws Exception {
|
||||
User user = buildUser();
|
||||
when(jwtService.extractToken(any())).thenReturn("old");
|
||||
when(jwtService.extractUsername("old")).thenReturn("user@example.com");
|
||||
when(userDetailsService.loadUserByUsername("user@example.com")).thenReturn(user);
|
||||
when(jwtService.generateToken(eq("user@example.com"), any(Map.class)))
|
||||
.thenReturn("new-token");
|
||||
|
||||
mockMvc.perform(post("/api/v1/auth/refresh"))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.access_token").value("new-token"))
|
||||
.andExpect(jsonPath("$.expires_in").value(3600));
|
||||
}
|
||||
|
||||
@Test
|
||||
void getCurrentUserReturnsUnauthorizedWhenAnonymous() throws Exception {
|
||||
SecurityContextHolder.clearContext();
|
||||
|
||||
mockMvc.perform(get("/api/v1/auth/me"))
|
||||
.andExpect(status().isUnauthorized())
|
||||
.andExpect(jsonPath("$.error").value("Not authenticated"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void getCurrentUserReturnsUserDetails() throws Exception {
|
||||
User user = buildUser();
|
||||
UsernamePasswordAuthenticationToken authentication =
|
||||
new UsernamePasswordAuthenticationToken(user, null, user.getAuthorities());
|
||||
SecurityContextHolder.getContext().setAuthentication(authentication);
|
||||
|
||||
mockMvc.perform(get("/api/v1/auth/me"))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.user.username").value("user@example.com"))
|
||||
.andExpect(
|
||||
jsonPath("$.user.authenticationType")
|
||||
.value(AuthenticationType.WEB.name().toLowerCase()));
|
||||
|
||||
SecurityContextHolder.clearContext();
|
||||
}
|
||||
|
||||
private User buildUser() {
|
||||
User user = new User();
|
||||
user.setUsername("user@example.com");
|
||||
user.setEnabled(true);
|
||||
user.setAuthenticationType(AuthenticationType.WEB);
|
||||
|
||||
Authority authority = new Authority();
|
||||
authority.setAuthority(Role.USER.getRoleId());
|
||||
user.addAuthorities(Set.of(authority));
|
||||
return user;
|
||||
}
|
||||
|
||||
private UsernameAndPassMfa buildPayload(String mfaCode) {
|
||||
UsernameAndPassMfa payload = new UsernameAndPassMfa();
|
||||
payload.setUsername("user@example.com");
|
||||
payload.setPassword("pw");
|
||||
payload.setMfaCode(mfaCode);
|
||||
return payload;
|
||||
}
|
||||
}
|
||||
+218
@@ -0,0 +1,218 @@
|
||||
package stirling.software.proprietary.security.controller.api;
|
||||
|
||||
import static org.mockito.Mockito.never;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.verifyNoInteractions;
|
||||
import static org.mockito.Mockito.when;
|
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
|
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.InjectMocks;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
|
||||
import org.springframework.security.core.Authentication;
|
||||
import org.springframework.test.web.servlet.MockMvc;
|
||||
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import stirling.software.proprietary.security.model.AuthenticationType;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.service.CustomUserDetailsService;
|
||||
import stirling.software.proprietary.security.service.JwtServiceInterface;
|
||||
import stirling.software.proprietary.security.service.LoginAttemptService;
|
||||
import stirling.software.proprietary.security.service.MfaService;
|
||||
import stirling.software.proprietary.security.service.TotpService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class AuthControllerMfaTest {
|
||||
|
||||
private static final String USERNAME = "user@example.com";
|
||||
|
||||
private final ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
private MockMvc mockMvc;
|
||||
private Authentication authentication;
|
||||
private User user;
|
||||
|
||||
@Mock private UserService userService;
|
||||
@Mock private JwtServiceInterface jwtService;
|
||||
@Mock private CustomUserDetailsService userDetailsService;
|
||||
@Mock private LoginAttemptService loginAttemptService;
|
||||
@Mock private MfaService mfaService;
|
||||
@Mock private TotpService totpService;
|
||||
|
||||
@InjectMocks private AuthController authController;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
mockMvc = MockMvcBuilders.standaloneSetup(authController).build();
|
||||
authentication = new UsernamePasswordAuthenticationToken(USERNAME, "password", List.of());
|
||||
user = new User();
|
||||
user.setUsername(USERNAME);
|
||||
user.setAuthenticationType(AuthenticationType.WEB);
|
||||
}
|
||||
|
||||
@Test
|
||||
void setupMfaRequiresAuthentication() throws Exception {
|
||||
mockMvc.perform(get("/api/v1/auth/mfa/setup"))
|
||||
.andExpect(status().isUnauthorized())
|
||||
.andExpect(content().json("{\"error\":\"Not authenticated\"}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void setupMfaReturnsSecretAndUri() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(false);
|
||||
when(totpService.generateSecret()).thenReturn("SECRET");
|
||||
when(totpService.buildOtpAuthUri(USERNAME, "SECRET")).thenReturn("otpauth://test");
|
||||
|
||||
mockMvc.perform(get("/api/v1/auth/mfa/setup").principal(authentication))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.secret").value("SECRET"))
|
||||
.andExpect(jsonPath("$.otpauthUri").value("otpauth://test"));
|
||||
|
||||
verify(mfaService).setSecret(user, "SECRET");
|
||||
}
|
||||
|
||||
@Test
|
||||
void setupMfaReturnsConflictWhenAlreadyEnabled() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(true);
|
||||
|
||||
mockMvc.perform(get("/api/v1/auth/mfa/setup").principal(authentication))
|
||||
.andExpect(status().isConflict())
|
||||
.andExpect(content().json("{\"error\":\"MFA already enabled\"}"));
|
||||
|
||||
verify(totpService, never()).generateSecret();
|
||||
}
|
||||
|
||||
@Test
|
||||
void setupMfaRejectsNonWebAuthenticationType() throws Exception {
|
||||
user.setAuthenticationType(AuthenticationType.OAUTH2);
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
|
||||
mockMvc.perform(get("/api/v1/auth/mfa/setup").principal(authentication))
|
||||
.andExpect(status().isForbidden())
|
||||
.andExpect(
|
||||
content()
|
||||
.json(
|
||||
"{\"error\":\"MFA settings are only available for web accounts\"}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void enableMfaRejectsMissingCode() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.getSecret(user)).thenReturn("SECRET");
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/mfa/enable")
|
||||
.principal(authentication)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content("{}"))
|
||||
.andExpect(status().isBadRequest())
|
||||
.andExpect(content().json("{\"error\":\"MFA code is required\"}"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void enableMfaCompletesWorkflow() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.getSecret(user)).thenReturn("SECRET");
|
||||
when(totpService.getValidTimeStep("SECRET", "123456")).thenReturn(42L);
|
||||
when(mfaService.isTotpStepUsable(user, 42L)).thenReturn(true);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/mfa/enable")
|
||||
.principal(authentication)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(Map.of("code", "123456"))))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.enabled").value(true));
|
||||
|
||||
verify(mfaService).enableMfa(user);
|
||||
verify(mfaService).markTotpStepUsed(user, 42L);
|
||||
verify(mfaService).setMfaRequired(user, false);
|
||||
}
|
||||
|
||||
@Test
|
||||
void disableMfaCompletesWorkflow() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(true);
|
||||
when(mfaService.getSecret(user)).thenReturn("SECRET");
|
||||
when(totpService.getValidTimeStep("SECRET", "654321")).thenReturn(7L);
|
||||
when(mfaService.isTotpStepUsable(user, 7L)).thenReturn(true);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/mfa/disable")
|
||||
.principal(authentication)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(Map.of("code", "654321"))))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.enabled").value(false));
|
||||
|
||||
verify(mfaService).disableMfa(user);
|
||||
verify(mfaService).markTotpStepUsed(user, 7L);
|
||||
}
|
||||
|
||||
@Test
|
||||
void disableMfaReturnsDisabledWhenNotEnabled() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(false);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/auth/mfa/disable")
|
||||
.principal(authentication)
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(Map.of("code", "654321"))))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.enabled").value(false));
|
||||
|
||||
verify(mfaService, never()).getSecret(user);
|
||||
verifyNoInteractions(totpService);
|
||||
}
|
||||
|
||||
@Test
|
||||
void cancelMfaSetupClearsPendingSecret() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
|
||||
mockMvc.perform(post("/api/v1/auth/mfa/setup/cancel").principal(authentication))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.cleared").value(true));
|
||||
|
||||
verify(mfaService).clearPendingSecret(user);
|
||||
}
|
||||
|
||||
@Test
|
||||
void cancelMfaSetupReturnsConflictWhenEnabled() throws Exception {
|
||||
when(userService.findByUsernameIgnoreCaseWithSettings(USERNAME))
|
||||
.thenReturn(Optional.of(user));
|
||||
when(mfaService.isMfaEnabled(user)).thenReturn(true);
|
||||
|
||||
mockMvc.perform(post("/api/v1/auth/mfa/setup/cancel").principal(authentication))
|
||||
.andExpect(status().isConflict())
|
||||
.andExpect(content().json("{\"error\":\"MFA already enabled\"}"));
|
||||
|
||||
verify(mfaService, never()).clearPendingSecret(user);
|
||||
}
|
||||
}
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
package stirling.software.proprietary.security.controller.api;
|
||||
|
||||
import static org.hamcrest.Matchers.startsWith;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.Mockito.never;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
|
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||
|
||||
import java.security.Principal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.test.web.servlet.MockMvc;
|
||||
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.model.enumeration.Role;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.security.model.InviteToken;
|
||||
import stirling.software.proprietary.security.repository.InviteTokenRepository;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
import stirling.software.proprietary.security.service.EmailService;
|
||||
import stirling.software.proprietary.security.service.TeamService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class InviteLinkControllerTest {
|
||||
|
||||
@Mock private InviteTokenRepository inviteTokenRepository;
|
||||
@Mock private TeamRepository teamRepository;
|
||||
@Mock private UserService userService;
|
||||
@Mock private EmailService emailService;
|
||||
|
||||
private ApplicationProperties applicationProperties;
|
||||
private MockMvc mockMvc;
|
||||
private Principal adminPrincipal;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
applicationProperties = new ApplicationProperties();
|
||||
applicationProperties.getMail().setEnableInvites(true);
|
||||
applicationProperties.getMail().setInviteLinkExpiryHours(24);
|
||||
applicationProperties.getSystem().setFrontendUrl("https://frontend.example.com");
|
||||
|
||||
adminPrincipal = () -> "admin";
|
||||
|
||||
InviteLinkController controller =
|
||||
new InviteLinkController(
|
||||
inviteTokenRepository,
|
||||
teamRepository,
|
||||
userService,
|
||||
applicationProperties,
|
||||
Optional.of(emailService));
|
||||
mockMvc = MockMvcBuilders.standaloneSetup(controller).build();
|
||||
}
|
||||
|
||||
@Test
|
||||
void generateInviteLinkRejectsWhenInvitesDisabled() throws Exception {
|
||||
applicationProperties.getMail().setEnableInvites(false);
|
||||
|
||||
mockMvc.perform(post("/api/v1/invite/generate").principal(adminPrincipal))
|
||||
.andExpect(status().isBadRequest())
|
||||
.andExpect(jsonPath("$.error").value("Email invites are not enabled"));
|
||||
|
||||
verify(inviteTokenRepository, never()).save(any());
|
||||
}
|
||||
|
||||
@Test
|
||||
void generateInviteLinkRejectsInvalidEmail() throws Exception {
|
||||
applicationProperties.getMail().setEnableInvites(true);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/invite/generate")
|
||||
.principal(adminPrincipal)
|
||||
.param("email", "not-an-email"))
|
||||
.andExpect(status().isBadRequest())
|
||||
.andExpect(jsonPath("$.error").value("Invalid email address"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void generateInviteLinkBlocksOnLicenseLimit() throws Exception {
|
||||
applicationProperties.getPremium().setEnabled(true);
|
||||
applicationProperties.getPremium().setMaxUsers(1);
|
||||
when(userService.getTotalUsersCount()).thenReturn(1L);
|
||||
when(inviteTokenRepository.countActiveInvites(any(LocalDateTime.class))).thenReturn(0L);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/invite/generate")
|
||||
.principal(adminPrincipal)
|
||||
.param("email", "new@ex.com"))
|
||||
.andExpect(status().isBadRequest())
|
||||
.andExpect(jsonPath("$.error").value(startsWith("License limit reached")));
|
||||
}
|
||||
|
||||
@Test
|
||||
void generateInviteLinkBuildsFrontendUrl() throws Exception {
|
||||
Team defaultTeam = new Team();
|
||||
defaultTeam.setId(5L);
|
||||
defaultTeam.setName(TeamService.DEFAULT_TEAM_NAME);
|
||||
when(teamRepository.findByName(TeamService.DEFAULT_TEAM_NAME))
|
||||
.thenReturn(Optional.of(defaultTeam));
|
||||
when(userService.usernameExistsIgnoreCase("new@example.com")).thenReturn(false);
|
||||
when(inviteTokenRepository.findByEmail("new@example.com")).thenReturn(Optional.empty());
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/invite/generate")
|
||||
.principal(adminPrincipal)
|
||||
.param("email", "new@example.com"))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(
|
||||
jsonPath("$.inviteUrl")
|
||||
.value(startsWith("https://frontend.example.com/invite?token=")))
|
||||
.andExpect(jsonPath("$.email").value("new@example.com"));
|
||||
|
||||
verify(inviteTokenRepository).save(any());
|
||||
}
|
||||
|
||||
@Test
|
||||
void validateInviteTokenReturnsGoneWhenExpired() throws Exception {
|
||||
InviteToken expired = new InviteToken();
|
||||
expired.setToken("abc");
|
||||
expired.setExpiresAt(LocalDateTime.now().minusHours(1));
|
||||
expired.setRole(Role.USER.getRoleId());
|
||||
when(inviteTokenRepository.findByToken("abc")).thenReturn(Optional.of(expired));
|
||||
|
||||
mockMvc.perform(get("/api/v1/invite/validate/abc"))
|
||||
.andExpect(status().isGone())
|
||||
.andExpect(jsonPath("$.error").value("This invite link has expired"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void acceptInviteCreatesUserWhenEmailProvided() throws Exception {
|
||||
InviteToken invite = new InviteToken();
|
||||
invite.setToken("abc");
|
||||
invite.setExpiresAt(LocalDateTime.now().plusHours(2));
|
||||
invite.setRole(Role.USER.getRoleId());
|
||||
invite.setUsed(false);
|
||||
invite.setEmail(null); // email required from request
|
||||
when(inviteTokenRepository.findByToken("abc")).thenReturn(Optional.of(invite));
|
||||
when(userService.usernameExistsIgnoreCase("new@example.com")).thenReturn(false);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/invite/accept/abc")
|
||||
.param("email", "new@example.com")
|
||||
.param("password", "password123"))
|
||||
.andExpect(status().isOk())
|
||||
.andExpect(jsonPath("$.message").value("Account created successfully"))
|
||||
.andExpect(jsonPath("$.username").value("new@example.com"));
|
||||
|
||||
verify(userService).saveUserCore(any());
|
||||
verify(inviteTokenRepository).save(invite);
|
||||
}
|
||||
}
|
||||
+140
@@ -0,0 +1,140 @@
|
||||
package stirling.software.proprietary.security.controller.api;
|
||||
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.Mockito.never;
|
||||
import static org.mockito.Mockito.verify;
|
||||
import static org.mockito.Mockito.when;
|
||||
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
|
||||
import org.springframework.security.core.Authentication;
|
||||
import org.springframework.test.web.servlet.MockMvc;
|
||||
import org.springframework.test.web.servlet.setup.MockMvcBuilders;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.security.database.repository.UserRepository;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
import stirling.software.proprietary.security.model.api.user.UsernameAndPass;
|
||||
import stirling.software.proprietary.security.repository.TeamRepository;
|
||||
import stirling.software.proprietary.security.service.EmailService;
|
||||
import stirling.software.proprietary.security.service.TeamService;
|
||||
import stirling.software.proprietary.security.service.UserService;
|
||||
import stirling.software.proprietary.security.session.SessionPersistentRegistry;
|
||||
import stirling.software.proprietary.service.UserLicenseSettingsService;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class UserControllerTest {
|
||||
|
||||
private final ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
@Mock private UserService userService;
|
||||
@Mock private SessionPersistentRegistry sessionRegistry;
|
||||
@Mock private TeamRepository teamRepository;
|
||||
@Mock private UserRepository userRepository;
|
||||
@Mock private EmailService emailService;
|
||||
@Mock private UserLicenseSettingsService licenseSettingsService;
|
||||
|
||||
private ApplicationProperties applicationProperties;
|
||||
private MockMvc mockMvc;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
applicationProperties = new ApplicationProperties();
|
||||
applicationProperties.getPremium().setMaxUsers(10);
|
||||
applicationProperties.getMail().setEnabled(true);
|
||||
|
||||
UserController controller =
|
||||
new UserController(
|
||||
userService,
|
||||
sessionRegistry,
|
||||
applicationProperties,
|
||||
teamRepository,
|
||||
userRepository,
|
||||
Optional.of(emailService),
|
||||
licenseSettingsService);
|
||||
mockMvc = MockMvcBuilders.standaloneSetup(controller).build();
|
||||
}
|
||||
|
||||
@Test
|
||||
void registerRejectsExistingUser() throws Exception {
|
||||
UsernameAndPass payload = new UsernameAndPass();
|
||||
payload.setUsername("existing@example.com");
|
||||
payload.setPassword("pw");
|
||||
when(userService.usernameExistsIgnoreCase("existing@example.com")).thenReturn(true);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/user/register")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(payload)))
|
||||
.andExpect(status().isBadRequest())
|
||||
.andExpect(jsonPath("$.error").value("User already exists"));
|
||||
|
||||
verify(userService, never()).saveUserCore(any());
|
||||
}
|
||||
|
||||
@Test
|
||||
void registerCreatesUserWhenValid() throws Exception {
|
||||
UsernameAndPass payload = new UsernameAndPass();
|
||||
payload.setUsername("new@example.com");
|
||||
payload.setPassword("pw");
|
||||
Team defaultTeam = new Team();
|
||||
defaultTeam.setName(TeamService.DEFAULT_TEAM_NAME);
|
||||
|
||||
when(userService.usernameExistsIgnoreCase("new@example.com")).thenReturn(false);
|
||||
when(userService.isUsernameValid("new@example.com")).thenReturn(true);
|
||||
when(licenseSettingsService.wouldExceedLimit(1)).thenReturn(false);
|
||||
when(teamRepository.findByName(TeamService.DEFAULT_TEAM_NAME))
|
||||
.thenReturn(Optional.of(defaultTeam));
|
||||
|
||||
User savedUser = new User();
|
||||
savedUser.setUsername("new@example.com");
|
||||
savedUser.setEnabled(false);
|
||||
when(userService.saveUserCore(any())).thenReturn(savedUser);
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/user/register")
|
||||
.contentType(MediaType.APPLICATION_JSON)
|
||||
.content(objectMapper.writeValueAsString(payload)))
|
||||
.andExpect(status().isCreated())
|
||||
.andExpect(jsonPath("$.user.username").value("new@example.com"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void changeUserEnabledPreventsSelfDisable() throws Exception {
|
||||
User user = new User();
|
||||
user.setUsername("admin");
|
||||
when(userService.usernameExistsIgnoreCase("admin")).thenReturn(true);
|
||||
when(userService.findByUsernameIgnoreCase("admin")).thenReturn(Optional.of(user));
|
||||
Authentication authentication = new UsernamePasswordAuthenticationToken("admin", "pw");
|
||||
|
||||
mockMvc.perform(
|
||||
post("/api/v1/user/admin/changeUserEnabled/admin")
|
||||
.param("enabled", "false")
|
||||
.principal(authentication))
|
||||
.andExpect(status().isBadRequest())
|
||||
.andExpect(jsonPath("$.error").value("Cannot disable your own account."));
|
||||
}
|
||||
|
||||
@Test
|
||||
void changePasswordRejectsMissingUser() throws Exception {
|
||||
Authentication authentication = new UsernamePasswordAuthenticationToken("ghost", "pw");
|
||||
when(userService.usernameExistsIgnoreCase("ghost")).thenReturn(false);
|
||||
|
||||
mockMvc.perform(post("/api/v1/user/admin/deleteUser/ghost").principal(authentication))
|
||||
.andExpect(status().isNotFound())
|
||||
.andExpect(jsonPath("$.error").value("User not found."));
|
||||
}
|
||||
}
|
||||
+16
-16
@@ -36,12 +36,12 @@ class H2SQLConditionTest {
|
||||
|
||||
@Test
|
||||
void returnsFalse_whenEnableCustomDatabase_true_regardlessOfType() {
|
||||
// Flag=true, Typ=h2 -> false
|
||||
// Flag=true, Typ=h2 -> true
|
||||
MockEnvironment envTrueH2 =
|
||||
new MockEnvironment()
|
||||
.withProperty("system.datasource.enableCustomDatabase", "true")
|
||||
.withProperty("system.datasource.type", "h2");
|
||||
assertFalse(eval(envTrueH2));
|
||||
assertTrue(eval(envTrueH2));
|
||||
|
||||
// Flag=true, Typ=postgres -> false
|
||||
MockEnvironment envTrueOther =
|
||||
@@ -57,20 +57,6 @@ class H2SQLConditionTest {
|
||||
assertFalse(eval(envTrueMissingType));
|
||||
}
|
||||
|
||||
@Test
|
||||
void returnsFalse_whenTypeNotH2_orMissing_andFlagNotEnabled() {
|
||||
// Flag fehlt, Typ=postgres -> false
|
||||
MockEnvironment envNotH2 =
|
||||
new MockEnvironment().withProperty("system.datasource.type", "postgresql");
|
||||
assertFalse(eval(envNotH2));
|
||||
|
||||
// Flag=false, Typ fehlt -> false (Default: "")
|
||||
MockEnvironment envMissingType =
|
||||
new MockEnvironment()
|
||||
.withProperty("system.datasource.enableCustomDatabase", "false");
|
||||
assertFalse(eval(envMissingType));
|
||||
}
|
||||
|
||||
@Test
|
||||
void returnsFalse_whenEnabled_but_type_not_h2_or_missing() {
|
||||
MockEnvironment envNotH2 =
|
||||
@@ -84,4 +70,18 @@ class H2SQLConditionTest {
|
||||
.withProperty("system.datasource.enableCustomDatabase", "true");
|
||||
assertFalse(eval(envMissingType));
|
||||
}
|
||||
|
||||
@Test
|
||||
void returnsTrue_whenTypeNotH2_andCustomDatabaseDisabled() {
|
||||
MockEnvironment envNotH2 =
|
||||
new MockEnvironment()
|
||||
.withProperty("system.datasource.enableCustomDatabase", "false")
|
||||
.withProperty("system.datasource.type", "postgresql");
|
||||
assertTrue(eval(envNotH2));
|
||||
|
||||
MockEnvironment envMissingType =
|
||||
new MockEnvironment()
|
||||
.withProperty("system.datasource.enableCustomDatabase", "false");
|
||||
assertTrue(eval(envMissingType));
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -113,10 +113,10 @@ class UserTest {
|
||||
|
||||
// Use an existing value from your AuthenticationType enum (e.g. OAUTH2/SAML2/DATABASE)
|
||||
// If the name differs, simply adjust below.
|
||||
AuthenticationType at = AuthenticationType.SSO;
|
||||
AuthenticationType at = AuthenticationType.OAUTH2;
|
||||
u.setAuthenticationType(at);
|
||||
|
||||
assertEquals("sso", u.getAuthenticationType());
|
||||
assertEquals("oauth2", u.getAuthenticationType());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.assertj.core.api.Assertions.assertThatThrownBy;
|
||||
import static org.mockito.Mockito.verify;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.time.LocalDateTime;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.io.TempDir;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.MockitoAnnotations;
|
||||
import org.springframework.jdbc.datasource.DriverManagerDataSource;
|
||||
import org.springframework.test.util.ReflectionTestUtils;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.model.FileInfo;
|
||||
import stirling.software.proprietary.security.database.DatabaseNotificationServiceInterface;
|
||||
|
||||
class DatabaseServiceTest {
|
||||
|
||||
@TempDir Path tempDir;
|
||||
|
||||
@Mock private DatabaseNotificationServiceInterface notificationService;
|
||||
|
||||
private DatabaseService databaseService;
|
||||
private ApplicationProperties.Datasource datasourceProps;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
MockitoAnnotations.openMocks(this);
|
||||
datasourceProps = new ApplicationProperties.Datasource();
|
||||
datasourceProps.setType(ApplicationProperties.Driver.H2.name());
|
||||
datasourceProps.setCustomDatabaseUrl("jdbc:h2:mem:test");
|
||||
datasourceProps.setEnableCustomDatabase(false);
|
||||
|
||||
DataSource dataSource =
|
||||
new DriverManagerDataSource(
|
||||
"jdbc:h2:mem:" + UUID.randomUUID() + ";DB_CLOSE_DELAY=-1", "sa", "");
|
||||
|
||||
databaseService = new DatabaseService(datasourceProps, dataSource, notificationService);
|
||||
ReflectionTestUtils.setField(databaseService, "BACKUP_DIR", tempDir);
|
||||
}
|
||||
|
||||
@Test
|
||||
void hasBackupReturnsFalseWhenEmpty() {
|
||||
assertThat(databaseService.hasBackup()).isFalse();
|
||||
assertThat(Files.exists(tempDir)).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
void getBackupListReturnsEntries() throws IOException {
|
||||
Path backup =
|
||||
tempDir.resolve(
|
||||
"backup_"
|
||||
+ LocalDateTime.now()
|
||||
.format(DateTimeFormatter.ofPattern("yyyyMMddHHmm"))
|
||||
+ ".sql");
|
||||
Files.writeString(backup, "CREATE TABLE TEST(ID INT);");
|
||||
|
||||
List<stirling.software.common.model.FileInfo> backups = databaseService.getBackupList();
|
||||
|
||||
assertThat(backups).hasSize(1);
|
||||
assertThat(backups.get(0).getFileName()).isEqualTo(backup.getFileName().toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
void importDatabaseFromUICopiesBackupAndDeletesTemp() throws IOException {
|
||||
Path script = Files.createTempFile("script", ".sql");
|
||||
Files.writeString(script, "CREATE TABLE SAMPLE(ID INT PRIMARY KEY);\n");
|
||||
|
||||
boolean result = databaseService.importDatabaseFromUI(script);
|
||||
|
||||
assertThat(result).isTrue();
|
||||
assertThat(Files.exists(script)).isFalse();
|
||||
try (var stream = Files.list(tempDir)) {
|
||||
assertThat(stream.toList()).isNotEmpty();
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
void getBackupFilePathPreventsTraversal() {
|
||||
assertThatThrownBy(() -> databaseService.getBackupFilePath("../evil.sql"))
|
||||
.isInstanceOf(SecurityException.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
void deleteBackupFileRejectsInvalidName() throws Exception {
|
||||
boolean deleted = databaseService.deleteBackupFile("..bad.sql");
|
||||
assertThat(deleted).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void deleteAllBackupsRemovesFiles() throws Exception {
|
||||
Path first = tempDir.resolve("backup_first.sql");
|
||||
Path second = tempDir.resolve("backup_second.sql");
|
||||
Files.writeString(first, "SELECT 1;");
|
||||
Files.writeString(second, "SELECT 1;");
|
||||
|
||||
List<org.apache.commons.lang3.tuple.Pair<FileInfo, Boolean>> results =
|
||||
databaseService.deleteAllBackups();
|
||||
|
||||
assertThat(results).hasSize(2);
|
||||
assertThat(results.stream().allMatch(org.apache.commons.lang3.tuple.Pair::getRight))
|
||||
.isTrue();
|
||||
assertThat(Files.exists(first)).isFalse();
|
||||
assertThat(Files.exists(second)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
void exportDatabaseCreatesScript() {
|
||||
databaseService.exportDatabase();
|
||||
|
||||
assertThat(tempDir.toFile().list()).isNotEmpty();
|
||||
verify(notificationService)
|
||||
.notifyBackupsSuccess(
|
||||
org.mockito.ArgumentMatchers.anyString(),
|
||||
org.mockito.ArgumentMatchers.anyString());
|
||||
}
|
||||
}
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.InjectMocks;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
|
||||
import stirling.software.proprietary.security.database.repository.UserRepository;
|
||||
import stirling.software.proprietary.security.model.User;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
class MfaServiceTest {
|
||||
|
||||
@Mock private UserRepository userRepository;
|
||||
@Mock private DatabaseServiceInterface databaseService;
|
||||
|
||||
@InjectMocks private MfaService mfaService;
|
||||
|
||||
@Test
|
||||
void setSecretStoresSecretAndDisablesMfa() throws Exception {
|
||||
User user = new User();
|
||||
user.getSettings().put(MfaService.MFA_LAST_USED_STEP_KEY, "10");
|
||||
when(userRepository.save(any(User.class))).thenAnswer(i -> i.getArgument(0));
|
||||
|
||||
mfaService.setSecret(user, "NEWSECRET");
|
||||
|
||||
assertEquals("NEWSECRET", user.getSettings().get(MfaService.MFA_SECRET_KEY));
|
||||
assertEquals("false", user.getSettings().get(MfaService.MFA_ENABLED_KEY));
|
||||
assertNull(user.getSettings().get(MfaService.MFA_LAST_USED_STEP_KEY));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void enableMfaSetsEnabledFlag() throws Exception {
|
||||
User user = new User();
|
||||
when(userRepository.save(any(User.class))).thenAnswer(i -> i.getArgument(0));
|
||||
|
||||
mfaService.enableMfa(user);
|
||||
|
||||
assertEquals("true", user.getSettings().get(MfaService.MFA_ENABLED_KEY));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void disableMfaClearsSecretAndUsage() throws Exception {
|
||||
User user = new User();
|
||||
user.getSettings().put(MfaService.MFA_SECRET_KEY, "SECRET");
|
||||
user.getSettings().put(MfaService.MFA_LAST_USED_STEP_KEY, "20");
|
||||
when(userRepository.save(any(User.class))).thenAnswer(i -> i.getArgument(0));
|
||||
|
||||
mfaService.disableMfa(user);
|
||||
|
||||
assertEquals("false", user.getSettings().get(MfaService.MFA_ENABLED_KEY));
|
||||
assertNull(user.getSettings().get(MfaService.MFA_SECRET_KEY));
|
||||
assertNull(user.getSettings().get(MfaService.MFA_LAST_USED_STEP_KEY));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void markTotpStepUsedTracksNewestStep() throws Exception {
|
||||
User user = new User();
|
||||
when(userRepository.save(any(User.class))).thenAnswer(i -> i.getArgument(0));
|
||||
|
||||
assertTrue(mfaService.markTotpStepUsed(user, 100L));
|
||||
assertEquals("100", user.getSettings().get(MfaService.MFA_LAST_USED_STEP_KEY));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void markTotpStepUsedRejectsReplays() throws Exception {
|
||||
User user = new User();
|
||||
user.getSettings().put(MfaService.MFA_LAST_USED_STEP_KEY, "200");
|
||||
|
||||
assertFalse(mfaService.markTotpStepUsed(user, 199L));
|
||||
assertFalse(mfaService.markTotpStepUsed(user, 200L));
|
||||
verify(databaseService, never()).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void markTotpStepUsedIgnoresMalformedStoredValue() throws Exception {
|
||||
User user = new User();
|
||||
user.getSettings().put(MfaService.MFA_LAST_USED_STEP_KEY, "not-a-number");
|
||||
when(userRepository.save(any(User.class))).thenAnswer(i -> i.getArgument(0));
|
||||
|
||||
assertTrue(mfaService.markTotpStepUsed(user, 5L));
|
||||
assertEquals("5", user.getSettings().get(MfaService.MFA_LAST_USED_STEP_KEY));
|
||||
verify(databaseService, times(1)).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void isTotpStepUsableRespectsLastStep() {
|
||||
User user = new User();
|
||||
user.getSettings().put(MfaService.MFA_LAST_USED_STEP_KEY, "50");
|
||||
|
||||
assertFalse(mfaService.isTotpStepUsable(user, 50));
|
||||
assertFalse(mfaService.isTotpStepUsable(user, 40));
|
||||
assertTrue(mfaService.isTotpStepUsable(user, 51));
|
||||
}
|
||||
|
||||
@Test
|
||||
void isMfaRequiredDefaultsToFalse() {
|
||||
User user = new User();
|
||||
|
||||
assertFalse(mfaService.isMfaRequired(user));
|
||||
}
|
||||
|
||||
@Test
|
||||
void setMfaRequiredStoresFlag() throws Exception {
|
||||
User user = new User();
|
||||
when(userRepository.save(any(User.class))).thenAnswer(i -> i.getArgument(0));
|
||||
|
||||
mfaService.setMfaRequired(user, true);
|
||||
|
||||
assertEquals("true", user.getSettings().get(MfaService.MFA_REQUIRED_KEY));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void clearPendingSecretResetsValues() throws Exception {
|
||||
User user = new User();
|
||||
user.getSettings().put(MfaService.MFA_SECRET_KEY, "SECRET");
|
||||
user.getSettings().put(MfaService.MFA_LAST_USED_STEP_KEY, "12");
|
||||
when(userRepository.save(any(User.class))).thenAnswer(i -> i.getArgument(0));
|
||||
|
||||
mfaService.clearPendingSecret(user);
|
||||
|
||||
assertEquals("false", user.getSettings().get(MfaService.MFA_ENABLED_KEY));
|
||||
assertNull(user.getSettings().get(MfaService.MFA_SECRET_KEY));
|
||||
assertNull(user.getSettings().get(MfaService.MFA_LAST_USED_STEP_KEY));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void isMfaEnabledAndGetSecretReadSettings() {
|
||||
User user = new User();
|
||||
user.getSettings().put(MfaService.MFA_ENABLED_KEY, "true");
|
||||
user.getSettings().put(MfaService.MFA_SECRET_KEY, "SECRET");
|
||||
|
||||
assertTrue(mfaService.isMfaEnabled(user));
|
||||
assertEquals("SECRET", mfaService.getSecret(user));
|
||||
}
|
||||
}
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertFalse;
|
||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||
import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
|
||||
import java.lang.reflect.Method;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.Instant;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.proprietary.security.util.Base32Codec;
|
||||
|
||||
class TotpServiceTest {
|
||||
|
||||
private TotpService buildService(String appName) {
|
||||
ApplicationProperties properties = new ApplicationProperties();
|
||||
ApplicationProperties.Ui ui = new ApplicationProperties.Ui();
|
||||
ui.setAppNameNavbar(appName);
|
||||
properties.setUi(ui);
|
||||
return new TotpService(properties);
|
||||
}
|
||||
|
||||
@Test
|
||||
void generateSecretReturnsBase32String() {
|
||||
TotpService service = buildService("Test App");
|
||||
|
||||
String secret = service.generateSecret();
|
||||
|
||||
assertNotNull(secret);
|
||||
assertEquals(32, secret.length());
|
||||
assertTrue(secret.matches("[A-Z2-7]+"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void buildOtpAuthUriIncludesIssuerAndUsername() {
|
||||
TotpService service = buildService("Stirling Test");
|
||||
|
||||
String uri = service.buildOtpAuthUri("user@example.com", "SECRET");
|
||||
|
||||
assertTrue(uri.contains("issuer=Stirling%20Test"));
|
||||
assertTrue(uri.contains("Stirling%20Test%3Auser%40example.com"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void isValidCodeAcceptsCurrentAndAdjacentTimeSteps() throws Exception {
|
||||
TotpService service = buildService("Test App");
|
||||
byte[] secretBytes = "super-secret".getBytes(StandardCharsets.UTF_8);
|
||||
String secret = Base32Codec.encode(secretBytes);
|
||||
|
||||
long timeStep = Instant.now().getEpochSecond() / 30;
|
||||
String currentCode = generateCode(service, secretBytes, timeStep);
|
||||
String nextCode = generateCode(service, secretBytes, timeStep + 1);
|
||||
|
||||
assertTrue(service.isValidCode(secret, currentCode));
|
||||
assertEquals(timeStep, service.getValidTimeStep(secret, currentCode));
|
||||
assertTrue(service.isValidCode(secret, nextCode));
|
||||
}
|
||||
|
||||
@Test
|
||||
void isValidCodeRejectsInvalidFormats() {
|
||||
TotpService service = buildService("Test App");
|
||||
|
||||
assertFalse(service.isValidCode("SECRET", "ABCDEF"));
|
||||
assertFalse(service.isValidCode("SECRET", "12345"));
|
||||
assertFalse(service.isValidCode(null, "123456"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void isValidCodeRejectsInvalidSecrets() {
|
||||
TotpService service = buildService("Test App");
|
||||
|
||||
assertFalse(service.isValidCode("INVALID*", "123456"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void buildOtpAuthUriUsesDefaultIssuerWhenMissing() {
|
||||
ApplicationProperties properties = new ApplicationProperties();
|
||||
TotpService service = new TotpService(properties);
|
||||
|
||||
String uri = service.buildOtpAuthUri("user@example.com", "SECRET");
|
||||
|
||||
assertTrue(uri.contains("issuer=Stirling%20PDF"));
|
||||
}
|
||||
|
||||
private String generateCode(TotpService service, byte[] secretBytes, long timeStep)
|
||||
throws Exception {
|
||||
Method generateCode =
|
||||
TotpService.class.getDeclaredMethod("generateCode", byte[].class, long.class);
|
||||
generateCode.setAccessible(true);
|
||||
return (String) generateCode.invoke(service, secretBytes, timeStep);
|
||||
}
|
||||
}
|
||||
+118
-230
@@ -1,22 +1,26 @@
|
||||
package stirling.software.proprietary.security.service;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.mockito.ArgumentMatchers.any;
|
||||
import static org.mockito.ArgumentMatchers.anyLong;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.ArgumentCaptor;
|
||||
import org.mockito.InjectMocks;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.Spy;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import org.springframework.context.MessageSource;
|
||||
import org.springframework.security.crypto.password.PasswordEncoder;
|
||||
|
||||
import stirling.software.common.model.ApplicationProperties;
|
||||
import stirling.software.common.model.enumeration.Role;
|
||||
import stirling.software.common.model.exception.UnsupportedProviderException;
|
||||
import stirling.software.proprietary.model.Team;
|
||||
import stirling.software.proprietary.security.database.repository.AuthorityRepository;
|
||||
import stirling.software.proprietary.security.database.repository.UserRepository;
|
||||
@@ -29,272 +33,156 @@ import stirling.software.proprietary.security.session.SessionPersistentRegistry;
|
||||
class UserServiceTest {
|
||||
|
||||
@Mock private UserRepository userRepository;
|
||||
|
||||
@Mock private TeamRepository teamRepository;
|
||||
|
||||
@Mock private AuthorityRepository authorityRepository;
|
||||
|
||||
@Mock private PasswordEncoder passwordEncoder;
|
||||
|
||||
@Mock private MessageSource messageSource;
|
||||
|
||||
@Mock private SessionPersistentRegistry sessionPersistentRegistry;
|
||||
|
||||
@Mock private SessionPersistentRegistry sessionRegistry;
|
||||
@Mock private DatabaseServiceInterface databaseService;
|
||||
@Mock private ApplicationProperties.Security.OAUTH2 oAuth2;
|
||||
|
||||
@Mock private ApplicationProperties.Security.OAUTH2 oauth2Properties;
|
||||
|
||||
@InjectMocks private UserService userService;
|
||||
|
||||
private Team mockTeam;
|
||||
private User mockUser;
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
mockTeam = new Team();
|
||||
mockTeam.setId(1L);
|
||||
mockTeam.setName("Test Team");
|
||||
|
||||
mockUser = new User();
|
||||
mockUser.setId(1L);
|
||||
mockUser.setUsername("testuser");
|
||||
mockUser.setEnabled(true);
|
||||
}
|
||||
@Spy @InjectMocks private UserService userService;
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithUsernameAndAuthenticationType_Success() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
AuthenticationType authType = AuthenticationType.WEB;
|
||||
void saveUserCore_populatesFieldsAndPersists()
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
Long teamId = 42L;
|
||||
Team team = new Team();
|
||||
team.setId(teamId);
|
||||
when(teamRepository.findById(teamId)).thenReturn(Optional.of(team));
|
||||
when(passwordEncoder.encode("plain")).thenReturn("encoded");
|
||||
when(userRepository.save(any(User.class)))
|
||||
.thenAnswer(invocation -> invocation.getArgument(0));
|
||||
|
||||
when(teamRepository.findByName("Default")).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
SaveUserRequest request =
|
||||
SaveUserRequest.builder()
|
||||
.username("validUser")
|
||||
.password("plain")
|
||||
.ssoProviderId("sso-id")
|
||||
.ssoProvider("provider-x")
|
||||
.authenticationType(AuthenticationType.OAUTH2)
|
||||
.teamId(teamId)
|
||||
.role(Role.ADMIN.getRoleId())
|
||||
.firstLogin(true)
|
||||
.enabled(false)
|
||||
.requireMfa(true)
|
||||
.mfaEnabled(true)
|
||||
.mfaSecret("top-secret")
|
||||
.mfaLastUsedStep(5L)
|
||||
.build();
|
||||
|
||||
// When
|
||||
userService.saveUser(username, authType);
|
||||
User saved = userService.saveUserCore(request);
|
||||
|
||||
// Then
|
||||
verify(userRepository).save(any(User.class));
|
||||
ArgumentCaptor<User> userCaptor = ArgumentCaptor.forClass(User.class);
|
||||
verify(userRepository).save(userCaptor.capture());
|
||||
verify(databaseService).exportDatabase();
|
||||
|
||||
User persisted = userCaptor.getValue();
|
||||
assertEquals("validUser", persisted.getUsername());
|
||||
assertEquals("encoded", persisted.getPassword());
|
||||
assertEquals("provider-x", persisted.getSsoProvider());
|
||||
assertEquals("sso-id", persisted.getSsoProviderId());
|
||||
assertEquals(team, persisted.getTeam());
|
||||
assertEquals("oauth2", persisted.getAuthenticationType());
|
||||
assertFalse(persisted.isEnabled());
|
||||
assertTrue(persisted.isFirstLogin());
|
||||
assertTrue(
|
||||
persisted.getAuthorities().stream()
|
||||
.anyMatch(a -> Role.ADMIN.getRoleId().equals(a.getAuthority())));
|
||||
assertEquals(
|
||||
"true",
|
||||
persisted.getSettings().get(MfaService.MFA_REQUIRED_KEY),
|
||||
"MFA requirement should be stored");
|
||||
assertEquals(
|
||||
"true",
|
||||
persisted.getSettings().get(MfaService.MFA_ENABLED_KEY),
|
||||
"MFA enabled flag should be stored");
|
||||
assertEquals(
|
||||
"top-secret",
|
||||
persisted.getSettings().get(MfaService.MFA_SECRET_KEY),
|
||||
"MFA secret should be stored");
|
||||
assertEquals(
|
||||
"5",
|
||||
persisted.getSettings().get(MfaService.MFA_LAST_USED_STEP_KEY),
|
||||
"MFA last used step should be stored");
|
||||
assertSame(saved, persisted, "Returned user should be the persisted instance");
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithUsernamePasswordAndTeamId_Success() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
String password = "password123";
|
||||
Long teamId = 1L;
|
||||
String encodedPassword = "encodedPassword123";
|
||||
void saveUserCore_withoutTeam_usesDefaultTeam()
|
||||
throws SQLException, UnsupportedProviderException {
|
||||
Team defaultTeam = new Team();
|
||||
defaultTeam.setName("Default");
|
||||
when(teamRepository.findByName("Default")).thenReturn(Optional.of(defaultTeam));
|
||||
when(userRepository.save(any(User.class)))
|
||||
.thenAnswer(invocation -> invocation.getArgument(0));
|
||||
|
||||
when(passwordEncoder.encode(password)).thenReturn(encodedPassword);
|
||||
when(teamRepository.findById(teamId)).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
SaveUserRequest request = SaveUserRequest.builder().username("anotherUser").build();
|
||||
|
||||
// When
|
||||
User result = userService.saveUser(username, password, teamId);
|
||||
User saved = userService.saveUserCore(request);
|
||||
|
||||
// Then
|
||||
assertNotNull(result);
|
||||
verify(passwordEncoder).encode(password);
|
||||
verify(teamRepository).findById(teamId);
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(teamRepository).findByName("Default");
|
||||
verify(teamRepository, never()).findById(anyLong());
|
||||
verify(databaseService).exportDatabase();
|
||||
assertEquals(defaultTeam, saved.getTeam(), "Default team should be applied");
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithTeamAndRole_Success() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
String password = "password123";
|
||||
String role = Role.ADMIN.getRoleId();
|
||||
boolean firstLogin = true;
|
||||
String encodedPassword = "encodedPassword123";
|
||||
void processSSOPostLogin_autoCreatesUserWhenMissing()
|
||||
throws IllegalArgumentException, SQLException, UnsupportedProviderException {
|
||||
String username = "autoUser";
|
||||
doReturn(true).when(userService).isUsernameValid(username);
|
||||
when(userRepository.findBySsoProviderAndSsoProviderId("prov", "id"))
|
||||
.thenReturn(Optional.empty());
|
||||
when(userRepository.findByUsernameIgnoreCase(username)).thenReturn(Optional.empty());
|
||||
User created = new User();
|
||||
doReturn(created).when(userService).saveUserCore(any(SaveUserRequest.class));
|
||||
|
||||
when(passwordEncoder.encode(password)).thenReturn(encodedPassword);
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
userService.processSSOPostLogin(username, "id", "prov", true, AuthenticationType.SAML2);
|
||||
|
||||
// When
|
||||
User result = userService.saveUser(username, password, mockTeam, role, firstLogin);
|
||||
ArgumentCaptor<SaveUserRequest> reqCaptor = ArgumentCaptor.forClass(SaveUserRequest.class);
|
||||
verify(userService).saveUserCore(reqCaptor.capture());
|
||||
SaveUserRequest captured = reqCaptor.getValue();
|
||||
|
||||
// Then
|
||||
assertNotNull(result);
|
||||
verify(passwordEncoder).encode(password);
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(databaseService).exportDatabase();
|
||||
assertEquals(username, captured.getUsername());
|
||||
assertEquals("id", captured.getSsoProviderId());
|
||||
assertEquals("prov", captured.getSsoProvider());
|
||||
assertEquals(AuthenticationType.SAML2, captured.getAuthenticationType());
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithInvalidUsername_ThrowsException() throws Exception {
|
||||
// Given
|
||||
String invalidUsername = "ab"; // Too short (less than 3 characters)
|
||||
AuthenticationType authType = AuthenticationType.WEB;
|
||||
void addApiKeyToUserGeneratesAndPersists() {
|
||||
User user = new User();
|
||||
user.setUsername("user");
|
||||
when(userRepository.findByUsernameIgnoreCase("user")).thenReturn(Optional.of(user));
|
||||
when(userRepository.findByApiKey(any())).thenReturn(Optional.empty());
|
||||
when(userRepository.save(any(User.class)))
|
||||
.thenAnswer(invocation -> invocation.getArgument(0));
|
||||
|
||||
// When & Then
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> userService.saveUser(invalidUsername, authType));
|
||||
User updated = userService.addApiKeyToUser("user");
|
||||
|
||||
verify(userRepository, never()).save(any(User.class));
|
||||
verify(databaseService, never()).exportDatabase();
|
||||
assertNotNull(updated.getApiKey());
|
||||
verify(userRepository).save(user);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithNullPassword_Success() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
Long teamId = 1L;
|
||||
void getApiKeyForUserCreatesWhenMissing() {
|
||||
User user = new User();
|
||||
user.setUsername("user");
|
||||
when(userRepository.findByUsernameIgnoreCase("user")).thenReturn(Optional.of(user));
|
||||
when(userRepository.findByApiKey(any())).thenReturn(Optional.empty());
|
||||
when(userRepository.save(any(User.class)))
|
||||
.thenAnswer(invocation -> invocation.getArgument(0));
|
||||
|
||||
when(teamRepository.findById(teamId)).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
String apiKey = userService.getApiKeyForUser("user");
|
||||
|
||||
// When
|
||||
User result = userService.saveUser(username, null, teamId);
|
||||
|
||||
// Then
|
||||
assertNotNull(result);
|
||||
verify(passwordEncoder, never()).encode(anyString());
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(databaseService).exportDatabase();
|
||||
assertNotNull(apiKey);
|
||||
verify(userRepository).save(user);
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithEmptyPassword_Success() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
String emptyPassword = "";
|
||||
Long teamId = 1L;
|
||||
|
||||
when(teamRepository.findById(teamId)).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
|
||||
// When
|
||||
User result = userService.saveUser(username, emptyPassword, teamId);
|
||||
|
||||
// Then
|
||||
assertNotNull(result);
|
||||
verify(passwordEncoder, never()).encode(anyString());
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithValidEmail_Success() throws Exception {
|
||||
// Given
|
||||
String emailUsername = "test@example.com";
|
||||
AuthenticationType authType = AuthenticationType.OAUTH2;
|
||||
|
||||
when(teamRepository.findByName("Default")).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
|
||||
// When
|
||||
userService.saveUser(emailUsername, authType);
|
||||
|
||||
// Then
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithReservedUsername_ThrowsException() throws Exception {
|
||||
// Given
|
||||
String reservedUsername = "all_users";
|
||||
AuthenticationType authType = AuthenticationType.WEB;
|
||||
|
||||
// When & Then
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> userService.saveUser(reservedUsername, authType));
|
||||
|
||||
verify(userRepository, never()).save(any(User.class));
|
||||
verify(databaseService, never()).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithAnonymousUser_ThrowsException() throws Exception {
|
||||
// Given
|
||||
String anonymousUsername = "anonymoususer";
|
||||
AuthenticationType authType = AuthenticationType.WEB;
|
||||
|
||||
// When & Then
|
||||
assertThrows(
|
||||
IllegalArgumentException.class,
|
||||
() -> userService.saveUser(anonymousUsername, authType));
|
||||
|
||||
verify(userRepository, never()).save(any(User.class));
|
||||
verify(databaseService, never()).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_DatabaseExportThrowsException_StillSavesUser() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
String password = "password123";
|
||||
Long teamId = 1L;
|
||||
String encodedPassword = "encodedPassword123";
|
||||
|
||||
when(passwordEncoder.encode(password)).thenReturn(encodedPassword);
|
||||
when(teamRepository.findById(teamId)).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doThrow(new SQLException("Database export failed")).when(databaseService).exportDatabase();
|
||||
|
||||
// When & Then
|
||||
assertThrows(SQLException.class, () -> userService.saveUser(username, password, teamId));
|
||||
|
||||
// Verify user was still saved before the exception
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithFirstLoginFlag_Success() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
String password = "password123";
|
||||
Long teamId = 1L;
|
||||
boolean firstLogin = true;
|
||||
boolean enabled = false;
|
||||
String encodedPassword = "encodedPassword123";
|
||||
|
||||
when(passwordEncoder.encode(password)).thenReturn(encodedPassword);
|
||||
when(teamRepository.findById(teamId)).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
|
||||
// When
|
||||
userService.saveUser(username, password, teamId, firstLogin, enabled);
|
||||
|
||||
// Then
|
||||
verify(passwordEncoder).encode(password);
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(databaseService).exportDatabase();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testSaveUser_WithCustomRole_Success() throws Exception {
|
||||
// Given
|
||||
String username = "testuser";
|
||||
String password = "password123";
|
||||
Long teamId = 1L;
|
||||
String customRole = Role.LIMITED_API_USER.getRoleId();
|
||||
String encodedPassword = "encodedPassword123";
|
||||
|
||||
when(passwordEncoder.encode(password)).thenReturn(encodedPassword);
|
||||
when(teamRepository.findById(teamId)).thenReturn(Optional.of(mockTeam));
|
||||
when(userRepository.save(any(User.class))).thenReturn(mockUser);
|
||||
doNothing().when(databaseService).exportDatabase();
|
||||
|
||||
// When
|
||||
userService.saveUser(username, password, teamId, customRole);
|
||||
|
||||
// Then
|
||||
verify(passwordEncoder).encode(password);
|
||||
verify(userRepository).save(any(User.class));
|
||||
verify(databaseService).exportDatabase();
|
||||
void isUsernameValidRejectsReservedAndAcceptsEmail() {
|
||||
assertFalse(userService.isUsernameValid("ALL_USERS"));
|
||||
assertTrue(userService.isUsernameValid("valid@example.com"));
|
||||
}
|
||||
}
|
||||
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
package stirling.software.proprietary.security.util;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.junit.jupiter.api.Assertions.assertThrows;
|
||||
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
class Base32CodecTest {
|
||||
|
||||
@Test
|
||||
void encodeReturnsEmptyStringForEmptyInput() {
|
||||
assertEquals("", Base32Codec.encode(new byte[0]));
|
||||
assertEquals("", Base32Codec.encode(null));
|
||||
}
|
||||
|
||||
@Test
|
||||
void decodeReturnsEmptyArrayForBlankInput() {
|
||||
assertArrayEquals(new byte[0], Base32Codec.decode(null));
|
||||
assertArrayEquals(new byte[0], Base32Codec.decode(""));
|
||||
assertArrayEquals(new byte[0], Base32Codec.decode(" "));
|
||||
}
|
||||
|
||||
@Test
|
||||
void encodeDecodeRoundTrip() {
|
||||
byte[] input = "hello world".getBytes(StandardCharsets.UTF_8);
|
||||
String encoded = Base32Codec.encode(input);
|
||||
byte[] decoded = Base32Codec.decode(encoded);
|
||||
|
||||
assertArrayEquals(input, decoded);
|
||||
}
|
||||
|
||||
@Test
|
||||
void decodeAcceptsPaddingSpacesAndLowercase() {
|
||||
byte[] decoded = Base32Codec.decode("mzxw6y tboi====");
|
||||
assertEquals("foobar", new String(decoded, StandardCharsets.UTF_8));
|
||||
}
|
||||
|
||||
@Test
|
||||
void decodeRejectsInvalidCharacters() {
|
||||
assertThrows(IllegalArgumentException.class, () -> Base32Codec.decode("MZXW6$"));
|
||||
}
|
||||
}
|
||||
+17
-13
@@ -2,7 +2,7 @@ plugins {
|
||||
id "java"
|
||||
id "jacoco"
|
||||
id "io.spring.dependency-management" version "1.1.7"
|
||||
id "org.springframework.boot" version "3.5.7"
|
||||
id "org.springframework.boot" version "3.5.9"
|
||||
id "org.springdoc.openapi-gradle-plugin" version "1.9.0"
|
||||
id "io.swagger.swaggerhub" version "1.3.2"
|
||||
id "com.diffplug.spotless" version "8.1.0"
|
||||
@@ -18,7 +18,7 @@ import groovy.xml.XmlSlurper
|
||||
import org.gradle.api.tasks.testing.Test
|
||||
|
||||
ext {
|
||||
springBootVersion = "3.5.7"
|
||||
springBootVersion = "3.5.9"
|
||||
pdfboxVersion = "3.0.6"
|
||||
imageioVersion = "3.13.0"
|
||||
lombokVersion = "1.18.42"
|
||||
@@ -27,7 +27,7 @@ ext {
|
||||
openSamlVersion = "4.3.2"
|
||||
commonmarkVersion = "0.27.0"
|
||||
googleJavaFormatVersion = "1.28.0"
|
||||
logback = "1.5.23"
|
||||
logback = "1.5.25"
|
||||
junitPlatformVersion = "1.12.2"
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ springBoot {
|
||||
|
||||
allprojects {
|
||||
group = 'stirling.software'
|
||||
version = '2.3.1'
|
||||
version = '2.4.0'
|
||||
|
||||
configurations.configureEach {
|
||||
exclude group: 'commons-logging', module: 'commons-logging'
|
||||
@@ -102,12 +102,14 @@ def updateSimulationVersion(File fileToUpdate, String version) {
|
||||
writeIfChanged(fileToUpdate, updatedContent)
|
||||
}
|
||||
|
||||
def rootProjectRef = project
|
||||
|
||||
tasks.register('syncAppVersion') {
|
||||
group = 'versioning'
|
||||
description = 'Synchronizes app version across desktop and simulation configs.'
|
||||
|
||||
doLast {
|
||||
def appVersion = project.version.toString()
|
||||
def appVersion = rootProjectRef.version.toString()
|
||||
println "Synchronizing application version to ${appVersion}"
|
||||
updateTauriConfigVersion(appVersion)
|
||||
|
||||
@@ -149,18 +151,18 @@ subprojects {
|
||||
repositories {
|
||||
if (!rootProject.ext.mavenUrl.isEmpty()) {
|
||||
maven {
|
||||
url rootProject.ext.mavenUrl + '/releases'
|
||||
url = rootProject.ext.mavenUrl + '/releases'
|
||||
credentials(PasswordCredentials) {
|
||||
username rootProject.ext.username
|
||||
password rootProject.ext.password
|
||||
username = rootProject.ext.username
|
||||
password = rootProject.ext.password
|
||||
}
|
||||
authentication {
|
||||
basic(BasicAuthentication)
|
||||
}
|
||||
allowInsecureProtocol true
|
||||
allowInsecureProtocol = true
|
||||
}
|
||||
}
|
||||
maven { url "https://build.shibboleth.net/maven/releases" }
|
||||
maven { url = "https://build.shibboleth.net/maven/releases" }
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
@@ -397,8 +399,10 @@ tasks.withType(JavaCompile).configureEach {
|
||||
|
||||
gradle.taskGraph.whenReady { graph ->
|
||||
if (project.hasProperty("noSpotless")) {
|
||||
tasks.matching { it.name.startsWith("spotless") }.configureEach {
|
||||
enabled = false
|
||||
allprojects { scopedProject ->
|
||||
scopedProject.tasks.matching { it.name.startsWith("spotless") }.configureEach {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -533,4 +537,4 @@ tasks.register('buildRestartHelper', Jar) {
|
||||
doLast {
|
||||
println "restart-helper.jar created at: ${destinationDirectory.get()}/restart-helper.jar"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,6 @@ COPY . .
|
||||
|
||||
# Build server-only JAR (no frontend, includes security features controlled by DOCKER_ENABLE_SECURITY at runtime)
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=false \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# Stage 3: Final unified image
|
||||
|
||||
@@ -30,7 +30,6 @@ WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=true \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# Stage 3: Final unified ultra-lite image
|
||||
|
||||
@@ -25,7 +25,6 @@ COPY . .
|
||||
|
||||
# Build the application (server-only JAR - no UI, includes security features controlled at runtime)
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=false \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# ========================================
|
||||
|
||||
@@ -25,7 +25,6 @@ COPY . .
|
||||
|
||||
# Build the application (server-only JAR - no UI, includes security features controlled at runtime)
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=false \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# ========================================
|
||||
|
||||
@@ -21,7 +21,6 @@ COPY . .
|
||||
|
||||
# Build the application with DISABLE_ADDITIONAL_FEATURES=true
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=true \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# ========================================
|
||||
|
||||
@@ -32,12 +32,11 @@ COPY . .
|
||||
|
||||
# Build JAR with embedded frontend (includes security features controlled at runtime)
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=false \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -PbuildWithFrontend=true -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# Stage 2: Runtime image based on Debian stable-slim
|
||||
# Contains Java runtime + LibreOffice + Calibre + all PDF tools
|
||||
FROM debian:stable-slim@sha256:f6681102cd18b4c0c4720a77b602498f4bdcf701c8fc02776dfb0d4c350c381f
|
||||
FROM debian:stable-slim@sha256:ed542b2d269ff08139fc5ab8c762efe8c8986b564a423d5241a5ce9fb09b6c08
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -32,12 +32,11 @@ COPY . .
|
||||
|
||||
# Build JAR with embedded frontend (includes security features controlled at runtime)
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=false \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -PbuildWithFrontend=true -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# Stage 2: Runtime image based on Debian stable-slim
|
||||
# Contains Java runtime + LibreOffice + Calibre + all PDF tools + extra fonts for air-gapped environments
|
||||
FROM debian:stable-slim@sha256:f6681102cd18b4c0c4720a77b602498f4bdcf701c8fc02776dfb0d4c350c381f
|
||||
FROM debian:stable-slim@sha256:ed542b2d269ff08139fc5ab8c762efe8c8986b564a423d5241a5ce9fb09b6c08
|
||||
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
@@ -32,7 +32,6 @@ COPY . .
|
||||
|
||||
# Build ultra-lite JAR with embedded frontend (minimal features)
|
||||
RUN DISABLE_ADDITIONAL_FEATURES=true \
|
||||
STIRLING_PDF_DESKTOP_UI=false \
|
||||
./gradlew clean build -PbuildWithFrontend=true -x spotlessApply -x spotlessCheck -x test -x sonarqube
|
||||
|
||||
# Stage 2: Runtime image
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Frontend Dockerfile - React/Vite application
|
||||
FROM node:25-alpine@sha256:f4769ca6eeb6ebbd15eb9c8233afed856e437b75f486f7fccaa81d7c8ad56007 AS build
|
||||
FROM node:25-alpine@sha256:e80397b81fa93888b5f855e8bef37d9b18d3c5eb38b8731fc23d6d878647340f AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -16,7 +16,7 @@ COPY frontend .
|
||||
RUN npm run build
|
||||
|
||||
# Production stage
|
||||
FROM nginx:alpine@sha256:c083c3799197cfff91fe5c3c558db3d2eea65ccbbfd419fa42a64d2c39a24027
|
||||
FROM nginx:alpine@sha256:b0f7830b6bfaa1258f45d94c240ab668ced1b3651c8a222aefe6683447c7bf55
|
||||
|
||||
# Copy built files from build stage
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "اختر العملية"
|
||||
addOperationButton = "إضافة عملية"
|
||||
pipelineHeader = "خط الأنابيب:"
|
||||
saveButton = "تنزيل"
|
||||
saveForFolderScanning = "حفظ لمسح المجلد"
|
||||
validateButton = "تحقق"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "إعداد متصفح الويب"
|
||||
syncToBrowser = "مزامنة الحساب -> المتصفح"
|
||||
syncToAccount = "مزامنة الحساب <- المتصفح"
|
||||
|
||||
[account.mfa]
|
||||
title = "المصادقة ذات العاملين"
|
||||
setupFailed = "تعذّر بدء إعداد المصادقة ذات العاملين. يُرجى المحاولة مجددًا."
|
||||
codeRequired = "أدخل رمز المصادقة للمتابعة."
|
||||
enabled = "تم تمكين المصادقة ذات العاملين."
|
||||
enableFailed = "تعذّر تمكين المصادقة ذات العاملين. تحقّق من الرمز وحاول مرة أخرى."
|
||||
disabled = "تم تعطيل المصادقة ذات العاملين."
|
||||
disableFailed = "تعذّر تعطيل المصادقة ذات العاملين. تحقّق من الرمز وحاول مرة أخرى."
|
||||
description = "أضِف طبقة أمان إضافية إلى حسابك."
|
||||
enableButton = "تمكين المصادقة ذات العاملين"
|
||||
disableButton = "تعطيل المصادقة ذات العاملين"
|
||||
setupTitle = "إعداد المصادقة ذات العاملين"
|
||||
setupDescription = "امسح رمز QR باستخدام تطبيق المصادِق لديك، ثم أدخل الرمز المكوَّن من 6 أرقام للتأكيد."
|
||||
manualKey = "مفتاح الإعداد اليدوي"
|
||||
secretWarning = "احفظ هذا المفتاح سريًا. أي شخص لديه وصول يستطيع إنشاء رموز مصادقة صالحة."
|
||||
codePlaceholder = "أدخل رمزًا مكوّنًا من 6 أرقام"
|
||||
confirmEnable = "تمكين"
|
||||
disableTitle = "تعطيل المصادقة ذات العاملين"
|
||||
disableDescription = "أدخل رمز مصادقة صالحًا لتعطيل المصادقة ذات العاملين."
|
||||
codeLabel = "رمز المصادقة"
|
||||
confirmDisable = "تعطيل"
|
||||
ssoDescription = "تدار المصادقة ذات العاملين من قِبل موفّر الهوية الخاص بك لحسابات تسجيل الدخول الموحّد."
|
||||
ssoManaged = "قم بإعداد MFA عبر موفّر هويتك."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "إعدادات التحكم في المستخدم"
|
||||
header = "إعدادات التحكم في المستخدم للمسؤول"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "تنزيل ملف HTML الوسيط بدلًا من PDF"
|
||||
pdfaOptions = "خيارات PDF/A"
|
||||
outputFormat = "صيغة الناتج"
|
||||
pdfaNote = "PDF/A-1b أكثر توافقًا، وPDF/A-2b يدعم مزيدًا من الميزات."
|
||||
pdfaFormat = "تنسيق PDF/A"
|
||||
pdfaDigitalSignatureWarning = "يحتوي PDF على توقيع رقمي. سيتم إزالة هذا في الخطوة التالية."
|
||||
pdfxDigitalSignatureWarning = "يحتوي ملف PDF على توقيع رقمي. سيتم إزالة ذلك في الخطوة التالية."
|
||||
pdfxDescription = "PDF/X هو مجموعة فرعية قياسية من PDF وفق ISO يوفّر طباعة موثوقة وتبادُل الرسومات."
|
||||
fileFormat = "صيغة الملف"
|
||||
wordDoc = "مستند Word"
|
||||
wordDocExt = "مستند Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "لا يعمل حاليًا لمدخلات متعددة في وقت واح
|
||||
outputFormat = "تنسيق الإخراج"
|
||||
pdfWithDigitalSignature = "يحتوي PDF على توقيع رقمي. سيتم إزالة هذا في الخطوة التالية."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "طباعة,معيار,تحويل,إنتاج,ما قبل الطباعة,أرشفة"
|
||||
title = "PDF إلى PDF/X"
|
||||
header = "PDF إلى PDF/X"
|
||||
credit = "تستخدم هذه الخدمة Ghostscript لتحويل PDF/X"
|
||||
submit = "تحويل"
|
||||
tip = "لا يعمل حاليًا مع مدخلات متعددة دفعة واحدة"
|
||||
outputFormat = "تنسيق الإخراج"
|
||||
pdfWithDigitalSignature = "يحتوي ملف PDF على توقيع رقمي. سيتم إزالة ذلك في الخطوة التالية."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,وورد,تحويل,تنسيق,تحويل,مكتب,مايكروسوفت,ملف المستند"
|
||||
title = "تحويل PDF إلى Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "أخرى"
|
||||
perPageInfo = "معلومات لكل صفحة"
|
||||
tableOfContents = "جدول المحتويات"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "غير مُكتشف"
|
||||
passed = "تم الاجتياز"
|
||||
failed = "فشل"
|
||||
compliant = "متوافق"
|
||||
nonCompliant = "غير متوافق"
|
||||
none = "لم يتم اكتشاف أي معايير"
|
||||
passedCount = "ناجحة"
|
||||
failedCount = "فاشلة"
|
||||
noVerification = "لم يتم إجراء تحقق"
|
||||
noVerificationDesc = "لم يتم التحقق من التوافق مع معايير PDF لهذا المستند."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "المرفقات"
|
||||
embeddedFiles = "ملفات مضمنة"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} قيود"
|
||||
permsMixed = "بعض الأذونات مقيّدة"
|
||||
hasCompliance = "يتضمن معايير امتثال"
|
||||
noCompliance = "لا توجد معايير امتثال"
|
||||
compliancePassed = "{{standards}} متوافق"
|
||||
complianceChecked = "تم التحقق من المعايير ({{failed}} فاشلة)"
|
||||
basic = "معلومات أساسية"
|
||||
documentInfo = "معلومات المستند"
|
||||
securityTitle = "حالة الأمان"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "تم تغيير كلمة المرور بنجاح! ير
|
||||
credentialsUpdated = "تم تحديث بيانات الاعتماد الخاصة بك. يرجى تسجيل الدخول مجددًا."
|
||||
defaultCredentials = "بيانات اعتماد تسجيل الدخول الافتراضية"
|
||||
changePasswordWarning = "يرجى تغيير كلمة المرور بعد تسجيل الدخول لأول مرة"
|
||||
mfaRequired = "رمز المصادقة ذات العاملين مطلوب"
|
||||
mfaCode = "رمز المصادقة"
|
||||
enterMfaCode = "أدخل رمزًا مكوّنًا من 6 أرقام"
|
||||
mfaPromptTitle = "المصادقة ذات العاملين"
|
||||
mfaPromptBody = "أدخل رمز المصادقة من تطبيق المصادِق الخاص بك للمتابعة."
|
||||
verifyingMfa = "جارٍ التحقق..."
|
||||
verifyMfa = "تحقّق من الرمز"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "نظرة عامة على Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "مطلوب وضع تسجيل الدخول"
|
||||
message = "يجب تمكين وضع تسجيل الدخول لتعديل إعدادات المسؤول. يرجى ضبط SECURITY_ENABLELOGIN=true في بيئتك أو security.enableLogin: true في settings.yml، ثم أعد تشغيل الخادم."
|
||||
readOnly = "تعرض الإعدادات أدناه قيمًا نموذجية للمرجع. فعّل وضع تسجيل الدخول لعرض التهيئة الفعلية وتحريرها."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "مطلوب ترخيص Enterprise"
|
||||
message = "يلزم توفر ترخيص Enterprise للوصول إلى {{featureName}}. أنت تشاهد بيانات تجريبية للمرجع."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "مطلوب إعادة تشغيل"
|
||||
message = "تم حفظ الإعدادات بنجاح. يلزم إعادة تشغيل الخادم لتطبيق التغييرات."
|
||||
@@ -4771,6 +4834,48 @@ description = "إظهار رسائل خطأ مفصّلة للمستخدمين."
|
||||
title = "قاعدة البيانات"
|
||||
description = "تهيئة إعدادات اتصال قاعدة بيانات مخصصة لعمليات النشر المؤسسية."
|
||||
configuration = "تهيئة قاعدة البيانات"
|
||||
backupTitle = "النسخ الاحتياطية والاستعادة"
|
||||
backupDescription = "إدارة نسخ H2 الاحتياطية مباشرةً من وحدة تحكم المسؤول."
|
||||
loadError = "فشل تحميل النسخ الاحتياطية لقاعدة البيانات"
|
||||
backupCreated = "تم إنشاء النسخة الاحتياطية بنجاح"
|
||||
backupFailed = "فشل إنشاء النسخة الاحتياطية"
|
||||
deleteTitle = "حذف النسخة الاحتياطية"
|
||||
deleteConfirm = "هل تريد حذف هذه النسخة الاحتياطية؟ لا يمكن التراجع عن ذلك."
|
||||
deleteSuccess = "تم حذف النسخة الاحتياطية"
|
||||
deleteFailed = "فشل حذف النسخة الاحتياطية"
|
||||
deleteConfirmAction = "حذف النسخة الاحتياطية"
|
||||
downloadFailed = "فشل تنزيل النسخة الاحتياطية"
|
||||
version = "إصدار H2"
|
||||
embedded = "H2 مضمنة"
|
||||
external = "قاعدة بيانات خارجية"
|
||||
h2Only = "النسخ الاحتياطية متاحة فقط لقاعدة بيانات H2 المضمنة."
|
||||
h2Hint = "قم بتعيين نوع قاعدة البيانات إلى H2 وتعطيل قاعدة البيانات المخصصة لتمكين النسخ الاحتياطي والاستعادة."
|
||||
manageBackups = "إدارة النسخ الاحتياطية"
|
||||
refresh = "تحديث"
|
||||
createBackup = "إنشاء نسخة احتياطية"
|
||||
uploadTitle = "رفع واستيراد"
|
||||
chooseFile = "اختر ملف نسخ احتياطي بصيغة .sql"
|
||||
importFromUpload = "استيراد الملف المرفوع"
|
||||
confirmImportTitle = "تأكيد استيراد قاعدة البيانات"
|
||||
overwriteWarning = "تحذير: سيؤدي هذا إلى الكتابة فوق قاعدة البيانات الحالية."
|
||||
overwriteWarningBody = "سيتم استبدال جميع البيانات الحالية بالنسخة الاحتياطية المرفوعة. لا يمكن التراجع عن هذا الإجراء."
|
||||
confirmCodeLabel = "أدخل رمز التأكيد للمتابعة"
|
||||
enterCode = "أدخل الرمز الموضح أعلاه"
|
||||
confirmImport = "تأكيد الاستيراد"
|
||||
codeMismatch = "رمز التأكيد غير متطابق"
|
||||
codeMismatchBody = "يرجى إدخال الرمز تمامًا كما هو موضح للمتابعة."
|
||||
selectFile = "يرجى اختيار ملف .sql لاستيراده"
|
||||
importSuccess = "تم استيراد النسخة الاحتياطية بنجاح"
|
||||
importFailed = "فشل استيراد النسخة الاحتياطية"
|
||||
noBackups = "لا توجد نسخ احتياطية حتى الآن."
|
||||
unavailable = "قائمة النسخ الاحتياطية غير متاحة لتكوين قاعدة البيانات الحالي."
|
||||
fileName = "الملف"
|
||||
created = "تاريخ الإنشاء"
|
||||
size = "الحجم"
|
||||
actions = "إجراءات"
|
||||
download = "تنزيل"
|
||||
import = "استيراد"
|
||||
delete = "حذف"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "تمكين قاعدة بيانات مخصصة"
|
||||
@@ -4848,6 +4953,26 @@ description = "الحد الأقصى لـ DPI لمعالجة الصور (0 = غ
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "دليل tessdata"
|
||||
description = "المسار إلى دليل tessdata لملفات لغات OCR"
|
||||
downloadMissingTitle = "لم يتم اختيار أي لغة"
|
||||
downloadMissingBody = "يرجى اختيار لغة واحدة على الأقل للتنزيل."
|
||||
downloadSuccessTitle = "تم تنزيل اللغات"
|
||||
downloadSuccessBody = "تم حفظ لغات tessdata المحددة."
|
||||
downloadErrorTitle = "فشل التنزيل"
|
||||
loadingLanguages = "جارٍ تحميل لغات tessdata المثبتة..."
|
||||
installedLanguages = "لغات tessdata المثبتة"
|
||||
noLanguages = "لم يتم العثور على لغات tessdata في الدليل المُكوَّن."
|
||||
downloadLabel = "تنزيل لغات tessdata إضافية"
|
||||
downloadPlaceholder = "اختر اللغات"
|
||||
downloadNothingFound = "لم يتم العثور على لغات إضافية"
|
||||
permissionNotice = "مسار tessdata غير قابل للكتابة. سيتم فتح التنزيلات في المتصفح؛ يرجى حفظ ملفات .traineddata يدويًا في مجلد tessdata."
|
||||
manualLinks = "تنزيلات يدوية: انقر على الروابط وضع الملفات في مجلد tessdata."
|
||||
downloadButton = "تنزيل اللغات المحددة"
|
||||
downloadInvalidTitle = "اختيار غير صالح"
|
||||
downloadInvalidBody = "بعض اللغات المحددة غير متاحة للتنزيل. يرجى التحديث والاختيار من القائمة."
|
||||
downloadErrorNetwork = "فشل التنزيل بسبب خطأ في الشبكة. يرجى التحقق من الاتصال والمحاولة مرة أخرى."
|
||||
downloadErrorServer = "حدث خطأ في الخادم أثناء تنزيل لغات tessdata. يرجى المحاولة لاحقًا."
|
||||
downloadErrorPermission = "دليل tessdata غير قابل للكتابة: {{message}}. يرجى اختيار دليل قابل للكتابة (مثلاً ضمن مجلد بيانات التطبيق) أو ضبط الأذونات."
|
||||
downloadErrorGeneric = "فشل التنزيل: {{message}}. يرجى المحاولة لاحقًا."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "تعطيل تنقية HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "ابنِ مهامًا متعددة الخطوات عبر ربط إجرا
|
||||
invalidStep = "خطوة غير صالحة"
|
||||
reviewTitle = "نتائج الأتمتة"
|
||||
copyToSaved = "نسخ إلى المحفوظ"
|
||||
exportForFolderScanning = "تصدير لمسح المجلد"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "اختر ملفات لمعالجتها بهذه الأتمتة"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "إنشاء أتمتة"
|
||||
editTitle = "تحرير الأتمتة"
|
||||
intro = "تشغّل الأتمتات الأدوات بالتتابع. للبدء، أضف الأدوات بالترتيب الذي تريد تشغيلها."
|
||||
save = "حفظ الأتمتة"
|
||||
exportForFolderScanning = "تصدير لمسح المجلد"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "اسم الأتمتة"
|
||||
@@ -5746,9 +5873,11 @@ username = "اسم المستخدم (البريد الإلكتروني)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "كلمة المرور"
|
||||
passwordPlaceholder = "أدخل كلمة المرور"
|
||||
passwordRequired = "كلمة المرور مطلوبة"
|
||||
role = "الدور"
|
||||
team = "الفريق (اختياري)"
|
||||
teamPlaceholder = "اختر فريقًا"
|
||||
authType = "نوع المصادقة"
|
||||
forcePasswordChange = "فرض تغيير كلمة المرور عند أول تسجيل دخول"
|
||||
cancel = "إلغاء"
|
||||
submit = "إضافة عضو"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "اسم المستخدم وكلمة المرور مطلوبا
|
||||
passwordTooShort = "يجب أن تتكون كلمة المرور من 6 أحرف على الأقل"
|
||||
success = "تم إنشاء المستخدم بنجاح"
|
||||
error = "فشل إنشاء المستخدم"
|
||||
forceMFA = "فرض إعداد MFA عند تسجيل الدخول التالي"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "كلمة المرور"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "سيتم مصادقة المستخدم عبر موفّر SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "تحرير العضو"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "متاح {{count}} مقعد مستخدم"
|
||||
noSlotsAvailable = "لا توجد مقاعد متاحة"
|
||||
currentUsage = "تستخدم حالياً {{current}} من {{max}} تراخيص المستخدمين"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "تم تعطيل MFA بنجاح للمستخدم"
|
||||
adminDisableError = "فشل تعطيل MFA للمستخدم"
|
||||
disableByAdmin = "تعطيل MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "الفرق"
|
||||
description = "إدارة الفرق وتنظيم أعضاء مساحة العمل"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "نقطة النهاية"
|
||||
visits = "الزيارات"
|
||||
percentage = "النسبة المئوية"
|
||||
noData = "لا توجد بيانات متاحة"
|
||||
unknownEndpoint = "نقطة نهاية غير معروفة"
|
||||
|
||||
[backendHealth]
|
||||
checking = "جارٍ التحقق من حالة الواجهة الخلفية..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Əməliyyat seç"
|
||||
addOperationButton = "Əməliyyat əlavə et"
|
||||
pipelineHeader = "Boru xətti:"
|
||||
saveButton = "Endir"
|
||||
saveForFolderScanning = "Qovluq skanı üçün saxla"
|
||||
validateButton = "Doğrula"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Veb Brauzer Parametrləri"
|
||||
syncToBrowser = "Hesabı Sinxronlaşdır -> Brauzer"
|
||||
syncToAccount = "Hesabı Sinxronlaşdır <- Brauzer"
|
||||
|
||||
[account.mfa]
|
||||
title = "İki faktorlu doğrulama"
|
||||
setupFailed = "İki faktorlu doğrulamanın quraşdırılmasına başlamaq mümkün olmadı. Zəhmət olmasa yenidən cəhd edin."
|
||||
codeRequired = "Davam etmək üçün doğrulama kodunu daxil edin."
|
||||
enabled = "İki faktorlu doğrulama aktiv edildi."
|
||||
enableFailed = "İki faktorlu doğrulamanı aktiv etmək mümkün olmadı. Kodu yoxlayın və yenidən cəhd edin."
|
||||
disabled = "İki faktorlu doğrulama deaktiv edildi."
|
||||
disableFailed = "İki faktorlu doğrulamanı deaktiv etmək mümkün olmadı. Kodu yoxlayın və yenidən cəhd edin."
|
||||
description = "Hesabınıza əlavə təhlükəsizlik qatı əlavə edin."
|
||||
enableButton = "İki faktorlu doğrulamanı aktiv et"
|
||||
disableButton = "İki faktorlu doğrulamanı deaktiv et"
|
||||
setupTitle = "İki faktorlu doğrulamanı quraşdırın"
|
||||
setupDescription = "Doğrulama tətbiqinizlə QR kodunu skan edin, sonra təsdiqləmək üçün 6 rəqəmli kodu daxil edin."
|
||||
manualKey = "Əl ilə quraşdırma açarı"
|
||||
secretWarning = "Bu açarı məxfi saxlayın. Girişi olan hər kəs etibarlı doğrulama kodları yarada bilər."
|
||||
codePlaceholder = "6 rəqəmli kodu daxil edin"
|
||||
confirmEnable = "Aktiv et"
|
||||
disableTitle = "İki faktorlu doğrulamanı deaktiv et"
|
||||
disableDescription = "İki faktorlu doğrulamanı deaktiv etmək üçün etibarlı doğrulama kodunu daxil edin."
|
||||
codeLabel = "Doğrulama kodu"
|
||||
confirmDisable = "Deaktiv et"
|
||||
ssoDescription = "Single sign-on hesabları üçün iki faktorlu doğrulama şəxsiyyət provayderiniz tərəfindən idarə olunur."
|
||||
ssoManaged = "MFA-nı şəxsiyyət provayderiniz vasitəsilə konfiqurasiya edin."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "İstifadəçi İdarəetmə Parametrləri"
|
||||
header = "Admin İstifadəçi Nəzarəti Parametrləri"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "PDF əvəzinə ara HTML faylını endir"
|
||||
pdfaOptions = "PDF/A seçimləri"
|
||||
outputFormat = "Çıxış formatı"
|
||||
pdfaNote = "PDF/A-1b daha uyğundur, PDF/A-2b daha çox funksiyanı dəstəkləyir."
|
||||
pdfaFormat = "PDF/A formatı"
|
||||
pdfaDigitalSignatureWarning = "PDF Rəqəmsal İmza Ehtiva Edir.Bu, növbəti addımda silinəcək."
|
||||
pdfxDigitalSignatureWarning = "PDF rəqəmsal imza ehtiva edir. Bu imza növbəti addımda silinəcək."
|
||||
pdfxDescription = "PDF/X etibarlı çap və qrafika mübadiləsi üçün ISO standartlı PDF alt dəstidir."
|
||||
fileFormat = "Fayl formatı"
|
||||
wordDoc = "Word sənədi"
|
||||
wordDocExt = "Word sənədi (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Hazırda Birdən Çox Giriş Üçün İşləmir"
|
||||
outputFormat = "Çıxış Formatı"
|
||||
pdfWithDigitalSignature = "PDF Rəqəmsal İmza Ehtiva Edir.Bu, növbəti addımda silinəcək."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "çap,standart,çevrilmə,istehsal,prepress,arxiv"
|
||||
title = "PDF-dən PDF/X-ə"
|
||||
header = "PDF-dən PDF/X-ə"
|
||||
credit = "Bu xidmət PDF/X çevrilməsi üçün Ghostscript-dən istifadə edir"
|
||||
submit = "Çevir"
|
||||
tip = "Hazırda eyni anda bir neçə girişi dəstəkləmir"
|
||||
outputFormat = "Çıxış formatı"
|
||||
pdfWithDigitalSignature = "PDF rəqəmsal imza ehtiva edir. Bu imza növbəti addımda silinəcək."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,dəyişmə,format,çevirmə,ofis,microsoft,docfile"
|
||||
title = "PDF-i Word-ə"
|
||||
@@ -3153,6 +3191,18 @@ other = "Digər"
|
||||
perPageInfo = "Hər səhifə üzrə məlumat"
|
||||
tableOfContents = "Mündəricat"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Aşkarlanmadı"
|
||||
passed = "Keçdi"
|
||||
failed = "Keçmədi"
|
||||
compliant = "Uyğun"
|
||||
nonCompliant = "Uyğun deyil"
|
||||
none = "Heç bir standart aşkarlanmadı"
|
||||
passedCount = "keçdi"
|
||||
failedCount = "keçmədi"
|
||||
noVerification = "Yoxlama aparılmadı"
|
||||
noVerificationDesc = "Bu sənəd üçün PDF standartlarına uyğunluq yoxlanılmadı."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Əlavələr"
|
||||
embeddedFiles = "Gömülü fayllar"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} məhdudiyyət"
|
||||
permsMixed = "Bəzi icazələr məhdudlaşdırılıb"
|
||||
hasCompliance = "Uyğunluq standartları mövcuddur"
|
||||
noCompliance = "Uyğunluq standartları yoxdur"
|
||||
compliancePassed = "{{standards}} uyğundur"
|
||||
complianceChecked = "Standartlar yoxlanıldı ({{failed}} keçmədi)"
|
||||
basic = "Əsas Məlumat"
|
||||
documentInfo = "Sənəd Məlumatı"
|
||||
securityTitle = "Təhlükəsizlik Vəziyyəti"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Parol uğurla dəyişdirildi! Zəhmət olmasa yeni par
|
||||
credentialsUpdated = "Giriş məlumatlarınız yeniləndi. Zəhmət olmasa yenidən daxil olun."
|
||||
defaultCredentials = "Standart giriş məlumatları"
|
||||
changePasswordWarning = "İlk dəfə daxil olduqdan sonra şifrənizi dəyişin"
|
||||
mfaRequired = "İki faktorlu doğrulama kodu tələb olunur"
|
||||
mfaCode = "Doğrulama kodu"
|
||||
enterMfaCode = "6 rəqəmli kodu daxil edin"
|
||||
mfaPromptTitle = "İki faktorlu doğrulama"
|
||||
mfaPromptBody = "Davam etmək üçün doğrulama tətbiqinizdən doğrulama kodunu daxil edin."
|
||||
verifyingMfa = "Yoxlanılır..."
|
||||
verifyMfa = "Kodu doğrula"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF icmalı"
|
||||
@@ -4324,6 +4383,10 @@ title = "Giriş rejimi tələb olunur"
|
||||
message = "Admin ayarlarını dəyişmək üçün giriş rejimi aktiv olmalıdır. Zəhmət olmasa mühitinizdə SECURITY_ENABLELOGIN=true və ya settings.yml faylında security.enableLogin: true olaraq təyin edin, sonra serveri yenidən başladın."
|
||||
readOnly = "Aşağıdakı ayarlar yalnız nümunə dəyərlər üçün göstərilir. Giriş rejimini aktiv edin ki, real konfiqurasiyaya baxa və redaktə edə biləsiniz."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Enterprise lisenziyası tələb olunur"
|
||||
message = "{{featureName}} funksiyasına daxil olmaq üçün Enterprise lisenziyası tələb olunur. Siz istinad üçün demo məlumatlarına baxırsınız."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Yenidən başlatmaq tələb olunur"
|
||||
message = "Ayarlar uğurla yadda saxlanıldı. Dəyişikliklərin qüvvəyə minməsi üçün serverin yenidən başlaması tələb olunur."
|
||||
@@ -4771,6 +4834,48 @@ description = "İstifadəçilər üçün ətraflı xəta mesajlarını göstəri
|
||||
title = "Məlumat Bazası"
|
||||
description = "Müəssisə yerləşdirmələri üçün fərdi məlumat bazası bağlantı ayarlarını konfiqurasiya edin."
|
||||
configuration = "Məlumat Bazası Konfiqurasiyası"
|
||||
backupTitle = "Ehtiyat nüsxələr və Bərpa"
|
||||
backupDescription = "H2 ehtiyat nüsxələrini birbaşa admin konsolundan idarə edin."
|
||||
loadError = "Məlumat bazası ehtiyat nüsxələrini yükləmək alınmadı"
|
||||
backupCreated = "Ehtiyat nüsxə uğurla yaradıldı"
|
||||
backupFailed = "Ehtiyat nüsxə yaratmaq alınmadı"
|
||||
deleteTitle = "Ehtiyat nüsxəni sil"
|
||||
deleteConfirm = "Bu ehtiyat nüsxəni silmək istəyirsiniz? Bu əməliyyat geri alına bilməz."
|
||||
deleteSuccess = "Ehtiyat nüsxə silindi"
|
||||
deleteFailed = "Ehtiyat nüsxəni silmək alınmadı"
|
||||
deleteConfirmAction = "Ehtiyat nüsxəni sil"
|
||||
downloadFailed = "Ehtiyat nüsxəni endirmək alınmadı"
|
||||
version = "H2 Versiyası"
|
||||
embedded = "Gömülü H2"
|
||||
external = "Xarici DB"
|
||||
h2Only = "Ehtiyat nüsxələr yalnız gömülü H2 məlumat bazası üçün mövcuddur."
|
||||
h2Hint = "Ehtiyat nüsxə və bərpanı aktivləşdirmək üçün məlumat bazası növünü H2 olaraq təyin edin və xüsusi məlumat bazasını söndürün."
|
||||
manageBackups = "Ehtiyat nüsxələri idarə et"
|
||||
refresh = "Yenilə"
|
||||
createBackup = "Ehtiyat nüsxə yarat"
|
||||
uploadTitle = "Yüklə və idxal et"
|
||||
chooseFile = ".sql ehtiyat nüsxə faylı seçin"
|
||||
importFromUpload = "Yüklənəni idxal et"
|
||||
confirmImportTitle = "Məlumat bazasının idxalını təsdiqlə"
|
||||
overwriteWarning = "Xəbərdarlıq: Bu, cari məlumat bazasının üzərinə yazacaq."
|
||||
overwriteWarningBody = "Mövcud bütün məlumatlar yüklənən ehtiyat nüsxə ilə əvəz olunacaq. Bu əməl geri alına bilməz."
|
||||
confirmCodeLabel = "Davam etmək üçün təsdiq kodunu daxil edin"
|
||||
enterCode = "Yuxarıda göstərilən kodu daxil edin"
|
||||
confirmImport = "İdxalı təsdiqlə"
|
||||
codeMismatch = "Təsdiq kodu uyğun gəlmir"
|
||||
codeMismatchBody = "Davam etmək üçün kodu göstərildiyi kimi daxil edin."
|
||||
selectFile = "İdxal üçün .sql faylı seçin"
|
||||
importSuccess = "Ehtiyat nüsxə uğurla idxal edildi"
|
||||
importFailed = "Ehtiyat nüsxənin idxalı alınmadı"
|
||||
noBackups = "Hələ ehtiyat nüsxə tapılmadı."
|
||||
unavailable = "Cari məlumat bazası konfiqurasiyası üçün ehtiyat nüsxə siyahısı əlçatan deyil."
|
||||
fileName = "Fayl"
|
||||
created = "Yaradılma"
|
||||
size = "Ölçü"
|
||||
actions = "Əməliyyatlar"
|
||||
download = "Endir"
|
||||
import = "İdxal et"
|
||||
delete = "Sil"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Fərdi Məlumat Bazasını aktiv et"
|
||||
@@ -4848,6 +4953,26 @@ description = "Şəkil emalı üçün maksimal DPI (0 = limitsiz)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Tessdata Qovluğu"
|
||||
description = "OCR dil faylları üçün tessdata qovluğuna yol"
|
||||
downloadMissingTitle = "Heç bir dil seçilməyib"
|
||||
downloadMissingBody = "Endirmək üçün ən azı bir dil seçin, zəhmət olmasa."
|
||||
downloadSuccessTitle = "Dillər endirildi"
|
||||
downloadSuccessBody = "Seçilmiş tessdata dilləri yadda saxlanıldı."
|
||||
downloadErrorTitle = "Endirmə alınmadı"
|
||||
loadingLanguages = "Quraşdırılmış tessdata dilləri yüklənir..."
|
||||
installedLanguages = "Quraşdırılmış tessdata dilləri"
|
||||
noLanguages = "Konfiqurasiya edilmiş qovluqda tessdata dilləri tapılmadı."
|
||||
downloadLabel = "Əlavə tessdata dillərini endir"
|
||||
downloadPlaceholder = "Dilləri seçin"
|
||||
downloadNothingFound = "Əlavə dillər tapılmadı"
|
||||
permissionNotice = "tessdata yolu yazıla bilən deyil. Endirmələr brauzerdə açılacaq; .traineddata fayllarını əl ilə tessdata qovluğuna yadda saxlayın."
|
||||
manualLinks = "Əl ilə endirmələr: keçidlərə klikləyin və faylları tessdata qovluğuna yerləşdirin."
|
||||
downloadButton = "Seçilmiş dilləri endir"
|
||||
downloadInvalidTitle = "Etibarsız seçim"
|
||||
downloadInvalidBody = "Seçilən dillərin bəziləri endirmə üçün əlçatan deyil. Zəhmət olmasa yeniləyin və siyahıdan seçin."
|
||||
downloadErrorNetwork = "Şəbəkə xətasına görə endirmə alınmadı. Bağlantınızı yoxlayın və yenidən cəhd edin."
|
||||
downloadErrorServer = "tessdata dillərini endirərkən server xətası baş verdi. Zəhmət olmasa bir az sonra yenidən cəhd edin."
|
||||
downloadErrorPermission = "tessdata qovluğu yazıla bilən deyil: {{message}}. Yazıla bilən qovluq seçin (məs., tətbiqin məlumat qovluğu altında) və ya icazələri tənzimləyin."
|
||||
downloadErrorGeneric = "Endirmə alınmadı: {{message}}. Zəhmət olmasa bir az sonra yenidən cəhd edin."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML Təmizlənməsini söndür"
|
||||
@@ -5351,6 +5476,7 @@ desc = "PDF əməliyyatlarını birləşdirərək çoxaddımlı iş axınları y
|
||||
invalidStep = "Yanlış addım"
|
||||
reviewTitle = "Avtomatlaşdırma Nəticələri"
|
||||
copyToSaved = "Saxlananlara kopyala"
|
||||
exportForFolderScanning = "Qovluq skanı üçün ixrac et"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Bu avtomatlaşdırma ilə emal etmək üçün faylları seçin"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Avtomatlaşdırma Yaradın"
|
||||
editTitle = "Avtomatlaşdırmanı Redaktə edin"
|
||||
intro = "Avtomatlaşdırmalar alətləri ardıcıl işlədir. Başlamaq üçün, işləməsini istədiyiniz ardıcıllıqla alətlər əlavə edin."
|
||||
save = "Avtomatlaşdırmanı Yadda saxla"
|
||||
exportForFolderScanning = "Qovluq skanı üçün ixrac et"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Avtomatlaşdırmanın Adı"
|
||||
@@ -5746,9 +5873,11 @@ username = "İstifadəçi adı (E-poçt)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Parol"
|
||||
passwordPlaceholder = "Parolu daxil edin"
|
||||
passwordRequired = "Şifrə tələb olunur"
|
||||
role = "Rol"
|
||||
team = "Komanda (İstəyə bağlı)"
|
||||
teamPlaceholder = "Komanda seçin"
|
||||
authType = "Doğrulama növü"
|
||||
forcePasswordChange = "İlk girişdə parol dəyişikliyi tələb olunsun"
|
||||
cancel = "Ləğv et"
|
||||
submit = "Üzv əlavə et"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "İstifadəçi adı və parol tələb olunur"
|
||||
passwordTooShort = "Parol ən azı 6 simvol olmalıdır"
|
||||
success = "İstifadəçi uğurla yaradıldı"
|
||||
error = "İstifadəçi yaratmaq alınmadı"
|
||||
forceMFA = "Növbəti daxilolmada MFA quraşdırılmasını məcbur et"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Şifrə"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "İstifadəçi SSO provayderi vasitəsilə doğrulanacaq"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Üzvü redaktə et"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} istifadəçi yeri mövcuddur"
|
||||
noSlotsAvailable = "Mövcud yer yoxdur"
|
||||
currentUsage = "Hazırda {{max}} istifadəçi lisenziyasından {{current}} istifadə olunur"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "İstifadəçi üçün MFA uğurla deaktiv edildi"
|
||||
adminDisableError = "İstifadəçi üçün MFA-nı deaktiv etmək mümkün olmadı"
|
||||
disableByAdmin = "MFA-nı deaktiv et"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Komandalar"
|
||||
description = "Komandaları idarə edin və iş sahəsi üzvlərini təşkil edin"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Ziyarətlər"
|
||||
percentage = "Faiz"
|
||||
noData = "Məlumat yoxdur"
|
||||
unknownEndpoint = "Naməlum endpoint"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Backend vəziyyəti yoxlanılır..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Избор на операция"
|
||||
addOperationButton = "Добавяне на операция"
|
||||
pipelineHeader = "Пайплайн:"
|
||||
saveButton = "Изтегли"
|
||||
saveForFolderScanning = "Запазване за сканиране на папки"
|
||||
validateButton = "Валидирай"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Уеб-браузър настройки"
|
||||
syncToBrowser = "Синхронизиране на акаунт -> Браузър"
|
||||
syncToAccount = "Синхронизиране на акаунт <- Браузър"
|
||||
|
||||
[account.mfa]
|
||||
title = "Двуфакторно удостоверяване"
|
||||
setupFailed = "Не може да се стартира настройването на двуфакторното удостоверяване. Моля, опитайте отново."
|
||||
codeRequired = "Въведете кода за удостоверяване, за да продължите."
|
||||
enabled = "Двуфакторното удостоверяване е активирано."
|
||||
enableFailed = "Не може да се активира двуфакторното удостоверяване. Проверете кода и опитайте отново."
|
||||
disabled = "Двуфакторното удостоверяване е деактивирано."
|
||||
disableFailed = "Не може да се деактивира двуфакторното удостоверяване. Проверете кода и опитайте отново."
|
||||
description = "Добавете допълнителен слой защита към акаунта си."
|
||||
enableButton = "Активиране на двуфакторното удостоверяване"
|
||||
disableButton = "Деактивиране на двуфакторното удостоверяване"
|
||||
setupTitle = "Настройване на двуфакторното удостоверяване"
|
||||
setupDescription = "Сканирайте QR кода с вашето приложение за удостоверяване, след това въведете 6-цифрения код, за да потвърдите."
|
||||
manualKey = "Ключ за ръчна настройка"
|
||||
secretWarning = "Пазете този ключ в тайна. Всеки с достъп може да генерира валидни кодове за удостоверяване."
|
||||
codePlaceholder = "Въведете 6-цифрен код"
|
||||
confirmEnable = "Активирай"
|
||||
disableTitle = "Деактивиране на двуфакторното удостоверяване"
|
||||
disableDescription = "Въведете валиден код за удостоверяване, за да деактивирате двуфакторното удостоверяване."
|
||||
codeLabel = "Код за удостоверяване"
|
||||
confirmDisable = "Деактивирай"
|
||||
ssoDescription = "Двуфакторното удостоверяване се управлява от вашия доставчик на идентичност за акаунти със Single Sign-On."
|
||||
ssoManaged = "Конфигурирайте MFA чрез вашия доставчик на идентичност."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Настройки за потребителски контрол"
|
||||
header = "Настройки за администраторски потребителски контрол"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Изтегляне на междинния HTML файл вме
|
||||
pdfaOptions = "Опции за PDF/A"
|
||||
outputFormat = "Изходен формат"
|
||||
pdfaNote = "PDF/A-1b е по-съвместим, PDF/A-2b поддържа повече функции."
|
||||
pdfaFormat = "Формат PDF/A"
|
||||
pdfaDigitalSignatureWarning = "PDF файлът съдържа цифров подпис. Това ще бъде премахнато в следващата стъпка."
|
||||
pdfxDigitalSignatureWarning = "PDF файлът съдържа цифров подпис. Той ще бъде премахнат на следващата стъпка."
|
||||
pdfxDescription = "PDF/X е подмножество на PDF по стандарта ISO за надежден печат и обмен на графики."
|
||||
fileFormat = "Файлов формат"
|
||||
wordDoc = "Word документ"
|
||||
wordDocExt = "Word документ (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "В момента не работи за няколко входа нав
|
||||
outputFormat = "Изходен формат"
|
||||
pdfWithDigitalSignature = "PDF файлът съдържа цифров подпис. Това ще бъде премахнато в следващата стъпка."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "печат,стандарт,конвертиране,производство,предпечат,архив"
|
||||
title = "PDF към PDF/X"
|
||||
header = "PDF към PDF/X"
|
||||
credit = "Тази услуга използва Ghostscript за конвертиране към PDF/X"
|
||||
submit = "Конвертирай"
|
||||
tip = "В момента не работи за множество входове едновременно"
|
||||
outputFormat = "Изходен формат"
|
||||
pdfWithDigitalSignature = "PDF файлът съдържа цифров подпис. Той ще бъде премахнат на следващата стъпка."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,трансформация,формат,преобразуване,офис,microsoft,docfile"
|
||||
title = "PDF към Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Друго"
|
||||
perPageInfo = "Информация по страници"
|
||||
tableOfContents = "Съдържание"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Не е открито"
|
||||
passed = "Преминато"
|
||||
failed = "Неуспешно"
|
||||
compliant = "Съвместим"
|
||||
nonCompliant = "Несъвместим"
|
||||
none = "Не са открити стандарти"
|
||||
passedCount = "преминали"
|
||||
failedCount = "неуспешни"
|
||||
noVerification = "Не е извършена проверка"
|
||||
noVerificationDesc = "Съответствието със стандартите на PDF не беше проверено за този документ."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Прикачени файлове"
|
||||
embeddedFiles = "Вградени файлове"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} ограничения"
|
||||
permsMixed = "Някои разрешения са ограничени"
|
||||
hasCompliance = "Има стандарти за съответствие"
|
||||
noCompliance = "Няма стандарти за съответствие"
|
||||
compliancePassed = "Съвместим с {{standards}}"
|
||||
complianceChecked = "Проверени стандарти ({{failed}} неуспешни)"
|
||||
basic = "Основна информация"
|
||||
documentInfo = "Информация за документа"
|
||||
securityTitle = "Състояние на сигурността"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Паролата е променена успешно!
|
||||
credentialsUpdated = "Данните ви за вход бяха обновени. Моля, влезте отново."
|
||||
defaultCredentials = "Данни за вход по подразбиране"
|
||||
changePasswordWarning = "Моля, сменете паролата си след първото влизане"
|
||||
mfaRequired = "Изисква се двуфакторен код"
|
||||
mfaCode = "Код за удостоверяване"
|
||||
enterMfaCode = "Въведете 6-цифрен код"
|
||||
mfaPromptTitle = "Двуфакторно удостоверяване"
|
||||
mfaPromptBody = "Въведете кода за удостоверяване от вашето приложение за удостоверяване, за да продължите."
|
||||
verifyingMfa = "Проверка..."
|
||||
verifyMfa = "Провери кода"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Преглед на Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Необходим е режим за вход"
|
||||
message = "Режимът за вход трябва да е активиран, за да променяте административните настройки. Моля, задайте SECURITY_ENABLELOGIN=true във вашата среда или security.enableLogin: true в settings.yml, след което рестартирайте сървъра."
|
||||
readOnly = "Настройките по-долу показват примерни стойности за ориентиране. Активирайте режим за вход, за да видите и редактирате реалната конфигурация."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Изисква се Enterprise лиценз"
|
||||
message = "Необходим е Enterprise лиценз за достъп до {{featureName}}. Преглеждате демонстрационни данни за справка."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Изисква се рестарт"
|
||||
message = "Настройките са запазени успешно. Необходим е рестарт на сървъра, за да влязат промените в сила."
|
||||
@@ -4771,6 +4834,48 @@ description = "Показване на подробни съобщения за
|
||||
title = "База данни"
|
||||
description = "Конфигурирайте персонализирани настройки за връзка към база данни за корпоративни внедрявания."
|
||||
configuration = "Конфигурация на база данни"
|
||||
backupTitle = "Резервни копия и възстановяване"
|
||||
backupDescription = "Управлявайте резервни копия на H2 директно от административната конзола."
|
||||
loadError = "Неуспешно зареждане на резервни копия на базата данни"
|
||||
backupCreated = "Резервното копие е създадено успешно"
|
||||
backupFailed = "Неуспешно създаване на резервно копие"
|
||||
deleteTitle = "Изтриване на резервно копие"
|
||||
deleteConfirm = "Да се изтрие ли това резервно копие? Действието е необратимо."
|
||||
deleteSuccess = "Резервното копие е изтрито"
|
||||
deleteFailed = "Неуспешно изтриване на резервно копие"
|
||||
deleteConfirmAction = "Изтриване на резервно копие"
|
||||
downloadFailed = "Неуспешно изтегляне на резервно копие"
|
||||
version = "Версия на H2"
|
||||
embedded = "Вградено H2"
|
||||
external = "Външна база данни"
|
||||
h2Only = "Резервните копия са налични само за вградената база данни H2."
|
||||
h2Hint = "Задайте типа база данни на H2 и деактивирайте персонализираната база данни, за да активирате архивиране и възстановяване."
|
||||
manageBackups = "Управление на резервни копия"
|
||||
refresh = "Опресняване"
|
||||
createBackup = "Създаване на резервно копие"
|
||||
uploadTitle = "Качване и импортиране"
|
||||
chooseFile = "Изберете .sql файл с резервно копие"
|
||||
importFromUpload = "Импортиране на каченото"
|
||||
confirmImportTitle = "Потвърждаване на импортирането на базата данни"
|
||||
overwriteWarning = "Внимание: Това ще презапише текущата база данни."
|
||||
overwriteWarningBody = "Всички съществуващи данни ще бъдат заменени от каченото резервно копие. Това действие е необратимо."
|
||||
confirmCodeLabel = "Въведете кода за потвърждение, за да продължите"
|
||||
enterCode = "Въведете кода, показан по-горе"
|
||||
confirmImport = "Потвърждаване на импортирането"
|
||||
codeMismatch = "Кодът за потвърждение не съвпада"
|
||||
codeMismatchBody = "Моля, въведете кода точно както е показан, за да продължите."
|
||||
selectFile = "Моля, изберете .sql файл за импортиране"
|
||||
importSuccess = "Резервното копие е импортирано успешно"
|
||||
importFailed = "Неуспешно импортиране на резервно копие"
|
||||
noBackups = "Все още няма намерени резервни копия."
|
||||
unavailable = "Списъкът с резервни копия не е наличен за текущата конфигурация на базата данни."
|
||||
fileName = "Файл"
|
||||
created = "Създадено"
|
||||
size = "Размер"
|
||||
actions = "Действия"
|
||||
download = "Изтегляне"
|
||||
import = "Импортиране"
|
||||
delete = "Изтриване"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Активирай персонализирана база данни"
|
||||
@@ -4848,6 +4953,26 @@ description = "Максимален DPI за обработка на изобр
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Директория Tessdata"
|
||||
description = "Път до директорията tessdata за OCR езикови файлове"
|
||||
downloadMissingTitle = "Няма избран език"
|
||||
downloadMissingBody = "Моля, изберете поне един език за изтегляне."
|
||||
downloadSuccessTitle = "Езиците са изтеглени"
|
||||
downloadSuccessBody = "Избраните tessdata езици са запазени."
|
||||
downloadErrorTitle = "Неуспешно изтегляне"
|
||||
loadingLanguages = "Зареждане на инсталираните tessdata езици..."
|
||||
installedLanguages = "Инсталирани tessdata езици"
|
||||
noLanguages = "Няма намерени tessdata езици в конфигурираната директория."
|
||||
downloadLabel = "Изтегляне на допълнителни tessdata езици"
|
||||
downloadPlaceholder = "Изберете езици"
|
||||
downloadNothingFound = "Не са намерени допълнителни езици"
|
||||
permissionNotice = "Пътят към tessdata няма права за запис. Изтеглянията ще се отварят в браузъра; моля, запишете файловете .traineddata ръчно в папката tessdata."
|
||||
manualLinks = "Ръчни изтегляния: щракнете върху връзките и поставете файловете в папката tessdata."
|
||||
downloadButton = "Изтегляне на избраните езици"
|
||||
downloadInvalidTitle = "Невалиден избор"
|
||||
downloadInvalidBody = "Някои от избраните езици не са налични за изтегляне. Моля, опреснете и изберете от списъка."
|
||||
downloadErrorNetwork = "Изтеглянето се провали поради мрежова грешка. Моля, проверете връзката си и опитайте отново."
|
||||
downloadErrorServer = "Сървърът срещна грешка при изтегляне на tessdata езици. Моля, опитайте по-късно."
|
||||
downloadErrorPermission = "Директорията tessdata няма права за запис: {{message}}. Моля, изберете директория с права за запис (напр. под папката с данни на приложението) или коригирайте правата."
|
||||
downloadErrorGeneric = "Неуспешно изтегляне: {{message}}. Моля, опитайте по-късно."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Деактивирай HTML санитизация"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Създавайте многостъпкови работни пото
|
||||
invalidStep = "Невалидна стъпка"
|
||||
reviewTitle = "Резултати от автоматизация"
|
||||
copyToSaved = "Копиране в „Запазени“"
|
||||
exportForFolderScanning = "Експортиране за сканиране на папки"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Изберете файлове за обработка с тази автоматизация"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Създаване на автоматизация"
|
||||
editTitle = "Редактиране на автоматизация"
|
||||
intro = "Автоматизациите изпълняват инструментите последователно. За да започнете, добавете инструментите в реда, в който желаете да се изпълняват."
|
||||
save = "Запазване на автоматизацията"
|
||||
exportForFolderScanning = "Експортиране за сканиране на папки"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Име на автоматизацията"
|
||||
@@ -5746,9 +5873,11 @@ username = "Потребителско име (имейл)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Парола"
|
||||
passwordPlaceholder = "Въведете парола"
|
||||
passwordRequired = "Изисква се парола"
|
||||
role = "Роля"
|
||||
team = "Екип (незадължително)"
|
||||
teamPlaceholder = "Изберете екип"
|
||||
authType = "Тип удостоверяване"
|
||||
forcePasswordChange = "Изисквай смяна на паролата при първи вход"
|
||||
cancel = "Отказ"
|
||||
submit = "Добавяне на член"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Потребителско име и парола са за
|
||||
passwordTooShort = "Паролата трябва да е поне 6 знака"
|
||||
success = "Потребителят е създаден успешно"
|
||||
error = "Неуспешно създаване на потребител"
|
||||
forceMFA = "Задължително настройване на MFA при следващо влизане"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Парола"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Потребителят ще се удостоверява чрез SSO доставчик"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Редактиране на член"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "Налични са {{count}} потребителски сл
|
||||
noSlotsAvailable = "Няма налични слотове"
|
||||
currentUsage = "В момента се използват {{current}} от {{max}} потребителски лицензи"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA е деактивирана успешно за потребителя"
|
||||
adminDisableError = "Неуспешно деактивиране на MFA за потребителя"
|
||||
disableByAdmin = "Деактивиране на MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Екипи"
|
||||
description = "Управлявайте екипи и организирайте членовете на работното пространство"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Крайна точка"
|
||||
visits = "Посещения"
|
||||
percentage = "Процент"
|
||||
noData = "Няма налични данни"
|
||||
unknownEndpoint = "Неизвестна крайна точка"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Проверка на състоянието на бекенда..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "བཀོལ་སྤྱོད་འདེམས་པ།"
|
||||
addOperationButton = "བཀོལ་སྤྱོད།"
|
||||
pipelineHeader = "མདོང་ལམ།"
|
||||
saveButton = "ཕབ་ལེན"
|
||||
saveForFolderScanning = "ཡིག་སྣོད་ཞིབ་བཤེར་ཆེད་དུ་སྲུང"
|
||||
validateButton = "བདེན་དཔང་།"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "དྲ་ངོས་དྲ་ངོས་སྒྲིག
|
||||
syncToBrowser = "མཉམ་འབྲེལ། -> དྲ་འབྱེད།"
|
||||
syncToAccount = "མཉམ་འབྲེལ། <- དྲ་འབྱེད།"
|
||||
|
||||
[account.mfa]
|
||||
title = "ཆ་རྐྱེན་གཉིས་ཀྱི་ངོས་འཛིན"
|
||||
setupFailed = "ཆ་རྐྱེན་གཉིས་སྒྲིག་འགོད་འགོ་འཛུགས་མི་ཐུབ། བསྐྱར་དུ་ཚོད་ལྟ་བྱེད།"
|
||||
codeRequired = "མུ་མཐུད་དུ་འགྲོ་བའི་ཆེད་ངོས་འཛིན་ཨང་རྟགས་བཙུགས།"
|
||||
enabled = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་ཕྱེས།"
|
||||
enableFailed = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་ཕྱེ་མི་ཐུབ། ཨང་རྟགས་ཞིབ་བཤེར་བྱས་ནས་བསྐྱར་དུ་ཚོད་ལྟ་བྱེད།"
|
||||
disabled = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་བརྒྱབས།"
|
||||
disableFailed = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་བརྒྱབ་མི་ཐུབ། ཨང་རྟགས་ཞིབ་བཤེར་བྱས་ནས་བསྐྱར་དུ་ཚོད་ལྟ་བྱེད།"
|
||||
description = "ཁྱེད་ཀྱི་རྩིས་ཐོའི་བདེ་འཇགས་རིམ་པ་ཞིག་ཁ་སྣོན་བྱས།"
|
||||
enableButton = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་ཕྱེ"
|
||||
disableButton = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་བརྒྱབ"
|
||||
setupTitle = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྒྲིག་འགོད"
|
||||
setupDescription = "ངོས་འཛིན་app བེད་སྤྱད་ QR ཨང་རྟགས་ཞིབ་བཤེར་བྱས་ནས 6 ཨང་གྲངས་ཀྱི་ཨང་རྟགས་བཙུགས་ནས་ངེས་འཛིན་བྱོས།"
|
||||
manualKey = "ལག་སྟར་སྒྲིག་འགོད་ལྡེ་མིག"
|
||||
secretWarning = "ལྡེ་མིག་འདི་གསང་བཞག་། དབང་ཆ་ཡོད་པ་གང་རུང་གིས་ནུས་ལྡན་ངོས་འཛིན་ཨང་རྟགས་བཟོ་ཐུབ།"
|
||||
codePlaceholder = "6 ཨང་གྲངས་ཀྱི་ཨང་རྟགས་བཙུགས"
|
||||
confirmEnable = "སྤྱོད་སྒོ་ཕྱེ"
|
||||
disableTitle = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་བརྒྱབ"
|
||||
disableDescription = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་སྤྱོད་སྒོ་བརྒྱབ་བར་ནུས་ལྡན་ངོས་འཛིན་ཨང་རྟགས་བཙུགས།"
|
||||
codeLabel = "ངོས་འཛིན་ཨང་རྟགས"
|
||||
confirmDisable = "སྤྱོད་སྒོ་བརྒྱབ"
|
||||
ssoDescription = "Single Sign-On རྩིས་ཐོ་ལ་དོན་གྱི་ ཆ་རྐྱེན་གཉིས་ངོས་འཛིན་དེ་ཁྱེད་ཀྱི་ངོས་འཛིན་སྤྲོད་མཁན་གིས་དོ་དམ་བྱེད།"
|
||||
ssoManaged = "ཁྱེད་ཀྱི་ངོས་འཛིན་སྤྲོད་མཁན་བརྒྱུད་ནས MFA སྒྲིག་འགོད།"
|
||||
|
||||
[adminUserSettings]
|
||||
title = "སྤྱོད་མཁན་ཚོད་འཛིན་སྒྲིག་སྟངས།"
|
||||
header = "འཛིན་སྐྱོང་སྤྱོད་མཁན་ཚོད་འཛིན་སྒྲིག་སྟངས།"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "PDF ཡི་ཚབ་ཏུ་HTML བར་མའི་ཡི
|
||||
pdfaOptions = "PDF/A གདམ་ག།"
|
||||
outputFormat = "ཐོན་འབྲས་རྣམ་གྲངས།"
|
||||
pdfaNote = "PDF/A-1b མཐུན་སྒྲིལ་ཆེ་བ་དང་། PDF/A-2b ཡིས་ཁྱད་ཆོས་མང་བ་ལ་རྒྱབ་སྐྱོར་བྱེད་ཀྱི་ཡོད། PDF/A-3b ཡིས་བཙུགས་པའི་ཡིག་ཆ་ལ་རྒྱབ་སྐྱོར་བྱེད་ཀྱི་ཡོད།"
|
||||
pdfaFormat = "PDF/A རྣམ་གཞག"
|
||||
pdfaDigitalSignatureWarning = "PDF ནང་ཨང་གྲངས་ཀྱི་མཚན་རྟགས་ཡོད། འདི་གོམ་པ་རྗེས་མར་མེད་པར་བཟོ་རྒྱུ་རེད།"
|
||||
pdfxDigitalSignatureWarning = "དེབ PDF ནང་ གློག་སྒྲིག་མིང་རྟགས་ཡོད། རྗེས་སྟབས་ནས་འདི་བསུབ་བྱེད།"
|
||||
pdfxDescription = "PDF/X ནི ISO ཚད་ལྡན་PDF གྲངས་ཆ་ཞིག་ཡིན་པས་ ཡིད་ཆེན་པོར་པར་འདེབས་དང་ རི་མོ་བརྗེ་སོར་བྱེད་ཐུབ།"
|
||||
fileFormat = "ཡིག་ཆ།"
|
||||
wordDoc = "ཚིག་ཡིག་ཡིག་ཆ།"
|
||||
wordDocExt = "ཚིག་ཡིག་ཡིག་ཆ་ (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "མིག་སྔར་ཐེངས་གཅིག་ལ་ནང་འ
|
||||
outputFormat = "ཐོན་འབྲས་རྣམ་གྲངས།"
|
||||
pdfWithDigitalSignature = "PDF ནང་ཨང་གྲངས་ཀྱི་མཚན་རྟགས་ཡོད། འདི་གོམ་པ་རྗེས་མར་མེད་པར་བཟོ་རྒྱུ་རེད།"
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "པར་འདེབས,ཚད་ལྡན,བརྗེ་སྤོ,བཟོ་ལས,པར་སྔོན་འགྲིལ,མཛོད་སྣོད"
|
||||
title = "PDF ལས་ PDF/X ལ་བརྗེ་བ"
|
||||
header = "PDF ལས་ PDF/X ལ་བརྗེ་བ"
|
||||
credit = "ཞབས་ཞུ་འདིས PDF/X བརྗེ་བའི་ཆེད Ghostscript བེད་སྤྱོད་བྱེད།"
|
||||
submit = "བརྗེ་བ"
|
||||
tip = "ད་ལྟ་ཚུར་ནང་འཇུག་མང་པོ་དང་མཉམ་དུ་ལཱ་མི་བྱེད།"
|
||||
outputFormat = "ཕྱིར་འདོན་རྣམ་གཞག"
|
||||
pdfWithDigitalSignature = "དེབ PDF ནང་ གློག་སྒྲིག་མིང་རྟགས་ཡོད། རྗེས་སྟབས་ནས་འདི་བསུབ་བྱེད།"
|
||||
|
||||
[PDFToWord]
|
||||
tags = "ཌོག་དང་། ཌོ་ཀ་སི། ཚིག། བསྒྱུར་བཅོས། རྣམ་པ་བསྒྱུར་བཅོས། ཡིག་ཚང་། མའི་ཀོ་རོ་སོཕཊ། ཌོག་ཕི་ལ།"
|
||||
title = "PDF ནས་ Word བར།"
|
||||
@@ -3153,6 +3191,18 @@ other = "གཞན་པ"
|
||||
perPageInfo = "ཤོག་ངོས་རེ་རེར།"
|
||||
tableOfContents = "ནང་དོན་གྱི་རེའུ་མིག"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "མ་རྙེད"
|
||||
passed = "ཡོངས་འགྲུབ"
|
||||
failed = "ཕམ་པ"
|
||||
compliant = "ཚད་ལྡན"
|
||||
nonCompliant = "ཚད་མི་ལྡན"
|
||||
none = "ཚད་ལྡན་མ་རྙེད"
|
||||
passedCount = "ཡོངས་འགྲུབ"
|
||||
failedCount = "ཕམ་པ"
|
||||
noVerification = "ཞིབ་བཤེར་མ་བྱས"
|
||||
noVerificationDesc = "ཡིག་ཆ་འདིའི་ PDF ཚད་ལྡན་འཚམ་པ་ཞིབ་བཤེར་མ་བྱས།"
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "འབྲེལ་གཏུག་ཅན།"
|
||||
embeddedFiles = "ནང་འཇུག་བྱས་པའི་ཡིག་ཆ།"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "ཚད་བཀག {{count}}"
|
||||
permsMixed = "ཆོག་མཆན་ཁ་ཤས་ལ་བཀག་སྡོམ་བྱས་ཡོད།"
|
||||
hasCompliance = "སྒྲིག་ཁྲིམས་ཚད་གཞི་ལྡན་པ།"
|
||||
noCompliance = "སྒྲིག་ཁྲིམས་ཀྱི་ཚད་གཞི་མེད་པ།"
|
||||
compliancePassed = "{{standards}} ཚད་ལྡན"
|
||||
complianceChecked = "ཚད་ལྡན་ཞིབ་བཤེར་ཟིན ({{failed}} ཕམ་པ)"
|
||||
basic = "གཞི་རྩའི་གནས་ཚུལ།"
|
||||
documentInfo = "ཡིག་ཆའི་ཆ་འཕྲིན།"
|
||||
securityTitle = "བདེ་འཇགས་གནས་ཚུལ།"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "གསང་གྲངས་ལེགས་འགྲུ
|
||||
credentialsUpdated = "ཁྱེད་ཀྱི་ཆོག་མཆན་ཡིག་ཆ་གསར་བརྗེ་བྱས་ཡོད། ཡང་བསྐྱར་མིང་རྟགས་བཀོད་རོགས་གནང་།"
|
||||
defaultCredentials = "སྔོན་སྒྲིག་ནང་འཇུག་ཡིག་ཆ།"
|
||||
changePasswordWarning = "ཐེངས་དང་པོར་ནང་འཛུལ་བྱས་རྗེས་གསང་གྲངས་བསྒྱུར་རོགས།"
|
||||
mfaRequired = "ཆ་རྐྱེན་གཉིས་ཨང་རྟགས་དགོས"
|
||||
mfaCode = "ངོས་འཛིན་ཨང་རྟགས"
|
||||
enterMfaCode = "6 ཨང་གྲངས་ཀྱི་ཨང་རྟགས་བཙུགས"
|
||||
mfaPromptTitle = "ཆ་རྐྱེན་གཉིས་ངོས་འཛིན"
|
||||
mfaPromptBody = "མུ་མཐུད་པར་ངོས་འཛིན་app ནས་ངོས་འཛིན་ཨང་རྟགས་བཙུགས།"
|
||||
verifyingMfa = "ཞིབ་བཤེར་བཞིན..."
|
||||
verifyMfa = "ཨང་རྟགས་ཞིབ་བཤེར"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "PDF སྤྱི་བསྡོམས།"
|
||||
@@ -4324,6 +4383,10 @@ title = "ནང་འཇུག་ཐབས་ལམ་དགོས་པ།"
|
||||
message = "འཛིན་སྐྱོང་སྒྲིག་སྟངས་བསྒྱུར་བཅོས་བྱེད་པར་ནང་འཇུག་ཐབས་ལམ་ལག་བསྟར་བྱེད་དགོས། ཁྱེད་རང་གི་ཁོར་ཡུག་ཡང་ན་བདེ་འཇགས་ལ་བདེ་འཇགས་ཀྱི་བདེ་འཇགས་སྒྲིག་འཇུག་བྱེད་རོགས། སྒྲིག་སྟངས་ནང་བདེན་པ་ཡིན།"
|
||||
readOnly = "གཤམ་གྱི་སྒྲིག་སྟངས་ཀྱིས་གཞི་གྲངས་ལ་དཔེ་མཚོན་གྱི་རིན་ཐང་སྟོན་གྱི་ཡོད། ནང་འཇུག་ཐབས་ལམ་ཤུགས་སྣོན་བྱས་ནས་སྒྲིག་བཀོད་ངོ་མ་ལྟ་རྒྱུ་དང་རྩོམ་སྒྲིག་བྱེད་དགོས།"
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "ཚོང་འབྲེལ་ཆོག་ཐམ་དགོས"
|
||||
message = "{{featureName}} ལ་ལྟ་སྤྱོད་བྱེད་པར་ཚོང་འབྲེལ་ཆོག་ཐམ་དགོས། ཁྱེད་རང་ད་ལྟ་སྟོན་མའི་གཞི་གྲངས་ལ་ལྟ་བཞིན་ཡོད།"
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "བསྐྱར་དུ་འགོ་འཛུགས་དགོས་པ།"
|
||||
message = "སྒྲིག་སྟངས་ལེགས་འགྲུབ་བྱུང་ཡོད། བསྒྱུར་བཅོས་ལ་ཕན་ནུས་ལྡན་པའི་ཆེད་དུ་སར་བར་ཡང་བསྐྱར་འགོ་འཛུགས་དགོས།"
|
||||
@@ -4771,6 +4834,48 @@ description = "སྤྱོད་མཁན་ལ་ཞིབ་ཕྲ་ནོ
|
||||
title = "གཞི་གྲངས་རྟེན་གཞི།"
|
||||
description = "ཁེ་ལས་བཀོལ་སྤྱོད་ཀྱི་ཆེད་དུ་སྒེར་གྱི་གཞི་གྲངས་མཛོད་ཀྱི་མཐུད་ཁ་སྒྲིག་སྟངས་སྒྲིག་བཀོད་བྱེད།"
|
||||
configuration = "གཞི་གྲངས་མཛོད་སྒྲིག་བཀོད།"
|
||||
backupTitle = "གྲབས་ཉར་དང་བསྐྱར་གསོ"
|
||||
backupDescription = "དོ་དམ་སྒེའུ་ཁུང་ ནས་ H2 གྲབས་ཉར་ཐད་ཀར་དུ་འཛིན་སྐྱོང་བྱེད་པ།"
|
||||
loadError = "གཞི་གྲངས་མཛོད་གྲབས་ཉར་འཇུག་མ་ཐུབ།"
|
||||
backupCreated = "གྲབས་ཉར་བཟོས་ལེགས་འགྲུབ།"
|
||||
backupFailed = "གྲབས་ཉར་བཟོས་མ་ཐུབ།"
|
||||
deleteTitle = "གྲབས་ཉར་སུབ།"
|
||||
deleteConfirm = "གྲབས་ཉར་འདི་སུབ་དམ། འདི་ལོག་མི་ཐུབ།"
|
||||
deleteSuccess = "གྲབས་ཉར་སུབ་ཟིན།"
|
||||
deleteFailed = "གྲབས་ཉར་སུབ་མ་ཐུབ།"
|
||||
deleteConfirmAction = "གྲབས་ཉར་སུབ།"
|
||||
downloadFailed = "གྲབས་ཉར་ཕབ་ལེན་མ་ཐུབ།"
|
||||
version = "H2 ཐོན་རིམ།"
|
||||
embedded = "ནང་འཇུག H2"
|
||||
external = "ཕྱིའི་གཞི་གྲངས་མཛོད"
|
||||
h2Only = "གྲབས་ཉར་ནི་ ནང་འཇུག H2 གཞི་གྲངས་མཛོད་ཁོ་ནར་ཡོད།"
|
||||
h2Hint = "གྲབས་ཉར་དང་བསྐྱར་གསོ་ལྕོགས་གྲུབ་བྱེད་པར་ གཞི་གྲངས་མཛོད་མཚན་གྲངས་ H2 ལ་བཀོད་ནས་ རང་མོས་གཞི་གྲངས་མཛོད་བཀག་པ།"
|
||||
manageBackups = "གྲབས་ཉར་འཛིན་སྐྱོང་"
|
||||
refresh = "གསར་སྒྱུར"
|
||||
createBackup = "གྲབས་ཉར་བཟོ"
|
||||
uploadTitle = "ཡར་འཇུག་དང་ནང་འཇུག"
|
||||
chooseFile = ".sql གྲབས་ཉར་ཡིག་ཆ་ཞིག འདེམས།"
|
||||
importFromUpload = "ཡར་འཇུག་ནང་འཇུག"
|
||||
confirmImportTitle = "གཞི་གྲངས་མཛོད་ནང་འཇུག་གཏན་འཁེལ།"
|
||||
overwriteWarning = "ཉེན་བརྡ་: འདིས་མིག་སྔའི་གཞི་གྲངས་མཛོད་ལ་ཚབ་བྱེད་འགྲོ།"
|
||||
overwriteWarningBody = "ཡར་འཇུག་བྱས་པའི་གྲབས་ཉར་གྱིས་དངོས་ཡོད་གཞི་གྲངས་ཚང་མ་ཚབ་བྱེད་འགྲོ། འགུལ་སྤྱོད་འདི་ལོག་མི་ཐུབ།"
|
||||
confirmCodeLabel = "མུ་མཐུད་བྱེད་པར་གཏན་འཁེལ་ཨང་གྲངས་ནང་འཇུག"
|
||||
enterCode = "གོང་གི་མངོན་པའི་ཨང་གྲངས་ནང་འཇུག"
|
||||
confirmImport = "ནང་འཇུག་གཏན་འཁེལ"
|
||||
codeMismatch = "གཏན་འཁེལ་ཨང་གྲངས་མི་མཚུངས།"
|
||||
codeMismatchBody = "མུ་མཐུད་བྱེད་པར་ མངོན་པ་དང་དོ་མཉམ་ངེས་པར་ཨང་གྲངས་ནང་འཇུག་གནང་།"
|
||||
selectFile = "ནང་འཇུག་བྱེད་པར་ .sql ཡིག་ཆ་ཞིག་འདེམས།"
|
||||
importSuccess = "གྲབས་ཉར་ནང་འཇུག་ལེགས་འགྲུབ།"
|
||||
importFailed = "གྲབས་ཉར་ནང་འཇུག་མ་ཐུབ།"
|
||||
noBackups = "ད་དུང་གྲབས་ཉར་མ་རྙེད།"
|
||||
unavailable = "མིག་སྔའི་གཞི་གྲངས་མཛོད་སྒྲིག་བཀོད་ལ་ གྲབས་ཉར་ཐོ་ཡིག་བྱེད་མི་ཐུབ།"
|
||||
fileName = "ཡིག་ཆ།"
|
||||
created = "བཟོས་པ།"
|
||||
size = "ཆེ་ཆུང་།"
|
||||
actions = "བྱ་བ།"
|
||||
download = "ཕབ་ལེན།"
|
||||
import = "ནང་འཇུག།"
|
||||
delete = "སུབ།"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "སྒྲིག་གཞིའི་གྲངས་ཐོ་ལྕོགས་ཅན་བཟོ་བ།"
|
||||
@@ -4848,6 +4953,26 @@ description = "པར་རིས་བཟོ་བཅོས་བྱེད་
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "ཊེས་སི་ཌ་ཊ་ཐོ་གཞུང་།"
|
||||
description = "OCR སྐད་ཡིག་ཡིག་ཆའི་ཆེད་དུ་ཊེ་སི་ཌེ་ཊ་སྣོད་ཐོ་ལ་ལམ་ལུགས།"
|
||||
downloadMissingTitle = "སྐད་ཡིག་གཅིག་ཡང་མ་འདེམས།"
|
||||
downloadMissingBody = "ཉུང་མཐར་སྐད་ཡིག་གཅིག་རང་ཕབ་ལེན་བྱེད་པར་འདེམས་གནང་།"
|
||||
downloadSuccessTitle = "སྐད་ཡིག་ཕབ་ལེན་བྱས་ཟིན།"
|
||||
downloadSuccessBody = "འདེམས་པའི་ tessdata སྐད་ཡིག་ཉར་ཚགས་བྱས་ཟིན།"
|
||||
downloadErrorTitle = "ཕབ་ལེན་མ་ཐུབ།"
|
||||
loadingLanguages = "སྒྲིག་འཇུག་བྱས་པའི་ tessdata སྐད་ཡིག་འཇུག་བཞིན..."
|
||||
installedLanguages = "སྒྲིག་འཇུག་བྱས་པའི་ tessdata སྐད་ཡིག"
|
||||
noLanguages = "སྒྲིག་བཀོད་ཟིན་པའི་སྣོད་འཛིན་ནང་ tessdata སྐད་ཡིག་མ་རྙེད།"
|
||||
downloadLabel = "tessdata སྐད་ཡིག་ཁ་སྣོན་ཕབ་ལེན་བྱོས།"
|
||||
downloadPlaceholder = "སྐད་ཡིག་འདེམས།"
|
||||
downloadNothingFound = "སྐད་ཡིག་ཁ་སྣོན་མ་རྙེད།"
|
||||
permissionNotice = "tessdata འགྲུལ་ལམ་འུར་བྱེད་མི་ཐུབ། ཕབ་ལེན་ཚུལ་དེ་བརྡ་འཚོལ་ཆས་ནས་ཁ་ཕྱེའོ། .traineddata ཡིག་ཆ་དེ་རང་ལས་ tessdata སྣོད་འཛིན་ནང་ཉར་ཚགས་བྱོས།"
|
||||
manualLinks = "ལག་ཐོག་ཕབ་ལེན: འབྲེལ་མཐུད་དེ་ཚོ་སྣུན་ནས་ ཡིག་ཆ་དེ་ཚོ་ར་ tessdata སྣོད་འཛིན་ནང་བཞག།"
|
||||
downloadButton = "འདེམས་པའི་སྐད་ཡིག་ཕབ་ལེན།"
|
||||
downloadInvalidTitle = "འདེམས་པ་ནུས་མེད།"
|
||||
downloadInvalidBody = "འདེམས་པའི་སྐད་ཡིག་ཁ་ཤས་ཕབ་ལེན་འབྱོར་མི་ཐུབ། གསར་སྒྱུར་བྱས་ནས་ཐོ་ཡིག་ནས་འདེམས་རོགས།"
|
||||
downloadErrorNetwork = "དྲ་བ་ནོར་འཁྲུལ་ལས་ཕབ་ལེན་མ་ཐུབ། མཐུད་སྦྲེལ་ཞིབ་བཤེར་བྱས་ནས་ལོག་སྐྱར་ཚོད་ལྟ་བྱོས།"
|
||||
downloadErrorServer = "tessdata སྐད་ཡིག་ཕབ་ལེན་བྱེད་པའི་སྐབས་ server ནོར་འཁྲུལ་བྱུང་། འཕྲལ་བར་བསྒུག་ནས་ལོག་སྐྱར་ཚོད་ལྟ་བྱོས།"
|
||||
downloadErrorPermission = "tessdata སྣོད་འཛིན་འུར་བྱེད་མི་ཐུབ: {{message}} འུར་བྱེད་རུང་བའི་སྣོད་འཛིན་ཞིག་འདེམས་ (དཔེར་ན་ application data folder འོག་ཏུ) ཡང་ན་དབང་ཚད་བསྒྱུར།"
|
||||
downloadErrorGeneric = "ཕབ་ལེན་མ་ཐུབ: {{message}} འཕྲལ་བར་བསྒུག་ནས་ལོག་སྐྱར་ཚོད་ལྟ་བྱོས།"
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML གཙང་སྦྲ་མེད་པར་བཟོ་བ།"
|
||||
@@ -5351,6 +5476,7 @@ desc = "གོམ་པ་མང་པོའི་ལས་ཀའི་འགྲ
|
||||
invalidStep = "གོམ་པ་མི་འདང་བ།"
|
||||
reviewTitle = "རང་འགུལ་ཅན་གྱི་གྲུབ་འབྲས།"
|
||||
copyToSaved = "སྐྱོབ་པའི་ངོ་བཤུས།"
|
||||
exportForFolderScanning = "ཡིག་སྣོད་ཞིབ་བཤེར་ཆེད་དུ་ཕྱིར་གཏོང"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "རང་འགུལ་ཅན་འདི་དང་ལས་སྣོན་བྱེད་པའི་ཡིག་ཆ་འདེམས།"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "རང་འགུལ་ཅན་གསར་གཏོད།"
|
||||
editTitle = "རང་འགུལ་སྒྲིག་བཅོས།"
|
||||
intro = "རང་འགུལ་གྱིས་ལག་ཆ་རིམ་བཞིན་སྤྱོད་ཀྱི་ཡོད། འགོ་འཛུགས་པར་ཁྱེད་ཀྱིས་ཁོང་ཚོ་རྒྱུག་དགོས་པའི་གོ་རིམ་ནང་ལག་ཆ་ཁ་སྣོན་བྱེད་དགོས།"
|
||||
save = "རང་འགུལ་ཅན་དུ་འགྱུར་བ།"
|
||||
exportForFolderScanning = "ཡིག་སྣོད་ཞིབ་བཤེར་ཆེད་དུ་ཕྱིར་གཏོང"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "རང་འགུལ་ཅན་མིང་།"
|
||||
@@ -5746,9 +5873,11 @@ username = "སྤྱོད་མཁན་གྱི་མིང་།(གློ
|
||||
usernamePlaceholder = "seters@example.com"
|
||||
password = "གསང་གྲངས"
|
||||
passwordPlaceholder = "གསང་གྲངས་བཙུགས།"
|
||||
passwordRequired = "གསང་ཨང་དགོས་ངེས།"
|
||||
role = "འཁྲབ་ཚན"
|
||||
team = "རུ་ཁག (གདམ་ག)"
|
||||
teamPlaceholder = "རུ་ཁག་འདེམས་པ།"
|
||||
authType = "ར་སྤྲོད་རིགས།"
|
||||
forcePasswordChange = "ཐོག་མར་ནང་འཇུག་ཐོག་གསང་གྲངས་བསྒྱུར་བ།"
|
||||
cancel = "འདོར་བ"
|
||||
submit = "འཐུས་མི།"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "སྤྱོད་མཁན་གྱི་མིང་དང
|
||||
passwordTooShort = "གསང་གྲངས་ཉུང་མཐར་ཡིག་འབྲུ་དྲུག་ཡིན་དགོས།"
|
||||
success = "བེད་སྤྱོད་པ་ལེགས་འགྲུབ་བྱུང་བ།"
|
||||
error = "སྤྱོད་མཁན་གསར་སྐྲུན་མ་ཐུབ་པ།"
|
||||
forceMFA = "ཤུལ་མའི་ནང་འཇུག་སྐབས MFA སྒྲིག་འགོད་ཁེར་བཙོང"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "གསང་ཨང་།"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "སྤྱོད་མཁན་ནི་ SSO སྤྲོད་མཁན་བརྒྱུད་དེ་ར་སྤྲོད་བྱེད།"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "ཚོགས་མིར་རྩོམ་སྒྲིག་པ།"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} སྤྱོད་མཁན་གནས་ས་ཡ
|
||||
noSlotsAvailable = "ས་ཆ་མེད།"
|
||||
currentUsage = "ད་ལྟ་{{max}} ནས {{current}} སྤྱོད་མཁན་ཆོག་མཆན་བེད་སྤྱོད་བྱས་བཞིན།"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "སྤྱོད་མཁན་ལ་དོན་གྱི་ MFA སྤྱོད་སྒོ་བརྒྱབས་ཚར།"
|
||||
adminDisableError = "སྤྱོད་མཁན་ལ་དོན་གྱི་ MFA སྤྱོད་སྒོ་བརྒྱབ་མ་ཐུབ།"
|
||||
disableByAdmin = "MFA སྤྱོད་སྒོ་བརྒྱབ"
|
||||
|
||||
[workspace.teams]
|
||||
title = "རུ་ཁག"
|
||||
description = "རུ་ཁག་དོ་དམ་དང་ལས་སྒོའི་ཁོངས་མི་སྒྲིག་འཛུགས་བྱེད་པ།"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "མཇུག་ཕྱོགས།"
|
||||
visits = "གཟིགས་སྐོར་བ།"
|
||||
percentage = "བརྒྱ་ཆ།"
|
||||
noData = "གཞི་གྲངས་མེད།"
|
||||
unknownEndpoint = "མཇུག་སྣེ་མི་ཤེས"
|
||||
|
||||
[backendHealth]
|
||||
checking = "རྒྱབ་ཕྱོགས་ཀྱི་གནས་ཚུལ་ལ་ཞིབ་བཤེར་བྱེད་པ།"
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Selecciona Operació"
|
||||
addOperationButton = "Afegeix operació"
|
||||
pipelineHeader = "Procés:"
|
||||
saveButton = "Descarrega"
|
||||
saveForFolderScanning = "Desa per a l'escaneig de carpetes"
|
||||
validateButton = "Valida"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Opcions del Navegador"
|
||||
syncToBrowser = "Sincronitza Compte -> Navegador"
|
||||
syncToAccount = "Sincronitza Compte <- Navegador"
|
||||
|
||||
[account.mfa]
|
||||
title = "Autenticació de dos factors"
|
||||
setupFailed = "No s'ha pogut iniciar la configuració de l'autenticació de dos factors. Torneu-ho a provar."
|
||||
codeRequired = "Introduïu el codi d'autenticació per continuar."
|
||||
enabled = "Autenticació de dos factors activada."
|
||||
enableFailed = "No s'ha pogut activar l'autenticació de dos factors. Comproveu el codi i torneu-ho a provar."
|
||||
disabled = "Autenticació de dos factors desactivada."
|
||||
disableFailed = "No s'ha pogut desactivar l'autenticació de dos factors. Comproveu el codi i torneu-ho a provar."
|
||||
description = "Afegiu una capa addicional de seguretat al vostre compte."
|
||||
enableButton = "Activa l'autenticació de dos factors"
|
||||
disableButton = "Desactiva l'autenticació de dos factors"
|
||||
setupTitle = "Configura l'autenticació de dos factors"
|
||||
setupDescription = "Escanegeu el codi QR amb la vostra aplicació d'autenticació i, a continuació, introduïu el codi de 6 dígits per confirmar."
|
||||
manualKey = "Clau de configuració manual"
|
||||
secretWarning = "Manteniu aquesta clau en secret. Qualsevol persona amb accés pot generar codis d'autenticació vàlids."
|
||||
codePlaceholder = "Introduïu el codi de 6 dígits"
|
||||
confirmEnable = "Activa"
|
||||
disableTitle = "Desactiva l'autenticació de dos factors"
|
||||
disableDescription = "Introduïu un codi d'autenticació vàlid per desactivar l'autenticació de dos factors."
|
||||
codeLabel = "Codi d'autenticació"
|
||||
confirmDisable = "Desactiva"
|
||||
ssoDescription = "L'autenticació de dos factors és gestionada pel vostre proveïdor d'identitat per als comptes d'inici de sessió únic."
|
||||
ssoManaged = "Configureu l'MFA a través del vostre proveïdor d'identitat."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Opcions de Control d'Usuari"
|
||||
header = "Opcions de Control d'Usuari Admin"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Baixa el fitxer HTML intermedi en lloc del PDF"
|
||||
pdfaOptions = "Opcions de PDF/A"
|
||||
outputFormat = "Format de sortida"
|
||||
pdfaNote = "PDF/A-1b és més compatible; PDF/A-2b admet més funcions."
|
||||
pdfaFormat = "Format PDF/A"
|
||||
pdfaDigitalSignatureWarning = "El PDF conté una signatura digital. Aquesta serà eliminada en el següent pas."
|
||||
pdfxDigitalSignatureWarning = "El PDF conté una signatura digital. Aquesta se suprimirà en el pas següent."
|
||||
pdfxDescription = "PDF/X és un subconjunt de PDF estàndard ISO per a una impressió fiable i un intercanvi de gràfics fiable."
|
||||
fileFormat = "Format de fitxer"
|
||||
wordDoc = "Document de Word"
|
||||
wordDocExt = "Document de Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Actualment no funciona per a múltiples entrades al mateix temps"
|
||||
outputFormat = "Format de sortida"
|
||||
pdfWithDigitalSignature = "El PDF conté una signatura digital. Aquesta serà eliminada en el següent pas."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "impressió,estàndard,conversió,producció,preimpressió,arxiu"
|
||||
title = "PDF a PDF/X"
|
||||
header = "PDF a PDF/X"
|
||||
credit = "Aquest servei utilitza Ghostscript per a la conversió a PDF/X"
|
||||
submit = "Converteix"
|
||||
tip = "Actualment no funciona amb diverses entrades alhora"
|
||||
outputFormat = "Format de sortida"
|
||||
pdfWithDigitalSignature = "El PDF conté una signatura digital. Aquesta se suprimirà en el pas següent."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,transformació,format,conversió,oficina,microsoft,fitxer doc"
|
||||
title = "PDF a Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Altres"
|
||||
perPageInfo = "Informació per pàgina"
|
||||
tableOfContents = "Taula de continguts"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "No detectat"
|
||||
passed = "Superat"
|
||||
failed = "Fallat"
|
||||
compliant = "Conforme"
|
||||
nonCompliant = "No conforme"
|
||||
none = "No s'han detectat estàndards"
|
||||
passedCount = "superats"
|
||||
failedCount = "fallats"
|
||||
noVerification = "No s'ha realitzat cap verificació"
|
||||
noVerificationDesc = "El compliment dels estàndards PDF no s'ha verificat per a aquest document."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Fitxers adjunts"
|
||||
embeddedFiles = "Fitxers incrustats"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} restriccions"
|
||||
permsMixed = "Alguns permisos restringits"
|
||||
hasCompliance = "Té estàndards de conformitat"
|
||||
noCompliance = "Sense estàndards de conformitat"
|
||||
compliancePassed = "{{standards}} conforme"
|
||||
complianceChecked = "Estàndards verificats ({{failed}} fallats)"
|
||||
basic = "Informació bàsica"
|
||||
documentInfo = "Informació del document"
|
||||
securityTitle = "Estat de seguretat"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Contrasenya canviada correctament! Inicieu sessió amb
|
||||
credentialsUpdated = "S'han actualitzat les vostres credencials. Torneu a iniciar sessió."
|
||||
defaultCredentials = "Credencials d'inici de sessió predeterminades"
|
||||
changePasswordWarning = "Canvia la contrasenya després d'iniciar sessió per primera vegada"
|
||||
mfaRequired = "Es requereix un codi de dos factors"
|
||||
mfaCode = "Codi d'autenticació"
|
||||
enterMfaCode = "Introduïu el codi de 6 dígits"
|
||||
mfaPromptTitle = "Autenticació de dos factors"
|
||||
mfaPromptBody = "Introduïu el codi d'autenticació de la vostra aplicació d'autenticació per continuar."
|
||||
verifyingMfa = "Verificant..."
|
||||
verifyMfa = "Verifica el codi"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Visió general de Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Cal el mode d'inici de sessió"
|
||||
message = "S'ha d'activar el mode d'inici de sessió per modificar la configuració d'administració. Si us plau, establiu SECURITY_ENABLELOGIN=true al vostre entorn o security.enableLogin: true a settings.yml, i després reinicieu el servidor."
|
||||
readOnly = "Els paràmetres següents mostren valors d'exemple com a referència. Activeu el mode d'inici de sessió per veure i editar la configuració real."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Es requereix llicència Enterprise"
|
||||
message = "Es requereix una llicència Enterprise per accedir a {{featureName}}. Esteu veient dades de demostració com a referència."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Cal reiniciar"
|
||||
message = "La configuració s'ha desat correctament. Cal reiniciar el servidor perquè els canvis tinguin efecte."
|
||||
@@ -4771,6 +4834,48 @@ description = "Mostra missatges d'error detallats per als usuaris."
|
||||
title = "Base de dades"
|
||||
description = "Configureu la configuració de connexió de base de dades personalitzada per a desplegaments d'empresa."
|
||||
configuration = "Configuració de la base de dades"
|
||||
backupTitle = "Còpies de seguretat i restauració"
|
||||
backupDescription = "Gestiona còpies de seguretat d'H2 directament des de la consola d'administració."
|
||||
loadError = "No s'han pogut carregar les còpies de seguretat de la base de dades"
|
||||
backupCreated = "La còpia de seguretat s'ha creat correctament"
|
||||
backupFailed = "No s'ha pogut crear la còpia de seguretat"
|
||||
deleteTitle = "Suprimeix la còpia de seguretat"
|
||||
deleteConfirm = "Voleu suprimir aquesta còpia de seguretat? Aquesta acció no es pot desfer."
|
||||
deleteSuccess = "S'ha suprimit la còpia de seguretat"
|
||||
deleteFailed = "No s'ha pogut suprimir la còpia de seguretat"
|
||||
deleteConfirmAction = "Suprimeix la còpia de seguretat"
|
||||
downloadFailed = "No s'ha pogut descarregar la còpia de seguretat"
|
||||
version = "Versió d'H2"
|
||||
embedded = "H2 integrat"
|
||||
external = "Base de dades externa"
|
||||
h2Only = "Les còpies de seguretat només estan disponibles per a la base de dades H2 integrada."
|
||||
h2Hint = "Establiu el tipus de base de dades a H2 i desactiveu la base de dades personalitzada per habilitar la còpia de seguretat i la restauració."
|
||||
manageBackups = "Gestiona les còpies de seguretat"
|
||||
refresh = "Actualitza"
|
||||
createBackup = "Crea una còpia de seguretat"
|
||||
uploadTitle = "Puja i importa"
|
||||
chooseFile = "Trieu un fitxer de còpia de seguretat .sql"
|
||||
importFromUpload = "Importa la pujada"
|
||||
confirmImportTitle = "Confirma la importació de la base de dades"
|
||||
overwriteWarning = "Avís: això sobreescriurà la base de dades actual."
|
||||
overwriteWarningBody = "Totes les dades existents se substituiran per la còpia de seguretat pujada. Aquesta acció no es pot desfer."
|
||||
confirmCodeLabel = "Introduïu el codi de confirmació per continuar"
|
||||
enterCode = "Introduïu el codi que es mostra a dalt"
|
||||
confirmImport = "Confirma la importació"
|
||||
codeMismatch = "El codi de confirmació no coincideix"
|
||||
codeMismatchBody = "Introduïu el codi exactament tal com es mostra per continuar."
|
||||
selectFile = "Seleccioneu un fitxer .sql per importar"
|
||||
importSuccess = "La còpia de seguretat s'ha importat correctament"
|
||||
importFailed = "No s'ha pogut importar la còpia de seguretat"
|
||||
noBackups = "Encara no s'han trobat còpies de seguretat."
|
||||
unavailable = "La llista de còpies de seguretat no està disponible per a la configuració actual de la base de dades."
|
||||
fileName = "Fitxer"
|
||||
created = "Creat"
|
||||
size = "Mida"
|
||||
actions = "Accions"
|
||||
download = "Descarrega"
|
||||
import = "Importa"
|
||||
delete = "Suprimeix"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Habilita base de dades personalitzada"
|
||||
@@ -4848,6 +4953,26 @@ description = "DPI màxim per al processament d'imatges (0 = il·limitat)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Directori tessdata"
|
||||
description = "Camí al directori tessdata per als fitxers d'idioma d'OCR"
|
||||
downloadMissingTitle = "No s'ha seleccionat cap idioma"
|
||||
downloadMissingBody = "Seleccioneu almenys un idioma per descarregar."
|
||||
downloadSuccessTitle = "Idiomes descarregats"
|
||||
downloadSuccessBody = "S'han desat els idiomes de tessdata seleccionats."
|
||||
downloadErrorTitle = "La descàrrega ha fallat"
|
||||
loadingLanguages = "S'estan carregant els idiomes de tessdata instal·lats..."
|
||||
installedLanguages = "Idiomes de tessdata instal·lats"
|
||||
noLanguages = "No s'ha trobat cap idioma de tessdata al directori configurat."
|
||||
downloadLabel = "Descarrega idiomes de tessdata addicionals"
|
||||
downloadPlaceholder = "Seleccioneu idiomes"
|
||||
downloadNothingFound = "No s'han trobat idiomes addicionals"
|
||||
permissionNotice = "El camí de tessdata no té permisos d'escriptura. Les descàrregues s'obriran al navegador; deseu manualment els fitxers .traineddata a la carpeta tessdata."
|
||||
manualLinks = "Descàrregues manuals: feu clic als enllaços i col·loqueu els fitxers a la carpeta tessdata."
|
||||
downloadButton = "Descarrega els idiomes seleccionats"
|
||||
downloadInvalidTitle = "Selecció no vàlida"
|
||||
downloadInvalidBody = "Alguns idiomes seleccionats no estan disponibles per descarregar. Actualitzeu i trieu de la llista."
|
||||
downloadErrorNetwork = "La descàrrega ha fallat per un error de xarxa. Comproveu la connexió i torneu-ho a provar."
|
||||
downloadErrorServer = "El servidor ha trobat un error en descarregar els idiomes de tessdata. Torneu-ho a provar més tard."
|
||||
downloadErrorPermission = "El directori de tessdata no és escrivible: {{message}}. Trieu un directori amb permisos d'escriptura (per exemple, dins de la carpeta de dades de l'aplicació) o ajusteu-ne els permisos."
|
||||
downloadErrorGeneric = "La descàrrega ha fallat: {{message}}. Torneu-ho a provar més tard."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Desactiva la sanitització d'HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Creeu fluxos de treball de diversos passos encadenant accions de PDF. Id
|
||||
invalidStep = "Pas no vàlid"
|
||||
reviewTitle = "Resultats de l’automatització"
|
||||
copyToSaved = "Copia a Desats"
|
||||
exportForFolderScanning = "Exporta per a l'escaneig de carpetes"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Seleccioneu fitxers per processar amb aquesta automatització"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Crea automatització"
|
||||
editTitle = "Edita automatització"
|
||||
intro = "Les automatitzacions executen les eines seqüencialment. Per començar, afegiu les eines en l’ordre que voleu que s’executin."
|
||||
save = "Desa l’automatització"
|
||||
exportForFolderScanning = "Exporta per a l'escaneig de carpetes"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Nom de l’automatització"
|
||||
@@ -5746,9 +5873,11 @@ username = "Nom d’usuari (correu electrònic)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Contrasenya"
|
||||
passwordPlaceholder = "Introduïu la contrasenya"
|
||||
passwordRequired = "La contrasenya és obligatòria"
|
||||
role = "Rol"
|
||||
team = "Equip (opcional)"
|
||||
teamPlaceholder = "Seleccioneu un equip"
|
||||
authType = "Tipus d'autenticació"
|
||||
forcePasswordChange = "Obliga a canviar la contrasenya en el primer inici de sessió"
|
||||
cancel = "Cancel·la"
|
||||
submit = "Afegeix membre"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Cal nom d’usuari i contrasenya"
|
||||
passwordTooShort = "La contrasenya ha de tenir almenys 6 caràcters"
|
||||
success = "Usuari creat correctament"
|
||||
error = "No s’ha pogut crear l’usuari"
|
||||
forceMFA = "Força la configuració de l'MFA en el proper inici de sessió"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Contrasenya"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "L'usuari s'autenticarà a través del proveïdor SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Edita membre"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} plaça(es) d’usuari disponibles"
|
||||
noSlotsAvailable = "No hi ha places disponibles"
|
||||
currentUsage = "Actualment s’estan utilitzant {{current}} de {{max}} llicències d’usuari"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA desactivada correctament per a l'usuari"
|
||||
adminDisableError = "No s'ha pogut desactivar l'MFA per a l'usuari"
|
||||
disableByAdmin = "Desactiva l'MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Equips"
|
||||
description = "Gestioneu equips i organitzeu els membres de l’espai de treball"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Visites"
|
||||
percentage = "Percentatge"
|
||||
noData = "No hi ha dades disponibles"
|
||||
unknownEndpoint = "Punt final desconegut"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Comprovant l'estat del backend..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Vybrat operaci"
|
||||
addOperationButton = "Přidat operaci"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Stáhnout"
|
||||
saveForFolderScanning = "Uložit pro skenování složky"
|
||||
validateButton = "Ověřit"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Nastavení webového prohlížeče"
|
||||
syncToBrowser = "Synchronizovat účet -> prohlížeč"
|
||||
syncToAccount = "Synchronizovat účet <- prohlížeč"
|
||||
|
||||
[account.mfa]
|
||||
title = "Dvoufázové ověření"
|
||||
setupFailed = "Nelze zahájit nastavení dvoufázového ověření. Zkuste to prosím znovu."
|
||||
codeRequired = "Pro pokračování zadejte ověřovací kód."
|
||||
enabled = "Dvoufázové ověření povoleno."
|
||||
enableFailed = "Dvoufázové ověření se nepodařilo povolit. Zkontrolujte kód a zkuste to znovu."
|
||||
disabled = "Dvoufázové ověření zakázáno."
|
||||
disableFailed = "Dvoufázové ověření se nepodařilo zakázat. Zkontrolujte kód a zkuste to znovu."
|
||||
description = "Přidejte k účtu další vrstvu zabezpečení."
|
||||
enableButton = "Povolit dvoufázové ověření"
|
||||
disableButton = "Zakázat dvoufázové ověření"
|
||||
setupTitle = "Nastavit dvoufázové ověření"
|
||||
setupDescription = "Naskenujte QR kód ve své ověřovací aplikaci a poté pro potvrzení zadejte 6místný kód."
|
||||
manualKey = "Klíč pro ruční nastavení"
|
||||
secretWarning = "Tento klíč uchovávejte v soukromí. Kdokoli s přístupem může generovat platné ověřovací kódy."
|
||||
codePlaceholder = "Zadejte 6místný kód"
|
||||
confirmEnable = "Povolit"
|
||||
disableTitle = "Zakázat dvoufázové ověření"
|
||||
disableDescription = "Zadejte platný ověřovací kód pro zakázání dvoufázového ověření."
|
||||
codeLabel = "Ověřovací kód"
|
||||
confirmDisable = "Zakázat"
|
||||
ssoDescription = "U účtů s jednotným přihlášením je dvoufázové ověření spravováno vaším poskytovatelem identity."
|
||||
ssoManaged = "Nastavte MFA prostřednictvím svého poskytovatele identity."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Nastavení správy uživatelů"
|
||||
header = "Nastavení správy uživatelů"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Stáhnout HTML mezisoubor místo PDF"
|
||||
pdfaOptions = "Možnosti PDF/A"
|
||||
outputFormat = "Výstupní formát"
|
||||
pdfaNote = "PDF/A-1b je kompatibilnější, PDF/A-2b podporuje více funkcí."
|
||||
pdfaFormat = "Formát PDF/A"
|
||||
pdfaDigitalSignatureWarning = "PDF obsahuje digitální podpis, který bude v dalším kroku odstraněn."
|
||||
pdfxDigitalSignatureWarning = "PDF obsahuje digitální podpis. Ten bude v dalším kroku odstraněn."
|
||||
pdfxDescription = "PDF/X je podmnožina PDF dle standardu ISO pro spolehlivý tisk a výměnu grafiky."
|
||||
fileFormat = "Formát souboru"
|
||||
wordDoc = "Dokument Word"
|
||||
wordDocExt = "Dokument Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Momentálně nefunguje pro více vstupů najednou"
|
||||
outputFormat = "Výstupní formát"
|
||||
pdfWithDigitalSignature = "PDF obsahuje digitální podpis, který bude v dalším kroku odstraněn."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "tisk,standard,konverze,produkce,předtisk,archiv"
|
||||
title = "PDF na PDF/X"
|
||||
header = "PDF na PDF/X"
|
||||
credit = "Tato služba používá Ghostscript pro převod na PDF/X"
|
||||
submit = "Převést"
|
||||
tip = "Aktuálně nefunguje pro více vstupů najednou"
|
||||
outputFormat = "Výstupní formát"
|
||||
pdfWithDigitalSignature = "PDF obsahuje digitální podpis. Ten bude v dalším kroku odstraněn."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,transformace,formát,převod,office,microsoft,docfile"
|
||||
title = "PDF na Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Ostatní"
|
||||
perPageInfo = "Informace po stránkách"
|
||||
tableOfContents = "Obsah"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Nezjištěno"
|
||||
passed = "Prošlo"
|
||||
failed = "Neprošlo"
|
||||
compliant = "V souladu"
|
||||
nonCompliant = "Není v souladu"
|
||||
none = "Nezjištěny žádné standardy"
|
||||
passedCount = "prošlo"
|
||||
failedCount = "neprošlo"
|
||||
noVerification = "Ověření neproběhlo"
|
||||
noVerificationDesc = "Shoda se standardy PDF nebyla pro tento dokument ověřena."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Přílohy"
|
||||
embeddedFiles = "Vložené soubory"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} omezení"
|
||||
permsMixed = "Některá oprávnění jsou omezena"
|
||||
hasCompliance = "Obsahuje standardy shody"
|
||||
noCompliance = "Žádné standardy shody"
|
||||
compliancePassed = "V souladu s {{standards}}"
|
||||
complianceChecked = "Standardy ověřeny ({{failed}} neprošlo)"
|
||||
basic = "Základní informace"
|
||||
documentInfo = "Informace o dokumentu"
|
||||
securityTitle = "Stav zabezpečení"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Heslo bylo úspěšně změněno! Přihlaste se novým
|
||||
credentialsUpdated = "Vaše přihlašovací údaje byly aktualizovány. Přihlaste se prosím znovu."
|
||||
defaultCredentials = "Výchozí přihlašovací údaje"
|
||||
changePasswordWarning = "Po prvním přihlášení si prosím změňte heslo"
|
||||
mfaRequired = "Je vyžadován kód pro dvoufázové ověření"
|
||||
mfaCode = "Ověřovací kód"
|
||||
enterMfaCode = "Zadejte 6místný kód"
|
||||
mfaPromptTitle = "Dvoufázové ověření"
|
||||
mfaPromptBody = "Pro pokračování zadejte ověřovací kód ze své ověřovací aplikace."
|
||||
verifyingMfa = "Ověřování..."
|
||||
verifyMfa = "Ověřit kód"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Přehled Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Vyžadován režim přihlášení"
|
||||
message = "Režim přihlášení musí být povolen, abyste mohli upravovat nastavení správce. Nastavte prosím SECURITY_ENABLELOGIN=true ve vašem prostředí nebo security.enableLogin: true v souboru settings.yml a poté restartujte server."
|
||||
readOnly = "Níže uvedená nastavení zobrazují vzorové hodnoty pro orientaci. Povolte režim přihlášení pro zobrazení a úpravu skutečné konfigurace."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Je vyžadována licence Enterprise"
|
||||
message = "Pro přístup k {{featureName}} je vyžadována licence Enterprise. Zobrazená data jsou pouze ukázková."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Vyžadován restart"
|
||||
message = "Nastavení byla úspěšně uložena. Aby se změny projevily, je vyžadován restart serveru."
|
||||
@@ -4771,6 +4834,48 @@ description = "Zobrazit podrobná chybová hlášení pro uživatele."
|
||||
title = "Databáze"
|
||||
description = "Nakonfigurujte vlastní nastavení připojení k databázi pro podniková nasazení."
|
||||
configuration = "Konfigurace databáze"
|
||||
backupTitle = "Zálohy a obnovení"
|
||||
backupDescription = "Spravujte zálohy H2 přímo z administrátorské konzole."
|
||||
loadError = "Nepodařilo se načíst zálohy databáze"
|
||||
backupCreated = "Záloha byla úspěšně vytvořena"
|
||||
backupFailed = "Nepodařilo se vytvořit zálohu"
|
||||
deleteTitle = "Smazat zálohu"
|
||||
deleteConfirm = "Smazat tuto zálohu? Tuto akci nelze vrátit zpět."
|
||||
deleteSuccess = "Záloha byla smazána"
|
||||
deleteFailed = "Nepodařilo se smazat zálohu"
|
||||
deleteConfirmAction = "Smazat zálohu"
|
||||
downloadFailed = "Nepodařilo se stáhnout zálohu"
|
||||
version = "Verze H2"
|
||||
embedded = "Vestavěná H2"
|
||||
external = "Externí DB"
|
||||
h2Only = "Zálohy jsou dostupné pouze pro vestavěnou databázi H2."
|
||||
h2Hint = "Nastavte typ databáze na H2 a zakažte vlastní databázi, aby bylo možné zálohování a obnovu."
|
||||
manageBackups = "Spravovat zálohy"
|
||||
refresh = "Obnovit"
|
||||
createBackup = "Vytvořit zálohu"
|
||||
uploadTitle = "Nahrát a importovat"
|
||||
chooseFile = "Vyberte soubor zálohy .sql"
|
||||
importFromUpload = "Importovat nahraný soubor"
|
||||
confirmImportTitle = "Potvrdit import databáze"
|
||||
overwriteWarning = "Varování: Tímto přepíšete aktuální databázi."
|
||||
overwriteWarningBody = "Všechna existující data budou nahrazena nahranou zálohou. Tuto akci nelze vrátit zpět."
|
||||
confirmCodeLabel = "Pro pokračování zadejte potvrzovací kód"
|
||||
enterCode = "Zadejte kód zobrazený výše"
|
||||
confirmImport = "Potvrdit import"
|
||||
codeMismatch = "Potvrzovací kód nesouhlasí"
|
||||
codeMismatchBody = "Pro pokračování zadejte kód přesně tak, jak je zobrazen."
|
||||
selectFile = "Vyberte soubor .sql k importu"
|
||||
importSuccess = "Záloha byla úspěšně importována"
|
||||
importFailed = "Nepodařilo se importovat zálohu"
|
||||
noBackups = "Zatím nebyly nalezeny žádné zálohy."
|
||||
unavailable = "Seznam záloh není k dispozici pro aktuální konfiguraci databáze."
|
||||
fileName = "Soubor"
|
||||
created = "Vytvořeno"
|
||||
size = "Velikost"
|
||||
actions = "Akce"
|
||||
download = "Stáhnout"
|
||||
import = "Importovat"
|
||||
delete = "Smazat"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Povolit vlastní databázi"
|
||||
@@ -4848,6 +4953,26 @@ description = "Maximální DPI pro zpracování obrázků (0 = neomezeně)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Adresář tessdata"
|
||||
description = "Cesta k adresáři tessdata pro jazykové soubory OCR"
|
||||
downloadMissingTitle = "Není vybrán žádný jazyk"
|
||||
downloadMissingBody = "Vyberte alespoň jeden jazyk ke stažení."
|
||||
downloadSuccessTitle = "Jazyky staženy"
|
||||
downloadSuccessBody = "Vybrané jazyky tessdata byly uloženy."
|
||||
downloadErrorTitle = "Stažení se nezdařilo"
|
||||
loadingLanguages = "Načítání nainstalovaných jazyků tessdata..."
|
||||
installedLanguages = "Nainstalované jazyky tessdata"
|
||||
noLanguages = "V nakonfigurovaném adresáři nebyly nalezeny žádné jazyky tessdata."
|
||||
downloadLabel = "Stáhnout další jazyky tessdata"
|
||||
downloadPlaceholder = "Vyberte jazyky"
|
||||
downloadNothingFound = "Nebyly nalezeny žádné další jazyky"
|
||||
permissionNotice = "Cesta k tessdata není zapisovatelná. Stažení se otevře v prohlížeči; soubory .traineddata prosím uložte ručně do složky tessdata."
|
||||
manualLinks = "Ruční stažení: klikněte na odkazy a umístěte soubory do složky tessdata."
|
||||
downloadButton = "Stáhnout vybrané jazyky"
|
||||
downloadInvalidTitle = "Neplatný výběr"
|
||||
downloadInvalidBody = "Některé vybrané jazyky nejsou k dispozici ke stažení. Obnovte prosím a vyberte ze seznamu."
|
||||
downloadErrorNetwork = "Stažení selhalo kvůli chybě sítě. Zkontrolujte prosím své připojení a zkuste to znovu."
|
||||
downloadErrorServer = "Při stahování jazyků tessdata došlo na serveru k chybě. Zkuste to prosím později."
|
||||
downloadErrorPermission = "Adresář tessdata není zapisovatelný: {{message}}. Vyberte prosím zapisovatelný adresář (např. v adresáři dat aplikace) nebo upravte oprávnění."
|
||||
downloadErrorGeneric = "Stažení selhalo: {{message}}. Zkuste to prosím později."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Zakázat sanitizaci HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Vytvářejte vícekrokové pracovní postupy řetězením akcí PDF. Ide
|
||||
invalidStep = "Neplatný krok"
|
||||
reviewTitle = "Výsledky automatizace"
|
||||
copyToSaved = "Zkopírovat do uložených"
|
||||
exportForFolderScanning = "Export pro skenování složky"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Vyberte soubory pro zpracování touto automatizací"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Vytvořit automatizaci"
|
||||
editTitle = "Upravit automatizaci"
|
||||
intro = "Automatizace spouštějí nástroje postupně. Začněte přidáním nástrojů v pořadí, v jakém je chcete spustit."
|
||||
save = "Uložit automatizaci"
|
||||
exportForFolderScanning = "Export pro skenování složky"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Název automatizace"
|
||||
@@ -5746,9 +5873,11 @@ username = "Uživatelské jméno (e‑mail)"
|
||||
usernamePlaceholder = "uzivatel@priklad.cz"
|
||||
password = "Heslo"
|
||||
passwordPlaceholder = "Zadejte heslo"
|
||||
passwordRequired = "Heslo je povinné"
|
||||
role = "Role"
|
||||
team = "Tým (volitelné)"
|
||||
teamPlaceholder = "Vyberte tým"
|
||||
authType = "Typ ověřování"
|
||||
forcePasswordChange = "Vynutit změnu hesla při prvním přihlášení"
|
||||
cancel = "Zrušit"
|
||||
submit = "Přidat člena"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Uživatelské jméno a heslo jsou povinné"
|
||||
passwordTooShort = "Heslo musí mít alespoň 6 znaků"
|
||||
success = "Uživatel úspěšně vytvořen"
|
||||
error = "Nepodařilo se vytvořit uživatele"
|
||||
forceMFA = "Vynutit nastavení MFA při příštím přihlášení"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Heslo"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Uživatel se bude ověřovat přes poskytovatele SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Upravit člena"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} míst pro uživatele k dispozici"
|
||||
noSlotsAvailable = "Žádná volná místa"
|
||||
currentUsage = "Aktuálně používáte {{current}} z {{max}} uživatelských licencí"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA bylo u uživatele úspěšně zakázáno"
|
||||
adminDisableError = "Nepodařilo se zakázat MFA u uživatele"
|
||||
disableByAdmin = "Zakázat MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Týmy"
|
||||
description = "Spravujte týmy a organizujte členy pracovního prostoru"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Návštěvy"
|
||||
percentage = "Procenta"
|
||||
noData = "Žádná data nejsou k dispozici"
|
||||
unknownEndpoint = "Neznámý koncový bod"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Kontrola stavu backendu..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Vælg Operation"
|
||||
addOperationButton = "Tilføj operation"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Download"
|
||||
saveForFolderScanning = "Gem til mappeovervågning"
|
||||
validateButton = "Validér"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Webbrowser Indstilling"
|
||||
syncToBrowser = "Synkroniser Konto -> Browser"
|
||||
syncToAccount = "Synkroniser Konto <- Browser"
|
||||
|
||||
[account.mfa]
|
||||
title = "Tofaktorgodkendelse"
|
||||
setupFailed = "Kunne ikke starte opsætning af tofaktorgodkendelse. Prøv igen."
|
||||
codeRequired = "Indtast godkendelseskoden for at fortsætte."
|
||||
enabled = "Tofaktorgodkendelse er aktiveret."
|
||||
enableFailed = "Kan ikke aktivere tofaktorgodkendelse. Kontroller koden, og prøv igen."
|
||||
disabled = "Tofaktorgodkendelse er deaktiveret."
|
||||
disableFailed = "Kan ikke deaktivere tofaktorgodkendelse. Kontroller koden, og prøv igen."
|
||||
description = "Tilføj et ekstra sikkerhedslag til din konto."
|
||||
enableButton = "Aktivér tofaktorgodkendelse"
|
||||
disableButton = "Deaktivér tofaktorgodkendelse"
|
||||
setupTitle = "Opsæt tofaktorgodkendelse"
|
||||
setupDescription = "Scan QR-koden med din godkendelsesapp, og indtast derefter den 6-cifrede kode for at bekræfte."
|
||||
manualKey = "Manuel opsætningsnøgle"
|
||||
secretWarning = "Hold denne nøgle privat. Alle med adgang kan generere gyldige godkendelseskoder."
|
||||
codePlaceholder = "Indtast 6-cifret kode"
|
||||
confirmEnable = "Aktivér"
|
||||
disableTitle = "Deaktivér tofaktorgodkendelse"
|
||||
disableDescription = "Indtast en gyldig godkendelseskode for at deaktivere tofaktorgodkendelse."
|
||||
codeLabel = "Godkendelseskode"
|
||||
confirmDisable = "Deaktivér"
|
||||
ssoDescription = "Tofaktorgodkendelse administreres af din identitetsudbyder for single sign-on-konti."
|
||||
ssoManaged = "Konfigurer MFA via din identitetsudbyder."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Brugerkontrolindstillinger"
|
||||
header = "Admin Brugerkontrolindstillinger"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Download HTML-mellemfil i stedet for PDF"
|
||||
pdfaOptions = "PDF/A-indstillinger"
|
||||
outputFormat = "Outputformat"
|
||||
pdfaNote = "PDF/A-1b er mere kompatibel, PDF/A-2b understøtter flere funktioner."
|
||||
pdfaFormat = "PDF/A-format"
|
||||
pdfaDigitalSignatureWarning = "PDF'en indeholder en digital signatur. Dette vil blive fjernet i næste trin."
|
||||
pdfxDigitalSignatureWarning = "PDF'en indeholder en digital signatur. Denne fjernes i næste trin."
|
||||
pdfxDescription = "PDF/X er en ISO-standard PDF-undersæt til pålidelig udskrivning og grafikudveksling."
|
||||
fileFormat = "Filformat"
|
||||
wordDoc = "Word-dokument"
|
||||
wordDocExt = "Word-dokument (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Fungerer i øjeblikket ikke for flere input på én gang"
|
||||
outputFormat = "Outputformat"
|
||||
pdfWithDigitalSignature = "PDF'en indeholder en digital signatur. Dette vil blive fjernet i næste trin."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "udskrivning,standard,konvertering,produktion,førtryk,arkiv"
|
||||
title = "PDF til PDF/X"
|
||||
header = "PDF til PDF/X"
|
||||
credit = "Denne tjeneste bruger Ghostscript til PDF/X-konvertering"
|
||||
submit = "Konverter"
|
||||
tip = "Fungerer i øjeblikket ikke med flere input ad gangen"
|
||||
outputFormat = "Outputformat"
|
||||
pdfWithDigitalSignature = "PDF'en indeholder en digital signatur. Denne fjernes i næste trin."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,transformation,format,konvertering,kontor,microsoft,docfil"
|
||||
title = "PDF til Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Andet"
|
||||
perPageInfo = "Info pr. side"
|
||||
tableOfContents = "Indholdsfortegnelse"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Ikke detekteret"
|
||||
passed = "Bestået"
|
||||
failed = "Fejlet"
|
||||
compliant = "I overensstemmelse"
|
||||
nonCompliant = "Ikke i overensstemmelse"
|
||||
none = "Ingen standarder registreret"
|
||||
passedCount = "bestået"
|
||||
failedCount = "fejlet"
|
||||
noVerification = "Ingen verificering udført"
|
||||
noVerificationDesc = "Overholdelse af PDF-standarder blev ikke verificeret for dette dokument."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Vedhæftninger"
|
||||
embeddedFiles = "Indlejrede filer"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} begrænsninger"
|
||||
permsMixed = "Nogle tilladelser er begrænsede"
|
||||
hasCompliance = "Har overensstemmelsesstandarder"
|
||||
noCompliance = "Ingen overensstemmelsesstandarder"
|
||||
compliancePassed = "{{standards}} i overensstemmelse"
|
||||
complianceChecked = "Standarder verificeret ({{failed}} fejlet)"
|
||||
basic = "Grundlæggende oplysninger"
|
||||
documentInfo = "Dokumentoplysninger"
|
||||
securityTitle = "Sikkerhedsstatus"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Adgangskoden blev ændret! Log ind med din nye adgangs
|
||||
credentialsUpdated = "Dine legitimationsoplysninger er opdateret. Log ind igen."
|
||||
defaultCredentials = "Standard loginoplysninger"
|
||||
changePasswordWarning = "Skift din adgangskode efter du har logget ind første gang"
|
||||
mfaRequired = "Tofaktorkode påkrævet"
|
||||
mfaCode = "Godkendelseskode"
|
||||
enterMfaCode = "Indtast 6-cifret kode"
|
||||
mfaPromptTitle = "Tofaktorgodkendelse"
|
||||
mfaPromptBody = "Indtast godkendelseskoden fra din godkendelsesapp for at fortsætte."
|
||||
verifyingMfa = "Verificerer..."
|
||||
verifyMfa = "Verificér kode"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF oversigt"
|
||||
@@ -4324,6 +4383,10 @@ title = "Login-tilstand påkrævet"
|
||||
message = "Login-tilstand skal være aktiveret for at ændre adminindstillinger. Angiv SECURITY_ENABLELOGIN=true i dit miljø eller security.enableLogin: true i settings.yml, og genstart derefter serveren."
|
||||
readOnly = "Indstillingerne nedenfor viser eksempelværdier til reference. Aktivér login-tilstand for at se og redigere den faktiske konfiguration."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Enterprise-licens påkrævet"
|
||||
message = "En Enterprise-licens er påkrævet for at få adgang til {{featureName}}. Du ser demodata til reference."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Genstart påkrævet"
|
||||
message = "Indstillingerne er gemt. En servergenstart er påkrævet for at ændringerne træder i kraft."
|
||||
@@ -4771,6 +4834,48 @@ description = "Vis detaljerede fejlmeddelelser for brugere."
|
||||
title = "Database"
|
||||
description = "Konfigurer brugerdefinerede databaseforbindelser til virksomhedsinstallationer."
|
||||
configuration = "Databasekonfiguration"
|
||||
backupTitle = "Sikkerhedskopier & gendannelse"
|
||||
backupDescription = "Administrer H2-sikkerhedskopier direkte fra administratorkonsollen."
|
||||
loadError = "Kunne ikke indlæse database-sikkerhedskopier"
|
||||
backupCreated = "Sikkerhedskopi oprettet"
|
||||
backupFailed = "Kunne ikke oprette sikkerhedskopi"
|
||||
deleteTitle = "Slet sikkerhedskopi"
|
||||
deleteConfirm = "Slet denne sikkerhedskopi? Dette kan ikke fortrydes."
|
||||
deleteSuccess = "Sikkerhedskopi slettet"
|
||||
deleteFailed = "Kunne ikke slette sikkerhedskopi"
|
||||
deleteConfirmAction = "Slet sikkerhedskopi"
|
||||
downloadFailed = "Kunne ikke downloade sikkerhedskopi"
|
||||
version = "H2-version"
|
||||
embedded = "Indlejret H2"
|
||||
external = "Ekstern database"
|
||||
h2Only = "Sikkerhedskopier er kun tilgængelige for den indlejrede H2-database."
|
||||
h2Hint = "Sæt databasetypen til H2 og deaktivér brugerdefineret database for at aktivere sikkerhedskopiering og gendannelse."
|
||||
manageBackups = "Administrer sikkerhedskopier"
|
||||
refresh = "Opdater"
|
||||
createBackup = "Opret sikkerhedskopi"
|
||||
uploadTitle = "Upload & import"
|
||||
chooseFile = "Vælg en .sql-sikkerhedskopifil"
|
||||
importFromUpload = "Importer upload"
|
||||
confirmImportTitle = "Bekræft databaseimport"
|
||||
overwriteWarning = "Advarsel: Dette vil overskrive den aktuelle database."
|
||||
overwriteWarningBody = "Alle eksisterende data vil blive erstattet af den uploadede sikkerhedskopi. Denne handling kan ikke fortrydes."
|
||||
confirmCodeLabel = "Indtast bekræftelseskoden for at fortsætte"
|
||||
enterCode = "Indtast koden vist ovenfor"
|
||||
confirmImport = "Bekræft import"
|
||||
codeMismatch = "Bekræftelseskoden matcher ikke"
|
||||
codeMismatchBody = "Indtast koden præcis som vist for at fortsætte."
|
||||
selectFile = "Vælg en .sql-fil til import"
|
||||
importSuccess = "Sikkerhedskopi importeret"
|
||||
importFailed = "Kunne ikke importere sikkerhedskopi"
|
||||
noBackups = "Ingen sikkerhedskopier fundet endnu."
|
||||
unavailable = "Liste over sikkerhedskopier er ikke tilgængelig for den aktuelle databasekonfiguration."
|
||||
fileName = "Fil"
|
||||
created = "Oprettet"
|
||||
size = "Størrelse"
|
||||
actions = "Handlinger"
|
||||
download = "Download"
|
||||
import = "Importer"
|
||||
delete = "Slet"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Aktivér brugerdefineret database"
|
||||
@@ -4848,6 +4953,26 @@ description = "Maksimal DPI for billedbehandling (0 = ubegrænset)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Tessdata-mappe"
|
||||
description = "Sti til tessdata-mappen for OCR-sprogfiler"
|
||||
downloadMissingTitle = "Intet sprog valgt"
|
||||
downloadMissingBody = "Vælg mindst ét sprog til download."
|
||||
downloadSuccessTitle = "Sprog downloadet"
|
||||
downloadSuccessBody = "De valgte tessdata-sprog er blevet gemt."
|
||||
downloadErrorTitle = "Download mislykkedes"
|
||||
loadingLanguages = "Indlæser installerede tessdata-sprog..."
|
||||
installedLanguages = "Installerede tessdata-sprog"
|
||||
noLanguages = "Ingen tessdata-sprog fundet i den konfigurerede mappe."
|
||||
downloadLabel = "Download yderligere tessdata-sprog"
|
||||
downloadPlaceholder = "Vælg sprog"
|
||||
downloadNothingFound = "Ingen yderligere sprog fundet"
|
||||
permissionNotice = "Stien til tessdata er ikke skrivbar. Downloads åbnes i browseren; gem venligst .traineddata-filerne manuelt i tessdata-mappen."
|
||||
manualLinks = "Manuelle downloads: klik på linkene og placer filerne i tessdata-mappen."
|
||||
downloadButton = "Download valgte sprog"
|
||||
downloadInvalidTitle = "Ugyldigt valg"
|
||||
downloadInvalidBody = "Nogle valgte sprog er ikke tilgængelige til download. Opdater venligst og vælg fra listen."
|
||||
downloadErrorNetwork = "Download mislykkedes på grund af en netværksfejl. Kontroller din forbindelse og prøv igen."
|
||||
downloadErrorServer = "Serveren stødte på en fejl under download af tessdata-sprog. Prøv igen senere."
|
||||
downloadErrorPermission = "Tessdata-mappen er ikke skrivbar: {{message}}. Vælg en skrivbar mappe (f.eks. under programmets data-mappe), eller juster tilladelserne."
|
||||
downloadErrorGeneric = "Download mislykkedes: {{message}}. Prøv igen senere."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Deaktivér HTML-sanitization"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Byg flertrins arbejdsgange ved at kæde PDF-handlinger sammen. Ideelt ti
|
||||
invalidStep = "Ugyldigt trin"
|
||||
reviewTitle = "Resultater af automatisering"
|
||||
copyToSaved = "Kopiér til gemte"
|
||||
exportForFolderScanning = "Eksporter til mappeovervågning"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Vælg filer, der skal behandles med denne automatisering"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Opret automatisering"
|
||||
editTitle = "Rediger automatisering"
|
||||
intro = "Automatiseringer kører værktøjer sekventielt. For at komme i gang skal du tilføje værktøjer i den rækkefølge, du vil have dem til at køre."
|
||||
save = "Gem automatisering"
|
||||
exportForFolderScanning = "Eksporter til mappeovervågning"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Navn på automatisering"
|
||||
@@ -5746,9 +5873,11 @@ username = "Brugernavn (e-mail)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Adgangskode"
|
||||
passwordPlaceholder = "Indtast adgangskode"
|
||||
passwordRequired = "Adgangskode er påkrævet"
|
||||
role = "Rolle"
|
||||
team = "Team (valgfrit)"
|
||||
teamPlaceholder = "Vælg et team"
|
||||
authType = "Godkendelsestype"
|
||||
forcePasswordChange = "Gennemtving adgangskodeskift ved første login"
|
||||
cancel = "Annullér"
|
||||
submit = "Tilføj medlem"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Brugernavn og adgangskode er påkrævet"
|
||||
passwordTooShort = "Adgangskoden skal være mindst 6 tegn"
|
||||
success = "Bruger oprettet"
|
||||
error = "Kunne ikke oprette bruger"
|
||||
forceMFA = "Gennemtving MFA-opsætning ved næste login"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Adgangskode"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Brugeren godkendes via SSO-udbyder"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Redigér medlem"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} ledig(e) brugerplads(er)"
|
||||
noSlotsAvailable = "Ingen pladser tilgængelige"
|
||||
currentUsage = "Bruger i øjeblikket {{current}} af {{max}} brugerlicenser"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA blev deaktiveret for brugeren"
|
||||
adminDisableError = "Kunne ikke deaktivere MFA for brugeren"
|
||||
disableByAdmin = "Deaktivér MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Teams"
|
||||
description = "Administrér teams og organisér medlemmer i arbejdsområdet"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Besøg"
|
||||
percentage = "Procent"
|
||||
noData = "Ingen data tilgængelige"
|
||||
unknownEndpoint = "Ukendt endepunkt"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Kontrollerer backend-status..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Vorgang auswählen"
|
||||
addOperationButton = "Vorgang hinzufügen"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Herunterladen"
|
||||
saveForFolderScanning = "Für Ordnerscan speichern"
|
||||
validateButton = "Validieren"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Webbrowser-Einstellung"
|
||||
syncToBrowser = "Konto → Browser synchronisieren"
|
||||
syncToAccount = "Konto ← Browser synchronisieren"
|
||||
|
||||
[account.mfa]
|
||||
title = "Zwei-Faktor-Authentifizierung"
|
||||
setupFailed = "Zwei-Faktor-Einrichtung konnte nicht gestartet werden. Bitte versuchen Sie es erneut."
|
||||
codeRequired = "Geben Sie zur Fortsetzung den Authentifizierungscode ein."
|
||||
enabled = "Zwei-Faktor-Authentifizierung aktiviert."
|
||||
enableFailed = "Zwei-Faktor-Authentifizierung konnte nicht aktiviert werden. Bitte prüfen Sie den Code und versuchen Sie es erneut."
|
||||
disabled = "Zwei-Faktor-Authentifizierung deaktiviert."
|
||||
disableFailed = "Zwei-Faktor-Authentifizierung konnte nicht deaktiviert werden. Bitte prüfen Sie den Code und versuchen Sie es erneut."
|
||||
description = "Fügen Sie Ihrem Konto eine zusätzliche Sicherheitsebene hinzu."
|
||||
enableButton = "Zwei-Faktor-Authentifizierung aktivieren"
|
||||
disableButton = "Zwei-Faktor-Authentifizierung deaktivieren"
|
||||
setupTitle = "Zwei-Faktor-Authentifizierung einrichten"
|
||||
setupDescription = "Scannen Sie den QR-Code mit Ihrer Authenticator-App und geben Sie anschließend den 6-stelligen Code zur Bestätigung ein."
|
||||
manualKey = "Manueller Einrichtungsschlüssel"
|
||||
secretWarning = "Bewahren Sie diesen Schlüssel geheim auf. Jeder mit Zugriff kann gültige Authentifizierungscodes generieren."
|
||||
codePlaceholder = "6-stelligen Code eingeben"
|
||||
confirmEnable = "Aktivieren"
|
||||
disableTitle = "Zwei-Faktor-Authentifizierung deaktivieren"
|
||||
disableDescription = "Geben Sie einen gültigen Authentifizierungscode ein, um die Zwei-Faktor-Authentifizierung zu deaktivieren."
|
||||
codeLabel = "Authentifizierungscode"
|
||||
confirmDisable = "Deaktivieren"
|
||||
ssoDescription = "Für Single Sign-On-Konten wird die Zwei-Faktor-Authentifizierung von Ihrem Identitätsanbieter verwaltet."
|
||||
ssoManaged = "Konfigurieren Sie MFA über Ihren Identitätsanbieter."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Benutzerkontrolle"
|
||||
header = "Administrator-Benutzerkontrolle"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "HTML-Zwischendatei anstatt PDF herunterladen"
|
||||
pdfaOptions = "PDF/A-Optionen"
|
||||
outputFormat = "Ausgabeformat"
|
||||
pdfaNote = "PDF/A-1b ist kompatibler, PDF/A-2b unterstützt mehr Funktionen."
|
||||
pdfaFormat = "PDF/A-Format"
|
||||
pdfaDigitalSignatureWarning = "Das PDF enthält eine digitale Signatur. Sie wird im nächsten Schritt entfernt."
|
||||
pdfxDigitalSignatureWarning = "Das PDF enthält eine digitale Signatur. Diese wird im nächsten Schritt entfernt."
|
||||
pdfxDescription = "PDF/X ist eine ISO-Standard-PDF-Teilmenge für zuverlässigen Druck und Grafikaustausch."
|
||||
fileFormat = "Dateiformat"
|
||||
wordDoc = "Word-Dokument"
|
||||
wordDocExt = "Word-Dokument (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Dieser Dienst kann nur einzelne Eingangsdateien verarbeiten."
|
||||
outputFormat = "Ausgabeformat"
|
||||
pdfWithDigitalSignature = "Das PDF enthält eine digitale Signatur. Sie wird im nächsten Schritt entfernt."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "druck,standard,konvertierung,produktion,vorstufe,archiv"
|
||||
title = "PDF in PDF/X"
|
||||
header = "PDF in PDF/X"
|
||||
credit = "Dieser Dienst verwendet Ghostscript für die PDF/X-Konvertierung"
|
||||
submit = "Konvertieren"
|
||||
tip = "Funktioniert derzeit nicht für mehrere Eingaben gleichzeitig"
|
||||
outputFormat = "Ausgabeformat"
|
||||
pdfWithDigitalSignature = "Das PDF enthält eine digitale Signatur. Diese wird im nächsten Schritt entfernt."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,transformation,format,konvertierung,office,microsoft,docfile"
|
||||
title = "PDF zu Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Sonstiges"
|
||||
perPageInfo = "Informationen pro Seite"
|
||||
tableOfContents = "Inhaltsverzeichnis"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Nicht erkannt"
|
||||
passed = "Bestanden"
|
||||
failed = "Fehlgeschlagen"
|
||||
compliant = "Konform"
|
||||
nonCompliant = "Nicht konform"
|
||||
none = "Keine Standards erkannt"
|
||||
passedCount = "bestanden"
|
||||
failedCount = "fehlgeschlagen"
|
||||
noVerification = "Keine Überprüfung durchgeführt"
|
||||
noVerificationDesc = "Die Konformität mit PDF-Standards wurde für dieses Dokument nicht überprüft."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Anhänge"
|
||||
embeddedFiles = "Eingebettete Dateien"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} Einschränkungen"
|
||||
permsMixed = "Einige Berechtigungen eingeschränkt"
|
||||
hasCompliance = "Entspricht Compliance-Standards"
|
||||
noCompliance = "Keine Compliance-Standards"
|
||||
compliancePassed = "Mit {{standards}} konform"
|
||||
complianceChecked = "Standards überprüft ({{failed}} fehlgeschlagen)"
|
||||
basic = "Grundlegende Informationen"
|
||||
documentInfo = "Dokumentinformationen"
|
||||
securityTitle = "Sicherheitsstatus"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Passwort erfolgreich geändert! Bitte melden Sie sich
|
||||
credentialsUpdated = "Ihre Anmeldedaten wurden aktualisiert. Bitte melden Sie sich erneut an."
|
||||
defaultCredentials = "Standard-Login-Daten"
|
||||
changePasswordWarning = "Bitte ändern Sie Ihr Passwort nach dem ersten Login."
|
||||
mfaRequired = "Zwei-Faktor-Code erforderlich"
|
||||
mfaCode = "Authentifizierungscode"
|
||||
enterMfaCode = "6-stelligen Code eingeben"
|
||||
mfaPromptTitle = "Zwei-Faktor-Authentifizierung"
|
||||
mfaPromptBody = "Geben Sie den Authentifizierungscode aus Ihrer Authenticator-App ein, um fortzufahren."
|
||||
verifyingMfa = "Wird überprüft..."
|
||||
verifyMfa = "Code überprüfen"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF Übersicht"
|
||||
@@ -4324,6 +4383,10 @@ title = "Anmeldemodus erforderlich"
|
||||
message = "Der Anmeldemodus muss aktiviert sein, um Admin-Einstellungen zu ändern. Bitte setzen Sie SECURITY_ENABLELOGIN=true in Ihrer Umgebung oder security.enableLogin: true in settings.yml und starten Sie dann den Server neu."
|
||||
readOnly = "Die folgenden Einstellungen zeigen Beispielwerte als Referenz. Aktivieren Sie den Anmeldemodus, um die tatsächliche Konfiguration anzuzeigen und zu bearbeiten."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Enterprise-Lizenz erforderlich"
|
||||
message = "Für den Zugriff auf {{featureName}} ist eine Enterprise-Lizenz erforderlich. Sie sehen zu Referenzzwecken Demodaten."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Neustart erforderlich"
|
||||
message = "Einstellungen wurden erfolgreich gespeichert. Ein Serverneustart ist erforderlich, damit die Änderungen wirksam werden."
|
||||
@@ -4771,6 +4834,48 @@ description = "Show detailed error messages for users."
|
||||
title = "Datenbank"
|
||||
description = "Benutzerdefinierte Datenbankverbindungseinstellungen für Enterprise-Bereitstellungen konfigurieren."
|
||||
configuration = "Datenbankkonfiguration"
|
||||
backupTitle = "Backups & Wiederherstellung"
|
||||
backupDescription = "H2-Backups direkt über die Admin-Konsole verwalten."
|
||||
loadError = "Datenbank-Backups konnten nicht geladen werden"
|
||||
backupCreated = "Backup erfolgreich erstellt"
|
||||
backupFailed = "Erstellen des Backups fehlgeschlagen"
|
||||
deleteTitle = "Backup löschen"
|
||||
deleteConfirm = "Dieses Backup löschen? Dies kann nicht rückgängig gemacht werden."
|
||||
deleteSuccess = "Backup gelöscht"
|
||||
deleteFailed = "Löschen des Backups fehlgeschlagen"
|
||||
deleteConfirmAction = "Backup löschen"
|
||||
downloadFailed = "Herunterladen des Backups fehlgeschlagen"
|
||||
version = "H2-Version"
|
||||
embedded = "Eingebettetes H2"
|
||||
external = "Externe DB"
|
||||
h2Only = "Backups sind nur für die eingebettete H2-Datenbank verfügbar."
|
||||
h2Hint = "Setzen Sie den Datenbanktyp auf H2 und deaktivieren Sie die benutzerdefinierte Datenbank, um Backup und Wiederherstellung zu aktivieren."
|
||||
manageBackups = "Backups verwalten"
|
||||
refresh = "Aktualisieren"
|
||||
createBackup = "Backup erstellen"
|
||||
uploadTitle = "Hochladen & Importieren"
|
||||
chooseFile = "Eine .sql-Backup-Datei auswählen"
|
||||
importFromUpload = "Upload importieren"
|
||||
confirmImportTitle = "Datenbankimport bestätigen"
|
||||
overwriteWarning = "Warnung: Dies überschreibt die aktuelle Datenbank."
|
||||
overwriteWarningBody = "Alle vorhandenen Daten werden durch das hochgeladene Backup ersetzt. Diese Aktion kann nicht rückgängig gemacht werden."
|
||||
confirmCodeLabel = "Zum Fortfahren den Bestätigungscode eingeben"
|
||||
enterCode = "Den oben angezeigten Code eingeben"
|
||||
confirmImport = "Import bestätigen"
|
||||
codeMismatch = "Bestätigungscode stimmt nicht überein"
|
||||
codeMismatchBody = "Bitte den Code exakt wie angezeigt eingeben, um fortzufahren."
|
||||
selectFile = "Bitte eine .sql-Datei zum Importieren auswählen"
|
||||
importSuccess = "Backup erfolgreich importiert"
|
||||
importFailed = "Import des Backups fehlgeschlagen"
|
||||
noBackups = "Noch keine Backups gefunden."
|
||||
unavailable = "Die Backupliste ist für die aktuelle Datenbankkonfiguration nicht verfügbar."
|
||||
fileName = "Datei"
|
||||
created = "Erstellt"
|
||||
size = "Größe"
|
||||
actions = "Aktionen"
|
||||
download = "Herunterladen"
|
||||
import = "Importieren"
|
||||
delete = "Löschen"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Benutzerdefinierte Datenbank aktivieren"
|
||||
@@ -4848,6 +4953,26 @@ description = "Maximale DPI für Bildverarbeitung (0 = unbegrenzt)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Tessdata-Verzeichnis"
|
||||
description = "Pfad zum tessdata-Verzeichnis für OCR-Sprachdateien"
|
||||
downloadMissingTitle = "Keine Sprache ausgewählt"
|
||||
downloadMissingBody = "Bitte mindestens eine Sprache zum Herunterladen auswählen."
|
||||
downloadSuccessTitle = "Sprachen heruntergeladen"
|
||||
downloadSuccessBody = "Die ausgewählten tessdata-Sprachen wurden gespeichert."
|
||||
downloadErrorTitle = "Download fehlgeschlagen"
|
||||
loadingLanguages = "Installierte tessdata-Sprachen werden geladen..."
|
||||
installedLanguages = "Installierte tessdata-Sprachen"
|
||||
noLanguages = "Keine tessdata-Sprachen im konfigurierten Verzeichnis gefunden."
|
||||
downloadLabel = "Zusätzliche tessdata-Sprachen herunterladen"
|
||||
downloadPlaceholder = "Sprachen auswählen"
|
||||
downloadNothingFound = "Keine zusätzlichen Sprachen gefunden"
|
||||
permissionNotice = "Der tessdata-Pfad ist nicht beschreibbar. Downloads werden im Browser geöffnet; bitte die .traineddata-Dateien manuell in den tessdata-Ordner speichern."
|
||||
manualLinks = "Manuelle Downloads: Links anklicken und die Dateien in den tessdata-Ordner ablegen."
|
||||
downloadButton = "Ausgewählte Sprachen herunterladen"
|
||||
downloadInvalidTitle = "Ungültige Auswahl"
|
||||
downloadInvalidBody = "Einige ausgewählte Sprachen sind nicht zum Download verfügbar. Bitte aktualisieren und aus der Liste auswählen."
|
||||
downloadErrorNetwork = "Download aufgrund eines Netzwerkfehlers fehlgeschlagen. Bitte die Verbindung prüfen und erneut versuchen."
|
||||
downloadErrorServer = "Beim Herunterladen von tessdata-Sprachen ist ein Serverfehler aufgetreten. Bitte später erneut versuchen."
|
||||
downloadErrorPermission = "Tessdata-Verzeichnis ist nicht beschreibbar: {{message}}. Bitte ein beschreibbares Verzeichnis wählen (z. B. im Anwendungsdaten-Ordner) oder Berechtigungen anpassen."
|
||||
downloadErrorGeneric = "Download fehlgeschlagen: {{message}}. Bitte später erneut versuchen."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML-Bereinigung deaktivieren"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Mehrstufige Arbeitsabläufe durch Verkettung von PDF-Aktionen erstellen.
|
||||
invalidStep = "Ungültiger Schritt"
|
||||
reviewTitle = "Automatisierungsergebnisse"
|
||||
copyToSaved = "In gespeicherte kopieren"
|
||||
exportForFolderScanning = "Für Ordnerscan exportieren"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Wählen Sie Dateien aus, die mit dieser Automatisierung verarbeitet werden sollen"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Automatisierung erstellen"
|
||||
editTitle = "Automatisierung bearbeiten"
|
||||
intro = "Automatisierungen führen Werkzeuge sequenziell aus. Fügen Sie Werkzeuge in der gewünschten Reihenfolge hinzu, um zu beginnen."
|
||||
save = "Automatisierung speichern"
|
||||
exportForFolderScanning = "Für Ordnerscan exportieren"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Name der Automatisierung"
|
||||
@@ -5746,9 +5873,11 @@ username = "Benutzername (E-Mail)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Passwort"
|
||||
passwordPlaceholder = "Passwort eingeben"
|
||||
passwordRequired = "Passwort ist erforderlich"
|
||||
role = "Rolle"
|
||||
team = "Team (optional)"
|
||||
teamPlaceholder = "Team auswählen"
|
||||
authType = "Authentifizierungstyp"
|
||||
forcePasswordChange = "Passwortänderung bei erster Anmeldung erzwingen"
|
||||
cancel = "Abbrechen"
|
||||
submit = "Mitglied hinzufügen"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Benutzername und Passwort sind erforderlich"
|
||||
passwordTooShort = "Passwort muss mindestens 6 Zeichen lang sein"
|
||||
success = "Benutzer erfolgreich erstellt"
|
||||
error = "Benutzer konnte nicht erstellt werden"
|
||||
forceMFA = "MFA-Einrichtung bei der nächsten Anmeldung erzwingen"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Passwort"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Der Benutzer authentifiziert sich über den SSO-Anbieter"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Mitglied bearbeiten"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} Benutzer-Slot(s) verfügbar"
|
||||
noSlotsAvailable = "Keine Slots verfügbar"
|
||||
currentUsage = "Derzeit werden {{current}} von {{max}} Benutzerlizenzen verwendet"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA für Benutzer erfolgreich deaktiviert"
|
||||
adminDisableError = "MFA konnte für Benutzer nicht deaktiviert werden"
|
||||
disableByAdmin = "MFA deaktivieren"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Teams"
|
||||
description = "Teams verwalten und Mitglieder des Arbeitsbereichs organisieren"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpunkt"
|
||||
visits = "Aufrufe"
|
||||
percentage = "Prozentsatz"
|
||||
noData = "Keine Daten verfügbar"
|
||||
unknownEndpoint = "Unbekannter Endpunkt"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Backend-Status wird geprüft..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Επιλογή λειτουργίας"
|
||||
addOperationButton = "Προσθήκη λειτουργίας"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Λήψη"
|
||||
saveForFolderScanning = "Αποθήκευση για σάρωση φακέλων"
|
||||
validateButton = "Επικύρωση"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Ρύθμιση περιηγητή"
|
||||
syncToBrowser = "Συγχρονισμός λογαριασμού -> περιηγητή"
|
||||
syncToAccount = "Συγχρονισμός λογαριασμού <- περιηγητή"
|
||||
|
||||
[account.mfa]
|
||||
title = "Έλεγχος ταυτότητας δύο παραγόντων"
|
||||
setupFailed = "Δεν ήταν δυνατή η έναρξη ρύθμισης ελέγχου ταυτότητας δύο παραγόντων. Προσπαθήστε ξανά."
|
||||
codeRequired = "Εισαγάγετε τον κωδικό ελέγχου ταυτότητας για να συνεχίσετε."
|
||||
enabled = "Ο έλεγχος ταυτότητας δύο παραγόντων ενεργοποιήθηκε."
|
||||
enableFailed = "Δεν ήταν δυνατή η ενεργοποίηση του ελέγχου ταυτότητας δύο παραγόντων. Ελέγξτε τον κωδικό και προσπαθήστε ξανά."
|
||||
disabled = "Ο έλεγχος ταυτότητας δύο παραγόντων απενεργοποιήθηκε."
|
||||
disableFailed = "Δεν ήταν δυνατή η απενεργοποίηση του ελέγχου ταυτότητας δύο παραγόντων. Ελέγξτε τον κωδικό και προσπαθήστε ξανά."
|
||||
description = "Προσθέστε ένα επιπλέον επίπεδο ασφάλειας στον λογαριασμό σας."
|
||||
enableButton = "Ενεργοποίηση ελέγχου ταυτότητας δύο παραγόντων"
|
||||
disableButton = "Απενεργοποίηση ελέγχου ταυτότητας δύο παραγόντων"
|
||||
setupTitle = "Ρύθμιση ελέγχου ταυτότητας δύο παραγόντων"
|
||||
setupDescription = "Σαρώστε τον κωδικό QR με την εφαρμογή ελέγχου ταυτότητας και, στη συνέχεια, εισαγάγετε τον 6ψήφιο κωδικό για επιβεβαίωση."
|
||||
manualKey = "Χειροκίνητο κλειδί ρύθμισης"
|
||||
secretWarning = "Κρατήστε αυτό το κλειδί ιδιωτικό. Όποιος έχει πρόσβαση μπορεί να δημιουργήσει έγκυρους κωδικούς ελέγχου ταυτότητας."
|
||||
codePlaceholder = "Εισαγάγετε 6ψήφιο κωδικό"
|
||||
confirmEnable = "Ενεργοποίηση"
|
||||
disableTitle = "Απενεργοποίηση ελέγχου ταυτότητας δύο παραγόντων"
|
||||
disableDescription = "Εισαγάγετε έναν έγκυρο κωδικό ελέγχου ταυτότητας για να απενεργοποιήσετε τον έλεγχο ταυτότητας δύο παραγόντων."
|
||||
codeLabel = "Κωδικός ελέγχου ταυτότητας"
|
||||
confirmDisable = "Απενεργοποίηση"
|
||||
ssoDescription = "Ο έλεγχος ταυτότητας δύο παραγόντων διαχειρίζεται από τον πάροχο ταυτότητάς σας για λογαριασμούς ενιαίας σύνδεσης."
|
||||
ssoManaged = "Ρυθμίστε το MFA μέσω του παρόχου ταυτότητάς σας."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Ρυθμίσεις ελέγχου χρήστη"
|
||||
header = "Ρυθμίσεις ελέγχου διαχειριστή χρήστη"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Λήψη ενδιάμεσου αρχείου HTML αντί γι
|
||||
pdfaOptions = "Επιλογές PDF/A"
|
||||
outputFormat = "Μορφή εξόδου"
|
||||
pdfaNote = "Το PDF/A-1b είναι πιο συμβατό, το PDF/A-2b υποστηρίζει περισσότερες δυνατότητες."
|
||||
pdfaFormat = "Μορφή PDF/A"
|
||||
pdfaDigitalSignatureWarning = "Το PDF περιέχει ψηφιακή υπογραφή. Αυτή θα αφαιρεθεί στο επόμενο βήμα."
|
||||
pdfxDigitalSignatureWarning = "Το PDF περιέχει ψηφιακή υπογραφή. Αυτή θα αφαιρεθεί στο επόμενο βήμα."
|
||||
pdfxDescription = "Το PDF/X είναι ένα υποσύνολο PDF προτύπου ISO για αξιόπιστη εκτύπωση και ανταλλαγή γραφικών."
|
||||
fileFormat = "Μορφή αρχείου"
|
||||
wordDoc = "Έγγραφο Word"
|
||||
wordDocExt = "Έγγραφο Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Προς το παρόν δεν λειτουργεί για πολλαπ
|
||||
outputFormat = "Μορφή εξόδου"
|
||||
pdfWithDigitalSignature = "Το PDF περιέχει ψηφιακή υπογραφή. Αυτή θα αφαιρεθεί στο επόμενο βήμα."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "εκτύπωση,πρότυπο,μετατροπή,παραγωγή,προεκτύπωση,αρχειοθέτηση"
|
||||
title = "PDF σε PDF/X"
|
||||
header = "PDF σε PDF/X"
|
||||
credit = "Αυτή η υπηρεσία χρησιμοποιεί Ghostscript για τη μετατροπή σε PDF/X"
|
||||
submit = "Μετατροπή"
|
||||
tip = "Προς το παρόν δεν λειτουργεί για πολλαπλές εισόδους ταυτόχρονα"
|
||||
outputFormat = "Μορφή εξόδου"
|
||||
pdfWithDigitalSignature = "Το PDF περιέχει ψηφιακή υπογραφή. Αυτή θα αφαιρεθεί στο επόμενο βήμα."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,μετατροπή,μορφή,μετατροπή,γραφείο,microsoft,docfile"
|
||||
title = "PDF σε Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Άλλα"
|
||||
perPageInfo = "Πληροφορίες ανά σελίδα"
|
||||
tableOfContents = "Πίνακας περιεχομένων"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Δεν εντοπίστηκε"
|
||||
passed = "Επιτυχής"
|
||||
failed = "Απέτυχε"
|
||||
compliant = "Συμβατό"
|
||||
nonCompliant = "Μη συμβατό"
|
||||
none = "Δεν εντοπίστηκαν πρότυπα"
|
||||
passedCount = "επιτυχίες"
|
||||
failedCount = "αποτυχίες"
|
||||
noVerification = "Δεν πραγματοποιήθηκε επαλήθευση"
|
||||
noVerificationDesc = "Η συμμόρφωση με τα πρότυπα PDF δεν επαληθεύτηκε για αυτό το έγγραφο."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Συνημμένα"
|
||||
embeddedFiles = "Ενσωματωμένα αρχεία"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} περιορισμοί"
|
||||
permsMixed = "Ορισμένα δικαιώματα είναι περιορισμένα"
|
||||
hasCompliance = "Διαθέτει πρότυπα συμμόρφωσης"
|
||||
noCompliance = "Χωρίς πρότυπα συμμόρφωσης"
|
||||
compliancePassed = "Συμβατό με {{standards}}"
|
||||
complianceChecked = "Έγινε επαλήθευση προτύπων ({{failed}} απέτυχαν)"
|
||||
basic = "Βασικές πληροφορίες"
|
||||
documentInfo = "Πληροφορίες εγγράφου"
|
||||
securityTitle = "Κατάσταση ασφάλειας"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Ο κωδικός άλλαξε με επιτυχία!
|
||||
credentialsUpdated = "Τα διαπιστευτήριά σας ενημερώθηκαν. Συνδεθείτε ξανά."
|
||||
defaultCredentials = "Προεπιλεγμένα διαπιστευτήρια σύνδεσης"
|
||||
changePasswordWarning = "Αλλάξτε τον κωδικό σας μετά την πρώτη σας σύνδεση"
|
||||
mfaRequired = "Απαιτείται κωδικός δύο παραγόντων"
|
||||
mfaCode = "Κωδικός ελέγχου ταυτότητας"
|
||||
enterMfaCode = "Εισαγάγετε 6ψήφιο κωδικό"
|
||||
mfaPromptTitle = "Έλεγχος ταυτότητας δύο παραγόντων"
|
||||
mfaPromptBody = "Εισαγάγετε τον κωδικό ελέγχου ταυτότητας από την εφαρμογή ελέγχου ταυτότητας για να συνεχίσετε."
|
||||
verifyingMfa = "Γίνεται επαλήθευση..."
|
||||
verifyMfa = "Επαλήθευση κωδικού"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Επισκόπηση του Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Απαιτείται λειτουργία σύνδεσης"
|
||||
message = "Πρέπει να είναι ενεργοποιημένη η λειτουργία σύνδεσης για να τροποποιήσετε τις ρυθμίσεις διαχειριστή. Ορίστε το SECURITY_ENABLELOGIN=true στο περιβάλλον σας ή το security.enableLogin: true στο settings.yml, και στη συνέχεια επανεκκινήστε τον διακομιστή."
|
||||
readOnly = "Οι παρακάτω ρυθμίσεις εμφανίζουν ενδεικτικές τιμές για αναφορά. Ενεργοποιήστε τη λειτουργία σύνδεσης για να δείτε και να επεξεργαστείτε την πραγματική διαμόρφωση."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Απαιτείται άδεια Enterprise"
|
||||
message = "Απαιτείται άδεια Enterprise για πρόσβαση στο {{featureName}}. Βλέπετε δεδομένα επίδειξης για αναφορά."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Απαιτείται επανεκκίνηση"
|
||||
message = "Οι ρυθμίσεις αποθηκεύτηκαν με επιτυχία. Απαιτείται επανεκκίνηση του διακομιστή για να τεθούν σε ισχύ οι αλλαγές."
|
||||
@@ -4771,6 +4834,48 @@ description = "Εμφάνιση αναλυτικών μηνυμάτων σφάλ
|
||||
title = "Βάση δεδομένων"
|
||||
description = "Ρυθμίστε προσαρμοσμένες ρυθμίσεις σύνδεσης βάσης δεδομένων για επιχειρησιακές εγκαταστάσεις."
|
||||
configuration = "Διαμόρφωση βάσης δεδομένων"
|
||||
backupTitle = "Αντίγραφα ασφαλείας & Επαναφορά"
|
||||
backupDescription = "Διαχειριστείτε αντίγραφα ασφαλείας H2 απευθείας από την κονσόλα διαχειριστή."
|
||||
loadError = "Αποτυχία φόρτωσης αντιγράφων ασφαλείας βάσης δεδομένων"
|
||||
backupCreated = "Το αντίγραφο ασφαλείας δημιουργήθηκε με επιτυχία"
|
||||
backupFailed = "Αποτυχία δημιουργίας αντιγράφου ασφαλείας"
|
||||
deleteTitle = "Διαγραφή αντιγράφου ασφαλείας"
|
||||
deleteConfirm = "Να διαγραφεί αυτό το αντίγραφο ασφαλείας; Δεν είναι δυνατή η αναίρεση."
|
||||
deleteSuccess = "Το αντίγραφο ασφαλείας διαγράφηκε"
|
||||
deleteFailed = "Αποτυχία διαγραφής αντιγράφου ασφαλείας"
|
||||
deleteConfirmAction = "Διαγραφή αντιγράφου ασφαλείας"
|
||||
downloadFailed = "Αποτυχία λήψης αντιγράφου ασφαλείας"
|
||||
version = "Έκδοση H2"
|
||||
embedded = "Ενσωματωμένο H2"
|
||||
external = "Εξωτερική βάση δεδομένων"
|
||||
h2Only = "Τα αντίγραφα ασφαλείας είναι διαθέσιμα μόνο για την ενσωματωμένη βάση δεδομένων H2."
|
||||
h2Hint = "Ορίστε τον τύπο βάσης δεδομένων σε H2 και απενεργοποιήστε την προσαρμοσμένη βάση δεδομένων για να ενεργοποιήσετε τη δημιουργία αντιγράφων ασφαλείας και την επαναφορά."
|
||||
manageBackups = "Διαχείριση αντιγράφων ασφαλείας"
|
||||
refresh = "Ανανέωση"
|
||||
createBackup = "Δημιουργία αντιγράφου ασφαλείας"
|
||||
uploadTitle = "Μεταφόρτωση & εισαγωγή"
|
||||
chooseFile = "Επιλέξτε ένα αρχείο αντιγράφου ασφαλείας .sql"
|
||||
importFromUpload = "Εισαγωγή από μεταφόρτωση"
|
||||
confirmImportTitle = "Επιβεβαίωση εισαγωγής βάσης δεδομένων"
|
||||
overwriteWarning = "Προειδοποίηση: Αυτό θα αντικαταστήσει την τρέχουσα βάση δεδομένων."
|
||||
overwriteWarningBody = "Όλα τα υπάρχοντα δεδομένα θα αντικατασταθούν από το μεταφορτωμένο αντίγραφο ασφαλείας. Αυτή η ενέργεια δεν μπορεί να αναιρεθεί."
|
||||
confirmCodeLabel = "Εισαγάγετε τον κωδικό επιβεβαίωσης για να συνεχίσετε"
|
||||
enterCode = "Εισαγάγετε τον κωδικό που εμφανίζεται παραπάνω"
|
||||
confirmImport = "Επιβεβαίωση εισαγωγής"
|
||||
codeMismatch = "Ο κωδικός επιβεβαίωσης δεν ταιριάζει"
|
||||
codeMismatchBody = "Εισαγάγετε τον κωδικό ακριβώς όπως εμφανίζεται για να συνεχίσετε."
|
||||
selectFile = "Επιλέξτε ένα αρχείο .sql για εισαγωγή"
|
||||
importSuccess = "Το αντίγραφο ασφαλείας εισήχθη με επιτυχία"
|
||||
importFailed = "Αποτυχία εισαγωγής αντιγράφου ασφαλείας"
|
||||
noBackups = "Δεν βρέθηκαν ακόμη αντίγραφα ασφαλείας."
|
||||
unavailable = "Η λίστα αντιγράφων ασφαλείας δεν είναι διαθέσιμη για την τρέχουσα διαμόρφωση βάσης δεδομένων."
|
||||
fileName = "Αρχείο"
|
||||
created = "Δημιουργήθηκε"
|
||||
size = "Μέγεθος"
|
||||
actions = "Ενέργειες"
|
||||
download = "Λήψη"
|
||||
import = "Εισαγωγή"
|
||||
delete = "Διαγραφή"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Ενεργοποίηση προσαρμοσμένης βάσης δεδομένων"
|
||||
@@ -4848,6 +4953,26 @@ description = "Μέγιστο DPI για επεξεργασία εικόνας (
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Κατάλογος Tessdata"
|
||||
description = "Διαδρομή προς τον κατάλογο tessdata για αρχεία γλωσσών OCR"
|
||||
downloadMissingTitle = "Δεν έχει επιλεγεί γλώσσα"
|
||||
downloadMissingBody = "Επιλέξτε τουλάχιστον μία γλώσσα για λήψη."
|
||||
downloadSuccessTitle = "Οι γλώσσες λήφθηκαν"
|
||||
downloadSuccessBody = "Οι επιλεγμένες γλώσσες tessdata αποθηκεύτηκαν."
|
||||
downloadErrorTitle = "Αποτυχία λήψης"
|
||||
loadingLanguages = "Φόρτωση εγκατεστημένων γλωσσών tessdata..."
|
||||
installedLanguages = "Εγκατεστημένες γλώσσες tessdata"
|
||||
noLanguages = "Δεν βρέθηκαν γλώσσες tessdata στον ρυθμισμένο κατάλογο."
|
||||
downloadLabel = "Λήψη επιπλέον γλωσσών tessdata"
|
||||
downloadPlaceholder = "Επιλέξτε γλώσσες"
|
||||
downloadNothingFound = "Δεν βρέθηκαν επιπλέον γλώσσες"
|
||||
permissionNotice = "Η διαδρομή tessdata δεν είναι εγγράψιμη. Οι λήψεις θα ανοίγουν στο πρόγραμμα περιήγησης. Αποθηκεύστε χειροκίνητα τα αρχεία .traineddata στον φάκελο tessdata."
|
||||
manualLinks = "Χειροκίνητες λήψεις: κάντε κλικ στους συνδέσμους και τοποθετήστε τα αρχεία στον φάκελο tessdata."
|
||||
downloadButton = "Λήψη επιλεγμένων γλωσσών"
|
||||
downloadInvalidTitle = "Μη έγκυρη επιλογή"
|
||||
downloadInvalidBody = "Ορισμένες επιλεγμένες γλώσσες δεν είναι διαθέσιμες για λήψη. Παρακαλώ ανανεώστε και επιλέξτε από τη λίστα."
|
||||
downloadErrorNetwork = "Η λήψη απέτυχε λόγω σφάλματος δικτύου. Ελέγξτε τη σύνδεσή σας και δοκιμάστε ξανά."
|
||||
downloadErrorServer = "Ο διακομιστής αντιμετώπισε σφάλμα κατά τη λήψη γλωσσών tessdata. Δοκιμάστε ξανά αργότερα."
|
||||
downloadErrorPermission = "Ο κατάλογος tessdata δεν είναι εγγράψιμος: {{message}}. Επιλέξτε έναν εγγράψιμο κατάλογο (π.χ. κάτω από τον φάκελο δεδομένων της εφαρμογής) ή προσαρμόστε τα δικαιώματα."
|
||||
downloadErrorGeneric = "Η λήψη απέτυχε: {{message}}. Δοκιμάστε ξανά αργότερα."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Απενεργοποίηση καθαρισμού HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Δημιουργήστε ροές εργασίας πολλών βημά
|
||||
invalidStep = "Μη έγκυρο βήμα"
|
||||
reviewTitle = "Αποτελέσματα αυτοματοποίησης"
|
||||
copyToSaved = "Αντιγραφή στα Αποθηκευμένα"
|
||||
exportForFolderScanning = "Εξαγωγή για σάρωση φακέλων"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Επιλέξτε αρχεία για επεξεργασία με αυτήν την αυτοματοποίηση"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Δημιουργία αυτοματοποίησης"
|
||||
editTitle = "Επεξεργασία αυτοματοποίησης"
|
||||
intro = "Οι αυτοματισμοί εκτελούν εργαλεία διαδοχικά. Για να ξεκινήσετε, προσθέστε εργαλεία με τη σειρά που θέλετε να εκτελεστούν."
|
||||
save = "Αποθήκευση αυτοματοποίησης"
|
||||
exportForFolderScanning = "Εξαγωγή για σάρωση φακέλων"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Όνομα αυτοματοποίησης"
|
||||
@@ -5746,9 +5873,11 @@ username = "Όνομα χρήστη (Email)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Κωδικός πρόσβασης"
|
||||
passwordPlaceholder = "Εισαγάγετε κωδικό πρόσβασης"
|
||||
passwordRequired = "Απαιτείται κωδικός πρόσβασης"
|
||||
role = "Ρόλος"
|
||||
team = "Ομάδα (Προαιρετικό)"
|
||||
teamPlaceholder = "Επιλέξτε ομάδα"
|
||||
authType = "Τύπος ελέγχου ταυτότητας"
|
||||
forcePasswordChange = "Εξαναγκασμός αλλαγής κωδικού στην πρώτη σύνδεση"
|
||||
cancel = "Άκυρο"
|
||||
submit = "Προσθήκη μέλους"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Απαιτούνται όνομα χρήστη και κωδ
|
||||
passwordTooShort = "Ο κωδικός πρόσβασης πρέπει να έχει τουλάχιστον 6 χαρακτήρες"
|
||||
success = "Ο χρήστης δημιουργήθηκε με επιτυχία"
|
||||
error = "Αποτυχία δημιουργίας χρήστη"
|
||||
forceMFA = "Επιβολή ρύθμισης MFA στην επόμενη σύνδεση"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Κωδικός πρόσβασης"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Ο χρήστης θα πραγματοποιεί έλεγχο ταυτότητας μέσω παρόχου SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Επεξεργασία μέλους"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} διαθέσιμη(ες) θέση(εις) χρήστ
|
||||
noSlotsAvailable = "Δεν υπάρχουν διαθέσιμες θέσεις"
|
||||
currentUsage = "Αυτή τη στιγμή χρησιμοποιείτε {{current}} από {{max}} άδειες χρήστη"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "Το MFA απενεργοποιήθηκε με επιτυχία για τον χρήστη"
|
||||
adminDisableError = "Αποτυχία απενεργοποίησης MFA για τον χρήστη"
|
||||
disableByAdmin = "Απενεργοποίηση MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Ομάδες"
|
||||
description = "Διαχείριση ομάδων και οργάνωση μελών του χώρου εργασίας"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Επισκέψεις"
|
||||
percentage = "Ποσοστό"
|
||||
noData = "Δεν υπάρχουν διαθέσιμα δεδομένα"
|
||||
unknownEndpoint = "Άγνωστο endpoint"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Έλεγχος κατάστασης backend..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Select Operation"
|
||||
addOperationButton = "Add operation"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Download"
|
||||
saveForFolderScanning = "Save for Folder Scanning"
|
||||
validateButton = "Validate"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Web Browser Setting"
|
||||
syncToBrowser = "Sync Account -> Browser"
|
||||
syncToAccount = "Sync Account <- Browser"
|
||||
|
||||
[account.mfa]
|
||||
title = "Two-factor authentication"
|
||||
setupFailed = "Unable to start two-factor setup. Please try again."
|
||||
codeRequired = "Enter the authentication code to continue."
|
||||
enabled = "Two-factor authentication enabled."
|
||||
enableFailed = "Unable to enable two-factor authentication. Check the code and try again."
|
||||
disabled = "Two-factor authentication disabled."
|
||||
disableFailed = "Unable to disable two-factor authentication. Check the code and try again."
|
||||
description = "Add an extra layer of security to your account."
|
||||
enableButton = "Enable two-factor authentication"
|
||||
disableButton = "Disable two-factor authentication"
|
||||
setupTitle = "Set up two-factor authentication"
|
||||
setupDescription = "Scan the QR code with your authenticator app, then enter the 6-digit code to confirm."
|
||||
manualKey = "Manual setup key"
|
||||
secretWarning = "Keep this key private. Anyone with access can generate valid authentication codes."
|
||||
codePlaceholder = "Enter 6-digit code"
|
||||
confirmEnable = "Enable"
|
||||
disableTitle = "Disable two-factor authentication"
|
||||
disableDescription = "Enter a valid authentication code to disable two-factor authentication."
|
||||
codeLabel = "Authentication code"
|
||||
confirmDisable = "Disable"
|
||||
ssoDescription = "Two-factor authentication is managed by your identity provider for single sign-on accounts."
|
||||
ssoManaged = "Configure MFA through your identity provider."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "User Control Settings"
|
||||
header = "Admin User Control Settings"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Download HTML intermediate file instead of PDF"
|
||||
pdfaOptions = "PDF/A Options"
|
||||
outputFormat = "Output Format"
|
||||
pdfaNote = "PDF/A-1b is more compatible, PDF/A-2b supports more features, PDF/A-3b supports embedded files."
|
||||
pdfaFormat = "PDF/A Format"
|
||||
pdfaDigitalSignatureWarning = "The PDF contains a digital signature. This will be removed in the next step."
|
||||
pdfxDigitalSignatureWarning = "The PDF contains a digital signature. This will be removed in the next step."
|
||||
pdfxDescription = "PDF/X is an ISO standard PDF subset for reliable printing and graphics exchange."
|
||||
fileFormat = "File Format"
|
||||
wordDoc = "Word Document"
|
||||
wordDocExt = "Word Document (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Currently does not work for multiple inputs at once"
|
||||
outputFormat = "Output format"
|
||||
pdfWithDigitalSignature = "The PDF contains a digital signature. This will be removed in the next step."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "print,standard,conversion,production,prepress,archive"
|
||||
title = "PDF To PDF/X"
|
||||
header = "PDF To PDF/X"
|
||||
credit = "This service uses Ghostscript for PDF/X conversion"
|
||||
submit = "Convert"
|
||||
tip = "Currently does not work for multiple inputs at once"
|
||||
outputFormat = "Output format"
|
||||
pdfWithDigitalSignature = "The PDF contains a digital signature. This will be removed in the next step."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,transformation,format,conversion,office,microsoft,docfile"
|
||||
title = "PDF to Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Other"
|
||||
perPageInfo = "Per Page Info"
|
||||
tableOfContents = "Table of Contents"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Not Detected"
|
||||
passed = "Passed"
|
||||
failed = "Failed"
|
||||
compliant = "Compliant"
|
||||
nonCompliant = "Non-Compliant"
|
||||
none = "No standards detected"
|
||||
passedCount = "passed"
|
||||
failedCount = "failed"
|
||||
noVerification = "No Verification Performed"
|
||||
noVerificationDesc = "PDF standards compliance was not verified for this document."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Attachments"
|
||||
embeddedFiles = "Embedded Files"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} restrictions"
|
||||
permsMixed = "Some permissions restricted"
|
||||
hasCompliance = "Has compliance standards"
|
||||
noCompliance = "No Compliance Standards"
|
||||
compliancePassed = "{{standards}} compliant"
|
||||
complianceChecked = "Standards verified ({{failed}} failed)"
|
||||
basic = "Basic Information"
|
||||
documentInfo = "Document Information"
|
||||
securityTitle = "Security Status"
|
||||
@@ -3723,6 +3775,14 @@ passwordChangedSuccess = "Password changed successfully! Please sign in with you
|
||||
credentialsUpdated = "Your credentials have been updated. Please sign in again."
|
||||
defaultCredentials = "Default Login Credentials"
|
||||
changePasswordWarning = "Please change your password after logging in for the first time"
|
||||
mfaRequired = "Two-factor code required"
|
||||
mfaCode = "Authentication Code"
|
||||
enterMfaCode = "Enter 6-digit code"
|
||||
mfaPromptTitle = "Two-factor authentication"
|
||||
mfaPromptBody = "Enter the authentication code from your authenticator app to continue."
|
||||
verifyingMfa = "Verifying..."
|
||||
verifyMfa = "Verify code"
|
||||
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF overview"
|
||||
@@ -4324,6 +4384,10 @@ title = "Login Mode Required"
|
||||
message = "Login mode must be enabled to modify admin settings. Please set SECURITY_ENABLELOGIN=true in your environment or security.enableLogin: true in settings.yml, then restart the server."
|
||||
readOnly = "The settings below show example values for reference. Enable login mode to view and edit actual configuration."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Enterprise License Required"
|
||||
message = "An Enterprise license is required to access {{featureName}}. You are viewing demo data for reference."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Restart Required"
|
||||
message = "Settings have been saved successfully. A server restart is required for the changes to take effect."
|
||||
@@ -4759,6 +4823,48 @@ mobileScannerStretchToFitDesc = "Stretch images to fill the entire page. If disa
|
||||
title = "Database"
|
||||
description = "Configure custom database connection settings for enterprise deployments."
|
||||
configuration = "Database Configuration"
|
||||
backupTitle = "Backups & Restore"
|
||||
backupDescription = "Manage H2 backups directly from the admin console."
|
||||
loadError = "Failed to load database backups"
|
||||
backupCreated = "Backup created successfully"
|
||||
backupFailed = "Failed to create backup"
|
||||
deleteTitle = "Delete backup"
|
||||
deleteConfirm = "Delete this backup? This cannot be undone."
|
||||
deleteSuccess = "Backup deleted"
|
||||
deleteFailed = "Failed to delete backup"
|
||||
deleteConfirmAction = "Delete backup"
|
||||
downloadFailed = "Failed to download backup"
|
||||
version = "H2 Version"
|
||||
embedded = "Embedded H2"
|
||||
external = "External DB"
|
||||
h2Only = "Backups are available only for the embedded H2 database."
|
||||
h2Hint = "Set the database type to H2 and disable custom database to enable backup and restore."
|
||||
manageBackups = "Manage backups"
|
||||
refresh = "Refresh"
|
||||
createBackup = "Create backup"
|
||||
uploadTitle = "Upload & import"
|
||||
chooseFile = "Choose a .sql backup file"
|
||||
importFromUpload = "Import upload"
|
||||
confirmImportTitle = "Confirm database import"
|
||||
overwriteWarning = "Warning: This will overwrite the current database."
|
||||
overwriteWarningBody = "All existing data will be replaced by the uploaded backup. This action cannot be undone."
|
||||
confirmCodeLabel = "Enter the confirmation code to proceed"
|
||||
enterCode = "Enter the code shown above"
|
||||
confirmImport = "Confirm import"
|
||||
codeMismatch = "Confirmation code does not match"
|
||||
codeMismatchBody = "Please enter the code exactly as shown to proceed."
|
||||
selectFile = "Please select a .sql file to import"
|
||||
importSuccess = "Backup imported successfully"
|
||||
importFailed = "Failed to import backup"
|
||||
noBackups = "No backups found yet."
|
||||
unavailable = "Backup list unavailable for the current database configuration."
|
||||
fileName = "File"
|
||||
created = "Created"
|
||||
size = "Size"
|
||||
actions = "Actions"
|
||||
download = "Download"
|
||||
import = "Import"
|
||||
delete = "Delete"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Enable Custom Database"
|
||||
@@ -5360,6 +5466,7 @@ desc = "Build multi-step workflows by chaining together PDF actions. Ideal for r
|
||||
invalidStep = "Invalid step"
|
||||
reviewTitle = "Automation Results"
|
||||
copyToSaved = "Copy to Saved"
|
||||
exportForFolderScanning = "Export for Folder Scanning"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Select files to process with this automation"
|
||||
@@ -5381,6 +5488,7 @@ createTitle = "Create Automation"
|
||||
editTitle = "Edit Automation"
|
||||
intro = "Automations run tools sequentially. To get started, add tools in the order you want them to run."
|
||||
save = "Save Automation"
|
||||
exportForFolderScanning = "Export for Folder Scanning"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Automation Name"
|
||||
@@ -5755,9 +5863,11 @@ username = "Username (Email)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Password"
|
||||
passwordPlaceholder = "Enter password"
|
||||
passwordRequired = "Password is required"
|
||||
role = "Role"
|
||||
team = "Team (Optional)"
|
||||
teamPlaceholder = "Select a team"
|
||||
authType = "Authentication Type"
|
||||
forcePasswordChange = "Force password change on first login"
|
||||
cancel = "Cancel"
|
||||
submit = "Add Member"
|
||||
@@ -5765,6 +5875,13 @@ usernameRequired = "Username and password are required"
|
||||
passwordTooShort = "Password must be at least 6 characters"
|
||||
success = "User created successfully"
|
||||
error = "Failed to create user"
|
||||
forceMFA = "Force MFA setup on next login"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Password"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "User will authenticate via SSO provider"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Edit Member"
|
||||
@@ -5868,6 +5985,11 @@ slotsAvailable = "{{count}} user slot(s) available"
|
||||
noSlotsAvailable = "No slots available"
|
||||
currentUsage = "Currently using {{current}} of {{max}} user licences"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA disabled successfully for user"
|
||||
adminDisableError = "Failed to disable MFA for user"
|
||||
disableByAdmin = "Disable MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Teams"
|
||||
description = "Manage teams and organize workspace members"
|
||||
@@ -6310,6 +6432,7 @@ endpoint = "Endpoint"
|
||||
visits = "Visits"
|
||||
percentage = "Percentage"
|
||||
noData = "No data available"
|
||||
unknownEndpoint = "Unknown endpoint"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Checking backend status..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Seleccione la operación"
|
||||
addOperationButton = "Añadir operación"
|
||||
pipelineHeader = "Automatización:"
|
||||
saveButton = "Descargar"
|
||||
saveForFolderScanning = "Guardar para el escaneo de carpetas"
|
||||
validateButton = "Validar"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Configuración del navegador"
|
||||
syncToBrowser = "Sincronizar cuenta -> Navegador"
|
||||
syncToAccount = "Sincronizar cuenta <- Navegador"
|
||||
|
||||
[account.mfa]
|
||||
title = "Autenticación de dos factores"
|
||||
setupFailed = "No se pudo iniciar la configuración de la autenticación de dos factores. Vuelve a intentarlo."
|
||||
codeRequired = "Introduce el código de autenticación para continuar."
|
||||
enabled = "Autenticación de dos factores habilitada."
|
||||
enableFailed = "No se pudo habilitar la autenticación de dos factores. Comprueba el código e inténtalo de nuevo."
|
||||
disabled = "Autenticación de dos factores deshabilitada."
|
||||
disableFailed = "No se pudo deshabilitar la autenticación de dos factores. Comprueba el código e inténtalo de nuevo."
|
||||
description = "Añade una capa adicional de seguridad a tu cuenta."
|
||||
enableButton = "Habilitar la autenticación de dos factores"
|
||||
disableButton = "Deshabilitar la autenticación de dos factores"
|
||||
setupTitle = "Configurar la autenticación de dos factores"
|
||||
setupDescription = "Escanea el código QR con tu aplicación de autenticación y luego introduce el código de 6 dígitos para confirmar."
|
||||
manualKey = "Clave de configuración manual"
|
||||
secretWarning = "Mantén esta clave privada. Cualquiera con acceso puede generar códigos de autenticación válidos."
|
||||
codePlaceholder = "Introduce el código de 6 dígitos"
|
||||
confirmEnable = "Habilitar"
|
||||
disableTitle = "Deshabilitar la autenticación de dos factores"
|
||||
disableDescription = "Introduce un código de autenticación válido para deshabilitar la autenticación de dos factores."
|
||||
codeLabel = "Código de autenticación"
|
||||
confirmDisable = "Deshabilitar"
|
||||
ssoDescription = "La autenticación de dos factores es gestionada por tu proveedor de identidad para cuentas con inicio de sesión único."
|
||||
ssoManaged = "Configura la MFA a través de tu proveedor de identidad."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Configuración de control de usuario"
|
||||
header = "Configuración de control de usuario administrador"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Descargar archivo intermedio HTML en lugar de PDF"
|
||||
pdfaOptions = "Opciones de PDF/A"
|
||||
outputFormat = "Formato de Salida"
|
||||
pdfaNote = "PDF/A-1b es más compatible, PDF/A-2b soporta más funciones."
|
||||
pdfaFormat = "Formato PDF/A"
|
||||
pdfaDigitalSignatureWarning = "El PDF contiene una firma digital. Ésta se eliminará en el siguiente paso."
|
||||
pdfxDigitalSignatureWarning = "El PDF contiene una firma digital. Se eliminará en el siguiente paso."
|
||||
pdfxDescription = "PDF/X es un subconjunto estándar ISO de PDF para impresión fiable e intercambio de gráficos."
|
||||
fileFormat = "Formato de Archivo"
|
||||
wordDoc = "Documento de Word"
|
||||
wordDocExt = "Documento de Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Actualmente no funciona para múltiples entrada a la vez"
|
||||
outputFormat = "Formato de salida"
|
||||
pdfWithDigitalSignature = "El PDF contiene una firma digital. Ésta se eliminará en el siguiente paso."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "impresión,estándar,conversión,producción,preimpresión,archivo"
|
||||
title = "PDF a PDF/X"
|
||||
header = "PDF a PDF/X"
|
||||
credit = "Este servicio utiliza Ghostscript para la conversión a PDF/X"
|
||||
submit = "Convertir"
|
||||
tip = "Actualmente no funciona con varias entradas a la vez"
|
||||
outputFormat = "Formato de salida"
|
||||
pdfWithDigitalSignature = "El PDF contiene una firma digital. Se eliminará en el siguiente paso."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,transformación,formato,conversión,office,microsoft,archivo del documento"
|
||||
title = "PDF a Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Otros"
|
||||
perPageInfo = "Información por página"
|
||||
tableOfContents = "Tabla de contenidos"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "No detectado"
|
||||
passed = "Aprobado"
|
||||
failed = "Fallido"
|
||||
compliant = "Conforme"
|
||||
nonCompliant = "No conforme"
|
||||
none = "No se detectaron estándares"
|
||||
passedCount = "aprobadas"
|
||||
failedCount = "fallidas"
|
||||
noVerification = "No se realizó verificación"
|
||||
noVerificationDesc = "No se verificó el cumplimiento de estándares PDF para este documento."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Adjuntos"
|
||||
embeddedFiles = "Archivos incrustados"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} restricciones"
|
||||
permsMixed = "Algunos permisos restringidos"
|
||||
hasCompliance = "Cumple con estándares"
|
||||
noCompliance = "Sin estándares de conformidad"
|
||||
compliancePassed = "{{standards}} conforme"
|
||||
complianceChecked = "Estándares verificados ({{failed}} fallidos)"
|
||||
basic = "Información básica"
|
||||
documentInfo = "Información del documento"
|
||||
securityTitle = "Estado de seguridad"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "¡Contraseña cambiada correctamente! Inicia sesión c
|
||||
credentialsUpdated = "Tus credenciales se han actualizado. Vuelve a iniciar sesión."
|
||||
defaultCredentials = "Credenciales de inicio de sesión predeterminadas"
|
||||
changePasswordWarning = "Cambie su contraseña tras iniciar sesión por primera vez"
|
||||
mfaRequired = "Se requiere código de dos factores"
|
||||
mfaCode = "Código de autenticación"
|
||||
enterMfaCode = "Introduce el código de 6 dígitos"
|
||||
mfaPromptTitle = "Autenticación de dos factores"
|
||||
mfaPromptBody = "Introduce el código de autenticación de tu aplicación de autenticación para continuar."
|
||||
verifyingMfa = "Verificando..."
|
||||
verifyMfa = "Verificar código"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Vista general de Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Se requiere modo de inicio de sesión"
|
||||
message = "El modo de inicio de sesión debe estar habilitado para modificar la configuración de administración. Establece SECURITY_ENABLELOGIN=true en tu entorno o security.enableLogin: true en settings.yml y reinicia el servidor."
|
||||
readOnly = "La configuración siguiente muestra valores de ejemplo como referencia. Habilita el modo de inicio de sesión para ver y editar la configuración real."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Se requiere una licencia Enterprise"
|
||||
message = "Se requiere una licencia Enterprise para acceder a {{featureName}}. Estás viendo datos de demostración como referencia."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Se requiere reiniciar"
|
||||
message = "La configuración se ha guardado correctamente. Se requiere reiniciar el servidor para que los cambios surtan efecto."
|
||||
@@ -4771,6 +4834,48 @@ description = "Mostrar mensajes de error detallados para los usuarios."
|
||||
title = "Base de datos"
|
||||
description = "Configura ajustes de conexión de base de datos personalizados para despliegues empresariales."
|
||||
configuration = "Configuración de la base de datos"
|
||||
backupTitle = "Copias de seguridad y restauración"
|
||||
backupDescription = "Gestiona copias de seguridad de H2 directamente desde la consola de administración."
|
||||
loadError = "Error al cargar las copias de seguridad de la base de datos"
|
||||
backupCreated = "Copia de seguridad creada correctamente"
|
||||
backupFailed = "Error al crear la copia de seguridad"
|
||||
deleteTitle = "Eliminar copia de seguridad"
|
||||
deleteConfirm = "¿Eliminar esta copia de seguridad? Esta acción no se puede deshacer."
|
||||
deleteSuccess = "Copia de seguridad eliminada"
|
||||
deleteFailed = "Error al eliminar la copia de seguridad"
|
||||
deleteConfirmAction = "Eliminar copia de seguridad"
|
||||
downloadFailed = "Error al descargar la copia de seguridad"
|
||||
version = "Versión de H2"
|
||||
embedded = "H2 integrado"
|
||||
external = "Base de datos externa"
|
||||
h2Only = "Las copias de seguridad solo están disponibles para la base de datos H2 integrada."
|
||||
h2Hint = "Establece el tipo de base de datos en H2 y desactiva la base de datos personalizada para habilitar la copia de seguridad y la restauración."
|
||||
manageBackups = "Gestionar copias de seguridad"
|
||||
refresh = "Actualizar"
|
||||
createBackup = "Crear copia de seguridad"
|
||||
uploadTitle = "Subir e importar"
|
||||
chooseFile = "Selecciona un archivo de copia de seguridad .sql"
|
||||
importFromUpload = "Importar archivo subido"
|
||||
confirmImportTitle = "Confirmar importación de base de datos"
|
||||
overwriteWarning = "Advertencia: Esto sobrescribirá la base de datos actual."
|
||||
overwriteWarningBody = "Todos los datos existentes serán reemplazados por la copia de seguridad subida. Esta acción no se puede deshacer."
|
||||
confirmCodeLabel = "Introduce el código de confirmación para continuar"
|
||||
enterCode = "Introduce el código mostrado arriba"
|
||||
confirmImport = "Confirmar importación"
|
||||
codeMismatch = "El código de confirmación no coincide"
|
||||
codeMismatchBody = "Introduce el código exactamente como se muestra para continuar."
|
||||
selectFile = "Selecciona un archivo .sql para importar"
|
||||
importSuccess = "Copia de seguridad importada correctamente"
|
||||
importFailed = "Error al importar la copia de seguridad"
|
||||
noBackups = "Aún no se han encontrado copias de seguridad."
|
||||
unavailable = "La lista de copias de seguridad no está disponible para la configuración de base de datos actual."
|
||||
fileName = "Archivo"
|
||||
created = "Creado"
|
||||
size = "Tamaño"
|
||||
actions = "Acciones"
|
||||
download = "Descargar"
|
||||
import = "Importar"
|
||||
delete = "Eliminar"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Habilitar base de datos personalizada"
|
||||
@@ -4848,6 +4953,26 @@ description = "DPI máximo para el procesamiento de imágenes (0 = ilimitado)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Directorio Tessdata"
|
||||
description = "Ruta al directorio tessdata para archivos de idioma de OCR"
|
||||
downloadMissingTitle = "No se ha seleccionado ningún idioma"
|
||||
downloadMissingBody = "Selecciona al menos un idioma para descargar."
|
||||
downloadSuccessTitle = "Idiomas descargados"
|
||||
downloadSuccessBody = "Se han guardado los idiomas de tessdata seleccionados."
|
||||
downloadErrorTitle = "Descarga fallida"
|
||||
loadingLanguages = "Cargando idiomas de tessdata instalados..."
|
||||
installedLanguages = "Idiomas de tessdata instalados"
|
||||
noLanguages = "No se han encontrado idiomas de tessdata en el directorio configurado."
|
||||
downloadLabel = "Descargar idiomas de tessdata adicionales"
|
||||
downloadPlaceholder = "Selecciona idiomas"
|
||||
downloadNothingFound = "No se han encontrado idiomas adicionales"
|
||||
permissionNotice = "La ruta de tessdata no tiene permisos de escritura. Las descargas se abrirán en el navegador; guarda los archivos .traineddata manualmente en la carpeta tessdata."
|
||||
manualLinks = "Descargas manuales: haz clic en los enlaces y coloca los archivos en la carpeta tessdata."
|
||||
downloadButton = "Descargar idiomas seleccionados"
|
||||
downloadInvalidTitle = "Selección no válida"
|
||||
downloadInvalidBody = "Algunos de los idiomas seleccionados no están disponibles para descargar. Actualiza y elige de la lista."
|
||||
downloadErrorNetwork = "La descarga ha fallado debido a un error de red. Comprueba tu conexión e inténtalo de nuevo."
|
||||
downloadErrorServer = "El servidor encontró un error al descargar idiomas de tessdata. Inténtalo de nuevo más tarde."
|
||||
downloadErrorPermission = "El directorio tessdata no tiene permisos de escritura: {{message}}. Elige un directorio con permisos de escritura (p. ej., dentro de la carpeta de datos de la aplicación) o ajusta los permisos."
|
||||
downloadErrorGeneric = "Descarga fallida: {{message}}. Inténtalo de nuevo más tarde."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Desactivar la sanitización de HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Cree flujos de trabajo de varios pasos encadenando acciones de PDF. Idea
|
||||
invalidStep = "Paso inválido"
|
||||
reviewTitle = "Resultados de automatización"
|
||||
copyToSaved = "Copiar a guardados"
|
||||
exportForFolderScanning = "Exportar para el escaneo de carpetas"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Seleccione archivos para procesar con esta automatización"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Crear automatización"
|
||||
editTitle = "Editar automatización"
|
||||
intro = "Las automatizaciones ejecutan herramientas de forma secuencial. Para comenzar, añada herramientas en el orden en que desea que se ejecuten."
|
||||
save = "Guardar automatización"
|
||||
exportForFolderScanning = "Exportar para el escaneo de carpetas"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Nombre de automatización"
|
||||
@@ -5746,9 +5873,11 @@ username = "Nombre de usuario (correo)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Contraseña"
|
||||
passwordPlaceholder = "Introduce la contraseña"
|
||||
passwordRequired = "La contraseña es obligatoria"
|
||||
role = "Rol"
|
||||
team = "Equipo (opcional)"
|
||||
teamPlaceholder = "Selecciona un equipo"
|
||||
authType = "Tipo de autenticación"
|
||||
forcePasswordChange = "Forzar el cambio de contraseña en el primer inicio de sesión"
|
||||
cancel = "Cancelar"
|
||||
submit = "Añadir miembro"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Se requieren nombre de usuario y contraseña"
|
||||
passwordTooShort = "La contraseña debe tener al menos 6 caracteres"
|
||||
success = "Usuario creado correctamente"
|
||||
error = "No se pudo crear el usuario"
|
||||
forceMFA = "Forzar la configuración de MFA en el próximo inicio de sesión"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Contraseña"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "El usuario se autenticará a través del proveedor de SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Editar miembro"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} plaza(s) de usuario disponible(s)"
|
||||
noSlotsAvailable = "No hay plazas disponibles"
|
||||
currentUsage = "Actualmente usando {{current}} de {{max}} licencias de usuario"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA deshabilitada correctamente para el usuario"
|
||||
adminDisableError = "No se pudo deshabilitar la MFA para el usuario"
|
||||
disableByAdmin = "Deshabilitar MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Equipos"
|
||||
description = "Gestiona equipos y organiza a los miembros del espacio de trabajo"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Punto de conexión"
|
||||
visits = "Visitas"
|
||||
percentage = "Porcentaje"
|
||||
noData = "No hay datos disponibles"
|
||||
unknownEndpoint = "Endpoint desconocido"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Comprobando el estado del backend..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Aukeratu eragiketa"
|
||||
addOperationButton = "Gehitu eragiketa"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Distira"
|
||||
saveForFolderScanning = "Gorde karpeta-eskaneatzerako"
|
||||
validateButton = "Balidatu"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Web nabigatzailearen ezarpenak"
|
||||
syncToBrowser = "Sync Kontua -> Nabigatzailea"
|
||||
syncToAccount = "Sync Kontua <- Nabigatzailea"
|
||||
|
||||
[account.mfa]
|
||||
title = "Bi faktoreko autentifikazioa"
|
||||
setupFailed = "Ezin izan da bi faktoreko autentifikazioaren konfigurazioa abiarazi. Saiatu berriro."
|
||||
codeRequired = "Jarraitzeko, sartu autentifikazio-kodea."
|
||||
enabled = "Bi faktoreko autentifikazioa gaituta."
|
||||
enableFailed = "Ezin izan da bi faktoreko autentifikazioa gaitu. Egiaztatu kodea eta saiatu berriro."
|
||||
disabled = "Bi faktoreko autentifikazioa desgaituta."
|
||||
disableFailed = "Ezin izan da bi faktoreko autentifikazioa desgaitu. Egiaztatu kodea eta saiatu berriro."
|
||||
description = "Gehitu segurtasun-geruza gehigarria zure kontuari."
|
||||
enableButton = "Gaitu bi faktoreko autentifikazioa"
|
||||
disableButton = "Desgaitu bi faktoreko autentifikazioa"
|
||||
setupTitle = "Konfiguratu bi faktoreko autentifikazioa"
|
||||
setupDescription = "Eskaneatu QR kodea zure autentifikazio-aplikazioarekin, eta ondoren sartu 6 digituko kodea berresteko."
|
||||
manualKey = "Eskuzko konfigurazio-gakoa"
|
||||
secretWarning = "Mantendu gako hau pribatua. Sarbidea duen edonork autentifikazio-kode baliodunak sor ditzake."
|
||||
codePlaceholder = "Sartu 6 digituko kodea"
|
||||
confirmEnable = "Gaitu"
|
||||
disableTitle = "Desgaitu bi faktoreko autentifikazioa"
|
||||
disableDescription = "Sartu baliozko autentifikazio-kode bat bi faktoreko autentifikazioa desgaitzeko."
|
||||
codeLabel = "Autentifikazio-kodea"
|
||||
confirmDisable = "Desgaitu"
|
||||
ssoDescription = "Bi faktoreko autentifikazioa zure identitate-hornitzaileak kudeatzen du single sign-on kontuentzat."
|
||||
ssoManaged = "Konfiguratu MFA zure identitate-hornitzailearen bidez."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Erabiltzailearen Ezarpenen Kontrolak"
|
||||
header = "Admin Erabiltzailearen Ezarpenen Kontrolak"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Deskargatu HTML bitarteko fitxategia PDFaren ordez"
|
||||
pdfaOptions = "PDF/A aukerak"
|
||||
outputFormat = "Irteerako formatua"
|
||||
pdfaNote = "PDF/A-1b bateragarriagoa da; PDF/A-2b-k ezaugarri gehiago onartzen ditu."
|
||||
pdfaFormat = "PDF/A formatua"
|
||||
pdfaDigitalSignatureWarning = "PDFak sinadura digitala dauka. Hurrengo urratsean kenduko da."
|
||||
pdfxDigitalSignatureWarning = "PDFak sinadura digital bat dauka. Hurrengo urratsean kenduko da."
|
||||
pdfxDescription = "PDF/X inprimaketa eta grafikoen truke fidagarrirako ISO estandarreko PDF azpimultzoa da."
|
||||
fileFormat = "Fitxategi formatua"
|
||||
wordDoc = "Word dokumentua"
|
||||
wordDocExt = "Word dokumentua (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Une honetan ez dabil aldi berean sarrera anitzekin"
|
||||
outputFormat = "Irteerako formatua"
|
||||
pdfWithDigitalSignature = "PDFak sinadura digitala dauka. Hurrengo urratsean kenduko da."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "inprimaketa,estandarra,bihurketa,produkzioa,aurre-inprimaketa,artxiboa"
|
||||
title = "PDFtik PDF/Xera"
|
||||
header = "PDFtik PDF/Xera"
|
||||
credit = "Zerbitzu honek Ghostscript erabiltzen du PDF/X bihurketarako"
|
||||
submit = "Bihurtu"
|
||||
tip = "Une honetan ez dabil hainbat sarrera aldi berean"
|
||||
outputFormat = "Irteera-formatua"
|
||||
pdfWithDigitalSignature = "PDFak sinadura digital bat dauka. Hurrengo urratsean kenduko da."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,eraldaketa,formatua,bihurketa,office,microsoft,doc-fitxategia"
|
||||
title = "PDFa Word bihurtu"
|
||||
@@ -3153,6 +3191,18 @@ other = "Bestelakoak"
|
||||
perPageInfo = "Orrialdeko informazioa"
|
||||
tableOfContents = "Aurkibidea"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Ez da detektatu"
|
||||
passed = "Gaindituta"
|
||||
failed = "Huts eginda"
|
||||
compliant = "Bateragarria"
|
||||
nonCompliant = "Ez da bateragarria"
|
||||
none = "Ez da estandarrik detektatu"
|
||||
passedCount = "gaindituta"
|
||||
failedCount = "huts eginda"
|
||||
noVerification = "Ez da egiaztapenik egin"
|
||||
noVerificationDesc = "Dokumentu honen PDF estandarren betetzea ez da egiaztatu."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Eranskinak"
|
||||
embeddedFiles = "Txertatutako fitxategiak"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} murrizketa"
|
||||
permsMixed = "Zenbait baimen murriztuta"
|
||||
hasCompliance = "Betetze-estandarrak ditu"
|
||||
noCompliance = "Ez dago betetze-estandarrik"
|
||||
compliancePassed = "{{standards}} bateragarria"
|
||||
complianceChecked = "Estandarrak egiaztatuta ({{failed}} huts)"
|
||||
basic = "Oinarrizko informazioa"
|
||||
documentInfo = "Dokumentuaren informazioa"
|
||||
securityTitle = "Segurtasun-egoera"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Pasahitza ongi aldatu da! Hasi saioa pasahitz berriare
|
||||
credentialsUpdated = "Zure kredentzialak eguneratu dira. Hasi saioa berriro."
|
||||
defaultCredentials = "Saio-hasierako kredentzial lehenetsiak"
|
||||
changePasswordWarning = "Mesedez, aldatu pasahitza lehen aldiz saioa hasi ondoren"
|
||||
mfaRequired = "Bi faktoreko kodea behar da"
|
||||
mfaCode = "Autentifikazio-kodea"
|
||||
enterMfaCode = "Sartu 6 digituko kodea"
|
||||
mfaPromptTitle = "Bi faktoreko autentifikazioa"
|
||||
mfaPromptBody = "Sartu jarraitzeko zure autentifikazio-aplikazioak emandako autentifikazio-kodea."
|
||||
verifyingMfa = "Egiaztatzen..."
|
||||
verifyMfa = "Egiaztatu kodea"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF ikuspegi orokorra"
|
||||
@@ -4324,6 +4383,10 @@ title = "Saio-hasiera modua beharrezkoa da"
|
||||
message = "Saio-hasiera modua gaitu behar da admin ezarpenak aldatzeko. Ezarri SECURITY_ENABLELOGIN=true zure ingurunean edo security.enableLogin: true settings.yml, eta berrabiarazi zerbitzaria."
|
||||
readOnly = "Azpiko ezarpenek adibide-balioak erakusten dituzte erreferentziarako. Gaitu saio-hasiera modua benetako konfigurazioa ikusi eta editatzeko."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Enterprise lizentzia behar da"
|
||||
message = "{{featureName}} atzitzeko Enterprise lizentzia behar da. Erreferentzia gisa demo datuak ikusten ari zara."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Berrabiarazi behar da"
|
||||
message = "Ezarpenak ongi gorde dira. Zerbitzaria berrabiaraztea beharrezkoa da aldaketek eragina izan dezaten."
|
||||
@@ -4771,6 +4834,48 @@ description = "Erakutsi errore-mezu zehatzak erabiltzaileentzat."
|
||||
title = "Datu-basea"
|
||||
description = "Konfiguratu datu-base konexio pertsonalizatuak enpresa-hedapenetarako."
|
||||
configuration = "Datu-basearen konfigurazioa"
|
||||
backupTitle = "Babeskopiak eta leheneratzea"
|
||||
backupDescription = "Kudeatu H2 babeskopiak administrazio-kontsolatik bertatik."
|
||||
loadError = "Huts egin du datu-basearen babeskopiak kargatzean"
|
||||
backupCreated = "Babeskopia arrakastaz sortu da"
|
||||
backupFailed = "Huts egin du babeskopia sortzean"
|
||||
deleteTitle = "Babeskopia ezabatu"
|
||||
deleteConfirm = "Ezabatu babeskopia hau? Hau ezin da desegin."
|
||||
deleteSuccess = "Babeskopia ezabatu da"
|
||||
deleteFailed = "Huts egin du babeskopia ezabatzean"
|
||||
deleteConfirmAction = "Babeskopia ezabatu"
|
||||
downloadFailed = "Huts egin du babeskopia deskargatzean"
|
||||
version = "H2 bertsioa"
|
||||
embedded = "Txertatutako H2"
|
||||
external = "Kanpoko DB"
|
||||
h2Only = "Babeskopiak H2 txertatutako datu-basearentzat bakarrik daude eskuragarri."
|
||||
h2Hint = "Ezarri datu-base mota H2 gisa eta desgaitu datu-base pertsonalizatua babeskopia eta leheneratzea gaitzeko."
|
||||
manageBackups = "Babeskopiak kudeatu"
|
||||
refresh = "Freskatu"
|
||||
createBackup = "Babeskopia sortu"
|
||||
uploadTitle = "Igo eta inportatu"
|
||||
chooseFile = "Aukeratu .sql babeskopia-fitxategi bat"
|
||||
importFromUpload = "Igotakoa inportatu"
|
||||
confirmImportTitle = "Datu-base inportazioa berretsi"
|
||||
overwriteWarning = "Abisua: honek uneko datu-basea gainidatziko du."
|
||||
overwriteWarningBody = "Existitzen den datu guztia igotako babeskopiak ordezkatuko du. Ekintza hau ezin da desegin."
|
||||
confirmCodeLabel = "Jarraitzeko, sartu berrespen-kodea"
|
||||
enterCode = "Sartu goian erakutsitako kodea"
|
||||
confirmImport = "Inportazioa berretsi"
|
||||
codeMismatch = "Berrespen-kodea ez dator bat"
|
||||
codeMismatchBody = "Mesedez, sartu kodea zehazki ageri den bezala jarraitzeko."
|
||||
selectFile = "Mesedez, hautatu inportatzeko .sql fitxategi bat"
|
||||
importSuccess = "Babeskopia arrakastaz inportatu da"
|
||||
importFailed = "Huts egin du babeskopia inportatzean"
|
||||
noBackups = "Oraindik ez da babeskopiarik aurkitu."
|
||||
unavailable = "Uneko datu-base konfigurazioarentzat babeskopien zerrenda ez dago erabilgarri."
|
||||
fileName = "Fitxategia"
|
||||
created = "Sortze-data"
|
||||
size = "Tamaina"
|
||||
actions = "Ekintzak"
|
||||
download = "Deskargatu"
|
||||
import = "Inportatu"
|
||||
delete = "Ezabatu"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Datu-base pertsonalizatua gaitu"
|
||||
@@ -4848,6 +4953,26 @@ description = "Irudien prozesaketarako gehienezko DPI (0 = mugarik ez)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Tessdata direktorioa"
|
||||
description = "OCR hizkuntza-fitxategietarako tessdata direktorioaren bide-izena"
|
||||
downloadMissingTitle = "Ez da hizkuntzarik hautatu"
|
||||
downloadMissingBody = "Hautatu gutxienez hizkuntza bat deskargatzeko."
|
||||
downloadSuccessTitle = "Hizkuntzak deskargatu dira"
|
||||
downloadSuccessBody = "Hautatutako tessdata hizkuntzak gorde dira."
|
||||
downloadErrorTitle = "Deskargak huts egin du"
|
||||
loadingLanguages = "Instalatutako tessdata hizkuntzak kargatzen..."
|
||||
installedLanguages = "Instalatutako tessdata hizkuntzak"
|
||||
noLanguages = "Ez da tessdata hizkuntzarik aurkitu konfiguratutako direktorioan."
|
||||
downloadLabel = "Deskargatu tessdata hizkuntza gehigarriak"
|
||||
downloadPlaceholder = "Hautatu hizkuntzak"
|
||||
downloadNothingFound = "Ez da hizkuntza gehigarririk aurkitu"
|
||||
permissionNotice = "tessdata bidea ez da idazgarria. Deskargak nabigatzailean irekiko dira; gorde .traineddata fitxategiak eskuz tessdata direktorioan."
|
||||
manualLinks = "Deskarga manualak: egin klik esteketan eta jarri fitxategiak tessdata direktorioan."
|
||||
downloadButton = "Hautatutako hizkuntzak deskargatu"
|
||||
downloadInvalidTitle = "Hautapen baliogabea"
|
||||
downloadInvalidBody = "Hautatutako hizkuntza batzuk ez daude deskargatzeko erabilgarri. Freskatu eta aukeratu zerrendatik."
|
||||
downloadErrorNetwork = "Sareko errore baten ondorioz deskargak huts egin du. Egiaztatu konexioa eta saiatu berriro."
|
||||
downloadErrorServer = "Zerbitzarian errorea gertatu da tessdata hizkuntzak deskargatzean. Saiatu berriro geroago."
|
||||
downloadErrorPermission = "tessdata direktorioa ez da idazgarria: {{message}}. Aukeratu idazgarri den direktorio bat (adib. aplikazioaren datu-karpetaren azpian) edo egokitu baimenak."
|
||||
downloadErrorGeneric = "Deskargak huts egin du: {{message}}. Saiatu berriro geroago."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML saneamendua desgaitu"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Eraiki hainbat pausoko lan-fluxuak PDF ekintzak kateatuz. Egokia zeregin
|
||||
invalidStep = "Urrats baliogabea"
|
||||
reviewTitle = "Automatizazioaren emaitzak"
|
||||
copyToSaved = "Gordetakoetara kopiatu"
|
||||
exportForFolderScanning = "Karpeta-eskaneatzerako esportatu"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Hautatu automatizazio honekin prozesatuko diren fitxategiak"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Automatizazioa sortu"
|
||||
editTitle = "Automatizazioa editatu"
|
||||
intro = "Automatizazioek tresnak sekuentzialki exekutatzen dituzte. Hasteko, gehitu tresnak exekutatu nahi dituzun ordenan."
|
||||
save = "Automatizazioa gorde"
|
||||
exportForFolderScanning = "Karpeta-eskaneatzerako esportatu"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Automatizazioaren izena"
|
||||
@@ -5746,9 +5873,11 @@ username = "Erabiltzaile-izena (Helbide elektronikoa)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Pasahitza"
|
||||
passwordPlaceholder = "Sartu pasahitza"
|
||||
passwordRequired = "Pasahitza beharrezkoa da"
|
||||
role = "Rola"
|
||||
team = "Taldea (aukerakoa)"
|
||||
teamPlaceholder = "Aukeratu talde bat"
|
||||
authType = "Autentifikazio mota"
|
||||
forcePasswordChange = "Behartu pasahitza aldatzera lehen saio-hasieran"
|
||||
cancel = "Utzi"
|
||||
submit = "Gehitu kidea"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Erabiltzaile-izena eta pasahitza beharrezkoak dira"
|
||||
passwordTooShort = "Pasahitzak gutxienez 6 karaktere izan behar ditu"
|
||||
success = "Erabiltzailea ongi sortu da"
|
||||
error = "Ezin izan da erabiltzailea sortu"
|
||||
forceMFA = "Behartu MFA konfigurazioa hurrengo saio-hasieran"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Pasahitza"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Erabiltzailea SSO hornitzailearen bidez autentifikatuko da"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Kidea editatu"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} erabiltzaile-slot erabilgarri"
|
||||
noSlotsAvailable = "Ez dago slot erabilgarririk"
|
||||
currentUsage = "Une honetan {{current}}/{{max}} erabiltzaile-lizentzia erabiltzen"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "Erabiltzailearentzat MFA behar bezala desgaitu da"
|
||||
adminDisableError = "Erabiltzailearentzat MFA desgaitzea huts egin du"
|
||||
disableByAdmin = "Desgaitu MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Taldeak"
|
||||
description = "Kudeatu taldeak eta antolatu lan-espazioko kideak"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Bisitak"
|
||||
percentage = "Ehunekoa"
|
||||
noData = "Ez dago daturik eskuragarri"
|
||||
unknownEndpoint = "Amaiera-puntu ezezaguna"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Atzeko zerbitzuaren egoera egiaztatzen..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "عملیات را انتخاب کنید"
|
||||
addOperationButton = "اضافه کردن عملیات"
|
||||
pipelineHeader = "پایپلاین:"
|
||||
saveButton = "دانلود"
|
||||
saveForFolderScanning = "ذخیره برای اسکن پوشه"
|
||||
validateButton = "اعتبارسنجی"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "تنظیمات مرورگر وب"
|
||||
syncToBrowser = "همگامسازی حساب -> مرورگر"
|
||||
syncToAccount = "همگامسازی حساب <- مرورگر"
|
||||
|
||||
[account.mfa]
|
||||
title = "احراز هویت دومرحلهای"
|
||||
setupFailed = "امکان شروع راهاندازی احراز هویت دومرحلهای فراهم نشد. لطفاً دوباره تلاش کنید."
|
||||
codeRequired = "برای ادامه، کد احراز هویت را وارد کنید."
|
||||
enabled = "احراز هویت دومرحلهای فعال شد."
|
||||
enableFailed = "امکان فعالسازی احراز هویت دومرحلهای وجود ندارد. کد را بررسی کرده و دوباره تلاش کنید."
|
||||
disabled = "احراز هویت دومرحلهای غیرفعال شد."
|
||||
disableFailed = "امکان غیرفعالسازی احراز هویت دومرحلهای وجود ندارد. کد را بررسی کرده و دوباره تلاش کنید."
|
||||
description = "یک لایه امنیتی اضافی به حساب خود اضافه کنید."
|
||||
enableButton = "فعالسازی احراز هویت دومرحلهای"
|
||||
disableButton = "غیرفعالسازی احراز هویت دومرحلهای"
|
||||
setupTitle = "راهاندازی احراز هویت دومرحلهای"
|
||||
setupDescription = "کد QR را با برنامه احراز هویت خود اسکن کنید، سپس کد ۶ رقمی را برای تأیید وارد کنید."
|
||||
manualKey = "کلید راهاندازی دستی"
|
||||
secretWarning = "این کلید را محرمانه نگه دارید. هر کسی که به آن دسترسی داشته باشد میتواند کدهای احراز هویت معتبر تولید کند."
|
||||
codePlaceholder = "کد ۶ رقمی را وارد کنید"
|
||||
confirmEnable = "فعالسازی"
|
||||
disableTitle = "غیرفعال کردن احراز هویت دومرحلهای"
|
||||
disableDescription = "برای غیرفعال کردن احراز هویت دومرحلهای، یک کد احراز هویت معتبر وارد کنید."
|
||||
codeLabel = "کد احراز هویت"
|
||||
confirmDisable = "غیرفعالسازی"
|
||||
ssoDescription = "احراز هویت دومرحلهای برای حسابهای Single Sign-On توسط ارائهدهنده هویت شما مدیریت میشود."
|
||||
ssoManaged = "MFA را از طریق ارائهدهنده هویت خود پیکربندی کنید."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "تنظیمات کنترل کاربران"
|
||||
header = "تنظیمات کنترل کاربران توسط ادمین"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "بهجای PDF فایل HTML میانی را دانلود ک
|
||||
pdfaOptions = "گزینههای PDF/A"
|
||||
outputFormat = "قالب خروجی"
|
||||
pdfaNote = "PDF/A-1b سازگارتر است، PDF/A-2b از قابلیتهای بیشتری پشتیبانی میکند."
|
||||
pdfaFormat = "فرمت PDF/A"
|
||||
pdfaDigitalSignatureWarning = "PDF حاوی یک امضای دیجیتال است. این در مرحله بعد حذف خواهد شد."
|
||||
pdfxDigitalSignatureWarning = "این PDF شامل امضای دیجیتال است. این مورد در مرحله بعد حذف خواهد شد."
|
||||
pdfxDescription = "PDF/X زیرمجموعه استاندارد ISO از PDF برای چاپ قابلاعتماد و تبادل گرافیک است."
|
||||
fileFormat = "قالب فایل"
|
||||
wordDoc = "سند Word"
|
||||
wordDocExt = "سند Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "در حال حاضر برای چندین ورودی به طور همزم
|
||||
outputFormat = "فرمت خروجی"
|
||||
pdfWithDigitalSignature = "PDF حاوی یک امضای دیجیتال است. این در مرحله بعد حذف خواهد شد."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "چاپ,استاندارد,تبدیل,تولید,پیشازچاپ,آرشیو"
|
||||
title = "تبدیل PDF به PDF/X"
|
||||
header = "تبدیل PDF به PDF/X"
|
||||
credit = "این سرویس برای تبدیل PDF/X از Ghostscript استفاده میکند"
|
||||
submit = "تبدیل"
|
||||
tip = "در حال حاضر برای چند ورودی همزمان کار نمیکند"
|
||||
outputFormat = "فرمت خروجی"
|
||||
pdfWithDigitalSignature = "این PDF شامل امضای دیجیتال است. این مورد در مرحله بعد حذف خواهد شد."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc،docx،odt،ورد،تبدیل،فرمت،تبدیل،دفتر،مایکروسافت،فایل ورد"
|
||||
title = "PDF به ورد"
|
||||
@@ -3153,6 +3191,18 @@ other = "سایر"
|
||||
perPageInfo = "اطلاعات هر صفحه"
|
||||
tableOfContents = "فهرست مطالب"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "شناسایی نشد"
|
||||
passed = "موفق"
|
||||
failed = "ناموفق"
|
||||
compliant = "مطابق"
|
||||
nonCompliant = "نامنطبق"
|
||||
none = "استانداردی شناسایی نشد"
|
||||
passedCount = "موفق"
|
||||
failedCount = "ناموفق"
|
||||
noVerification = "هیچ راستیآزمایی انجام نشد"
|
||||
noVerificationDesc = "انطباق با استانداردهای PDF برای این سند راستیآزمایی نشده است."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "پیوستها"
|
||||
embeddedFiles = "فایلهای جاسازیشده"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} محدودیت"
|
||||
permsMixed = "برخی مجوزها محدود شدهاند"
|
||||
hasCompliance = "دارای استانداردهای انطباق"
|
||||
noCompliance = "بدون استانداردهای انطباق"
|
||||
compliancePassed = "مطابق با {{standards}}"
|
||||
complianceChecked = "استانداردها راستیآزمایی شدند ({{failed}} ناموفق)"
|
||||
basic = "اطلاعات پایه"
|
||||
documentInfo = "اطلاعات سند"
|
||||
securityTitle = "وضعیت امنیتی"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "گذرواژه با موفقیت تغییر کرد! ل
|
||||
credentialsUpdated = "اطلاعات ورود شما بهروزرسانی شد. لطفاً دوباره وارد شوید."
|
||||
defaultCredentials = "مشخصات ورود پیشفرض"
|
||||
changePasswordWarning = "لطفاً پس از اولین ورود، گذرواژه خود را تغییر دهید"
|
||||
mfaRequired = "کد احراز هویت دومرحلهای لازم است"
|
||||
mfaCode = "کد احراز هویت"
|
||||
enterMfaCode = "کد ۶ رقمی را وارد کنید"
|
||||
mfaPromptTitle = "احراز هویت دومرحلهای"
|
||||
mfaPromptBody = "برای ادامه، کد احراز هویت را از برنامه احراز هویت خود وارد کنید."
|
||||
verifyingMfa = "در حال تأیید..."
|
||||
verifyMfa = "تأیید کد"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "نمای کلی Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "نیاز به حالت ورود"
|
||||
message = "برای تغییر تنظیمات مدیر باید حالت ورود فعال باشد. لطفاً SECURITY_ENABLELOGIN=true را در محیط خود یا security.enableLogin: true را در settings.yml تنظیم کرده و سپس سرور را راهاندازی مجدد کنید."
|
||||
readOnly = "تنظیمات زیر صرفاً مقادیر نمونه را نشان میدهند. برای مشاهده و ویرایش پیکربندی واقعی، حالت ورود را فعال کنید."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "مجوز Enterprise لازم است"
|
||||
message = "برای دسترسی به {{featureName}} به یک مجوز Enterprise نیاز است. شما در حال مشاهده دادههای نمایشی برای مرجع هستید."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "نیاز به راهاندازی مجدد"
|
||||
message = "تنظیمات با موفقیت ذخیره شدند. برای اعمال تغییرات، راهاندازی مجدد سرور لازم است."
|
||||
@@ -4771,6 +4834,48 @@ description = "نمایش پیامهای خطای تفصیلی برای کا
|
||||
title = "پایگاه داده"
|
||||
description = "پیکربندی تنظیمات اتصال پایگاه داده سفارشی برای استقرارهای سازمانی."
|
||||
configuration = "پیکربندی پایگاه داده"
|
||||
backupTitle = "پشتیبانگیری و بازیابی"
|
||||
backupDescription = "مدیریت نسخههای پشتیبان H2 بهصورت مستقیم از کنسول مدیریتی."
|
||||
loadError = "بارگذاری نسخههای پشتیبان پایگاه داده ناموفق بود"
|
||||
backupCreated = "نسخهٔ پشتیبان با موفقیت ایجاد شد"
|
||||
backupFailed = "ایجاد نسخهٔ پشتیبان ناموفق بود"
|
||||
deleteTitle = "حذف نسخهٔ پشتیبان"
|
||||
deleteConfirm = "این نسخهٔ پشتیبان حذف شود؟ این کار قابل بازگشت نیست."
|
||||
deleteSuccess = "نسخهٔ پشتیبان حذف شد"
|
||||
deleteFailed = "حذف نسخهٔ پشتیبان ناموفق بود"
|
||||
deleteConfirmAction = "حذف نسخهٔ پشتیبان"
|
||||
downloadFailed = "دانلود نسخهٔ پشتیبان ناموفق بود"
|
||||
version = "نسخهٔ H2"
|
||||
embedded = "H2 تعبیهشده"
|
||||
external = "پایگاه دادهٔ خارجی"
|
||||
h2Only = "نسخههای پشتیبان فقط برای پایگاه دادهٔ H2 تعبیهشده در دسترس هستند."
|
||||
h2Hint = "نوع پایگاه داده را روی H2 تنظیم کرده و پایگاه دادهٔ سفارشی را غیرفعال کنید تا پشتیبانگیری و بازیابی فعال شود."
|
||||
manageBackups = "مدیریت نسخههای پشتیبان"
|
||||
refresh = "تازهسازی"
|
||||
createBackup = "ایجاد نسخهٔ پشتیبان"
|
||||
uploadTitle = "بارگذاری و درونریزی"
|
||||
chooseFile = "یک فایل پشتیبان .sql انتخاب کنید"
|
||||
importFromUpload = "درونریزی بارگذاریشده"
|
||||
confirmImportTitle = "تأیید درونریزی پایگاه داده"
|
||||
overwriteWarning = "هشدار: این کار پایگاه دادهٔ فعلی را بازنویسی میکند."
|
||||
overwriteWarningBody = "تمام دادههای موجود با نسخهٔ پشتیبان بارگذاریشده جایگزین خواهند شد. این عملیات غیرقابل بازگشت است."
|
||||
confirmCodeLabel = "برای ادامه، کد تأیید را وارد کنید"
|
||||
enterCode = "کد نمایشدادهشده در بالا را وارد کنید"
|
||||
confirmImport = "تأیید درونریزی"
|
||||
codeMismatch = "کد تأیید مطابقت ندارد"
|
||||
codeMismatchBody = "برای ادامه، کد را دقیقاً مطابق نمایش وارد کنید."
|
||||
selectFile = "لطفاً یک فایل .sql برای درونریزی انتخاب کنید"
|
||||
importSuccess = "نسخهٔ پشتیبان با موفقیت درونریزی شد"
|
||||
importFailed = "درونریزی نسخهٔ پشتیبان ناموفق بود"
|
||||
noBackups = "هنوز هیچ نسخهٔ پشتیبان یافت نشده است."
|
||||
unavailable = "فهرست نسخههای پشتیبان برای پیکربندی فعلی پایگاه داده در دسترس نیست."
|
||||
fileName = "فایل"
|
||||
created = "ایجاد شده"
|
||||
size = "اندازه"
|
||||
actions = "اقدامات"
|
||||
download = "دانلود"
|
||||
import = "درونریزی"
|
||||
delete = "حذف"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "فعالسازی پایگاه داده سفارشی"
|
||||
@@ -4848,6 +4953,26 @@ description = "حداکثر DPI برای پردازش تصویر (0 = نامحد
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "دایرکتوری Tessdata"
|
||||
description = "مسیر دایرکتوری tessdata برای فایلهای زبان OCR"
|
||||
downloadMissingTitle = "هیچ زبانی انتخاب نشده است"
|
||||
downloadMissingBody = "لطفاً دستکم یک زبان برای دانلود انتخاب کنید."
|
||||
downloadSuccessTitle = "زبانها دانلود شدند"
|
||||
downloadSuccessBody = "زبانهای انتخابشدهٔ tessdata ذخیره شدند."
|
||||
downloadErrorTitle = "دانلود ناموفق بود"
|
||||
loadingLanguages = "در حال بارگذاری زبانهای نصبشدهٔ tessdata..."
|
||||
installedLanguages = "زبانهای نصبشدهٔ tessdata"
|
||||
noLanguages = "هیچ زبان tessdata در پوشهٔ پیکربندیشده یافت نشد."
|
||||
downloadLabel = "دانلود زبانهای اضافی tessdata"
|
||||
downloadPlaceholder = "انتخاب زبانها"
|
||||
downloadNothingFound = "هیچ زبان اضافیای یافت نشد"
|
||||
permissionNotice = "مسیر tessdata قابل نوشتن نیست. دانلودها در مرورگر باز میشوند؛ لطفاً فایلهای .traineddata را بهصورت دستی در پوشهٔ tessdata ذخیره کنید."
|
||||
manualLinks = "دانلود دستی: روی پیوندها کلیک کنید و فایلها را در پوشهٔ tessdata قرار دهید."
|
||||
downloadButton = "دانلود زبانهای انتخابشده"
|
||||
downloadInvalidTitle = "انتخاب نامعتبر"
|
||||
downloadInvalidBody = "برخی از زبانهای انتخابشده برای دانلود در دسترس نیستند. لطفاً تازهسازی کنید و از فهرست انتخاب کنید."
|
||||
downloadErrorNetwork = "دانلود به دلیل خطای شبکه ناموفق بود. لطفاً اتصال خود را بررسی کرده و دوباره تلاش کنید."
|
||||
downloadErrorServer = "سرور هنگام دانلود زبانهای tessdata با خطا مواجه شد. لطفاً بعداً دوباره تلاش کنید."
|
||||
downloadErrorPermission = "پوشهٔ Tessdata قابل نوشتن نیست: {{message}}. لطفاً یک پوشهٔ قابل نوشتن انتخاب کنید (مثلاً در پوشهٔ دادههای برنامه) یا مجوزها را تنظیم کنید."
|
||||
downloadErrorGeneric = "دانلود ناموفق بود: {{message}}. لطفاً بعداً دوباره تلاش کنید."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "غیرفعال کردن پاکسازی HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "با زنجیرهکردن اقدامات PDF، گردشکار چن
|
||||
invalidStep = "گام نامعتبر"
|
||||
reviewTitle = "نتایج اتوماسیون"
|
||||
copyToSaved = "کپی به ذخیرهشدهها"
|
||||
exportForFolderScanning = "برونبری برای اسکن پوشه"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "فایلها را برای پردازش با این اتوماسیون انتخاب کنید"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "ایجاد اتوماسیون"
|
||||
editTitle = "ویرایش اتوماسیون"
|
||||
intro = "اتوماسیونها ابزارها را بهصورت ترتیبی اجرا میکنند. برای شروع، ابزارها را به ترتیبی که میخواهید اجرا شوند اضافه کنید."
|
||||
save = "ذخیره اتوماسیون"
|
||||
exportForFolderScanning = "برونبری برای اسکن پوشه"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "نام اتوماسیون"
|
||||
@@ -5746,9 +5873,11 @@ username = "نام کاربری (ایمیل)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "رمز عبور"
|
||||
passwordPlaceholder = "رمز عبور را وارد کنید"
|
||||
passwordRequired = "رمز عبور الزامی است"
|
||||
role = "نقش"
|
||||
team = "تیم (اختیاری)"
|
||||
teamPlaceholder = "یک تیم انتخاب کنید"
|
||||
authType = "نوع احراز هویت"
|
||||
forcePasswordChange = "اجبار تغییر رمز عبور در اولین ورود"
|
||||
cancel = "انصراف"
|
||||
submit = "افزودن عضو"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "نام کاربری و رمز عبور الزامی است"
|
||||
passwordTooShort = "رمز عبور باید حداقل ۶ نویسه باشد"
|
||||
success = "کاربر با موفقیت ایجاد شد"
|
||||
error = "ایجاد کاربر ناموفق بود"
|
||||
forceMFA = "الزام راهاندازی MFA در ورود بعدی"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "رمز عبور"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "کاربر از طریق ارائهدهندهٔ SSO احراز هویت خواهد شد"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "ویرایش عضو"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} جایگاه کاربر در دسترس است"
|
||||
noSlotsAvailable = "هیچ جایگاهی در دسترس نیست"
|
||||
currentUsage = "در حال استفاده از {{current}} از {{max}} مجوز کاربر"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA برای کاربر با موفقیت غیرفعال شد"
|
||||
adminDisableError = "غیرفعال کردن MFA برای کاربر ناموفق بود"
|
||||
disableByAdmin = "غیرفعال کردن MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "تیمها"
|
||||
description = "مدیریت تیمها و سازماندهی اعضای فضای کاری"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "اندپوینت"
|
||||
visits = "بازدیدها"
|
||||
percentage = "درصد"
|
||||
noData = "دادهای در دسترس نیست"
|
||||
unknownEndpoint = "نقطه پایانی ناشناخته"
|
||||
|
||||
[backendHealth]
|
||||
checking = "در حال بررسی وضعیت بکاند..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Sélectionner une opération"
|
||||
addOperationButton = "Ajouter une opération"
|
||||
pipelineHeader = "Pipeline :"
|
||||
saveButton = "Télécharger"
|
||||
saveForFolderScanning = "Enregistrer pour l'analyse de dossier"
|
||||
validateButton = "Valider"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Paramètres du navigateur"
|
||||
syncToBrowser = "Synchroniser : Compte → Navigateur"
|
||||
syncToAccount = "Synchroniser : Compte ← Navigateur"
|
||||
|
||||
[account.mfa]
|
||||
title = "Authentification à deux facteurs"
|
||||
setupFailed = "Impossible de démarrer la configuration de l'authentification à deux facteurs. Veuillez réessayer."
|
||||
codeRequired = "Saisissez le code d'authentification pour continuer."
|
||||
enabled = "Authentification à deux facteurs activée."
|
||||
enableFailed = "Impossible d'activer l'authentification à deux facteurs. Vérifiez le code et réessayez."
|
||||
disabled = "Authentification à deux facteurs désactivée."
|
||||
disableFailed = "Impossible de désactiver l'authentification à deux facteurs. Vérifiez le code et réessayez."
|
||||
description = "Ajoutez une couche de sécurité supplémentaire à votre compte."
|
||||
enableButton = "Activer l'authentification à deux facteurs"
|
||||
disableButton = "Désactiver l'authentification à deux facteurs"
|
||||
setupTitle = "Configurer l'authentification à deux facteurs"
|
||||
setupDescription = "Scannez le code QR avec votre application d'authentification, puis saisissez le code à 6 chiffres pour confirmer."
|
||||
manualKey = "Clé de configuration manuelle"
|
||||
secretWarning = "Conservez cette clé privée. Toute personne y ayant accès peut générer des codes d'authentification valides."
|
||||
codePlaceholder = "Saisir le code à 6 chiffres"
|
||||
confirmEnable = "Activer"
|
||||
disableTitle = "Désactiver l'authentification à deux facteurs"
|
||||
disableDescription = "Saisissez un code d'authentification valide pour désactiver l'authentification à deux facteurs."
|
||||
codeLabel = "Code d'authentification"
|
||||
confirmDisable = "Désactiver"
|
||||
ssoDescription = "L'authentification à deux facteurs est gérée par votre fournisseur d'identité pour les comptes à authentification unique."
|
||||
ssoManaged = "Configurez la MFA via votre fournisseur d'identité."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Administration des paramètres des utilisateurs"
|
||||
header = "Administration des paramètres des utilisateurs"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Télécharger le fichier HTML intermédiaire au lieu du PDF"
|
||||
pdfaOptions = "Options PDF/A"
|
||||
outputFormat = "Format de sortie"
|
||||
pdfaNote = "PDF/A-1b est plus compatible, PDF/A-2b prend en charge davantage de fonctionnalités."
|
||||
pdfaFormat = "Format PDF/A"
|
||||
pdfaDigitalSignatureWarning = "Le PDF contient une signature numérique. Elle sera supprimée dans l'étape suivante."
|
||||
pdfxDigitalSignatureWarning = "Le PDF contient une signature numérique. Elle sera supprimée à l'étape suivante."
|
||||
pdfxDescription = "PDF/X est un sous-ensemble PDF conforme à l'ISO pour une impression fiable et un échange graphique."
|
||||
fileFormat = "Format de fichier"
|
||||
wordDoc = "Document Word"
|
||||
wordDocExt = "Document Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Ne fonctionne actuellement pas pour plusieurs entrées à la fois"
|
||||
outputFormat = "Format de sortie"
|
||||
pdfWithDigitalSignature = "Le PDF contient une signature numérique. Elle sera supprimée dans l'étape suivante."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "impression,standard,conversion,production,prépresse,archive"
|
||||
title = "PDF vers PDF/X"
|
||||
header = "PDF vers PDF/X"
|
||||
credit = "Ce service utilise Ghostscript pour la conversion PDF/X"
|
||||
submit = "Convertir"
|
||||
tip = "Ne fonctionne actuellement pas avec plusieurs entrées à la fois"
|
||||
outputFormat = "Format de sortie"
|
||||
pdfWithDigitalSignature = "Le PDF contient une signature numérique. Elle sera supprimée à l'étape suivante."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc, docx, odt, word, transformation, format, conversion, office, microsoft, docfile"
|
||||
title = "PDF en Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Autre"
|
||||
perPageInfo = "Informations par page"
|
||||
tableOfContents = "Table des matières"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Non détecté"
|
||||
passed = "Réussi"
|
||||
failed = "Échec"
|
||||
compliant = "Conforme"
|
||||
nonCompliant = "Non conforme"
|
||||
none = "Aucune norme détectée"
|
||||
passedCount = "réussis"
|
||||
failedCount = "échoués"
|
||||
noVerification = "Aucune vérification effectuée"
|
||||
noVerificationDesc = "La conformité aux normes PDF n'a pas été vérifiée pour ce document."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Pièces jointes"
|
||||
embeddedFiles = "Fichiers intégrés"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} restrictions"
|
||||
permsMixed = "Certaines autorisations sont restreintes"
|
||||
hasCompliance = "Respecte des normes de conformité"
|
||||
noCompliance = "Aucune norme de conformité"
|
||||
compliancePassed = "Conforme à {{standards}}"
|
||||
complianceChecked = "Normes vérifiées ({{failed}} échoués)"
|
||||
basic = "Informations de base"
|
||||
documentInfo = "Informations sur le document"
|
||||
securityTitle = "État de sécurité"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Mot de passe modifié avec succès ! Veuillez vous co
|
||||
credentialsUpdated = "Vos identifiants ont été mis à jour. Veuillez vous reconnecter."
|
||||
defaultCredentials = "Identifiants de connexion par défaut"
|
||||
changePasswordWarning = "Veuillez changer votre mot de passe après votre première connexion"
|
||||
mfaRequired = "Code à deux facteurs requis"
|
||||
mfaCode = "Code d'authentification"
|
||||
enterMfaCode = "Saisir le code à 6 chiffres"
|
||||
mfaPromptTitle = "Authentification à deux facteurs"
|
||||
mfaPromptBody = "Saisissez le code d'authentification provenant de votre application d'authentification pour continuer."
|
||||
verifyingMfa = "Vérification..."
|
||||
verifyMfa = "Vérifier le code"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Aperçu de Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Mode de connexion requis"
|
||||
message = "Le mode de connexion doit être activé pour modifier les paramètres d’administration. Veuillez définir SECURITY_ENABLELOGIN=true dans votre environnement ou security.enableLogin: true dans settings.yml, puis redémarrer le serveur."
|
||||
readOnly = "Les paramètres ci-dessous affichent des valeurs d’exemple à titre de référence. Activez le mode de connexion pour afficher et modifier la configuration réelle."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Licence Entreprise requise"
|
||||
message = "Une licence Entreprise est requise pour accéder à {{featureName}}. Vous consultez des données de démonstration à titre de référence."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Redémarrage requis"
|
||||
message = "Les paramètres ont été enregistrés avec succès. Un redémarrage du serveur est requis pour que les changements prennent effet."
|
||||
@@ -4771,6 +4834,48 @@ description = "Afficher des messages d’erreur détaillés pour les utilisateur
|
||||
title = "Base de données"
|
||||
description = "Configurer des paramètres de connexion à une base de données personnalisée pour les déploiements d’entreprise."
|
||||
configuration = "Configuration de la base de données"
|
||||
backupTitle = "Sauvegardes & restauration"
|
||||
backupDescription = "Gérez les sauvegardes H2 directement depuis la console d'administration."
|
||||
loadError = "Échec du chargement des sauvegardes de la base de données"
|
||||
backupCreated = "Sauvegarde créée avec succès"
|
||||
backupFailed = "Échec de la création de la sauvegarde"
|
||||
deleteTitle = "Supprimer la sauvegarde"
|
||||
deleteConfirm = "Supprimer cette sauvegarde ? Cette action est irréversible."
|
||||
deleteSuccess = "Sauvegarde supprimée"
|
||||
deleteFailed = "Échec de la suppression de la sauvegarde"
|
||||
deleteConfirmAction = "Supprimer la sauvegarde"
|
||||
downloadFailed = "Échec du téléchargement de la sauvegarde"
|
||||
version = "Version H2"
|
||||
embedded = "H2 intégré"
|
||||
external = "Base de données externe"
|
||||
h2Only = "Les sauvegardes ne sont disponibles que pour la base de données H2 intégrée."
|
||||
h2Hint = "Définissez le type de base de données sur H2 et désactivez la base de données personnalisée pour activer la sauvegarde et la restauration."
|
||||
manageBackups = "Gérer les sauvegardes"
|
||||
refresh = "Actualiser"
|
||||
createBackup = "Créer une sauvegarde"
|
||||
uploadTitle = "Téléversement & import"
|
||||
chooseFile = "Choisir un fichier de sauvegarde .sql"
|
||||
importFromUpload = "Importer le téléversement"
|
||||
confirmImportTitle = "Confirmer l’importation de la base de données"
|
||||
overwriteWarning = "Avertissement : ceci écrasera la base de données actuelle."
|
||||
overwriteWarningBody = "Toutes les données existantes seront remplacées par la sauvegarde téléversée. Cette action est irréversible."
|
||||
confirmCodeLabel = "Saisissez le code de confirmation pour continuer"
|
||||
enterCode = "Saisissez le code affiché ci-dessus"
|
||||
confirmImport = "Confirmer l’importation"
|
||||
codeMismatch = "Le code de confirmation ne correspond pas"
|
||||
codeMismatchBody = "Veuillez saisir le code exactement tel qu’affiché pour continuer."
|
||||
selectFile = "Veuillez sélectionner un fichier .sql à importer"
|
||||
importSuccess = "Sauvegarde importée avec succès"
|
||||
importFailed = "Échec de l’importation de la sauvegarde"
|
||||
noBackups = "Aucune sauvegarde trouvée pour le moment."
|
||||
unavailable = "La liste des sauvegardes est indisponible pour la configuration actuelle de la base de données."
|
||||
fileName = "Fichier"
|
||||
created = "Créé"
|
||||
size = "Taille"
|
||||
actions = "Actions"
|
||||
download = "Télécharger"
|
||||
import = "Importer"
|
||||
delete = "Supprimer"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Activer la base de données personnalisée"
|
||||
@@ -4848,6 +4953,26 @@ description = "DPI maximum pour le traitement d’images (0 = illimité)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Répertoire tessdata"
|
||||
description = "Chemin vers le répertoire tessdata pour les fichiers de langue OCR"
|
||||
downloadMissingTitle = "Aucune langue sélectionnée"
|
||||
downloadMissingBody = "Veuillez sélectionner au moins une langue à télécharger."
|
||||
downloadSuccessTitle = "Langues téléchargées"
|
||||
downloadSuccessBody = "Les langues tessdata sélectionnées ont été enregistrées."
|
||||
downloadErrorTitle = "Échec du téléchargement"
|
||||
loadingLanguages = "Chargement des langues tessdata installées..."
|
||||
installedLanguages = "Langues tessdata installées"
|
||||
noLanguages = "Aucune langue tessdata trouvée dans le répertoire configuré."
|
||||
downloadLabel = "Télécharger des langues tessdata supplémentaires"
|
||||
downloadPlaceholder = "Sélectionner des langues"
|
||||
downloadNothingFound = "Aucune langue supplémentaire trouvée"
|
||||
permissionNotice = "Le chemin tessdata n’est pas accessible en écriture. Les téléchargements seront ouverts dans le navigateur ; veuillez enregistrer manuellement les fichiers .traineddata dans le dossier tessdata."
|
||||
manualLinks = "Téléchargements manuels : cliquez sur les liens et placez les fichiers dans le dossier tessdata."
|
||||
downloadButton = "Télécharger les langues sélectionnées"
|
||||
downloadInvalidTitle = "Sélection invalide"
|
||||
downloadInvalidBody = "Certaines des langues sélectionnées ne sont pas disponibles au téléchargement. Veuillez actualiser et choisir dans la liste."
|
||||
downloadErrorNetwork = "Échec du téléchargement en raison d’une erreur réseau. Veuillez vérifier votre connexion et réessayer."
|
||||
downloadErrorServer = "Le serveur a rencontré une erreur lors du téléchargement des langues tessdata. Veuillez réessayer plus tard."
|
||||
downloadErrorPermission = "Le répertoire tessdata n’est pas accessible en écriture : {{message}}. Veuillez choisir un répertoire accessible en écriture (par exemple dans le dossier de données de l’application) ou ajuster les autorisations."
|
||||
downloadErrorGeneric = "Échec du téléchargement : {{message}}. Veuillez réessayer plus tard."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Désactiver la sanitisation HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Créez des workflows multi-étapes en enchaînant des actions PDF. Idéa
|
||||
invalidStep = "Étape invalide"
|
||||
reviewTitle = "Résultats de l’automatisation"
|
||||
copyToSaved = "Copier vers Enregistré"
|
||||
exportForFolderScanning = "Exporter pour l'analyse de dossier"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Sélectionnez des fichiers à traiter avec cette automatisation"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Créer une automatisation"
|
||||
editTitle = "Modifier l’automatisation"
|
||||
intro = "Les automatisations exécutent les outils séquentiellement. Pour commencer, ajoutez les outils dans l’ordre d’exécution souhaité."
|
||||
save = "Enregistrer l’automatisation"
|
||||
exportForFolderScanning = "Exporter pour l'analyse de dossier"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Nom de l’automatisation"
|
||||
@@ -5746,9 +5873,11 @@ username = "Nom d’utilisateur (e-mail)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Mot de passe"
|
||||
passwordPlaceholder = "Saisir le mot de passe"
|
||||
passwordRequired = "Le mot de passe est requis"
|
||||
role = "Rôle"
|
||||
team = "Équipe (facultatif)"
|
||||
teamPlaceholder = "Sélectionner une équipe"
|
||||
authType = "Type d’authentification"
|
||||
forcePasswordChange = "Forcer le changement de mot de passe à la première connexion"
|
||||
cancel = "Annuler"
|
||||
submit = "Ajouter le membre"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Le nom d’utilisateur et le mot de passe sont obligatoires"
|
||||
passwordTooShort = "Le mot de passe doit comporter au moins 6 caractères"
|
||||
success = "Utilisateur créé avec succès"
|
||||
error = "Échec de la création de l’utilisateur"
|
||||
forceMFA = "Forcer la configuration MFA à la prochaine connexion"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Mot de passe"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "L’utilisateur s’authentifiera via le fournisseur SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Modifier le membre"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} place(s) utilisateur disponibles"
|
||||
noSlotsAvailable = "Aucune place disponible"
|
||||
currentUsage = "Utilise actuellement {{current}} sur {{max}} licences utilisateur"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA désactivée avec succès pour l'utilisateur"
|
||||
adminDisableError = "Échec de la désactivation de la MFA pour l'utilisateur"
|
||||
disableByAdmin = "Désactiver la MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Équipes"
|
||||
description = "Gérez les équipes et organisez les membres de l’espace de travail"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Visites"
|
||||
percentage = "Pourcentage"
|
||||
noData = "Aucune donnée disponible"
|
||||
unknownEndpoint = "Point de terminaison inconnu"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Vérification de l’état du backend..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Roghnaigh Oibríocht"
|
||||
addOperationButton = "Cuir oibríocht leis"
|
||||
pipelineHeader = "Píblíne:"
|
||||
saveButton = "Íosluchtaigh"
|
||||
saveForFolderScanning = "Sábháil le haghaidh Scanadh Fillteáin"
|
||||
validateButton = "Bailíochtaigh"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Socrú Brabhsálaí Gréasáin"
|
||||
syncToBrowser = "Cuntas Sync -> Brabhsálaí"
|
||||
syncToAccount = "Cuntas Sioncronaigh <- Brabhsálaí"
|
||||
|
||||
[account.mfa]
|
||||
title = "Fíordheimhniú dhá fhachtóir"
|
||||
setupFailed = "Níorbh fhéidir socrú dhá fhachtóir a thosú. Bain triail eile as, le do thoil."
|
||||
codeRequired = "Cuir isteach an cód fíordheimhnithe chun leanúint ar aghaidh."
|
||||
enabled = "Cumasaíodh fíordheimhniú dhá fhachtóir."
|
||||
enableFailed = "Níorbh fhéidir fíordheimhniú dhá fhachtóir a chumasú. Seiceáil an cód agus bain triail eile as."
|
||||
disabled = "Díchumasaíodh fíordheimhniú dhá fhachtóir."
|
||||
disableFailed = "Níorbh fhéidir fíordheimhniú dhá fhachtóir a dhíchumasú. Seiceáil an cód agus bain triail eile as."
|
||||
description = "Cuir ciseal breise slándála le do chuntas."
|
||||
enableButton = "Cumasaigh fíordheimhniú dhá fhachtóir"
|
||||
disableButton = "Díchumasaigh fíordheimhniú dhá fhachtóir"
|
||||
setupTitle = "Socraigh fíordheimhniú dhá fhachtóir"
|
||||
setupDescription = "Scan an cód QR le d’aip fíordheimhnitheora, ansin cuir isteach an cód 6 dhigit chun deimhniú."
|
||||
manualKey = "Eochair shocraithe láimhe"
|
||||
secretWarning = "Coinnigh an eochair seo príobháideach. Féadfaidh aon duine a bhfuil rochtain aige/aici cóid fíordheimhnithe bailí a ghiniúint."
|
||||
codePlaceholder = "Cuir isteach cód 6 dhigit"
|
||||
confirmEnable = "Cumasaigh"
|
||||
disableTitle = "Díchumasaigh fíordheimhniú dhá fhachtóir"
|
||||
disableDescription = "Cuir isteach cód fíordheimhnithe bailí chun fíordheimhniú dhá fhachtóir a dhíchumasú."
|
||||
codeLabel = "Cód fíordheimhnithe"
|
||||
confirmDisable = "Díchumasaigh"
|
||||
ssoDescription = "Is ag do sholáthraí aitheantais a bhainistítear fíordheimhniú dhá fhachtóir do chuntais le síniú isteach aonair."
|
||||
ssoManaged = "Cumraigh MFA trí do sholáthraí aitheantais."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Socruithe Rialaithe Úsáideora"
|
||||
header = "Socruithe Rialaithe Úsáideoir Riaracháin"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Íoslódáil comhad idirmheánach HTML in ionad PDF"
|
||||
pdfaOptions = "Roghanna PDF/A"
|
||||
outputFormat = "Formáid Aschuir"
|
||||
pdfaNote = "Tá PDF/A-1b níos comhoiriúnaí, tacaíonn PDF/A-2b le níos mó gnéithe."
|
||||
pdfaFormat = "Formáid PDF/A"
|
||||
pdfaDigitalSignatureWarning = "Tá síniú digiteach ar an PDF. Bainfear é seo sa chéad chéim eile."
|
||||
pdfxDigitalSignatureWarning = "Tá síniú digiteach sa PDF. Bainfear é sa chéad chéim eile."
|
||||
pdfxDescription = "Is fo-thacar PDF de chaighdeán ISO é PDF/X le haghaidh priontála agus malartaithe grafaice iontaofa."
|
||||
fileFormat = "Formáid Comhaid"
|
||||
wordDoc = "Cáipéis Word"
|
||||
wordDocExt = "Cáipéis Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Faoi láthair ní oibríonn sé le haghaidh ionchuir iolracha ag an am c
|
||||
outputFormat = "Formáid aschuir"
|
||||
pdfWithDigitalSignature = "Tá síniú digiteach ar an PDF. Bainfear é seo sa chéad chéim eile."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "priontáil,caighdeán,tiontú,táirgeadh,réamhphriontáil,cartlann"
|
||||
title = "PDF go PDF/X"
|
||||
header = "PDF go PDF/X"
|
||||
credit = "Úsáideann an tseirbhís seo Ghostscript le haghaidh tiontaithe PDF/X"
|
||||
submit = "Tiontaigh"
|
||||
tip = "Ní oibríonn sé faoi láthair le haghaidh ionchuir iolracha ag an am céanna"
|
||||
outputFormat = "Formáid aschuir"
|
||||
pdfWithDigitalSignature = "Tá síniú digiteach sa PDF. Bainfear é sa chéad chéim eile."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc, docx, odt, focal, claochlú, formáid, comhshó, oifig, microsoft, docfile"
|
||||
title = "PDF a thiontú go word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Eile"
|
||||
perPageInfo = "Eolas in aghaidh an leathanaigh"
|
||||
tableOfContents = "Clár Ábhair"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Níor braitheadh"
|
||||
passed = "D'éirigh leis"
|
||||
failed = "Theip air"
|
||||
compliant = "Comhlíontach"
|
||||
nonCompliant = "Neamhchomhlíontach"
|
||||
none = "Níor braitheadh caighdeáin ar bith"
|
||||
passedCount = "rite"
|
||||
failedCount = "teipthe"
|
||||
noVerification = "Ní dhearnadh aon fhíorú"
|
||||
noVerificationDesc = "Ní dhearnadh fíorú ar chomhlíonadh caighdeáin PDF don cháipéis seo."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Iatáin"
|
||||
embeddedFiles = "Comhaid Leabaithe"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} srianta"
|
||||
permsMixed = "Tá roinnt ceadanna srianta"
|
||||
hasCompliance = "Tá caighdeáin chomhlíonta ann"
|
||||
noCompliance = "Gan chaighdeáin chomhlíonta"
|
||||
compliancePassed = "I gcomhréir le {{standards}}"
|
||||
complianceChecked = "Caighdeáin fíoraithe ({{failed}} teipthe)"
|
||||
basic = "Buneolas"
|
||||
documentInfo = "Eolas faoin Doiciméad"
|
||||
securityTitle = "Stádas Slándála"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Athraíodh an focal faire go rathúil! Logáil isteach
|
||||
credentialsUpdated = "Nuashonraíodh do dhintiúir. Logáil isteach arís, le do thoil."
|
||||
defaultCredentials = "Dintiúir logála isteach réamhshocraithe"
|
||||
changePasswordWarning = "Athraigh do fhocal faire tar éis duit logáil isteach don chéad uair"
|
||||
mfaRequired = "Cód dhá fhachtóir de dhíth"
|
||||
mfaCode = "Cód Fíordheimhnithe"
|
||||
enterMfaCode = "Cuir isteach cód 6 dhigit"
|
||||
mfaPromptTitle = "Fíordheimhniú dhá fhachtóir"
|
||||
mfaPromptBody = "Cuir isteach an cód fíordheimhnithe ó d’aip fíordheimhnitheora chun leanúint ar aghaidh."
|
||||
verifyingMfa = "Á fhíorú..."
|
||||
verifyMfa = "Fíoraigh an cód"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Forbhreathnú Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Mód Logála Isteach de Dhíth"
|
||||
message = "Ní mór mód logála isteach a bheith cumasaithe chun socruithe riarthóra a athrú. Socraigh SECURITY_ENABLELOGIN=true i do thimpeallacht nó security.enableLogin: true i settings.yml, agus atosaigh an freastalaí ansin."
|
||||
readOnly = "Taispeánann na socruithe thíos luachanna samplacha le tagairt. Cumasaigh mód logála isteach chun an chumraíocht iarbhír a fheiceáil agus a chur in eagar."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Ceadúnas Fiontraíochta de dhíth"
|
||||
message = "Tá ceadúnas Fiontraíochta de dhíth chun rochtain a fháil ar {{featureName}}. Tá tú ag féachaint ar shonraí taispeána mar thagairt."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Athtosú de Dhíth"
|
||||
message = "Sábháladh na socruithe go rathúil. Tá athtosú freastalaí de dhíth chun na hathruithe a chur i bhfeidhm."
|
||||
@@ -4771,6 +4834,48 @@ description = "Taispeáin teachtaireachtaí earráide mionsonraithe d’úsáide
|
||||
title = "Bunachar Sonraí"
|
||||
description = "Cumraigh socruithe ceangail bunachair shonraí saincheaptha le haghaidh imscaradh fiontraíochta."
|
||||
configuration = "Cumraíocht Bunachair Sonraí"
|
||||
backupTitle = "Cúltacaí agus Athchóiriú"
|
||||
backupDescription = "Bainistigh cúltacaí H2 go díreach ón gconsól riaracháin."
|
||||
loadError = "Theip ar luchtú cúltacaí an bhunachair sonraí"
|
||||
backupCreated = "Cruthaíodh cúltaca go rathúil"
|
||||
backupFailed = "Theip ar chruthú cúltaca"
|
||||
deleteTitle = "Scrios cúltaca"
|
||||
deleteConfirm = "Scrios an cúltaca seo? Ní féidir é seo a chur ar ceal."
|
||||
deleteSuccess = "Scriosadh cúltaca"
|
||||
deleteFailed = "Theip ar scriosadh cúltaca"
|
||||
deleteConfirmAction = "Scrios an cúltaca"
|
||||
downloadFailed = "Theip ar íoslódáil cúltaca"
|
||||
version = "Leagan H2"
|
||||
embedded = "H2 leabaithe"
|
||||
external = "Bunachar Sonraí Seachtrach"
|
||||
h2Only = "Níl cúltacaí ar fáil ach don bhunachar sonraí H2 leabaithe."
|
||||
h2Hint = "Socraigh cineál an bhunachair sonraí mar H2 agus díchumasaigh an bunachar sonraí saincheaptha chun cúltaca agus athchóiriú a chumasú."
|
||||
manageBackups = "Bainistigh cúltacaí"
|
||||
refresh = "Athnuaigh"
|
||||
createBackup = "Cruthaigh cúltaca"
|
||||
uploadTitle = "Uaslódáil agus iompórtáil"
|
||||
chooseFile = "Roghnaigh comhad cúltaca .sql"
|
||||
importFromUpload = "Iompórtáil ón uaslódáil"
|
||||
confirmImportTitle = "Deimhnigh iompórtáil an bhunachair sonraí"
|
||||
overwriteWarning = "Rabhadh: Forscríobhfaidh sé seo an bunachar sonraí reatha."
|
||||
overwriteWarningBody = "Cuirfear na sonraí go léir atá ann in ionad na sonraí reatha leis an gcúltaca uaslódáilte. Ní féidir an gníomh seo a chur ar ceal."
|
||||
confirmCodeLabel = "Iontráil an cód dearbhaithe chun dul ar aghaidh"
|
||||
enterCode = "Iontráil an cód a thaispeántar thuas"
|
||||
confirmImport = "Deimhnigh an iompórtáil"
|
||||
codeMismatch = "Ní mheaitseálann an cód dearbhaithe"
|
||||
codeMismatchBody = "Iontráil an cód go díreach mar a thaispeántar é chun dul ar aghaidh."
|
||||
selectFile = "Roghnaigh comhad .sql le hiompórtáil"
|
||||
importSuccess = "Iompórtáladh cúltaca go rathúil"
|
||||
importFailed = "Theip ar iompórtáil cúltaca"
|
||||
noBackups = "Níor aimsíodh aon chúltacaí go fóill."
|
||||
unavailable = "Níl liosta na gcúltacaí ar fáil don chumraíocht bhunachair sonraí reatha."
|
||||
fileName = "Comhad"
|
||||
created = "Cruthaithe"
|
||||
size = "Méid"
|
||||
actions = "Gníomhartha"
|
||||
download = "Íoslódáil"
|
||||
import = "Iompórtáil"
|
||||
delete = "Scrios"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Cumasaigh Bunachar Sonraí Saincheaptha"
|
||||
@@ -4848,6 +4953,26 @@ description = "DPI uasta le haghaidh próiseála íomhá (0 = gan teorainn)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Comhadlann tessdata"
|
||||
description = "Conair chuig an gcomhadlann tessdata do chomhaid teanga OCR"
|
||||
downloadMissingTitle = "Níor roghnaíodh aon teanga"
|
||||
downloadMissingBody = "Roghnaigh teanga amháin ar a laghad le híoslódáil."
|
||||
downloadSuccessTitle = "Íoslódáladh na teangacha"
|
||||
downloadSuccessBody = "Sábháladh na teangacha tessdata roghnaithe."
|
||||
downloadErrorTitle = "Theip ar an íoslódáil"
|
||||
loadingLanguages = "Teangacha tessdata suiteáilte á lódáil..."
|
||||
installedLanguages = "Teangacha tessdata suiteáilte"
|
||||
noLanguages = "Níor aimsíodh teangacha tessdata sa chomhadlann chumraithe."
|
||||
downloadLabel = "Íoslódáil teangacha tessdata breise"
|
||||
downloadPlaceholder = "Roghnaigh teangacha"
|
||||
downloadNothingFound = "Níor aimsíodh teangacha breise"
|
||||
permissionNotice = "Níl cosán an tessdata inscríofa. Osclófar íoslódálacha sa bhrabhsálaí; sábháil na comhaid .traineddata de láimh sa chomhadlann tessdata le do thoil."
|
||||
manualLinks = "Íoslódálacha láimhe: cliceáil ar na naisc agus cuir na comhaid sa chomhadlann tessdata."
|
||||
downloadButton = "Íoslódáil na teangacha roghnaithe"
|
||||
downloadInvalidTitle = "Rogha neamhbhailí"
|
||||
downloadInvalidBody = "Níl roinnt de na teangacha roghnaithe ar fáil le híoslódáil. Athnuaigh agus roghnaigh ón liosta le do thoil."
|
||||
downloadErrorNetwork = "Theip ar an íoslódáil mar gheall ar earráid líonra. Seiceáil do cheangal agus bain triail eile as."
|
||||
downloadErrorServer = "Tharla earráid ar an bhfreastalaí agus teangacha tessdata á n-íoslódáil. Bain triail eile as níos déanaí."
|
||||
downloadErrorPermission = "Níl an chomhadlann tessdata inscríofa: {{message}}. Roghnaigh comhadlann inscríofa (m.sh. faoin bhfillteán sonraí feidhmchláir) nó coigeartaigh na ceadanna."
|
||||
downloadErrorGeneric = "Theip ar an íoslódáil: {{message}}. Bain triail eile as níos déanaí."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Díchumasaigh Sláintiú HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Tóg sreafaí oibre ilchéime trí ghníomhartha PDF a shlabhrú le ché
|
||||
invalidStep = "Céim neamhbhailí"
|
||||
reviewTitle = "Torthaí an Uathoibrithe"
|
||||
copyToSaved = "Cóipeáil chuig Sábháilte"
|
||||
exportForFolderScanning = "Easpórtáil le haghaidh Scanadh Fillteáin"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Roghnaigh comhaid le próiseáil leis an uathoibriú seo"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Cruthaigh Uathoibriú"
|
||||
editTitle = "Cuir Uathoibriú in Eagar"
|
||||
intro = "Ritheann uathoibrithe uirlisí as a chéile. Chun tosú, cuir uirlisí leis san ord ina bhfuil tú ag iarraidh iad a rith."
|
||||
save = "Sábháil an tUathoibriú"
|
||||
exportForFolderScanning = "Easpórtáil le haghaidh Scanadh Fillteáin"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Ainm an Uathoibrithe"
|
||||
@@ -5746,9 +5873,11 @@ username = "Ainm Úsáideora (R-phost)"
|
||||
usernamePlaceholder = "úsáideoir@sampla.com"
|
||||
password = "Focal Faire"
|
||||
passwordPlaceholder = "Cuir isteach focal faire"
|
||||
passwordRequired = "Tá focal faire riachtanach"
|
||||
role = "Ról"
|
||||
team = "Foireann (Roghnach)"
|
||||
teamPlaceholder = "Roghnaigh foireann"
|
||||
authType = "Cineál Fíordheimhnithe"
|
||||
forcePasswordChange = "Cuir iallach ar athrú focail faire ag an gcéad logáil isteach"
|
||||
cancel = "Cealaigh"
|
||||
submit = "Cuir Ball Leis"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Tá ainm úsáideora agus focal faire ag teastáil"
|
||||
passwordTooShort = "Caithfidh an focal faire a bheith ar a laghad 6 charachtar"
|
||||
success = "Cruthaíodh an t-úsáideoir go rathúil"
|
||||
error = "Theip ar úsáideoir a chruthú"
|
||||
forceMFA = "Cuir iallach ar shocrú MFA ag an gcéad logáil isteach eile"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Focal faire"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Déanfaidh an t-úsáideoir fíordheimhniú trí sholáthraí SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Cuir Ball in Eagar"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} áit(í) úsáideora ar fáil"
|
||||
noSlotsAvailable = "Níl aon áiteanna ar fáil"
|
||||
currentUsage = "Faoi láthair tá {{current}} as {{max}} ceadúnas úsáideora in úsáid"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "Díchumasaíodh MFA don úsáideoir go rathúil"
|
||||
adminDisableError = "Níorbh fhéidir MFA a dhíchumasú don úsáideoir"
|
||||
disableByAdmin = "Díchumasaigh MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Foirne"
|
||||
description = "Bainistigh foirne agus eagraigh baill an spáis oibre"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Críochphointe"
|
||||
visits = "Cuairteanna"
|
||||
percentage = "Céatadán"
|
||||
noData = "Níl aon sonraí ar fáil"
|
||||
unknownEndpoint = "Críochphointe anaithnid"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Stádas an chúlchórais á sheiceáil..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "ऑपरेशन चुनें"
|
||||
addOperationButton = "ऑपरेशन जोड़ें"
|
||||
pipelineHeader = "पाइपलाइन:"
|
||||
saveButton = "डाउनलोड करें"
|
||||
saveForFolderScanning = "फ़ोल्डर स्कैनिंग के लिए सहेजें"
|
||||
validateButton = "मान्य करें"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "वेब ब्राउज़र सेटिंग"
|
||||
syncToBrowser = "सिंक खाता -> ब्राउज़र"
|
||||
syncToAccount = "सिंक खाता <- ब्राउज़र"
|
||||
|
||||
[account.mfa]
|
||||
title = "दो-कारक प्रमाणीकरण"
|
||||
setupFailed = "दो-कारक सेटअप प्रारंभ करने में असमर्थ। कृपया पुनः प्रयास करें।"
|
||||
codeRequired = "जारी रखने के लिए प्रमाणीकरण कोड दर्ज करें।"
|
||||
enabled = "दो-कारक प्रमाणीकरण सक्षम किया गया।"
|
||||
enableFailed = "दो-कारक प्रमाणीकरण सक्षम करने में असमर्थ। कोड जाँचें और पुनः प्रयास करें।"
|
||||
disabled = "दो-कारक प्रमाणीकरण अक्षम किया गया।"
|
||||
disableFailed = "दो-कारक प्रमाणीकरण अक्षम करने में असमर्थ। कोड जाँचें और पुनः प्रयास करें।"
|
||||
description = "अपने खाते में सुरक्षा की अतिरिक्त परत जोड़ें।"
|
||||
enableButton = "दो-कारक प्रमाणीकरण सक्षम करें"
|
||||
disableButton = "दो-कारक प्रमाणीकरण अक्षम करें"
|
||||
setupTitle = "दो-कारक प्रमाणीकरण सेट करें"
|
||||
setupDescription = "अपने ऑथेंटिकेटर ऐप से QR कोड स्कैन करें, फिर पुष्टि के लिए 6-अंकों का कोड दर्ज करें।"
|
||||
manualKey = "मैनुअल सेटअप कुंजी"
|
||||
secretWarning = "इस कुंजी को निजी रखें। जिसके पास भी पहुँच होगी, वह वैध प्रमाणीकरण कोड जनरेट कर सकता है।"
|
||||
codePlaceholder = "6-अंकों का कोड दर्ज करें"
|
||||
confirmEnable = "सक्षम करें"
|
||||
disableTitle = "दो-कारक प्रमाणीकरण अक्षम करें"
|
||||
disableDescription = "दो-कारक प्रमाणीकरण अक्षम करने के लिए वैध प्रमाणीकरण कोड दर्ज करें।"
|
||||
codeLabel = "प्रमाणीकरण कोड"
|
||||
confirmDisable = "अक्षम करें"
|
||||
ssoDescription = "SSO खातों के लिए दो-कारक प्रमाणीकरण आपका पहचान प्रदाता प्रबंधित करता है।"
|
||||
ssoManaged = "अपने पहचान प्रदाता के माध्यम से MFA कॉन्फ़िगर करें।"
|
||||
|
||||
[adminUserSettings]
|
||||
title = "उपयोगकर्ता नियंत्रण सेटिंग्स"
|
||||
header = "व्यवस्थापक उपयोगकर्ता नियंत्रण सेटिंग्स"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "PDF के बजाय HTML इंटरमीडिएट फ
|
||||
pdfaOptions = "PDF/A विकल्प"
|
||||
outputFormat = "आउटपुट फ़ॉर्मेट"
|
||||
pdfaNote = "PDF/A-1b अधिक संगत है, PDF/A-2b अधिक सुविधाएँ समर्थित करता है।"
|
||||
pdfaFormat = "PDF/A फ़ॉर्मेट"
|
||||
pdfaDigitalSignatureWarning = "PDF में एक डिजिटल हस्ताक्षर है। यह अगले चरण में हटा दिया जाएगा।"
|
||||
pdfxDigitalSignatureWarning = "PDF में एक डिजिटल हस्ताक्षर है। यह अगले चरण में हटा दिया जाएगा।"
|
||||
pdfxDescription = "PDF/X विश्वसनीय प्रिंटिंग और ग्राफ़िक्स विनिमय के लिए एक ISO मानक PDF उपसमुच्चय है।"
|
||||
fileFormat = "फ़ाइल फ़ॉर्मेट"
|
||||
wordDoc = "Word दस्तावेज़"
|
||||
wordDocExt = "Word दस्तावेज़ (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "वर्तमान में एक बार में कई इन
|
||||
outputFormat = "आउटपुट प्रारूप"
|
||||
pdfWithDigitalSignature = "PDF में एक डिजिटल हस्ताक्षर है। यह अगले चरण में हटा दिया जाएगा।"
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "print,standard,conversion,production,prepress,archive"
|
||||
title = "PDF से PDF/X"
|
||||
header = "PDF से PDF/X"
|
||||
credit = "यह सेवा PDF/X रूपांतरण के लिए Ghostscript का उपयोग करती है"
|
||||
submit = "परिवर्तित करें"
|
||||
tip = "फिलहाल एक साथ कई इनपुट पर काम नहीं करता।"
|
||||
outputFormat = "आउटपुट फ़ॉर्मेट"
|
||||
pdfWithDigitalSignature = "PDF में एक डिजिटल हस्ताक्षर है। यह अगले चरण में हटा दिया जाएगा।"
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,रूपांतरण,प्रारूप,रूपांतरण,कार्यालय,माइक्रोसॉफ्ट,docfile"
|
||||
title = "PDF से Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "अन्य"
|
||||
perPageInfo = "प्रति पेज जानकारी"
|
||||
tableOfContents = "विषय सूची"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "पता नहीं चला"
|
||||
passed = "उत्तीर्ण"
|
||||
failed = "असफल"
|
||||
compliant = "अनुरूप"
|
||||
nonCompliant = "अननुरूप"
|
||||
none = "कोई मानक नहीं मिला"
|
||||
passedCount = "उत्तीर्ण"
|
||||
failedCount = "असफल"
|
||||
noVerification = "कोई सत्यापन नहीं किया गया"
|
||||
noVerificationDesc = "इस दस्तावेज़ के लिए PDF मानकों का अनुपालन सत्यापित नहीं किया गया।"
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "संलग्नक"
|
||||
embeddedFiles = "एम्बेडेड फ़ाइलें"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} प्रतिबंध"
|
||||
permsMixed = "कुछ अनुमतियाँ प्रतिबंधित"
|
||||
hasCompliance = "अनुपालन मानक मौजूद हैं"
|
||||
noCompliance = "कोई अनुपालन मानक नहीं"
|
||||
compliancePassed = "{{standards}} अनुरूप"
|
||||
complianceChecked = "मानक सत्यापित ({{failed}} असफल)"
|
||||
basic = "मूल जानकारी"
|
||||
documentInfo = "दस्तावेज़ जानकारी"
|
||||
securityTitle = "सुरक्षा स्थिति"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "पासवर्ड सफलतापूर्व
|
||||
credentialsUpdated = "आपके क्रेडेंशियल अपडेट कर दिए गए हैं। कृपया फिर से साइन इन करें।"
|
||||
defaultCredentials = "डिफ़ॉल्ट लॉगिन क्रेडेंशियल्स"
|
||||
changePasswordWarning = "पहली बार लॉगिन करने के बाद कृपया अपना पासवर्ड बदलें"
|
||||
mfaRequired = "दो-कारक कोड आवश्यक"
|
||||
mfaCode = "प्रमाणीकरण कोड"
|
||||
enterMfaCode = "6-अंकों का कोड दर्ज करें"
|
||||
mfaPromptTitle = "दो-कारक प्रमाणीकरण"
|
||||
mfaPromptBody = "जारी रखने के लिए अपने ऑथेंटिकेटर ऐप का प्रमाणीकरण कोड दर्ज करें।"
|
||||
verifyingMfa = "सत्यापन हो रहा है..."
|
||||
verifyMfa = "कोड सत्यापित करें"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF ओवरव्यू"
|
||||
@@ -4324,6 +4383,10 @@ title = "लॉगिन मोड आवश्यक"
|
||||
message = "एडमिन सेटिंग्स बदलने के लिए लॉगिन मोड सक्षम होना चाहिए। कृपया अपने एनवायरनमेंट में SECURITY_ENABLELOGIN=true या settings.yml में security.enableLogin: true सेट करें, फिर सर्वर रीस्टार्ट करें।"
|
||||
readOnly = "नीचे दी गई सेटिंग्स संदर्भ हेतु उदाहरण मान दिखाती हैं। वास्तविक कॉन्फ़िगरेशन देखने और संपादित करने के लिए लॉगिन मोड सक्षम करें।"
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "एंटरप्राइज़ लाइसेंस आवश्यक"
|
||||
message = "{{featureName}} तक पहुँच के लिए एंटरप्राइज़ लाइसेंस आवश्यक है। आप संदर्भ के लिए डेमो डेटा देख रहे हैं।"
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "रीस्टार्ट आवश्यक"
|
||||
message = "सेटिंग्स सफलतापूर्वक सहेजी गई हैं। परिवर्तनों के प्रभावी होने के लिए सर्वर रीस्टार्ट आवश्यक है।"
|
||||
@@ -4771,6 +4834,48 @@ description = "उपयोगकर्ताओं के लिए विस
|
||||
title = "डेटाबेस"
|
||||
description = "एंटरप्राइज़ डिप्लॉयमेंट के लिए कस्टम डेटाबेस कनेक्शन सेटिंग्स कॉन्फ़िगर करें।"
|
||||
configuration = "डेटाबेस कॉन्फ़िगरेशन"
|
||||
backupTitle = "बैकअप और रिस्टोर"
|
||||
backupDescription = "एडमिन कंसोल से सीधे H2 बैकअप प्रबंधित करें।"
|
||||
loadError = "डेटाबेस बैकअप लोड करने में विफल"
|
||||
backupCreated = "बैकअप सफलतापूर्वक बनाया गया"
|
||||
backupFailed = "बैकअप बनाने में विफल"
|
||||
deleteTitle = "बैकअप हटाएं"
|
||||
deleteConfirm = "क्या इस बैकअप को हटाना चाहते हैं? इसे वापस नहीं किया जा सकता।"
|
||||
deleteSuccess = "बैकअप हटाया गया"
|
||||
deleteFailed = "बैकअप हटाने में विफल"
|
||||
deleteConfirmAction = "बैकअप हटाएं"
|
||||
downloadFailed = "बैकअप डाउनलोड करने में विफल"
|
||||
version = "H2 संस्करण"
|
||||
embedded = "एम्बेडेड H2"
|
||||
external = "बाहरी डेटाबेस"
|
||||
h2Only = "बैकअप केवल एम्बेडेड H2 डेटाबेस के लिए उपलब्ध हैं।"
|
||||
h2Hint = "बैकअप और रिस्टोर सक्षम करने के लिए डेटाबेस प्रकार को H2 पर सेट करें और कस्टम डेटाबेस को अक्षम करें।"
|
||||
manageBackups = "बैकअप प्रबंधित करें"
|
||||
refresh = "रिफ्रेश"
|
||||
createBackup = "बैकअप बनाएं"
|
||||
uploadTitle = "अपलोड और इम्पोर्ट"
|
||||
chooseFile = ".sql बैकअप फ़ाइल चुनें"
|
||||
importFromUpload = "अपलोड इम्पोर्ट करें"
|
||||
confirmImportTitle = "डेटाबेस इम्पोर्ट की पुष्टि करें"
|
||||
overwriteWarning = "चेतावनी: यह वर्तमान डेटाबेस को ओवरराइट कर देगा।"
|
||||
overwriteWarningBody = "सारा मौजूदा डेटा अपलोड किए गए बैकअप से बदल दिया जाएगा। यह क्रिया वापस नहीं की जा सकती।"
|
||||
confirmCodeLabel = "आगे बढ़ने के लिए कन्फर्मेशन कोड दर्ज करें"
|
||||
enterCode = "ऊपर दिखाया गया कोड दर्ज करें"
|
||||
confirmImport = "इम्पोर्ट की पुष्टि करें"
|
||||
codeMismatch = "कन्फर्मेशन कोड मेल नहीं खाता"
|
||||
codeMismatchBody = "कृपया आगे बढ़ने के लिए कोड ठीक उसी प्रकार दर्ज करें जैसा दिखाया गया है।"
|
||||
selectFile = "इम्पोर्ट करने के लिए .sql फ़ाइल चुनें"
|
||||
importSuccess = "बैकअप सफलतापूर्वक इम्पोर्ट किया गया"
|
||||
importFailed = "बैकअप इम्पोर्ट करने में विफल"
|
||||
noBackups = "अभी तक कोई बैकअप नहीं मिला।"
|
||||
unavailable = "वर्तमान डेटाबेस कॉन्फ़िगरेशन के लिए बैकअप सूची उपलब्ध नहीं है।"
|
||||
fileName = "फ़ाइल"
|
||||
created = "बनाया गया"
|
||||
size = "आकार"
|
||||
actions = "क्रियाएं"
|
||||
download = "डाउनलोड"
|
||||
import = "इम्पोर्ट"
|
||||
delete = "हटाएं"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "कस्टम डेटाबेस सक्रिय करें"
|
||||
@@ -4848,6 +4953,26 @@ description = "इमेज प्रोसेसिंग के लिए अ
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "tessdata डायरेक्टरी"
|
||||
description = "OCR भाषा फ़ाइलों के लिए tessdata डायरेक्टरी का पाथ"
|
||||
downloadMissingTitle = "कोई भाषा चयनित नहीं"
|
||||
downloadMissingBody = "कृपया डाउनलोड के लिए कम से कम एक भाषा चुनें।"
|
||||
downloadSuccessTitle = "भाषाएं डाउनलोड की गईं"
|
||||
downloadSuccessBody = "चयनित tessdata भाषाएं सहेज ली गई हैं।"
|
||||
downloadErrorTitle = "डाउनलोड विफल"
|
||||
loadingLanguages = "इंस्टॉल की गई tessdata भाषाएं लोड की जा रही हैं..."
|
||||
installedLanguages = "इंस्टॉल की गई tessdata भाषाएं"
|
||||
noLanguages = "कॉन्फ़िगर की गई डायरेक्टरी में कोई tessdata भाषा नहीं मिली।"
|
||||
downloadLabel = "अतिरिक्त tessdata भाषाएं डाउनलोड करें"
|
||||
downloadPlaceholder = "भाषाएं चुनें"
|
||||
downloadNothingFound = "कोई अतिरिक्त भाषाएं नहीं मिलीं"
|
||||
permissionNotice = "tessdata पाथ पर लिखना संभव नहीं है। डाउनलोड ब्राउज़र में खुलेंगे; कृपया .traineddata फ़ाइलें मैन्युअल रूप से tessdata फ़ोल्डर में सहेजें।"
|
||||
manualLinks = "मैन्युअल डाउनलोड: लिंक पर क्लिक करें और फ़ाइलें tessdata फ़ोल्डर में रखें।"
|
||||
downloadButton = "चयनित भाषाएं डाउनलोड करें"
|
||||
downloadInvalidTitle = "अमान्य चयन"
|
||||
downloadInvalidBody = "कुछ चयनित भाषाएं डाउनलोड के लिए उपलब्ध नहीं हैं। कृपया रिफ्रेश करें और सूची में से चुनें।"
|
||||
downloadErrorNetwork = "नेटवर्क त्रुटि के कारण डाउनलोड विफल हुआ। कृपया अपना कनेक्शन जांचें और पुनः प्रयास करें।"
|
||||
downloadErrorServer = "tessdata भाषाएं डाउनलोड करते समय सर्वर में त्रुटि हुई। कृपया बाद में पुनः प्रयास करें।"
|
||||
downloadErrorPermission = "tessdata डायरेक्टरी पर लिखना संभव नहीं है: {{message}}। कृपया किसी लिखने योग्य डायरेक्टरी का चयन करें (जैसे एप्लिकेशन डेटा फ़ोल्डर के अंदर) या अनुमतियां समायोजित करें।"
|
||||
downloadErrorGeneric = "डाउनलोड विफल: {{message}}। कृपया बाद में पुनः प्रयास करें।"
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML सैनिटाइज़ेशन निष्क्रिय करें"
|
||||
@@ -5351,6 +5476,7 @@ desc = "PDF कार्रवाइयों को जोड़कर बह
|
||||
invalidStep = "अमान्य चरण"
|
||||
reviewTitle = "स्वचालन परिणाम"
|
||||
copyToSaved = "सहेजे गए में कॉपी करें"
|
||||
exportForFolderScanning = "फ़ोल्डर स्कैनिंग के लिए निर्यात करें"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "इस स्वचालन के साथ प्रोसेस करने के लिए फ़ाइलें चुनें"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "स्वचालन बनाएँ"
|
||||
editTitle = "स्वचालन संपादित करें"
|
||||
intro = "स्वचालन टूल्स को क्रमवार चलाते हैं। शुरू करने के लिए, टूल्स उसी क्रम में जोड़ें जिसमें आप उन्हें चलाना चाहते हैं।"
|
||||
save = "स्वचालन सहेजें"
|
||||
exportForFolderScanning = "फ़ोल्डर स्कैनिंग के लिए निर्यात करें"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "स्वचालन नाम"
|
||||
@@ -5746,9 +5873,11 @@ username = "यूज़रनेम (ईमेल)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "पासवर्ड"
|
||||
passwordPlaceholder = "पासवर्ड दर्ज करें"
|
||||
passwordRequired = "पासवर्ड आवश्यक है"
|
||||
role = "भूमिका"
|
||||
team = "टीम (वैकल्पिक)"
|
||||
teamPlaceholder = "एक टीम चुनें"
|
||||
authType = "प्रमाणीकरण प्रकार"
|
||||
forcePasswordChange = "पहली लॉगिन पर पासवर्ड बदलना अनिवार्य करें"
|
||||
cancel = "रद्द करें"
|
||||
submit = "सदस्य जोड़ें"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "यूज़रनेम और पासवर्ड आव
|
||||
passwordTooShort = "पासवर्ड कम से कम 6 अक्षर का होना चाहिए"
|
||||
success = "उपयोगकर्ता सफलतापूर्वक बनाया गया"
|
||||
error = "उपयोगकर्ता बनाने में विफल"
|
||||
forceMFA = "अगले लॉगिन पर MFA सेटअप अनिवार्य करें"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "पासवर्ड"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "उपयोगकर्ता SSO प्रदाता के माध्यम से प्रमाणीकरण करेगा"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "सदस्य संपादित करें"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} उपयोगकर्ता स्लॉट उ
|
||||
noSlotsAvailable = "कोई स्लॉट उपलब्ध नहीं"
|
||||
currentUsage = "वर्तमान में {{max}} में से {{current}} उपयोगकर्ता लाइसेंस उपयोग में"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "उपयोगकर्ता के लिए MFA सफलतापूर्वक अक्षम किया गया"
|
||||
adminDisableError = "उपयोगकर्ता के लिए MFA अक्षम करने में विफल"
|
||||
disableByAdmin = "MFA अक्षम करें"
|
||||
|
||||
[workspace.teams]
|
||||
title = "टीम्स"
|
||||
description = "टीम्स प्रबंधित करें और वर्कस्पेस सदस्यों को व्यवस्थित करें"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "एंडपॉइंट"
|
||||
visits = "विज़िट"
|
||||
percentage = "प्रतिशत"
|
||||
noData = "कोई डेटा उपलब्ध नहीं"
|
||||
unknownEndpoint = "अज्ञात एंडपॉइंट"
|
||||
|
||||
[backendHealth]
|
||||
checking = "बैकएंड स्थिति की जाँच की जा रही है..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Odaberite Operaciju"
|
||||
addOperationButton = "Dodajte operaciju"
|
||||
pipelineHeader = "Cjevovod:"
|
||||
saveButton = "Preuzmi datoteku"
|
||||
saveForFolderScanning = "Spremi za skeniranje mape"
|
||||
validateButton = "Potvrdi"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Postavka web-preglednika"
|
||||
syncToBrowser = "Sinkronizacija Račun -> Preglednik"
|
||||
syncToAccount = "Sinkronizacija Račun <- Preglednik"
|
||||
|
||||
[account.mfa]
|
||||
title = "Dvofaktorska autentikacija"
|
||||
setupFailed = "Nije moguće započeti postavljanje dvofaktorske autentikacije. Pokušajte ponovno."
|
||||
codeRequired = "Unesite autentikacijski kod za nastavak."
|
||||
enabled = "Dvofaktorska autentikacija je omogućena."
|
||||
enableFailed = "Nije moguće omogućiti dvofaktorsku autentikaciju. Provjerite kod i pokušajte ponovno."
|
||||
disabled = "Dvofaktorska autentikacija je onemogućena."
|
||||
disableFailed = "Nije moguće onemogućiti dvofaktorsku autentikaciju. Provjerite kod i pokušajte ponovno."
|
||||
description = "Dodajte dodatni sloj sigurnosti svom računu."
|
||||
enableButton = "Omogući dvofaktorsku autentikaciju"
|
||||
disableButton = "Onemogući dvofaktorsku autentikaciju"
|
||||
setupTitle = "Postavite dvofaktorsku autentikaciju"
|
||||
setupDescription = "Skenirajte QR kod aplikacijom za autentikaciju, zatim unesite 6-znamenkasti kod za potvrdu."
|
||||
manualKey = "Ključ za ručno postavljanje"
|
||||
secretWarning = "Držite ovaj ključ privatnim. Svatko s pristupom može generirati valjane autentikacijske kodove."
|
||||
codePlaceholder = "Unesite 6-znamenkasti kod"
|
||||
confirmEnable = "Omogući"
|
||||
disableTitle = "Onemogućite dvofaktorsku autentikaciju"
|
||||
disableDescription = "Unesite valjani autentikacijski kod da biste onemogućili dvofaktorsku autentikaciju."
|
||||
codeLabel = "Autentikacijski kod"
|
||||
confirmDisable = "Onemogući"
|
||||
ssoDescription = "Za račune s jedinstvenom prijavom dvofaktorskom autentikacijom upravlja vaš davatelj identiteta."
|
||||
ssoManaged = "Konfigurirajte MFA putem svojeg davatelja identiteta."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Postavka kontrole korisnika"
|
||||
header = "Postavka kontrole korisnika za administratora"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Preuzmi HTML međudatoteku umjesto PDF-a"
|
||||
pdfaOptions = "PDF/A opcije"
|
||||
outputFormat = "Izlazni format"
|
||||
pdfaNote = "PDF/A-1b je kompatibilniji, PDF/A-2b podržava više značajki."
|
||||
pdfaFormat = "PDF/A format"
|
||||
pdfaDigitalSignatureWarning = "PDF sadrži digitalni potpis. U sledećem koraku će biti uklonjen."
|
||||
pdfxDigitalSignatureWarning = "PDF sadrži digitalni potpis. Bit će uklonjen u sljedećem koraku."
|
||||
pdfxDescription = "PDF/X je ISO standardni podskup PDF-a za pouzdani tisak i razmjenu grafike."
|
||||
fileFormat = "Format datoteke"
|
||||
wordDoc = "Word dokument"
|
||||
wordDocExt = "Word dokument (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Trenutno ne radi za više unosa odjednom"
|
||||
outputFormat = "Izlazni format"
|
||||
pdfWithDigitalSignature = "PDF sadrži digitalni potpis. U sledećem koraku će biti uklonjen."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "tisak,standard,pretvorba,produkcija,priprema za tisak,arhiva"
|
||||
title = "PDF u PDF/X"
|
||||
header = "PDF u PDF/X"
|
||||
credit = "Ova usluga koristi Ghostscript za pretvorbu u PDF/X"
|
||||
submit = "Pretvori"
|
||||
tip = "Trenutačno ne radi s više ulaza odjednom"
|
||||
outputFormat = "Izlazni format"
|
||||
pdfWithDigitalSignature = "PDF sadrži digitalni potpis. Bit će uklonjen u sljedećem koraku."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,transformacija,format,konverzija,office,microsoft,docfile"
|
||||
title = "PDF u Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Ostalo"
|
||||
perPageInfo = "Informacije po stranici"
|
||||
tableOfContents = "Sadržaj"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Nije otkriveno"
|
||||
passed = "Prošlo"
|
||||
failed = "Nije prošlo"
|
||||
compliant = "Sukladno"
|
||||
nonCompliant = "Nesukladno"
|
||||
none = "Nisu otkriveni standardi"
|
||||
passedCount = "prošlo"
|
||||
failedCount = "nije prošlo"
|
||||
noVerification = "Provjera nije izvršena"
|
||||
noVerificationDesc = "Usklađenost s PDF standardima nije provjerena za ovaj dokument."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Privici"
|
||||
embeddedFiles = "Ugrađene datoteke"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} ograničenja"
|
||||
permsMixed = "Neke dozvole su ograničene"
|
||||
hasCompliance = "Ima standarde sukladnosti"
|
||||
noCompliance = "Nema standarda sukladnosti"
|
||||
compliancePassed = "U skladu s {{standards}}"
|
||||
complianceChecked = "Standardi provjereni ({{failed}} nije prošlo)"
|
||||
basic = "Osnovne informacije"
|
||||
documentInfo = "Informacije o dokumentu"
|
||||
securityTitle = "Status sigurnosti"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Lozinka je uspješno promijenjena! Prijavite se novom
|
||||
credentialsUpdated = "Vaše vjerodajnice su ažurirane. Prijavite se ponovno."
|
||||
defaultCredentials = "Zadane vjerodajnice za prijavu"
|
||||
changePasswordWarning = "Promijenite lozinku nakon prve prijave"
|
||||
mfaRequired = "Potreban je dvofaktorski kod"
|
||||
mfaCode = "Autentikacijski kod"
|
||||
enterMfaCode = "Unesite 6-znamenkasti kod"
|
||||
mfaPromptTitle = "Dvofaktorska autentikacija"
|
||||
mfaPromptBody = "Unesite autentikacijski kod iz svoje aplikacije za autentikaciju za nastavak."
|
||||
verifyingMfa = "Provjera..."
|
||||
verifyMfa = "Provjeri kod"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Pregled Stirling PDF-a"
|
||||
@@ -4324,6 +4383,10 @@ title = "Potreban je način prijave"
|
||||
message = "Način prijave mora biti omogućen za izmjenu administratorskih postavki. Postavite SECURITY_ENABLELOGIN=true u svom okruženju ili security.enableLogin: true u settings.yml, zatim ponovno pokrenite poslužitelj."
|
||||
readOnly = "Donje postavke prikazuju primjerne vrijednosti za referencu. Omogućite način prijave za pregled i uređivanje stvarne konfiguracije."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Potrebna je Enterprise licenca"
|
||||
message = "Za pristup {{featureName}} potrebna je Enterprise licenca. Prikazuju se ogledni podaci radi reference."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Potrebno ponovno pokretanje"
|
||||
message = "Postavke su uspješno spremljene. Potrebno je ponovno pokretanje poslužitelja da bi promjene stupile na snagu."
|
||||
@@ -4771,6 +4834,48 @@ description = "Prikaži detaljne poruke o pogreškama za korisnike."
|
||||
title = "Baza podataka"
|
||||
description = "Konfigurirajte prilagođene postavke povezivanja baze podataka za enterprise implementacije."
|
||||
configuration = "Konfiguracija baze podataka"
|
||||
backupTitle = "Sigurnosne kopije i vraćanje"
|
||||
backupDescription = "Upravljajte H2 sigurnosnim kopijama izravno iz administratorske konzole."
|
||||
loadError = "Učitavanje sigurnosnih kopija baze podataka nije uspjelo"
|
||||
backupCreated = "Sigurnosna kopija je uspješno izrađena"
|
||||
backupFailed = "Izrada sigurnosne kopije nije uspjela"
|
||||
deleteTitle = "Izbriši sigurnosnu kopiju"
|
||||
deleteConfirm = "Izbrisati ovu sigurnosnu kopiju? Ovo se ne može poništiti."
|
||||
deleteSuccess = "Sigurnosna kopija je izbrisana"
|
||||
deleteFailed = "Brisanje sigurnosne kopije nije uspjelo"
|
||||
deleteConfirmAction = "Izbriši sigurnosnu kopiju"
|
||||
downloadFailed = "Preuzimanje sigurnosne kopije nije uspjelo"
|
||||
version = "H2 verzija"
|
||||
embedded = "Ugrađeni H2"
|
||||
external = "Vanjska baza podataka"
|
||||
h2Only = "Sigurnosne kopije dostupne su samo za ugrađenu H2 bazu podataka."
|
||||
h2Hint = "Postavite vrstu baze podataka na H2 i onemogućite prilagođenu bazu podataka kako biste omogućili izradu i vraćanje sigurnosnih kopija."
|
||||
manageBackups = "Upravljaj sigurnosnim kopijama"
|
||||
refresh = "Osvježi"
|
||||
createBackup = "Izradi sigurnosnu kopiju"
|
||||
uploadTitle = "Prijenos i uvoz"
|
||||
chooseFile = "Odaberite .sql datoteku sigurnosne kopije"
|
||||
importFromUpload = "Uvezi preneseno"
|
||||
confirmImportTitle = "Potvrdite uvoz baze podataka"
|
||||
overwriteWarning = "Upozorenje: Ovo će prebrisati trenutačnu bazu podataka."
|
||||
overwriteWarningBody = "Svi postojeći podaci bit će zamijenjeni prenesenom sigurnosnom kopijom. Ova se radnja ne može poništiti."
|
||||
confirmCodeLabel = "Unesite potvrdni kod za nastavak"
|
||||
enterCode = "Unesite kod prikazan iznad"
|
||||
confirmImport = "Potvrdi uvoz"
|
||||
codeMismatch = "Potvrdni kod se ne podudara"
|
||||
codeMismatchBody = "Za nastavak unesite kod točno onako kako je prikazan."
|
||||
selectFile = "Odaberite .sql datoteku za uvoz"
|
||||
importSuccess = "Sigurnosna kopija je uspješno uvezena"
|
||||
importFailed = "Uvoz sigurnosne kopije nije uspio"
|
||||
noBackups = "Još nema sigurnosnih kopija."
|
||||
unavailable = "Popis sigurnosnih kopija nije dostupan za trenutačnu konfiguraciju baze podataka."
|
||||
fileName = "Datoteka"
|
||||
created = "Stvoreno"
|
||||
size = "Veličina"
|
||||
actions = "Radnje"
|
||||
download = "Preuzmi"
|
||||
import = "Uvezi"
|
||||
delete = "Izbriši"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Omogući prilagođenu bazu podataka"
|
||||
@@ -4848,6 +4953,26 @@ description = "Maksimalni DPI za obradu slika (0 = neograničeno)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Direktorij tessdata"
|
||||
description = "Put do direktorija tessdata za OCR jezične datoteke"
|
||||
downloadMissingTitle = "Nije odabran nijedan jezik"
|
||||
downloadMissingBody = "Odaberite barem jedan jezik za preuzimanje."
|
||||
downloadSuccessTitle = "Jezici su preuzeti"
|
||||
downloadSuccessBody = "Odabrani tessdata jezici su spremljeni."
|
||||
downloadErrorTitle = "Preuzimanje nije uspjelo"
|
||||
loadingLanguages = "Učitavanje instaliranih tessdata jezika..."
|
||||
installedLanguages = "Instalirani tessdata jezici"
|
||||
noLanguages = "U konfiguriranom direktoriju nisu pronađeni tessdata jezici."
|
||||
downloadLabel = "Preuzmi dodatne tessdata jezike"
|
||||
downloadPlaceholder = "Odaberite jezike"
|
||||
downloadNothingFound = "Nisu pronađeni dodatni jezici"
|
||||
permissionNotice = "Putanja do tessdata nije zapisiva. Preuzimanja će se otvoriti u pregledniku; spremite .traineddata datoteke ručno u mapu tessdata."
|
||||
manualLinks = "Ručno preuzimanje: kliknite poveznice i stavite datoteke u mapu tessdata."
|
||||
downloadButton = "Preuzmi odabrane jezike"
|
||||
downloadInvalidTitle = "Neispravan odabir"
|
||||
downloadInvalidBody = "Neki odabrani jezici nisu dostupni za preuzimanje. Osvježite i odaberite s popisa."
|
||||
downloadErrorNetwork = "Preuzimanje nije uspjelo zbog mrežne pogreške. Provjerite vezu i pokušajte ponovno."
|
||||
downloadErrorServer = "Poslužitelj je naišao na pogrešku tijekom preuzimanja tessdata jezika. Pokušajte ponovno kasnije."
|
||||
downloadErrorPermission = "Direktorij tessdata nije zapisiv: {{message}}. Odaberite direktorij s mogućnošću upisa (npr. unutar mape podataka aplikacije) ili prilagodite dopuštenja."
|
||||
downloadErrorGeneric = "Preuzimanje nije uspjelo: {{message}}. Pokušajte ponovno kasnije."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Onemogući sanitizaciju HTML-a"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Izgradite višekoračne tijekove rada povezivanjem PDF radnji. Idealno z
|
||||
invalidStep = "Nevažeći korak"
|
||||
reviewTitle = "Rezultati automatizacije"
|
||||
copyToSaved = "Kopiraj u spremljeno"
|
||||
exportForFolderScanning = "Izvoz za skeniranje mape"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Odaberite datoteke za obradu ovom automatizacijom"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Stvori automatizaciju"
|
||||
editTitle = "Uredi automatizaciju"
|
||||
intro = "Automatizacije pokreću alate sekvencijalno. Za početak dodajte alate redoslijedom kojim želite da se izvršavaju."
|
||||
save = "Spremi automatizaciju"
|
||||
exportForFolderScanning = "Izvoz za skeniranje mape"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Naziv automatizacije"
|
||||
@@ -5746,9 +5873,11 @@ username = "Korisničko ime (e-pošta)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Lozinka"
|
||||
passwordPlaceholder = "Unesite lozinku"
|
||||
passwordRequired = "Lozinka je obavezna"
|
||||
role = "Uloga"
|
||||
team = "Tim (neobavezno)"
|
||||
teamPlaceholder = "Odaberite tim"
|
||||
authType = "Vrsta autentikacije"
|
||||
forcePasswordChange = "Prisili promjenu lozinke pri prvoj prijavi"
|
||||
cancel = "Odustani"
|
||||
submit = "Dodaj člana"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Potrebni su korisničko ime i lozinka"
|
||||
passwordTooShort = "Lozinka mora imati najmanje 6 znakova"
|
||||
success = "Korisnik je uspješno stvoren"
|
||||
error = "Stvaranje korisnika nije uspjelo"
|
||||
forceMFA = "Nametni postavljanje MFA pri sljedećoj prijavi"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Lozinka"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Korisnik će se autentificirati putem SSO pružatelja"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Uredi člana"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} slobodnih korisničkih mjesta"
|
||||
noSlotsAvailable = "Nema dostupnih mjesta"
|
||||
currentUsage = "Trenutno se koristi {{current}} od {{max}} korisničkih licenci"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA je uspješno onemogućena za korisnika"
|
||||
adminDisableError = "Onemogućavanje MFA za korisnika nije uspjelo"
|
||||
disableByAdmin = "Onemogući MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Timovi"
|
||||
description = "Upravljajte timovima i organizirajte članove radnog prostora"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Krajnja točka"
|
||||
visits = "Posjete"
|
||||
percentage = "Postotak"
|
||||
noData = "Podaci nisu dostupni"
|
||||
unknownEndpoint = "Nepoznata krajnja točka"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Provjera statusa pozadinskog sustava..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Művelet kiválasztása"
|
||||
addOperationButton = "Művelet hozzáadása"
|
||||
pipelineHeader = "Folyamat:"
|
||||
saveButton = "Letöltés"
|
||||
saveForFolderScanning = "Mentés mappavizsgálathoz"
|
||||
validateButton = "Ellenőrzés"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Böngészőbeállítások"
|
||||
syncToBrowser = "Szinkronizálás: Fiók -> Böngésző"
|
||||
syncToAccount = "Szinkronizálás: Böngésző -> Fiók"
|
||||
|
||||
[account.mfa]
|
||||
title = "Kétfaktoros hitelesítés"
|
||||
setupFailed = "Nem sikerült elindítani a kétfaktoros beállítást. Próbálja újra."
|
||||
codeRequired = "A folytatáshoz adja meg a hitelesítési kódot."
|
||||
enabled = "Kétfaktoros hitelesítés engedélyezve."
|
||||
enableFailed = "Nem sikerült engedélyezni a kétfaktoros hitelesítést. Ellenőrizze a kódot, majd próbálja újra."
|
||||
disabled = "Kétfaktoros hitelesítés letiltva."
|
||||
disableFailed = "Nem sikerült letiltani a kétfaktoros hitelesítést. Ellenőrizze a kódot, majd próbálja újra."
|
||||
description = "Adjon hozzá egy további biztonsági réteget a fiókjához."
|
||||
enableButton = "Kétfaktoros hitelesítés engedélyezése"
|
||||
disableButton = "Kétfaktoros hitelesítés letiltása"
|
||||
setupTitle = "Kétfaktoros hitelesítés beállítása"
|
||||
setupDescription = "Olvassa be a QR-kódot a hitelesítő alkalmazással, majd a megerősítéshez adja meg a 6 számjegyű kódot."
|
||||
manualKey = "Kézi beállítási kulcs"
|
||||
secretWarning = "Tartsa ezt a kulcsot titokban. Aki hozzáfér, érvényes hitelesítési kódokat tud generálni."
|
||||
codePlaceholder = "Adja meg a 6 számjegyű kódot"
|
||||
confirmEnable = "Engedélyezés"
|
||||
disableTitle = "Kétfaktoros hitelesítés letiltása"
|
||||
disableDescription = "Adjon meg egy érvényes hitelesítési kódot a kétfaktoros hitelesítés letiltásához."
|
||||
codeLabel = "Hitelesítési kód"
|
||||
confirmDisable = "Letiltás"
|
||||
ssoDescription = "Az egyszeri bejelentkezéses fiókoknál a kétfaktoros hitelesítést az identitásszolgáltató kezeli."
|
||||
ssoManaged = "Konfigurálja az MFA-t az identitásszolgáltatón keresztül."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Felhasználókezelés"
|
||||
header = "Rendszergazdai felhasználókezelés"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "HTML köztes fájl letöltése PDF helyett"
|
||||
pdfaOptions = "PDF/A beállítások"
|
||||
outputFormat = "Kimeneti formátum"
|
||||
pdfaNote = "A PDF/A-1b kompatibilisebb, a PDF/A-2b több funkciót támogat."
|
||||
pdfaFormat = "PDF/A formátum"
|
||||
pdfaDigitalSignatureWarning = "A PDF digitális aláírást tartalmaz. Ez a következő lépésben eltávolításra kerül."
|
||||
pdfxDigitalSignatureWarning = "A PDF digitális aláírást tartalmaz. Ez a következő lépésben eltávolításra kerül."
|
||||
pdfxDescription = "A PDF/X egy ISO szabványos PDF-részhalmaz megbízható nyomtatáshoz és grafikai cseréhez."
|
||||
fileFormat = "Fájlformátum"
|
||||
wordDoc = "Word-dokumentum"
|
||||
wordDocExt = "Word-dokumentum (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Jelenleg nem támogatja a több fájl egyidejű feldolgozását"
|
||||
outputFormat = "Kimeneti formátum"
|
||||
pdfWithDigitalSignature = "A PDF digitális aláírást tartalmaz. Ez a következő lépésben eltávolításra kerül."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "nyomtatás,szabvány,átalakítás,gyártás,előnyomdai,archiválás"
|
||||
title = "PDF PDF/X-re"
|
||||
header = "PDF PDF/X-re"
|
||||
credit = "Ez a szolgáltatás a Ghostscriptet használja a PDF/X átalakításhoz"
|
||||
submit = "Átalakítás"
|
||||
tip = "Jelenleg nem működik több bemenettel egyszerre"
|
||||
outputFormat = "Kimeneti formátum"
|
||||
pdfWithDigitalSignature = "A PDF digitális aláírást tartalmaz. Ez a következő lépésben eltávolításra kerül."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,átalakítás,formátum,konvertálás,iroda,microsoft,docfile"
|
||||
title = "PDF konvertálása Word formátumba"
|
||||
@@ -3153,6 +3191,18 @@ other = "Egyéb"
|
||||
perPageInfo = "Oldalankénti információk"
|
||||
tableOfContents = "Tartalomjegyzék"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Nem észlelve"
|
||||
passed = "Megfelelt"
|
||||
failed = "Nem felelt meg"
|
||||
compliant = "Megfelelő"
|
||||
nonCompliant = "Nem megfelelő"
|
||||
none = "Nem észleltek szabványt"
|
||||
passedCount = "megfelelt"
|
||||
failedCount = "nem felelt meg"
|
||||
noVerification = "Nem történt ellenőrzés"
|
||||
noVerificationDesc = "Ennél a dokumentumnál nem ellenőrizték a PDF-szabványoknak való megfelelést."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Mellékletek"
|
||||
embeddedFiles = "Beágyazott fájlok"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} korlátozás"
|
||||
permsMixed = "Néhány jogosultság korlátozott"
|
||||
hasCompliance = "Megfelelőségi szabványokkal rendelkezik"
|
||||
noCompliance = "Nincsenek megfelelőségi szabványok"
|
||||
compliancePassed = "{{standards}}-kompatibilis"
|
||||
complianceChecked = "Szabványok ellenőrizve ({{failed}} sikertelen)"
|
||||
basic = "Alapinformációk"
|
||||
documentInfo = "Dokumentuminformációk"
|
||||
securityTitle = "Biztonsági állapot"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "A jelszó sikeresen megváltozott! Jelentkezzen be az
|
||||
credentialsUpdated = "Az adatait frissítettük. Kérjük, jelentkezzen be újra."
|
||||
defaultCredentials = "Alapértelmezett bejelentkezési adatok"
|
||||
changePasswordWarning = "Kérjük, az első bejelentkezés után változtassa meg a jelszavát"
|
||||
mfaRequired = "Kétfaktoros kód szükséges"
|
||||
mfaCode = "Hitelesítési kód"
|
||||
enterMfaCode = "Adja meg a 6 számjegyű kódot"
|
||||
mfaPromptTitle = "Kétfaktoros hitelesítés"
|
||||
mfaPromptBody = "A folytatáshoz adja meg a hitelesítő alkalmazás által generált kódot."
|
||||
verifyingMfa = "Ellenőrzés..."
|
||||
verifyMfa = "Kód ellenőrzése"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF áttekintés"
|
||||
@@ -4324,6 +4383,10 @@ title = "Bejelentkezési mód szükséges"
|
||||
message = "Az admin beállítások módosításához be kell kapcsolni a bejelentkezési módot. Állítsa be a SECURITY_ENABLELOGIN=true értéket a környezetben, vagy a security.enableLogin: true beállítást a settings.yml fájlban, majd indítsa újra a szervert."
|
||||
readOnly = "Az alábbi beállítások csak példaként láthatók. Engedélyezze a bejelentkezési módot a tényleges konfiguráció megtekintéséhez és szerkesztéséhez."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Vállalati licenc szükséges"
|
||||
message = "{{featureName}} eléréséhez vállalati licenc szükséges. Jelenleg referenciaként demóadatokat lát."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Újraindítás szükséges"
|
||||
message = "A beállítások sikeresen mentésre kerültek. A változtatások életbe lépéséhez a szervert újra kell indítani."
|
||||
@@ -4771,6 +4834,48 @@ description = "Részletes hibaüzenetek megjelenítése felhasználók számára
|
||||
title = "Adatbázis"
|
||||
description = "Egyéni adatbázis-kapcsolati beállítások konfigurálása vállalati telepítésekhez."
|
||||
configuration = "Adatbázis-konfiguráció"
|
||||
backupTitle = "Biztonsági mentések és visszaállítás"
|
||||
backupDescription = "H2 biztonsági mentések kezelése közvetlenül az admin konzolról."
|
||||
loadError = "Nem sikerült betölteni az adatbázis biztonsági mentéseit"
|
||||
backupCreated = "A biztonsági mentés sikeresen létrejött"
|
||||
backupFailed = "Nem sikerült létrehozni a biztonsági mentést"
|
||||
deleteTitle = "Biztonsági mentés törlése"
|
||||
deleteConfirm = "Törli ezt a biztonsági mentést? Ez nem vonható vissza."
|
||||
deleteSuccess = "Biztonsági mentés törölve"
|
||||
deleteFailed = "Nem sikerült törölni a biztonsági mentést"
|
||||
deleteConfirmAction = "Biztonsági mentés törlése"
|
||||
downloadFailed = "Nem sikerült letölteni a biztonsági mentést"
|
||||
version = "H2 verzió"
|
||||
embedded = "Beágyazott H2"
|
||||
external = "Külső adatbázis"
|
||||
h2Only = "A biztonsági mentések csak a beágyazott H2 adatbázishoz érhetők el."
|
||||
h2Hint = "Állítsa az adatbázistípust H2-re, és tiltsa le az egyéni adatbázist a mentés és visszaállítás engedélyezéséhez."
|
||||
manageBackups = "Biztonsági mentések kezelése"
|
||||
refresh = "Frissítés"
|
||||
createBackup = "Biztonsági mentés készítése"
|
||||
uploadTitle = "Feltöltés és importálás"
|
||||
chooseFile = "Válasszon egy .sql biztonsági mentési fájlt"
|
||||
importFromUpload = "Feltöltés importálása"
|
||||
confirmImportTitle = "Adatbázis-import megerősítése"
|
||||
overwriteWarning = "Figyelem: Ez felülírja a jelenlegi adatbázist."
|
||||
overwriteWarningBody = "Minden meglévő adatot a feltöltött biztonsági mentés felülír. Ez a művelet nem vonható vissza."
|
||||
confirmCodeLabel = "A folytatáshoz adja meg a megerősítő kódot"
|
||||
enterCode = "Adja meg a fent látható kódot"
|
||||
confirmImport = "Importálás megerősítése"
|
||||
codeMismatch = "A megerősítő kód nem egyezik"
|
||||
codeMismatchBody = "A folytatáshoz pontosan a megjelenített kódot adja meg."
|
||||
selectFile = "Válasszon ki egy .sql fájlt az importáláshoz"
|
||||
importSuccess = "A biztonsági mentés sikeresen importálva"
|
||||
importFailed = "Nem sikerült importálni a biztonsági mentést"
|
||||
noBackups = "Még nem található biztonsági mentés."
|
||||
unavailable = "A mentéslista nem érhető el a jelenlegi adatbázis-konfigurációhoz."
|
||||
fileName = "Fájl"
|
||||
created = "Létrehozva"
|
||||
size = "Méret"
|
||||
actions = "Műveletek"
|
||||
download = "Letöltés"
|
||||
import = "Importálás"
|
||||
delete = "Törlés"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Egyéni adatbázis engedélyezése"
|
||||
@@ -4848,6 +4953,26 @@ description = "Maximális DPI a képfeldolgozáshoz (0 = korlátlan)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Tessdata könyvtár"
|
||||
description = "Elérési út a tessdata könyvtárhoz az OCR nyelvi fájlokhoz"
|
||||
downloadMissingTitle = "Nincs kiválasztott nyelv"
|
||||
downloadMissingBody = "Válasszon ki legalább egy letöltendő nyelvet."
|
||||
downloadSuccessTitle = "Nyelvek letöltve"
|
||||
downloadSuccessBody = "A kiválasztott tessdata nyelvek mentésre kerültek."
|
||||
downloadErrorTitle = "Sikertelen letöltés"
|
||||
loadingLanguages = "Telepített tessdata nyelvek betöltése..."
|
||||
installedLanguages = "Telepített tessdata nyelvek"
|
||||
noLanguages = "Nem találhatók tessdata nyelvek a beállított könyvtárban."
|
||||
downloadLabel = "További tessdata nyelvek letöltése"
|
||||
downloadPlaceholder = "Válasszon nyelveket"
|
||||
downloadNothingFound = "Nem találhatók további nyelvek"
|
||||
permissionNotice = "A tessdata elérési út nem írható. A letöltések a böngészőben nyílnak meg; mentse a .traineddata fájlokat kézzel a tessdata mappába."
|
||||
manualLinks = "Kézi letöltések: kattintson a hivatkozásokra, és helyezze a fájlokat a tessdata mappába."
|
||||
downloadButton = "Kiválasztott nyelvek letöltése"
|
||||
downloadInvalidTitle = "Érvénytelen kiválasztás"
|
||||
downloadInvalidBody = "Néhány kiválasztott nyelv nem tölthető le. Frissítsen, és válasszon a listából."
|
||||
downloadErrorNetwork = "A letöltés hálózati hiba miatt sikertelen. Ellenőrizze a kapcsolatot, majd próbálja újra."
|
||||
downloadErrorServer = "A szerveren hiba történt a tessdata nyelvek letöltése közben. Próbálja meg később újra."
|
||||
downloadErrorPermission = "A tessdata könyvtár nem írható: {{message}}. Válasszon írható könyvtárat (pl. az alkalmazásadatok mappája alatt), vagy módosítsa a jogosultságokat."
|
||||
downloadErrorGeneric = "Sikertelen letöltés: {{message}}. Próbálja meg később újra."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML tisztítás letiltása"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Többlépéses munkafolyamatok építése PDF-műveletek láncolásával
|
||||
invalidStep = "Érvénytelen lépés"
|
||||
reviewTitle = "Automatizálás eredményei"
|
||||
copyToSaved = "Másolás a mentettek közé"
|
||||
exportForFolderScanning = "Exportálás mappavizsgálathoz"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Válassza ki az automatizálással feldolgozandó fájlokat"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Automatizálás létrehozása"
|
||||
editTitle = "Automatizálás szerkesztése"
|
||||
intro = "Az automatizálások egymás után futtatják az eszközöket. Kezdésként adja hozzá az eszközöket a kívánt sorrendben."
|
||||
save = "Automatizálás mentése"
|
||||
exportForFolderScanning = "Exportálás mappavizsgálathoz"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Automatizálás neve"
|
||||
@@ -5746,9 +5873,11 @@ username = "Felhasználónév (e-mail)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Jelszó"
|
||||
passwordPlaceholder = "Adja meg a jelszót"
|
||||
passwordRequired = "Jelszó szükséges"
|
||||
role = "Szerepkör"
|
||||
team = "Csapat (opcionális)"
|
||||
teamPlaceholder = "Válasszon csapatot"
|
||||
authType = "Hitelesítési típus"
|
||||
forcePasswordChange = "Jelszócsere kényszerítése az első bejelentkezéskor"
|
||||
cancel = "Mégse"
|
||||
submit = "Tag hozzáadása"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Felhasználónév és jelszó megadása kötelező"
|
||||
passwordTooShort = "A jelszónak legalább 6 karakterből kell állnia"
|
||||
success = "Felhasználó sikeresen létrehozva"
|
||||
error = "Nem sikerült létrehozni a felhasználót"
|
||||
forceMFA = "MFA beállításának kényszerítése a következő bejelentkezéskor"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Jelszó"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "A felhasználó SSO szolgáltatón keresztül azonosítja magát"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Tag szerkesztése"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} felhasználói hely elérhető"
|
||||
noSlotsAvailable = "Nincs elérhető hely"
|
||||
currentUsage = "Jelenleg {{current}} / {{max}} felhasználói licenc használatban"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "A felhasználónál az MFA sikeresen letiltva"
|
||||
adminDisableError = "Nem sikerült letiltani az MFA-t a felhasználónál"
|
||||
disableByAdmin = "MFA letiltása"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Csapatok"
|
||||
description = "Csapatok kezelése és a munkaterület tagjainak rendszerezése"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Végpont"
|
||||
visits = "Látogatások"
|
||||
percentage = "Százalék"
|
||||
noData = "Nem áll rendelkezésre adat"
|
||||
unknownEndpoint = "Ismeretlen végpont"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Backend állapotának ellenőrzése..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Pilih Operasi"
|
||||
addOperationButton = "Tambah operasi"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Unduh"
|
||||
saveForFolderScanning = "Simpan untuk Pemindaian Folder"
|
||||
validateButton = "Validasi"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Pengaturan Peramban Web"
|
||||
syncToBrowser = "Sinkronisasi Akun -> Browser"
|
||||
syncToAccount = "Sinkronisasi Akun <- Browser"
|
||||
|
||||
[account.mfa]
|
||||
title = "Autentikasi dua faktor"
|
||||
setupFailed = "Tidak dapat memulai penyiapan autentikasi dua faktor. Coba lagi."
|
||||
codeRequired = "Masukkan kode autentikasi untuk melanjutkan."
|
||||
enabled = "Autentikasi dua faktor diaktifkan."
|
||||
enableFailed = "Tidak dapat mengaktifkan autentikasi dua faktor. Periksa kode dan coba lagi."
|
||||
disabled = "Autentikasi dua faktor dinonaktifkan."
|
||||
disableFailed = "Tidak dapat menonaktifkan autentikasi dua faktor. Periksa kode dan coba lagi."
|
||||
description = "Tambahkan lapisan keamanan ekstra ke akun Anda."
|
||||
enableButton = "Aktifkan autentikasi dua faktor"
|
||||
disableButton = "Nonaktifkan autentikasi dua faktor"
|
||||
setupTitle = "Siapkan autentikasi dua faktor"
|
||||
setupDescription = "Pindai kode QR dengan aplikasi autentikator Anda, lalu masukkan kode 6 digit untuk mengonfirmasi."
|
||||
manualKey = "Kunci penyiapan manual"
|
||||
secretWarning = "Jaga kerahasiaan kunci ini. Siapa pun yang memiliki akses dapat menghasilkan kode autentikasi yang valid."
|
||||
codePlaceholder = "Masukkan kode 6 digit"
|
||||
confirmEnable = "Aktifkan"
|
||||
disableTitle = "Nonaktifkan autentikasi dua faktor"
|
||||
disableDescription = "Masukkan kode autentikasi yang valid untuk menonaktifkan autentikasi dua faktor."
|
||||
codeLabel = "Kode autentikasi"
|
||||
confirmDisable = "Nonaktifkan"
|
||||
ssoDescription = "Autentikasi dua faktor dikelola oleh penyedia identitas Anda untuk akun single sign-on."
|
||||
ssoManaged = "Konfigurasikan MFA melalui penyedia identitas Anda."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Pengaturan Kontrol Pengguna"
|
||||
header = "Pengaturan Kontrol Admin"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Unduh file perantara HTML alih-alih PDF"
|
||||
pdfaOptions = "Opsi PDF/A"
|
||||
outputFormat = "Format Keluaran"
|
||||
pdfaNote = "PDF/A-1b lebih kompatibel, PDF/A-2b mendukung lebih banyak fitur."
|
||||
pdfaFormat = "Format PDF/A"
|
||||
pdfaDigitalSignatureWarning = "PDF ini mengandung tanda tangan digital. Ini akan dihapus pada langkah berikutnya."
|
||||
pdfxDigitalSignatureWarning = "PDF berisi tanda tangan digital. Ini akan dihapus pada langkah berikutnya."
|
||||
pdfxDescription = "PDF/X adalah subset standar ISO dari PDF untuk pencetakan yang andal dan pertukaran grafis."
|
||||
fileFormat = "Format File"
|
||||
wordDoc = "Dokumen Word"
|
||||
wordDocExt = "Dokumen Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Saat ini tidak dapat digunakan untuk beberapa input sekaligus"
|
||||
outputFormat = "Format keluaran"
|
||||
pdfWithDigitalSignature = "PDF ini mengandung tanda tangan digital. Ini akan dihapus pada langkah berikutnya."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "cetak,standar,konversi,produksi,pracetak,arsip"
|
||||
title = "PDF ke PDF/X"
|
||||
header = "PDF ke PDF/X"
|
||||
credit = "Layanan ini menggunakan Ghostscript untuk konversi PDF/X"
|
||||
submit = "Konversi"
|
||||
tip = "Saat ini tidak berfungsi untuk beberapa input sekaligus"
|
||||
outputFormat = "Format keluaran"
|
||||
pdfWithDigitalSignature = "PDF berisi tanda tangan digital. Ini akan dihapus pada langkah berikutnya."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc, docx, odt, kata, transformasi, format, konversi, kantor, microsoft, docfile"
|
||||
title = "PDF ke Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Lainnya"
|
||||
perPageInfo = "Info per Halaman"
|
||||
tableOfContents = "Daftar Isi"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Tidak Terdeteksi"
|
||||
passed = "Lulus"
|
||||
failed = "Gagal"
|
||||
compliant = "Patuh"
|
||||
nonCompliant = "Tidak Patuh"
|
||||
none = "Tidak ada standar yang terdeteksi"
|
||||
passedCount = "lulus"
|
||||
failedCount = "gagal"
|
||||
noVerification = "Tidak Ada Verifikasi Dilakukan"
|
||||
noVerificationDesc = "Kepatuhan terhadap standar PDF tidak diverifikasi untuk dokumen ini."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Lampiran"
|
||||
embeddedFiles = "File Tertanam"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} pembatasan"
|
||||
permsMixed = "Beberapa izin dibatasi"
|
||||
hasCompliance = "Memiliki standar kepatuhan"
|
||||
noCompliance = "Tidak ada standar kepatuhan"
|
||||
compliancePassed = "Sesuai {{standards}}"
|
||||
complianceChecked = "Standar diverifikasi ({{failed}} gagal)"
|
||||
basic = "Informasi Dasar"
|
||||
documentInfo = "Informasi Dokumen"
|
||||
securityTitle = "Status Keamanan"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Kata sandi berhasil diubah! Silakan masuk dengan kata
|
||||
credentialsUpdated = "Kredensial Anda telah diperbarui. Silakan masuk lagi."
|
||||
defaultCredentials = "Kredensial Login Bawaan"
|
||||
changePasswordWarning = "Harap ganti kata sandi Anda setelah login untuk pertama kalinya"
|
||||
mfaRequired = "Kode autentikasi dua faktor diperlukan"
|
||||
mfaCode = "Kode Autentikasi"
|
||||
enterMfaCode = "Masukkan kode 6 digit"
|
||||
mfaPromptTitle = "Autentikasi dua faktor"
|
||||
mfaPromptBody = "Masukkan kode autentikasi dari aplikasi autentikator Anda untuk melanjutkan."
|
||||
verifyingMfa = "Memverifikasi..."
|
||||
verifyMfa = "Verifikasi kode"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Sekilas Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Mode Login Diperlukan"
|
||||
message = "Mode login harus diaktifkan untuk mengubah pengaturan admin. Harap set SECURITY_ENABLELOGIN=true di lingkungan Anda atau security.enableLogin: true di settings.yml, lalu mulai ulang server."
|
||||
readOnly = "Pengaturan di bawah ini menampilkan nilai contoh sebagai referensi. Aktifkan mode login untuk melihat dan mengedit konfigurasi sebenarnya."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Lisensi Enterprise Diperlukan"
|
||||
message = "Lisensi Enterprise diperlukan untuk mengakses {{featureName}}. Anda sedang melihat data demo sebagai referensi."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Perlu Mulai Ulang"
|
||||
message = "Pengaturan telah berhasil disimpan. Diperlukan mulai ulang server agar perubahan berlaku."
|
||||
@@ -4771,6 +4834,48 @@ description = "Tampilkan pesan kesalahan terperinci untuk pengguna."
|
||||
title = "Database"
|
||||
description = "Konfigurasikan pengaturan koneksi database kustom untuk penerapan enterprise."
|
||||
configuration = "Konfigurasi Database"
|
||||
backupTitle = "Cadangan & Pemulihan"
|
||||
backupDescription = "Kelola cadangan H2 langsung dari konsol admin."
|
||||
loadError = "Gagal memuat cadangan basis data"
|
||||
backupCreated = "Cadangan berhasil dibuat"
|
||||
backupFailed = "Gagal membuat cadangan"
|
||||
deleteTitle = "Hapus cadangan"
|
||||
deleteConfirm = "Hapus cadangan ini? Tindakan ini tidak dapat dibatalkan."
|
||||
deleteSuccess = "Cadangan dihapus"
|
||||
deleteFailed = "Gagal menghapus cadangan"
|
||||
deleteConfirmAction = "Hapus cadangan"
|
||||
downloadFailed = "Gagal mengunduh cadangan"
|
||||
version = "Versi H2"
|
||||
embedded = "H2 Tertanam"
|
||||
external = "DB Eksternal"
|
||||
h2Only = "Cadangan hanya tersedia untuk basis data H2 tertanam."
|
||||
h2Hint = "Setel tipe basis data ke H2 dan nonaktifkan basis data kustom untuk mengaktifkan pencadangan dan pemulihan."
|
||||
manageBackups = "Kelola cadangan"
|
||||
refresh = "Segarkan"
|
||||
createBackup = "Buat cadangan"
|
||||
uploadTitle = "Unggah & impor"
|
||||
chooseFile = "Pilih berkas cadangan .sql"
|
||||
importFromUpload = "Impor unggahan"
|
||||
confirmImportTitle = "Konfirmasi impor basis data"
|
||||
overwriteWarning = "Peringatan: Ini akan menimpa basis data saat ini."
|
||||
overwriteWarningBody = "Semua data yang ada akan diganti oleh cadangan yang diunggah. Tindakan ini tidak dapat dibatalkan."
|
||||
confirmCodeLabel = "Masukkan kode konfirmasi untuk melanjutkan"
|
||||
enterCode = "Masukkan kode yang ditampilkan di atas"
|
||||
confirmImport = "Konfirmasi impor"
|
||||
codeMismatch = "Kode konfirmasi tidak cocok"
|
||||
codeMismatchBody = "Masukkan kode persis seperti yang ditampilkan untuk melanjutkan."
|
||||
selectFile = "Silakan pilih berkas .sql untuk diimpor"
|
||||
importSuccess = "Cadangan berhasil diimpor"
|
||||
importFailed = "Gagal mengimpor cadangan"
|
||||
noBackups = "Belum ada cadangan."
|
||||
unavailable = "Daftar cadangan tidak tersedia untuk konfigurasi basis data saat ini."
|
||||
fileName = "Berkas"
|
||||
created = "Dibuat"
|
||||
size = "Ukuran"
|
||||
actions = "Tindakan"
|
||||
download = "Unduh"
|
||||
import = "Impor"
|
||||
delete = "Hapus"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Aktifkan Database Kustom"
|
||||
@@ -4848,6 +4953,26 @@ description = "DPI maksimum untuk pemrosesan gambar (0 = tanpa batas)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Direktori Tessdata"
|
||||
description = "Path ke direktori tessdata untuk file bahasa OCR"
|
||||
downloadMissingTitle = "Tidak ada bahasa yang dipilih"
|
||||
downloadMissingBody = "Pilih setidaknya satu bahasa untuk diunduh."
|
||||
downloadSuccessTitle = "Bahasa berhasil diunduh"
|
||||
downloadSuccessBody = "Bahasa tessdata yang dipilih telah disimpan."
|
||||
downloadErrorTitle = "Unduhan Gagal"
|
||||
loadingLanguages = "Memuat bahasa tessdata yang terpasang..."
|
||||
installedLanguages = "Bahasa tessdata yang terpasang"
|
||||
noLanguages = "Tidak ditemukan bahasa tessdata di direktori yang dikonfigurasi."
|
||||
downloadLabel = "Unduh bahasa tessdata tambahan"
|
||||
downloadPlaceholder = "Pilih bahasa"
|
||||
downloadNothingFound = "Tidak ditemukan bahasa tambahan"
|
||||
permissionNotice = "Jalur tessdata tidak dapat ditulisi. Unduhan akan dibuka di peramban; silakan simpan berkas .traineddata secara manual ke dalam folder tessdata."
|
||||
manualLinks = "Unduhan manual: klik tautan dan tempatkan berkas ke folder tessdata."
|
||||
downloadButton = "Unduh bahasa yang dipilih"
|
||||
downloadInvalidTitle = "Pilihan tidak valid"
|
||||
downloadInvalidBody = "Beberapa bahasa yang dipilih tidak tersedia untuk diunduh. Silakan segarkan dan pilih dari daftar."
|
||||
downloadErrorNetwork = "Unduhan gagal karena kesalahan jaringan. Periksa koneksi Anda dan coba lagi."
|
||||
downloadErrorServer = "Server mengalami kesalahan saat mengunduh bahasa tessdata. Cobalah lagi nanti."
|
||||
downloadErrorPermission = "Direktori tessdata tidak dapat ditulisi: {{message}}. Pilih direktori yang dapat ditulisi (mis. di bawah folder data aplikasi) atau sesuaikan izin."
|
||||
downloadErrorGeneric = "Unduhan gagal: {{message}}. Silakan coba lagi nanti."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Nonaktifkan Sanitasi HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Bangun alur kerja multi-langkah dengan merangkaikan aksi PDF. Ideal untu
|
||||
invalidStep = "Langkah tidak valid"
|
||||
reviewTitle = "Hasil Otomatisasi"
|
||||
copyToSaved = "Salin ke Tersimpan"
|
||||
exportForFolderScanning = "Ekspor untuk Pemindaian Folder"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Pilih file untuk diproses dengan otomatisasi ini"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Buat Otomatisasi"
|
||||
editTitle = "Edit Otomatisasi"
|
||||
intro = "Otomatisasi menjalankan alat secara berurutan. Untuk memulai, tambahkan alat sesuai urutan yang Anda inginkan."
|
||||
save = "Simpan Otomatisasi"
|
||||
exportForFolderScanning = "Ekspor untuk Pemindaian Folder"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Nama Otomatisasi"
|
||||
@@ -5746,9 +5873,11 @@ username = "Nama Pengguna (Email)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "Kata Sandi"
|
||||
passwordPlaceholder = "Masukkan kata sandi"
|
||||
passwordRequired = "Kata sandi diperlukan"
|
||||
role = "Peran"
|
||||
team = "Tim (Opsional)"
|
||||
teamPlaceholder = "Pilih tim"
|
||||
authType = "Jenis autentikasi"
|
||||
forcePasswordChange = "Wajibkan ganti kata sandi saat login pertama"
|
||||
cancel = "Batal"
|
||||
submit = "Tambah Anggota"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Nama pengguna dan kata sandi wajib diisi"
|
||||
passwordTooShort = "Kata sandi harus minimal 6 karakter"
|
||||
success = "Pengguna berhasil dibuat"
|
||||
error = "Gagal membuat pengguna"
|
||||
forceMFA = "Wajibkan penyiapan MFA pada login berikutnya"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Kata sandi"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "Pengguna akan diautentikasi melalui penyedia SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Edit Anggota"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} slot pengguna tersedia"
|
||||
noSlotsAvailable = "Tidak ada slot tersedia"
|
||||
currentUsage = "Saat ini menggunakan {{current}} dari {{max}} lisensi pengguna"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA berhasil dinonaktifkan untuk pengguna"
|
||||
adminDisableError = "Gagal menonaktifkan MFA untuk pengguna"
|
||||
disableByAdmin = "Nonaktifkan MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Tim"
|
||||
description = "Kelola tim dan atur anggota ruang kerja"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Kunjungan"
|
||||
percentage = "Persentase"
|
||||
noData = "Tidak ada data"
|
||||
unknownEndpoint = "Endpoint tidak dikenal"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Memeriksa status backend..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "Seleziona operazione"
|
||||
addOperationButton = "Aggiungi operazione"
|
||||
pipelineHeader = "Pipeline:"
|
||||
saveButton = "Salva"
|
||||
saveForFolderScanning = "Salva per la scansione delle cartelle"
|
||||
validateButton = "Convalidare"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Impostazione del browser web"
|
||||
syncToBrowser = "Sincronizza account -> Browser"
|
||||
syncToAccount = "Sincronizza account <- Browser"
|
||||
|
||||
[account.mfa]
|
||||
title = "Autenticazione a due fattori"
|
||||
setupFailed = "Impossibile avviare la configurazione dell'autenticazione a due fattori. Riprova."
|
||||
codeRequired = "Inserisci il codice di autenticazione per continuare."
|
||||
enabled = "Autenticazione a due fattori abilitata."
|
||||
enableFailed = "Impossibile abilitare l'autenticazione a due fattori. Controlla il codice e riprova."
|
||||
disabled = "Autenticazione a due fattori disabilitata."
|
||||
disableFailed = "Impossibile disabilitare l'autenticazione a due fattori. Controlla il codice e riprova."
|
||||
description = "Aggiungi un ulteriore livello di sicurezza al tuo account."
|
||||
enableButton = "Abilita l'autenticazione a due fattori"
|
||||
disableButton = "Disabilita l'autenticazione a due fattori"
|
||||
setupTitle = "Configura l'autenticazione a due fattori"
|
||||
setupDescription = "Scansiona il codice QR con la tua app di autenticazione, quindi inserisci il codice a 6 cifre per confermare."
|
||||
manualKey = "Chiave di configurazione manuale"
|
||||
secretWarning = "Mantieni privata questa chiave. Chiunque vi abbia accesso può generare codici di autenticazione validi."
|
||||
codePlaceholder = "Inserisci il codice a 6 cifre"
|
||||
confirmEnable = "Abilita"
|
||||
disableTitle = "Disabilita l'autenticazione a due fattori"
|
||||
disableDescription = "Inserisci un codice di autenticazione valido per disabilitare l'autenticazione a due fattori."
|
||||
codeLabel = "Codice di autenticazione"
|
||||
confirmDisable = "Disabilita"
|
||||
ssoDescription = "L'autenticazione a due fattori è gestita dal tuo provider di identità per gli account Single Sign-On."
|
||||
ssoManaged = "Configura la MFA tramite il tuo provider di identità."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "Impostazioni di controllo utente"
|
||||
header = "Impostazioni di controllo utente amministratore"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "Scarica file HTML intermedio invece del PDF"
|
||||
pdfaOptions = "Opzioni PDF/A"
|
||||
outputFormat = "Formato di output"
|
||||
pdfaNote = "PDF/A-1b è più compatibile, PDF/A-2b supporta più funzionalità."
|
||||
pdfaFormat = "Formato PDF/A"
|
||||
pdfaDigitalSignatureWarning = "Il PDF contiene una firma digitale. Questo verrà rimosso nel passaggio successivo."
|
||||
pdfxDigitalSignatureWarning = "Il PDF contiene una firma digitale. Questa verrà rimossa nel passaggio successivo."
|
||||
pdfxDescription = "PDF/X è un sottoinsieme PDF standard ISO per una stampa affidabile e lo scambio di grafica."
|
||||
fileFormat = "Formato file"
|
||||
wordDoc = "Documento Word"
|
||||
wordDocExt = "Documento Word (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "Attualmente non funziona per più input contemporaneamente"
|
||||
outputFormat = "Formato di output"
|
||||
pdfWithDigitalSignature = "Il PDF contiene una firma digitale. Questo verrà rimosso nel passaggio successivo."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "stampa,standard,conversione,produzione,prestampa,archiviazione"
|
||||
title = "PDF in PDF/X"
|
||||
header = "PDF in PDF/X"
|
||||
credit = "Questo servizio utilizza Ghostscript per la conversione PDF/X"
|
||||
submit = "Converti"
|
||||
tip = "Attualmente non funziona con più input contemporaneamente"
|
||||
outputFormat = "Formato di output"
|
||||
pdfWithDigitalSignature = "Il PDF contiene una firma digitale. Questa verrà rimossa nel passaggio successivo."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,trasformazione,formato,conversione,office,microsoft,filedoc"
|
||||
title = "Da PDF a Word"
|
||||
@@ -3153,6 +3191,18 @@ other = "Altro"
|
||||
perPageInfo = "Info per pagina"
|
||||
tableOfContents = "Sommario"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "Non rilevato"
|
||||
passed = "Superato"
|
||||
failed = "Fallito"
|
||||
compliant = "Conforme"
|
||||
nonCompliant = "Non conforme"
|
||||
none = "Nessuno standard rilevato"
|
||||
passedCount = "superati"
|
||||
failedCount = "falliti"
|
||||
noVerification = "Nessuna verifica eseguita"
|
||||
noVerificationDesc = "La conformità agli standard PDF non è stata verificata per questo documento."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "Allegati"
|
||||
embeddedFiles = "File incorporati"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} restrizioni"
|
||||
permsMixed = "Alcune autorizzazioni limitate"
|
||||
hasCompliance = "Conforme agli standard"
|
||||
noCompliance = "Nessuno standard di conformità"
|
||||
compliancePassed = "Conforme a {{standards}}"
|
||||
complianceChecked = "Standard verificati ({{failed}} falliti)"
|
||||
basic = "Informazioni di base"
|
||||
documentInfo = "Informazioni sul documento"
|
||||
securityTitle = "Stato della sicurezza"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "Password modificata con successo! Accedi con la nuova
|
||||
credentialsUpdated = "Le tue credenziali sono state aggiornate. Accedi di nuovo."
|
||||
defaultCredentials = "Credenziali di accesso predefinite"
|
||||
changePasswordWarning = "Modifica la password dopo il primo accesso"
|
||||
mfaRequired = "Codice a due fattori richiesto"
|
||||
mfaCode = "Codice di autenticazione"
|
||||
enterMfaCode = "Inserisci il codice a 6 cifre"
|
||||
mfaPromptTitle = "Autenticazione a due fattori"
|
||||
mfaPromptBody = "Inserisci il codice di autenticazione dalla tua app di autenticazione per continuare."
|
||||
verifyingMfa = "Verifica in corso..."
|
||||
verifyMfa = "Verifica codice"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Panoramica di Stirling PDF"
|
||||
@@ -4324,6 +4383,10 @@ title = "Modalità di accesso richiesta"
|
||||
message = "La modalità di accesso deve essere abilitata per modificare le impostazioni di amministrazione. Imposta SECURITY_ENABLELOGIN=true nel tuo ambiente o security.enableLogin: true in settings.yml, quindi riavvia il server."
|
||||
readOnly = "Le impostazioni seguenti mostrano valori di esempio a titolo di riferimento. Abilita la modalità di accesso per visualizzare e modificare la configurazione reale."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Licenza Enterprise richiesta"
|
||||
message = "È necessaria una licenza Enterprise per accedere a {{featureName}}. Stai visualizzando dati demo a scopo di riferimento."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "Riavvio richiesto"
|
||||
message = "Le impostazioni sono state salvate correttamente. È necessario un riavvio del server perché le modifiche abbiano effetto."
|
||||
@@ -4771,6 +4834,48 @@ description = "Mostra messaggi di errore dettagliati per gli utenti."
|
||||
title = "Database"
|
||||
description = "Configura impostazioni personalizzate di connessione al database per distribuzioni enterprise."
|
||||
configuration = "Configurazione database"
|
||||
backupTitle = "Backup e ripristino"
|
||||
backupDescription = "Gestisci i backup H2 direttamente dalla console di amministrazione."
|
||||
loadError = "Impossibile caricare i backup del database"
|
||||
backupCreated = "Backup creato con successo"
|
||||
backupFailed = "Impossibile creare il backup"
|
||||
deleteTitle = "Elimina backup"
|
||||
deleteConfirm = "Eliminare questo backup? Questa operazione non può essere annullata."
|
||||
deleteSuccess = "Backup eliminato"
|
||||
deleteFailed = "Impossibile eliminare il backup"
|
||||
deleteConfirmAction = "Elimina backup"
|
||||
downloadFailed = "Impossibile scaricare il backup"
|
||||
version = "Versione H2"
|
||||
embedded = "H2 integrato"
|
||||
external = "DB esterno"
|
||||
h2Only = "I backup sono disponibili solo per il database H2 integrato."
|
||||
h2Hint = "Imposta il tipo di database su H2 e disabilita il database personalizzato per abilitare backup e ripristino."
|
||||
manageBackups = "Gestisci backup"
|
||||
refresh = "Aggiorna"
|
||||
createBackup = "Crea backup"
|
||||
uploadTitle = "Carica e importa"
|
||||
chooseFile = "Scegli un file di backup .sql"
|
||||
importFromUpload = "Importa caricamento"
|
||||
confirmImportTitle = "Conferma importazione del database"
|
||||
overwriteWarning = "Attenzione: questa operazione sovrascriverà il database corrente."
|
||||
overwriteWarningBody = "Tutti i dati esistenti verranno sostituiti dal backup caricato. Questa azione non può essere annullata."
|
||||
confirmCodeLabel = "Inserisci il codice di conferma per continuare"
|
||||
enterCode = "Inserisci il codice mostrato sopra"
|
||||
confirmImport = "Conferma importazione"
|
||||
codeMismatch = "Il codice di conferma non corrisponde"
|
||||
codeMismatchBody = "Inserisci il codice esattamente come mostrato per procedere."
|
||||
selectFile = "Seleziona un file .sql da importare"
|
||||
importSuccess = "Backup importato con successo"
|
||||
importFailed = "Impossibile importare il backup"
|
||||
noBackups = "Nessun backup trovato."
|
||||
unavailable = "Elenco dei backup non disponibile per la configurazione del database corrente."
|
||||
fileName = "File"
|
||||
created = "Creato"
|
||||
size = "Dimensione"
|
||||
actions = "Azioni"
|
||||
download = "Scarica"
|
||||
import = "Importa"
|
||||
delete = "Elimina"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "Abilita database personalizzato"
|
||||
@@ -4848,6 +4953,26 @@ description = "DPI massimi per l'elaborazione delle immagini (0 = illimitato)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Directory tessdata"
|
||||
description = "Percorso della directory tessdata per i file lingua OCR"
|
||||
downloadMissingTitle = "Nessuna lingua selezionata"
|
||||
downloadMissingBody = "Seleziona almeno una lingua da scaricare."
|
||||
downloadSuccessTitle = "Lingue scaricate"
|
||||
downloadSuccessBody = "Le lingue tessdata selezionate sono state salvate."
|
||||
downloadErrorTitle = "Download non riuscito"
|
||||
loadingLanguages = "Caricamento delle lingue tessdata installate..."
|
||||
installedLanguages = "Lingue tessdata installate"
|
||||
noLanguages = "Nessuna lingua tessdata trovata nella directory configurata."
|
||||
downloadLabel = "Scarica lingue tessdata aggiuntive"
|
||||
downloadPlaceholder = "Seleziona lingue"
|
||||
downloadNothingFound = "Nessuna lingua aggiuntiva trovata"
|
||||
permissionNotice = "Il percorso tessdata non è scrivibile. I download verranno aperti nel browser; salva manualmente i file .traineddata nella cartella tessdata."
|
||||
manualLinks = "Download manuali: fai clic sui link e inserisci i file nella cartella tessdata."
|
||||
downloadButton = "Scarica le lingue selezionate"
|
||||
downloadInvalidTitle = "Selezione non valida"
|
||||
downloadInvalidBody = "Alcune lingue selezionate non sono disponibili per il download. Aggiorna e scegli dall'elenco."
|
||||
downloadErrorNetwork = "Download non riuscito a causa di un errore di rete. Controlla la connessione e riprova."
|
||||
downloadErrorServer = "Il server ha riscontrato un errore durante il download delle lingue tessdata. Riprova più tardi."
|
||||
downloadErrorPermission = "La directory tessdata non è scrivibile: {{message}}. Scegli una directory scrivibile (ad es. nella cartella dei dati dell'applicazione) o modifica le autorizzazioni."
|
||||
downloadErrorGeneric = "Download non riuscito: {{message}}. Riprova più tardi."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "Disabilita sanitizzazione HTML"
|
||||
@@ -5351,6 +5476,7 @@ desc = "Crea flussi di lavoro multi‑step concatenando azioni PDF. Ideale per a
|
||||
invalidStep = "Passo non valido"
|
||||
reviewTitle = "Risultati Automazione"
|
||||
copyToSaved = "Copia in Salvati"
|
||||
exportForFolderScanning = "Esporta per la scansione delle cartelle"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "Seleziona i file da elaborare con questa automazione"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "Crea Automazione"
|
||||
editTitle = "Modifica Automazione"
|
||||
intro = "Le automazioni eseguono gli strumenti in sequenza. Per iniziare, aggiungi gli strumenti nell’ordine in cui vuoi che vengano eseguiti."
|
||||
save = "Salva automazione"
|
||||
exportForFolderScanning = "Esporta per la scansione delle cartelle"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "Nome Automazione"
|
||||
@@ -5746,9 +5873,11 @@ username = "Nome utente (Email)"
|
||||
usernamePlaceholder = "utente@esempio.com"
|
||||
password = "Password"
|
||||
passwordPlaceholder = "Inserisci password"
|
||||
passwordRequired = "La password è obbligatoria"
|
||||
role = "Ruolo"
|
||||
team = "Team (Opzionale)"
|
||||
teamPlaceholder = "Seleziona un team"
|
||||
authType = "Tipo di autenticazione"
|
||||
forcePasswordChange = "Forza cambio password al primo accesso"
|
||||
cancel = "Annulla"
|
||||
submit = "Aggiungi membro"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "Nome utente e password sono obbligatori"
|
||||
passwordTooShort = "La password deve contenere almeno 6 caratteri"
|
||||
success = "Utente creato con successo"
|
||||
error = "Impossibile creare l'utente"
|
||||
forceMFA = "Forza la configurazione della MFA al prossimo accesso"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "Password"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "L'utente si autenticherà tramite il provider SSO"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "Modifica membro"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} slot utente disponibili"
|
||||
noSlotsAvailable = "Nessuno slot disponibile"
|
||||
currentUsage = "Attualmente in uso {{current}} su {{max}} licenze utente"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "MFA disabilitata correttamente per l'utente"
|
||||
adminDisableError = "Impossibile disabilitare la MFA per l'utente"
|
||||
disableByAdmin = "Disabilita MFA"
|
||||
|
||||
[workspace.teams]
|
||||
title = "Team"
|
||||
description = "Gestisci i team e organizza i membri dello spazio di lavoro"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "Endpoint"
|
||||
visits = "Visite"
|
||||
percentage = "Percentuale"
|
||||
noData = "Nessun dato disponibile"
|
||||
unknownEndpoint = "Endpoint sconosciuto"
|
||||
|
||||
[backendHealth]
|
||||
checking = "Verifica dello stato del backend..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "動作の選択"
|
||||
addOperationButton = "動作の追加"
|
||||
pipelineHeader = "パイプライン:"
|
||||
saveButton = "ダウンロード"
|
||||
saveForFolderScanning = "フォルダー監視用に保存"
|
||||
validateButton = "検証"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "Webブラウザ設定"
|
||||
syncToBrowser = "アカウントの同期 -> ブラウザ"
|
||||
syncToAccount = "アカウントの同期 <- ブラウザ"
|
||||
|
||||
[account.mfa]
|
||||
title = "二要素認証"
|
||||
setupFailed = "二要素認証の設定を開始できません。もう一度お試しください。"
|
||||
codeRequired = "続行するには認証コードを入力してください。"
|
||||
enabled = "二要素認証を有効にしました。"
|
||||
enableFailed = "二要素認証を有効にできません。コードを確認して、もう一度お試しください。"
|
||||
disabled = "二要素認証を無効にしました。"
|
||||
disableFailed = "二要素認証を無効にできません。コードを確認して、もう一度お試しください。"
|
||||
description = "アカウントのセキュリティを強化します。"
|
||||
enableButton = "二要素認証を有効にする"
|
||||
disableButton = "二要素認証を無効にする"
|
||||
setupTitle = "二要素認証を設定"
|
||||
setupDescription = "認証アプリで QR コードをスキャンし、6 桁のコードを入力して確認してください。"
|
||||
manualKey = "手動設定用キー"
|
||||
secretWarning = "このキーは秘密に保管してください。アクセスできる人は有効な認証コードを生成できます。"
|
||||
codePlaceholder = "6 桁のコードを入力"
|
||||
confirmEnable = "有効化"
|
||||
disableTitle = "二要素認証を無効にする"
|
||||
disableDescription = "二要素認証を無効にするには、有効な認証コードを入力してください。"
|
||||
codeLabel = "認証コード"
|
||||
confirmDisable = "無効化"
|
||||
ssoDescription = "シングルサインオンのアカウントでは、二要素認証はアイデンティティプロバイダーによって管理されます。"
|
||||
ssoManaged = "MFA はアイデンティティプロバイダーで設定してください。"
|
||||
|
||||
[adminUserSettings]
|
||||
title = "ユーザー制御設定"
|
||||
header = "管理者ユーザー制御設定"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "PDF の代わりに中間ファイル(HTML)をダウンロ
|
||||
pdfaOptions = "PDF/A オプション"
|
||||
outputFormat = "出力形式"
|
||||
pdfaNote = "PDF/A-1b は互換性が高く、PDF/A-2b はより多くの機能をサポートします。"
|
||||
pdfaFormat = "PDF/A 形式"
|
||||
pdfaDigitalSignatureWarning = "PDFにはデジタル署名が含まれています。これは次の手順で削除されます。"
|
||||
pdfxDigitalSignatureWarning = "PDF にはデジタル署名が含まれています。これは次のステップで削除されます。"
|
||||
pdfxDescription = "PDF/X は、信頼性の高い印刷とグラフィック交換のための ISO 規格の PDF サブセットです。"
|
||||
fileFormat = "ファイル形式"
|
||||
wordDoc = "Word 文書"
|
||||
wordDocExt = "Word 文書(.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "現在、一度に複数の入力に対して機能しません"
|
||||
outputFormat = "出力形式"
|
||||
pdfWithDigitalSignature = "PDFにはデジタル署名が含まれています。これは次の手順で削除されます。"
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "印刷,標準,変換,制作,プリプレス,アーカイブ"
|
||||
title = "PDF を PDF/X に"
|
||||
header = "PDF を PDF/X に"
|
||||
credit = "このサービスは PDF/X 変換に Ghostscript を使用しています"
|
||||
submit = "変換"
|
||||
tip = "現在、同時に複数の入力には対応していません"
|
||||
outputFormat = "出力形式"
|
||||
pdfWithDigitalSignature = "PDF にはデジタル署名が含まれています。これは次のステップで削除されます。"
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,word,変換,フォーマット,コンバージョン,オフィス,microsoft,docファイル"
|
||||
title = "PDFをWordに変換"
|
||||
@@ -3153,6 +3191,18 @@ other = "その他"
|
||||
perPageInfo = "ページごとの情報"
|
||||
tableOfContents = "目次"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "未検出"
|
||||
passed = "合格"
|
||||
failed = "不合格"
|
||||
compliant = "準拠"
|
||||
nonCompliant = "非準拠"
|
||||
none = "検出された標準はありません"
|
||||
passedCount = "合格"
|
||||
failedCount = "不合格"
|
||||
noVerification = "検証は実行されていません"
|
||||
noVerificationDesc = "このドキュメントの PDF 標準への準拠は検証されていません。"
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "添付ファイル"
|
||||
embeddedFiles = "埋め込みファイル"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}} 件の制限"
|
||||
permsMixed = "一部の権限が制限されています"
|
||||
hasCompliance = "準拠規格あり"
|
||||
noCompliance = "準拠規格なし"
|
||||
compliancePassed = "{{standards}} に準拠"
|
||||
complianceChecked = "標準を検証済み({{failed}} 件が不合格)"
|
||||
basic = "基本情報"
|
||||
documentInfo = "ドキュメント情報"
|
||||
securityTitle = "セキュリティ状態"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "パスワードを変更しました。新しいパス
|
||||
credentialsUpdated = "認証情報を更新しました。もう一度サインインしてください。"
|
||||
defaultCredentials = "デフォルトのログイン資格情報"
|
||||
changePasswordWarning = "初回ログイン後にパスワードを変更してください"
|
||||
mfaRequired = "二要素認証コードが必要です"
|
||||
mfaCode = "認証コード"
|
||||
enterMfaCode = "6 桁のコードを入力"
|
||||
mfaPromptTitle = "二要素認証"
|
||||
mfaPromptBody = "認証アプリの認証コードを入力して続行してください。"
|
||||
verifyingMfa = "確認中..."
|
||||
verifyMfa = "コードを確認"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF の概要"
|
||||
@@ -4324,6 +4383,10 @@ title = "ログインモードが必要です"
|
||||
message = "管理者設定を変更するにはログインモードを有効にする必要があります。環境変数で SECURITY_ENABLELOGIN=true を設定するか、settings.yml の security.enableLogin: true を設定し、サーバーを再起動してください。"
|
||||
readOnly = "以下の設定は参照用の例です。ログインモードを有効にして実際の構成を表示・編集してください。"
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Enterprise ライセンスが必要です"
|
||||
message = "{{featureName}} にアクセスするには Enterprise ライセンスが必要です。現在は参照用のデモデータを表示しています。"
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "再起動が必要です"
|
||||
message = "設定は正常に保存されました。変更を反映するにはサーバーの再起動が必要です。"
|
||||
@@ -4771,6 +4834,48 @@ description = "ユーザー向けの詳細なエラーメッセージを表示
|
||||
title = "データベース"
|
||||
description = "エンタープライズ導入向けのカスタムデータベース接続設定を構成します。"
|
||||
configuration = "データベース構成"
|
||||
backupTitle = "バックアップと復元"
|
||||
backupDescription = "管理者コンソールから H2 バックアップを直接管理します。"
|
||||
loadError = "データベースのバックアップの読み込みに失敗しました"
|
||||
backupCreated = "バックアップを正常に作成しました"
|
||||
backupFailed = "バックアップの作成に失敗しました"
|
||||
deleteTitle = "バックアップを削除"
|
||||
deleteConfirm = "このバックアップを削除しますか?この操作は元に戻せません。"
|
||||
deleteSuccess = "バックアップを削除しました"
|
||||
deleteFailed = "バックアップの削除に失敗しました"
|
||||
deleteConfirmAction = "バックアップを削除"
|
||||
downloadFailed = "バックアップのダウンロードに失敗しました"
|
||||
version = "H2 バージョン"
|
||||
embedded = "組み込み H2"
|
||||
external = "外部 DB"
|
||||
h2Only = "バックアップは組み込み H2 データベースでのみ利用できます。"
|
||||
h2Hint = "データベース種別を H2 に設定し、カスタムデータベースを無効にすると、バックアップと復元が有効になります。"
|
||||
manageBackups = "バックアップを管理"
|
||||
refresh = "更新"
|
||||
createBackup = "バックアップを作成"
|
||||
uploadTitle = "アップロードとインポート"
|
||||
chooseFile = ".sql バックアップファイルを選択"
|
||||
importFromUpload = "アップロードからインポート"
|
||||
confirmImportTitle = "データベースのインポートを確認"
|
||||
overwriteWarning = "警告: 現在のデータベースを上書きします。"
|
||||
overwriteWarningBody = "既存のすべてのデータはアップロードされたバックアップで置き換えられます。この操作は元に戻せません。"
|
||||
confirmCodeLabel = "続行するには確認コードを入力してください"
|
||||
enterCode = "上に表示されたコードを入力"
|
||||
confirmImport = "インポートを確認"
|
||||
codeMismatch = "確認コードが一致しません"
|
||||
codeMismatchBody = "続行するには、表示どおりに正確にコードを入力してください。"
|
||||
selectFile = "インポートする .sql ファイルを選択してください"
|
||||
importSuccess = "バックアップを正常にインポートしました"
|
||||
importFailed = "バックアップのインポートに失敗しました"
|
||||
noBackups = "まだバックアップが見つかりません。"
|
||||
unavailable = "現在のデータベース設定ではバックアップ一覧は利用できません。"
|
||||
fileName = "ファイル"
|
||||
created = "作成日"
|
||||
size = "サイズ"
|
||||
actions = "操作"
|
||||
download = "ダウンロード"
|
||||
import = "インポート"
|
||||
delete = "削除"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "カスタムデータベースを有効化"
|
||||
@@ -4848,6 +4953,26 @@ description = "画像処理の最大 DPI(0 = 無制限)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "Tessdata ディレクトリ"
|
||||
description = "OCR 言語ファイル用 tessdata ディレクトリのパス"
|
||||
downloadMissingTitle = "言語が選択されていません"
|
||||
downloadMissingBody = "ダウンロードする言語を少なくとも 1 つ選択してください。"
|
||||
downloadSuccessTitle = "言語をダウンロードしました"
|
||||
downloadSuccessBody = "選択した tessdata 言語が保存されました。"
|
||||
downloadErrorTitle = "ダウンロードに失敗しました"
|
||||
loadingLanguages = "インストール済みの tessdata 言語を読み込み中..."
|
||||
installedLanguages = "インストール済みの tessdata 言語"
|
||||
noLanguages = "設定されたディレクトリに tessdata 言語が見つかりません。"
|
||||
downloadLabel = "追加の tessdata 言語をダウンロード"
|
||||
downloadPlaceholder = "言語を選択"
|
||||
downloadNothingFound = "追加の言語は見つかりません"
|
||||
permissionNotice = "tessdata パスに書き込めません。ダウンロードはブラウザで開かれます。.traineddata ファイルを手動で tessdata フォルダーに保存してください。"
|
||||
manualLinks = "手動ダウンロード: リンクをクリックし、ファイルを tessdata フォルダーに配置してください。"
|
||||
downloadButton = "選択した言語をダウンロード"
|
||||
downloadInvalidTitle = "無効な選択"
|
||||
downloadInvalidBody = "選択した言語の一部はダウンロードできません。更新してリストから選択してください。"
|
||||
downloadErrorNetwork = "ネットワークエラーによりダウンロードに失敗しました。接続を確認してもう一度お試しください。"
|
||||
downloadErrorServer = "サーバーで tessdata 言語のダウンロード中にエラーが発生しました。後でもう一度お試しください。"
|
||||
downloadErrorPermission = "tessdata ディレクトリに書き込めません: {{message}}。書き込み可能なディレクトリ(例: アプリケーションデータフォルダー配下)を選ぶか、権限を調整してください。"
|
||||
downloadErrorGeneric = "ダウンロードに失敗しました: {{message}}。後でもう一度お試しください。"
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML サニタイズを無効化"
|
||||
@@ -5351,6 +5476,7 @@ desc = "PDF アクションを連結して複数ステップのワークフロ
|
||||
invalidStep = "無効なステップ"
|
||||
reviewTitle = "自動処理の結果"
|
||||
copyToSaved = "保存済みにコピー"
|
||||
exportForFolderScanning = "フォルダー監視用にエクスポート"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "この自動処理で処理するファイルを選択"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "自動処理を作成"
|
||||
editTitle = "自動処理を編集"
|
||||
intro = "自動処理はツールを順番に実行します。まずは実行したい順にツールを追加してください。"
|
||||
save = "自動処理を保存"
|
||||
exportForFolderScanning = "フォルダー監視用にエクスポート"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "自動処理名"
|
||||
@@ -5746,9 +5873,11 @@ username = "ユーザー名(メール)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "パスワード"
|
||||
passwordPlaceholder = "パスワードを入力"
|
||||
passwordRequired = "パスワードは必須です"
|
||||
role = "ロール"
|
||||
team = "チーム(任意)"
|
||||
teamPlaceholder = "チームを選択"
|
||||
authType = "認証タイプ"
|
||||
forcePasswordChange = "初回ログイン時にパスワード変更を強制"
|
||||
cancel = "キャンセル"
|
||||
submit = "メンバーを追加"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "ユーザー名とパスワードは必須です"
|
||||
passwordTooShort = "パスワードは6文字以上である必要があります"
|
||||
success = "ユーザーを作成しました"
|
||||
error = "ユーザーの作成に失敗しました"
|
||||
forceMFA = "次回ログイン時に MFA の設定を必須にする"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "パスワード"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "ユーザーは SSO プロバイダー経由で認証します"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "メンバーを編集"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "{{count}} 件のユーザースロットが利用可能"
|
||||
noSlotsAvailable = "利用可能な枠がありません"
|
||||
currentUsage = "現在 {{max}} 件中 {{current}} 件のユーザーライセンスを使用"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "ユーザーの MFA を無効化しました"
|
||||
adminDisableError = "ユーザーの MFA を無効化できませんでした"
|
||||
disableByAdmin = "MFA を無効化"
|
||||
|
||||
[workspace.teams]
|
||||
title = "チーム"
|
||||
description = "チームを管理し、ワークスペースのメンバーを整理します"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "エンドポイント"
|
||||
visits = "訪問数"
|
||||
percentage = "割合"
|
||||
noData = "利用可能なデータがありません"
|
||||
unknownEndpoint = "不明なエンドポイント"
|
||||
|
||||
[backendHealth]
|
||||
checking = "バックエンドの状態を確認しています..."
|
||||
|
||||
@@ -306,6 +306,7 @@ selectOperation = "작업 선택"
|
||||
addOperationButton = "작업 추가"
|
||||
pipelineHeader = "파이프라인:"
|
||||
saveButton = "다운로드"
|
||||
saveForFolderScanning = "폴더 스캔용으로 저장"
|
||||
validateButton = "검증"
|
||||
|
||||
[enterpriseEdition]
|
||||
@@ -556,6 +557,30 @@ webBrowserSettings = "웹 브라우저 설정"
|
||||
syncToBrowser = "동기화 계정 -> 브라우저"
|
||||
syncToAccount = "동기화 계정 <- 브라우저"
|
||||
|
||||
[account.mfa]
|
||||
title = "2단계 인증"
|
||||
setupFailed = "2단계 인증 설정을 시작할 수 없습니다. 다시 시도하세요."
|
||||
codeRequired = "계속하려면 인증 코드를 입력하세요."
|
||||
enabled = "2단계 인증이 활성화되었습니다."
|
||||
enableFailed = "2단계 인증을 활성화할 수 없습니다. 코드를 확인하고 다시 시도하세요."
|
||||
disabled = "2단계 인증이 비활성화되었습니다."
|
||||
disableFailed = "2단계 인증을 비활성화할 수 없습니다. 코드를 확인하고 다시 시도하세요."
|
||||
description = "계정에 보안 계층을 추가합니다."
|
||||
enableButton = "2단계 인증 활성화"
|
||||
disableButton = "2단계 인증 비활성화"
|
||||
setupTitle = "2단계 인증 설정"
|
||||
setupDescription = "인증 앱으로 QR 코드를 스캔한 뒤, 확인을 위해 6자리 코드를 입력하세요."
|
||||
manualKey = "수동 설정 키"
|
||||
secretWarning = "이 키는 비공개로 유지하세요. 접근 가능한 누구나 유효한 인증 코드를 생성할 수 있습니다."
|
||||
codePlaceholder = "6자리 코드를 입력하세요"
|
||||
confirmEnable = "활성화"
|
||||
disableTitle = "2단계 인증 비활성화"
|
||||
disableDescription = "2단계 인증을 비활성화하려면 유효한 인증 코드를 입력하세요."
|
||||
codeLabel = "인증 코드"
|
||||
confirmDisable = "비활성화"
|
||||
ssoDescription = "Single Sign-On 계정의 경우 2단계 인증은 ID 제공자에서 관리됩니다."
|
||||
ssoManaged = "ID 제공자를 통해 MFA를 구성하세요."
|
||||
|
||||
[adminUserSettings]
|
||||
title = "사용자 제어 설정"
|
||||
header = "관리자 사용자 제어 설정"
|
||||
@@ -1264,7 +1289,10 @@ downloadHtml = "PDF 대신 중간 HTML 파일 다운로드"
|
||||
pdfaOptions = "PDF/A 옵션"
|
||||
outputFormat = "출력 형식"
|
||||
pdfaNote = "PDF/A-1b는 호환성이 더 높고, PDF/A-2b는 더 많은 기능을 지원합니다."
|
||||
pdfaFormat = "PDF/A 형식"
|
||||
pdfaDigitalSignatureWarning = "PDF에 디지털 서명이 포함되어 있습니다. 다음 단계에서 제거됩니다."
|
||||
pdfxDigitalSignatureWarning = "해당 PDF에는 디지털 서명이 포함되어 있습니다. 다음 단계에서 제거됩니다."
|
||||
pdfxDescription = "PDF/X는 신뢰할 수 있는 인쇄와 그래픽 교환을 위한 ISO 표준 PDF 하위 집합입니다."
|
||||
fileFormat = "파일 형식"
|
||||
wordDoc = "Word 문서"
|
||||
wordDocExt = "Word 문서 (.docx)"
|
||||
@@ -2197,6 +2225,16 @@ tip = "현재 여러 입력을 한 번에 처리할 수 없습니다"
|
||||
outputFormat = "출력 형식"
|
||||
pdfWithDigitalSignature = "PDF에 디지털 서명이 포함되어 있습니다. 다음 단계에서 제거됩니다."
|
||||
|
||||
[pdfToPDFX]
|
||||
tags = "인쇄,표준,변환,제작,프리프레스,보관"
|
||||
title = "PDF를 PDF/X로"
|
||||
header = "PDF를 PDF/X로"
|
||||
credit = "이 서비스는 PDF/X 변환에 Ghostscript를 사용합니다"
|
||||
submit = "변환"
|
||||
tip = "현재 여러 입력을 동시에 지원하지 않습니다."
|
||||
outputFormat = "출력 형식"
|
||||
pdfWithDigitalSignature = "해당 PDF에는 디지털 서명이 포함되어 있습니다. 다음 단계에서 제거됩니다."
|
||||
|
||||
[PDFToWord]
|
||||
tags = "doc,docx,odt,워드,변환,형식,변환,오피스,마이크로소프트,docfile"
|
||||
title = "PDF를 Word로"
|
||||
@@ -3153,6 +3191,18 @@ other = "기타"
|
||||
perPageInfo = "페이지별 정보"
|
||||
tableOfContents = "목차"
|
||||
|
||||
[getPdfInfo.compliance]
|
||||
notDetected = "감지되지 않음"
|
||||
passed = "통과"
|
||||
failed = "실패"
|
||||
compliant = "준수"
|
||||
nonCompliant = "비준수"
|
||||
none = "표준이 감지되지 않음"
|
||||
passedCount = "통과"
|
||||
failedCount = "실패"
|
||||
noVerification = "검증이 수행되지 않음"
|
||||
noVerificationDesc = "이 문서에 대해 PDF 표준 준수 여부가 검증되지 않았습니다."
|
||||
|
||||
[getPdfInfo.other]
|
||||
attachments = "첨부 파일"
|
||||
embeddedFiles = "내장 파일"
|
||||
@@ -3184,6 +3234,8 @@ permsRestricted = "{{count}}개의 제한"
|
||||
permsMixed = "일부 권한이 제한됨"
|
||||
hasCompliance = "규격 준수 기준 있음"
|
||||
noCompliance = "규격 준수 기준 없음"
|
||||
compliancePassed = "{{standards}} 준수"
|
||||
complianceChecked = "표준 검증 완료 (실패: {{failed}})"
|
||||
basic = "기본 정보"
|
||||
documentInfo = "문서 정보"
|
||||
securityTitle = "보안 상태"
|
||||
@@ -3723,6 +3775,13 @@ passwordChangedSuccess = "비밀번호가 성공적으로 변경되었습니다!
|
||||
credentialsUpdated = "자격 증명이 업데이트되었습니다. 다시 로그인하세요."
|
||||
defaultCredentials = "기본 로그인 정보"
|
||||
changePasswordWarning = "첫 로그인 후 비밀번호를 변경하세요"
|
||||
mfaRequired = "2단계 인증 코드가 필요합니다"
|
||||
mfaCode = "인증 코드"
|
||||
enterMfaCode = "6자리 코드를 입력하세요"
|
||||
mfaPromptTitle = "2단계 인증"
|
||||
mfaPromptBody = "진행하려면 인증 앱의 인증 코드를 입력하세요."
|
||||
verifyingMfa = "확인 중..."
|
||||
verifyMfa = "코드 확인"
|
||||
|
||||
[login.slides.overview]
|
||||
alt = "Stirling PDF 개요"
|
||||
@@ -4324,6 +4383,10 @@ title = "로그인 모드 필요"
|
||||
message = "관리자 설정을 변경하려면 로그인 모드를 활성화해야 합니다. 환경 변수에서 SECURITY_ENABLELOGIN=true 또는 settings.yml에서 security.enableLogin: true 로 설정한 다음 서버를 재시작하세요."
|
||||
readOnly = "아래 설정은 참고용 예시 값입니다. 로그인 모드를 활성화하면 실제 구성을 보고 편집할 수 있습니다."
|
||||
|
||||
[admin.settings.enterpriseRequired]
|
||||
title = "Enterprise 라이선스 필요"
|
||||
message = "{{featureName}}에 액세스하려면 Enterprise 라이선스가 필요합니다. 참고용으로 데모 데이터를 보고 있습니다."
|
||||
|
||||
[admin.settings.restart]
|
||||
title = "재시작 필요"
|
||||
message = "설정이 성공적으로 저장되었습니다. 변경 사항을 적용하려면 서버를 재시작해야 합니다."
|
||||
@@ -4771,6 +4834,48 @@ description = "사용자에게 상세 오류 메시지를 표시합니다."
|
||||
title = "데이터베이스"
|
||||
description = "엔터프라이즈 배포를 위한 사용자 지정 데이터베이스 연결 설정을 구성합니다."
|
||||
configuration = "데이터베이스 구성"
|
||||
backupTitle = "백업 및 복원"
|
||||
backupDescription = "관리자 콘솔에서 H2 백업을 직접 관리합니다."
|
||||
loadError = "데이터베이스 백업을 불러오지 못했습니다"
|
||||
backupCreated = "백업이 성공적으로 생성되었습니다"
|
||||
backupFailed = "백업 생성에 실패했습니다"
|
||||
deleteTitle = "백업 삭제"
|
||||
deleteConfirm = "이 백업을 삭제하시겠습니까? 이 작업은 되돌릴 수 없습니다."
|
||||
deleteSuccess = "백업이 삭제되었습니다"
|
||||
deleteFailed = "백업 삭제에 실패했습니다"
|
||||
deleteConfirmAction = "백업 삭제"
|
||||
downloadFailed = "백업 다운로드에 실패했습니다"
|
||||
version = "H2 버전"
|
||||
embedded = "내장형 H2"
|
||||
external = "외부 DB"
|
||||
h2Only = "백업은 내장형 H2 데이터베이스에서만 사용할 수 있습니다."
|
||||
h2Hint = "데이터베이스 유형을 H2로 설정하고 사용자 지정 데이터베이스를 비활성화하여 백업 및 복원을 활성화하세요."
|
||||
manageBackups = "백업 관리"
|
||||
refresh = "새로고침"
|
||||
createBackup = "백업 생성"
|
||||
uploadTitle = "업로드 및 가져오기"
|
||||
chooseFile = ".sql 백업 파일을 선택하세요"
|
||||
importFromUpload = "업로드 가져오기"
|
||||
confirmImportTitle = "데이터베이스 가져오기 확인"
|
||||
overwriteWarning = "경고: 현재 데이터베이스를 덮어씁니다."
|
||||
overwriteWarningBody = "업로드된 백업으로 기존 모든 데이터가 대체됩니다. 이 작업은 되돌릴 수 없습니다."
|
||||
confirmCodeLabel = "계속하려면 확인 코드를 입력하세요"
|
||||
enterCode = "위에 표시된 코드를 입력하세요"
|
||||
confirmImport = "가져오기 확인"
|
||||
codeMismatch = "확인 코드가 일치하지 않습니다"
|
||||
codeMismatchBody = "계속하려면 표시된 그대로 코드를 입력하세요."
|
||||
selectFile = "가져올 .sql 파일을 선택하세요"
|
||||
importSuccess = "백업을 성공적으로 가져왔습니다"
|
||||
importFailed = "백업 가져오기에 실패했습니다"
|
||||
noBackups = "아직 백업이 없습니다."
|
||||
unavailable = "현재 데이터베이스 구성에서는 백업 목록을 사용할 수 없습니다."
|
||||
fileName = "파일"
|
||||
created = "생성됨"
|
||||
size = "크기"
|
||||
actions = "작업"
|
||||
download = "다운로드"
|
||||
import = "가져오기"
|
||||
delete = "삭제"
|
||||
|
||||
[admin.settings.database.enableCustom]
|
||||
label = "사용자 지정 데이터베이스 사용"
|
||||
@@ -4848,6 +4953,26 @@ description = "이미지 처리의 최대 DPI(0 = 무제한)"
|
||||
[admin.settings.advanced.tessdataDir]
|
||||
label = "tessdata 디렉터리"
|
||||
description = "OCR 언어 파일을 위한 tessdata 디렉터리 경로"
|
||||
downloadMissingTitle = "언어가 선택되지 않았습니다"
|
||||
downloadMissingBody = "다운로드할 언어를 하나 이상 선택하세요."
|
||||
downloadSuccessTitle = "언어 다운로드 완료"
|
||||
downloadSuccessBody = "선택한 tessdata 언어가 저장되었습니다."
|
||||
downloadErrorTitle = "다운로드 실패"
|
||||
loadingLanguages = "설치된 tessdata 언어를 불러오는 중..."
|
||||
installedLanguages = "설치된 tessdata 언어"
|
||||
noLanguages = "구성된 디렉터리에서 tessdata 언어를 찾을 수 없습니다."
|
||||
downloadLabel = "추가 tessdata 언어 다운로드"
|
||||
downloadPlaceholder = "언어 선택"
|
||||
downloadNothingFound = "추가 언어가 없습니다"
|
||||
permissionNotice = "tessdata 경로에 쓸 수 없습니다. 다운로드는 브라우저에서 열리며, .traineddata 파일을 직접 tessdata 폴더에 저장하세요."
|
||||
manualLinks = "수동 다운로드: 링크를 클릭하고 파일을 tessdata 폴더에 넣으세요."
|
||||
downloadButton = "선택한 언어 다운로드"
|
||||
downloadInvalidTitle = "잘못된 선택"
|
||||
downloadInvalidBody = "선택한 일부 언어는 다운로드할 수 없습니다. 새로고침 후 목록에서 선택하세요."
|
||||
downloadErrorNetwork = "네트워크 오류로 다운로드에 실패했습니다. 연결을 확인한 후 다시 시도하세요."
|
||||
downloadErrorServer = "서버에서 tessdata 언어 다운로드 중 오류가 발생했습니다. 나중에 다시 시도하세요."
|
||||
downloadErrorPermission = "tessdata 디렉터리에 쓸 수 없습니다: {{message}}. 쓰기 가능한 디렉터리(예: 애플리케이션 데이터 폴더 하위)로 선택하거나 권한을 조정하세요."
|
||||
downloadErrorGeneric = "다운로드에 실패했습니다: {{message}}. 나중에 다시 시도하세요."
|
||||
|
||||
[admin.settings.advanced.disableSanitize]
|
||||
label = "HTML 정화 비활성화"
|
||||
@@ -5351,6 +5476,7 @@ desc = "PDF 작업을 연결해 다단계 워크플로를 구성하세요. 반
|
||||
invalidStep = "잘못된 단계"
|
||||
reviewTitle = "자동화 결과"
|
||||
copyToSaved = "저장됨으로 복사"
|
||||
exportForFolderScanning = "폴더 스캔용으로 내보내기"
|
||||
|
||||
[automate.files]
|
||||
placeholder = "이 자동화로 처리할 파일을 선택하세요"
|
||||
@@ -5372,6 +5498,7 @@ createTitle = "자동화 만들기"
|
||||
editTitle = "자동화 편집"
|
||||
intro = "자동화는 도구를 순차적으로 실행합니다. 시작하려면 실행 순서대로 도구를 추가하세요."
|
||||
save = "자동화 저장"
|
||||
exportForFolderScanning = "폴더 스캔용으로 내보내기"
|
||||
|
||||
[automate.creation.name]
|
||||
label = "자동화 이름"
|
||||
@@ -5746,9 +5873,11 @@ username = "사용자 이름(이메일)"
|
||||
usernamePlaceholder = "user@example.com"
|
||||
password = "비밀번호"
|
||||
passwordPlaceholder = "비밀번호 입력"
|
||||
passwordRequired = "비밀번호가 필요합니다"
|
||||
role = "역할"
|
||||
team = "팀(선택 사항)"
|
||||
teamPlaceholder = "팀 선택"
|
||||
authType = "인증 유형"
|
||||
forcePasswordChange = "첫 로그인 시 비밀번호 변경 강제"
|
||||
cancel = "취소"
|
||||
submit = "멤버 추가"
|
||||
@@ -5756,6 +5885,13 @@ usernameRequired = "사용자 이름과 비밀번호가 필요합니다"
|
||||
passwordTooShort = "비밀번호는 6자 이상이어야 합니다"
|
||||
success = "사용자가 성공적으로 생성되었습니다"
|
||||
error = "사용자 생성에 실패했습니다"
|
||||
forceMFA = "다음 로그인 시 MFA 설정 강제"
|
||||
|
||||
[workspace.people.authType]
|
||||
password = "비밀번호"
|
||||
oauth = "OAuth2"
|
||||
saml = "SAML2"
|
||||
ssoDescription = "사용자는 SSO 공급자를 통해 인증합니다"
|
||||
|
||||
[workspace.people.editMember]
|
||||
title = "멤버 편집"
|
||||
@@ -5859,6 +5995,11 @@ slotsAvailable = "사용자 슬롯 {{count}}개 사용 가능"
|
||||
noSlotsAvailable = "가용 슬롯 없음"
|
||||
currentUsage = "현재 사용자 라이선스 {{max}}개 중 {{current}}개 사용 중"
|
||||
|
||||
[workspace.people.mfa]
|
||||
adminDisableSuccess = "사용자에 대해 MFA가 성공적으로 비활성화되었습니다"
|
||||
adminDisableError = "사용자에 대해 MFA 비활성화에 실패했습니다"
|
||||
disableByAdmin = "MFA 비활성화"
|
||||
|
||||
[workspace.teams]
|
||||
title = "팀"
|
||||
description = "팀을 관리하고 워크스페이스 멤버를 구성하세요"
|
||||
@@ -6301,6 +6442,7 @@ endpoint = "엔드포인트"
|
||||
visits = "방문 수"
|
||||
percentage = "백분율"
|
||||
noData = "데이터가 없습니다"
|
||||
unknownEndpoint = "알 수 없는 엔드포인트"
|
||||
|
||||
[backendHealth]
|
||||
checking = "백엔드 상태 확인 중..."
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user