Cloud
4b4b1d492a
fix: atomlink href ( #2858 )
2019-08-15 18:54:05 +08:00
DIYgod
b622c2b862
fix: value of atomlink
2019-08-13 01:10:13 +08:00
DIYgod
aa2236e1f6
fix: value of atomlink
2019-08-13 01:02:51 +08:00
Cloud
4d9c9c08e7
feat: 2 rules for feed validation ( #2825 )
2019-08-11 01:30:59 +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
7c2f4777af
feat: debug info for hot route and path
2019-06-19 18:39:40 +08:00
DIYgod
3c0bfeff97
feat: allow empty for certain routes
2019-06-14 11:14:24 +08:00
DIYgod
dea283d0bd
test: filter_time
2019-06-13 16:10:08 +08:00
DIYgod
58be5caf98
test: cache object
2019-06-13 16:01:12 +08:00
凉凉
5b0b5892ac
feat: filter time ( #2399 )
...
* feat: filter time
* 更新文档
2019-06-13 15:28:29 +08:00
DIYgod
7c5aaa3c14
test: redis with quit and error cases
2019-06-13 15:23:28 +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
tuzi3040
a04a88d2cd
fix: value of rss TTL tag ( #2297 )
...
* fix value of rss TTL tag
* fix test algorithm for rss ttl tag
2019-06-04 11:02:56 +08:00
DIYgod
e2badbfa98
chore: module alias for all routes
2019-05-15 15:27:15 +08:00
DIYgod
c4cd0ab495
fix(chore): contentExpire not work
2019-05-13 00:24:48 +08:00
DIYgod
075a8d1864
feat: support setting expire time for content cache
2019-05-09 01:11:19 +08:00
Howel
274199e450
refactor: 将 Array.indexof !== -1 替换为 Array.includes ( #2073 )
2019-05-08 23:50:34 +08:00
DIYgod
8637eb06d2
feat(core): set access-control-allow-origin header to prevent abuse
2019-04-30 00:12:28 +08:00
DIYgod
c1f856391d
feat(core): add public in cache-control header
2019-04-29 11:36:03 +08:00
DIYgod
847bb00a9e
feat(core): set cache-control max-age equal to config.cacheExpire
2019-04-29 11:15:00 +08:00
DIYgod
801f75c732
feat(core): add edge and last-modified header, close #338
2019-04-26 11:59:17 +08:00
DIYgod
697c231f4e
fix empty cache
2019-04-21 20:36:09 +08:00
DIYgod
ec9f9aa018
fix cache type
2019-04-21 20:19:54 +08:00
fwolf
f87fcdd004
修整两处格式错误 ( #1873 )
...
在转发 Telegram Channel 到 Mastodon 的过程中,发现有两处格式错误:
1. hashtag 和斜体内容, Mastodon 不支持,就变成 `<i>#tag</i>` 这样的形式了,版式很乱且没必要,这个一般用的也少,干脆就去掉了。
2. 在去除不可见字符的时候,应当保留回车 `\r \n` ,这样可以更好的保持排版格式。(源代码中参照的 stackoverflow 链接中的第二个,回答中的提示也有保留回车的选项,就套过来了。
2019-04-10 11:39:59 +08:00
DIYgod
567e73df77
avoid repeating setting cache
2019-03-28 00:29:05 +08:00
DIYgod
9e2b99f5ac
revert log; fix repeating setting cache in readhub
2019-03-27 19:04:09 +08:00
DIYgod
5676607046
log
2019-03-27 18:57:12 +08:00
DIYgod
fa6d5b3abf
log: more
2019-03-27 18:49:52 +08:00
DIYgod
ae20bb6731
log: fix
2019-03-27 18:14:44 +08:00
DIYgod
e3f61bb65c
log: more info
2019-03-27 18:09:37 +08:00
DIYgod
fd71316675
log: fix
2019-03-27 18:02:23 +08:00
DIYgod
a21fc4bbc6
log: repeated key
2019-03-27 17:53:16 +08:00
DIYgod
d70cba4c8e
fix filtering empty title, close #1808
2019-03-23 00:48:41 +08:00
DIYgod
5eab3a4a69
fix null cache type, close #1728 #1730
2019-03-12 14:44:28 +08:00
DIYgod
0ca946c705
fix default value of cache maxAge
2019-03-06 12:17:33 +08:00
Henry Wang
e1d91a591e
del: line breaker handling in middleware ( #1592 )
...
* del: remove line breaker handling
As it's slowing down RSSHub drastically
* del: related test case
* feat: weibo line breaker handling
2019-02-21 15:24:55 +08:00
Henry Wang
7a0f3e3eb7
替换换行符为 <br> ( #1523 )
...
close #1522
2019-02-19 22:45:29 +08:00
DIYgod
a4760ad9dd
remove useless code
2019-02-01 18:25:24 +08:00
DIYgod
c08d4481f0
lib: remove useless file
2019-01-31 17:30:30 +08:00
DIYgod
ab2028ffa2
lib: merge lur-cache and redis-cache module
2019-01-31 17:19:36 +08:00
DIYgod
8e75f8184a
Merge commit 'ec5fa9ffcf4827ce5580299bc1ff61d870ae5386'
2019-01-31 15:32:48 +08:00
DIYgod
9afa5049d0
test: middleware/header
2019-01-31 15:12:54 +08:00
DIYgod
cc7d8ed4a1
remove sentry
2019-01-31 12:04:20 +08:00
Henry
ec5fa9ffcf
Fix node-redis warning
...
node_redis: Deprecated: The SETEX command contains a argument of type Promise.
This is converted to "[object Promise]" by using .toString() now and will return an error from v.3.0 on.
Please handle this in your code to make sure everything works as you intended it to.
2019-01-30 21:06:07 +00:00