Commit Graph
24 Commits
Author SHA1 Message Date
Yuliang Tan 385759d7b1 fix(route): discuz use ofetch (#18543)
* fix(route): discuz use ofetch

* fix(route): discuz use ofetch with charset handling
2025-03-08 12:03:12 +08:00
pseudoyu 0a42f88de7 feat(route): add lang field in route namespace 2024-11-01 22:09:31 +07:00
DIYgod 79fcce2729 feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
DIYgod d83c85a349 feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 45f9ea21fb feat: add routes 2024-03-09 03:06:53 +08:00
DIYgod f8b141ee6e feat: add namespace.ts 2024-03-09 01:53:22 +08:00
DIYgod 44c9853541 feat: replace require with import 7/n 2024-03-07 01:17:21 +08:00
Yufan You 130b11224e chore: remove @ts-nocheck (#14669) 2024-03-05 21:06:03 +08:00
Yufan You c039164007 fix: route syntax for hono (#14638)
* fix: use :param{.+} instead of :param+ for hono

* fix: use two separate routes to simulate :param* in hono

It seems that hono does not support this route syntax. We can simulate
it via two separate routes.

See https://github.com/orgs/honojs/discussions/1536

* fix: use {} instead of () for regex in hono

* fix: revert changes to lib/router.js as it's still using koa router

* Revert "fix: use two separate routes to simulate :param* in hono"

This reverts commit b00a0a74a025939d0a59c3f8f7b3b7038c13f715.

* fix: use :param{.+}? to simulate :param*

* feat: add hint about trailing slash in error message
2024-03-05 21:02:41 +08:00
DIYgod d93a301d97 feat: build-radar.ts 2024-03-04 01:52:04 +08:00
DIYgod 2c7d7f9205 feat: build-maintainer.ts 2024-03-04 01:38:38 +08:00
DIYgod 8065ededf5 feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Tony 1d129d80cc fix(route): discuz charset (#13240)
* fix(route): discuz charset

* fix: lazyload image
2023-09-09 03:23:15 +08:00
Sukka d82847f541 style/chore(eslint): enforce new rules (#8040)
* style: prefer object shorthand syntax
* refactor: prefer Array#map over Array#forEach
* style: prefer arrow callback
* chore(eslint): update rules
* style: auto fix by eslint
2021-08-17 22:23:23 +08:00
DIYgod 0e7b14e718 chore(deps-dev): bump prettier from 1.19.1 to 2.0.2 2020-04-02 21:21:46 +08:00
junfengP da288c5f98 feat: add cookie support for discuz (#4033) 2020-02-19 23:04:16 +08:00
junfengP 2e22386781 fix: some bugs in discuz (#3951) 2020-02-15 19:26:24 +08:00
junfengP 40aa69ff0e fix: full text error in discuz (#3880) 2020-02-04 16:32:45 +08:00
junfengP a627aff0ba feat: support fulltext in discuz (#3871) 2020-02-04 01:14:45 +08:00
junfengP 1a6c47a489 feat: support discuz 7.x (#3861) 2020-02-02 18:11:00 +08:00
DIYgod 19b981f4d3 fix: discuz param 2020-01-20 15:52:25 +08:00
junfengP 252f314a19 feat: 增加Discuz通用路由 (#3721) 2020-01-16 14:20:10 +08:00