shamoon
f798d387dd
Fix: support multiple inbox tags from stats widget ( #7281 )
2024-07-22 10:07:51 -07:00
shamoon
a8df0c9ca4
Enhancement: use request user as owner of split / merge docs ( #7112 )
2024-06-27 13:46:49 -07:00
shamoon
a80f00721d
Fix: handle errors for trash actions and only show documents user can restore or delete ( #7119 )
2024-06-27 20:33:39 +00:00
shamoon
dc8e73c0e2
Fix: dont include documents in trash in counts ( #7111 )
2024-06-26 19:30:12 -07:00
shamoon
e9ba6de03e
Feature: documents trash aka soft delete ( #6944 )
2024-06-17 08:07:08 -07:00
martin f. krafft
4ed795a65f
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
Trenton H
131fd97655
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
shamoon
8d4c83353d
Fix: respect model permissions for ui_settings API endpoint
2024-06-11 01:00:25 -07:00
shamoon
692c07a238
Fix: respect model permissions for tasks API endpoint ( #6958 )
2024-06-11 00:51:18 -07:00
Dominik Bruhn
6377233f38
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
0abcb56f71
Enhancement: dont require document model permissions for notes ( #6913 )
2024-06-08 01:23:45 +00:00
shamoon
55912df056
Enhancement: only include correspondent 'last_correspondence' if requested ( #6792 )
2024-05-22 23:15:58 +00:00
Trenton H
16584328f1
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
c93b095588
Enhancement: display current ASN in statistics ( #6692 )
2024-05-12 16:58:04 -07:00
shamoon
8a28eaf96e
Fix: only count inbox documents from inbox tags with permissions ( #6670 )
2024-05-10 09:00:37 -07:00
shamoon
76b60774ff
Fix: correctly respect superuser for document history ( #6661 )
2024-05-09 19:27:59 +00:00
shamoon
fb7b65d851
Fix: dont use limit in subqueries for mariadb compatibility ( #6611 )
2024-05-07 15:14:00 +00:00
shamoon
b607c68661
Fix: correct admin permissions check for system status
2024-05-06 12:58:57 -07:00
shamoon
08da0f661e
Feature: global search, keyboard shortcuts / hotkey support ( #6449 )
2024-05-02 16:15:56 +00:00
Trenton H
45104eb538
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
40b81c77e8
Feature: custom fields filtering & bulk editing ( #6484 )
2024-04-26 15:10:03 -07:00
shamoon
3a8793b1c0
Fix: cast custom fields values list to list for other DB types
...
Closes #6482
2024-04-24 01:35:45 -07:00
shamoon
77752ec0a7
Feature: document history (audit log UI) ( #6388 )
2024-04-23 15:16:28 +00:00
shamoon
348f8e0aa1
Fix: remove admin.logentry perm, use admin (staff) status ( #6380 )
2024-04-14 00:35:34 +00:00
shamoon
46dbe9db2a
Fix: disable invalid create endpoints ( #6320 )
2024-04-07 18:50:40 +00:00
shamoon
3d784bb623
Enhancement: support custom fields in post_document endpoint ( #6222 )
2024-03-30 13:00:53 -07:00
shamoon
17e53dd020
Feature: PDF actions - merge, split & rotate ( #6094 )
2024-03-25 18:41:24 -07:00
shamoon
0e3f184819
Change: remove credentials from redis url in system status ( #6104 )
2024-03-14 08:20:34 -07:00
shamoon
85390278eb
Enhancement: move and rename files when storage paths deleted, update file handling docs ( #6033 )
2024-03-07 20:39:55 +00:00
shamoon
9ea4785248
Fix: make document count lists for objects permissions-aware ( #6019 )
2024-03-07 15:15:46 +00:00
shamoon
b128267e38
Change: tweaks to system status ( #6008 )
2024-03-05 15:50:04 +00:00
shamoon
946bda5041
Feature: system status ( #5743 )
2024-03-04 09:26:25 -08:00
shamoon
98b2fdf924
Fix: respect global permissions for UI settings ( #5919 )
2024-02-26 20:19:31 +00:00
shamoon
50d4fac0ff
Fix: bulk edit objects does not respect global permissions ( #5888 )
2024-02-25 16:59:59 -08:00
Trenton H
1d3f525f92
Ensure all creations of directories create the parents too ( #5711 )
2024-02-10 11:02:40 -08:00
shamoon
e84ccbdf46
Enhancement: bulk delete objects ( #5688 )
2024-02-08 10:13:15 -08:00
Trenton H
ec0b0d0de4
Chore: Backend dependencies update ( #5676 )
2024-02-08 09:48:24 -08:00
Trenton H
0c4be9f494
Feature: Cache metadata and suggestions in Redis ( #5638 )
2024-02-04 10:42:21 -08:00
shamoon
027b661a4e
Enhancement: mergeable bulk edit permissions ( #5508 )
2024-02-01 19:56:57 +00:00
Trenton H
841ff64021
Fix: Getting next ASN when no documents have an ASN ( #5431 )
...
* Fixes the next ASN logic to account for no ASNs yet being assigned
* Updates so the ASN will start at 1
* Do the same calculation without the branch
2024-01-16 23:08:37 +00:00
Trenton H
95bc3028c1
Feature: Add additional caching support to suggestions and metadata ( #5414 )
...
* Adds ETag and Last-Modified headers to suggestions, metadata and previews
* Slight update to the suggestions etag
* Small user message for why classifier didn't train again
2024-01-16 17:01:07 +00:00
shamoon
2b01a79828
Feature: app branding ( #5357 )
2024-01-13 19:57:25 +00:00
shamoon
a96bf3c165
Enhancement: add basic filters for listing custom fields ( #5257 )
2024-01-06 03:04:31 +00:00
Bevan Kay
457165d66e
Enhancement: add storage_path
parameter to post_document API ( #5217 )
...
* Feature: add `storage_path` parameter to post_document API
* Complete coverage for validate_storage_path
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-01-03 08:31:56 +00:00
shamoon
1141b767a0
Feature: Workflows ( #5121 )
2024-01-03 08:19:19 +00:00
Adam Bogdał
18a0d74d9e
Reduce number of db queries ( #4990 )
2023-12-15 11:36:25 -08:00
shamoon
f351dc44eb
Fix: Sort consumption templates by order by default ( #4956 )
2023-12-12 16:27:26 +00:00
shamoon
75c863766f
Fix version checker GitHub api url ( #4773 )
2023-12-02 15:56:56 +00:00
shamoon
5f08ac01bd
FIx note deletion ( #4602 )
2023-11-15 20:25:17 -08:00
Trenton H
ab9e561317
Chore: Backend bulk updates ( #4509 )
2023-11-13 17:09:56 +00:00