Commit Graph

1396 Commits

Author SHA1 Message Date
Antoine Merino
b0d2cda34a Fix: Ensure export filenames fit within 143-character limit
The eCryptfs filesystem imposes a filename length limit of 143 characters.
This limit still applies on some systems, such as Synology and QNAP NAS devices when using encrypted folders.

When saving documents with long names, Paperless-ngx triggers a warning (`[Errno 36] File name too long`),
but it gracefully falls back to a default or truncated name.

However, the `document_exporter` crashes when encountering such filenames during export.

This change ensures that exported document base names are capped at 120 characters,
leaving room for extensions and suffixes and keeping the total filename length within 143 characters.

Using the document exported with the "--delete" parameter will take care of eventual old files with a long name, if the filesystem supported it.
2025-03-07 01:48:17 +01:00
shamoon
dd9e9a8c56 Fix: use --group dev instead of --dev for devcontainer (#9309) 2025-03-05 20:00:02 -08:00
Trenton H
0faa9e8865 Chore: Split out some items into extras (#9297) 2025-03-04 22:16:09 +00:00
Trenton H
eb8e124971 Chore: Switch from pipenv to uv (#9251) 2025-03-04 16:15:51 +00:00
Harold Waterkeyn
1bc77546eb Feature: Add slugify filter in templating (#9269) 2025-03-03 08:20:04 -08:00
Trenton H
654c9ca273 Feature: Switch webserver to granian (#9218)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-02-28 19:37:45 +00:00
shamoon
047f7c3619 Enhancement: support default groups for regular and social account signup (#9039) 2025-02-24 09:23:20 -08:00
shamoon
a548c32c1f Enhancement: allow disabling the filesystem consumer (#9199) 2025-02-23 13:52:41 -08:00
shamoon
1dc80f04cb Feature: openapi spec, full api browser (#8948) 2025-02-10 16:43:07 +00:00
Trenton H
880f08599a Transitions the Docker image to use s6 and s6-overlay for process supervision instead of supervisord (#8886) 2025-02-07 11:25:54 -08:00
Silvia Bigler
71472a6a82 Enhancement: add layout options for email conversion (#8907)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-02-07 18:32:35 +00:00
shamoon
7af6983cab Merge branch 'main' into dev 2025-01-31 08:36:56 -08:00
github-actions[bot]
16d6bb7334 Documentation: Add v2.14.7 changelog (#8972)
* Changelog v2.14.7 - GHA

* Update changelog.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-01-31 08:36:29 -08:00
Trenton H
427508edf1 Feature: Enable zxing for all platforms (#8947) 2025-01-30 15:43:23 +00:00
github-actions[bot]
0100fcbb23 Documentation: Add v2.14.6 changelog (#8930) 2025-01-27 16:51:46 -08:00
shamoon
270e70a958 Fix: backwards-compatible versioned API response for custom field select fields (#8912) 2025-01-27 07:34:23 -08:00
github-actions[bot]
2c28348b56 Changelog v2.14.5 - GHA (#8852)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-21 17:50:53 -08:00
shamoon
74afad5976 Merge branch 'dev' 2025-01-21 17:02:07 -08:00
shamoon
4866af31cb Documentation: update usage 2025-01-20 22:51:12 -08:00
shamoon
41bcc12cc2 Change: restrict altering and creation of superusers to superusers only (#8837) 2025-01-20 11:57:22 -08:00
Thomas Hess
0f863ab378 Documentation: fix error in storage paths example in advanced_usage.md (#8817) 2025-01-19 18:04:55 +00:00
kevin
2bcb37f3e9 Documentation: Add ISO number example (#8809) 2025-01-19 14:53:51 +00:00
github-actions[bot]
81f8c64b2c Changelog v2.14.4 - GHA (#8801)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-18 13:05:36 -08:00
shamoon
459feea31e Merge branch 'dev' 2025-01-18 12:26:40 -08:00
shamoon
ed1775e689 Enhancement: allow specifying JSON encoding for webhooks (#8799) 2025-01-18 12:19:50 -08:00
Colin Yates
29726c3ce1 Documentation: note wget requirement for install script on macOS (#8793)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-01-18 00:46:47 +00:00
github-actions[bot]
325594034e Changelog v2.14.3 - GHA (#8761)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-15 21:26:20 -08:00
github-actions[bot]
b145ed315a Documentation: Add v2.14.2 changelog (#8743)
* Changelog v2.14.2 - GHA

* Update changelog.md

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-01-14 23:42:18 -08:00
shamoon
c342eafa8d Documentation: fix link 2025-01-13 18:05:47 -08:00
github-actions[bot]
290c44f5d5 Documentation: Add v2.14.1 changelog (#8714)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-01-13 18:04:22 -08:00
github-actions[bot]
da6d568906 Changelog v2.14.0 - GHA (#8694)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-13 09:51:25 -08:00
shamoon
5821033e3d Merge branch 'dev' 2025-01-13 07:47:08 -08:00
Michael Williams
ccc8917706 Documentation: minor formatting fix in config (#8683) 2025-01-13 07:26:02 +00:00
Fabian Krüger
7035445d6a Documentation: Add hint to set Content-Length header for post document (#8639) 2025-01-08 04:13:24 +00:00
shamoon
d77c9e3bd5 Update configuration.md 2025-01-07 19:07:01 -08:00
Malte Breitzmann
2a1c6bf0ca Documentation: remove dollar sign in code snippets (#8600) 2025-01-04 00:30:25 +00:00
shamoon
e44cfef662 Documentation: cleanup devcontainer docs and move into tasks and launch config files 2024-12-26 10:49:32 -08:00
Orce MARINKOVSKI
6c138a21d4 Development: devcontainer improvements (#8553)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-12-26 16:10:02 +00:00
shamoon
e4f69dc945 Feature: bulk edit custom field values (#8428) 2024-12-09 17:35:49 +00:00
Quadrubo
8e3a021b0f Documentation: correct socket info for gpg decryption of emails (#8453) 2024-12-08 16:27:11 -08:00
Paul-Vincent Roll
1f85da64e4 Documentation: add search caveat when using MariaDB (#8424)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-12-03 13:16:43 -08:00
shamoon
7d182ab894 Enhancement: prune audit logs and management command (#8416) 2024-12-03 19:28:27 +00:00
lufi
0406fca59b Enhancement: include current filename placeholder in workflows (#8319)
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-12-03 03:09:27 +00:00
shamoon
1d65628132 Feature: email, webhook workflow actions (#8108) 2024-12-03 00:12:40 +00:00
Johan Ohly
fbeaed930e Documentation: fix docker hub image name (#8398) 2024-12-01 07:38:49 -08:00
shamoon
fcf532f13e Documentation: documentation updates 2024-11-24 14:20:20 -08:00
shamoon
2b29233a1e Feature: scheduled workflow trigger (#8036) 2024-11-24 18:22:31 +00:00
shamoon
8bfe68743d Enhancement: support owner permissions for file tasks (#8195) 2024-11-20 20:25:53 +00:00
Kevin Doren
827121808a Enhancement: Add --compare-json option to document_exporter to write json files only if changed (#8261) 2024-11-19 07:20:24 -08:00
shamoon
e94a92ed59 Feature: two-factor authentication (#8012) 2024-11-18 18:34:46 +00:00