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 and GitHub
0e38eab8df
migrate request --> got in [github] auth acceptor ( #7248 )
2021-11-12 18:04:03 +00:00
Pierre-Yves B and GitHub
23c0406bed
Migrate from CommonJS to ESM ( #6651 )
2021-07-09 12:53:55 +01:00
Paul Melnikow and GitHub
eb9743c25c
Remove obsolete peer-to-peer GitHub token-sharing code ( #5628 )
...
Prevent tokens from being sent to the OVH servers. Instead, add them directly to the Redis DB.
Ref #3393
2020-09-29 21:22:30 -04:00
chris48s and GitHub
13d75e0607
upgrade to prettier 2 ( #5051 )
...
* arrowParens: avoid
* remove trailingComma setting
2020-05-05 21:07:43 +01:00
chris48s and GitHub
4d275e0642
upgrade to got 11 ( #5008 )
2020-05-02 17:39:23 +01:00
Paul Melnikow and GitHub
f9d5f57f49
Delay start until the server is ready ( #4959 )
...
Fixes #4958
Fixes, but only in Heroku, #3771 , so let's keep that open.
2020-04-27 22:45:19 -04:00
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
Paul Melnikow and GitHub
e2608a6570
Refactor GitHub OAuth credential handling ( #3693 )
...
Continues the work of #3652 .
2019-07-11 18:04:53 -04:00
dependabot-preview[bot] and Paul Melnikow
95b6e48bff
Build(deps-dev): bump nock from 11.0.0-beta.14 to 11.0.0-beta.19 ( #3552 )
...
* Build(deps-dev): bump nock from 11.0.0-beta.14 to 11.0.0-beta.19
Bumps [nock](https://github.com/nock/nock ) from 11.0.0-beta.14 to 11.0.0-beta.19.
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/beta/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* Fix one test
* Update for breaking change in nock api
* Always use got without retries in tests
2019-06-21 10:45:34 -04:00
Paul Melnikow and GitHub
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 and GitHub
bc0be4f619
Fixes for config update ( #2655 )
...
Ref #2626 #2654
2019-01-06 12:23:58 -05:00
Paul Melnikow and GitHub
5c665a70da
Overhaul initialization pattern for server + server tests ( #2519 )
...
Because `server.js` was long a monolith, there are a bunch of shims in place to facilitate unit testing. A few of the test suites share port 1111 which means if one of them fails to set up, the port won't be freed and other unrelated tests will fail. Some of the tests which trigger server setup include timeouts which were added to give setup code time to run. In one the test suites, we actually modify `process.argv`, which seems completely gross.
This implements a few changes which improve this:
1. Separate the server from the server startup script, splitting out `lib/server.js`.
2. Inject config into the server and validate the config schema.
3. Inject config into the service test runner.
4. Use `portfinder`, a popular utility for grabbing open ports during testing.
5. Switch more of the setup code from callbacks to async-await.
Overall it leaves everything acting more reliably and looking rather cleaner, if in a few places more verbose.
It also fixes the root cause of #1455 , a `setTimeout` in `rate-limit`. Off and on during development of this changeset, Mocha would decide not to exit, and that turned out to be the culprit.
Fix #1455
2018-12-23 11:24:22 -05:00
Paul Melnikow and GitHub
3eac8ebbfb
Rework GitHub acceptor and move to its own module ( #2021 )
...
Continue to merge the work from #1205 .
2018-11-09 15:14:01 -05:00