orangix
02be603dcc
refactor api package comments
...
* use encoding/json for comment parsing
* refactor by moving loop code to an UnmarshalJSON
* use a preallocated array and indices to maintain order while using
goroutines again, this was removed a while ago
* use new struct in comment.hbs and contextComment.hbs
* rewriteUrl partial to reduce rimgo-specific code in api
* move RenderError into pages package to avoid import cycle between render and utils
2026-01-25 06:08:28 +01:00
orangix
cd4a36c9f7
port most routes
2026-01-19 19:11:01 +01:00
orangix
e5b87dc924
gofmt
2026-01-19 02:36:52 +01:00
video-prize-ranch
3b8ad3f360
Force WebP improvements ( #237 )
...
- Allow using `true` or `1` in configuration
- Set Content-Disposition header to use correct file extension when using "Save image as"
- Only rewrite requests from img elements using Sec-Fetch-Dest header
#200
#201
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/237
Reviewed-by: orangix <orangix@noreply.codeberg.org >
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co >
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co >
2026-01-12 01:46:53 +01:00
video-prize-ranch
1579e59dca
Errors in image format ( closes #165 )
2024-02-04 21:24:55 -05:00
video-prize-ranch
b65ee39162
Switch to codeberg.org/rimgo/rimgo
2023-06-10 12:27:20 -04:00
video-prize-ranch
4de1fa1e79
Merge redesign into main ( #111 )
2023-06-10 12:04:29 -04:00
video-prize-ranch
9525106ccc
Use browser headers for image requests
2023-05-26 15:45:59 -04:00
video-prize-ranch
9d65fa95b4
Switch to Fiber cache ( closes #63 )
2022-10-14 20:27:37 -04:00
video-prize-ranch
23499a9710
Fix error without query params
2022-10-06 06:53:24 -04:00
video-prize-ranch
b6adca7627
Passthrough query parameters on /stack
2022-10-05 22:24:28 -04:00
video-prize-ranch
c93d32a043
Don't force webp on /stack
2022-10-05 22:04:21 -04:00
video-prize-ranch
4306b3bb81
Add image cache and use struct for config ( closes #58 )
2022-09-30 16:57:18 -04:00
video-prize-ranch
f1c058cbfc
Support i.stack.imgur.com ( #61 )
2022-09-30 16:17:24 -04:00
video-prize-ranch
d1a6768cef
Add support for Range headers
2022-06-25 15:23:13 -04:00
video-prize-ranch
de49f1c647
Fix bug
2022-06-04 20:48:28 -04:00
video-prize-ranch
b323b26b57
Use WebP if the browser supports it ( #32 )
2022-06-04 20:44:54 -04:00
video-prize-ranch
d05f7f868d
Add 404 page
2022-05-23 11:30:17 -04:00
video-prize-ranch
12684be6aa
Add manifest-src to CSP and add name to manifest ( closes #27 )
2022-04-10 11:21:41 -04:00
video-prize-ranch
8d21d1a576
Initial users support
2022-01-27 20:41:10 -05:00
video-prize-ranch
ac98a54f79
Stream images
2022-01-17 15:48:24 -05:00
video-prize-ranch
579cbc84c6
Initial album support
2022-01-17 15:23:04 -05:00