mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-23 16:05:09 +00:00
Compare commits
16 Commits
288193e875
...
0006a77b5d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0006a77b5d | ||
![]() |
6cef1fac5f | ||
![]() |
2df70daf16 | ||
![]() |
a0cb56ab0c | ||
![]() |
febe67eac8 | ||
![]() |
41cd7d8f47 | ||
![]() |
5a50947e5e | ||
![]() |
392a10a8c1 | ||
![]() |
275039015d | ||
![]() |
149fe8755d | ||
![]() |
2b9a3924d3 | ||
![]() |
6d8173b021 | ||
![]() |
58937a6e91 | ||
![]() |
3d312c2fd1 | ||
![]() |
6aaedf52ea | ||
![]() |
3591ef5cb7 |
@ -55,7 +55,7 @@ Stirling-PDF uses Lombok to reduce boilerplate code. Some IDEs, like Eclipse, do
|
|||||||
Visit the [Lombok website](https://projectlombok.org/setup/) for installation instructions specific to your IDE.
|
Visit the [Lombok website](https://projectlombok.org/setup/) for installation instructions specific to your IDE.
|
||||||
|
|
||||||
5. Add environment variable
|
5. Add environment variable
|
||||||
For local testing, you should generally be testing the full 'Security' version of Stirling-PDF. To do this, you must add the environment flag DISABLE_ADDITIONAL_FEATURES=false to your system and/or IDE build/run step.
|
For local testing, you should generally be testing the full 'Security' version of Stirling PDF. To do this, you must add the environment flag DISABLE_ADDITIONAL_FEATURES=false to your system and/or IDE build/run step.
|
||||||
|
|
||||||
## 4. Project Structure
|
## 4. Project Structure
|
||||||
|
|
||||||
@ -114,9 +114,9 @@ Stirling-PDF offers several Docker versions:
|
|||||||
|
|
||||||
Stirling-PDF provides several example Docker Compose files in the `exampleYmlFiles` directory, such as:
|
Stirling-PDF provides several example Docker Compose files in the `exampleYmlFiles` directory, such as:
|
||||||
|
|
||||||
- `docker-compose-latest.yml`: Latest version without security features
|
- `docker-compose-latest.yml`: Latest version without login and security features
|
||||||
- `docker-compose-latest-security.yml`: Latest version with security features enabled
|
- `docker-compose-latest-security.yml`: Latest version with login and security features enabled
|
||||||
- `docker-compose-latest-fat-security.yml`: Fat version with security features enabled
|
- `docker-compose-latest-fat-security.yml`: Fat version with login and security features enabled
|
||||||
|
|
||||||
These files provide pre-configured setups for different scenarios. For example, here's a snippet from `docker-compose-latest-security.yml`:
|
These files provide pre-configured setups for different scenarios. For example, here's a snippet from `docker-compose-latest-security.yml`:
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ Stirling-PDF uses different Docker images for various configurations. The build
|
|||||||
1. Set the security environment variable:
|
1. Set the security environment variable:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export DISABLE_ADDITIONAL_FEATURES=true # or false for security-enabled builds
|
export DISABLE_ADDITIONAL_FEATURES=true # or false for to enable login and security features for builds
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Build the project with Gradle:
|
2. Build the project with Gradle:
|
||||||
@ -193,7 +193,7 @@ Stirling-PDF uses different Docker images for various configurations. The build
|
|||||||
docker build --no-cache --pull --build-arg VERSION_TAG=alpha -t stirlingtools/stirling-pdf:latest-ultra-lite -f ./Dockerfile.ultra-lite .
|
docker build --no-cache --pull --build-arg VERSION_TAG=alpha -t stirlingtools/stirling-pdf:latest-ultra-lite -f ./Dockerfile.ultra-lite .
|
||||||
```
|
```
|
||||||
|
|
||||||
For the fat version (with security enabled):
|
For the fat version (with login and security features enabled):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export DISABLE_ADDITIONAL_FEATURES=false
|
export DISABLE_ADDITIONAL_FEATURES=false
|
||||||
|
@ -433,7 +433,9 @@ dependencies {
|
|||||||
implementation 'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20240325.1'
|
implementation 'com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20240325.1'
|
||||||
implementation 'org.snakeyaml:snakeyaml-engine:2.9'
|
implementation 'org.snakeyaml:snakeyaml-engine:2.9'
|
||||||
|
|
||||||
if (System.getenv("DOCKER_ENABLE_SECURITY") != "false" && System.getenv("DISABLE_ADDITIONAL_FEATURES") != "true") {
|
if (System.getenv("DOCKER_ENABLE_SECURITY") != "false" || System.getenv('DISABLE_ADDITIONAL_FEATURES') != 'true'
|
||||||
|
|| (project.hasProperty('DISABLE_ADDITIONAL_FEATURES')
|
||||||
|
&& System.getProperty('DISABLE_ADDITIONAL_FEATURES') != 'true')) {
|
||||||
implementation project(':proprietary')
|
implementation project(':proprietary')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -807,28 +807,28 @@ getPdfInfo.title=Ottieni informazioni in PDF
|
|||||||
getPdfInfo.header=Ottieni informazioni in PDF
|
getPdfInfo.header=Ottieni informazioni in PDF
|
||||||
getPdfInfo.submit=Ottieni informazioni
|
getPdfInfo.submit=Ottieni informazioni
|
||||||
getPdfInfo.downloadJson=Scarica JSON
|
getPdfInfo.downloadJson=Scarica JSON
|
||||||
getPdfInfo.summary=PDF Summary
|
getPdfInfo.summary=Riepilogo PDF
|
||||||
getPdfInfo.summary.encrypted=This PDF is encrypted so may face issues with some applications
|
getPdfInfo.summary.encrypted=Questo PDF è crittografato, quindi potrebbe presentare problemi con alcune applicazioni
|
||||||
getPdfInfo.summary.permissions=This PDF has {0} restricted permissions which may limit what you can do with it
|
getPdfInfo.summary.permissions=Questo PDF ha {0} permessi limitati che potrebbero limitare le operazioni che puoi eseguire con esso
|
||||||
getPdfInfo.summary.compliance=This PDF complies with the {0} standard
|
getPdfInfo.summary.compliance=Questo PDF è conforme allo standard {0}
|
||||||
getPdfInfo.summary.basicInfo=Basic Information
|
getPdfInfo.summary.basicInfo=Informazioni di base
|
||||||
getPdfInfo.summary.docInfo=Document Information
|
getPdfInfo.summary.docInfo=Informazioni sul documento
|
||||||
getPdfInfo.summary.encrypted.alert=Encrypted PDF - This document is password protected
|
getPdfInfo.summary.encrypted.alert=PDF crittografato - Questo documento è protetto da password
|
||||||
getPdfInfo.summary.not.encrypted.alert=Unencrypted PDF - No password protection
|
getPdfInfo.summary.not.encrypted.alert=PDF non crittografato - Nessuna protezione tramite password
|
||||||
getPdfInfo.summary.permissions.alert=Restricted Permissions - {0} actions are not allowed
|
getPdfInfo.summary.permissions.alert=Autorizzazioni limitate: {0} azioni non sono consentite
|
||||||
getPdfInfo.summary.all.permissions.alert=All Permissions Allowed
|
getPdfInfo.summary.all.permissions.alert=Tutti i permessi consentiti
|
||||||
getPdfInfo.summary.compliance.alert={0} Compliant
|
getPdfInfo.summary.compliance.alert={0} Conforme
|
||||||
getPdfInfo.summary.no.compliance.alert=No Compliance Standards
|
getPdfInfo.summary.no.compliance.alert=Nessuno standard di conformità
|
||||||
getPdfInfo.summary.security.section=Security Status
|
getPdfInfo.summary.security.section=Stato di sicurezza
|
||||||
getPdfInfo.section.BasicInfo=Basic Information about the PDF document including file size, page count, and language
|
getPdfInfo.section.BasicInfo=Informazioni di base sul documento PDF, tra cui dimensione del file, numero di pagine e lingua
|
||||||
getPdfInfo.section.Metadata=Document metadata including title, author, creation date and other document properties
|
getPdfInfo.section.Metadata=Metadati del documento, inclusi titolo, autore, data di creazione e altre proprietà del documento
|
||||||
getPdfInfo.section.DocumentInfo=Technical details about the PDF document structure and version
|
getPdfInfo.section.DocumentInfo=Dettagli tecnici sulla struttura e la versione del documento PDF
|
||||||
getPdfInfo.section.Compliancy=PDF standards compliance information (PDF/A, PDF/X, etc.)
|
getPdfInfo.section.Compliancy=Informazioni sulla conformità agli standard PDF(PDF/A,PDF/X,ecc.)
|
||||||
getPdfInfo.section.Encryption=Security and encryption details of the document
|
getPdfInfo.section.Encryption=Dettagli di sicurezza e crittografia del documento
|
||||||
getPdfInfo.section.Permissions=Document permission settings that control what actions can be performed
|
getPdfInfo.section.Permissions=Impostazioni di autorizzazione del documento che controllano quali azioni possono essere eseguite
|
||||||
getPdfInfo.section.Other=Additional document components like bookmarks, layers, and embedded files
|
getPdfInfo.section.Other=Componenti aggiuntivi del documento come segnalibri, livelli e file incorporati
|
||||||
getPdfInfo.section.FormFields=Interactive form fields present in the document
|
getPdfInfo.section.FormFields=Campi modulo interattivi presenti nel documento
|
||||||
getPdfInfo.section.PerPageInfo=Detailed information about each page in the document
|
getPdfInfo.section.PerPageInfo=Informazioni dettagliate su ogni pagina del documento
|
||||||
|
|
||||||
|
|
||||||
#markdown-to-pdf
|
#markdown-to-pdf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user