Commit Graph

475 Commits

Author SHA1 Message Date
iacore 00a060caa6 fix redirect 2024-08-27 20:26:24 +00:00
iacore 7b8fb618eb write about caching 2024-08-27 20:23:39 +00:00
iacore fbdf1f78f2 organize files
add http client with better maxidleconnections
2024-08-27 19:54:37 +00:00
iacore 26639d26ca cache proxied images by forwarding headers 2024-08-27 19:35:22 +00:00
iacore 765bdd41c0 remove CompatRequest 2024-08-27 16:42:29 +00:00
iacore 17b3aa269b clean up redirect codes 2024-08-27 16:26:48 +00:00
iacore cedf7179fc replace ?r=/redirect_to with something else.
can't shake the fakey feeling. net/http expects one handler max. the way we currently detect redirect param is not one handler.
      we should refactor the code out to be called from different handlers
      also, wtf is /settings/novelFontType?noredirect=t&r=  (redirect or no redirect?)
      suggestion: Use Referer. the header exists for a reason. might need to turn off CSP for that.
2024-08-27 16:21:17 +00:00
iacore 2e4ac50f69 clean up 2024-08-27 15:44:39 +00:00
iacore 6db751e8bd mostly done 2024-08-27 15:15:54 +00:00
iacore 12be0ce3fc all type check, no panic 2024-08-27 14:49:19 +00:00
iacore 68deed7e00 clean up 2024-08-27 14:27:31 +00:00
iacore 2b4587221f fix all type errors 2024-08-27 14:26:48 +00:00
iacore baeb7531e1 fix more 2024-08-27 14:11:03 +00:00
iacore 97ee0c2721 fix more 2024-08-27 14:08:39 +00:00
iacore bd579d3b84 fix http.NewRequest with context 2024-08-27 14:04:17 +00:00
iacore 13e0bcee7b ++ 2024-08-27 13:56:14 +00:00
iacore 4dfebd0ee7 update 2024-08-27 13:50:15 +00:00
iacore b8d8d1b589 fix it more 2024-08-27 13:49:13 +00:00
VnPower b894f4984b Remove duplicated imports and fix cookies? 2024-08-27 19:52:04 +07:00
iacore 60af2887fd remove last panic in http handler 2024-08-27 12:49:08 +00:00
iacore e09d437bfe add tip 2024-08-27 12:30:20 +00:00
iacore 36bbbf6a90 convert part of main.go 2024-08-27 12:27:51 +00:00
iacore 35954513c5 rename files 2024-08-27 11:08:23 +00:00
VnPower b978db7c86 Remove Codeberg pages 2024-08-27 17:14:57 +07:00
VnPower 1794517618 Fix CI 2024-08-27 16:34:40 +07:00
VnPower 050fd1991f Fix CI again :) 2024-08-27 16:28:22 +07:00
VnPower 97c3a09ea8 Add a step for Cloudflare Pages 2024-08-27 16:08:08 +07:00
VnPower 8b107d40cd Fix CI 2024-08-27 15:25:07 +07:00
VnPower 7fae2e4afd Fix 2024-08-27 13:15:49 +07:00
VnPower 68f8579ad0 Fix 2024-08-27 12:21:43 +07:00
VnPower d2a654678c Some tweak 2024-08-27 12:18:20 +07:00
VnPower 78a26a9ad0 Add configs for MkDocs 2024-08-27 12:07:43 +07:00
VnPower d76bf90a1c Fix CI variables 2024-08-27 11:58:46 +07:00
VnPower ac400c13d9 Add build steps to the CI for the docs 2024-08-27 11:57:32 +07:00
iacore a34a1b8198 migrate docs back into this repo 2024-08-26 16:20:13 +00:00
iacore 6c36a1cf89 fix docs 2024-08-26 14:54:22 +00:00
iacore 64c08d4c71 analyze gofiber features we use 2024-08-26 14:46:55 +00:00
VnPower a0f73272aa Merge pull request 'Add issue template for submitting new instances' (#91) from perennial/PixivFE:v2 into v2
Reviewed-on: https://codeberg.org/VnPower/PixivFE/pulls/91
2024-08-25 09:48:34 +00:00
perennial 7d6b4b9ce5 Add issue template for submitting new instances
This commit introduces an issue template for users to submit
information about a PixivFE instance they want to add.
2024-08-25 15:02:08 +10:00
iacore fe8633e3f6 ++ 2024-08-24 10:22:37 +00:00
iacore e7e5ab6c00 fix all templates to make test pass 2024-08-24 10:15:23 +00:00
iacore 187edad0a3 fix timeout 2024-08-24 09:52:52 +00:00
iacore 0931426a3d Migrate fully to Render(...) 2024-08-24 09:51:31 +00:00
iacore d011e6261e fix test 2024-08-24 09:22:39 +00:00
iacore 8b5b4b6711 Fix extends 2024-08-24 09:13:59 +00:00
iacore 822a157a6e use proper jet layout feature (extends) 2024-08-24 08:57:02 +00:00
iacore 10134b989f simplify proxy_checker log message 2024-08-24 08:28:14 +00:00
iacore c57471d5db add migration plan 2024-08-24 07:54:03 +00:00
VnPower 326dcef88f Fix the comment section wrapper 2024-08-24 10:08:56 +07:00
VnPower d34de08460 Update the log in section 2024-08-24 10:04:11 +07:00