151 Commits

Author SHA1 Message Date
Brandon Rothweiler
352b888bea Add an option to disable matching 2023-02-21 20:01:30 -05:00
shamoon
c0b72231a6 Resolve migration conflicts 2023-02-03 14:25:22 -08:00
shamoon
e6d6efa903 Merge branch 'dev' into feature-permissions 2023-02-03 14:23:50 -08:00
shamoon
12efcedde9 Migration required for rename of PaperlessTask field 2023-02-03 13:54:39 -08:00
Michael Shamoon
f7ccae30ba Fix conflicting migrations from dev 2023-01-24 14:23:01 -08:00
Michael Shamoon
9812e38bc5 Merge branch 'dev' into feature-permissions 2023-01-24 14:10:45 -08:00
shamoon
7dad9f29a1 Merge pull request #2498 from paperless-ngx/fix-2496
Fix: limit asn integer size
2023-01-24 10:37:04 -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
cd9fb824ca make old paperlesstask name field nullable to fix downgrade migration 2023-01-23 13:31:01 -08:00
Michael Shamoon
eebe0e7a89 Resolve migration conflict 2022-12-13 07:00:52 -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
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
8111723130 Fixes migration error if some tasks are defined already 2022-10-04 07:56:40 -07:00
Trenton H
5ad0d7303d Fixes up some issues with the migrations and type mismatches 2022-10-03 13:18:25 -07:00
Trenton H
a96ac56c2b Ensures all existing one to one fields are nulled before altering the field 2022-09-27 14:17:42 -07:00
Trenton H
fe697f009c Fixes migration order back to the right way 2022-09-27 13:55:31 -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
a1f1a0bf60 Fix 1023, 1024 migrations, add savedviewfilterrule migration 2022-08-26 10:02:48 -07:00
Trenton Holmes
eb3c9fee3f Merges the migration branches 2022-08-24 14:24:10 -07:00
Michael Shamoon
349060658c fix migration dependency
and run code style
2022-08-23 19:19:21 -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
Michael Shamoon
748f0bf610 fix conflicting migrations 2022-07-08 14:02:43 -07:00
shamoon
811d4973cf Merge branch 'dev' into feature-frontend-task-queue 2022-07-02 16:54:16 -07: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
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
Michael Shamoon
44782ee2da Use pre_execute signal to specify started vs queued 2022-06-06 01:39:45 -07:00
Michael Shamoon
401663eec1 Update 1021_paperlesstask.py 2022-05-26 21:58:02 -07:00
Michael Shamoon
09f637a4cb Better tasks api endpoint 2022-05-26 21:09:05 -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
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
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
94b55d11ee Increases SavedViewFilterRule value to the maximum length 2022-04-08 08:55:58 -07:00
Felix Eckhofer
d142523d08 Add missing migration for savedviewfilterrule
Change introduced in d7cefabe98398f3916a5db6c33027c2d77d12b59.
2022-03-17 13:19:26 +01:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
jonaswinkler
d3aa1eb66d fix migration 2021-04-05 00:16:50 +02:00
jonaswinkler
19a7aa8fb6 Merge branch 'dev' into feature-unified-search 2021-04-04 20:41:29 +02:00
jonaswinkler
e14ce435de add migration to fix null characters in document contents 2021-04-04 20:41:08 +02:00
jonaswinkler
b28c3b3e1f add migration 2021-03-17 22:33:00 +01:00
jonaswinkler
f4812cd70c filter by title or title+content fixes #636 2021-02-28 16:19:41 +01:00
jonaswinkler
c1ae9f643b bugfixes 2021-02-25 22:16:31 +01:00
jonaswinkler
650edcf0db adjust migration 2021-02-24 23:52:25 +01:00