44 Commits

Author SHA1 Message Date
DarthSim
2864bab12d Add IMGPROXY_ALLOWED_PROCESSING_OPTIONS config 2025-06-09 18:15:24 +03:00
DarthSim
a5a587eb39 Add IMGPROXY_MAX_RESULT_DIMENSION config and max_result_dimension processing option 2025-06-06 19:29:39 +03:00
DarthSim
3550042a16 Apply new errors processing to more code parts 2025-02-18 17:35:13 +03:00
DarthSim
2145a66174 Fix Invalid zoom value error message for the second argument 2025-02-17 22:30:49 +03:00
DarthSim
528ece8da1 Revised errors for better error reporting 2025-02-17 22:11:40 +03:00
DarthSim
0f37d62fd8 Add IMGPROXY_BASE64_URL_INCLUDES_FILENAME config 2025-01-16 20:52:45 +03:00
DarthSim
90e5f19a6e Rename IMGPROXY_ENABLE_*_DETECTION configs to IMGPROXY_AUTO_* 2024-12-08 19:26:58 +03:00
DarthSim
3f4edb91f7 JPEG XL (JXL) support 2024-12-08 19:02:08 +03:00
DarthSim
750fdddc72 Clenup some smell 2024-11-22 01:36:58 +03:00
DarthSim
cf28d6cd92 Pass gravity name to parseGravity for better error messages 2024-11-21 21:51:12 +03:00
DarthSim
484594cfbb Don't check arguments number in applyCropOption; parseGravity should handle this 2024-11-21 21:46:46 +03:00
DarthSim
f7433303e6 Refactor gravity parsing 2024-11-21 21:27:33 +03:00
DarthSim
e7e7a43bb6 Refactor gravity a bit 2024-11-20 19:43:57 +03:00
DarthSim
23baf1cae0 Add IMGPROXY_ARGUMENTS_SEPARATOR and IMGPROXY_PRESETS_SEPARATOR configs 2024-07-06 22:36:21 +03:00
DarthSim
df75177481 Replace WatermarkOptions.Gravity with GravityReplicate 2024-04-24 19:35:16 +03:00
DarthSim
e31b24931d Update linter and fix linting errors 2024-04-18 21:16:32 +03:00
DarthSim
c84dc020ba Fix recursive presets detection 2024-02-16 20:37:56 +03:00
DarthSim
8eb04ea98b Allow relative values for gravity and watermark offsets 2023-12-01 18:23:24 +03:00
DarthSim
a246eda065 Ensure URL replacements are executed in the specified order 2023-05-28 19:59:51 +03:00
DarthSim
bc5ca9a344 Add URL replacements 2023-05-15 20:15:12 +03:00
DarthSim
7d1f7c903a Use RoundToEven when calculating offsets and watermark size 2023-04-16 21:09:48 +03:00
DarthSim
ee0cb9feda Allow encoding filename with Base64 2023-04-14 22:40:01 +03:00
DarthSim
b92de43cf3 Add support for client hints prefixed with Sec-CH-; Remove Viewport-Width header support 2023-04-11 21:08:39 +03:00
DarthSim
25459ef88c Disable extension checking if the raw processing option is used 2023-04-10 20:13:26 +03:00
DarthSim
50d04d585e Make the expires option set Expires and Cache-Control headers 2023-02-24 19:44:03 +03:00
DarthSim
9416168575 Security processing options 2023-02-23 21:11:44 +03:00
DarthSim
4bf1a27abd Add extend_aspect_ratio processing option 2023-02-19 18:58:30 +03:00
DarthSim
0f7281e56e raw processing option 2022-09-07 18:03:12 +06:00
DarthSim
8a081a917e Rearrange processing options 2022-09-07 18:03:12 +06:00
DarthSim
339b25dbd9 Fix format_quality in presets 2022-08-01 19:58:18 +06:00
DarthSim
de57af42dd NewProcessingOptions without hacks 2022-08-01 19:56:38 +06:00
DarthSim
d610afb48b Use require instead of assert in tests 2022-07-18 19:48:50 +06:00
Valentine Kiselev
23d0807e46 Add attachment option for Content-Disposition header (#887)
* Add attachment option for Content-Disposition header

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* Add documentation to attachment option

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* Add default attachment option value

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* fix: Add default value to docs

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>

* fix: Rename option attachment to return_attachment, add ENV-configuration

Signed-off-by: Valentin Kiselev <mrexox@evilmartians.com>
2022-06-06 14:53:09 +06:00
DarthSim
4d4a1d724f IMGPROXY_KEEP_COPYRIGHT config & keep_copyright option 2022-04-25 16:53:08 +06:00
DarthSim
e1a69c5d95 IMGPROXY_ENFORCE_THUMBNAIL config & enforce_thumbnail option 2022-04-14 22:33:09 +06:00
DarthSim
fff164f45a Add zoom option 2022-01-18 16:16:14 +06:00
DarthSim
7a968d5fed Crop between scale-on-load and scale 2022-01-17 18:39:59 +06:00
DarthSim
c2ea40b240 Detect deprecated basic URL format 2021-12-07 15:16:59 +06:00
DarthSim
da10f3eac3 Fix Client Hints behavior 2021-10-12 16:56:03 +06:00
DarthSim
7709b74a5e Bump version 2021-09-30 20:23:30 +06:00
DarthSim
70840467d0 format_quality processing option 2021-09-29 19:49:18 +06:00
DarthSim
d016e26e2e Merge branch 'master' into version/3 2021-09-07 19:04:33 +06:00
DarthSim
29e4188cd3 Merge branch 'version/3' into version/3-refactoring 2021-05-17 18:52:40 +06:00
DarthSim
2ea1466d96 Global refactoring 2021-05-07 17:10:21 +06:00