168 Commits

Author SHA1 Message Date
jonaswinkler
938499706c fixed an issue with the search api opening the index on import (that's way too early.) 2020-11-27 13:59:24 +01:00
Jonas Winkler
6f30ceea38 GnuPG for archive file. 2020-11-25 20:16:27 +01:00
Jonas Winkler
17a581495c proper filenames for originals and archived documents 2020-11-25 18:01:29 +01:00
Jonas Winkler
81aaadb2a3 codestyle 2020-11-25 17:23:57 +01:00
Jonas Winkler
cb9e5b5ee3 Add metadata field: has archive version 2020-11-25 17:18:57 +01:00
Jonas Winkler
af99cbccd9 Merge branch 'dev' into feature-ocrmypdf 2020-11-25 17:17:14 +01:00
Jonas Winkler
97639508cb Basic support for metadata added. Fixes 404 for actions on invalid document ids. 2020-11-25 17:16:04 +01:00
Jonas Winkler
95ec520f13 api serves archive files by default. 2020-11-25 14:48:36 +01:00
Jonas Winkler
b44f8383e4 code cleanup 2020-11-21 14:03:45 +01:00
Jonas Winkler
41650f20f4 mime type handling 2020-11-20 13:31:03 +01:00
Jonas Winkler
e0bd6a7c5b fixed some deprecation warnings 2020-11-17 22:31:43 +01:00
Jonas Winkler
09950ca199 more tests 2020-11-17 14:20:28 +01:00
Jonas Winkler
5944ac2e70 fix codestyle issue 2020-11-14 11:43:37 +01:00
Jonas Winkler
d398030396 fixes the docker build. also: proper 404 for missing documents/thumbnails 2020-11-13 22:31:39 +01:00
Jonas Winkler
2e04ba1c04 code style fixes 2020-11-12 21:09:45 +01:00
Jonas Winkler
54f04650d1 fixed an issue with the searcher. 2020-11-10 01:47:35 +01:00
Jonas Winkler
7747e6512a moved some code 2020-11-08 11:30:16 +01:00
Jonas Winkler
942fab7298 I removed the model save/delete hooks for index updates since they were causing too much trouble with migrations 2020-11-08 11:24:57 +01:00
Jonas Winkler
3378ac1487 forgot a sort field 2020-11-08 00:42:39 +01:00
Jonas Winkler
2de4f27278 removed pinpoint fragmenter as it was screwing up highlighting 2020-11-04 17:26:26 +01:00
Jonas Winkler
a2fd1afa80 disabled fuzzy matching since it screwed up scored results (?) 2020-11-04 01:00:21 +01:00
Jonas Winkler
c502d4055d fixes #11 and some server side warnings 2020-11-04 00:33:29 +01:00
Jonas Winkler
2ff5487510 paginated search results 2020-11-02 12:23:50 +01:00
Jonas Winkler
2b0b3a70a7 logging: don't group by logging_group 2020-11-02 01:24:56 +01:00
Jonas Winkler
d67eacdd6f basic statistics 2020-10-31 00:56:20 +01:00
Jonas Winkler
5c4849796b fixed folders, compatible with previous paperless version 2020-10-29 14:30:15 +01:00
Jonas Winkler
47cf5655b3 implement api file uploading (basic) 2020-10-27 17:35:52 +01:00
Jonas Winkler
653edc1fdc added autocomplete to backend 2020-10-27 17:07:13 +01:00
Jonas Winkler
052c1680f3 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
e1ae068cda some more api changes 2020-10-21 12:53:14 +02:00
Jonas Winkler
421dab786d Merge branch 'master' into dev 2020-10-16 15:02:57 +02:00
Johann Bauer
a4573a8de8 Add PDF preview next to edit form 2020-02-23 20:19:45 +01:00
Jonas Winkler
32f3876590 Merge branch 'master' into dev 2019-05-21 13:06:16 +02:00
CkuT
79868930f1 Add Cache-Control header for thumbnails
This drastically optimizes admin interface loading by telling the browser to cache thumbnails. The max-age recommendation is 1 year according to rfc2616
Closes #411
2019-01-21 20:59:40 +01:00
Jonas Winkler
4bd018df07 Merge branch 'master' into dev 2019-01-21 15:07:49 +01:00
khrise
0c47907dda Exposing documents' "added" timestamp via Rest API. 2019-01-03 20:23:34 +00: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
ef0d37985b Merge branch 'master' into dev 2018-09-12 11:47:35 +02: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
Jonas Winkler
11adc94e5e mode change 2018-09-06 12:00:01 +02:00
Joshua Taillon
652ead2f5c remove debugging print statement 2018-09-05 23:05:37 -04:00
Joshua Taillon
22378789e2 add option for inline vs. attachment for document rendering 2018-09-05 22:58:38 -04:00
Jonas Winkler
131e1c9dd8 fixed the api 2018-09-05 15:25:14 +02:00
Joshua Taillon
4849249d86 explicitly add txt, md, and csv types for consumer and viewer; fix thumbnail generation 2018-09-03 23:46:13 -04:00
Daniel Quinn
cdc07cf153 Move the encrypt/decrypt decision out of db and into the view 2018-05-28 12:58:28 +01:00
Daniel Quinn
273916973c Remove superfluous code 2018-02-04 13:27:26 +00:00
Daniel Quinn
6f635c74fc Fix HTTP POST of documents
After tinkering with this for about 2 hours, I'm reasonably sure this
ever worked.  This feature was added by me in haste and poked by by the
occasional contributor, and it suffered from neglect.

* Removed the requirement for signature generation in favour of simply
  requiring BasicAuth or a valid session id.
* Fixed a number of bugs in the form itself that would have ensured that
  the form never accepted anything.
* Documented it all properly so now (hopefully) people will have less
  trouble figuring it out in the future.
2017-06-11 01:23:37 +01:00
Daniel Quinn
426919fa9f refactor: break document-only stuff into the paperless app
The `SessionOrBasicAuthMixin` and `StandardPagination` classes were
living in the documents app and I needed them in the new `reminders`
app, so this commit breaks them out of `documents` and puts them in the
central `paperless` app instead.
2017-03-25 16:18:34 +00:00
Thomas Brüggemann
060d3011f7 The /fetch endpoint can be authenticated via session or via HTTP basic now. 2017-01-08 20:09:51 +01:00