282 Commits

Author SHA1 Message Date
iacore 20fc8a5824 finish adding atom feed
now it only shows image thumbnail, not full image. is a problem for Atom feed since I want to see the full image.
2024-03-21 18:48:35 +00:00
iacore 97ae97fb4a rename BaseURL to PageURL 2024-03-21 18:25:32 +00:00
iacore c841e2e00f progress 2024-03-20 14:52:14 +00:00
iacore 593907a71c add more TK 2024-03-20 14:51:25 +00:00
iacore d1dd363c5a WIP 2024-03-20 14:41:38 +00:00
iacore fd7b78862f rename /users/:id/artworks to /users/:id/ 2024-03-20 14:23:44 +00:00
iacore 6007d1aced in templates, replace html comment with jet comment 2024-03-20 14:13:43 +00:00
iacore 43c963e4ed refactor /users/:id/* 2024-03-20 14:11:26 +00:00
iacore 7f9908e66e make user art category a type 2024-03-20 14:00:11 +00:00
iacore 47612faba9 fix gofiber/template/jet bug from upstream 2024-03-20 11:22:05 +00:00
VnPower c53452a90e Apply artwork image styles to ugoiras 2024-03-18 09:55:59 +07:00
VnPower e9cd669a62 Ratio filter for search page 2024-03-17 22:00:43 +07:00
VnPower bf16eddfa3 Novel author 2024-03-17 20:24:03 +07:00
iacore 923867ec91 tweak rate limit (close connection) 2024-03-17 12:26:28 +00:00
iacore d41a1ef3e1 change error message 2024-03-17 12:01:13 +00:00
iacore 16bfaf4053 fix kmutex 2024-03-17 11:59:29 +00:00
VnPower 300d12c489 Merge pull request 'Implement Permissions-Policy header' (#71) from perennial/PixivFE:add-permissions-policy into v2
Reviewed-on: https://codeberg.org/VnPower/PixivFE/pulls/71
2024-03-17 11:49:26 +00:00
perennial 05b9799180 implement Permissions-Policy 2024-03-06 11:59:05 +11:00
perennial 2159408399 remove extra space at the end of csp header 2024-03-06 11:57:28 +11:00
perennial 0ef6c3c354 fix broken ugoira
media playback requires including the image proxy in `media-src`
2024-03-06 11:51:18 +11:00
iacore 913ff9f603 cleanup 2024-03-05 12:02:13 +00:00
iacore d241b88445 fix custom cookie session bug 2024-03-05 11:59:24 +00:00
perennial 4dcd179190 Fix .env.example
PixivFE fails to run when empty env vars are set
2024-03-01 14:09:18 +11:00
perennial 9c8b2a6006 Set 127.0.0.1 as default for PIXIVFE_HOST
Avoid exposing port 8282 directly on the host
2024-03-01 13:40:54 +11:00
perennial ef011e4426 Edit Environment Variables.go 2024-03-01 13:34:50 +11:00
perennial 31a5aca8b7 Update .env.example 2024-03-01 13:17:20 +11:00
iacore 397d94dd93 rename package: core/user -> core/session
cleanup: inline cookie api
2024-02-29 14:24:47 +00:00
iacore 1dceb4a8c0 disable rate limit by default 2024-02-27 15:11:53 +00:00
perennial f3c86b70c9 Disable compress-assets.yaml workflow
Doesn't actually do anything since the compressed assets aren't
committed to the repo
2024-02-27 18:56:57 +11:00
iacore bf32e5741b Log sleep duration 2024-02-26 12:34:19 +00:00
VnPower 8b00751505 Related novels 2024-02-25 08:45:16 +07:00
iacore 65e08f66da update semgrep rules 2024-02-24 18:28:44 +00:00
iacore 435567dd97 Make error messages more consistent 2024-02-24 15:31:22 +00:00
iacore a11b1470fa cleaning 2024-02-24 15:19:17 +00:00
iacore 8d6dbe9d8f add more comments 2024-02-24 15:19:10 +00:00
iacore ce8fc8891d add comment 2024-02-24 15:13:34 +00:00
iacore 239dfdfe83 update settings page
- allow clearing image proxy
- allow clearing all settings
2024-02-24 15:12:23 +00:00
iacore ac828e9209 Use Browser Cookies To Persist User Options 2024-02-24 14:44:12 +00:00
iacore d3112c054c update semgrep rules 2024-02-24 13:41:33 +00:00
iacore 6d6065e887 fix ranking calendar: hide empty date cell 2024-02-24 13:33:21 +00:00
iacore f72ec26231 Less Atoi and less ignored error handling 2024-02-24 13:33:18 +00:00
iacore c7ea352053 Set timeout context to every http.NewRequest
I love semgrep
2024-02-24 12:53:22 +00:00
iacore 4dfeac9a50 add timeout to every request to pixiv
I love semgrep
2024-02-24 12:34:58 +00:00
VnPower d8c400eb44 Fix quirky user avatars 2024-02-24 11:12:05 +07:00
iacore 9a706b49bf log more info 2024-02-21 15:59:23 +00:00
perennial 823cbbeb3f use png compression for favicon 2024-02-21 23:10:06 +11:00
perennial 03b4852115 upload higher res favicon 2024-02-21 23:07:09 +11:00
VnPower e58589441d Update doc/Built-in Proxy List.go 2024-02-21 05:25:02 +00:00
iacore f9520ceafb rate limit: default to old behavior on too many concurrent requests 2024-02-21 00:07:03 +00:00
iacore ef40221d31 make rate limiter more lenient 2024-02-20 21:24:40 +00:00