Commit Graph

97 Commits

Author SHA1 Message Date
Rongrong a5d74e521c
feat(core/middleware/anti-hotlink): route matching (#9681)
* feat(core/middleware/anti-hotlink): route matching

Signed-off-by: Rongrong <i@rong.moe>

* fix(test): coverage

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix mistaken config key

Signed-off-by: Rongrong <i@rong.moe>
2022-05-04 03:29:23 +08:00
Rongrong 7a6be9a229
feat(core): customizable Chromium executable path (#9670)
* feat(core): customizable Chromium executable path

also build Chromium-bundled Docker image for arm/arm64

Signed-off-by: Rongrong <i@rong.moe>

* chore: fix typo

Signed-off-by: Rongrong <i@rong.moe>

* chore(CI/test): using build matrix

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): fix punctuation

Signed-off-by: Rongrong <i@rong.moe>
2022-05-01 21:00:29 +08:00
zoenglinghou 9b176217f3
docs: Update documentation for IMAP config to reflect #8212 (#9657) 2022-04-29 10:00:56 +00:00
Rongrong d8c00ec238
build(docker): optimize; add Chromium bundled ver (#9626)
* build(docker): optimize; add Chromium bundled ver

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix redundant command and label

Signed-off-by: Rongrong <i@rong.moe>

* build(docker): only install prod deps to speed up

Signed-off-by: Rongrong <i@rong.moe>

* docs(install): minor fixes

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): bump to `node:16-bullseye-slim`

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): fix yarn registry mirror

Signed-off-by: Rongrong <i@rong.moe>

* build(Dockerfile): minimize dependencies

for Chromium-bundled version

