Commit Graph

63 Commits

Author SHA1 Message Date
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
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 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 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 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
VnPower 08f43dfbcf Bump version 2024-09-17 21:33:37 +07:00
perennial 6427e71d43 docs: format roadmap 2024-09-17 18:02:24 +10:00
VnPower c0471741c5 Roadmap for v2.9 2024-09-15 09:49:58 +07:00
VnPower 28d534efb8 Update roadmap 2024-09-14 21:28:08 +07:00
perennial 7a2c3221c5 docs: rewording 2024-09-11 22:44:58 +10:00
perennial 2503fac752 docs: rework dev index.md 2024-09-11 22:40:15 +10:00
iacore 8675bf4818 document testing 2024-08-30 18:25:23 +00:00
VnPower 8d89e17ef3 Update dev note 2024-08-30 10:53:03 +07: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
iacore 14db9a41cf remove zipkin 2024-08-29 11:51:42 +00:00
VnPower c9457ca935 Add some more resources 2024-08-28 22:16:59 +07:00
iacore 879a344279 save API response better 2024-08-28 14:45:44 +00:00
iacore a68b742b6a Add tracing 2024-08-28 13:58:51 +00:00
iacore 0b962f6ac9 add docs 2024-08-28 13:58:51 +00:00
iacore 404bc3b6cb reorganize docs 2024-08-28 13:58:51 +00:00
iacore 0d04402d2c write about caching 2024-08-28 13:58:51 +00:00
iacore e2c3912220 clean up redirect codes 2024-08-28 13:58:51 +00:00
iacore 0e34a1bc05 replace ?r=/redirect_to with something else.
can't shake the fakey feeling. net/http expects one handler max. the way we currently detect redirect param is not one handler.
      we should refactor the code out to be called from different handlers
      also, wtf is /settings/novelFontType?noredirect=t&r=  (redirect or no redirect?)
      suggestion: Use Referer. the header exists for a reason. might need to turn off CSP for that.
2024-08-28 13:58:51 +00:00
iacore c96d4f1d39 mostly done 2024-08-28 13:58:51 +00:00
iacore 27144ddb2c all type check, no panic 2024-08-28 13:58:51 +00:00
iacore d09fa30bc4 fix it more 2024-08-28 13:58:51 +00:00
iacore bb2920d2e8 remove last panic in http handler 2024-08-28 13:58:51 +00:00
iacore 71d29e279b add tip 2024-08-28 13:58:51 +00:00
perennial 3c8e4de711 docs: include developer docs in mkdocs.yml 2024-08-28 20:08:39 +10:00
iacore a34a1b8198 migrate docs back into this repo 2024-08-26 16:20:13 +00:00
iacore 6c36a1cf89 fix docs 2024-08-26 14:54:22 +00:00