1468 Commits

Author SHA1 Message Date
Matthieu Helleboid
7f287bb311 fix json serialization bug after migration after to Pathlib) 2023-01-24 11:06:49 -08:00
Matthieu Helleboid
8d34fbc756 fix bug on administration exporter when using -d, --delete option 2023-01-24 11:06:49 -08:00
Matthieu Helleboid
b947f63fd9 add split-manifest option to administration exporter 2023-01-24 11:06:49 -08:00
Matthieu Helleboid
44d8bd3151 add prefix option to administration exporter 2023-01-24 11:06:49 -08:00
Matthieu Helleboid
42d4550d9c add no-archive and no-thumbnail options to administration exporter and importer 2023-01-24 11:06:49 -08:00
shamoon
7dad9f29a1 Merge pull request #2498 from paperless-ngx/fix-2496
Fix: limit asn integer size
2023-01-24 10:37:04 -08:00
Trenton H
f61536f74c Tweaks the resizing based on testing 2023-01-24 10:30:53 -08:00
Trenton H
68c9f7a614 Rescales images from PDFs so zbar can better find them 2023-01-24 10:30:53 -08:00
Trenton H
83c5e051fd Adjust the barcode to ASN range check and add test case to cover the check 2023-01-24 10:30:32 -08:00
Michael Shamoon
624675f7c9 Use 32bit integer for asn, unsigned Whoosh NUMERIC field
Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-01-24 10:13:05 -08:00
Michael Shamoon
462dffe25f Explicitly limit asn integer 2023-01-24 10:13:05 -08:00
shamoon
760c75ae4e Merge pull request #2494 from paperless-ngx/fix-2491
Fix: fix downgrade migration
2023-01-24 10:12:54 -08:00
Trenton H
f1da573a41 Also validate the ASN value is within a range the Whoosh schema can support 2023-01-24 09:43:52 -08:00
Trenton H
3251ba35d4 Adds given/when/then commenting and adds an end to end test to verify the read ASN is provided to the consumer 2023-01-24 09:43:52 -08:00
Trenton H
1102a18697 Use dataclasses to group data about barcodes in documents 2023-01-24 09:43:52 -08:00
Peter Kappelt
91b40710f1 Fail consumption when duplicate ASN is given
(rather than just logging warning)
2023-01-24 09:43:52 -08:00
Peter Kappelt
8ed3740c98 Extended tests for ASN barcode parsing 2023-01-24 09:43:52 -08:00
Peter Kappelt
252749a827 update existing tests to use modified barcode api 2023-01-24 09:43:52 -08:00
Peter Kappelt
147293a2cc Proper code formatting 2023-01-24 09:43:52 -08:00
Peter Kappelt
b865890bce Unified separator ans ASN barcode parsing
so that barcode parsing won't run twice
2023-01-24 09:43:52 -08:00
Peter Kappelt
099b8b8161 Feature: Parse ASN from barcode
ASN-Barcodes are identified by a configurable prefix
2023-01-24 09:43:52 -08:00
Peter Kappelt
f8f8cc7dd0 split function for reading barcode and separating pages 2023-01-24 09:43:52 -08:00
Michael Shamoon
cd9fb824ca make old paperlesstask name field nullable to fix downgrade migration 2023-01-23 13:31:01 -08:00
Michael Shamoon
00ba310afd Allow sorting tags by color 2023-01-17 07:53:58 -08:00
shamoon
ee9ea396a4 Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -08:00
Michael Shamoon
2c97ea9585 Better Handle arbitrary ISO 8601 strings with dateutil.parser.isoparse 2023-01-15 15:14:55 -08:00
Trenton H
873522fd82 Updates the exporter to use pathlib and add a few more tests for coverage 2023-01-14 06:33:12 -08:00
Trenton H
79f01c9a37 Fixes merge conflict 2023-01-11 07:52:58 -08:00
Trenton Holmes
f0773b9807 Fixes minor depracation I noticed 2023-01-11 07:52:58 -08:00
Trenton Holmes
3d42db7505 Simplifies file upload naming to use the document name, instead in needing to keep it around 2023-01-11 07:52:58 -08:00
shamoon
e1d52f4884 Merge pull request #2302 from paperless-ngx/feature-fix-display-rtl-content 2023-01-10 07:30:52 -08:00
Michael Shamoon
5f9beb9511 Merge branch 'dev' into feature-permissions 2023-01-06 18:04:00 -08:00
Trenton H
d58747c912 relock with Python 3.8.15 2023-01-06 17:59:39 -08:00
Michael Shamoon
edc92b9d92 Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -08:00
shamoon
34022f503c Merge pull request #2351 from paperless-ngx/feature-comment-search
Feature: include comments in advanced search
2023-01-05 18:48:51 -08:00
Trenton H
6f23cfe78c Resolves minor flake8 warnings in the test suite 2023-01-05 08:39:48 -08:00
Trenton H
8504b6f7da Cleans up and improves parser discovery testing, simplifies the determination of supported or not supported extensions and mime types 2023-01-05 08:39:48 -08:00
Trenton H
b91217064b Fixes some sample test files showing as modified after running tests 2023-01-05 08:39:48 -08:00
Michael Shamoon
ebcf75b1b4 comment search highlighting 2023-01-04 19:06:51 -08:00
Michael Shamoon
7d6dc5c954 Support comment search 2023-01-04 19:06:06 -08:00
Michael Shamoon
bc318416cf Use correct direction for RTL content 2023-01-03 12:42:57 -08:00
Michael Shamoon
a7563f935e Merge branch 'dev' into feature-permissions 2023-01-01 17:51:41 -08:00
Trenton Holmes
474433021e Adds testing coverage and fixing up post API tests 2022-12-30 14:00:40 -08:00
Trenton Holmes
de6cde2eaf Updates the post view to return the async task id. Adds query parameter to the tasks endpoint to get single task status 2022-12-30 13:43:49 -08:00
Michael Shamoon
dbca9cf671 Merge branch 'dev' into feature-permissions 2022-12-29 20:12:42 -08:00
Michael Shamoon
605480ab4a Merge branch 'dev' into feature-permissions 2022-12-17 20:05:12 -08:00
Michael Shamoon
c0c36aeae3 support tags__id__none for advanced search 2022-12-17 19:49:17 -08:00
shamoon
24029f27b4 Merge pull request #2004 from paperless-ngx/feature-export-to-zip
Feature: Adds option to allow a user to export directly to a zipfile
2022-12-16 09:12:38 -08:00
Trenton H
58d6ad96b7 Adds a basic admin view for tasks 2022-12-15 11:31:50 -08:00
Michael Shamoon
71e7c502f3 Fix bulk setting null owner / permissions 2022-12-14 00:47:54 -08:00