shamoon and GitHub
6defe24ae7
Fix: always update document modified property on bulk edit operations ( #7079 )
2024-06-23 12:11:24 -07:00
shamoon and GitHub
0f9710dc8f
Fix: index fresh document data after update archive file ( #7057 )
2024-06-21 18:33:01 +00:00
Trenton H and GitHub
91585a1fa6
Prefer the metadata JSON file over the version JSON file ( #7048 )
2024-06-20 12:49:54 -07:00
shamoon and GitHub
a796e58a94
Feature: documents trash aka soft delete ( #6944 )
2024-06-17 08:07:08 -07:00
martin f. krafft and GitHub
22a6360edf
Fix: default order of documents gets lost in QuerySet pipeline ( #6982 )
...
* Send ordered document list to Django REST pagination
Currently, when pages of documents are requested from the API, the
webserver logs a warning:
```
gunicorn[1550]: /home/madduck/code/paperless-ngx/.direnv/python-3.11.2/lib/python3.11/site-packages/rest_framework/pagination.py:200: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'documents.models.Document'> QuerySet.
```
This can yield unexpected and problematic results, including duplicate
and missing IDs in the enumeration, as demonstrated in
https://github.com/paperless-ngx/paperless-ngx/discussions/6859
The patch is simple: turn the unordered Documents QuerySet into
one that's ordered by reverse creation date, which is the default
ordering for `Document`.
Note that the default ordering for `Document` means that
`QuerySet.ordered` is actually `True` following the call to
`distinct()`, but after `annotate()`, the flag changes to `False`,
unless `order_by()` is used explicitly, as per this patch.
Closes: https://github.com/paperless-ngx/paperless-ngx/discussions/6859
Signed-off-by: martin f. krafft <madduck@madduck.net >
* Ensure order of documents in permissions test
The patch for #6982 changes the ordering of documents returned by the
API, which was previously implicit, and is now explicit. Therefore,
this patch masssages the API result to ensure the previous order.
Signed-off-by: martin f. krafft <madduck@madduck.net >
---------
Signed-off-by: martin f. krafft <madduck@madduck.net >
2024-06-13 14:46:18 +00:00
61485b0f1d
Fix: Document history could include extra fields ( #6989 )
...
* Fixes creation of a custom field being included in a document's history even if not attached
* Show custom field creation in UI
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2024-06-12 16:23:47 -07:00
Felix Eckhofer and GitHub
9e8b96cd34
Fix: Revert masking the content field in auditlog ( #6981 )
2024-06-12 06:34:49 -07:00
shamoon
b6f6d524d6
Fix: respect model permissions for ui_settings API endpoint
2024-06-11 01:00:25 -07:00
shamoon and GitHub
f225f72145
Fix: respect model permissions for tasks API endpoint ( #6958 )
2024-06-11 00:51:18 -07:00
d9002005b1
Feature: Allow encrypting sensitive fields in export ( #6927 )
...
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2024-06-09 14:41:18 +00:00
Dominik Bruhn and shamoon
d1ac15baa9
Enhancement: support delete originals after split / merge ( #6935 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2024-06-08 11:29:03 -07:00
shamoon
81e4092f53
Enhancement: unique mail rule names by owner
2024-06-08 11:29:03 -07:00
shamoon and GitHub
d8c96b6e4a
Enhancement: dont require document model permissions for notes ( #6913 )
2024-06-08 01:23:45 +00:00
Trenton H and GitHub
6d2ae3df1f
Resolves test issues with Python 3.12 ( #6902 )
2024-06-03 12:33:46 -07:00
Trenton H and GitHub
085447e7c4
Feature: Allow a data only export/import cycle ( #6871 )
2024-06-01 18:22:59 -07:00
shamoon and GitHub
d558367642
Change: rename redo OCR to reprocess ( #6866 )
2024-05-31 18:41:52 +00:00
Trenton H and GitHub
6d4897a1b8
Refresh the document instance before doing workflow work, in case some other process has updated it ( #6849 )
2024-05-28 12:56:40 -07:00
shamoon and GitHub
8abb0cd75d
Enhancement: only include correspondent 'last_correspondence' if requested ( #6792 )
2024-05-22 23:15:58 +00:00
shamoon and GitHub
3e62f13f96
Enhancement: delete pages PDF action ( #6772 )
2024-05-22 23:01:15 +00:00
shamoon and GitHub
2a0c03eda0
Enhancement: support custom logo / title on login page ( #6775 )
2024-05-20 09:40:19 -07:00
Trenton H and GitHub
622f624132
Chore: Change the code formatter to Ruff ( #6756 )
...
* Changing the formatting to ruff-format
* Replaces references to black to ruff or ruff format, removes black from dependencies
2024-05-18 02:26:50 +00:00
Daniel and GitHub
52350f8b51
Enhancement: display current ASN in statistics ( #6692 )
2024-05-12 16:58:04 -07:00
shamoon and GitHub
6fa3522618
Fix: only count inbox documents from inbox tags with permissions ( #6670 )
2024-05-10 09:00:37 -07:00
shamoon and GitHub
5fec764018
Fix: correctly respect superuser for document history ( #6661 )
2024-05-09 19:27:59 +00:00
Trenton H and GitHub
d4d0604da2
Moves additional auditlog imports into protected blocks ( #6638 )
2024-05-08 09:04:32 -07:00
shamoon and GitHub
6ea25a96a3
Fix: make backend monetary validation accept unpadded decimals ( #6626 )
2024-05-07 21:38:52 +00:00
shamoon and GitHub
caec0ed4d1
Fix: allow bulk edit with existing fields ( #6625 )
2024-05-07 14:26:07 -07:00
shamoon and GitHub
fae2399e46
Fix: dont use limit in subqueries for mariadb compatibility ( #6611 )
2024-05-07 15:14:00 +00:00
shamoon
78af59ec17
Fix: correct admin permissions check for system status
2024-05-06 12:58:57 -07:00
shamoon and GitHub
c6e7d06bb7
Feature: global search, keyboard shortcuts / hotkey support ( #6449 )
2024-05-02 16:15:56 +00:00
Trenton H and GitHub
7be7185418
Handcrafts SQL queries a little more to reduce the query count and/or the amount of returned data ( #6489 )
2024-04-30 07:37:09 -07:00
shamoon and GitHub
63e1f9f5d3
Feature: custom fields filtering & bulk editing ( #6484 )
2024-04-26 15:10:03 -07:00
shamoon and GitHub
bd4476d484
Feature: customizable fields display for documents, saved views & dashboard widgets ( #6439 )
2024-04-26 06:41:12 -07:00
shamoon
7a0334f353
Fix: cast custom fields values list to list for other DB types
...
Closes #6482
2024-04-24 01:35:45 -07:00
shamoon and GitHub
05b1ff9738
Feature: document history (audit log UI) ( #6388 )
2024-04-23 15:16:28 +00:00
shamoon and GitHub
a5d3d51cc5
Fix: always check workflow filter_mailrule if set ( #6474 )
2024-04-23 07:37:14 -07:00
shamoon and GitHub
4392628bd7
Fix: password reset done template error ( #6444 )
2024-04-19 09:34:34 -07:00
Trenton H and GitHub
b720aa3cd1
Chore: Convert the consumer to a plugin ( #6361 )
2024-04-18 02:59:14 +00:00
shamoon and GitHub
f812f2af4d
Fix: remove admin.logentry perm, use admin (staff) status ( #6380 )
2024-04-14 00:35:34 +00:00
95c24a50f7
Fix: Allow negative monetary values with a current code ( #6358 )
...
* Updates the currency validation to allow an optional negative
* Update frontend regex
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2024-04-10 07:33:13 -07:00
shamoon and GitHub
1d85caa8d0
Fix: disable invalid create endpoints ( #6320 )
2024-04-07 18:50:40 +00:00
shamoon and GitHub
5450bfb67b
Fix: Use correct custom field id when splitting ( #6303 )
2024-04-06 23:39:59 +00:00
Trenton H and GitHub
ae2b302962
Fix: Rotation fails due to celery chord ( #6306 )
...
Use Celery immutable signature so it does not take the result of the header task
2024-04-06 23:26:48 +00:00
shamoon and GitHub
957691c454
Fix: split user / group objects error ( #6302 )
2024-04-06 13:51:50 -07:00
Trenton H and GitHub
2c43b06910
Chore: Standardize subprocess running and logging ( #6275 )
2024-04-04 13:11:43 -07:00
shamoon and GitHub
0f8b2e69c9
Change: enable auditlog by default, fix import / export ( #6267 )
2024-04-04 18:51:15 +00:00
shamoon and GitHub
129933ff30
Enhancement: support custom fields in post_document endpoint ( #6222 )
2024-03-30 13:00:53 -07:00
Elias Probst and GitHub
41fc11efff
Enhancement: add ASN to consume rejection message ( #6217 )
2024-03-28 19:38:29 -07:00
shamoon and GitHub
4af8070450
Feature: PDF actions - merge, split & rotate ( #6094 )
2024-03-25 18:41:24 -07:00
shamoon and GitHub
d4963b9cbe
Fix: document_renamer fails with audit_log enabled ( #6175 )
2024-03-24 07:26:25 -07:00