1615 Commits

Author SHA1 Message Date
shamoon
049bcbe2a3 Fix: get highest ASN regardless of user (#4326) 2023-11-09 08:24:41 +01:00
shamoon
60d286731e Feature: password reset (#4289) 2023-11-09 08:24:41 +01:00
shamoon
2b0a354a50 Enhancement: dashboard improvements, drag-n-drop reorder dashboard views (#4252)
* Updated dashboard

* Make entire screen dropzone on dashboard too

* Floating upload widget status alerts

* Visual tweaks: spacing, borders

* Better empty view widget

* Support drag + drop reorder of dashboard saved views

* Update messages.xlf

* Disable dashbaord dnd if global dnd active

* Remove ngx-file-drop dep, rebuild file-drop & upload files widget

* Revert custom file drop implementation

* Try patch-package fix

* Simplify dropzone transitions to make more reliable

* Update messages.xlf

* Update dashboard.spec.ts

* Fix coverage
2023-11-09 08:24:41 +01:00
Trenton H
5aee663b79 Ensures all old connections are closed in certain longer running locations (#4265) 2023-11-09 08:24:41 +01:00
Trenton H
2e46b60a8d Standarizes the imports across all the files and modules (#4248) 2023-11-09 08:24:41 +01:00
shamoon
85cbcafee7 Feature: consumption templates (#4196)
* Initial implementation of consumption templates

* Frontend implementation of consumption templates

Testing

* Support consumption template source

* order templates, automatically add permissions

* Support title assignment in consumption templates

* Refactoring, filters to and, show sources on list

Show sources on template list, update some translation strings

Make filters and

minor testing

* Update strings

* Only update django-multiselectfield

* Basic docs, document some methods

* Improve testing coverage, template multi-assignment merges
2023-11-09 08:24:41 +01:00
Trenton H
ab3e598a6f Handle when INotify fails to import but the polling is set to 0 still (#4230) 2023-11-09 08:24:41 +01:00
shamoon
cfe4a49a89 Enhancement: bulk edit object permissions (#4176)
* bulk_edit_object_perms API endpoint

* Frontend support for bulk object permissions edit
2023-11-09 08:24:41 +01:00
Trenton H
7d76d20aa8 Allow the user the specifiy the zip file name (#4189) 2023-11-09 08:24:41 +01:00
shamoon
4fc49c7a0c Migrate frontend prefix to -pngx 2023-11-09 08:24:41 +01:00
shamoon
0dcda07261 Fix bs-theme html attributes 2023-11-09 08:24:41 +01:00
shamoon
85b2998426 Feature: Share links (#3996)
* Implement share links

Basic implementation of share links

Make certain share link fields not editable, automatically grant permissions on migrate

Updated styling, error messages from expired / deleted links

frontend code linting, reversable sharelink migration

testing coverage

Update translation strings

No links message

* Consolidate file response methods

* improvements to share links on mobile devices

* Refactor share links file_version

* Add docs for share links

* Apply suggestions from code review

* When filtering share links, use the timezone aware now()

* Removes extra call to setup directories for usage in testing

* FIx copied badge display on some browsers

* Move copy to ngx-clipboard library

---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-11-09 08:24:41 +01:00
shamoon
9d12128b47 Fix typo in #4179 2023-11-09 08:24:41 +01:00
shamoon
67144568f0 Fix: support doc_pk storage path placeholder (#4179) 2023-11-09 08:24:41 +01:00
Trenton H
43442eb276 Logs the errors during thumbnail generation, updates default to be WebP 2023-11-09 08:24:41 +01:00
Trenton H
6211b94704 Uses regex matching against the messages, as ordering and exact matched value don't matter, just the count of matches 2023-11-09 08:24:41 +01:00
Trenton H
0e8ee7f772 Cleans up the docs, adds validation of the process count, include the test descriptions 2023-11-09 08:24:41 +01:00
Trenton H
e24294087c Adds multiprocessing to the fuzzy matching for a speedup 2023-11-09 08:24:41 +01:00
shamoon
a618903d46 Add progress bar to document_fuzzy_match 2023-11-09 08:24:41 +01:00
Trenton Holmes
4837010217 Implements a new command for fuzzy matching document content and reporting potential duplicates 2023-11-09 08:24:41 +01:00
shamoon
2bfbfe1d90 Pass saved_view owner as id only (#4158) 2023-11-09 08:24:41 +01:00
Trenton Holmes
daefe7bd8d Removes support for Python 3.8 and lower from the code base 2023-11-09 08:24:41 +01:00
Trenton H
cb8d3cc816 Ignores coverage data in the error cases 2023-11-09 08:24:41 +01:00
Trenton H
1306c8f162 Fixes handling of exception chains in the util 2023-11-09 08:24:41 +01:00
Trenton H
50fd7a24db Combine and extend the utility for calling the live services to be more robust against failures, reporting, etc 2023-11-09 08:24:41 +01:00
Trenton H
a5139e483b Enables Python 3.11 testing 2023-11-09 08:24:41 +01:00
Trenton H
21dd0ab2c0 Unlocks all things which were locked due to ARMv7, etc 2023-11-09 08:24:41 +01:00
Kamil Kosek
37c5182a59 Enhancement: add --id-range for document_retagger (#4080)
---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2023-11-09 08:24:41 +01:00
shamoon
2e5d91c32a Update bootstrap to v5.3.1 for backend static pages 2023-11-09 08:24:41 +01:00
André Heuer
98f22f3b46 Added self type 2023-11-09 08:24:41 +01:00
André Heuer
2d0c434919 Removed parameter, added documentation 2023-11-09 08:24:41 +01:00
André Heuer
7a52957eb9 Added task id to pre/post consume script as env 2023-11-09 08:24:41 +01:00
shamoon
e4054d684c
Fix: correct set owner API location in docs, additional test (#4366)
* Fix location of owner in API documentation

* Add additional test for setting another owner
2023-10-13 09:16:17 -07:00
shamoon
61566a34d1 Fix consumer error typo 2023-09-01 00:11:32 -07:00
shamoon
e14f4c94c2
Fix: ghostscript rendering error doesnt trigger frontend failure message (#4092)
* Raise ParseError from gs rendering error

* catch all parser errors as generic exception

* Differentiate generic vs parse errors during consumption
2023-08-31 19:49:00 -07:00
Trenton Holmes
fe7fb488c0 Do some trickery to support Python 3.11 and mocking invalid module names 2023-08-25 08:44:09 -07:00
shamoon
03d93a7d6e Fix: enforce permissions on bulk_edit operations 2023-08-17 00:12:46 -07:00
shamoon
022bb272e6 Restrict status messages by owner if set 2023-08-08 20:39:55 -07:00
shamoon
2e67697d36 Note creation / deletion should respect doc permissions
- Disable add note button on frontend
- Explicitly disable add / delete via api
2023-08-01 22:28:27 -07:00
brainrecursion
0918eab004 Remove debug 2023-07-30 08:34:33 -07:00
brainrecursion
9b16789a17 Add additional test for date parsing 2023-07-30 08:34:33 -07:00
brainrecursion
157240351f Add support for more date formats 2023-07-30 08:34:33 -07:00
mechanarchy
6ad3d45d60
Add 'doc_pk' to PAPERLESS_FILENAME_FORMAT handling (#3861)
* Add 'doc_pk' to PAPERLESS_FILENAME_FORMAT handling

* Add test for 'doc_pk' filename formatter
2023-07-30 08:30:50 -07:00
Trenton Holmes
d376f9e7a3 Adding more typing around the classification and matching 2023-07-26 07:03:43 -07:00
Trenton Holmes
07e7bcd30b Small improvement to the consumer status with stronger typing 2023-07-26 07:03:43 -07:00
Trenton H
802e5591ce Also handles confirming returned predictions are still automatic matching, in case the classifier hasn't been run since a type was changed 2023-07-24 12:31:56 -07:00
Trenton H
26d5730ad2 Handles a special case where the classification model exists, but no items are auto matching any longer 2023-07-24 12:31:56 -07:00
Dennis Brakhane
8c7554e081
Feature: collate two single-sided multipage scans (#3784)
* Feature: collate two single-sided scans

Some ADF only support single-sided scans, making scanning
double-sided documents a bit annoying.

This new feature enables Paperless to do most of the work,
by merging two seperate scans into a single one, collating
the even and odd numbered pages.

* Documentation: clarify that collation is disabled by default

* Apply suggestions from code review

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>

* Address code review remarks

* Grammar fixes

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-07-24 00:29:04 -07:00
Trenton H
9f5d47c320 Fixes issues with copy2 or copystat and SELinux see #3665 2023-07-22 06:27:49 -07:00
Trenton H
8aa5ecde62 Updates some Python dependencies and the hooks 2023-07-20 18:30:11 -07:00