Commit Graph

1404 Commits

Author SHA1 Message Date
perennial 150c9edda9 edit comments 2024-10-17 13:15:57 +11:00
perennial fd7914bc2d rm unused import 2024-10-17 13:14:47 +11:00
perennial 5fbe2c1ec9 dont i18n panics 2024-10-17 13:13:51 +11:00
perennial 9485a29377 implement excludedCachePaths + reorganise requests.go 2024-10-17 13:05:49 +11:00
perennial 610bb13108 use seeded xxhash for cache keys 2024-10-17 12:50:33 +11:00
perennial ce37b2a9d1 fix invalid URI paths on /self/followingWorks 2 2024-10-17 02:44:29 +11:00
perennial 2946fab01b fix invalid URI paths on /self/followingWorks 2024-10-17 02:43:27 +11:00
perennial 6953282962 refactor requests.go
Probably broke something but retryRequest became too big
in #130 and was unreadable
2024-10-17 02:37:09 +11:00
perennial 1106042a5e prefetch links 2024-10-17 02:23:15 +11:00
VnPower cbf406a360 Update the about section 2024-10-16 21:56:01 +07:00
VnPower f27be52862 No Javascript tab pane/settings page 2024-10-16 20:08:27 +07:00
VnPower 225a3d3e47 Merge pull request 'api-caching' (#130) from api-caching into v2
Reviewed-on: https://codeberg.org/VnPower/PixivFE/pulls/130
2024-10-16 11:43:59 +00:00
perennial af3506efe4 add PIXIVFE_CACHE_ENABLED 2024-10-16 21:58:20 +11:00
perennial d77f397bff htmx changes 2024-10-16 21:44:21 +11:00
perennial 59e047365e clean up user page markup 2024-10-16 19:34:21 +11:00
perennial b2e474419f make artworks-multi button smaller 2024-10-16 19:23:40 +11:00
perennial 7352ea5710 anchor titles for novel-tn 2024-10-16 19:06:48 +11:00
perennial ea72369268 UserNovels affordance tests 2024-10-16 19:01:22 +11:00
perennial 270c363d09 update novel metadata icons 2024-10-16 18:15:23 +11:00
perennial cec9ca0ff1 docs: update caching section 2024-10-16 15:01:55 +11:00
perennial 9e9d45e5e4 comment out debug logging in requests.go 2024-10-16 14:49:03 +11:00
perennial e998c3dc16 rename SetRedirectHeader middleware 2024-10-16 14:46:42 +11:00
perennial cbbe302ea7 invalidate API resp cache upon user action 2024-10-16 14:24:49 +11:00
perennial 31dc0d660d add support for ShortTTL 2024-10-16 02:25:03 +11:00
perennial 1e38499e40 drop default CacheSize to 100 2024-10-16 02:04:36 +11:00
perennial acec3daaa3 fix typo 2024-10-16 01:37:34 +11:00
perennial 913f72d462 implement caching configuration 2024-10-16 01:31:16 +11:00
VnPower f56165bc5b No Javascript navbar 2024-10-15 21:22:25 +07:00
VnPower a71def1dae Draft for noscript navbar 2024-10-15 21:22:25 +07:00
perennial f518805ec5 simple lru cache for API responses to GET requests 2024-10-16 01:14:35 +11:00
perennial c5ed886390 declare emojiMap globally 2024-10-16 00:52:15 +11:00
perennial f8a481fb06 refactor GetNovelGenre to use a map lookup 2024-10-16 00:49:25 +11:00
perennial d36e4c1dcc refactor createMultipartFormData 2024-10-16 00:41:19 +11:00
perennial a609bfbb84 refactor API_GET_UnwrapJson 2024-10-16 00:33:34 +11:00
perennial bc76596003 refactor proxy.go 2024-10-16 00:15:27 +11:00
perennial 1d78a2da7b move i18n/exceptions.go to crawler directory 2024-10-15 21:39:56 +11:00
perennial e174d63bdc add inline comments to i18n package 2024-10-15 21:37:34 +11:00
perennial 3e4188b49c Create http.Server instance in main() 2024-10-15 20:31:43 +11:00
perennial 5a8ce89d74 check for when both Host and UnixSocket are set 2024-10-15 19:59:00 +11:00
perennial 067878c562 suggest a saner default for PIXIVFE_UNIXSOCKET 2024-10-15 19:56:02 +11:00
perennial b6965679ba dont panic when no port is set 2024-10-15 19:48:28 +11:00
perennial 7f1a319e09 fix spurious error when s.ProxyServer_staging == BuiltinProxyUrl 2024-10-15 19:40:29 +11:00
perennial 2077556172 actually validate custom image server before setting it 2024-10-15 19:27:31 +11:00
perennial 30cf4903ab settings: error handling for csrf token 2024-10-15 02:37:32 +11:00
perennial 433f01b007 build.sh: rm set -o pipefail 2024-10-15 02:26:03 +11:00
perennial e6a641dd3f build.sh: fail fast on errors 2024-10-15 01:31:03 +11:00
perennial c804e1b5bc i18n: update translations 2024-10-15 01:28:20 +11:00
VnPower f601efab01 Update Vietnamese translation 2024-10-14 20:47:47 +07:00
perennial 4c3e1b4dbd followButtons HTML formatting 2024-10-14 21:23:05 +11:00
perennial 143c1efdb1 make main follow button actually do something 2024-10-14 21:17:54 +11:00