Commit Graph
368 Commits
Author SHA1 Message Date
Trenton HandGitHub 3d2a3ede71 Chore: Updates dependency groups (#10339) 2025-07-07 17:37:58 -07:00
shamoon 434b1e3245 Fix: replace strtobool 2025-06-19 09:02:10 -07:00
shamoonandGitHub 52b95f2b62 QoL: log version at startup, show backend vs frontend mismatch in system status (#10214) 2025-06-19 08:29:34 -07:00
shamoonandGitHub 83391af866 Fix: more api fixes (#10204) 2025-06-19 08:28:41 -07:00
07882b918b Chore: switch from os.path to pathlib.Path (#9933)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-06-18 17:16:59 +00:00
shamoonandGitHub 8d48e99487 Fix: correct api schema for next_asn (#10151) 2025-06-09 09:32:34 -07:00
shamoonandGitHub 454a2d9e9e Fix: fix email and notes endpoints api spec (#10148) 2025-06-09 07:09:28 -07:00
shamoonandGitHub 51e6eed72a Fix: handle whoosh query correction errors (#10121) 2025-06-05 08:57:25 -07:00
shamoon 1b0aa193bd Fix: fix missing archive file size 2025-04-19 14:26:53 -07:00
43b2527275 Fix: correct download filename in 2.15.0 (#9599)
---------

Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
2025-04-09 16:03:38 +00:00
shamoonandGitHub 4d15544a3e Fix: fix notes serializing in API document response (#9336) 2025-03-09 23:04:05 +00:00
shamoonandGitHub edc7181843 Enhancement: support assigning custom field values in workflows (#9272) 2025-03-05 12:30:19 -08:00
shamoon ddeb741a85 Remove one more logger call 2025-02-27 00:01:11 -08:00
Trenton H b9bcff22f8 Removes leftover logging calls 2025-02-26 14:55:40 -08:00
shamoonandGitHub 2d52226732 Enhancement: system status report sanity check, simpler classifier check, styling updates (#9106) 2025-02-26 22:12:20 +00:00
Trenton HandGitHub ec34197b59 Chore: Switch remote version check to HTTPx (#9232) 2025-02-26 12:37:33 -08:00
shamoonandGitHub 3104417076 Enhancement: include celery log in logs view (#9214) 2025-02-24 12:51:52 -08:00
shamoonandGitHub c122c60d3f Feature: email document button (#8950) 2025-02-21 16:44:03 +00:00
shamoonandGitHub 4f08b5fa20 Enhancement: "webui" workflowtrigger source option (#9170) 2025-02-21 08:26:00 -08:00
shamoonandGitHub 1dc80f04cb Feature: openapi spec, full api browser (#8948) 2025-02-10 16:43:07 +00:00
Sebastian SteinbeißerandGitHub e560fa3be0 Chore: Enable ruff FBT (#8645) 2025-02-07 09:12:03 -08:00
shamoonandGitHub 3314c59828 Tweak: more accurate classifier last trained time (#9004) 2025-02-06 10:54:31 -08:00
shamoonandGitHub 1012cee39a Fix: include reprocess in MODIFIED_FIELD_BY_METHOD (#8710) 2025-01-13 14:12:02 -08:00
shamoonandGitHub a899ff16e3 Fix: use state param with oauth (#8636) 2025-01-08 03:48:36 +00:00
shamoonandGitHub 485237caf1 Fix: check permissions for all documents via bulk download (#8631) 2025-01-07 00:10:11 -08:00
935d077836 Chore: Switch from os.path to pathlib.Path (#8325)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2025-01-06 12:12:27 -08:00
tsiaandGitHub d06aac947d Chore: disable max-age for some document endpoints (#8611) 2025-01-06 18:36:04 +00:00
shamoonandGitHub 4e3d25c714 Enhancement: custom field sorting (#8494) 2024-12-30 18:18:34 +00:00
shamoon 8291ec17d4 Fix: disable email workflow type if email not enabled 2024-12-24 09:31:59 -08:00
shamoonandGitHub 9e4bc05a24 Fix: include global perms for bulk edit endpoint (#8468) 2024-12-12 15:38:54 +00:00
shamoonandGitHub dbccd13915 Enhancement: History (audit log) for bulk edit operations (#8196) 2024-12-01 17:53:52 +00:00
shamoonandGitHub 548a7f05d8 Enhancement: preview button for document list and trash, refactor (#8384) 2024-11-29 21:24:33 -08:00
shamoonandGitHub 37f8a77516 Chore: cleanup urls, use actions for some views (#8346) 2024-11-24 12:06:31 -08:00
shamoonandGitHub 8bfe68743d Enhancement: support owner permissions for file tasks (#8195) 2024-11-20 20:25:53 +00:00
Trenton HandGitHub d1f255a22e Chore: Bulk backend dependency updates (#8212) 2024-11-11 11:54:51 -08:00
shamoonandGitHub 28fdb170bf Fix: handle uuid fields created under mariadb and Django 4 (#8034) 2024-10-28 13:54:16 +00:00
shamoonandGitHub 2353f7c2db Feature: OAuth2 Gmail and Outlook email support (#7866) 2024-10-10 20:57:32 +00:00
shamoonandGitHub 024b60638a Feature: live preview of storage path (#7870) 2024-10-09 23:35:36 +00:00
shamoonandGitHub 54293bedb1 Enhancement: management list button improvements (#7848) 2024-10-03 23:00:28 -07:00
Trenton HandGitHub e6f59472e4 Chore: Drop Python 3.9 support (#7774) 2024-09-26 12:22:24 -07:00
c92c3e224a Feature: page count (#7750)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-09-25 08:22:12 -07:00
shamoonandGitHub 4193401be7 Fix: delete_pages should require ownership (#7714) 2024-09-15 16:24:40 -07:00
shamoonandGitHub e98d52830f Fix: use JSON for note audit log entries (#7650) 2024-09-07 16:09:11 -07:00
Yichi YangandGitHub a0c227fe55 Refactor: Use django-filter logic for filtering full text search queries (#7507) 2024-08-24 21:20:43 -07:00
shamoonandGitHub 6b2e5559ca Fix: support multiple inbox tags from stats widget (#7281) 2024-07-22 10:07:51 -07:00
shamoonandGitHub a64d457c30 Enhancement: use request user as owner of split / merge docs (#7112) 2024-06-27 13:46:49 -07:00
shamoonandGitHub ac0ed0def8 Fix: handle errors for trash actions and only show documents user can restore or delete (#7119) 2024-06-27 20:33:39 +00:00
shamoonandGitHub 80c2d90e74 Fix: dont include documents in trash in counts (#7111) 2024-06-26 19:30:12 -07:00
shamoonandGitHub a796e58a94 Feature: documents trash aka soft delete (#6944) 2024-06-17 08:07:08 -07:00
martin f. krafftandGitHub 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