Commit Graph

144 Commits

Author SHA1 Message Date
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
perennial d1534682e2 Implement random User-Agent selection
This commit introduces a mechanism for randomly selecting User-Agents
from a predefined list to be used for requests to the Pixiv API.

References to setting a custom User-Agent via the PIXIVFE_USERAGENT
environment variable have been removed as it is no longer used.
2024-09-23 22:30:26 +10:00
perennial d5fe921c2b docs: fix headings on env vars page 2024-09-23 15:29:06 +10:00
perennial b49e8609ae docs: network proxy configuration
ref: https://codeberg.org/VnPower/PixivFE/pulls/111
2024-09-23 15:25:25 +10:00
perennial 5401381de8 Rename to build.sh 2024-09-23 14:27:40 +10:00
perennial 67df71a48b Back to a plain shell script 2024-09-23 14:21:45 +10:00
perennial 8a2f817ae6 Add configurable repository URL
This commit introduces a new PIXIVFE_REPO_URL configuration option,
allowing users to specify a custom repository URL.

The about page now uses this configurable URL, and the configuration
loading process has been updated to validate and handle the new option.

Documentation has been updated to reflect these changes.
2024-09-22 20:57:29 +10:00
perennial 674ed35649 docs: restructure and improve guidelines doc 2024-09-21 19:02:36 +10:00
VnPower 27bf3bf6ed Add guidelines? 2024-09-20 21:10:18 +07:00
VnPower cbf870c989 Merge pull request 'Implement exponential backoff for API requests and token management' (#101) from perennial/PixivFE:tokenmanager into v2
Reviewed-on: https://codeberg.org/VnPower/PixivFE/pulls/101
2024-09-19 14:31:03 +00:00
VnPower 21e1caaeb3 Remove artifacts 2024-09-19 21:30:42 +07:00
perennial 2314cd0cda docs: tidy exp backoff page 2024-09-19 17:20:27 +10:00
perennial 6b8c579e9e Implement retryablehttp for API request retries
Refactor API request mechanism to use the retryablehttp
package instead. Update documentation and dependencies
to reflect this change.
2024-09-19 17:17:02 +10:00
perennial 3d6f5ace8c fix type bug 2024-09-19 16:41:52 +10:00
perennial 21deae4887 docs: modify headings on env var page 2024-09-19 16:34:07 +10:00
perennial bc19f485a2 Add separate API request level backoff mechanism
Implement new backoff settings for API requests, distinct from token
management backoff.

Update config, core request handling, and documentation to reflect the
new API request backoff mechanism. Refactor TokenManager to use the
manager's baseTimeout instead of individual token timeouts.
2024-09-19 16:27:22 +10:00
perennial 66203ca4f4 Add documentation for exp backoff behaviour 2024-09-19 14:37:51 +10:00
perennial ee5b11708d docs: move framework-migration.md to new archive section 2024-09-18 02:41:40 +10:00
perennial a7331357c3 docs: include guidelines document 2024-09-18 02:25:09 +10:00
VnPower 6778378427 Remove artifact 2024-09-17 23:11:27 +07:00
VnPower d804db1ba2 Fix AiType 2024-09-17 23:10:37 +07:00
perennial a5418aa9ce docs: use existent tagged release as example 2024-09-18 01:20:16 +10:00
VnPower 08f43dfbcf Bump version 2024-09-17 21:33:37 +07:00
VnPower eed11702e8 Change some wordings 2024-09-17 20:44:54 +07:00
perennial 6427e71d43 docs: format roadmap 2024-09-17 18:02:24 +10:00
perennial 7e31f1532b docs: mention available Docker image tags 2024-09-17 16:17:46 +10:00