107 Commits

Author SHA1 Message Date
Michael Shamoon
aa7b2690cb Add related_document and direct link from task UI 2022-09-27 20:50:26 -07:00
Michael Shamoon
e60a1e55f4 Add document name & error result parsing to PaperlessTask serializer 2022-09-27 19:40:24 -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
5d7ae1b3f1 created_date is not supposed to be required 2022-08-14 00:58:31 -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
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
shamoon
720e89ec9a Merge branch 'dev' into feature-redo-ocr 2022-07-02 08:41:18 -07:00
Michael Shamoon
2eee52240d Frontend UI for redo OCR 2022-07-02 08:39:09 -07:00
Trenton Holmes
c9cf8fe5e4 Removes variable which was never set, removed unneeded serializer method 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
Michael Shamoon
44782ee2da Use pre_execute signal to specify started vs queued 2022-06-06 01:39:45 -07:00
Michael Shamoon
d0d696db77 fix result on empty task 2022-05-27 00:45:50 -07:00
Michael Shamoon
990fc5195a Task results popover
fix merge
2022-05-26 21:18:39 -07:00
Michael Shamoon
09f637a4cb Better tasks api endpoint 2022-05-26 21:09:05 -07:00
Michael Shamoon
635fee08ef acknowledge_tasks endpoint & basic UI
Update tasks.service.ts
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
shamoon
0c8889a1fc Merge pull request #919 from paperless-ngx/feature-settings-saved-to-db
Feature: frontend settings saved to database
2022-05-18 11:33:17 -07:00
Michael Shamoon
e7c370b3eb Use zoneinfo instead of tz
Co-Authored-By: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2022-05-18 03:25:02 -07:00
Michael Shamoon
bc7bf74bf8 fix docs update endpoint 2022-05-18 03:25:02 -07:00
Michael Shamoon
caa9c49e05 use created_date 2022-05-18 03:25:02 -07:00
Philipp
87866bcab0 Add "Created" as additional (optional) parameter for post_documents (#965)
* Added "created" as optional parameter for post_documents.

* Fixed Conflict

* After Black Reformatting

* Run "add-trailing-comma"

* The right order between black and trailing comma is important....

* Added required=False

* Adds unit test for optional created in document api POST

* Fixes adding of settings override

* And a mis-added print, sigh

Co-authored-by: Philipp <philipp@invalid.invalid>
Co-authored-by: Trenton Holmes <holmes.trenton@gmail.com>
2022-05-18 02:56:32 -07:00
Michael Shamoon
b7b44bfb4e Code suggestions
Co-Authored-By: Trenton Holmes <797416+stumpylog@users.noreply.github.com>
2022-05-17 11:13:58 -07:00
Michael Shamoon
67b3473365 Refactor to UiSettings 2022-05-17 11:11:39 -07:00
Michael Shamoon
798c827b0f fix key constraint error 2022-05-17 11:11:38 -07:00
Michael Shamoon
7fbd2076c3 Basic frontend settings retrieval 2022-05-17 11:11:38 -07:00
Michael Shamoon
fd59b14d88 skeleton frontend_settings api endpoint 2022-05-17 11:11:38 -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
Trenton Holmes
b330f3d170 Maybe make CodeQL happy about this exception handling 2022-03-11 12:39:40 -08:00
Trenton Holmes
6635fa5f0d Runs the pre-commit hooks over all the Python files 2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
jonaswinkler
223532c8bb fix up some messages 2021-03-07 21:34:55 +01:00
jonaswinkler
0ded953181 increase luminance threshold for better readability 2021-02-25 22:49:38 +01:00
jonaswinkler
c1ae9f643b bugfixes 2021-02-25 22:16:31 +01:00
jonaswinkler
b04fa58121 validate hex color strings 2021-02-25 11:30:49 +01:00
jonaswinkler
96b082b26d add text color generation based on luminance 2021-02-25 11:30:36 +01:00
jonaswinkler
dcff197e0a versioning for the tags API 2021-02-24 23:54:19 +01:00
jonaswinkler
c3da66039a fix pycodestyle and messages 2021-02-23 13:21:11 +01:00
jonaswinkler
a56896543c validation for regular expressions on matching models #605 2021-02-23 12:35:24 +01:00
jonaswinkler
02f93792c1 API support for downloading compressed archives of multiple documents 2021-02-20 16:09:29 +01:00
jonaswinkler
18c6ecc67a fix one incorrect use of archive_version 2021-02-10 21:34:39 +01:00
jonaswinkler
1e1f2267e7 update API access for logs 2021-02-06 17:02:00 +01:00
jonaswinkler
c1136ac83c i18n, better error handling 2021-01-26 15:02:46 +01:00
jonaswinkler
de29aff04a update tests, remove dead code 2021-01-07 15:20:00 +01:00
jonaswinkler
21a3dcf20a fix pycodestyle 2020-12-28 13:33:58 +01:00