Commit Graph

2144 Commits

Author SHA1 Message Date
Michael Shamoon 28d70438ec add api permissions test 2022-11-24 22:09:28 -08:00
Michael Shamoon 0ffc9955b2 Fix python tests with auth on API endpoints, add python tests for User/Group endpoints 2022-11-24 21:19:00 -08:00
Michael Shamoon cf53d0866a Allow create / update password via UI 2022-11-23 00:35:17 -08:00
Michael Shamoon 355efadf87 Inherited permissions 2022-11-15 20:54:57 -08:00
Michael Shamoon 70eb22df42 Add Django model permissions to API endpoints 2022-11-15 00:44:32 -08:00
Michael Shamoon f461485aa0 frontend permissions dialogs 2022-11-15 00:44:32 -08:00
Michael Shamoon 10f36870e6 Merge frontend user model 2022-11-13 21:31:46 -08:00
Michael Shamoon fdaf9e9b46 Revert "fix: update user permissions and groups, update group permissions"
This reverts commit 57b709824f.
2022-11-13 14:18:44 -08:00
Kaaybi 57b709824f fix: update user permissions and groups, update group permissions 2022-11-13 14:02:54 -08:00
Michael Shamoon c7b46ac861 skeleton user / group admin dialogs [WIP] 2022-11-13 09:06:56 -08:00
Kaaybi 4333bd58cf feat: add users and groups API routes 2022-11-12 13:46:50 -08:00
Kaaybi 4603813896 feat: reflect django permissions on UI 2022-11-11 18:33:04 +00:00
Michael Shamoon 1dc271723c Update translation files 2022-11-09 13:51:06 -08:00
Michael Shamoon 69241ce394 Merge branch 'dev' into l10n_dev 2022-11-09 13:43:29 -08:00
Trenton H 10f6195bac Always use pikepdf, then pdf2image if needed to check for barcodes instead of requiring/allowing configuration 2022-11-09 13:01:39 -08:00
Michael Shamoon 91a2dedfec Celery JSON serializable object for override_tag_ids 2022-11-07 07:41:23 -08:00
Michael Shamoon daa49ee7c8 Remote outdated task_name parameter 2022-11-05 17:51:56 -07:00
Trenton H 7e3e0a0fa6 Refresh the instance from the database before doing any file handling with it 2022-11-03 11:32:27 -07:00
Trenton Holmes 3c325582d9 Try waiting a little bit after a parser error during the live testing 2022-11-02 15:55:12 -07:00
Trenton Holmes 0a81439415 No need for an extra import, the object is smart already 2022-11-01 08:44:30 -07:00
Trenton Holmes 4fcaa72886 Adds more options for the filename formatting 2022-11-01 08:44:30 -07:00
Max Bachmann e97c04c03d directly use rapidfuzz 2022-10-31 13:17:10 -07:00
Sblop cda0a19b99 Update settings.py
Comment too long.
2022-10-28 14:40:48 -07:00
Sblop 932a285b82 Update settings.py 2022-10-28 14:40:48 -07:00
Sblop c414de9c35 Update settings.py
Django gives a system error on MariaDB on VARCHARs longer than 255 chars. This was a limitation in older versions of mysql.
Meaning: You cannot run Paperless-NGX on older version were this limitation were present, meaning Django plays it extremely safe by giving an error.
This fixes this problem.
2022-10-28 14:40:48 -07:00
Paperless-ngx Translation Bot [bot] c6a484439d New translations django.po (Dutch)
[ci skip]
2022-10-27 02:51:17 -07:00
Trenton H d52fbbb040 More smoothly handle the case of a password protected PDF for barcodes 2022-10-24 13:16:14 -07:00
Trenton H f8ce6285df Allows using pdf2image instead of pikepdf if desired 2022-10-24 09:58:34 -07:00
Trenton H a72cc5da83 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
Paperless-ngx Translation Bot [bot] 73845ef968 New translations django.po (Arabic)
[ci skip]
2022-10-20 16:30:32 -07:00
Michael Shamoon 8be6c707de Update django.po
[ci skip]
2022-10-20 15:33:16 -07:00
Michael Shamoon 60f76d3e1f rename backend Arabic translation file
[ci skip]
2022-10-20 15:31:28 -07:00
Paperless-ngx Translation Bot [bot] 70ef6412eb New translations django.po (Arabic)
[ci skip]
2022-10-20 15:28:49 -07:00
Trenton Holmes d1aa08850d Reverts the change around skip_noarchive to align with how it is documented to work 2022-10-20 13:34:41 -07:00
Paperless-ngx Translation Bot [bot] 0050a20710 New translations django.po (Czech)
[ci skip]
2022-10-18 13:06:11 -07:00
Paperless-ngx Translation Bot [bot] 097ab55f7a New translations django.po (Belarusian)
[ci skip]
2022-10-16 06:46:10 -07:00
Paperless-ngx Translation Bot [bot] 377c37dfab New translations django.po (Belarusian)
[ci skip]
2022-10-16 05:44:52 -07:00
Trenton Holmes 4cc2976614 Adds specific handling for CCITT Group 4, which pikepdf decodes, but not correctly 2022-10-11 13:51:14 -07:00
Trenton H caf4b54bc7 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 8025df5fe3 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 H 5aeb656a48 Fixes usage of a depracated logger method 2022-10-10 14:20:19 -07:00
Trenton H d1a17480ea Account for plusses in the OCR language setting 2022-10-10 08:58:23 -07:00
Trenton H 1e891414a3 Allows disabling NLTK, adds it as a consideration for low power devices 2022-10-10 08:58:23 -07:00
Trenton Holmes c44c914d3d Changes the NLTK language to be based on the Tesseract OCR language, with fallback to the default processing 2022-10-10 08:58:23 -07:00
Trenton H d10d2f5a54 Allows configuration of the NLTK processing language 2022-10-10 08:58:23 -07:00
Trenton Holmes 6523cf0c4b Fixes the download and usage of the downloaded data 2022-10-10 08:58:23 -07:00
Trenton Holmes 1262c121f0 Missed one mock 2022-10-10 08:58:23 -07:00
Trenton Holmes f7cd6974c5 Mock out the nltk portions so the data doesn't need to be downloaded 2022-10-10 08:58:23 -07:00
Trenton Holmes d856e48045 Updates the pre-processing of document content to be much more robust, with tokenization, stemming and stop word removal 2022-10-10 08:58:23 -07:00
shamoon 6f50285f47 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