DarthSim
c20f893569
Fix version in package name
2026-05-13 18:48:55 +03:00
DarthSim
836d5ebe8f
Fix key/salt configs
2026-04-10 18:00:47 +03:00
DarthSim
e237f45dcd
Utilize integration testing in processing package
2026-03-23 23:39:27 +06:00
DarthSim
76e1de9cfe
Move tests to _test packages
2026-03-23 22:35:07 +06:00
Victor Sokolov
9f36029020
IMG-87: add context to errors ( #1600 )
2026-01-14 18:10:46 +01:00
Victor Sokolov
1570a2885c
IMG-87: url in errors, errctx ( #1598 )
2026-01-14 15:32:48 +01:00
Victor Sokolov
ee9a152b4c
IMG-88: check ':' in signature ( #1596 )
2025-12-25 16:03:55 +01:00
Victor Sokolov
9b190e69d0
Removed config.Reset(), updated Changelog ( #1592 )
...
* Removed config.Reset(), updated Changelog
* IMGPROXY_WORKERS_NUMBER -> IMGPROXY_WORKERS
* Check for aws lambda in workers config
2025-12-17 11:50:59 +01:00
Victor Sokolov
aadead21d9
IMG-83: typed env vars ( #1591 )
...
* IMG-83: typed env vars
* Removed CLI flag, fixed FormatQuality&Presets logic
* URLReplacements, updated bind logic
2025-12-15 09:06:41 +01:00
Victor Sokolov
69c7d2f117
IMG-76: new linter config & fixes ( #1587 )
...
* IMG-76: new linter config & fixes
* Upgrade golangci-lint to 2.7.2
2025-12-10 13:46:22 +01:00
Sergei Aleksandrovich
e33254005d
Refactored errors ( #1578 )
...
* Refactored errors
* Make monitoring and errorreport accept `errctx.Error` instead of `error`
* Add server.Error; Remove category from errctx; Make HTTP handlers respond with *server.Error
* Remove stackSkip from errctx.Wrap; Add errctx.WrapWithStackSkip
2025-11-20 01:26:21 +06:00
DarthSim
3f2b019721
Get rid of security.Options. Use security.Checker directly with options.Options
2025-11-14 14:09:43 +06:00
Victor Sokolov
f55d1da1f4
env package introduced ( #1538 )
2025-09-30 13:24:23 +02:00
DarthSim
0426e97e3f
Universal options
2025-09-24 00:41:12 +06:00
DarthSim
89821daa9f
Migrate from logrus to log/slog
2025-09-21 20:13:27 +06:00
Victor Sokolov
f8133cd0b1
IMG-57: isSecurityOptionAllowed; shared parse fns ( #1528 )
...
* isSecurityOptionAllowed; shared parse fns
* We are not the same
2025-09-18 20:03:41 +06:00
Victor Sokolov
355e3c506e
IMG-56: Security instance ( #1524 )
...
* Security instance
* Security -> Checker
2025-09-12 13:52:47 +02:00
Victor Sokolov
2d6b5a8d5a
TestServer, AllowNetworks -> http.Transport ( #1523 )
2025-09-11 19:26:27 +02:00
Viktor Sokolov
8bc70491fb
processing_handler.go -> handlers/processing
2025-09-05 00:46:25 +06:00
Victor Sokolov
d47eeee6ad
IMG-44: move skip to processing, remove imath.Min/Max ( #1485 )
...
* Removed imath.Min/Max
* Skip goes to processing
* no svg_processing error category
* should report SVG
2025-08-15 12:38:16 +02:00
Victor Sokolov
09a25f8966
IMG-23: Replace imagemeta with imagedetect ( #1483 )
...
* Replace imagemeta with imagedetect
* Removed imagemeta package
* 1 page in the check
2025-08-13 11:49:48 +02:00
Victor Sokolov
3d14c85de3
IMG-13: http.Header, *ImageData -> ImageData ( #1473 )
...
* ImageData.Headers()
* *ImageData -> ImageData
* withmatt -> httpheaders of our own
* .Clone() headers, nil
* NewFromBytesWithFormat -> nil
* svg.go -> do not Clone()
2025-08-01 15:44:21 +02:00
Victor Sokolov
dd3b430f87
transport isolated, imagefetcher introduced ( #1465 )
2025-07-25 12:26:21 +02:00
DarthSim
a5a587eb39
Add IMGPROXY_MAX_RESULT_DIMENSION config and max_result_dimension processing option
2025-06-06 19:29:39 +03:00
DarthSim
528ece8da1
Revised errors for better error reporting
2025-02-17 22:11:40 +03:00
DarthSim
cf6f8d06b5
Fix linter issues
2025-01-27 19:04:51 +03:00
Ben Aubin
b07ac8cffb
add tests
2025-01-19 11:20:55 -08:00
Ben Aubin
d6255b5700
Fix for GHSA-j2hp-6m75-v4j4
2025-01-19 11:11:57 -08:00
DarthSim
e31b24931d
Update linter and fix linting errors
2024-04-18 21:16:32 +03:00
DarthSim
73c54abd4e
Add IMGPROXY_TRUSTED_SIGNATURES config
2024-02-22 17:33:52 +03:00
DarthSim
1a9768a2c6
Prohibit connecting to loopback, link-local multicast, and link-local unicast IP addresses by default
2023-03-22 20:25:51 +03:00
DarthSim
9416168575
Security processing options
2023-02-23 21:11:44 +03:00
DarthSim
1ededbb11f
Add IMGPROXY_MAX_ANIMATION_FRAME_RESOLUTION config
2022-11-29 18:25:38 +06:00
DarthSim
d610afb48b
Use require instead of assert in tests
2022-07-18 19:48:50 +06:00
DarthSim
7709b74a5e
Bump version
2021-09-30 20:23:30 +06:00
DarthSim
d016e26e2e
Merge branch 'master' into version/3
2021-09-07 19:04:33 +06:00
DarthSim
2ea1466d96
Global refactoring
2021-05-07 17:10:21 +06:00