Nova Kwok
77584df0ea
update README ( #241 )
2023-06-30 07:59:55 +02:00
Nova Kwok
2b67e6dcb8
Update README.md ( #240 )
...
* Update README.md
* Fix typo
2023-06-29 23:32:56 +08:00
Benny
451f9a4145
update README.md ( #237 )
...
* update README.md
* #234
2023-06-28 14:56:33 +08:00
Benny
23bbed8ce6
Refactor review ( #220 )
...
* runnable
* convert is working
* some refactoring
* update go.mod
* fix some TODOs
* add TODO
* update go mod
* rebase onto master
* fix #234
2: 5.9s - 7.6MB
4: 26s - 6.9MB
* fix malloc tests
* fix malloc tests
* remote TODO
* add X-Real-IP #236
* Better localRawImagePath
* remove some wrong comments
* Bump version to 0.9.0
---------
Co-authored-by: n0vad3v <n0vad3v@riseup.net>
2023-06-27 15:43:43 +02:00
Nova Kwok
a8090ff47e
Ignore sisze when source is GIF ( #233 )
...
* Ignore sisze when source is GIF
* error strings should not be capitalized (ST1005)
2023-06-15 17:10:53 +08:00
Nova Kwok
2c0dd15222
Now we support animated GIF images ( #232 )
...
* Now we support animated GIF images
* Fix CI
* Update runtime image
2023-06-15 15:28:59 +08:00
Zhou Zhiqiang
90680bef6c
feat: automatic load pages in animated images ( #231 )
...
* feat: automatic load pages in animated images
Signed-off-by: STRRL <im@strrl.dev>
* chore: remove destination file during test
Signed-off-by: STRRL <im@strrl.dev>
* chore: change import param code style
Signed-off-by: STRRL <im@strrl.dev>
---------
Signed-off-by: STRRL <im@strrl.dev>
2023-06-15 14:08:08 +08:00
Nova Kwok
f5eda9eaed
Change Stripe link to another account ( #225 )
2023-06-08 16:31:28 +08:00
dependabot[bot]
e3a0ff8386
Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 ( #224 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.2 to 1.9.3.
- [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.2...v1.9.3 )
---
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-06-05 11:50:05 +08:00
Nova Kwok
dc9b6cd8b2
Bump to 0.8.4 ( #223 )
2023-05-31 20:14:04 +08:00
n0vad3v
97613832ef
Add integration tests
2023-05-31 12:51:43 +02:00
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