Commit Graph

100 Commits

Author SHA1 Message Date
VnPower 978f8d3607 Allow users to change novel text orientation 2024-05-05 20:47:58 +07:00
VnPower 6d4aa0537e UI: Novel embedded images 2024-05-05 19:27:53 +07:00
VnPower d9b1975f46 UI: Novel text orientation 2024-05-05 15:57:13 +07:00
Tina f27a726358 Get artwork data using user's token
Fixes #79
2024-04-24 18:28:18 +02:00
VnPower 3cc0a8a5c2 Fix the like button 2024-04-21 15:55:47 +07:00
VnPower af34a3bae6 Temporary removing the 'Host' prefix for cookies, add artwork actions 2024-04-20 20:11:08 +07:00
VnPower 66e05a28de Bump PixivFE version to v2.5 2024-04-17 20:16:10 +07:00
iacore e5e083a2b2 cleanup 2024-03-24 14:43:10 +00:00
iacore 7afbb52ba1 cleanup novel font styles
add language-specific font styles
2024-03-24 14:34:11 +00:00
VnPower b928364598 Broken novel settings and option to redirect after settings 2024-03-24 17:01:27 +07:00
iacore 47792b72c8 do no delete temp dir 2024-03-22 18:53:36 +00:00
iacore 95529851da cleanup 2024-03-22 12:28:53 +00:00
iacore 15fb35d60b cleanup 2024-03-22 12:22:51 +00:00
iacore 307ea404f5 log response content in development mode 2024-03-22 12:18:51 +00:00
iacore ee8da44852 rename /users/:id/artworks to /users/:id/ 2024-03-22 12:17:29 +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