1137 Commits

Author SHA1 Message Date
Michael Gmelin
4f85d9ed9f Add unit test for PAPERLESS_FILENAME_PARSE_TRANSFORMS feature. 2019-09-08 20:58:13 +02:00
Michael Gmelin
3b88d6722a Address review comments by @danielquinn 2019-09-08 17:00:02 +02:00
Michael Gmelin
f0320fb72d Allow configuring transformations to be applied to the filename before
parsing. The motivation was that files produced by a Brother scanner
wouldn't match paperless' expectations. At most one transformation
is applied (first matching). It won't affect the filename on disk.

This is generic enough so that it is useful for various purposes.
In my case it allows me to use the different hardware buttons on
the scanner to use different profiles, feeding one instance of
paperless with documents of multiple entities and tagging them
accordingly.

Example:

PAPERLESS_FILENAME_PARSE_TRANSFORMS=[{"pattern":"^([a-z]+)_(\\d{8})_(\\d{6})_([0-9]+)\\.", "repl":"\\2\\3Z - \\4 - \\1."},{"pattern":"^([a-z]+)_([0-9]+)\\.", "repl":" - \\2 - \\1."}]
2019-08-31 15:01:25 +02:00
JOKer
8e6d7cba13
Merge pull request #541 from the-paperless-project/feature/add-stackshare-badge
Add a StackShare badge
2019-05-18 11:49:16 +02:00
Daniel Quinn
30db078918 Use https for the StackShare badge 2019-05-16 16:47:46 +01:00
Daniel Quinn
c1c4062700
Merge pull request #525 from stgarf/patch-1
Update README.md to add a reference to paperless-cli
2019-05-16 16:31:44 +01:00
Daniel Quinn
878e8ad479
Merge pull request #540 from erikarvstedt/master
requirements.txt: bring back Linux-only restriction for inotify-simple
2019-05-16 16:29:39 +01:00
Daniel Quinn
35e64a8c94
Add a StackShare badge
Fixes #538
2019-05-16 10:14:15 +01:00
Erik Arvstedt
9afde62964 requirements.txt: bring back Linux-only restriction for inotify-simple
Fixes #418
2019-05-07 12:13:42 +02:00
ahyear
351809b8a9
Merge pull request #532 from sbrunner/docker-deploy
Proposal to deploy Docker image on each commit on master
2019-04-25 14:52:03 +02:00
Stéphane Brunner
83e045a120 Deploy Docker image 2019-04-15 09:06:37 +02:00
ahyear
0cc5d8b891
Merge pull request #521 from JensPfeifle/update_github_links
Update links to reflect move from danielquinn to the-paperless-project
2019-04-04 11:16:05 +02:00
ahyear
1245297939
Merge pull request #533 from domphonallmen/patch-1
avoid error when decrypting files with non-ascii character
2019-04-02 16:42:02 +02:00
Dominik von Allmen
e92f736b5b
Update change_storage_type.py 2019-04-02 14:12:00 +02:00
domphonallmen
117726ec72
avoid error when decrypting files with non-ascii character 2019-04-02 11:38:00 +02:00
JensPfeifle
dc5eb1387e update coveralls link 2019-04-01 19:50:27 +02:00
ahyear
7687e7ca53
Merge pull request #530 from schwabelbauch/master
Fix issue where additional tesseract langages weren't installed by docker-entrypoint.sh
2019-04-01 11:29:11 +02:00
schwabelbauch
ba5241619a
Update docker-entrypoint.sh
fixed issue with installing tesseract languages
2019-03-27 22:22:20 +01:00
JOKer
6e115bf2e6
Merge pull request #527 from sbrunner/strip
Strip and trim the thumbnails
2019-03-18 19:32:41 +01:00
Stéphane Brunner
daca77cc1b Strip the thumbnails 2019-03-17 16:37:47 +01:00
stgarf
b7699c61d9
Update README.md 2019-03-10 09:49:43 -07:00
Pit
7a9d985240
Merge pull request #509 from bebehei/docker
Sort package arguments in Dockerfile
2019-03-10 11:13:56 +01:00
JOKer
305d50d7ed
Merge pull request #494 from JensPfeifle/fix_447
fix parse error of some documents by using gs
2019-03-08 21:45:25 +01:00
ahyear
a066ad246f
Merge pull request #510 from stgarf/patch-1
* Docs: Add docs about enabling and disabling encryption
2019-03-07 13:44:16 +01:00
jenspfeifle
19045f3667 revert docker hub link to danielquinn 2019-03-05 22:24:35 +01:00
jenspfeifle
fbe83565e2 revert gitter link to danielquinn 2019-03-05 22:18:26 +01:00
jenspfeifle
882b6a93bb update links to reflect move to the-paperless-project 2019-03-05 22:05:44 +01:00
jenspfeifle
362570ca0d update links to reflect move to the-paperless-project 2019-03-05 21:54:59 +01:00
Pit
90942f9b33
Merge pull request #519 from taoyichen/patch-1
Update Link
2019-03-04 10:25:37 +01:00
Pit
018c1c79a1
Change link to https
Change linkfrom http to https

