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
4441d25d38
fix errors
2026-01-23 20:18:56 +01:00
orangix
7b1314fae3
rss
2026-01-23 19:27:24 +01:00
orangix
fd704f53e7
update getUrl.go to use net/http
2026-01-19 19:25:46 +01:00
orangix
bf849e1cbc
remove FIBER_PREFORK
2026-01-19 19:17:36 +01:00
orangix
cd4a36c9f7
port most routes
2026-01-19 19:11:01 +01:00
orangix
3f40c25b04
port template engine
2026-01-19 05:43:04 +01:00
orangix
e5b87dc924
gofmt
2026-01-19 02:36:52 +01:00
orangix
8cb2524924
drop RIMGU_ environment variables
2026-01-16 22:55:45 +01:00
video-prize-ranch
eabb7d9917
Allow using 1 or true for all boolean config options ( #242 )
...
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/242
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:52:26 +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
orangix
e8ed026962
add protocol to cache key ( #241 )
...
fixes #240
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/241
Reviewed-by: video-prize-ranch <video-prize-ranch@noreply.codeberg.org >
Co-authored-by: orangix <uleo8b8g@anonaddy.me >
Co-committed-by: orangix <uleo8b8g@anonaddy.me >
2026-01-12 01:45:24 +01:00
orangix
09222a116f
implement x-forwarded-proto
2026-01-05 08:18:55 +01:00
video-prize-ranch
4e3022ce1a
Add RSS feeds ( #194 )
...
Closes #179
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/194
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 >
2025-02-24 02:48:56 +00:00
video-prize-ranch
fb82afc7dd
Only show image errors on image direct links
2024-02-05 16:26:54 -05:00
video-prize-ranch
1579e59dca
Errors in image format ( closes #165 )
2024-02-04 21:24:55 -05:00
video-prize-ranch
85035243e9
Search ( #122 )
...
#113
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/122
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co >
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co >
2023-08-10 15:02:51 +00:00
video-prize-ranch
f0188614b0
Fix import
2023-05-26 15:52:17 -04:00
video-prize-ranch
311bf9ef25
Remove old image caching
2023-05-26 15:46:32 -04:00
video-prize-ranch
9525106ccc
Use browser headers for image requests
2023-05-26 15:45:59 -04:00
video-prize-ranch
740ae0d925
Use 429 error page for 429 errors from Imgur API
2022-10-05 22:16:57 -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
1263e66f45
Add error page for ratelimit
2022-09-10 10:11:17 -04:00
video-prize-ranch
d50cf2da86
Add support for .env configuration and privacy page ( closes #44 )
2022-08-04 19:41:55 -04:00
video-prize-ranch
be349ec9d9
Allow embedding embeds
2022-07-16 16:02:59 -04:00
video-prize-ranch
6eee86d682
Improve code reuse
2022-05-23 11:10:50 -04:00
video-prize-ranch
088f46a5bb
Remove viper and file configuration
2022-04-22 11:55:53 -04:00
video-prize-ranch
5596998511
Allow fullscreen in permissions-policy
2022-02-02 10:20:14 -05:00
video-prize-ranch
8d21d1a576
Initial users support
2022-01-27 20:41:10 -05:00
video-prize-ranch
4a1309e0dc
Comments
2022-01-18 18:05:06 -05:00