Commit Graph

41 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
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 31720bbb1b
perf: lazy require dependencies (#8025) 2021-08-20 14:05:57 +08:00
Sukka 6e3b58ed1d
refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -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
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
DIYgod 752ee212a9
feat: support opencc 2020-09-25 01:30:52 +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 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 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 f7d9688a62
feat: 100 times cache time for wrong path 2019-09-20 15:24:49 +08:00
DIYgod 93274bbe4f Merge commit 'c859291ca3812d99e4b84201733e0447f4f33f26' 2019-09-04 18:24:36 +08:00
DIYgod 24cab914d8
feat: error page 2019-09-04 16:00:00 +08:00
Cloud c859291ca3 fix: if fulltext parser failed, return default description and… (#2992) 2019-09-04 11:41:05 +08:00
Cloud 3c2200cd4b fix: fuck some unstandard url (#2961) 2019-08-30 14:37:25 +08:00
DIYgod 4020c36c19
fix: check null base url 2019-08-28 16:14:50 +08:00
DIYgod b2355436cc
fix: url base 2019-08-28 15:50:05 +08:00
DIYgod 84fdea3d1e
feat: use item link as absolute link base 2019-08-28 15:12:17 +08:00
DIYgod 29f588e6a0
feat: handle description in parameter middleware 2019-08-28 12:06:50 +08:00
sanmmmm 914034760d feat: 新增自动提取全文输出 (#2738) 2019-08-02 17:22:58 +08:00
Henry Wang 9c837f1bc2 fix: retain allowEmpty in ctx.state (#2542)
* fix: retain allowEmpty in ctx.state

See: https://github.com/koajs/koa/issues/1172

* fix: pass test case allow_empty

* chore: get rid of eslint warning
2019-07-03 12:10:36 +08:00
DIYgod 2f1aeb4d84
fix: wrong path judgement 2019-06-19 19:01:44 +08:00
DIYgod b9ab52a0d5
feat: wrong path error 2019-06-19 18:52:13 +08:00
DIYgod 3c0bfeff97
feat: allow empty for certain routes 2019-06-14 11:14:24 +08:00
凉凉 5b0b5892ac feat: filter time (#2399)
* feat: filter time

* 更新文档
2019-06-13 15:28:29 +08:00
DIYgod 76add4785a
test: add empty item test case 2019-06-13 12:01:07 +08:00
DIYgod 1c6e71cfb7
fix: empty item error 2019-06-13 11:35:59 +08:00
Chenyang Shi 7c5fcaccc5 fix: 在filter之前检查空数据 (#2392)
* enhance: 对路由空内容报错

* fix: 在filter之前检查空数据
2019-06-13 11:34:39 +08:00
Chenyang Shi 3dde0db910 feat: 对路由空内容报错 (#2388) 2019-06-12 17:57:28 +08:00
DIYgod ec9f9aa018
fix cache type 2019-04-21 20:19:54 +08:00
DIYgod d70cba4c8e
fix filtering empty title, close #1808 2019-03-23 00:48:41 +08:00
DIYgod 38a90e29b0
optimize directory structure 2018-12-26 18:35:10 +08:00