220 Commits

Author SHA1 Message Date
Jonas Winkler
548941b1bb added the filename handling back into the code 2020-11-08 13:00:45 +01:00
Jonas Winkler
5b3dbd8e6e allow document display with angular dev server 2020-11-04 17:26:49 +01:00
Jonas Winkler
64ee9a4941 updated settings: docker image runs without ENV variables 2020-11-03 12:23:24 +01:00
Jonas Winkler
749d152347 updated configuration 2020-11-02 21:59:36 +01:00
Jonas Winkler
157d440415 removed unused settings, migrations now match originals 2020-11-02 20:16:10 +01:00
Jonas Winkler
2a530accf7 renamed logger 2020-11-02 18:54:27 +01:00
Jonas Winkler
a89773ad71 removed unused code, small fixes 2020-11-02 18:20:04 +01:00
Jonas Winkler
def3a85858 reworked most of the tesseract parser, better logging 2020-11-02 15:40:44 +01:00
Jonas Winkler
6adc870a20 silenced unpaper, optipng for cleaner output
moved parser settings to settings
removed forgiving ocr (now default) since tesseract is plenty accurate even without defining the correct language.
2020-11-01 23:23:42 +01:00
Jonas Winkler
a5c2ed1d76 disabled session auth, breaks login 2020-10-29 23:15:59 +01:00
Jonas Winkler
933c327866 enabled session auth again, useful for the browsable rest api 2020-10-29 22:33:43 +01:00
Jonas Winkler
46d1fdc108 fixed folders, compatible with previous paperless version 2020-10-29 14:30:15 +01:00
Jonas Winkler
329ee5b593 small fixes 2020-10-29 00:36:39 +01:00
Jonas Winkler
28f81022c8 embed pdfs with object tag 2020-10-27 18:52:57 +01:00
Jonas Winkler
ba210d3b5e changed a few things 2020-10-27 17:08:18 +01:00
Jonas Winkler
39992fd0cc moved media location 2020-10-27 11:40:00 +01:00
Jonas Winkler
e24baf5811 added whitenoise again 2020-10-27 01:09:50 +01:00
Jonas Winkler
d3af1e8815 unified data folders 2020-10-26 00:35:24 +01:00
Jonas Winkler
93d963ed4e added
- document index
- api access for thumbnails/downloads
- more api filters

updated
- pipfile

removed
- filename handling
- legacy thumb/download access
- obsolete admin gui settings (per page items, FY, inline view)
2020-10-25 23:03:02 +01:00
Jonas Winkler
d365e8ac22 removed reminders, changed a bunch of stuff 2020-10-20 00:35:27 +02:00
Jonas Winkler
b170eaef69 Removed a bunch of stuff thats not needed anymore with the new gui. 2020-10-17 02:07:27 +02:00
Jonas Winkler
b71049ad16 Merge branch 'master' into dev 2020-10-16 15:02:57 +02:00
JOKer
5f8120add1 Merge pull request #593 from BastianPoe/feature-293
Give stored documents a structured and configurable filename
2020-05-02 08:33:49 +02:00
Johannes Wienke
2bf709568d Bump dependency versions
Not all dependencies work well on Alpine 3.11. Thus, bump dependencies and lock
again.

Due to also updating the CORS packages while dependency locking, the
CORS_ORIGIN_WHITELIST had to be changed to valid URIs, which are now required
by the respective packages.
2020-03-01 10:59:59 +01:00
Wolf-Bastian Poettner
a5518a307c Unified PAPERLESS_DIRECTORY_FORMAT and PAPERLESS_FILENAME_FORMAT into
one configuration setting
2020-02-01 20:09:36 +00:00
Wolf-Bastian Poettner
d1a54d6576 Allows to configure directory and filename formats for documents stored in paperless
Default configuration is as before (incrementing numbers), but additional fields can be added at will
2019-12-27 14:25:38 +00:00
Daniel Quinn
882c3b7083 Merge pull request #542 from grembo/master
Allow configuring transformations to be applied to the filename before
2019-09-09 20:53:45 +01:00
Michael Gmelin
9ff467eb9b Address review comments by @danielquinn 2019-09-08 17:00:02 +02:00
Michael Gmelin
14b81c613c 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
Florian Gabsteiger
dac1e9533a Adjust requirements 2019-08-07 21:38:54 +02:00
Florian Gabsteiger
5d9c3ed520 Add http to cors origin whitelist as this is required with new version 2019-08-06 12:26:14 -09:00
Florian Gabsteiger
59e556a830 Activate whitenoise and static file compression and caching 2019-07-24 13:26:28 -09:00
Jonas Winkler
8cb25069d7 layout changes, removed irrelevant test cases 2019-05-23 18:25:23 +02:00
Jonas Winkler
5dda05d712 Merge branch 'master' into dev 2019-05-21 13:06:16 +02:00
JensPfeifle
4c64ea0404 Add GS_BINARY to settings to avoid harcoded call of "gs" 2019-03-03 20:31:52 +01:00
Daniel Quinn
4a5b0b6454 Update dependencies & add djangoql 2019-01-27 13:39:56 +00:00
Stéphane Brunner
711c0925e1 Add and configure DjangoQL 2019-01-26 22:15:28 +01:00
Jonas Winkler
acc144de62 Merge branch 'master' into dev 2019-01-21 15:07:49 +01:00
Daniel Quinn
ee2941a31b Add the new logo
I bought this logo from the excellent logojoy.com site, and am including
the source files here to be covered under the project license (GPL).
2018-12-30 12:20:08 +00:00
Jonas Winkler
f711b146e1 Merge branch 'master' into dev 2018-12-11 12:38:15 +01:00
Jonas Winkler
7d717735fe minor changes 2018-12-11 12:26:44 +01:00
Jonas Winkler
8f0d53c54a Merge remote-tracking branch 'upstream/master' 2018-12-11 12:06:15 +01:00
Daniel Quinn
fa783e4f4a Merge pull request #451 from speshak/remote_pg
Add DBHOST & DBPORT parameters to settings
2018-12-06 23:38:50 +00:00
Scott Peshak
2cad1b47cb Add DBHOST & DBPORT parameters
Resolves #445
2018-12-02 15:20:29 -06:00
Joshua Taillon
b0326b5a19 Merge branch 'master' of github.com:danielquinn/paperless into ENH_filename_date_parsing 2018-11-15 23:17:59 -05:00
Joshua Taillon
a2422cc529 Add option for parsing of date from filename (and associated tests) 2018-11-15 20:32:15 -05:00
Daniel Quinn
f1a4141df5 Allow an infinite number of logs to be deleted. 2018-11-03 10:25:51 +00:00
Daniel Quinn
bc898c1992 Use optipng to optimise document thumbnails 2018-10-07 14:56:38 +01:00
Jonas Winkler
b71657964b Code style changes 2018-09-26 10:51:42 +02:00
Jonas Winkler
efc7bf1d23 Code style adjustments 2018-09-25 16:09:33 +02:00