Commit Graph

169 Commits

Author SHA1 Message Date
perennial 7095acd437 rm go-retryablehttp 2024-10-21 15:05:46 +11:00
perennial cb6ec34fc9 provide configured zap.Logger to other packages 2024-10-21 01:41:35 +11:00
perennial 46cd5876a4 rename PageURL to CurrentPath 2024-10-18 14:09:00 +11:00
perennial af3506efe4 add PIXIVFE_CACHE_ENABLED 2024-10-16 21:58:20 +11:00
perennial cec9ca0ff1 docs: update caching section 2024-10-16 15:01:55 +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 913f72d462 implement caching configuration 2024-10-16 01:31:16 +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 253339ffac rm unused py script 2024-10-14 16:27:33 +11:00
perennial 5cc93dcfe2 docs: consolidate pages under Feature tracker 2024-10-14 15:50:30 +11:00
perennial c901c7b6d6 docs: tidy headings 2024-10-14 15:39:17 +11:00
perennial 15bf130920 docs: update dev guidelines 2024-10-14 15:36:58 +11:00
perennial f03e1e67c2 docs: tidy and update more 2024-10-14 15:35:41 +11:00
perennial 6a6e949db5 docs: update novel features page 2024-10-14 15:20:56 +11:00
perennial 4430ac074e docs: tidy 2024-10-14 15:19:42 +11:00
perennial 4311bb00dc docs: rm unused pagination doc 2024-10-14 15:02:47 +11:00
perennial e36e0698ec docs: document logging config 2024-10-14 15:01:51 +11:00
VnPower 7be57ae306 Update roadmap 2024-10-13 22:17:34 +07:00
perennial bedb5eba6b docs: i18n implementation details 2024-10-11 16:28:05 +11:00
perennial 8212821f67 docs: update crowdin docker instructions again 2024-10-11 14:06:44 +11:00
perennial f71c27f9f8 docs: rm separate crowdin init step 2024-10-11 13:52:17 +11:00
perennial fbb8bf2156 docs: update i18n docker instructions 2024-10-11 13:41:30 +11:00
perennial 920f15643b documentation for pagination 2024-09-29 19:35:21 +10:00
iacore f4fa8f41f7 update docs 2024-10-10 14:10:35 +00:00
iacore 0ea2ec816f [i18n] fix jet template rewriter 2024-10-09 14:31:15 +00:00
iacore e27dc301e2 Add cookie: Locale 2024-10-08 22:55:13 +00:00
perennial 24180e2922 i18n: more docker doc 2024-10-08 20:48:28 +11:00
perennial dcbc6572b3 i18n: add crowdin docker instructions 2024-10-08 20:43:37 +11:00
iacore 877fe4be32 ++docs 2024-10-08 09:27:18 +00:00
iacore ab424898f6 Document Crowdin CLI usage 2024-10-08 09:24:38 +00:00
perennial ebfbba0e36 Add Crowdin badges 2024-10-08 20:10:17 +11:00
iacore f323d67488 document i18n progress 2024-10-08 06:50:36 +00:00
iacore 6dca053e7f document i18n todo 2024-10-08 06:23:48 +00:00
iacore 6d225d5959 Cleanup global i18n 2024-10-08 06:14:19 +00:00
iacore bf6ff09792 clean up HTML 2024-10-06 08:48:23 +00:00
iacore 800a024df4 correct roadmap
git version display is done
2024-10-05 11:33:24 +00:00
VnPower d3a581be0a Update roadmap 2024-10-05 12:00:32 +07:00
VnPower 2e861b69ac Proposed testing procedure 2024-09-29 19:31:22 +07:00
iacore 5f8b659b49 use urlx.Parse 2024-09-28 23:12:00 +00:00
iacore 7899dd3c73 add to feature ideas 2024-09-28 23:01:31 +00:00
VnPower 24a977bfab Note for App API 2024-09-28 19:56:41 +07:00
VnPower 58f1d36114 Modify instance rules 2024-09-26 20:43:08 +07:00
VnPower f1a98404dc Add instance rules 2024-09-26 20:07:13 +07:00
iacore 079993e801 Use proper rate limiter
Rename package handlers to middleware, since most are middleware

router.go is not middleware. can be moved out to router/router.go
2024-09-25 05:05:04 +00:00
perennial e00ad1dad8 docs: format and update Proposals page 2024-09-24 20:43:35 +10:00
perennial c00d8ea042 docs: update Reference Material page with API resources 2024-09-24 20:05:22 +10:00
perennial c3bb477132 Rename token management environment variables
This commit clarifies the purpose of certain environment variables
by explicitly associating them with token management. The variables
PIXIVFE_MAX_RETRIES, PIXIVFE_BASE_TIMEOUT, and PIXIVFE_MAX_BACKOFF_TIME
are now prefixed with "TOKEN_" to better distinguish them from API-level
settings.

The ServerConfig struct, configuration loading, logging,
and documentation have been updated accordingly.
2024-09-24 19:32:14 +10:00
perennial ae031dbd8b Add option to disable image proxy checker
This commit introduces a new configuration option to disable the image proxy
checker. A new environment variable PIXIVFE_PROXY_CHECK_ENABLED and
corresponding ServerConfig field are added. The main.go file is updated
to conditionally initialise the proxy checker based on this setting.

Documentation is also updated to explain the new configuration options.
2024-09-24 19:08:40 +10:00