Commit Graph

  • 2e445c98ea refactor settings HTML perennial 2024-10-18 14:43:21 +11:00
  • 9e22089fb6 update settings html perennial 2024-10-18 14:12:19 +11:00
  • 3de5e0dc4a compile twbs perennial 2024-10-18 14:09:32 +11:00
  • 46cd5876a4 rename PageURL to CurrentPath perennial 2024-10-18 14:08:42 +11:00
  • b0ef05f84a conditionally load proxy-toggle.js perennial 2024-10-18 14:07:55 +11:00
  • 4486d5020c clean up inline comments perennial 2024-10-18 13:47:27 +11:00
  • 8bf28ece2b fix SetLocaleFromCookie comment perennial 2024-10-18 13:46:56 +11:00
  • 311b1de674 clean up navigation perennial 2024-10-18 13:39:31 +11:00
  • e76f049cff core/user undo refactors perennial 2024-10-18 00:58:02 +11:00
  • 0e4a089ab9 reorganise core/user perennial 2024-10-18 00:07:52 +11:00
  • efbed98e2d lazy load comment author avatars and stamps perennial 2024-10-17 23:14:07 +11:00
  • 602d52051c bump GetArtworkRelatedURL to limit=180 perennial 2024-10-17 23:10:41 +11:00
  • 4d20b20f03 refactor routes/helpers perennial 2024-10-17 22:48:50 +11:00
  • f21b346694 fix JS follow button perennial 2024-10-17 21:43:32 +11:00
  • ebb6854b99 disable ranking prefetch perennial 2024-10-17 21:39:43 +11:00
  • 315fa0b292 fix ranking noscript perennial 2024-10-17 21:36:32 +11:00
  • 17ff396399 No Javascript follow buttons VnPower 2024-10-17 17:30:23 +07:00
  • 653c935c36 No Javascript advanced search options VnPower 2024-10-17 17:05:45 +07:00
  • 56c5c525e9 update novel prefetch links perennial 2024-10-17 21:01:44 +11:00
  • 395f675175 fix ShouldUseCached perennial 2024-10-17 20:54:39 +11:00
  • b917e8deab check for "no-cache" before serving cache perennial 2024-10-17 20:52:54 +11:00
  • bd1bc5c605 fix caching perennial 2024-10-17 20:50:13 +11:00
  • 0952dda06a use strings.HasPrefix for shortTTLPaths perennial 2024-10-17 20:40:52 +11:00
  • 54dcde38af rework caching functions perennial 2024-10-17 20:13:18 +11:00
  • 3c53f70928 Enable noscript ranking options VnPower 2024-10-17 16:08:32 +07:00
  • f5c6e62e73 core/user: more refactor perennial 2024-10-17 19:38:17 +11:00
  • f57e2f0305 refactor core/user perennial 2024-10-17 19:20:48 +11:00
  • 37fa48b9d2 core/index: consolidate functions perennial 2024-10-17 17:16:54 +11:00
  • 87aba9c0d2 requests.go: consolidate functions perennial 2024-10-17 17:11:18 +11:00
  • 803f2ccb0e refactor core/index.go perennial 2024-10-17 14:47:37 +11:00
  • 1718d1c956 refactor setImageServer perennial 2024-10-17 14:32:51 +11:00
  • c05a56c37f fix htmx scrolling issue perennial 2024-10-17 14:19:10 +11:00
  • 2e439c2383 user.go: handle both JSON objects and empty arrays correctly perennial 2024-10-17 13:48:05 +11:00
  • c3d47ebdd6 rename header_backup symbol to headerBackup perennial 2024-10-17 13:40:38 +11:00
  • 400c31cff9 proxy.go: dont tranlate server logs perennial 2024-10-17 13:38:57 +11:00
  • 03e38a6c43 proxy.go: dont return err on context cancellation perennial 2024-10-17 13:38:07 +11:00
  • 9d6086479c e perennial 2024-10-17 13:34:56 +11:00
  • f216c9461e add more prefetch links perennial 2024-10-17 13:21:21 +11:00
  • 150c9edda9 edit comments perennial 2024-10-17 13:15:57 +11:00
  • fd7914bc2d rm unused import perennial 2024-10-17 13:14:47 +11:00
  • 5fbe2c1ec9 dont i18n panics perennial 2024-10-17 13:13:34 +11:00
  • 9485a29377 implement excludedCachePaths + reorganise requests.go perennial 2024-10-17 12:55:10 +11:00
  • 610bb13108 use seeded xxhash for cache keys perennial 2024-10-17 12:32:38 +11:00
  • ce37b2a9d1 fix invalid URI paths on /self/followingWorks 2 perennial 2024-10-17 02:44:29 +11:00
  • 2946fab01b fix invalid URI paths on /self/followingWorks perennial 2024-10-17 02:43:27 +11:00
  • 6953282962 refactor requests.go perennial 2024-10-17 01:21:30 +11:00
  • 1106042a5e prefetch links perennial 2024-10-16 22:51:13 +11:00
  • cbf406a360 Update the about section VnPower 2024-10-16 21:56:01 +07:00
  • f27be52862 No Javascript tab pane/settings page VnPower 2024-10-16 20:08:27 +07:00
  • 225a3d3e47 Merge pull request 'api-caching' (#130) from api-caching into v2 VnPower 2024-10-16 11:43:59 +00:00
  • af3506efe4 add PIXIVFE_CACHE_ENABLED perennial 2024-10-16 21:58:20 +11:00
  • cec9ca0ff1 docs: update caching section perennial 2024-10-16 15:01:55 +11:00
  • 9e9d45e5e4 comment out debug logging in requests.go perennial 2024-10-16 14:49:03 +11:00
  • e998c3dc16 rename SetRedirectHeader middleware perennial 2024-10-16 14:46:42 +11:00
  • cbbe302ea7 invalidate API resp cache upon user action perennial 2024-10-16 14:24:49 +11:00
  • 31dc0d660d add support for ShortTTL perennial 2024-10-16 02:25:03 +11:00
  • 1e38499e40 drop default CacheSize to 100 perennial 2024-10-16 02:04:36 +11:00
  • acec3daaa3 fix typo perennial 2024-10-16 01:37:34 +11:00
  • 913f72d462 implement caching configuration perennial 2024-10-16 01:31:16 +11:00
  • f518805ec5 simple lru cache for API responses to GET requests perennial 2024-10-16 01:14:35 +11:00
  • d77f397bff htmx changes perennial 2024-10-16 21:43:47 +11:00
  • 59e047365e clean up user page markup perennial 2024-10-16 19:33:05 +11:00
  • b2e474419f make artworks-multi button smaller perennial 2024-10-16 19:23:40 +11:00
  • 7352ea5710 anchor titles for novel-tn perennial 2024-10-16 19:05:35 +11:00
  • ea72369268 UserNovels affordance tests perennial 2024-10-16 19:01:22 +11:00
  • 270c363d09 update novel metadata icons perennial 2024-10-16 18:15:23 +11:00
  • f56165bc5b No Javascript navbar VnPower 2024-10-15 21:21:44 +07:00
  • a71def1dae Draft for noscript navbar VnPower 2024-10-15 20:29:47 +07:00
  • c5ed886390 declare emojiMap globally perennial 2024-10-16 00:52:15 +11:00
  • f8a481fb06 refactor GetNovelGenre to use a map lookup perennial 2024-10-16 00:49:25 +11:00
  • d36e4c1dcc refactor createMultipartFormData perennial 2024-10-16 00:41:19 +11:00
  • a609bfbb84 refactor API_GET_UnwrapJson perennial 2024-10-16 00:33:34 +11:00
  • bc76596003 refactor proxy.go perennial 2024-10-16 00:05:53 +11:00
  • 1d78a2da7b move i18n/exceptions.go to crawler directory perennial 2024-10-15 21:39:00 +11:00
  • e174d63bdc add inline comments to i18n package perennial 2024-10-15 21:37:34 +11:00
  • 3e4188b49c Create http.Server instance in main() perennial 2024-10-15 20:22:47 +11:00
  • 5a8ce89d74 check for when both Host and UnixSocket are set perennial 2024-10-15 19:59:00 +11:00
  • 067878c562 suggest a saner default for PIXIVFE_UNIXSOCKET perennial 2024-10-15 19:56:02 +11:00
  • b6965679ba dont panic when no port is set perennial 2024-10-15 19:46:44 +11:00
  • 7f1a319e09 fix spurious error when s.ProxyServer_staging == BuiltinProxyUrl perennial 2024-10-15 19:35:01 +11:00
  • 2077556172 actually validate custom image server before setting it perennial 2024-10-15 19:24:59 +11:00
  • 30cf4903ab settings: error handling for csrf token perennial 2024-10-15 02:37:06 +11:00
  • 433f01b007 build.sh: rm set -o pipefail perennial 2024-10-15 02:25:13 +11:00
  • e6a641dd3f build.sh: fail fast on errors perennial 2024-10-15 01:30:04 +11:00
  • c804e1b5bc i18n: update translations perennial 2024-10-15 01:28:20 +11:00
  • f601efab01 Update Vietnamese translation VnPower 2024-10-14 20:47:47 +07:00
  • 4c3e1b4dbd followButtons HTML formatting perennial 2024-10-14 21:23:05 +11:00
  • 143c1efdb1 make main follow button actually do something perennial 2024-10-14 21:17:54 +11:00
  • 6d6e3ea919 set d-inline-block for tags perennial 2024-10-14 21:13:42 +11:00
  • 689a4c0ba9 rework pixivisionArticle tags perennial 2024-10-14 21:11:39 +11:00
  • ab24acf8e4 rework pixiv original buttons perennial 2024-10-14 21:06:53 +11:00
  • 945691f4ee finalise tag styling rework perennial 2024-10-14 20:30:56 +11:00
  • 31a29f29c3 badge rework wip perennial 2024-10-14 19:16:25 +11:00
  • e70b9811a0 novelnav padding perennial 2024-10-14 18:41:53 +11:00
  • 5bfb251974 style novel images properly + fix novel prefs perennial 2024-10-14 18:36:22 +11:00
  • 3aa0ba2681 more novel wip perennial 2024-10-14 18:25:33 +11:00
  • e7df61a254 novel styling fix wip perennial 2024-10-14 17:29:09 +11:00
  • 6f6485e335 more formatting perennial 2024-10-14 16:39:00 +11:00
  • 039d11e65b fix missed one unformatted RenderHTML perennial 2024-10-14 16:33:03 +11:00
  • 253339ffac rm unused py script perennial 2024-10-14 16:27:33 +11:00