86 Commits

Author SHA1 Message Date
iacore fd7b78862f rename /users/:id/artworks to /users/:id/ 2024-03-20 14:23:44 +00:00
iacore 7f9908e66e make user art category a type 2024-03-20 14:00:11 +00: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 d41a1ef3e1 change error message 2024-03-17 12:01:13 +00:00
iacore 16bfaf4053 fix kmutex 2024-03-17 11:59:29 +00: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
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
VnPower 8b00751505 Related novels 2024-02-25 08:45:16 +07:00
iacore 435567dd97 Make error messages more consistent 2024-02-24 15:31:22 +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 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
iacore f9520ceafb rate limit: default to old behavior on too many concurrent requests 2024-02-21 00:07:03 +00:00
VnPower c2b8e88b6f Add novel author to novel preview 2024-02-19 20:14:14 +07:00
iacore 39af9a741f tweak startup logs 2024-02-18 15:02:19 +00:00
iacore 993c5a0d9c refactor heavily 2024-02-18 14:59:03 +00:00
iacore 40aa760532 Make environment variable documentation a Go file 2024-02-18 14:31:19 +00:00
VnPower 0b228f4315 Experimental novel discovery page 2024-02-18 20:26:20 +07:00
VnPower f3a8b4a5dc Remove inline styles in ranking calendar 2024-02-18 13:05:29 +07:00
VnPower 81848e7080 Fix some errors 2024-02-18 13:05:29 +07:00
iacore 25fe08e6f4 fix: validate json before using gjson 2024-02-18 02:42:31 +00:00
iacore acde7f8279 enable self-proxying by default 2024-02-17 16:31:08 +00:00
iacore d0329d8019 allow proxy URL to have a path component
make self-proxying work
2024-02-17 16:24:27 +00:00
VnPower 31d3b4044f Basic novel page 2024-02-17 21:58:52 +07:00
iacore 19de578040 cleanup <form>s
- validate /tags/%s
2024-02-16 16:14:07 +00:00
iacore e8cfa7ac3c Store full proxy server URL (only the scheme+authority is used though) 2024-02-16 12:57:32 +00:00
iacore 7f194a21bc Apply stricter CSP, and document it. Fix typo in SCSS.
Co-authored-by: perennial <mail@perennialte.ch>
2024-02-16 12:29:40 +00:00
iacore 6f8f204c1e adapt perennial's fix (cbf1c36) to this project 2024-02-15 13:15:16 +00:00
VnPower bf6e79399e Refactor code 2024-02-15 09:29:36 +07:00
VnPower ce1206083a Add indicator for ugoiras #60 2024-02-15 09:15:08 +07:00
iacore fcaf291fc2 store original Image size 2024-02-14 16:11:28 +00:00
iacore a12cd2b6b8 fix typo 2024-02-14 15:28:18 +00:00
VnPower 130fbd52dd Fix ranking calendar images #57 2024-02-14 18:33:50 +07:00
VnPower 2072b019c0 Fix broken artworks because of disabled comments 2024-02-13 16:41:57 +07:00
VnPower 9cebf5b3c4 Fix user-set proxy 2024-02-12 07:05:36 +07:00
iacore 1008119a1a fix error handling 2024-02-11 16:12:25 +00:00
VnPower d32df572a6 Bring back the grid for artwork container 2024-02-11 12:26:16 +07:00
VnPower 54c1bc0918 Reduce requests from /artwork-multi to Pixiv 2024-02-11 10:36:05 +07:00
iacore 508e67737b log development mode 2024-02-10 17:02:38 +00:00
iacore 974e360704 add dev mode (PIXIVFE_DEV=1) 2024-02-10 13:54:09 +00:00
iacore 81aa9c1b6b add semgrep rules 2024-02-10 12:50:38 +00:00
iacore c141e661f0 fix log 2024-02-10 12:14:46 +00:00