shamoon
bf8ae22f3f
Rename comments --> notes
2023-03-18 13:59:17 -07:00
shamoon
f3eedec402
Improved statistics widget
2023-03-18 01:51:18 -07:00
Trenton Holmes
97ff2e126c
Adds owner and original name to the possible naming schemes
2023-03-12 15:29:58 -07:00
Trenton H
5e7b93d153
Comment up the testing a bit more
2023-03-09 08:43:31 -08:00
shamoon
c4ac35164b
API should 400 on unique violations
2023-03-08 20:16:21 -08:00
shamoon
29251b6e38
Add test coverage for owner-aware unique constraints
2023-03-08 19:07:32 -08:00
Trenton H
41bcfcaffe
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
6b939f7567
Returns to using hashing against primary keys, at least for fields. Improves testing coverage
2023-02-28 08:13:10 -08:00
Trenton Holmes
c958a7c593
Changes from a hash based system to a time based system to prevent extra retrains
2023-02-28 08:13:10 -08:00
shamoon
4726fe8b6f
Only return logs that exist
2023-02-23 14:43:43 -08:00
Brandon Rothweiler
7610a0459e
Add test
2023-02-22 09:39:29 -05:00
Trenton H
8df1324afd
Updates the latest test to use status codes
2023-02-20 10:25:21 -08:00
Trenton Holmes
a6e2708605
Changes testing to use more declarative status code names from DRF
2023-02-20 10:25:21 -08:00
Trenton Holmes
0df91c31f1
Creates a mix-in for asserting file system states
2023-02-20 10:25:21 -08:00
Trenton Holmes
bec8d00232
Allow setting the ASN on document upload
2023-02-20 07:56:37 -08:00
Trenton H
abc58000b4
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
5e3ef94697
Moves the renaming triggered from a storage path change to be a background task
2023-02-18 12:19:33 -08:00
Trenton H
857944aabe
When a StoragePath is changed, check if related documents require a rename
2023-02-18 12:19:33 -08:00
shamoon
3559e27cdd
Merge branch 'dev' into feature-permissions
2023-02-16 20:44:51 -08:00
Trenton H
c08f0054da
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
32754defef
Merge branch 'dev' into feature-permissions
2023-02-14 11:32:37 -08:00
shamoon
add647afe6
Add missing storage path placeholders
2023-02-12 02:01:44 -08:00
Trenton Holmes
3e777f2a5b
Fixes up some minor warnings from test code
2023-02-11 14:35:16 -08:00
Trenton H
bdcba570cb
Adding more test coverage, in particular around Tika and its parser
2023-02-05 11:01:55 -08:00
shamoon
d2a6f79612
Merge branch 'dev' into feature-permissions
2023-02-03 14:23:50 -08:00
Trenton H
0f536a9b9a
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
658d372cd2
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
b85d39b189
Fixes commenting error
2023-01-31 12:53:46 -08:00
Trenton H
dc7bef5d48
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
94db39e055
A few minor tweaks to the backend
2023-01-30 14:37:09 -08:00
Trenton H
7dd9a4e089
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
9784ea4a60
Minor tweak to password test to ensure the right lines were hit
2023-01-27 12:24:47 -08:00
Trenton H
4fce5aba63
Moves ASN barcode testing into a dedicated class
2023-01-27 12:24:47 -08:00
Trenton H
2ab77fbaf7
Removes pikepdf based scanning, fixes up unit testing (+ commenting)
2023-01-27 12:24:47 -08:00
Michael Shamoon
44f860d9b0
Merge branch 'dev' into feature-permissions
2023-01-24 14:10:45 -08:00
Matthieu Helleboid
02a40055f5
replace --use-filename-prefix with --use-folder-prefix
2023-01-24 11:06:49 -08:00
Matthieu Helleboid
447edd1355
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
4cb4bd13ad
add split-manifest option to administration exporter
2023-01-24 11:06:49 -08:00
Matthieu Helleboid
9ae186e6f9
add no-archive and no-thumbnail options to administration exporter and importer
2023-01-24 11:06:49 -08:00
shamoon
c7690c05f5
Merge pull request #2498 from paperless-ngx/fix-2496
...
Fix: limit asn integer size
2023-01-24 10:37:04 -08:00
Trenton H
4195d5746f
Rescales images from PDFs so zbar can better find them
2023-01-24 10:30:53 -08:00
Trenton H
8b90b51b1a
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
299a69a2de
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
7bc077ac08
Use dataclasses to group data about barcodes in documents
2023-01-24 09:43:52 -08:00
Peter Kappelt
c2880bcf9a
Extended tests for ASN barcode parsing
2023-01-24 09:43:52 -08:00
Peter Kappelt
d8d111f093
update existing tests to use modified barcode api
2023-01-24 09:43:52 -08:00
shamoon
0cfa5211e9
Merge branch 'dev' into feature-permissions
2023-01-16 15:59:25 -08:00
Trenton H
b25f083687
Updates the exporter to use pathlib and add a few more tests for coverage
2023-01-14 06:33:12 -08:00
Trenton Holmes
a88b318d7d
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
a4d96061de
Merge branch 'dev' into feature-permissions
2023-01-05 19:45:12 -08:00