596 Commits

Author SHA1 Message Date
JK Gunnink 6a274b4887 fix: Dockerfile build errors (#446)
* Tests passing, go lint errors now.

* Fix deprecation warnings
2025-11-08 20:49:48 +01:00
EasyMoney322 1d4e251cfc Fix: Removed deprecated argument from Readme.MD (#430)
https://github.com/h2non/imaginary/blob/8f36a26c448be8c151a3878404b75fcd1cd3cf0c/imaginary.go#L170
2025-01-14 01:15:09 +01:00
Tom 8f36a26c44 docs: remove obsolete build badge 2024-10-08 19:53:28 +02:00
Chris Nicel 6cd9edd1d3 Update README.md (#351)
missing word in description
2023-11-28 16:37:56 +01:00
Joshua Harrison 6a405833b7 Add URL unescaping for file query parameter. (#414)
* Add URL unescaping for file query parameter.

* Fix go.mod declared package.

* Add the net/url dependency.

* Fix return values.

* Fix return values correctly.

* Fix call site.

* Update go.mod

---------

Co-authored-by: Tom <tomas@aparicio.me>
2023-11-28 16:36:37 +01:00
Alex Bowers 0d241c8228 Update middleware.go (#353)
Before these changes, compiling myself I would get:

```
go: downloading github.com/throttled/throttled v1.0.0
go: downloading github.com/throttled/throttled/v2 v2.7.1
go: downloading github.com/throttled/throttled v2.2.5+incompatible
go get: gopkg.in/throttled/throttled.v2@v2.0.3 updating to
	gopkg.in/throttled/throttled.v2@v2.7.1: parsing go.mod:
	module declares its path as: github.com/throttled/throttled/v2
	        but was required as: gopkg.in/throttled/throttled.v2
```
2023-11-28 16:34:15 +01:00
Pedro Trujillo 7efb66c243 Fix operation name typo (#417)
At pipeline endpoint, operation for /watermarkimage is "watermarkImage", with an 'i' in uppercase
2023-10-25 16:28:20 +02:00
Kian-Meng Ang b632dae8cc Fix typos (#405)
Found via `codespell -S .git`.
2023-01-02 12:33:56 +01:00
SeaaaaaSharp 35c87ba9d5 Decompression exploit check (#404)
* Bump bimg version to 1.1.7

* Add decompression bomb exploit check

* Update README with new flag

* Fix tests
2022-12-04 00:00:34 +01:00
Carl Schwan cfbf8d724c Return with and heigh of the generated images (#382)
* Return with and heigh of the generated images

Use case:

When using the fit image transformation, it is helpful to know the size
of the resulting image without having to either read the image locally
or do another request to the info endpoint.

Used in: https://github.com/nextcloud/server/pull/24166

Signed-off-by: Carl Schwan <carl@carlschwan.eu>

* Make mimetype support always return true

* Add command line option to enable this feature

Signed-off-by: Carl Schwan <carl@carlschwan.eu>

* refactor: remove deprecated X- prefix in response headers

Co-authored-by: Tom <tomas@aparicio.me>
2022-03-30 13:03:44 +02:00
Vaibhav Sharma 00f696fe3a allow speed from get (#383)
* allow speed from get

* updating the version to use effor param in libvips
2022-02-20 20:39:08 +01:00
Alessandro (Ale) Segala e96c018103 Added dev container (#385)
* Added dev container

* Removed irrelevant lines
2022-02-20 20:36:53 +01:00
Alessandro (Ale) Segala 9489834a1d Updated Dockerfile (#384)
1. Changed base image to bullseye
2. The updated base image contains an updated version of libjemalloc too, so building from source is no longer necessary
3. Updated libvips version too
2022-02-20 20:36:34 +01:00
Vaibhav Sharma 5f473e58a6 exposed palette from GET endpoints (#380) 2022-02-10 19:16:48 +01:00
Vaibhav Sharma 73bdca8b2a memory leak issue fixed with jemalloc (#381) 2022-02-09 14:42:24 +01:00
Tom c14db9e4bf fix(docs): allowed-origins examples #333 2022-01-07 18:59:07 +01:00
Tom 2d2840b4a2 fix(readme): update fly deploy tutorial 2022-01-03 13:16:48 +01:00
Tom eb87865396 feat(readme): update placeholder description 2021-11-30 00:41:44 +01:00
Tom 86ff54cdb8 fix(readme): remove gocard obsolete badge 2021-11-30 00:38:31 +01:00
Angelo Girardi a244cd9fb9 updated docker builder OS to go version 1.17 (#371) 2021-10-17 22:29:17 +02:00
James Ward 826d2f4958 Add Cloud Run Button (#362)
* Delete app.json

* Update README.md

* Update README.md
2021-07-21 02:27:42 +02:00
Mads Moeller fe080abcd6 fix: use proper formatter for usage template (#347)
Co-authored-by: Mads Moeller <madsmm@gmail.com>
2021-02-20 01:34:59 +01:00
0xflotus 45f04a6dd8 fix: small errors in docs (#346) 2021-02-12 13:04:54 +01:00
liuxu 203ade9772 Fix invalid parameters "-path-prefix" (#344) 2021-01-25 15:59:33 +01:00
Julian 98b41abfb0 Fixed Timeout in readme, 30 ~> 60 (#340) 2020-11-21 13:41:03 +01:00
Tom b6abf8ef19 fix(#333)
Closes #333
2020-09-06 11:49:20 +02:00
Corné Dorrestijn 766b17b0f1 Also set the vary header when an error occurs (#329) 2020-08-28 11:42:52 +02:00
PatrickJS 3062617f98 docs(readme): io.js is not a thing anymore (#328) 2020-08-15 11:29:30 +02:00
Tomas 648a0d3b36 fix(#267): use lower case watermarkimage in pipeline 2020-08-12 16:32:30 +02:00
Tomas 114b3f2a7c feat(docs): add memory issues note 2020-08-12 16:30:01 +02:00
Tomas 9357624e97 feat(history): update changes v1.2.4 2020-08-12 13:56:34 +02:00
Tomas 9e8b1fda63 fix(docs): update libvips links 2020-08-12 13:54:58 +02:00
Tomas cf83b4d4e7 feat(ci): add libvips 8.10.0 2020-08-12 13:05:37 +02:00
Tomas 536b9bf0b7 feat(history) 2020-08-12 13:01:38 +02:00
Nader Toukabri a9b402d94e fix(pipeline): add missing autorate (#326) 2020-08-12 13:00:06 +02:00
Tomas 6d22065739 feat(history) 2020-08-04 21:17:13 +02:00
Tomas 2943592137 feat(history) 2020-08-04 21:16:22 +02:00
Tomas 3fc9db74b1 feat(#315, #309): autorotate / gracefully fallback failed image type encoding v1.2.3 2020-08-04 21:00:38 +02:00
Tomas c68335ddb2 fix(docs): define mirror as default extend param v1.2.2 2020-06-11 16:04:05 +02:00
Tomas 08ec206972 refactor(params): use mirror as default extend behavior 2020-06-11 16:02:21 +02:00
Tomas 29253b787b refactor(params): use mirror as default extend behavior 2020-06-11 16:00:55 +02:00
Tom 30c9c7b74d fix(history): release changes v1.2.1 2020-06-08 21:13:24 +02:00
Tomas 0d71d28336 Merge branch 'master' of https://github.com/h2non/imaginary 2020-06-08 21:10:15 +02:00
Tomas c2825a6dff feat(version): release v1.1.1 2020-06-08 21:10:03 +02:00
Edwar Baron 06a6c80433 [improvement/server-graceful-shutdown] Add support of graceful shutdown (#312) 2020-06-08 18:08:08 +02:00
Tomas 69f8590c64 fix 2020-06-07 19:22:19 +02:00
Tomas 51e96d52d9 feat(ci): use job stages v1.2.0 2020-06-07 19:04:09 +02:00
Tomas 77fca066dd feat(ci): use job stages 2020-06-07 19:03:26 +02:00
Tomas 65347935f9 feat(ci): use job stages 2020-06-07 19:01:54 +02:00
Tomas c7d5f988a6 fix(ci): deploy filter 2020-06-07 18:54:58 +02:00