Commit Graph

131 Commits

Author SHA1 Message Date
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
DIYgod a7e153e25e
refactor: format 2020-04-14 19:31:37 +08:00
DIYgod c1d7c99e5e Merge commit '026f9dce3aa2902531fcf4b682315fec3b06e6b7' 2020-04-14 19:30:02 +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
Linghao Zhang 42bd6fa2cf
Use promise instead 2020-04-02 11:05:59 +08:00
Linghao Zhang c4a13afcab
Github contributors add sort order 2020-03-21 16:32:13 +08:00
Linghao Zhang 17de3a13a8
Add github contributors
done: "New" contributors, ordered by commit number ascended
todo: Optional "top" contributors
2020-03-21 16:32:06 +08:00
hoilc 7651dd0018
fix: allow empty for github feed (#4174) 2020-03-08 23:12:30 +08:00
hoilc 61cfa78c3a
docs: update github issue (#4151) 2020-03-03 00:22:49 +08:00
hoilc 63aea3bc3c
fix: restore github api querystring (#3964) 2020-02-15 19:12:43 +08:00
DIYgod 120d1ed38a
feat: github Basic Authentication 2020-02-10 01:40:24 +08:00
DIYgod 77d55262ff
chore: bump got from 9.x to 10.x (#3875) 2020-02-04 01:09:14 +08:00
Andrey 24a6a62578 feat: GitHub Repo Issues: add optional `state` and `labels` p... (#3766) 2020-01-19 12:02:13 +08:00
orklah 68c6a2cf37 feat: Fix link in Github's PR (#3686) 2020-01-07 14:39:45 +08:00
hoilc 54d5cd9fc4 fix: 允许github issue列表为空 (#3222) 2019-10-10 12:08:21 +08:00
DIYgod 2ccaa4f390 Merge branch 'feature/pkg' 2019-09-19 23:59:05 +08:00
f00bar 5ae49c77fc fix: 修复当仓库 description 和 primary language 为 null 时的异常 (#3116) 2019-09-19 23:48:20 +08:00
Cloud dd8a2187da fix: github trending url URLencode (#3115) 2019-09-19 23:48:00 +08:00
DIYgod 4445443946
feat: use dynamical config 2019-09-18 17:45:21 +08:00
f00bar 39680b12d2 feat: add GitHub user starred repositories (#2999) 2019-09-05 13:18:47 +08:00
DIYgod 9a3bea3525
feat: remove referrerpolicy in routes 2019-08-28 14:38:19 +08:00
DIYgod 6d4e517b0b
feat: lacking config tips, close #2695 2019-08-15 19:27:27 +08:00
tgly307 9565774cfe fix: Github trending (#2380) 2019-06-12 11:16:30 +08:00
DIYgod ea508b8bc2
fix: post type 2019-06-04 18:28:06 +08:00
DIYgod a56c0b5a39
refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod e2badbfa98
chore: module alias for all routes 2019-05-15 15:27:15 +08:00
Chenyang Shi 1bf2a9c724 feat: github issue add author (#2016) 2019-04-30 00:22:40 +08:00
zengxs cac1a9e7ce feat: Support subscribe GitHub file commits (#2002)
* feat: Support subscribe github single file

* refact: Use GitHub API to crawl commits

* Use GitHub API to crawl commits
* Update document

* Add access_token for github file commits api
2019-04-28 12:05:17 +08:00
Max Arnold fe61f348da Add GitHub branches (#1969) 2019-04-21 20:41:44 +08:00
Ethan H c81c7469a3 修复github地址 (#1763) 2019-03-18 15:10:23 +08:00
Henry Wang e72f82e983 chore: 部分代码优化 (#1674) 2019-03-04 19:26:09 +08:00
Hash Lin 6410c2f876 add Github Pull requests rss feed (#1549)
add Github pull requests rss feed with `github/pull/{user}/{repo}` this pattern
2019-02-19 11:30:13 +08:00
imlonghao dc9e52b7c9 Fix pubDate format and close #1476 (#1477) 2019-01-28 18:25:11 +08:00
凉凉 6cbfac4b65 Hotfix: github search (#1385)
Closes #1383
2019-01-14 00:19:25 +08:00
Chenyang Shi a94c087f53 add: github搜索结果 (#1325)
closes #1289
2018-12-31 01:01:51 +08:00
DIYgod 38a90e29b0
optimize directory structure 2018-12-26 18:35:10 +08:00