Signed-off-by: Rongrong <i@rong.moe>
2022-04-28 20:40:21 +08:00
Howard Yin 67d87e2eea
feat(route): E站增加封面图嵌入RSS和封面图替换为代理网址的功能 (#9344)
* 增加封面图嵌入RSS的功能

* 增加EH封面图代理的功能

* 改用URLSearchParams代替querystring
增加对"Minimal", "Minimal+" and "Extended"页面模式的支持

* fix: matching logic

* refactor: migrate to v2

* docs: add missing description of EH_IMG_PROXY

* docs: remove ignoring EH_SK

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
2022-04-21 23:03:55 +08:00
Rongrong 79d9192469
fix(route)(twitter): outdated web API (#9471)
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2022-04-05 20:22:18 +08:00
Tony fe775f5198
fix(route): github comments use api (#9358)
fix(route): github comments use api
2022-03-21 17:17:59 +00:00
Tony 2ed9fd5c5f
chore: bump lru-cache from 6.0.0 to 7.7.1 (#9339)
* feat(core): lru-cache v7

* chore: bump lru-cache to 7.7.1

* feat: configurable max
2022-03-18 21:08:04 +08:00
Zhen Zhong 3baeb0aa8c
feat(route): add bitbucket commits and tags (#9316)
* add bitbucket commits and tags

* add english doc

* fix bitbucket radar.js

* fix bitbucket docs

* docs: add bitbucket cn docs

* fix: use parseDate utils
2022-03-14 20:57:54 +08:00
Tony 233f1c8152
refactor: config.js (#9305)
* refactor: reorder lib/config.js

* docs: reorder config
2022-03-11 22:12:42 +08:00
Rick Lee f1e7c90c3e
feat: 为豆瓣想看增加Cookie配置项 (#9110) 2022-02-24 23:50:12 +08:00
Outvi V 36b4cc5baa
feat(route): add spotify (#8966)
* feat: /spotify/playlist/:id

* feat: /spotify/artist

* feat(spotify/artist): add to radar

* feat: /spotify/saved

* feat: /spotify/top/{tracks,artists}

* feat(spotify): add images for artist and playlist

* docs: /spotify/*

* docs/en: /spotify configurations

* chore(spotify): apiKey/Secret -> clientId/Secret

* fix(spotify/utils): genres can be empty
2022-02-04 18:46:53 +08:00
Fatpandac c144a1864b
feat(route): add Google Fonts and refactor /google/** to V2 (#8927)
* Add(route): add Google Fonts and change to V2

* Fix(route): added throw error when API key is underfined

* Fix(docs): add warning container

* Fix(docs): Update docs/design.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Fix(route): sort routes

* Fix(route): Update lib/v2/google/fonts.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 01:18:17 +08:00
Tony 64f4c304d5
docs: fix typo (#8948) 2022-01-31 23:57:05 +08:00
Tony 6de540a311
docs(core): sync en docs and minor cn docs fixes (#8356)
Co-authored-by: DIYgod <diy.d.god@gmail.com>
2021-11-27 08:53:44 +00:00
DIYgod 53f6347189
feat: pixiv PIXIV_IMG_PROXY 2021-11-02 17:40:24 +00:00
Xiang Li 2fa51b5c2d
fix(route): 修复IMAP邮箱环境变量命名 (#8212) 2021-09-22 21:38:46 -07:00
D 361cb60d0b
docs(install): add heroku usage limit notice (#8060)
add English notice about heroku
2021-08-21 23:25:40 +08:00
Stille 5add609918
chore(build): add tag for docker build release (#7722) 2021-06-18 22:26:57 -07:00
NeverBehave 9a3ae8a4bc
docs(core): pubdate, npm ci with templates (#7501) 2021-05-08 17:47:22 -04:00
Kuiliang Zhang d542bec44d
fix(docs): 修改用 docker-compose 更新 rsshub 的文案,对新手更友好 (#7192)
* Update README.md in install

在 docker-compose 更新操作的指示中加入拉取新镜像的操作提示,对新手更友好。否则新手直接 docker-compose up -d 可能导致没有更新镜像。

* Update README.md in install

更新遗漏的 $ 符号

* Update README.md

修改了对应英文文档

* Update README.md

* Update README.md

* Update README.md

* Update docs/install/README.md

Co-authored-by: NeverBehave <gayhub@never.pet>

* Update docs/en/install/README.md

Co-authored-by: NeverBehave <gayhub@never.pet>

Co-authored-by: NeverBehave <gayhub@never.pet>
2021-03-30 16:06:38 -04:00
Shun Zi e397e11fbd
fix(docs): add socks5h in install docs (#7086) 2021-03-07 05:06:27 -05:00
DIYgod 5298f845f2
feat: support ua in blacklist and whitelist 2021-03-07 10:06:24 +08:00
小白-白 4d139d4a05
fix(docs): manga support for pixiv user activity (#6923)
* fix: support refresh token login (#6883)

* docs: update pixiv login

* docs: update pixiv login

* docs: update pixiv config

* fix: manga support for pixiv user activity (#6879)
2021-02-14 22:12:37 -05:00
小白-白 9cd6cda696
fix: [breaking] [config] pixiv support refresh token login (#6911)
* fix: support refresh token login (#6883)

* docs: update pixiv login

* docs: update pixiv login
2021-02-14 04:55:45 -05:00
DIYgod 89e82d88fa
feat: got request timeout 2021-02-01 20:06:49 +08:00
DIYgod 177c36cae7
feat: sentry route timeout 2021-02-01 20:06:23 +08:00
DIYgod 97893f2701
feat: replace co-redis and redis with ioredis, make cache module clearer 2021-01-27 19:16:59 +08:00
Haodong DU fdfbc0658f
feat: add wordpress config for http images (#6790)
* wordpress: add cdn for images

* wordpress: use envars to define cdn url

* wordpress: fix english doc

* wordpress: update route

* wordpress: update docs

Co-authored-by: duhd1993 <duhd1993@gmail.com>
2021-01-26 19:52:26 -05:00
DIYgod 1a463e09c9 Merge branch 'pr/tuzi3040/6741' 2021-01-21 17:10:30 +08:00
DIYgod a0dd6756da Revert "fix: disable default debug info (#6544)"
This reverts commit cac6f75472.
2021-01-21 11:51:18 +08:00
tuzi3040 d1da90be02
doc(install): add description for DEBUG_INFO 2021-01-21 10:46:42 +08:00
lifegpc f187ff99fa [Instagram]增加代理设置,修改抛出错误的方式 2021-01-11 12:19:47 +08:00
KTachibanaM 2a6e1176aa mentions docker will be automatically installed for ansible deployment 2021-01-08 23:24:37 -08:00
KTachibanaM 01b8757729 mention docker for ansible 2021-01-08 23:19:11 -08:00
KTachibanaM 97b89d68ef move ansible scripts inside 2021-01-07 19:59:44 -08:00
KTachibanaM 866baa903a specify caddy 2 for ansible deployment 2021-01-06 21:58:36 -08:00
KTachibanaM 333f99215a add instruction for ansible deployment 2021-01-06 21:55:49 -08:00
zphw cac6f75472
fix: disable default debug info (#6544) 2020-12-28 17:02:51 +00:00
moonrailgun fd8cb4a666
feat: add cors origin control into config (#6499) 2020-12-23 16:43:49 +00:00
Ethan Shen 683c38faf4
fix: sci-hub mirror address (#6304) 2020-12-01 11:18:34 +00:00
Henry Wang 0ff22d4851
doc: improve Twitter relevant documentation (#6189) 2020-11-17 22:33:48 +00:00
oppilate f2a0494ad5
feat: add Instagram (#6153) 2020-11-14 19:31:53 +00:00
Sylleo Yr 3b70f40960
docs: add `NODE_ENV` to the deployment docs (#5986)
A `NODE_ENV` configuration is used to control displaying error
messages. #5982
2020-10-25 17:17:12 +00:00
Bao, Huang-Huang 5266046928
fix: resolve `PIXIV_BYPASS_HOSTNAME` via DNS over HTTPS (#5962) 2020-10-21 15:59:47 +01:00
sgqy b538f75ef6
fix: (semi-fix) login to NGA to prevent 403 error. (#5747) 2020-10-03 21:24:15 +01:00
Henry c500cd20e3
doc: update email config instruction
close #5083
2020-08-24 12:17:59 +01:00
Lucas Eduardo 9eaa2814fa
feat: add CuriousCat (#5340) 2020-08-04 16:03:00 +01:00
Yishuai Li 79b2bc6466
doc: expand Heroku instructions (#5275) 2020-07-29 14:34:20 +01:00
notofoe e7d62ebcd9
feat: add mastodon user timeline (#5188) 2020-07-29 14:27:23 +01:00