716 Commits

Author SHA1 Message Date
Trenton H
189d02dfe6 Always use pikepdf, then pdf2image if needed to check for barcodes instead of requiring/allowing configuration 2022-11-09 13:01:39 -08:00
Trenton H
cce0d363e4 Refresh the instance from the database before doing any file handling with it 2022-11-03 11:32:27 -07:00
Trenton Holmes
f8c3f12146 Adds more options for the filename formatting 2022-11-01 08:44:30 -07:00
Trenton H
1e1f0347fa More smoothly handle the case of a password protected PDF for barcodes 2022-10-24 13:16:14 -07:00
Trenton H
6d2851c693 Allows using pdf2image instead of pikepdf if desired 2022-10-24 09:58:34 -07:00
Trenton H
20b7287dc2 Connects up the celery signals to support pending, started and success/failure, without relying on django-celery-results 2022-10-24 09:10:10 -07:00
Trenton Holmes
ddef90d96e Adds specific handling for CCITT Group 4, which pikepdf decodes, but not correctly 2022-10-11 13:51:14 -07:00
Trenton H
c888b3dfd3 In case pikepdf fails to convert an image to a PIL image, fall back to converting pages to PIL images 2022-10-11 13:51:13 -07:00
Trenton H
0c08b16402 Catch the new error raised by redis when it can't find the broker and stub out the call for testing 2022-10-10 14:21:42 -07:00
Trenton Holmes
3c12f13df2 Missed one mock 2022-10-10 08:58:23 -07:00
Trenton Holmes
d334eec321 Mock out the nltk portions so the data doesn't need to be downloaded 2022-10-10 08:58:23 -07:00
shamoon
3b1f5668f5 Merge pull request #1648 from paperless-ngx/feature-use-celery
Feature: Transition to celery for background tasks
2022-10-10 00:07:55 -07:00
Michael Shamoon
4dac5fa02d Fix python + frontend tests 2022-09-30 18:32:21 -07:00
Trenton H
62872bce9d Updates how task_args and task_kwargs are parsed, adds testing to cover everything I can think of 2022-09-28 10:40:55 -07:00
Trenton H
e8d237ac7c Finalizes what the PaperlessTask will look like to the frontend 2022-09-27 12:44:01 -07:00
Trenton Holmes
09287701ae Transitions the backend to celery and celery beat 2022-09-26 11:25:34 -07:00
Paperless-ngx Translation Bot [bot]
8571edab6a New Crowdin updates (#1607)
* bugfix: increase delay

partially reverts 86358d556162e4c6112238821937f7856749f157
re-implements 4fbabe43ea12811864e9676b04d82a82b38e799d

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>

* New translations messages.xlf (Finnish) [ci skip]

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Florian Brandes <florian.brandes@posteo.de>
2022-09-16 15:45:17 -07:00
Trenton Holmes
b21f64de8a Updates how barcodes are detected, using pikepdf images, instead of converting each page to an image 2022-09-16 09:08:16 -07:00
Trenton Holmes
33a4a273a3 Fixes the seperation of files by barcode, during the case where 2 barcodes appear back to back 2022-09-14 14:00:37 -07:00
Michael Shamoon
24da6ce84e Include storage path in exporter + tests 2022-09-11 07:39:35 -07:00
Quinn Casey
75991f4268 Merge pull request #1451 from paperless-ngx/feature-better-redo-ocr
Feature: Even better re-do of OCR
2022-08-25 17:01:54 -07:00
shamoon
4f6ad5369b Merge pull request #1375 from tim-vogel/add_comments
Feature: document comments
2022-08-25 11:48:31 -07:00
shamoon
df2d048644 Merge pull request #1367 from Eckii24/feat/date-suggestions
Adding date suggestions to the documents details view
2022-08-25 11:47:37 -07:00
shamoon
08e143547b Merge pull request #1421 from paperless-ngx/feature-consumer-event-driven
Feature: Event driven consumer
2022-08-25 08:16:47 -07:00
Trenton Holmes
8f4c048d4e Finalizes testing of the delete comment 2022-08-24 14:24:10 -07:00
Trenton Holmes
44c607042e Starts on implementing tests for the new API 2022-08-24 14:24:10 -07:00
Michael Shamoon
680055474e Basic verification of Comment export & exporter comment tuple fix
From oprhaned commits b1855a4b7a
53f21574fd

Co-Authored-By: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2022-08-24 14:24:10 -07:00
Trenton Holmes
059242b7dc Implements a better re-do of OCR by making the document archiver function common. Actually creates updated file now 2022-08-21 18:20:59 -07:00
Trenton Holmes
b6060ff990 Adds the storage paths to the re-tagger command 2022-08-21 18:01:19 -07:00
Trenton Holmes
f06cb40141 Corrects the timeout's interaction with files waiting to be consumed 2022-08-14 17:47:59 -07:00
Trenton Holmes
9e091e333d Attempts to make production consumer more event driven while still allowing unit testing 2022-08-14 17:47:59 -07:00
Matthias Eck
05d97d2cf1 fix(parsers|test_api): fix failed tests 2022-08-06 19:19:10 +02:00
Matthias Eck
f9dd29c5d3 test(test-date-parsing): test parsing of multiple dates 2022-08-06 13:03:20 +02:00
Matthias Eck
96fbb549ce test(test-date-parsing): test parsing of multiple dates 2022-08-06 13:03:20 +02:00
Matthias Eck
bae65a184a test(test-api): update existing tests for suggestions 2022-08-06 13:03:20 +02:00
Trenton Holmes
ce2464cea8 Reduces webserver and task worker count to 1 by default 2022-07-11 13:54:04 -07:00
shamoon
cc2186783c Merge pull request #1020 from paperless-ngx/feature-frontend-task-queue
Feature: frontend task queue
2022-07-08 14:06:24 -07:00
Michael Shamoon
748f0bf610 fix conflicting migrations 2022-07-08 14:02:43 -07:00
Trenton Holmes
6bd585a9a0 Updates the classifier to catch warnings from scikit-learn and rebuild the model file when this happens 2022-07-05 08:20:35 +02:00
Trenton Holmes
ba79aff89b Updates scikit-learn and fixes the warning this normally generates in the unit tests 2022-07-05 08:20:35 +02:00
shamoon
811d4973cf Merge branch 'dev' into feature-frontend-task-queue 2022-07-02 16:54:16 -07:00
Trenton Holmes
d1418a138a Adds invalid storage path format test 2022-07-02 16:19:22 +02:00
Trenton Holmes
af204426af Moves the barcode related functionality out of tasks and into its own location. Splits up the testing based on that 2022-07-02 16:19:22 +02:00
Trenton Holmes
971f716bea Splits tests for the tasks into their own classes 2022-07-02 16:19:22 +02:00
Michael Shamoon
f91263776f fix content_type on test_api_create_storage_path 2022-07-02 16:19:22 +02:00
Trenton Holmes
39ee284fcd Adds a few more test cases for coverage and adds no coverage to some others 2022-07-02 16:19:22 +02:00
Trenton Holmes
361c255e46 Fixes the whitenoise warning in the test suite 2022-07-02 16:19:22 +02:00
Trenton Holmes
6b2f8544ce Increases test coverage of storage paths 2022-07-02 16:19:22 +02:00
Michael Shamoon
3c186f19ac python tests for tasks api endpoints 2022-06-17 23:11:29 -04:00
Trenton Holmes
ee4e3cebe2 Removes last vestiges of PNG from the tests, code, docs and samples 2022-06-11 14:20:50 -07:00