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
shamoon
9ce1250840
Use exclude instead of difference for mariadb
2023-03-31 13:52:06 -07:00
shamoon
8743012e03
Merge pull request #2818 from paperless-ngx/fix-2809
...
Fix: permissions display should not show users with inherited permissions & unable to change owner
2023-03-30 19:49:12 -07:00
Trenton H
899f3ba9fc
Merge remote-tracking branch 'origin/dev' into feature-multiple-barcode-scanners
2023-03-29 09:40:10 -07:00
shamoon
63be51b361
Owner/name unique constraint violation should exclude self
2023-03-23 07:35:18 -07:00
Trenton H
8d0e65d369
Limit the number of threads waiting for files to be ready during polling
2023-03-21 07:46:57 -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
875b7662f4
Fix inherited permissions should not display per user in permissions form
2023-03-19 23:41:36 -07: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
cc861aa3bd
simplify character count query
...
Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-03-18 14:31:27 -07: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
shamoon
78cb8cff69
Just include comments on document object
2023-03-17 18:47:03 -07:00
shamoon
992ac545b3
Show number of comments on cards, tab
2023-03-17 18:47:03 -07:00
shamoon
e47a9b7b66
Merge pull request #2893 from paperless-ngx/feature-enhanced-object-filtering
...
Enhancement: support filtering multiple correspondents, doctypes & storage paths
2023-03-17 18:46:22 -07:00
shamoon
4003f64b49
Allow filtering on multiple correspondents, doctypes, storage paths
...
Preserve 'Not assigned' option
Fix default logical operator
Update frontend strings
Fix radio button name overlaps
Use include / exclude with multi-select for OneToOne objects
2023-03-17 17:57:54 -07:00
Trenton Holmes
2b70139db9
Replace commas with underscores to handle Chrome issues with commas
2023-03-15 10:29:04 -07:00
Trenton Holmes
b78d87f44a
Adds owner and original name to the possible naming schemes
2023-03-12 15:29:58 -07:00
shamoon
af1d64bdb9
Merge pull request #2820 from paperless-ngx/fix-2812
...
Fix: give superuser full doc perms
2023-03-10 21:53:35 -08: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
shamoon
ad0cb8c8a3
Change model uniqueness from name to name+owner
2023-03-08 19:07:32 -08:00
shamoon
475f50c64d
Give superuser full doc permissions
2023-03-08 19:07:06 -08:00
shamoon
53a664fb8f
TagViewSet should use PassUserMixin
2023-03-08 19:03:59 -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
Jonas Winkler
8004fc058d
fix database locked error
2023-03-03 23:30:12 +01:00
Trenton H
67015a8eef
Be sure the scratch directory exists before using it as temporary directory
2023-03-01 07:13:31 -08:00
Jonas Winkler
7b4894ca05
don't submit owner via API
2023-02-28 18:32:09 +01: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
Trenton H
21cd76a181
Changes classifier training to hold less data in memory at the same time
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
Brandon Rothweiler
352b888bea
Add an option to disable matching
2023-02-21 20:01:30 -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
Trenton Holmes
e36d46f0df
When splitting via barcodes, cleanup the split documents better
2023-02-12 08:20:12 -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