Commit Graph

17 Commits

Author SHA1 Message Date
Viktor Sokolov
0269bf765a Processing config 2025-09-17 15:36:52 +02:00
Victor Sokolov
4b05e87274 IMG-57: introduce processing options factory (#1526)
* Intoduced options.Factory

* ProcessingOptionsFactory in processing and watermark

* Clone with testutil.Helper
2025-09-16 17:04:21 +02:00
Victor Sokolov
355e3c506e IMG-56: Security instance (#1524)
* Security instance

* Security -> Checker
2025-09-12 13:52:47 +02:00
DarthSim
91187082f5 Wrap originData.Error() with r.wrapDownloadingErr 2025-09-12 14:17:58 +03:00
DarthSim
b8861a1c84 Rename semaphores to workers and simlify it 2025-09-11 23:33:33 +06:00
Victor Sokolov
2d6b5a8d5a TestServer, AllowNetworks -> http.Transport (#1523) 2025-09-11 19:26:27 +02:00
DarthSim
1f6d007948 Rebuild headerwriter to server.ResponseWriter 2025-09-11 17:37:52 +06:00
DarthSim
53645688fb Provide shared resources to handlers via HandlerContext interface 2025-09-11 14:10:21 +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
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
Victor Sokolov
37a6ea2bf7 IMG-49: Get rid of global watermark image and fetcher (#1515)
* Get rid of global watermark image

* imagedata.Factory, removed global Fetcher
2025-09-05 16:22:57 +02:00
Victor Sokolov
6f11d950fb imagefetcher -> fetcher (#1514) 2025-09-05 15:31:48 +02:00
Viktor Sokolov
8bc70491fb processing_handler.go -> handlers/processing 2025-09-05 00:46:25 +06:00