Commit Graph

225 Commits

Author SHA1 Message Date
Jonas Winkler 421dab786d Merge branch 'master' into dev 2020-10-16 15:02:57 +02:00
JOKer 8698f92ac9 Merge pull request #593 from BastianPoe/feature-293
Give stored documents a structured and configurable filename
2020-05-02 08:33:49 +02:00
David Martin 5e849a85a5 Merge pull request #597 from bauerj/pdf-preview
Add PDF preview next to edit form
2020-04-02 00:01:00 +10:00
Johannes Wienke cf4836ad07 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
Johann Bauer a4573a8de8 Add PDF preview next to edit form 2020-02-23 20:19:45 +01:00
Wolf-Bastian Poettner 6a671ebd22 Unified PAPERLESS_DIRECTORY_FORMAT and PAPERLESS_FILENAME_FORMAT into
one configuration setting
2020-02-01 20:09:36 +00:00
Wolf-Bastian Poettner 6813805712 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 1c956652f3 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 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
Florian Gabsteiger 30b18df71c Adjust requirements 2019-08-07 21:38:54 +02:00
Florian Gabsteiger 2efd278ee9 Add http to cors origin whitelist as this is required with new version 2019-08-06 12:26:14 -09:00
Florian Gabsteiger 528b4ac2f0 Activate whitenoise and static file compression and caching 2019-07-24 13:26:28 -09:00
Jonas Winkler 292959d856 layout changes, removed irrelevant test cases 2019-05-23 18:25:23 +02:00
Jonas Winkler 32f3876590 Merge branch 'master' into dev 2019-05-21 13:06:16 +02:00
JensPfeifle ea282c22ba Add GS_BINARY to settings to avoid harcoded call of "gs" 2019-03-03 20:31:52 +01:00
Daniel Quinn b4b7d167d1 Update dependencies & add djangoql 2019-01-27 13:39:56 +00:00
Stéphane Brunner 4efb153e86 Add and configure DjangoQL 2019-01-26 22:15:28 +01:00
Jonas Winkler 4bd018df07 Merge branch 'master' into dev 2019-01-21 15:07:49 +01:00
Daniel Quinn ff5b34179a Bump version 2018-12-30 12:44:26 +00:00
Daniel Quinn 1ff06d0dd9 Fix .gitignore exclusion that hid the logos 2018-12-30 12:39:07 +00:00
Daniel Quinn 4ad6813d11 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 872d657361 Version bumb 2018-12-11 14:32:30 +01:00
Jonas Winkler ea58c66fd4 Merge branch 'master' into dev 2018-12-11 12:38:15 +01:00
Jonas Winkler bcd9220021 minor changes 2018-12-11 12:26:44 +01:00
Jonas Winkler 766109ae4e Merge remote-tracking branch 'upstream/master' 2018-12-11 12:06:15 +01:00
Daniel Quinn 3c2a1a8c13 Merge pull request #451 from speshak/remote_pg
Add DBHOST & DBPORT parameters to settings
2018-12-06 23:38:50 +00:00
Scott Peshak d12f0642f2 Add DBHOST & DBPORT parameters
Resolves #445
2018-12-02 15:20:29 -06:00
Daniel Quinn e3a616ebc3 Version bump 2018-12-01 17:12:34 +00:00
Joshua Taillon 730daa3d6d Merge branch 'master' of github.com:danielquinn/paperless into ENH_filename_date_parsing 2018-11-15 23:17:59 -05:00
Joshua Taillon e1d8744c66 Add option for parsing of date from filename (and associated tests) 2018-11-15 20:32:15 -05:00
Daniel Quinn d825667c9b Allow an infinite number of logs to be deleted. 2018-11-03 10:25:51 +00:00
Daniel Quinn 2ef2bf873e Version bump: 2.5.0 2018-10-07 16:30:36 +01:00
Daniel Quinn ce5e8b2658 Rework user hack for "login-free" sessions #394 2018-10-07 16:27:41 +01:00
Daniel Quinn 750ab5bf85 Use optipng to optimise document thumbnails 2018-10-07 14:56:38 +01:00
Daniel Quinn e4044d0df9 Update version number & changelog 2018-10-01 20:40:32 +01:00
Jonas Winkler 7257cece30 Code style changes 2018-09-26 10:51:42 +02:00
Jonas Winkler 60618381f8 Code style adjustments 2018-09-25 16:09:33 +02:00
Jonas Winkler 94ede7389d Merge remote-tracking branch 'upstream/master' 2018-09-25 14:47:12 +02:00
Daniel Quinn b20d7eca03 Tweak settings.py to allow for TRUST-based PostgreSQL auth 2018-09-23 14:01:15 +01:00
Daniel Quinn 4130dd3465 Conform code to standards 2018-09-23 12:41:28 +01:00
Jonas Winkler fb6f2e07c9 Added a bunch of new features:
- Debug mode is now configurable in the configuration file. This way, we don't have to edit versioned files to disable it on production systems.
- Recent correspondents filter (enable in configuration file)
- Document actions: Edit tags and correspondents on multiple documents at once
- Replaced month list filter with date drilldown
- Sortable document count columns on Tag and Correspondent admin
- Last correspondence column on Correspondent admin
- Save and edit next functionality for document editing
2018-09-13 15:19:25 +02:00
Jonas Winkler 8d003a6a85 Save and edit next button appears on documents without viewer as well.
Made the new recent correspondents filter optional. Disabled by default.
2018-09-13 13:10:05 +02:00
Jonas Winkler 7c589f71a4 Fixed a few minor issues. 2018-09-12 16:25:23 +02:00
Jonas Winkler ef0d37985b Merge branch 'master' into dev 2018-09-12 11:47:35 +02:00
Jonas Winkler 17803e7936 fixed settings 2018-09-11 17:30:46 +02:00
Jonas Winkler e72735c4f0 Merge remote-tracking branch 'upstream/master' 2018-09-11 14:43:59 +02:00
Daniel Quinn 2edf65dd1e Bump to 2.3.0 2018-09-09 21:51:44 +01:00
Daniel Quinn 7cef108785 Streamline how we handle boolean values in settings.py 2018-09-09 21:22:07 +01:00
Daniel Quinn f94347abc0 Merge branch 'ENH_config_inline_or_attach' of git://github.com/jat255/paperless into jat255-ENH_config_inline_or_attach 2018-09-09 21:15:14 +01:00