1589 Commits

Author SHA1 Message Date
shamoon
ae0c585918 Fix inherited permissions should not display per user in permissions form 2023-03-19 23:41:36 -07:00
shamoon
6a34a35585
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
e89c0f15dd feature: Add support for zxing as barcode scanning lib 2023-03-19 13:48:35 +01:00
shamoon
2bdf0aae14 simplify character count query
Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-03-18 14:31:27 -07:00
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
shamoon
89c639f850 Just include comments on document object 2023-03-17 18:47:03 -07:00
shamoon
3911740360 Show number of comments on cards, tab 2023-03-17 18:47:03 -07:00
shamoon
f161722b34
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
00e17f4d69 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
bfaede26c4 Replace commas with underscores to handle Chrome issues with commas 2023-03-15 10:29:04 -07:00
Trenton Holmes
97ff2e126c Adds owner and original name to the possible naming schemes 2023-03-12 15:29:58 -07:00
shamoon
2d3cf43bc5
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
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
shamoon
b382f1412a Change model uniqueness from name to name+owner 2023-03-08 19:07:32 -08:00
shamoon
320537a054 Give superuser full doc permissions 2023-03-08 19:07:06 -08:00
shamoon
2fe7f8be46 TagViewSet should use PassUserMixin 2023-03-08 19:03:59 -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
Jonas Winkler
c87ca25f22 fix database locked error 2023-03-03 23:30:12 +01:00
Trenton H
c422a081bf Be sure the scratch directory exists before using it as temporary directory 2023-03-01 07:13:31 -08:00
Jonas Winkler
6e2f6350e6 don't submit owner via API 2023-02-28 18:32:09 +01: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
Trenton H
8709ea4df0 Changes classifier training to hold less data in memory at the same time 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
Brandon Rothweiler
8b2b7bbe6d Add an option to disable matching 2023-02-21 20:01:30 -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
Trenton Holmes
8b3d01c49b When splitting via barcodes, cleanup the split documents better 2023-02-12 08:20:12 -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
0e83c94832 Resolve migration conflicts 2023-02-03 14:25:22 -08:00
shamoon
d2a6f79612 Merge branch 'dev' into feature-permissions 2023-02-03 14:23:50 -08:00
shamoon
8154c7b53a Migration required for rename of PaperlessTask field 2023-02-03 13:54:39 -08:00
shamoon
ac611acaa1 Correct PaperlessTask model field verbose name
Closes #2597
2023-02-03 13:49:46 -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
Trenton H
06e2500443 Moves the mktime call into the if block where it is used, preventing exceptions during rare cases 2023-02-02 07:25:32 -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