Marc Bernard
e43cb0c9b5
chore: fix spelling of GitHub in badge descriptions ( #10199 )
2024-05-26 09:16:39 +00:00
chris48s
c586960ce8
allow calling [github] without auth ( #9427 )
...
* allow calling [github] without auth
* set a default for authType, fix broken tests
2023-08-07 14:51:18 +00:00
dependabot[bot]
b9d96755ec
chore(deps-dev): bump prettier from 2.8.8 to 3.0.0 ( #9357 )
...
* chore(deps-dev): bump prettier from 2.8.8 to 3.0.0
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.8 to 3.0.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.8...3.0.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* reformat all the things (prettier 3)
* update tests to await calls to prettier.format()
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <git@chris-shaw.dev >
2023-07-10 09:27:51 +00:00
chris48s
c3d08f7f8b
Send X-GitHub-Api-Version when calling [GitHub] v3 API ( #8669 )
...
* send X-GitHub-Api-Version when calling GitHub v3 API
* TODO: invesitgate
* read baseUrl from config.service.baseUri
* add workflow to check for new GH api releases on schedule
* format config/default.yml to match yaml.dump() format
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-31 15:56:04 +00:00
chris48s
d3ca453712
remove suspended [github] tokens from the pool ( #7654 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-02-27 22:28:49 +00:00
chris48s
99bffd3a86
Send better user-agent values (and got config changes) ( #7309 )
...
* expose fetchLimitBytes/userAgent in got-config module
* export a function not a factory
* send better user-agent values
- add userAgentBase setting
- send short SHA in user agent on heroku
- set a version (tag or short SHA) in Dockefile and use
it to report server version in UA for docker users
* add a comment explaining fileSize
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-25 17:11:49 +00:00
chris48s
f1b643df0d
remove request from legacy request handler ( #7233 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-06 10:59:58 +00:00
chris48s
eb07b60cf0
migrate github badges to use got instead of request; affects [github librariesio] ( #7212 )
...
* migrate github badges to use got instead of request
* simplify creation of requestFetcher in libraries.io base
* improve libraries.io connection error test
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-10-31 16:19:09 +00:00
chris48s
0ce98396d7
remove [github] admin routes ( #7105 )
2021-10-05 17:17:26 +01:00
Pierre-Yves B
ca63f21113
Stop attempting to override Accept header in [GitHub] API provider ( #7013 )
2021-09-12 20:48:23 +01:00
Pierre-Yves B
23c0406bed
Migrate from CommonJS to ESM ( #6651 )
2021-07-09 12:53:55 +01:00
dependabot-preview[bot]
636ed87057
Build(deps-dev): bump prettier from 2.2.1 to 2.3.0, run [ciibestpractices eclipsemarketplacedownloads gemdownloads githubdeployments githubtotaldiscussions githubforks githubhacktoberfest githubissuessearch githubpackagejson githubsponsors githubtag jenkinscoverage node npm nuget scoop teamcitybuild testspace] ( #6482 )
...
* Build(deps-dev): bump prettier from 2.2.1 to 2.3.0
Bumps [prettier](https://github.com/prettier/prettier ) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.2.1...2.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* chore: prettier
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Caleb Cartwright <caleb.cartwright@outlook.com >
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-05-15 08:49:20 +00:00
Prafful Javare
a094c8a373
Add GitHub discussions total badge [GithubTotalDiscussions] ( #6472 )
...
* use headers from options passed as argument in request method
* add github total discussions badge
* use nonNegativeInteger for total discussion count
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-05-11 07:54:58 +00:00
chris48s
504015c0ba
migrate hapi/joi to joi ( #5624 )
...
* update joi + joi-extension-semver
* @hapi/joi --> joi
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-09-30 17:51:02 +00:00
chris48s
d8831729cb
Check request origin before sending credentials ( #4729 )
...
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com >
Co-authored-by: Paul Melnikow <github@paulmelnikow.com >
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
2020-03-04 20:42:27 +00:00
chris48s
75ee413178
Add BaseGraphqlService, support [github] V4 API ( #3763 )
...
* add base class for Graphql APIs
* add GithubAuthV4Service + updates to GH token pool
* update github forks to use GithubAuthV4Service
* rename GithubAuthService to GithubAuthV3Service
2019-07-29 21:42:03 +01:00
chris48s
8621fe42d7
Upgrade Joi ( #3505 )
...
* upgrade joi
* find & replace ALL THE THINGS
* update related deps
2019-06-02 21:59:55 +01:00
Paul Melnikow
5ff7beb3bf
Reorganize token pooling code ( #2792 )
...
Ref #2698
2019-01-18 06:18:31 -05:00
Paul Melnikow
eb7ea8499d
Fix github auth again ( #2736 )
...
This code isn't being run during tests, though let's fix that later as part of #2733 . Specifically:
> However _the pool itself_ could be used all the time; there's not a big advantage in turning that off when it doesn't need to be used.
Fix #2728
2019-01-11 13:50:29 -05:00
Paul Melnikow
048291a024
Fix [GitHub] token handling ( #2730 )
...
Fix #2728
2019-01-11 13:16:44 -05:00
Paul Melnikow
c4efdc8e66
Rewrite and test Github auth logic, separating standard and search quota ( #1205 )
...
The end of an era.
2019-01-10 21:30:23 -05:00
Paul Melnikow
7a664ca3e8
Run prettier ( #1866 )
...
Merging this separately so the commit with the tooling change is readable. This is a follow-on to #1167 which turned prettier on.
2018-08-08 17:57:14 -04:00
Paul Melnikow
56fcb2e5ba
GithubApiProvider: injectible interface for code that calls github ( #1812 )
2018-08-07 16:46:12 -04:00