Commit Graph

71 Commits

Author SHA1 Message Date
Rhys Arkins 53ca91301f chore: import linting (#6105) 2020-05-01 18:03:48 +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
Jamie Magee 5ce5ef39c1 chore(internal): disallow implicit braces (#5730) 2020-03-17 12:15:22 +01:00
Michael Kriese 6c4892b593 chore(types): fix more typescript types (#5615) 2020-03-02 12:06:16 +01:00
Ricky Patel d93036b8ab feat: hostRules findAll function 2020-02-11 14:46:31 +01:00
Rhys Arkins 8d0aa39920 refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements 2019-11-24 08:43:24 +01:00
Zach Willard 9d9d7ec84e feat(docker): add insecureRegistry hostRule (#4590) 2019-10-08 09:19:11 +02:00
Michael Kriese 49325143bd feat(sanitize): refactor (#4479) 2019-09-12 12:48:31 +02:00
Rhys Arkins 95d54baf83 feat: centralized sanitation (#4446)
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.

Closes #4444
2019-09-07 14:51:00 +02:00
Michael Kriese d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Jamie Magee f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
Tanuel ffbc39680d fix(host-rules): Handle invalid URLs (#4049) 2019-07-11 16:24:45 +02:00
Rhys Arkins d550d554c7 fix(host-rule): always return an object 2019-05-25 07:52:02 +02:00
Rhys Arkins 5f11c5e8d9 feat: hostRules rewrite (#3801)
Rewrites hostRules for increased flexibility. Includes renames of existing fields within a hostRule:
- `endpoint` -> `baseUrl`
- `host` -> `hostName`

Additionally, `domainName` has been added. Migration scripts should take care of these for users but it's recommended to update configs to match the new fields anyway.
2019-05-24 17:40:39 +02:00
Rhys Arkins 87f2b04f4e feat(host-rules): remove overrides option (#3785) 2019-05-21 15:12:53 +02:00
Rhys Arkins c02abf0976 feat: rename hostRules.platform to hostRules.hostType (#3768)
Refactors hostRules to use field “hostType” instead of “platform”. hostType can include datasources like npm, maven, pypi, etc.
2019-05-21 13:20:09 +02:00
Michael Kriese 0ecc16baf0 chore(build): fix linting (#3769) 2019-05-21 11:15:50 +02:00
Michael Kriese cc52c20533 feat(bitbucket-server): convert to typescript (#3756) 2019-05-20 15:08:18 +02:00
Rhys Arkins ee218097dc feat: refactor platform authentication (#3758) 2019-05-20 10:59:30 +02:00
Rhys Arkins 335a57364f feat(host-rules): allow find by endpoint 2019-05-20 06:15:06 +02:00
Michael Kriese 2efc90613c refactor: convert host-rules to ts (#3730) 2019-05-18 07:49:53 +02:00