Andrey Antukh
ab90500ec8
🐛 Fix download-image to properly handle network errors and non-2xx responses ( #8554 )
...
The download-image function in app.media silently succeeded when the
remote image URL was unreachable or returned an error status code,
causing create-file-media-object-from-url to report success with no
actual image stored.
Add exception handling for connection refused, timeouts, and I/O errors
around the HTTP request, and validate the HTTP status code in
parse-and-validate before processing the response body.
Fixes #8499
Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-10 15:01:23 +01:00
Andrey Antukh
283eb0419c
♻️ Refactor time related namespaces
...
Mainly removes the custom app.util.time namespace
from frontend and backend and normalize all to use
the app.common.time namespace
2025-08-01 11:20:01 +02:00
Andrey Antukh
4524782282
📎 Adapt backend test to devenv changes
2025-06-18 12:35:58 +02:00
Andrey Antukh
34141ce9af
📎 Fix backend tests
...
Caused by update of image procesing libraries on the devenv docker
image update from debian to ubuntu
2025-04-09 13:37:52 +02:00
Andrey Antukh
aeb1ac41da
🐛 Prevent upload media objects to deleted files
2024-12-05 12:39:43 +01:00
Andrey Antukh
f949649ba3
⬆️ Update backend dependencies
2024-10-22 20:23:38 +02:00
Andrey Antukh
a31be7e2ff
✨ Use a prefixed dir for storing temp files
...
And mark them for deletion on JVM exit.
2024-02-14 09:53:54 +01:00
Andrey Antukh
87615ce221
💄 Fix format issues on backend module
2023-11-29 12:55:58 +01:00
Andrey Antukh
c0ccbaebaf
🔥 Remove deprecated queries and mutations
2023-04-24 20:18:14 +02:00
Andrey Antukh
dfdc9c9fa5
♻️ Refactor storage internal concurrency model
2023-03-14 12:30:27 +01:00
Andrey Antukh
ab3b9cba45
♻️ Refactor storage and assets related modules
...
- improve internal error handling
- add more specs and more asserts
2023-02-07 18:16:55 +01:00
Andrey Antukh
97a884018f
✨ Move media mutations to commands
2023-01-05 13:23:57 +01:00
Andrey Antukh
3ef99c287e
♻️ Refactor tests directory structure
2022-11-08 13:02:14 +01:00