Commit Graph

42 Commits

Author SHA1 Message Date
DIYgod aed1dead13
fix npm run test 2018-11-02 00:00:05 +08:00
DIYgod 12cf1a41b4
app: bring newrelic forward 2018-10-09 16:39:02 +08:00
DIYgod ead54bee00
app: use newrelic 2018-10-09 16:30:27 +08:00
DIYgod 27371c4bc8
app: fix error handing 2018-09-12 17:18:43 +08:00
Henry Wang c835fa5c02 Add middlewares for API and various improvements (#685) 2018-09-12 12:00:47 +08:00
Henry Wang 97886d5f51 添加 API: 返回可用公共路由列表 (#679)
方便其他项目如 https://github.com/idealclover/Easy-to-RSS
2018-09-11 11:04:49 +08:00
Henry Wang 3390a3a66b Refactoring imports (#601) 2018-08-31 11:48:03 +08:00
Henry Wang 54d07cb85c Add http basic authentication (#584)
* Add http basic authentication

closes #560

* Add docs

* Add http basic authentication middleware

* Minor update

* Move settings to config.js
2018-08-31 10:46:17 +08:00
DIYgod b4133e6005
rss: limit param 2018-07-29 02:20:58 +08:00
DIYgod e507ac46ea
fix no cache error 2018-07-25 23:43:21 +08:00
Simon Shi d6c17870fc feat: Add Unix Socket Support && rss: Add shmtu route (#285)
* feat: Add Unix Socket Support

* rss: Add shmtu route

* fix: docs & bugs
2018-06-11 18:18:22 +08:00
DIYgod 0ca3b9b07f
app: access contorl 2018-06-02 16:39:52 +08:00
DIYgod a25a9b2f68
app: more beautiful launch emoji 2018-05-23 17:37:01 +08:00
DIYgod 108f4bf0ce
app: remove empty password 2018-05-18 14:59:04 +08:00
DIYgod ca0754d7b0
app: expose cache function to koa context 2018-05-18 01:43:43 +08:00
DIYgod 005670acee
app: debug: add hot ips 2018-05-17 15:48:35 +08:00
DIYgod 77014458d0
app: try to get real client ip 2018-05-17 15:31:50 +08:00
DIYgod 3d57e5ca75
app: debug: add hot routes 2018-05-17 15:01:45 +08:00
DIYgod a96dd28d0b
app: debug info 2018-05-17 12:22:52 +08:00
さくら 49de384d2e feat: add prettier and commit hooks (#144)
* feat: add prettier and commit hooks

* style(*): prettier format

* fix(eslint): parsing error: Unexpected token ...

* style(eslint): eslint --fix

* style(bilibili): fix `no-undef` and `no-unused-vars`

* style(jiandan): fix eqeqeq

* style(pixiv): disable `no-constant-condition` rule for eslint

* fix(pixiv): use template string

* style(toutiao): remove unused variables

* style(weibo): use `forEach` instead of `map`

The array has no return value, you should use `forEach` instead of `map`

* chore(hooks): add eslint hooks

* chore(hooks): switch from husky to yorkie

* style(zhihu): prettier format

* style(docs): fix vuepress custom container

https://vuepress.vuejs.org/guide/markdown.html#custom-containers

* chore(prettier): set a more reasonable `printWidth` value

* style(*): better prettier format
2018-05-17 10:52:29 +08:00
DIYgod f0426501c6
app: listenInaddrAny config 2018-05-16 02:07:04 +08:00
DIYgod 7ca103ad10
app: fix redis config 2018-05-16 01:29:01 +08:00
DIYgod 16c32f7824
app: fix redis cache 2018-05-16 01:17:06 +08:00
DIYgod 36ad5f2415
app: welcome page 2018-05-15 01:55:19 +08:00
DIYgod 1fb172045c
generate template after filter for a better performance 2018-05-11 18:50:41 +08:00
DIYgod 4776fa6aba
middleware: filter 2018-05-11 17:10:10 +08:00
u3u a2e8b317ba fix: incorrect `utf-8` characters 2018-04-30 18:22:27 +08:00
DIYgod 3d2854ad41
support memory cache 2018-04-17 12:11:51 +08:00
DIYgod 3f940a6906
replace express and request with koa and axios 2018-04-16 02:47:09 +08:00
DIYgod 04abee93a3
Merge branch 'master' into master 2018-04-14 01:09:38 +08:00
DIYgod 7340a91fa8
Merge branch 'master' into master 2018-04-14 00:54:07 +08:00
阿卡琳 eaa13c8cef add ncm user playlist 2018-04-13 22:53:02 +08:00
metowolf 7ad64175ef add ncm artist 2018-04-13 20:15:27 +08:00
huruji af577d50df add zhihu 2018-04-13 19:10:44 +08:00
DIYgod 5b4910e6e4
jianshu 2018-04-13 16:23:49 +08:00
DIYgod cc7b3f6c32
express module 2018-04-11 18:47:23 +08:00
DIYgod 3b2095f27d
ziroom module 2018-04-11 18:33:41 +08:00
DIYgod 6f4da7c6cf
juejin module 2018-04-11 17:52:03 +08:00
DIYgod c950454425
ncm module 2018-04-11 17:07:21 +08:00
DIYgod 8a3255e37b
weibo module, thank @zgq354 2018-04-11 16:50:02 +08:00
DIYgod ca9ac4e1ea
bilibili module 2018-04-11 01:48:30 +08:00
DIYgod 5794ac872c
basic modules 2018-04-11 01:48:11 +08:00