Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(route): Add Discourse notifications fulltext support. #13168

Merged
merged 5 commits into from
Sep 1, 2023

Conversation

dzx-dzx
Copy link
Contributor

@dzx-dzx dzx-dzx commented Aug 30, 2023

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/discourse/0/notifications/1

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Documentation / 文档说明
    • EN / 英文文档
    • CN / 中文文档
  • Full text / 全文获取
    • Use cache / 使用缓存
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

@github-actions github-actions bot added Route: v2 v2 route related Auto: Route Test Complete Auto route test has finished on given PR labels Aug 30, 2023
@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/discourse/0/notifications/Yes - Failed ❌
HTTPError: Response code 404 (Not Found)

Route requested: /0/notifications/Yes
Error message: Error: Discourse RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install">relevant config</a>
    at getConfig (/app/lib/v2/discourse/utils.js:5:15)
    at module.exports (/app/lib/v2/discourse/notifications.js:5:27)
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:425:16
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:34:12
    at dispatch (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:430:31)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-mount/index.js:58:11
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at allowedMethods (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:485:12)
Helpful Information to provide when opening issue:
Path: /0/notifications/Yes
Node version: v18.17.1
Git Hash: 5d6aeb9

@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/discourse/0/notifications/1 - Failed ❌
HTTPError: Response code 404 (Not Found)

Route requested: /0/notifications/1
Error message: Error: Discourse RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install">relevant config</a>
    at getConfig (/app/lib/v2/discourse/utils.js:5:15)
    at module.exports (/app/lib/v2/discourse/notifications.js:5:27)
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:425:16
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:34:12
    at dispatch (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:430:31)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-mount/index.js:58:11
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at allowedMethods (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:485:12)
Helpful Information to provide when opening issue:
Path: /0/notifications/1
Node version: v18.17.1
Git Hash: a5f9d6d

@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/discourse/0/notifications/1 - Failed ❌
HTTPError: Response code 404 (Not Found)

Route requested: /0/notifications/1
Error message: Error: Discourse RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install">relevant config</a>
    at getConfig (/app/lib/v2/discourse/utils.js:5:15)
    at module.exports (/app/lib/v2/discourse/notifications.js:5:27)
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:425:16
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:34:12
    at dispatch (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:430:31)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-mount/index.js:58:11
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at allowedMethods (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:485:12)
Helpful Information to provide when opening issue:
Path: /0/notifications/1
Node version: v18.17.1
Git Hash: 038a110

website/docs/routes/bbs.md Outdated Show resolved Hide resolved
@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/discourse/0/notifications/1 - Failed ❌
HTTPError: Response code 404 (Not Found)

Route requested: /0/notifications/1
Error message: Error: Discourse RSS is disabled due to the lack of <a href="https://docs.rsshub.app/install">relevant config</a>
    at getConfig (/app/lib/v2/discourse/utils.js:5:15)
    at module.exports (/app/lib/v2/discourse/notifications.js:5:27)
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:425:16
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:34:12
    at dispatch (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:430:31)
    at /app/node_modules/.pnpm/[email protected]/node_modules/koa-mount/index.js:58:11
    at dispatch (/app/node_modules/.pnpm/[email protected]/node_modules/koa-compose/index.js:42:32)
    at allowedMethods (/app/node_modules/.pnpm/@[email protected]/node_modules/@koa/router/lib/router.js:485:12)
Helpful Information to provide when opening issue:
Path: /0/notifications/1
Node version: v18.17.1
Git Hash: db1dae9

@TonyRL TonyRL merged commit 26a5d26 into DIYgod:master Sep 1, 2023
29 checks passed
@dzx-dzx dzx-dzx deleted the discourse branch September 1, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto: Route Test Complete Auto route test has finished on given PR Route: v2 v2 route related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants