707 Commits

Author SHA1 Message Date
Trenton H
98811df439 Make the importer a little more robust against some types of errors 2023-04-26 07:08:50 -07:00
shamoon
ceb985057c Respect permissions on document view actions 2023-04-25 22:49:37 -07:00
shamoon
8c39514aab Merge branch 'main' into dev 2023-04-24 13:10:18 -07:00
shamoon
5bada2aeb5 Update testing for ignore macOS directory services file 2023-04-18 19:10:03 -07:00
shamoon
a91afc4bbe Update paperlesstask on hard consumption failures 2023-04-09 20:40:16 -07:00
Trenton Holmes
93f5b989a4 Fixes barcode tests not running 2023-04-01 17:38:18 -07:00
Trenton H
d2c02b9102 Configures ruff as the one stop linter and resolves warnings it raised 2023-04-01 17:03:52 -07:00
Trenton H
36a6df0bae Creates a data model for the document consumption, allowing stronger typing of arguments and setting of some information about the file only once 2023-04-01 11:05:34 -07:00
Trenton H
899f3ba9fc Merge remote-tracking branch 'origin/dev' into feature-multiple-barcode-scanners 2023-03-29 09:40:10 -07:00
Trenton H
f124228e86 Instead of using PIL directly to convert TIFF to PDF, use the existing library of img2pdf 2023-03-20 13:48:05 -07:00
Marvin Gaube
cca607f7b8 fix: skip tiff tests for zxing 2023-03-20 20:59:59 +01:00
shamoon
c37abbb864 Merge pull request #2910 from paperless-ngx/feature-improved-statistics-widget
Feature: Improved statistics widget
2023-03-19 23:34:19 -07:00
Marvin Gaube
c66a0ec82e feature: Add support for zxing as barcode scanning lib 2023-03-19 13:48:35 +01:00
shamoon
5108bbc192 Rename comments --> notes 2023-03-18 13:59:17 -07:00
shamoon
74c733b887 Improved statistics widget 2023-03-18 01:51:18 -07:00
Trenton Holmes
b78d87f44a Adds owner and original name to the possible naming schemes 2023-03-12 15:29:58 -07:00
Trenton H
6f5c2fa2fc Comment up the testing a bit more 2023-03-09 08:43:31 -08:00
shamoon
d8625c057b API should 400 on unique violations 2023-03-08 20:16:21 -08:00
shamoon
710e9e2c78 Add test coverage for owner-aware unique constraints 2023-03-08 19:07:32 -08:00
Trenton H
ec2b0eb308 Changes out the settings and a decent amount of test code to be pathlib compatible 2023-03-06 09:16:07 -08:00
Trenton Holmes
73dc928832 Returns to using hashing against primary keys, at least for fields. Improves testing coverage 2023-02-28 08:13:10 -08:00
Trenton Holmes
303e81eb79 Changes from a hash based system to a time based system to prevent extra retrains 2023-02-28 08:13:10 -08:00
shamoon
1ea9c37dd1 Only return logs that exist 2023-02-23 14:43:43 -08:00
Brandon Rothweiler
ffd132b700 Add test 2023-02-22 09:39:29 -05:00
Trenton H
e061db00db Updates the latest test to use status codes 2023-02-20 10:25:21 -08:00
Trenton Holmes
6644ccc33f Changes testing to use more declarative status code names from DRF 2023-02-20 10:25:21 -08:00
Trenton Holmes
acfa7d633d Creates a mix-in for asserting file system states 2023-02-20 10:25:21 -08:00
Trenton Holmes
96e5e9b67c Allow setting the ASN on document upload 2023-02-20 07:56:37 -08:00
Trenton H
facec31bad Moves the renaming ttask into the serialiser update instead of post_save. Feels more correct 2023-02-18 12:19:33 -08:00
Trenton H
aea79a1e9a Moves the renaming triggered from a storage path change to be a background task 2023-02-18 12:19:33 -08:00
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