577 Commits

Author SHA1 Message Date
Trenton H
c5aa4e7cf6 When a StoragePath is changed, check if related documents require a rename 2023-02-18 12:19:33 -08:00
shamoon
c9ea57a142 Merge branch 'dev' into feature-permissions 2023-02-16 20:44:51 -08:00
Trenton H
a9c77216b2 Updates ignore path filtering so files in a folder in an ignored folder will be ignored correctly 2023-02-16 09:05:11 -08:00
shamoon
1332d9a389 Merge branch 'dev' into feature-permissions 2023-02-14 11:32:37 -08:00
shamoon
7c7e18f37e Add missing storage path placeholders 2023-02-12 02:01:44 -08:00
Trenton Holmes
7fbcc4f97e Fixes up some minor warnings from test code 2023-02-11 14:35:16 -08:00
Trenton H
09ac404148 Adding more test coverage, in particular around Tika and its parser 2023-02-05 11:01:55 -08:00
shamoon
e6d6efa903 Merge branch 'dev' into feature-permissions 2023-02-03 14:23:50 -08:00
Trenton H
cdd213b0e6 Detect and reset invalid ASNs to 0 during indexing with a loud error to the user 2023-02-03 08:31:45 -08:00
Fabian Ohler
c08b19c7a9 Feature: split documents on ASN barcode (#2554)
* also split documents when an ASN barcode is found

* linter

* fix test case parameters

* avoid pre-python-3.9 features

* simplify dict-creation in tests

* simplify dict-creation in tests for empty dicts

* Add test cases for the splitting by ASN barcode feature

* deleted supporting files for test case construction
2023-02-01 01:13:30 -08:00
Trenton H
3b01fca6fa Fixes commenting error 2023-01-31 12:53:46 -08:00
Trenton H
d35eb8d7bc Fixes relative date Whoosh queries and adds testing to ensure it remains working with multiple timezones 2023-01-31 12:53:46 -08:00
Trenton H
401b0981ee A few minor tweaks to the backend 2023-01-30 14:37:09 -08:00
Trenton H
5941c22c33 Changes the consumer to work on a temporary copy and provies that copy to the pre-consume script for modifications 2023-01-29 08:37:32 -08:00
Trenton H
e3182aa9df Minor tweak to password test to ensure the right lines were hit 2023-01-27 12:24:47 -08:00
Trenton H
781049aec9 Moves ASN barcode testing into a dedicated class 2023-01-27 12:24:47 -08:00
Trenton H
b19ada7a41 Removes pikepdf based scanning, fixes up unit testing (+ commenting) 2023-01-27 12:24:47 -08:00
Michael Shamoon
9812e38bc5 Merge branch 'dev' into feature-permissions 2023-01-24 14:10:45 -08:00
Matthieu Helleboid
23157b8050 replace --use-filename-prefix with --use-folder-prefix 2023-01-24 11:06:49 -08:00
Matthieu Helleboid
eef0948477 add warning about --no-archive & --no-thumbnails options
add given_when_then informaiton to tests
add use_filename_prefix test
clear documents before importing in tests
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
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
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
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
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
shamoon
ee9ea396a4 Merge branch 'dev' into feature-permissions 2023-01-16 15:59:25 -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 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
Michael Shamoon
edc92b9d92 Merge branch 'dev' into feature-permissions 2023-01-05 19:45:12 -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
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
Michael Shamoon
605480ab4a Merge branch 'dev' into feature-permissions 2022-12-17 20:05:12 -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
Michael Shamoon
71e7c502f3 Fix bulk setting null owner / permissions 2022-12-14 00:47:54 -08:00
Michael Shamoon
205f868ad2 Merge branch 'dev' into feature-permissions 2022-12-13 06:57:33 -08:00
Trenton H
5030a5212e Switches task serialization over to pickle format 2022-12-12 15:37:01 -08:00
Michael Shamoon
b55f43df84 Support bulk edit owner 2022-12-09 17:51:01 -08:00
Michael Shamoon
5005f251fb Merge branch 'dev' into feature-permissions 2022-12-09 03:31:26 -08:00
Trenton Holmes
447a892f17 Documents the test conditions 2022-12-08 18:32:14 -08:00
Trenton Holmes
9a89fe455c Adds an optional API field to follow the filenaming format when creating a bulk download zip 2022-12-08 18:32:14 -08:00
Michael Shamoon
42a5ac3936 Bulk edit permissions 2022-12-08 02:03:50 -08:00
Michael Shamoon
692f43f43e Refactor permissions API endpoints, UI group permissions 2022-12-08 00:05:16 -08:00
Michael Shamoon
5dc14449f9 fix tests for auth 2022-12-07 08:04:51 -08:00