stumpylog
50f5d5f2e9
ruff: enable DTZ (flake8-datetimez)
...
Fixes 44 violations — naive datetime usage replaced with tz-aware
equivalents throughout production and test code:
- datetime.now() → timezone.now() (Django) or datetime.now(tz=UTC)
- datetime.fromtimestamp() → datetime.fromtimestamp(ts, tz=UTC)
- datetime.date.today() → timezone.now().date()
- datetime.datetime(...) constructors → tzinfo=UTC in tests
- UP017 auto-converted datetime.timezone.utc → datetime.UTC (py3.11+)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-04 10:47:13 -07:00
shamoon
8769dc894e
Fix: only update modified field in notes actions ( #12750 )
2026-05-08 15:36:07 +00:00
Trenton H
2354f87a40
Fixes trash preview when a document has deleted versions ( #12742 )
2026-05-07 17:07:35 +00:00
shamoon
3097f06189
Fix: exclude versions from stats count ( #12738 )
2026-05-07 16:34:26 +00:00
shamoon
d4a1de18f7
Change (dev): separate llm suggestions endpoint ( #12675 )
2026-04-30 05:52:45 -07:00
Trenton H
14fe520319
Chore: Update typing and baselines again ( #12641 )
...
a
2026-04-28 09:28:05 -07:00
Trenton H
a2dbe17a78
Fix: Use FileResponse for file API responses ( #12638 )
...
* Updates code to use a FileResponse for streaming and unlink the file, but keep a handle to it
* Transitions the rest of the code to use FileResponse instead of a basic response, fixes up tests which assumed .content exists
* While here, let's add schema for it
2026-04-25 06:40:09 -07:00
Trenton H
fbf4e32646
Chore: Converts all call sites and test asserts to use apply_async and headers ( #12591 )
2026-04-20 11:40:04 -07:00
Gaëtan GOUZI
02008e40d8
fix: Return HTTP 400 instead of HTTP 500 on DELETE /api/documents/{id}/notes/ with missing or invalid note id ( #12582 )
2026-04-15 11:56:15 -07:00
shamoon
8f036c9521
Merge branch 'main' into dev
...
# Conflicts:
# docs/usage.md
# src/documents/signals/handlers.py
# src/documents/tests/test_api_documents.py
# src/documents/views.py
2026-04-14 15:11:23 -07:00
shamoon
df3b656352
Add tests
2026-04-10 12:06:28 -07:00
shamoon
4629bbf83e
Enhancement: add view_global_statistics and view_system_status permissions ( #12530 )
2026-04-08 15:39:47 +00:00
shamoon
245514ad10
Performance: deprecate and remove usage of all in API results ( #12309 )
2026-03-31 07:55:59 -07:00
shamoon
f715533770
Performance: support passing selection data with filtered document requests ( #12300 )
2026-03-30 16:38:52 +00:00
shamoon
501cdd92d2
Fix: limit share link viewset actions ( #12461 )
2026-03-30 09:34:13 -07:00
shamoon
66c5c46913
Fix: add fallback ordering for documents by id after created ( #12440 )
2026-03-26 06:16:14 -07:00
shamoon
3e32e90355
Breaking: drop support for api versions < 9 ( #12284 )
2026-03-09 22:36:22 +00:00
Paul Gessinger
bc26d94593
Chore: Add saved view compatibility in API version 9 ( #12280 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-03-08 18:50:31 -07:00
shamoon
85a18e5911
Enhancement: saved view sharing ( #12142 )
2026-03-04 14:15:43 -08:00
shamoon
299dac21ee
Enhancement: “live” document updates ( #12141 )
2026-03-04 00:27:07 +00:00
shamoon
f65807b906
Merge branch 'main' into dev
...
# Conflicts:
# docs/setup.md
# src-ui/src/app/components/manage/document-attributes/management-list/management-list.component.ts
# src/documents/tests/test_api_documents.py
2026-02-28 02:31:20 -08:00
shamoon
b010f65ae7
Fix GHSA-386h-chg4-cfw9
2026-02-28 01:16:53 -08:00
Jan Kleine
c86ebc0260
Enhancment: Formatted filename for single document downloads ( #12095 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2026-02-26 18:06:47 +00:00
shamoon
ceee769e26
Feature: document file versions ( #12061 )
2026-02-26 16:46:54 +00:00
Trenton H
53ac338946
Breaking: Removes API v1 and the related serializer ( #12166 )
2026-02-26 04:06:43 +00:00
Trenton H
2ec8ec96c8
Feature: Enable users to customize date parsing via plugins ( #11931 )
2026-02-03 20:09:13 +00:00
Sebastian Steinbeißer
3b5ffbf9fa
Chore(mypy): Annotate None returns for typing improvements ( #11213 )
2026-02-02 08:44:12 -08:00
shamoon
c3b036e0d3
Merge branch 'main' into dev
2026-01-31 09:10:33 -08:00
shamoon
c8c4c7c749
Security: enforce permissions for post_document
2026-01-30 12:14:18 -08:00
Antoine Mérino
df07b8a03e
Performance: faster statistics panel on dashboard ( #11760 )
2026-01-26 12:10:57 -08:00
shamoon
cb091665e2
Fix: validate cf integer values within PostgreSQL range ( #11666 )
2026-01-13 09:36:29 -08:00
shamoon
a3c19b1e2d
Fix: validate cf integer values within PostgreSQL range ( #11666 )
2025-12-29 06:48:31 -08:00
shamoon
0219df5b67
Fixhancement: trim whitespace for some text searches ( #11357 )
2025-11-14 08:09:09 -08:00
shamoon
ad45e3f747
Fix: respect fields parameter for created field ( #11251 )
2025-11-01 13:13:39 -07:00
shamoon
a0d3527d20
Fixhancement: truncate large logs, improve auto-scroll ( #11239 )
2025-11-01 07:49:52 -07:00
Jan Kleine
340754d865
Enhancement: use friendly file names when emailing documents ( #11055 )
2025-10-15 17:10:25 +00:00
Jan Kleine
f0d1c75fac
Feature: add support for emailing multiple documents ( #10666 )
...
---------
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com >
2025-10-13 13:16:43 -07:00
shamoon
6dbd32759d
Enhancement: support custom field values on post document ( #10859 )
2025-09-17 22:42:06 +00:00
dependabot[bot]
4ddac79f0f
Chore(deps): Bump the small-changes group across 1 directory with 3 updates ( #10880 )
...
* Chore(deps): Bump the small-changes group across 1 directory with 3 updates
Bumps the small-changes group with 3 updates in the / directory: [ocrmypdf](https://github.com/ocrmypdf/OCRmyPDF ), [mkdocs-material](https://github.com/squidfunk/mkdocs-material ) and [ruff](https://github.com/astral-sh/ruff ).
Updates `ocrmypdf` from 16.10.4 to 16.11.0
- [Release notes](https://github.com/ocrmypdf/OCRmyPDF/releases )
- [Changelog](https://github.com/ocrmypdf/OCRmyPDF/blob/main/docs/release_notes.md )
- [Commits](https://github.com/ocrmypdf/OCRmyPDF/compare/v16.10.4...v16.11.0 )
Updates `mkdocs-material` from 9.6.19 to 9.6.20
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases )
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG )
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.19...9.6.20 )
Updates `ruff` from 0.12.12 to 0.13.0
- [Release notes](https://github.com/astral-sh/ruff/releases )
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md )
- [Commits](https://github.com/astral-sh/ruff/compare/0.12.12...0.13.0 )
---
updated-dependencies:
- dependency-name: ocrmypdf
dependency-version: 16.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: small-changes
- dependency-name: mkdocs-material
dependency-version: 9.6.20
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: small-changes
- dependency-name: ruff
dependency-version: 0.13.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: small-changes
...
Signed-off-by: dependabot[bot] <support@github.com >
* Applies the new Ruff rule for unpacking
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com >
2025-09-17 13:16:34 -07:00
shamoon
735681d294
Fix: correct api created coercion with timezone ( #10287 )
2025-06-28 21:39:14 -07:00
shamoon
3cbb5239fb
Fix: accept datetime for created ( #10021 )
2025-05-24 17:14:15 +00:00
shamoon
55917fcabe
Fix: handle created change with api version increment, use created only on frontend, deprecate created_date ( #9962 )
2025-05-19 09:38:01 -07:00
shamoon
1a6f32534c
Change: treat created as date not datetime ( #9793 )
2025-05-16 14:23:04 +00:00
shamoon
abf910fd93
Fix: fix breaking api change to document notes user field ( #9714 )
2025-04-19 22:02:33 +00:00
shamoon
4d15544a3e
Fix: fix notes serializing in API document response ( #9336 )
2025-03-09 23:04:05 +00:00
shamoon
edc7181843
Enhancement: support assigning custom field values in workflows ( #9272 )
2025-03-05 12:30:19 -08:00
shamoon
edc0e6f859
Fix: cleanup saved view references on custom field deletion, auto-refresh views, show error on saved view save ( #9225 )
2025-02-26 10:09:41 -08:00
shamoon
61cb5103ed
Fix: prune invalid custom fields ( #9224 )
2025-02-25 13:50:15 -08:00
shamoon
c122c60d3f
Feature: email document button ( #8950 )
2025-02-21 16:44:03 +00:00
shamoon
4f08b5fa20
Enhancement: "webui" workflowtrigger source option ( #9170 )
2025-02-21 08:26:00 -08:00