Commit Graph

85 Commits

Author SHA1 Message Date
DIYgod cf1c9c98ff
feat: expanded parameters data 2024-06-26 18:11:19 +08:00
Tony e22e424493
fix(route): github notification (#15659) 2024-05-22 14:41:12 +08:00
DIYgod 6ee5d7267b
chore: add popular category 2024-05-19 23:00:43 +08:00
Raymond Nook aa3a394c1e
fix: typo 2024-05-08 03:50:55 -07:00
Raymond Nook 53022113dc
fix: typo 2024-05-08 03:44:10 -07:00
Raymond Nook 1ef5c6fc1c
fix: broken url when not using optional :page parameter
fixes #14387
2024-05-08 03:36:42 -07:00
Tony 98ceba20cc
fix(route): github pulls (#15452) 2024-05-03 03:45:31 +00:00
Rongrong ef8b061ea2
chore(routes/*): fix unreachable code (#15192)
This is a regression introduced in #14718.

Signed-off-by: Rongrong <i@rong.moe>
2024-04-12 00:19:38 +08:00
DIYgod 79fcce2729
feat: add ConfigNotFoundError and InvalidParameterError 2024-04-07 17:36:18 +08:00
Tony 0893debb07
style(eslint): lint tsx (#15098) 2024-04-04 20:28:45 +08:00
Tony 7cf30601d8
fix(route): github comments (#15086) 2024-04-04 00:33:30 +08:00
wudifeixue c086c62acd
fix(core): fix documentation link path and error message links (#15023)
* fix: all broken sponsor links

* fix: all broken deployment links

* fix: other broken links
2024-03-30 08:12:12 +00:00
github-actions[bot] a13a9bda06 style: auto format 2024-03-27 16:50:32 +00:00
stydxm e5b0754fd6
fix(route): complete GitHub file params (#14987)
* fix(route): complete GitHub file params

* Apply suggestions from code review

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

--------
2024-03-28 00:49:05 +08:00
Tony 6e53d7263c
fix(core): accept header not working (#14961) 2024-03-26 03:02:47 +08:00
Tony 607a9455e2
fix(route): github user starred repos use reset api (#14960) 2024-03-26 02:36:27 +08:00
qixingchen fea53e9716
fix: DIYgod/RSSHub-Radar#953 (#14828) 2024-03-18 16:54:07 +08:00
Tony d585a87daf
fix: allow multiple radar rules per route (#14800)
* fix: allow multiple radar rules per route

* fix: github folder

* feat: add namespace to radar target

* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod 1afe43eccd
feat: add config description field 2024-03-12 01:52:06 +08:00
DIYgod e5b8f852f5
feat: add requireConfig 2024-03-12 00:29:52 +08:00
DIYgod d83c85a349
feat: remove radar.ts maintainer.ts router.ts 2024-03-09 18:31:48 +08:00
DIYgod 33e2f17055
fix: wrong categories 2024-03-09 15:08:34 +08:00
DIYgod 76e7e8296b
fix: add routes 2024-03-09 03:24:53 +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 6beeece94b
Merge remote-tracking branch 'origin/master' into feature/vitest 2024-03-04 01:17:26 +08:00
DIYgod a10bafb263
fix: __dirname 2024-03-04 00:46:26 +08:00
DIYgod 8065ededf5
feat: rename routes .js to .ts 2024-03-04 00:35:37 +08:00
psychosispy 5928c5db24
feat(route): Rewrite the API URL to original URL (#14617)
* feat(route): Rewrite the API URL to original URL

* Update notifications.js

* camelCase
2024-03-03 03:07:01 +08:00
DIYgod df57bb5d50
feat: esm standard for routes 2024-03-02 03:25:26 +08:00
DIYgod d88620c39c
feat: update esm dependencies 2024-03-01 22:58:04 +08:00
DIYgod 6f57c02538
feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
Fatpandac 03481653fa
fix(route): fix GitHub route parameter conflict at trending.js and refactor to V2 (#8923)
* Fix(route): fix route parameter conflict at trending.js and change to V2

* Fix(route): modify the judgment condition of language parameter

* Fix(docs): Update docs/programming.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Fix(docs): Update docs/en/programming.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix(docs/route): add author and sort routes

* Fix(route): Update docs/en/programming.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Fix(route): sort routes

Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2022-02-03 00:37:01 +08:00
Jigsaw 2024ba9108
feat(route): add spoken_language for GitHub Trending (#8456) 2021-11-27 08:46:24 +00:00
Daniel Li (李丹阳) d77a039f05
style(eslint): add no-implicit-coercion rule (#8175)
* refactor: add no-implicit-coercion rule for ESLint

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* fix: errors from deepscan

* Update docs/en/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update docs/joinus/quick-start.md

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/av01/tag.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/gov/taiwan/mnd.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* Update lib/routes/ps/product.js

Co-authored-by: Sukka <isukkaw@gmail.com>

* refactor: minify html string

Co-authored-by: Sukka <isukkaw@gmail.com>
2021-09-15 21:22:11 +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
Sukka 6e3b58ed1d
refactor: avoid promise overhead (#8028) 2021-08-16 11:45:53 -07:00
Queensferry ec35396bf1
fix(route): github trending css selector changed (#7279) 2021-05-25 09:16:53 -04:00
Queensferry 79a3d36c2b
feat: implement github topics router (#5803) (#6792) 2021-01-26 00:08:43 -05:00
Dan Vanderkam 3bdffcdcfb
feat: linkify GitHub markdown (#6114) 2020-11-06 21:42:50 +00:00
Search 25fb166ee4
fix: add missing author field in github and gitlab routes. (#5698) 2020-09-25 11:36:13 +01:00
Henry Wang 745f516663
fix: GitHub markdown with empty body (#5312)
Close #5299
2020-07-31 17:13:06 +01:00
Henry ec49562269
Revert #5271
Incomplete PR. #5261
2020-07-29 17:25:41 +01:00
sabuaka18 eddba23099
feat: javbus routes: `director` `label` `studio` (#5271)
Co-authored-by: zrenca <42361841+zrenca@users.noreply.github.com>
2020-07-28 15:59:30 +01:00
hoilc f018decc80
fix: update github search selector (#5265) 2020-07-28 05:54:20 +01:00