Commit Graph

1984 Commits

Author SHA1 Message Date
DarthSim
521df55ad5 Fix cyrillic c 2025-09-18 21:07:38 +03:00
DarthSim
7ebf913f98 Expose runner from pipeline context 2025-09-18 20:48:22 +03:00
DarthSim
b5d2cce37a Fix cyrillic C 2025-09-18 20:32:35 +03:00
Viktor Sokolov
833f2bb082 pipeline context changes, Runner 2025-09-18 23:24:23 +06:00
DarthSim
7c4411fe45 Fix newInvalidArgsError 2025-09-18 19:54:31 +03: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
DarthSim
8b38b7379b Merge branch 'master' into version/4 2025-09-17 21:19:15 +03:00
dependabot[bot]
1baa6b5bc9 Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases)
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md)
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
  dependency-version: 2.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-17 23:40:25 +06:00
DarthSim
55aaa534cf Upgrade deps 2025-09-17 19:16:30 +03:00
DarthSim
f8d8d47b5b Update base Docker image 2025-09-17 18:24:52 +03:00
DarthSim
3c45a2a67a Add -v to go build command in Makefile 2025-09-17 17:05:26 +03:00
DarthSim
981e466ad4 Don't use global config in integration tests where possible 2025-09-16 22:26:43 +03: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
0625054342 Simplify svg/svg-test.go 2025-09-12 13:57:38 +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
adb4341713 Unify HTTP handler definitions 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
DarthSim
bc9d16a622 Merge branch 'master' into version/4 2025-09-10 18:05:25 +03:00
DarthSim
6f52eca85e Fix possible infinite loop during SVG sanitization 2025-09-10 18:02:50 +03:00
DarthSim
116c382bb0 Merge branch 'master' into version/4 2025-09-10 17:33:33 +03:00
DarthSim
e5d528d60a Add Makefile 2025-09-10 17:31:51 +03:00
DarthSim
079f2ae95c Make integration.Suite a complete boilerplate for integration tests 2025-09-09 23:21:56 +03:00
DarthSim
32909f5e0b Fix failed assertions reporting in testutil.TestDataProvider 2025-09-09 23:17:34 +03:00
DarthSim
8bec24f268 Return reset func for testutil.LazyObj; Add testutil.LazySuite 2025-09-09 23:17:30 +03: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
05066d0601 Remove unneeded NULL check; Init tmp images as NULL 2025-09-08 21:17:30 +03:00
DarthSim
2eb80c7f58 Use VIPS_UNREF instead of g_clear_object 2025-09-08 21:07:11 +03:00
DarthSim
7da78ef191 Add IMGPROXY_GRACEFUL_STOP_TIMEOUT config 2025-09-08 20:32:23 +03:00
DarthSim
d02a678229 Call vips.Shutdown() as close to exit as possible 2025-09-08 20:12:32 +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
DarthSim
269e28bd62 Fix watermark config load 2025-09-06 01:02:29 +03:00
DarthSim
11a17aea33 Provide actual ctx and processing options to watermark.Get in applyWatermark 2025-09-05 18:22:56 +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
Victor Sokolov
caffdcd72b IMG-49: Instance requires transport.Config (#1513)
* transport.Config

* Removed redaundant LocalEnaled
2025-09-05 13:52:27 +02:00
Viktor Sokolov
8bc70491fb processing_handler.go -> handlers/processing 2025-09-05 00:46:25 +06:00
DarthSim
7aec46f146 processing.transformAnimated doesn't need imgdata 2025-09-02 19:39:18 +03:00
DarthSim
08d225ccbf Fix vips.Image.IsAnimated when only one page is loaded 2025-09-02 18:22:20 +03:00
DarthSim
ac48257772 Refine processing.ProcessImage 2025-09-02 19:52:56 +06:00
DarthSim
84824a544e Merge branch 'master' into version/4 2025-08-30 22:07:49 +03:00
DarthSim
215fcfee1c Tune HTTP/2 client for performance 2025-08-30 21:54:35 +03:00