Commit Graph

62 Commits

Author SHA1 Message Date
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