1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-12-23 22:11:10 +02:00
Commit Graph

23 Commits

Author SHA1 Message Date
DarthSim
e162c9496e Add client features detector 2025-10-29 20:51:00 +06:00
DarthSim
10edac91ae errorreport.Reporter instance 2025-10-02 01:26:32 +06:00
Victor Sokolov
05a413b8a2 monitoring instance (#1546) 2025-10-01 20:05:06 +02:00
Victor Sokolov
7abda277ab IMG-26: transport.Common, cookies, errorreport (#1544)
* transport.Common relies on config

* cookies instance

* errorreport package turned into instance
2025-10-01 19:10:14 +02:00
Victor Sokolov
f55d1da1f4 env package introduced (#1538) 2025-09-30 13:24:23 +02:00
DarthSim
5a6490844c Fix check in responsewriter.SetIsFallbackImage 2025-09-25 17:59:56 +03: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
DarthSim
1f6d007948 Rebuild headerwriter to server.ResponseWriter 2025-09-11 17:37:52 +06:00
DarthSim
2fcb39085e Move handler errors and path/signature splitting to handlers package 2025-09-11 14:10:21 +06:00
Victor Sokolov
01327c1cce integration.Suite (#1518) 2025-09-09 16:25:45 +02:00
Victor Sokolov
2d9ad5c250 IMG-49: Introduced instance (#1512)
* Introduced instance

* Makefile changes
2025-09-09 15:11:37 +02:00
DarthSim
e11afc18a8 Merge branch 'master' into version/4 2025-09-08 22:09:34 +03:00
DarthSim
ac03563506 NewDefaultConfig returns value, not pointer; Nested configs are defined as value 2025-09-06 01:56:53 +03:00
DarthSim
4789810b18 Allow using LoadConfigFromEnv with nil config 2025-09-06 01:21:41 +03:00
DarthSim
a39890b00a LoadFromEnv -> LoadConfigFromEnv 2025-09-06 01:11:26 +03:00
Viktor Sokolov
8bc70491fb processing_handler.go -> handlers/processing 2025-09-05 00:46:25 +06:00
DarthSim
196b4dfc46 Mark non-exact routes via path 2025-08-26 21:05:04 +06:00
Victor Sokolov
6c9d26e8f5 IMG-54: NewDefaultConfig(), routes ordering exact/non-exact (#1504)
* NewDefaultConfig() + LoadFromEnv()

* Route order

* Changed route switch

* categoryConfig

* Use Default() in tests
2025-08-25 19:52:29 +02:00
Victor Sokolov
ec566ce1c0 IMG-53: refactor stream.go (#1503)
* stream_test.go

* StreamHandler

* stream.go replaced with handlers/stream

* Small fixes

* Separate SetMaxAge/SetForceExpires

* Fallback image TTL

* Added existing TTL check to SetIsFallbackImage

* guard clause SetIsFallbackImage

* Removed old stream.go
2025-08-25 10:25:26 +02:00
DarthSim
9ffc9716d4 Wrap errors in panic handler 2025-08-20 20:24:49 +03:00
Victor Sokolov
697c2ddcd6 IMG-52: rename metrics to monitoring (#1498)
* Removed bufpool

* metrics -> monitoring

* metricsMeta -> monitoringMeta

* monitoring.Meta -> Filter
2025-08-20 17:17:18 +02:00
Victor Sokolov
15bd00b221 IMG-51: router -> server ns, handlers ns, added error to handler ret val (#1494)
* Introduced server, handlers, error ret in handlerfn

* Server struct with tests

* replace checkErr with return
2025-08-20 14:31:11 +02:00