Commit Graph

417 Commits

Author SHA1 Message Date
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
04fbc7f5f4 fix embed handling 2026-01-19 17:26:45 +01:00
orangix
189ebeefde add noteq 2026-01-19 17:08:15 +01:00
orangix
3f40c25b04 port template engine 2026-01-19 05:43:04 +01:00
orangix
33fa04e98d change pages/about.go to Config.ForceWebp 2026-01-19 03:04:06 +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
23b66cba47 Use full instance url for cache key (#243)
Closes #240

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/243
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>
v1.4.1
2026-01-14 18:27:25 +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>
v1.4.0
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
107a45e58b Merge pull request 'implement x-forwarded-proto' (#239) from x-forwarded-for into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/239
Reviewed-by: video-prize-ranch <video-prize-ranch@noreply.codeberg.org>
2026-01-06 04:55:44 +01:00
video-prize-ranch
751616d967 Update Go modules (#238)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/238
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-06 01:31:06 +01:00
orangix
09222a116f implement x-forwarded-proto 2026-01-05 08:18:55 +01:00
orangix
42174c052d Merge pull request 'Update README' (#231) from A_Cat/rimgo:pr-readme into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/231
Reviewed-by: orangix <orangix@noreply.codeberg.org>
2025-10-29 03:54:02 +01:00
A_Cat
c22365100d Update README 2025-10-25 07:01:16 +02:00
video-prize-ranch
26edb6a385 Fix docker files and update tailwind (#216)
- Update tailwind to 4.1.5
- Remove `version` in docker-compose.yml
- Fix CSS build in dockerfile

closes #202

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/216
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
2025-05-02 18:33:26 +00:00
video-prize-ranch
dc57521bfa Merge pull request 'Fix goreleaser config' (#199) from fix/goreleaser into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/199
v1.3.0
2025-03-28 15:15:49 +00:00
video-prize-ranch
44ce694b5b Fix goreleaser config 2025-03-28 11:15:02 -04:00
video-prize-ranch
2cef3880c7 Merge pull request 'Fix package.json scripts' (#198) from fix/tailwind4-3 into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/198
2025-03-28 14:59:42 +00:00
video-prize-ranch
061f9b0ebe Fix package.json scripts 2025-03-28 10:59:13 -04:00
video-prize-ranch
7811070f6d Merge pull request 'More fixes for tailwind 4' (#197) from fix/tailwind4-2 into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/197
2025-03-28 14:41:01 +00:00
video-prize-ranch
248782a236 More fixes for tailwind 4 2025-03-28 10:40:22 -04:00
video-prize-ranch
1a0016cec3 Merge pull request 'Fixes for Tailwind 4' (#196) from fix/tailwind4 into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/196
2025-03-28 14:22:38 +00:00
video-prize-ranch
af919226ed Fixes for tailwind 4 2025-03-28 10:20:32 -04:00
video-prize-ranch
3d2b0eeb2a Merge pull request 'Fix Docker build failure with Tailwind CSS v4' (#195) from nyuuzyou/rimgo:main into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/195
2025-03-28 14:05:37 +00:00
nyuuzyou
2cb5bcebf3 Fix Docker build failure with Tailwind CSS v4
This PR fixes the Docker build failure caused by incompatibility with the new CLI command structure of Tailwind CSS v4. Previously, the build failed with the error: `npm error could not determine executable to run.`

https://github.com/tailwindlabs/tailwindcss/discussions/15820
2025-03-27 21:04:13 +00: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
65e4a5f08e Update dependencies (#193)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/193
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
2025-01-27 02:39:00 +00:00
video-prize-ranch
0f1fbc2401 Update air git repo (#186)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/186
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
v1.2.6
2024-07-03 13:02:39 +00:00
video-prize-ranch
4afb7cefe7 Add support for new gallery link format (#185)
Fixes #183

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/185
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
2024-07-03 12:56:13 +00:00
video-prize-ranch
20715f53af Fix "Internal Server Error" (#182)
Fixes #181

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/182
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
v1.2.5
2024-06-21 02:14:31 +00:00
video-prize-ranch
ac9582df0a Update dependencies (#180)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/180
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
v1.2.4
2024-06-21 00:16:32 +00:00
video-prize-ranch
0ce85ed2bd Update go modules (#174)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/174
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
2024-02-07 01:16:59 +00:00
orangix
09a76779c9 check page length before return in nextInTag (#173)
fixes #172

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/173
Co-authored-by: orangix <uleo8b8g@anonaddy.me>
Co-committed-by: orangix <uleo8b8g@anonaddy.me>
2024-02-07 01:13:29 +00:00
video-prize-ranch
337796b9be Update Justfile (#170)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/170
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
2024-02-05 22:57:33 +00:00
orangix
927ea20fad next button for tagged posts (#169)
No previous button because that would be annoying to implement serverside with pagination etc.

Closes #115

Fixed conflict with #154, #155, #156

Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/169
Reviewed-by: video-prize-ranch <video-prize-ranch@noreply.codeberg.org>
Co-authored-by: orangix <orangix@noreply.codeberg.org>
Co-committed-by: orangix <orangix@noreply.codeberg.org>
2024-02-05 22:47:04 +00:00
orangix
7433265991 Merge pull request 'Errors in image format' (#168) from feature/image-errors into main
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/168
Reviewed-by: orangix <orangix@noreply.codeberg.org>
2024-02-05 21:28:29 +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
6d528c7d0a Add start_url to manifest (#161)
Fixes #160

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/161
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>
v1.2.3
2024-01-17 22:11:22 +00:00
video-prize-ranch
9a6173a662 Update dependencies (#162)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/162
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>
2024-01-17 22:11:01 +00:00
video-prize-ranch
c366f95f6b Replace io/ioutil with io (#159)
io/ioutil is deprecated

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/159
2023-12-11 03:50:36 +00:00
video-prize-ranch
f5e1669a61 Handle error on app.Listen (closes #157) (#158)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/158
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>
2023-12-11 03:49:58 +00:00
orangix
dd78541a46 Revert "Create images for video-prize-ranch/rimgo image (#154)" (#156)
This reverts commit 13a72701e1.

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/156
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>
v1.2.2
2023-11-16 23:52:49 +00:00
video-prize-ranch
29203a1a78 Fix GoReleaser (#155)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/155
Co-authored-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
Co-committed-by: video-prize-ranch <cb.8a3w5@simplelogin.co>
2023-11-16 23:33:00 +00:00
video-prize-ranch
13a72701e1 Create images for video-prize-ranch/rimgo image (#154)
Most instances seem to not have moved to the new image yet

Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/154
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>
2023-11-16 23:27:25 +00:00
video-prize-ranch
252b557450 Update dependencies (#153)
Reviewed-on: https://codeberg.org/rimgo/rimgo/pulls/153
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>
2023-11-16 23:20:41 +00:00