diff --git a/README.md b/README.md index e2479b8..d1a1f1b 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Open-source software under the AGPL V3 license. - [Disabling the Organize Mode](#disabling-the-organize-mode) - [Hiding or Modifying the Demo PDF Link](#hiding-or-modifying-the-demo-pdf-link) - [Customize the CSS](#customize-the-css) + - [Custom retention period for shared PDF](#custom-retention-period-for-shared-pdf) - [Default Fields for Metadata Editing](#default-fields-for-metadata-editing) - [Update](#update) - [Tests](#tests) @@ -141,6 +142,29 @@ It's possible to add a custom CSS file to the location `public/css/app-specific. If this file exists, it will be loaded automatically. + +### Custom retention period for shared PDF + +In `config/config.ini` file activate these options : + +``` +[signature] + +; Enable custom retention period for shared PDF +; This override the default retention periods +; Warning: Text on the right of the colon will be translated according to the .po files +;retention[+1 year]="for one year" +;retention[+6 months]="for six months" +;retention[+1 month]="for one month" +;retention[+1 week]="for one week" +;retention[+1 day]="for one day" +;retention[+1 hour]="for one hour" + +retention[+10 days]="for ten days" +``` + +This configuration allows the retention of the PDF for only 10 days + ### Default Fields for Metadata Editing In the `config/config.ini` file, you can add as many fields as you want with the HTML input type (text, date, number, email, etc.) that will be preloaded for each PDF. diff --git a/locale/application.pot b/locale/application.pot index d0c2821..5f18021 100644 --- a/locale/application.pot +++ b/locale/application.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-16 15:26+0200\n" +"POT-Creation-Date: 2025-07-01 14:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -128,6 +128,9 @@ msgstr "" msgid "Add a watermark" msgstr "" +msgid "Redact areas" +msgstr "" + msgid "Organize PDFs" msgstr "" @@ -331,6 +334,9 @@ msgstr "" msgid "%s Check box" msgstr "" +msgid "Redaction area" +msgstr "" + msgid "Watermark" msgstr "" @@ -345,6 +351,9 @@ msgstr "" msgid "Download the signed PDF" msgstr "" +msgid "The PDF will be flattened" +msgstr "" + #, php-format msgid "You are %s to have signed this PDF" msgstr "" diff --git a/locale/application_29a1dd4b7cdc6f5babd88f4dc6390faf.pot b/locale/application_f6be34d09b1019deb6a73d7b7e311df3.pot similarity index 100% rename from locale/application_29a1dd4b7cdc6f5babd88f4dc6390faf.pot rename to locale/application_f6be34d09b1019deb6a73d7b7e311df3.pot diff --git a/locale/ar/LC_MESSAGES/application.po b/locale/ar/LC_MESSAGES/application.po index e26eeab..88a5667 100644 --- a/locale/ar/LC_MESSAGES/application.po +++ b/locale/ar/LC_MESSAGES/application.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-13 15:05+0200\n" +"POT-Creation-Date: 2025-07-01 14:31+0200\n" "PO-Revision-Date: 2023-11-18 05:03+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Arabic \n" "Language-Team: German \n" "Language-Team: Spanish \n" "Language-Team: Basque \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.12-dev\n" +"X-Generator: Weblate 5.13-dev\n" msgid "en" msgstr "eu" @@ -133,6 +133,9 @@ msgid "Sign with the server certificate" msgstr "Sinatu zerbitzariko ziurtagiriarekin" msgid "Add a watermark" +msgstr "Gehitu filigrana" + +msgid "Redact areas" msgstr "" msgid "Organize PDFs" @@ -338,9 +341,12 @@ msgstr "Zirrimarra" msgid "%s Check box" msgstr "%s Kontrol-laukia" -msgid "Watermark" +msgid "Redaction area" msgstr "" +msgid "Watermark" +msgstr "Filigrana" + #, php-format msgid "%s Create an element" msgstr "%s Sortu elementua" @@ -352,6 +358,9 @@ msgstr "%s Partekatu %s pertsona batek baino gehiagok sinatzeko" msgid "Download the signed PDF" msgstr "Deskargatu sinatutako PDFa" +msgid "The PDF will be flattened" +msgstr "" + #, php-format msgid "You are %s to have signed this PDF" msgstr "PDFa %s pertsonek sinatu duzue" diff --git a/locale/eu/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo b/locale/eu/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo similarity index 100% rename from locale/eu/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo rename to locale/eu/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo diff --git a/locale/fr/LC_MESSAGES/application.mo b/locale/fr/LC_MESSAGES/application.mo index 0dce6af..e0c7d1e 100644 Binary files a/locale/fr/LC_MESSAGES/application.mo and b/locale/fr/LC_MESSAGES/application.mo differ diff --git a/locale/fr/LC_MESSAGES/application.po b/locale/fr/LC_MESSAGES/application.po index ee525df..ae65e00 100644 --- a/locale/fr/LC_MESSAGES/application.po +++ b/locale/fr/LC_MESSAGES/application.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-13 15:05+0200\n" -"PO-Revision-Date: 2025-06-17 14:41+0000\n" +"POT-Creation-Date: 2025-07-01 14:31+0200\n" +"PO-Revision-Date: 2025-07-01 12:33+0000\n" "Last-Translator: 24ème \n" "Language-Team: French \n" @@ -18,7 +18,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 5.12.1\n" +"X-Generator: Weblate 5.13-dev\n" msgid "en" msgstr "fr" @@ -131,6 +131,9 @@ msgstr "Signer avec le certificat du serveur" msgid "Add a watermark" msgstr "Ajouter un filigrane" +msgid "Redact areas" +msgstr "Caviarder des zones" + msgid "Organize PDFs" msgstr "Organiser des PDF" @@ -335,6 +338,9 @@ msgstr "Rayer" msgid "%s Check box" msgstr "%s Case à cocher" +msgid "Redaction area" +msgstr "Zone de caviardage" + msgid "Watermark" msgstr "Filigrane" @@ -349,6 +355,9 @@ msgstr "%s Partager pour signer %s à plusieurs" msgid "Download the signed PDF" msgstr "Télécharger le PDF signé" +msgid "The PDF will be flattened" +msgstr "Le PDF sera aplati" + #, php-format msgid "You are %s to have signed this PDF" msgstr "Vous êtes %s à avoir signé ce PDF" diff --git a/locale/fr/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo b/locale/fr/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo similarity index 100% rename from locale/fr/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo rename to locale/fr/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo diff --git a/locale/gl/LC_MESSAGES/application.po b/locale/gl/LC_MESSAGES/application.po index d00d5e8..ef06d47 100644 --- a/locale/gl/LC_MESSAGES/application.po +++ b/locale/gl/LC_MESSAGES/application.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-13 15:05+0200\n" +"POT-Creation-Date: 2025-07-01 14:31+0200\n" "PO-Revision-Date: 2024-10-14 07:49+0000\n" "Last-Translator: 24ème \n" "Language-Team: Galician \n" "Language-Team: Italian \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 5.12-dev\n" +"X-Generator: Weblate 5.12.1\n" msgid "en" msgstr "it" @@ -128,6 +128,9 @@ msgid "Sign with the server certificate" msgstr "Firma con il certificato del server" msgid "Add a watermark" +msgstr "Aggiungi una filigrana" + +msgid "Redact areas" msgstr "" msgid "Organize PDFs" @@ -333,9 +336,12 @@ msgstr "Barrato" msgid "%s Check box" msgstr "%s Check box" -msgid "Watermark" +msgid "Redaction area" msgstr "" +msgid "Watermark" +msgstr "Filigrana" + #, php-format msgid "%s Create an element" msgstr "%s Crea un elemento" @@ -347,6 +353,9 @@ msgstr "%s Condividi per firmare %s con più persone" msgid "Download the signed PDF" msgstr "Scarica il PDF firmato" +msgid "The PDF will be flattened" +msgstr "" + #, php-format msgid "You are %s to have signed this PDF" msgstr "Sei %s che ha firmato questo PDF" diff --git a/locale/it/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo b/locale/it/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo similarity index 100% rename from locale/it/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo rename to locale/it/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo diff --git a/locale/kab/LC_MESSAGES/application.po b/locale/kab/LC_MESSAGES/application.po index db2ec91..90f3f8d 100644 --- a/locale/kab/LC_MESSAGES/application.po +++ b/locale/kab/LC_MESSAGES/application.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-13 15:05+0200\n" +"POT-Creation-Date: 2025-07-01 14:31+0200\n" "PO-Revision-Date: 2025-06-03 16:01+0000\n" "Last-Translator: ButterflyOfFire \n" "Language-Team: Kabyle \n" "Language-Team: Occitan \n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 5.12-dev\n" +"X-Generator: Weblate 5.12.1\n" msgid "en" msgstr "oc" @@ -128,6 +128,9 @@ msgid "Sign with the server certificate" msgstr "Signar amb lo certificat del servidor" msgid "Add a watermark" +msgstr "Apondre una filigrana" + +msgid "Redact areas" msgstr "" msgid "Organize PDFs" @@ -335,9 +338,12 @@ msgstr "Raiar" msgid "%s Check box" msgstr "%s Cassa de marcar" -msgid "Watermark" +msgid "Redaction area" msgstr "" +msgid "Watermark" +msgstr "Filigrana" + #, php-format msgid "%s Create an element" msgstr "%s Crear un element" @@ -349,6 +355,9 @@ msgstr "%s Partejar per signar %s amb mantuna persona" msgid "Download the signed PDF" msgstr "Telecargar lo PDF signat" +msgid "The PDF will be flattened" +msgstr "" + #, php-format msgid "You are %s to have signed this PDF" msgstr "Sètz %s a aver signat aqueste PDF" diff --git a/locale/oc/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo b/locale/oc/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo similarity index 100% rename from locale/oc/LC_MESSAGES/application_29a1dd4b7cdc6f5babd88f4dc6390faf.mo rename to locale/oc/LC_MESSAGES/application_f6be34d09b1019deb6a73d7b7e311df3.mo diff --git a/locale/pl/LC_MESSAGES/application.po b/locale/pl/LC_MESSAGES/application.po index 192fd8f..0256a39 100644 --- a/locale/pl/LC_MESSAGES/application.po +++ b/locale/pl/LC_MESSAGES/application.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-06-13 15:05+0200\n" +"POT-Creation-Date: 2025-07-01 14:31+0200\n" "PO-Revision-Date: 2025-06-02 13:01+0000\n" "Last-Translator: Armando Bastoni \n" "Language-Team: Polish \n" "Language-Team: Romanian \n" "Language-Team: Tamil \n" "Language-Team: Turkish - +