Co-Authored-By: taoyichen <ytao15@binghamton.edu>
2019-03-03 14:56:51 -05:00
jenspfeifle
336f747f16 make pycodestyle happy 2019-03-03 20:41:17 +01:00
JensPfeifle
29b0886950 try to run convert, but fall back on gs if needed 2019-03-03 20:31:52 +01:00
JensPfeifle
ea282c22ba Add GS_BINARY to settings to avoid harcoded call of "gs" 2019-03-03 20:31:52 +01:00
Pit
cbf008f37b Fix quoting in call to run_convert
Co-Authored-By: JensPfeifle <jens@pfeifle.tech>
2019-03-03 20:31:52 +01:00
JensPfeifle
50504c3fd8 remove unnecessary env arg in Popen 2019-03-03 20:31:52 +01:00
Jens Pfeifle
0220199766 fix parse error of some documents by using gs 2019-03-03 20:31:52 +01:00
Pit
3db98faf5c
Merge pull request #499 from bmsleight/screenshots
* Docs: Add web interface screenshots
2019-03-03 19:57:57 +01:00
Pit
8d4057e396
Merge pull request #502 from bmsleight/scanner_new
* Docs: Add MFC-J5910DW to recommended scanners
2019-03-03 19:54:03 +01:00
Pit
7bf1d2883c
Update docs/utilities.rst
Co-Authored-By: stgarf <stgarf@users.noreply.github.com>
2019-03-03 10:46:43 -08:00
Pit
44878f28fa
Update docs/utilities.rst
Co-Authored-By: stgarf <stgarf@users.noreply.github.com>
2019-03-03 10:46:06 -08:00
Pit
14d7adbd0a
Update docs/utilities.rst
Co-Authored-By: stgarf <stgarf@users.noreply.github.com>
2019-03-03 10:45:58 -08:00
Steve Garf
aed8d6ae41 Fix missing . in underline 2019-03-03 10:31:50 -08:00
ahyear
70ecc90e49
Merge pull request #518 from juanjosepablos/patch-1
Update README.md
2019-03-03 10:36:50 +01:00
YICHEN TAO
4fc40d3ce4
Update Link
A link in this file is not working, updated to a working link.
2019-03-02 22:24:34 -05:00
Juan Jose Pablos
ac5f2c6770
Update README.md 2019-03-02 21:24:03 +01:00
Benedikt Heine
557d730974 Build docker image in Travis 2019-02-18 23:10:51 +01:00
Benedikt Heine
a590fdaec6 Sort package arguments in Dockerfile
This applies the Dockerfile best practices from dockerhub.

Also it adds `--no-cache` to the `apk add` calls. This has got the same effect
like `apk update`, but doesn't store the package lists in the container.
2019-02-18 10:52:56 +01:00
stgarf
76a9827958
Add docs about enabling and disabling encryption
Adding docs outlining basic syntax of enabling and disabling encryption of your paperless document installation.
2019-02-16 23:25:40 -08:00
bmsleight
af01ca91ba forget the screenshots.rst! 2019-02-07 18:40:14 +00:00
bmsleight
22224a3c38 * Docs: Add MFC-J5910DW to recommended scanners 2019-02-06 20:56:05 +00:00