540 Commits

Author SHA1 Message Date
iacore 5f4c23ba5e the rapid testing framework seem to choke on generating sample data 2024-08-30 17:54:20 +00:00
iacore 1d0c1de6c8 fix tag panic
{{- must be followed with a space, or else it's parsed as part of the expression
v2.8.1
2024-08-29 15:08:32 +00:00
iacore 7825b503f2 clear up ./audit 2024-08-29 14:52:39 +00:00
iacore 13cd5929c1 Add flamegraph page 2024-08-29 14:52:32 +00:00
VnPower 45e93a9003 Fix favicon 2024-08-29 21:04:12 +07:00
iacore 14db9a41cf remove zipkin 2024-08-29 11:51:42 +00:00
VnPower eddef8a03e Bump PixivFE's version to v2.8 2024-08-29 10:49:53 +07:00
VnPower 1ac6f40b57 Use symlinks for MkDocs favicon v2.8 2024-08-29 09:46:45 +07:00
iacore 8388b8d3c5 fix favicon
favicon.ico is a bit buggy
it can't show in Aseprite and as Firefox bookmark icon
i changed it to png and it worked
2024-08-28 22:21:50 +00:00
iacore 625d9e7ee0 remove favicon2 2024-08-28 22:15:10 +00:00
iacore d3a7f5b75a trim whitespace in jet templates 2024-08-28 22:14:58 +00:00
iacore 80481dee64 clean up handlers 2024-08-28 21:01:44 +00:00
iacore 0a61eaf8ed try to remove dependencies between requests
ended up not speeding up anything
2024-08-28 15:19:30 +00:00
VnPower c9457ca935 Add some more resources 2024-08-28 22:16:59 +07:00
perennial f4b4f966fc ci: try to fix doc gen triggers 2024-08-29 01:03:43 +10:00
iacore 879a344279 save API response better 2024-08-28 14:45:44 +00:00
perennial 468647a015 docs: rm link to pixivfe on gitlab 2024-08-29 00:43:05 +10:00
perennial 4744f46ed5 ci: trigger docs build upon mkdocs.yml edits 2024-08-29 00:40:44 +10:00
perennial e3604a555b ci: explicitly define latest tag for plugin-docker-buildx 2024-08-29 00:37:18 +10:00
perennial 1ea4ccadf9 ci: deploy-docs-cloudflare depends on generate-docs 2024-08-29 00:36:24 +10:00
iacore cf2afdd0b0 simplify handlers 2024-08-28 14:31:24 +00:00
iacore a3b34323bb add back skip logger logic 2024-08-28 14:24:40 +00:00
perennial 28ed201d49 docs: update mkdocs nav 2024-08-29 00:23:24 +10:00
perennial b3842ce79d docs: capitalise repo names in mkdocs.yml 2024-08-29 00:13:28 +10:00
perennial 5822db1374 docs: use codeberg icon in header 2024-08-29 00:13:28 +10:00
iacore 687d6665a3 log to stderr with better format 2024-08-28 13:58:51 +00:00
iacore 2aa6f52218 Log spans 2024-08-28 13:58:51 +00:00
iacore 9ed08d78b8 differentiate between traced spans 2024-08-28 13:58:51 +00:00
iacore a68b742b6a Add tracing 2024-08-28 13:58:51 +00:00
iacore 81cf9887cd fix type errors 2024-08-28 13:58:51 +00:00
VnPower f053f0962d Update MkDocs image to latest 2024-08-28 13:58:51 +00:00
VnPower 92f894a952 Fix CI path matching regex 2024-08-28 13:58:51 +00:00
iacore 0b962f6ac9 add docs 2024-08-28 13:58:51 +00:00
iacore 21056f3930 centralize logging 2024-08-28 13:58:51 +00:00
iacore e10cf21089 centralize logging 2024-08-28 13:58:51 +00:00
iacore 1f89e38ec0 fix net/http usage
correct usage:
1. WriteHeader
2. Write
2024-08-28 13:58:51 +00:00
iacore 7f67a25147 log every request to pixiv 2024-08-28 13:58:51 +00:00
VnPower 39b5cb8ce0 Complete limiter middleware 2024-08-28 13:58:51 +00:00
iacore 839a1be6ba clean up requests, move everything into core/requests.go 2024-08-28 13:58:51 +00:00
iacore ba8af48948 Prevent cookie injection 2024-08-28 13:58:51 +00:00
iacore b631217277 clean up handlers 2024-08-28 13:58:51 +00:00
iacore da636c305c separate out error handler 2024-08-28 13:58:51 +00:00
iacore b2f65f33f7 move CSP header to only apply to HTML pages 2024-08-28 13:58:51 +00:00
iacore 0c2eac81b4 catch error and restore headers properly 2024-08-28 13:58:51 +00:00
VnPower ab6e6793f6 Update 2024-08-28 13:58:51 +00:00
VnPower 16c9174d05 Remove junk 2024-08-28 13:58:51 +00:00
VnPower e4c19729ed Add base for limiter 2024-08-28 13:58:51 +00:00
VnPower f49ea728c1 Move the proxy checker up 2024-08-28 13:58:51 +00:00
VnPower b109e6d070 Fix some novel settings 2024-08-28 13:58:51 +00:00
iacore 1afc42305a Use cascadia for css selector 2024-08-28 13:58:51 +00:00