221 Commits

Author SHA1 Message Date
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
shamoon
ad0cb8c8a3 Change model uniqueness from name to name+owner 2023-03-08 19:07:32 -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
Brandon Rothweiler
352b888bea Add an option to disable matching 2023-02-21 20:01:30 -05:00
shamoon
e6d6efa903 Merge branch 'dev' into feature-permissions 2023-02-03 14:23:50 -08:00
shamoon
b03f72fade Correct PaperlessTask model field verbose name
Closes #2597
2023-02-03 13:49:46 -08:00
Trenton H
cdd213b0e6 Detect and reset invalid ASNs to 0 during indexing with a loud error to the user 2023-02-03 08:31:45 -08:00
Michael Shamoon
9812e38bc5 Merge branch 'dev' into feature-permissions 2023-01-24 14:10:45 -08:00
Michael Shamoon
624675f7c9 Use 32bit integer for asn, unsigned Whoosh NUMERIC field
Co-Authored-By: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-01-24 10:13:05 -08:00
Michael Shamoon
462dffe25f Explicitly limit asn integer 2023-01-24 10:13:05 -08:00
Michael Shamoon
205f868ad2 Merge branch 'dev' into feature-permissions 2022-12-13 06:57:33 -08:00
Trenton H
5030a5212e Switches task serialization over to pickle format 2022-12-12 15:37:01 -08:00
Michael Shamoon
5005f251fb Merge branch 'dev' into feature-permissions 2022-12-09 03:31:26 -08:00
Trenton Holmes
9a89fe455c Adds an optional API field to follow the filenaming format when creating a bulk download zip 2022-12-08 18:32:14 -08:00
Michael Shamoon
8e552eb688 add django-guardian, djangorestframework-guardian 2022-12-05 21:02:56 -08: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 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
Michael Shamoon
2a3c424476 Add missing filter rule types to SavedViewFilterRule model
And add note to filter-rule-type.ts
2022-08-26 10:02:48 -07:00
Michael Shamoon
b0ae307add python code style 2022-08-23 19:20:08 -07:00
tim-vogel
278e9c12e1 add comment function 2022-08-23 19:19:21 -07:00
Gwyn Hannay
b8b0d18b25 format code 2022-08-20 14:31:30 -07:00
Gwyn Hannay
89c26f9604 create migration for original filename 2022-08-20 14:30:40 -07:00
Gwyn Hannay
7e8183769b update files and model to include new field 2022-08-20 14:30:14 -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
shamoon
6bd4369ccc Merge pull request #957 from paperless-ngx/feature-created-date
Feature: make frontend timezone un-aware
2022-07-02 16:58:30 -07:00
shamoon
811d4973cf Merge branch 'dev' into feature-frontend-task-queue 2022-07-02 16:54:16 -07:00
Michael Shamoon
681fcf1b1b allow PaperlessTask.started null 2022-06-13 16:21:37 -07:00
Trenton Holmes
762d28cc47 Converts the conversion into a database migration 2022-06-11 13:04:21 -07:00
Trenton Holmes
ef6ebf9888 Entirely removes the optipng, updates ghostscript fall back to also use WebP. Updates the conversion to use a multiprocessing pool 2022-06-11 08:38:49 -07:00
Trenton Holmes
ce2958531a Corrects the functionality of the webp conversion script 2022-06-10 08:56:25 -07:00
Trenton Holmes
fe9082fda8 Corrects the logic of thumbnail path to account for both getting existing path or building expected path 2022-06-10 07:59:22 -07:00
Trenton Holmes
ea8596b4d2 Minor tweaks to getting the document thumbnail path. Adds text thumbnail as webp 2022-06-10 06:56:28 -07:00
Michael Shamoon
f208f89179 webp thumbnail support with png fallback 2022-06-10 02:28:13 -07:00
Michael Shamoon
f69782ffbe Merge branch 'dev' into feature-frontend-task-queue 2022-06-08 19:44:23 -07:00
Michael Shamoon
44782ee2da Use pre_execute signal to specify started vs queued 2022-06-06 01:39:45 -07:00
Trenton Holmes
018cb0b740 Updates the Document str to account for a blank title instead of assuming title will be populated 2022-06-01 08:03:38 -07:00
Michael Shamoon
90cd6950b2 update post_save signal receiver 2022-05-26 21:09:04 -07:00
Michael Shamoon
60ddd4a529 PaperlessTask and consumption_tasks endpoint 2022-05-26 21:05:24 -07:00
shamoon
e168bde125 Merge branch 'dev' into feature-created-date 2022-05-26 14:28:33 -07:00
Markus
dd3b5c129c Feature: Dynamic document storage pathes (#916)
* Added devcontainer

* Add feature storage pathes

* Exclude tests and add versioning

* Check escaping

* Check escaping

* Check quoting

* Echo

* Escape

* Escape :

* Double escape \

* Escaping

* Remove if

* Escape colon

* Missing \

* Esacpe :

* Escape all

* test

* Remove sed

* Fix exclude

* Remove SED command

* Add LD_LIBRARY_PATH

* Adjusted to v1.7

* Updated test-cases

* Remove devcontainer

* Removed internal build-file

* Run pre-commit

* Corrected flak8 error

* Adjusted to v1.7

* Updated test-cases

* Corrected flak8 error

* Adjusted to new plural translations

* Small adjustments due to code-review backend

* Adjusted line-break

* Removed PAPERLESS prefix from settings variables

* Corrected style change due to search+replace

* First documentation draft

* Revert changes to Pipfile

* Add sphinx-autobuild with keep-outdated

* Revert merge error that results in wrong storage path is evaluated

* Adjust styles of generated files ...

* Adds additional testing to cover dynamic storage path functionality

* Remove unnecessary condition

* Add hint to edit storage path dialog

* Correct spelling of pathes to paths

* Minor documentation tweaks

* Minor typo

* improving wrapping of filter editor buttons with new storage path button

* Update .gitignore

* Fix select border radius in non input-groups

* Better storage path edit hint

* Add note to edit storage path dialog re document_renamer

* Add note to bulk edit storage path re document_renamer

* Rename FILTER_STORAGE_DIRECTORY to PATH

* Fix broken filter rule parsing

* Show default storage if unspecified

* Remove note re storage path on bulk edit

* Add basic validation of filename variables

Co-authored-by: Markus Kling <markus@markus-kling.net>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
Co-authored-by: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Co-authored-by: Quinn Casey <quinn@quinncasey.com>
2022-05-19 14:42:25 -07:00
Michael Shamoon
caa9c49e05 use created_date 2022-05-18 03:25:02 -07:00
Michael Shamoon
e8ead471a9 Remove post_save receiver 2022-05-17 11:13:19 -07:00
Michael Shamoon
67b3473365 Refactor to UiSettings 2022-05-17 11:11:39 -07:00
Michael Shamoon
e0efcdaa01 frontend settings db migration 2022-05-17 11:11:38 -07:00
Trenton Holmes
5ed4597a4f Fixes Document public filename so it will use the local date instead of UTC date 2022-05-13 09:10:36 -07:00
shamoon
3ccf143c0b Merge pull request #721 from paperless-ngx/bug-fix-date-ignore
Fix Ignore Date Parsing
2022-05-10 16:45:58 -07:00
Trenton Holmes
a944ef1ca6 Adds additional testing for both date parsing and consumed document created date 2022-05-08 16:57:35 -07:00
Trenton Holmes
f62193099c Runs pyupgrade to Python 3.8+ and adds a hook for it 2022-05-06 09:04:08 -07:00
Oliver Lippert
88e1a7653f always use datetime.date.isoformat to generate filename
fixes #267

Signed-off-by: Oliver Lippert <info@trusty.codes>
2022-05-01 08:54:41 +02:00