InvenTree/docs/docs
Oliver 27ca0836e7
[refactor] Attachment images (#11961)
* Add new Attachment model fields:

- is_image
- thumbnail

* Cache if the attachment is an image

* Add new setting for controlling max upload size

* Validate uploaded attachment file

* Add tqdm for progress bars

* Refactor migrations

- Don't need is_image field
- Can introspect from the thumbnail

* Data migration for existing attachments

* Bump API version

* Update tests and validators

* Add "is_image" field to the Attachment model

* Offload to background task

* Implement unit tests

* Docs

* Add unit test for data migration

* Additional unit test

* Omit migration tests from code coverage

* Additional unit tests
2026-05-22 23:37:32 +10:00
..
api Transfer Order (#11281) 2026-05-22 17:08:40 +10:00
app Adjust app docs (#11849) 2026-05-02 10:04:35 +10:00
assets Transfer Order (#11281) 2026-05-22 17:08:40 +10:00
barcodes Barcode scan tweaks (#10992) 2025-12-11 16:19:47 +11:00
concepts [refactor] Attachment images (#11961) 2026-05-22 23:37:32 +10:00
develop feat(frontend): bump node build enviroment to 24 (#11893) 2026-05-08 08:48:53 +10:00
javascripts feat(docs): add architecture/roadmap (#9624) 2025-06-13 11:28:02 +10:00
manufacturing External order checks (#11935) 2026-05-13 15:16:34 +10:00
part Maximum stock level (#11914) 2026-05-10 20:55:05 +10:00
plugins feat(frontend): Add option for plugins to add header actions (#9570) 2026-05-22 08:20:07 +10:00
project Docs spelling fixes (#10972) 2025-12-07 08:11:26 +11:00
purchasing [docs] Docs updates (#10678) 2025-10-26 17:16:59 +11:00
releases [plugin] Auto issue orders (#9565) 2025-06-03 17:07:12 +10:00
report Additional report tags (#11718) 2026-04-11 12:03:58 +10:00
sales Block SO allocation until tests pass (#11915) 2026-05-11 20:09:34 +10:00
settings [refactor] Attachment images (#11961) 2026-05-22 23:37:32 +10:00
start Update installer docs (#11846) 2026-05-02 09:14:02 +10:00
stock Transfer Order (#11281) 2026-05-22 17:08:40 +10:00
stylesheets Render API docs (#6463) 2024-03-02 11:28:37 +11:00
webfonts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
__init__.py Fixes for docs building (#4659) 2023-04-22 23:35:25 +10:00
demo.md Invoke docs (#8373) 2024-10-27 10:51:51 +11:00
faq.md Boundary updates (#11794) 2026-04-24 10:52:17 +10:00
hooks.py Ensure configuration settings are documented (#11674) 2026-04-21 12:23:53 +10:00
index.md Docs refactor (#9545) 2025-04-22 08:18:32 +10:00
privacy.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
security.md refactor(docs): better security linking and references for docs (#9621) 2025-05-04 22:20:09 +01:00
troubleshooting.md Docs updates (#10912) 2025-11-26 21:27:13 +11:00