Commit Graph

81 Commits

Author SHA1 Message Date
DIYgod 889f3118b1
test: add SENTRY env 2019-09-09 14:47:44 +08:00
DIYgod 16263b020c
test: fix debug test case 2019-09-04 21:56:16 +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
DIYgod 0af16097b3
feat: replace text 2019-09-04 14:28:29 +08:00
DIYgod 223d426d91
feat: handle HTTPError 2019-09-04 14:27:38 +08:00
Cloud c859291ca3 fix: if fulltext parser failed, return default description and… (#2992) 2019-09-04 11:41:05 +08:00
DIYgod 3cebb70ef4
feat: name field for sentry 2019-09-03 23:06:44 +08:00
DIYgod 7c65bb5b18
feat: support Sentry 2019-09-03 18:11: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
DIYgod 745eb0d52a
test: add template enclosure test cases 2019-08-23 15:44:52 +08:00
DIYgod 10c63882bf
test: add cache test cases 2019-08-23 15:07:48 +08:00
DIYgod f7e8682ba8
feat: add error routes and error paths info 2019-08-23 00:15:13 +08:00
DIYgod c187811b97
feat: node name 2019-08-15 23:58:50 +08:00
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