Commit Graph

387 Commits

Author SHA1 Message Date
Sergio Zharinov e2af296c48 refactor: Rename GraphQL query methods (#6732) 2020-07-12 08:10:38 +02:00
Michael Kriese e11875e036 refactor(internal): prepare for got v11 (#6727) 2020-07-10 20:51:40 +02:00
Rhys Arkins e95bd0ba3d feat(host-rules): add support for disabling hosts (#6715)
* feat(host-rules): support disabling hosts

Adds “enabled” to the list of recognized configuration options for hostRules. A host or domain can be disabled by setting `”enabled”: false` within the host rule. Also added presets :disabledHost() and :disableDomain().

* docs

* tests

* Update configuration-options.md

* fixes
2020-07-09 17:34:26 +02:00
Etienne 45d7d40952 fix: remove authorization header from core.windows.net requests for Azure docker registries (#6641)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-07-01 15:48:22 +02:00
Cirno the Strongest 58f42b3273 fix(gitea): don't crash on empty body during pagination (#6598) 2020-06-27 10:25:20 +02:00
Rhys Arkins 55625a893b refactor: run cache -> mem cache (#6582) 2020-06-25 09:23:06 +02:00
Rhys Arkins 031ad87b62 refactor: move ExternalHostError 2020-06-23 11:44:52 +02:00
Rhys Arkins daf2a485ab feat: abortOnError / abortIgnoreStatusCodes (#6556) 2020-06-23 09:25:03 +02:00
Rhys Arkins 52a074e041 refactor: ExternalHostError (#6563) 2020-06-22 21:28:02 +02:00
Sergio Zharinov 2d6c12d55a refactor: Remove 'util/got' (#6523) 2020-06-16 14:11:02 +02:00
Sergio Zharinov 93eaeeab88 test: Use nock for tests (Part 2) (#6519) 2020-06-16 07:11:21 +02:00
Rhys Arkins a399bbbf52 feat: log host stats per run
Closes #6357
2020-06-13 08:37:56 +02:00
Rhys Arkins 75b85eb03e refactor: http cache 2020-06-13 08:32:02 +02:00
Rhys Arkins 6c38eb359a refactor: move auth to http module (#6502) 2020-06-13 06:17:13 +02:00
Rhys Arkins f39d73f93f feat(internal): apply host-rules in http module (#6501) 2020-06-12 18:15:17 +02:00
Rhys Arkins 5d624ed484 feat(internal): request caching in http module (#6497)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-12 15:01:00 +02:00
Rhys Arkins 21028a702c refactor(http): better variable names for request() 2020-06-12 13:21:28 +02:00
Rhys Arkins 9f9cf258fe refactor: move user-agent insertion from got to http (#6492) 2020-06-12 11:46:43 +02:00
Rhys Arkins 3a4e153af0 fix(github): send versioned accept header (#6456)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-06-07 11:21:45 +02:00
Rhys Arkins 61ff7d732f logs(github): don’t log full err when 404 2020-06-06 10:15:34 +02:00
Sergio Zharinov 01be64987b refactor(bitbucket): Switch to new http wrapper (#6392)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-06-01 16:02:25 +02:00
Sergio Zharinov b4b66183f0 refactor(bitbucket-server): Switch to new http wrapper (#6393) 2020-06-01 15:35:12 +02:00
Sergio Zharinov dcbef85813 refactor(gitea): Switch to new http wrapper (#6394) 2020-06-01 14:01:09 +02:00
Sergio Zharinov 9617248f86 refactor(gitlab): Use new http wrapper for Gitlab platform (#6275) 2020-05-29 07:52:40 +02:00
Rhys Arkins 29b24ac1a0 fix(github): log result if graphQl fails 2020-05-28 10:30:06 +02:00
Rhys Arkins 73694efd82 fix(cache): run cache init (#6312) 2020-05-24 07:13:55 +02:00
Jamie Magee 53ce3cf4d6 chore(jest): add eslint jest checks (#5986) 2020-05-18 14:33:44 +02:00
Rhys Arkins 7caac0987c chore: better runCache import 2020-05-12 19:21:14 +02:00
Rhys Arkins 04cba3f6c7 refactor(cache): rename run cache 2020-05-11 08:00:55 +02:00
Sergio Zharinov aeff31a9d6 feat(internal): Add separate http wrapper for github platform (#6170) 2020-05-09 13:11:48 +02:00
Rhys Arkins 498ec20618 fea(internal): remove repoCache global (#6098) 2020-05-01 07:47:31 +02:00
Sergio Zharinov d54836b3d4 fix(maven): Check each release for corresponding jar (#5614) 2020-04-30 12:15:18 +02:00
renovate[bot] 4f59b62da4 chore(deps): update dependency prettier to v2 (#5952)
* chore(deps): update dependency prettier to v2

* Run prettier-fix

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2020-04-12 18:09:36 +02:00
Sergio Zharinov 9a68c139a5 feat(internal): Add support for missing HTTP methods (#5899) 2020-04-07 16:12:59 +02:00
Michael Kriese 4c0699c74c fix(internal): fix http api (#5890) 2020-04-06 17:31:13 +02:00
Rhys Arkins 1d4f747192 fix(orb): fix http post JSON 2020-04-06 09:15:29 +02:00
Rhys Arkins 4e4bfe9256 feat(internal): http util wrapper (#5841)
Co-Authored-By: Michael Kriese <michael.kriese@visualon.de>
2020-04-03 13:45:55 +02:00