stumpylog
7947bb128e
Ensures all the resources are closed even in odd cases and not just by gc
2026-11-23 14:16:35 -08:00
stumpylog
8787f70991
Fix: stream AI chat natively async so a disconnect cancels the LLM request
...
The chat answer was a sync generator wrapped for ASGI, pulling each chunk
through sync_to_async(next). A client disconnect cancelled the response
task, but the worker thread waiting on the LLM could not be interrupted,
so the upstream request kept generating the whole answer for nobody.
Make stream_chat_with_documents an async generator. All the blocking setup
(ORM queries, the index read lock and its thread-bound sqlite connection,
the query embedding, building the LLM client) moves into one sync
_prepare_chat called once through sync_to_async, which also hands the DB
connection back before the answer streams. The answer then streams through
llama-index's asynthesize over the pinned async httpx clients, so a
disconnect cancels the LLM request directly. The view returns the async
generator as is, replacing the sync-to-async wrapper.
The async pinned transport resolved hostnames with a blocking getaddrinfo
on the event loop, which would stall the whole worker on slow DNS now that
chat uses it in the web server. Resolve in a thread instead, and add the
async counterparts of the existing transport tests.
2026-11-22 14:18:58 -08:00
shamoon
f722730db7
mb-5
2026-11-22 13:21:40 -08:00
Trenton H
8866538369
Chore(deps): bump packages with open security advisories ( #14810 )
...
Clears the Dependabot alerts for twisted, autobahn, pyasn1, tornado and oauthlib.
2026-11-22 13:11:09 -08:00
Trenton H
245e819cb5
Chore: Bumps nltk to 3.10.4 to clear its 14 Dependabot alerts ( #14811 )
2026-11-22 10:42:18 -08:00
Trenton H
40fed2c70f
Bumps psycopg-c to 3.3.8 ( #14764 )
2026-11-22 10:06:36 -08:00
shamoon
40598db447
Fix/tweak: include other loopbacks in default ALLOWED_HOSTS ( #14846 )
2026-11-22 09:27:53 -08:00
GitHub Actions
d1e574ff8f
Auto translate strings
2026-11-22 16:51:28 +00:00
shamoon
94ee54e4a6
Enhancement: nested tag 'split' display ( #14843 )
2026-11-22 08:49:24 -08:00
shamoon
51499afa5a
Feature: What's new (in-app release notes) ( #14835 )
2026-11-22 16:48:54 +00:00
Trenton H
d00da2b2ee
Chore: bump jbig2enc to 0.32 ( #14758 )
2026-11-22 08:41:39 -08:00
Trenton H
4973be8499
Fix: Add socket timeout options for broker and celery during status API ( #14824 )
2026-11-19 07:20:11 -08:00
shamoon
14252054a1
Fix/tweak: update form inputs while typing ( #14821 )
2026-11-18 16:28:02 -08:00
github-actions[bot] and shamoon
bcfdfcaa29
Documentation: Add v3.5.1 changelog ( #14814 )
...
* Changelog v3.5.1 - GHA
* Modify changelog for paperless-ngx version 3.5.1
Updated changelog to reflect changes in version 3.5.1.
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-11-17 21:52:43 -08:00
shamoon
35b0439195
Bump version to 3.5.1
v3.5.1
2026-11-17 21:05:28 -08:00
github-actions[bot] and Crowdin Bot
f21f6b9795
New Crowdin translations by GitHub Action ( #14798 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2026-11-18 04:15:05 +00:00
Trenton H
7977093e83
Chore: restrict uv lock environments to supported architectures ( #14759 )
...
* Chore: restrict uv lock environments to supported architectures
Limit the lock to Linux x86_64, Linux aarch64 and macOS arm64. Locked
versions are unchanged; only the unused wheel entries are removed.
* Chore: restrict uv lock environments to CPython
Add platform_python_implementation == 'CPython' to each supported
environment so the lock only resolves for interpreters we actually run on.
Basically PyPy was never supported anyway
2026-11-17 21:16:40 +00:00
shamoon
237521ec4b
Fix: skip dont use set_actor if audit log disabled ( #14808 )
2026-11-17 21:02:16 +00:00
GitHub Actions
0596579d4b
Auto translate strings
2026-11-17 20:49:24 +00:00
shamoon
a22579e311
Tweak: adjust chat timing for streaming ( #14805 )
2026-11-17 20:47:55 +00:00
Trenton H
199d1a88e9
Fix: stream AI chat answers under ASGI ( #14803 )
2026-11-17 20:47:55 +00:00
GitHub Actions
f68c093097
Auto translate strings
2026-11-17 11:38:40 +00:00
shamoon
b5d6009e15
Tweak/fix: retain bulk edit selection after queuing operation ( #14797 )
2026-11-17 03:37:03 -08:00
github-actions[bot]
c3fa454ffa
Changelog v3.5.0 - GHA ( #14792 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-16 19:48:40 -08:00
shamoon
bfd0d7fe36
Bump version to 3.5.0
v3.5.0
2026-11-16 19:20:01 -08:00
github-actions[bot] and Crowdin Bot
48c7a11195
New Crowdin translations by GitHub Action ( #14761 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2026-11-17 03:11:47 +00:00
GitHub Actions
9ba98d1cb3
Auto translate strings
2026-11-17 00:25:18 +00:00
shamoon
de75249e51
Chorehancement: move all bulk operations to async hand-off ( #14773 )
2026-11-17 00:23:44 +00:00
GitHub Actions
28bb63824f
Auto translate strings
2026-11-16 15:29:38 +00:00
Trenton H
64bf7f8457
Fix: use a constant password mask and consolidate the no-change check ( #14784 )
...
Return a constant 10 character mask instead.
Move ObfuscatedPasswordField into paperless/fields.py so core no longer
imports it from paperless_mail, and add is_obfuscated_password() to
replace the five checks
2026-11-16 15:28:13 +00:00
Trenton H
c177c13acf
Fix: use a PostgreSQL-compatible regex for scheduled workflow filename filters ( #14783 )
...
* Fix: use a PostgreSQL-compatible regex for scheduled workflow filename filters
* Tests for the translation layer
2026-11-16 06:42:34 -08:00
shamoon
4610171a94
Chore (dev): add tsconfig missing types ( #14771 )
2026-11-14 09:33:39 -08:00
GitHub Actions
cf2e2bde71
Auto translate strings
2026-11-14 07:33:25 +00:00
shamoon
aa669aca89
Fix: get users for saved view create dialog ( #14769 )
2026-11-13 23:31:27 -08:00
GitHub Actions
b42bf50b7e
Auto translate strings
2026-11-13 21:15:07 +00:00
shamoon
d31110278b
Fix: ensure ownership for manual WF runs ( #14762 )
2026-11-13 21:13:34 +00:00
GitHub Actions
5d98a5e5c8
Auto translate strings
2026-11-13 19:11:36 +00:00
shamoon
fc8c4e91ec
Fix: dont expect task ID for manual WF run in bulk dialog ( #14763 )
2026-11-13 11:10:06 -08:00
GitHub Actions
e746e008a0
Auto translate strings
2026-11-13 18:15:40 +00:00
shamoon
897f6a9e5a
Tweak: alter wording, force default for single manual wf dialog ( #14760 )
2026-11-13 10:14:23 -08:00
shamoon
694619c33e
Fix: add missing css from notes markdown PR
2026-11-13 09:57:16 -08:00
github-actions[bot] and Crowdin Bot
1f2faaec86
New Crowdin translations by GitHub Action ( #14683 )
...
Co-authored-by: Crowdin Bot <support+bot@crowdin.com >
2026-11-13 09:36:19 -08:00
GitHub Actions
6b15d625ed
Auto translate strings
2026-11-13 17:10:14 +00:00
Johannes Hager and shamoon
b63ea77543
Enhancement: render document notes as markdown ( #14626 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-11-13 09:08:20 -08:00
GitHub Actions
bfd5628dcc
Auto translate strings
2026-11-12 21:29:27 +00:00
shamoon
3dbeca603e
Feature: manual workflow trigger ( #14704 )
2026-11-12 13:28:10 -08:00
Trenton H
62d729e301
Fix: Allow AI chat filters over more than 32700 documents ( #14754 )
2026-11-12 12:08:59 -08:00
Trenton H
a1d76f3a19
Fix: Enforce CRLF when writing an email message to the file ( #14745 )
2026-11-12 00:18:43 +00:00
GitHub Actions
f5ca9bbcb6
Auto translate strings
2026-11-11 23:51:43 +00:00
shamoon
60a35edee1
Enhancement: make bulk metadata operations run async ( #14711 )
2026-11-11 15:50:15 -08:00