Commit Graph

111 Commits

Author SHA1 Message Date
Fabian Koller d9e06958dc DEBUG - force flush 2nd try 2021-01-30 12:50:49 +01:00
Fabian Koller 21c501de28 force flush on temp file during consumption
file.write() does not guarantee that a file handle contains anything
without calling an accompanying file.flush()
For typical files that are larger than the OS-file buffer, this is no
problem
For small files (e.g. 64 characters in a .TXT), this race condition
leads to `inode/x-empty` because the file inode is created, but no
content is written to it
2021-01-30 11:51:43 +01:00
jonaswinkler aeb10d3407 fixes duplicate documents with tags__id__in 2021-01-21 12:07:50 +01:00
jonaswinkler 40842689fd Better deal with non-existing documents when searching 2021-01-13 13:34:52 +01:00
jonaswinkler 9b3bc62132 fix broken webmanifest 2021-01-07 00:08:34 +01:00
jonaswinkler bf198f37db fix locale discovery by django app 2021-01-02 01:19:06 +01:00
jonaswinkler 5395208b00 add initial localization support for the front end #215 2020-12-30 00:26:06 +01:00
jonaswinkler 6d4aa76405 fixes #196 2020-12-28 15:59:06 +01:00
jonaswinkler 9e311241b3 rename some stuff 2020-12-28 12:31:14 +01:00
jonaswinkler 802bd7fb0d client support for selection data 2020-12-27 12:54:47 +01:00
jonaswinkler 320298e3ff add api method to get selection data 2020-12-27 12:43:05 +01:00
jonaswinkler 38156123d4 Merge branch 'dev' into feature-bulk-edit 2020-12-21 23:20:55 +01:00
jonaswinkler 665863e395 Display name of current user on the dashboard 2020-12-20 17:18:23 +01:00
jonaswinkler 75b22e8684 Merge branch 'dev' into feature-bulk-edit 2020-12-18 00:38:31 +01:00
jonaswinkler ca2cb694d0 code style 2020-12-18 00:10:16 +01:00
jonaswinkler 43c88ae0f0 Merge branch 'dev' into feature-more-like-this 2020-12-18 00:02:30 +01:00
jonaswinkler 2c3eaadbce test cases 2020-12-17 23:24:28 +01:00
jonaswinkler 48796e6961 fixes #149 2020-12-17 21:46:56 +01:00
jonaswinkler 164418880a more like this searching 2020-12-17 21:36:21 +01:00
jonaswinkler aa8789ae31 fix up the migration for encrypted documents and a couple other associated issues. 2020-12-16 21:53:11 +01:00
jonaswinkler 8b57967836 Merge branch 'dev' into feature-bulk-edit 2020-12-15 03:13:22 +01:00
jonaswinkler dfa1f29809 add backend support for saved views 2020-12-12 15:46:56 +01:00
jonaswinkler 66240188c7 import fix 2020-12-11 14:51:20 +01:00
jonaswinkler 4b0027797a bulk edit view 2020-12-11 14:30:18 +01:00
jonaswinkler 66d6d29c23 add support to the documents api to only serve selected fields 2020-12-11 14:29:43 +01:00
jonaswinkler abd54eeb3a Merge branch 'dev' into feature-bulk-edit 2020-12-10 15:56:03 +01:00
jonaswinkler 2f7bb01f34 moved metadata extraction to the parsers 2020-12-10 14:57:53 +01:00
jonaswinkler 0028fde2fd more metadata #32 2020-12-08 16:09:47 +01:00
jonaswinkler ad527fe97c reading and displaying PDF metadata 2020-12-08 15:45:02 +01:00
jonaswinkler eede5595e9 better error messages for file uploads. adresses #91 2020-12-06 22:31:12 +01:00
jonaswinkler 28622d700d changed the way public filenames (i.e., for download and exporting) are generated. #94 2020-12-06 19:03:45 +01:00
jonaswinkler 5369e0be03 more bulk edit 2020-12-06 14:39:53 +01:00
jonaswinkler 8699b6931c Merge branch 'dev' into feature-bulk-edit 2020-12-06 02:12:15 +01:00
jonaswinkler 8b16cd99dc updated the API, it now supports tags, correspondents, types and title when uploading documents. 2020-12-03 18:36:23 +01:00
jonaswinkler aaa6599283 Merge branch 'dev' into feature-ocrmypdf 2020-11-30 16:48:09 +01:00
jonaswinkler e1853583b0 changelog, codestyle 2020-11-30 16:25:10 +01:00
jonaswinkler b03d4c7646 searching for types and dates, error catching, documentation and changelog. 2020-11-30 16:13:35 +01:00
jonaswinkler 1ef12d2cbc searching for tags, spelling corrections fixes #74 2020-11-30 15:14:23 +01:00
jonaswinkler 35124023f0 basic support for bulk editing. 2020-11-30 13:59:13 +01:00
jonaswinkler fd4c9a1758 not sure if this works 2020-11-29 23:00:52 +01:00
jonaswinkler 6388d19f7a Merge branch 'dev' into feature-ocrmypdf 2020-11-27 19:16:59 +01:00
jonaswinkler bc4192e7d1 more tests and bugfixes. 2020-11-27 15:36:32 +01:00
jonaswinkler ea9de1bcf1 Merge branch 'dev' into feature-ocrmypdf 2020-11-27 14:03:19 +01:00
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