n0vad3v
cd06d4ca0a
Add libjemalloc2 and libtcmalloc-minimal4 to Dockerfile
2023-05-31 12:51:43 +02:00
dependabot[bot]
a70e2b3f98
Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 ( #221 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-31 16:49:43 +08:00
Nova Kwok
9268ada0b3
A better way to handle remote content-type, fix etag ( #216 )
...
* A better way to handle remote content-type, fix etag
* Check for err
* Optimize on fetchRemoteImage
* Write 600 permission
* Implement simple lock for write operation
* Removing typo
* Removing typo
* Setup cache
* Fix CI
* Fix retry and remove genEtag
* Fix error note
* remove duplicate Get
* WTF
* Fix tests
* remove broken test
* Fix broken tests
2023-05-29 19:41:39 +08:00
BugFest
c66fccfffd
Implement fiber etag middleware to replace etag generation ( #218 )
2023-05-29 14:55:11 +08:00
Nova Kwok
c61ed7da6b
Allow convert on abnormal image ( #212 )
...
* Allow convert on abnormal image
* Bump to 0.8.2
* Remove usless line
2023-05-22 21:47:53 +08:00
Nova Kwok
156fab9b6b
Should return original image when convert failed ( #209 )
2023-05-20 18:00:39 +08:00
Vadim
9138e3d67a
prevent image rotation ( #205 )
2023-05-20 14:33:25 +08:00
dependabot[bot]
227d2bf39d
Bump github.com/sirupsen/logrus from 1.9.1 to 1.9.2 ( #201 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.1...v1.9.2 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 17:15:14 +08:00
dependabot[bot]
c2f70544ba
Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 ( #202 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 17:09:53 +08:00
Nova Kwok
e64ded7f47
Better RAM usage ( #200 )
...
* Manually close image for GC
* Remove config
* Handle error by os.Stat
* Add more test on fetchRemoteImage
* refine TestGenOptimizedAbsPath
* Bump version to 0.8.1
2023-05-19 17:07:58 +08:00
Nova Kwok
651ae512a3
Enhance code ( #199 )
...
* Enhance code
* Fix wrong comment
* Add cURL test
* Add TestResizeImage
* Close response body
2023-05-17 20:50:02 +08:00
dependabot[bot]
416c7816ba
Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1 ( #196 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-17 19:15:20 +08:00
BugFest
ccc99e2e1c
Enable AVIF compression in proxy mode ( #194 )
...
* Enable AVIF compression in proxy mode
* Fix AVIF in proxy mode PR after PR#192 merge
* Bump version to 0.8.0
2023-05-17 19:11:58 +08:00
Nova Kwok
96802dc3bc
Update README ( #195 )
2023-05-15 21:43:29 +08:00
Nova Kwok
bcb3f1452b
Support extra parameters on request ( #192 )
...
* version 1
* some update
* Fix ST1020
* Remove ST1020
* Fix CI
* Fix params
* Fix order
* Allow reqURIwithQuery pass through when proxy mode
* Fix bugs
* Extract resizeImage
* Check for err
2023-05-15 20:13:00 +08:00
Nova Kwok
bfa8aae10c
Try using vips ( #190 )
...
* Try using vips
* No need libaom
* Update code and version
* update
* Fix CI
* Add sudo
* Fix CI
* Make CI happy
* we happy few
* Update README, fix CI
* Add --no-install-recommends
* Update code
* Add ca-certificates for proxymode
* Add pics/invalid.png for testing
* Update README
---------
Co-authored-by: Benny <benny.think@gmail.com>
2023-05-10 10:52:36 +08:00
dependabot[bot]
882dc98056
Bump github.com/valyala/fasthttp from 1.46.0 to 1.47.0 ( #189 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.46.0...v1.47.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-02 11:07:04 +08:00
dependabot[bot]
ed1485e8d4
Bump github.com/valyala/fasthttp from 1.45.0 to 1.46.0 ( #188 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.45.0 to 1.46.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.45.0...v1.46.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 11:07:34 +08:00
dependabot[bot]
531c89d51e
Bump golang.org/x/image from 0.6.0 to 0.7.0 ( #187 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 12:52:25 +08:00
Nova Kwok
f4d464e069
Bump version to 0.5.1 ( #185 )
2023-03-22 10:36:20 +01:00
Nova Kwok
090b11fc9c
Refine codes ( #184 )
...
* Refine code
* Remove log
2023-03-21 13:33:58 +08:00
Nova Kwok
dc4da7bae4
Add golangci/golangci-lint ( #181 )
...
* Add golangci/golangci-lint
* Fix golanglint
2023-03-18 22:24:06 +08:00
dependabot[bot]
71464b40a1
Bump github.com/schollz/progressbar/v3 from 3.13.0 to 3.13.1 ( #182 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.13.0...v3.13.1 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 11:51:11 +08:00
dependabot[bot]
c3c9988594
Bump github.com/valyala/fasthttp from 1.44.0 to 1.45.0 ( #183 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.44.0 to 1.45.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.44.0...v1.45.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 11:46:53 +08:00
dependabot[bot]
87be145cf2
Bump golang.org/x/image from 0.5.0 to 0.6.0 ( #180 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 11:21:32 +08:00
dependabot[bot]
c2e9932bff
Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #178 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 11:23:19 +08:00
Nova Kwok
afa0895d2f
Fix problem when building ARM images ( #177 )
...
* Fix problem when building ARM images
* Fix docker exporter does not currently support exporting manifest lists
* Fix
2023-02-22 16:55:32 +08:00
Nova Kwok
77b5b6047c
Use debian as baseimage in Dockerfile ( #176 )
...
* Use debian as baseimage in Dockerfile to mitigate https://github.com/webp-sh/webp_server_go/issues/175
* Fix Dockerfile path
2023-02-22 15:19:27 +08:00
dependabot[bot]
7490965c40
Bump golang.org/x/image from 0.4.0 to 0.5.0 ( #174 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:10:33 +08:00
dependabot[bot]
e432759a86
Bump golang.org/x/image from 0.3.0 to 0.4.0 ( #173 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 12:06:37 +08:00
Nova Kwok
23e2cc6504
Bump version to 0.4.9 ( #172 )
2023-02-07 14:43:50 +08:00
Benny
a53f0ac44a
check image size ( #170 )
...
* check image size
could be useful for #169
* Remove more deprecated ioutil lib, and fix CI problem
* Fix deps
* Write a bigger file for testing
---------
Co-authored-by: n0vad3v <n0vad3v@riseup.net>
2023-02-07 13:39:48 +08:00
Benny
16ff497ade
deprecate ioutil ( #171 )
2023-02-07 13:07:14 +08:00
Nova Kwok
9fba09f19c
Let's try Go 1.20 ( #167 )
...
* Let's try Go 1.20
* Setup-go v3
* Maybe we should quote it
2023-02-02 11:03:41 +01:00
Nova Kwok
f0be36d4f3
Use major golang version for Dockerfile ( #166 )
2023-01-11 11:01:01 +08:00
dependabot[bot]
b3177df68f
Bump github.com/valyala/fasthttp from 1.43.0 to 1.44.0 ( #165 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.43.0 to 1.44.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.43.0...v1.44.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 10:13:46 +08:00
Benny
e71d4dba86
Create FUNDING.yml ( #164 )
2023-01-08 19:40:53 +08:00
dependabot[bot]
26c0ec2ce9
Bump github.com/schollz/progressbar/v3 from 3.12.2 to 3.13.0 ( #163 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.12.2 to 3.13.0.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.12.2...v3.13.0 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 11:05:30 +08:00
dependabot[bot]
72d47cfc61
Bump golang.org/x/image from 0.2.0 to 0.3.0 ( #162 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/compare/v0.2.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 10:16:36 +08:00
Nova Kwok
68cefb6740
A bunch of fixes ( #161 )
...
* Some updates
* Update Docs as well
2022-12-25 16:19:47 +08:00
Nova Kwok
c15241662e
Make CD Clean ( #159 )
...
* Make CD Clean
* Optimize CI as well
* Fix CI
* Fix CI
2022-12-07 14:51:09 +08:00
dependabot[bot]
2a70de43ae
Bump github.com/schollz/progressbar/v3 from 3.12.1 to 3.12.2 ( #160 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.12.1 to 3.12.2.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.12.1...v3.12.2 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 11:09:22 +08:00
dependabot[bot]
89b31bdc59
Bump github.com/valyala/fasthttp from 1.42.0 to 1.43.0 ( #158 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.42.0...v1.43.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 11:12:26 +08:00
dependabot[bot]
58b9c529b8
Bump github.com/valyala/fasthttp from 1.41.0 to 1.42.0 ( #157 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.41.0 to 1.42.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.41.0...v1.42.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-25 22:07:43 +08:00
dependabot[bot]
af357b0809
Bump github.com/schollz/progressbar/v3 from 3.12.0 to 3.12.1 ( #156 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.12.0...v3.12.1 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 10:16:26 +08:00
dependabot[bot]
71398fefc9
Bump github.com/schollz/progressbar/v3 from 3.11.0 to 3.12.0 ( #155 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.11.0...v3.12.0 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 10:22:53 +08:00
dependabot[bot]
a81c021df9
Bump github.com/valyala/fasthttp from 1.40.0 to 1.41.0 ( #154 )
...
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp ) from 1.40.0 to 1.41.0.
- [Release notes](https://github.com/valyala/fasthttp/releases )
- [Commits](https://github.com/valyala/fasthttp/compare/v1.40.0...v1.41.0 )
---
updated-dependencies:
- dependency-name: github.com/valyala/fasthttp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-26 10:43:42 +08:00
dependabot[bot]
9ec3309169
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 ( #153 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 10:49:45 +08:00
Benny
e312010998
use codeql v2 ( #150 )
...
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-10-09 19:49:50 +08:00
dependabot[bot]
1c51090239
Bump github.com/schollz/progressbar/v3 from 3.10.1 to 3.11.0 ( #149 )
...
Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar ) from 3.10.1 to 3.11.0.
- [Release notes](https://github.com/schollz/progressbar/releases )
- [Commits](https://github.com/schollz/progressbar/compare/v3.10.1...v3.11.0 )
---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-12 23:36:30 +08:00