Commit Graph

135 Commits

Author SHA1 Message Date
Tony 530b0a4dd3
fix(core): fix fulltext (#8951)
* fix(core): fix fulltext

* fix(core): fix fulltext
2022-02-02 23:06:36 +08:00
Tony eb2037c5d1
fix(middleware): simplecc null description (#8053) 2022-01-22 19:59:10 +00:00
myl7 51a7833bd0
fix: remove entity decoding for item html description (#8700) 2022-01-22 18:49:32 +00:00
linbuxiao 2872ca8aec
fix: cache next error not catch (#8361) 2021-11-27 08:32:39 +00:00
GitHub Action 9433c49004 style: auto format 2021-09-22 12:43:18 +00:00
NeverBehave 0792f7ba25
feat(core): first attempt to init script standard (#8224)
- lazy load
- rate limit per path
- init .debug.json support
- docs
- maintainer
- radar
2021-09-22 05:41:00 -07:00
Daniel Li (李丹阳) d77a039f05
style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +08:00
Toby Tso e24906fdeb
feat(middleware): `brief` parameter (#8074)
Co-authored-by: SettingDust <settingdust@gmail.com>
Co-authored-by: ギャラ <me@gyara.moe>
2021-09-09 01:37:41 -07:00
Sukka ea21cfdd28
perf: lazyload sentry sdk for faster cold start speed (#8125) 2021-09-01 15:53:04 +08:00
Sukka 31720bbb1b
perf: lazy require dependencies (#8025) 2021-08-20 14:05:57 +08:00
Sukka d82847f541
style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
Sukka 6e3b58ed1d
refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
SettingDust 4db1c91cfa
fix(route): pixiv login (#7623) 2021-06-23 20:37:55 -07:00
fengkx ea2e2abb91
refactor(middleware): replace opencc with simplecc-wasm (#7111)
* refactor: replace opencc with simplecc-wasm

* docs: simplecc-wasm docs change

* new yarn.lock
2021-03-14 01:21:46 -05:00
DIYgod 5298f845f2
feat: support ua in blacklist and whitelist 2021-03-07 10:06:24 +08:00
NeverBehave 4aaccd7a49
fix(core): do not add optional pubdate when it is not available (#7093) 2021-03-02 19:06:17 -05: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
DIYgod 6506c39239
feat: remove hot ip in debug info 2021-01-21 11:57:16 +08:00
zphw c123c5c8b0
feat: added DailyArt & fix: error occurred when without user-agent (#6514) 2020-12-26 01:54:32 +00:00
Henry Wang 3426f8a1f4
feat: better Reeder support (#6510) 2020-12-23 18:08:28 +00:00
moonrailgun fd8cb4a666
feat: add cors origin control into config (#6499) 2020-12-23 16:43:49 +00:00
Henry Wang 1f34bce335
feat: support open RSS links in Safari (#6509) 2020-12-23 15:57:03 +00:00
oppilate dfdb9630b7
chore: optimize performance (replace he with entities) (#6497) 2020-12-22 18:38:10 +00:00
Henry fdefa01986
fix: sci-hub mirror in parameter 2020-12-01 11:25:38 +00:00
Ethan Shen 683c38faf4
fix: sci-hub mirror address (#6304) 2020-12-01 11:18:34 +00:00
Florian Markusse 98c53556ad
refactor: update isFilter in parameter.js(#6113)
Changed assignment of "isFilter" twice due to redundant AND-operation with itself as the first operand since its value is true at the point of assignment.
2020-11-06 21:44:09 +00:00
Henry c292502e14
feat: 优化错误输出
fix #5982

通过`NODE_ENV`控制错误输出
2020-10-23 17:35:24 +01:00
Henry 19a219e076
feat: add a default pubDate
close #5812
2020-10-09 21:54:26 +01:00
DIYgod 6ec230f58f
feat: support etag 2020-09-29 18:53:24 +08:00
DIYgod 752ee212a9
feat: support opencc 2020-09-25 01:30:52 +08:00
Henry Wang d984ffa849
doc: 增加 PR 模板,修改 issue 模板 (#5314) 2020-07-31 18:43:31 +01:00
Henry Wang bffb7200e4
fix: producthunt URL (#5163) 2020-07-10 14:13:36 +08:00
Henry Wang 7475bcacfb
feat: 报错页面增加一个快速生成 issue 的按钮 (#5141) 2020-07-07 17:41:10 +08:00
DIYgod 923b07eec4
test: filter and filterout combination cases 2020-06-08 17:59:04 +08:00
ruleroller 8881b5953d
fix: 多个filter之间修改为与逻辑 (#4885) 2020-06-08 17:33:11 +08:00
Henry Wang 731a5d43f7
feat: 使用环境变量赋予所有本地 IP 访问权限 (#4908) 2020-06-07 22:45:54 +08:00
howel52 3e846e6919
fix: only collect errors which route path was matched (#4673) 2020-05-08 11:27:48 +08:00
hoilc f8340b79a0
fix: exclude robots.txt from access control (#4686) 2020-05-08 11:13:58 +08:00
Henry Wang 4a46db99f9
feat: use simple access keys for access control (#4643) 2020-05-06 20:14:28 +08:00
NeverBehave cde5d9af45
feat: anti-hotlink for images (#4481) 2020-04-28 10:27:47 +08:00
DIYgod 0e7b14e718
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
Henry Wang 19fa95d553
feat: 期刊路由优化,增加 scihub 模式 (#4094) 2020-03-01 12:24:31 +08:00
pnlng 4671720f4c
feat: add filter_case_sensitive url parameter (#3910) 2020-02-09 18:51:58 +08:00
DIYgod 940bbbdff8
feat: item suffix 2019-12-09 19:12:59 +08:00
DIYgod af51ca0337
refactor: remove Content-Type cache 2019-11-07 19:49:02 +08:00
DIYgod 31726d4464
feat: support no refresh cache 2019-11-04 18:59:00 +08:00
DIYgod addd22c113
feat(core): handle link and pubDate parameter 2019-10-22 18:02:47 +08:00
Cloud 90a87b1723 refactor: optimize parameter (#3200) 2019-10-08 16:48:46 +08:00
DIYgod caf9f461b3
refactor: optimize redis operation 2019-09-20 15:57:50 +08:00