Commit Graph

76 Commits

Author SHA1 Message Date
Michael Kriese 9caf45ed43 fix(git): wrong git url handling (#17380)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-24 19:41:43 +00:00
Nathan Kuik d19b708b19 feat(platform/bitbucket): allow using OAuth token (#16900) 2022-08-24 10:15:00 +02:00
Michael Kriese 8f8f059d4f feat(gitlab): use server side archived filter (#17358) 2022-08-23 10:52:59 +00:00
Michael Kriese d01d440ac2 fix(gitea): filter mirror repos on autodiscover (#17359) 2022-08-23 08:34:17 +02:00
Sergei Zharinov d18538dc4d feat(platform): Provide repoFingerprint field on repository init (#17288)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-22 07:50:55 +00:00
Michael Kriese 6be533b94e test(platform/azure): coverage (#17269)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-18 19:45:53 +00:00
Rhys Arkins acaa8eb42f fix(azure): log repo not found message (#17268) 2022-08-18 19:25:47 +00:00
Michael Kriese 2525f7146b fix(presets): handle null values from azure (#17236) 2022-08-17 15:51:59 +00:00
Michael Kriese 0316a5e62d test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Gabriel-Ladzaretti 9c23f48008 fix(core/dashboard): fix truncated issue body (#16527) 2022-08-15 06:00:26 +00:00
Ryan Delaney 5069b60109 fix(docs): comma splices in help text (#17049) 2022-08-09 13:46:58 +03:00
Michael Kriese ababf34c7e refactor(gitea): cleanup types (#16968) 2022-08-04 12:00:48 +00:00
Michael Kriese a251fc494d feat(platform/gitea): support native automerge (#16885)
* feat(platform/gitea): support native automerge

* Update lib/modules/platform/gitea/index.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/modules/platform/gitea/index.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/modules/platform/gitea/index.spec.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-08-02 12:29:08 +02:00
Michael Kriese 16ea835218 feat(platform/gitea): support draft PR (#16888)
* feat(platform/gitea): support draft PR

* docs: update support state

* Update docs/usage/configuration-options.md

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-08-02 09:47:52 +00:00
Michael Kriese 61c045ca2f feat: use sha512 for hashes (#16907) 2022-08-02 11:36:26 +02:00
HonkingGoose 0154fe0314 docs(bitbucket server support): fix typo (#16891)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-01 10:20:58 +00:00
HonkingGoose e81b552abc fix(platform/github): rewrite debug message (#16889)
chore(github): rewrite debug message
2022-08-01 11:58:15 +02:00
Sergei Zharinov e4dbd4ad49 fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
Michael Kriese ab7ddb5e3c feat(platform/gitea): support automergeStrategy (#16851)
* feat(platform/gitea): support `automergeStrategy`

* chore: revert change

* Update docs/usage/configuration-options.md

* Update docs/usage/configuration-options.md
2022-07-29 14:40:26 +02:00
Przemysław Romanik ac7aa81eda docs: Gitea account must have full name set for Git identity (#16792)
* Gitea account must have full name set for Git identity

* Update lib/modules/platform/gitea/index.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Update index.md

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-27 17:33:52 +00:00
Sergei Zharinov e4716ead14 refactor(github): Simplify long-form condition in findPr (#16813) 2022-07-27 16:27:46 +00:00
Sergei Zharinov eed6fe3349 refactor(github): Sort cached PR list (#16815) 2022-07-27 16:09:03 +00:00
Sergei Zharinov d774d82fcd test(github): Remove unnecessary type casts (#16816) 2022-07-27 15:44:37 +00:00
Michael Kriese 8270d5512d refactor: fix lint issues (#16779)
* refactor: fix lint issues

* Update lib/renovate.ts

* chore: revert toplevel await for ts
2022-07-26 08:32:12 +00:00
RahulGautamSingh c7507255b7 refactor: rename isBranchStale -> isBranchBehindBase (#16577)
* rename

* rename to isBranchBehindBase

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 09:21:32 +00:00
Olivier Michaelis 5568420c78 feat(github): support unprefixed App Installation Token (#16174) 2022-07-14 04:42:05 +00:00
Jamie Magee c3c493baf1 docs(azure): merge azure devops docs (#16432) 2022-07-12 04:59:43 +00:00
Philip 6453c3833f feat(PrBody): log when PR was created and updated (#15809) 2022-07-09 08:50:19 +02:00
Sergei Zharinov c866fd06fc fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +00:00
jatladams e1bb2581ef feat(bitbucket-server): Support gitUrl (#13875) 2022-07-01 11:59:58 +02:00
Michael Kriese 10302eba68 refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
Michael Kriese e5c6f38d75 refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Michael Kriese 69e3f5117e fix: use re2 (#16044) 2022-06-20 12:52:22 +00:00
Tobias 6a78436600 feat(github): enable platformAutomerge feature for GHES>=3.3 (#15924) 2022-06-14 16:57:15 +02:00
Dominic Seitz 953ef18e87 feat(gitea): Support gitUrl (#14947)
* feat: Support gitUrl on gitea platform

* refactor: use query token instead of auth header

* refactor: debug message style

* refactor: use url property query

* refactor: use basic http auth for gitea

* test: add gitea tests for gitUrl property

* refactor: capitalising abbreviations

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* refactor: move getRepoUrl to utils

* fix: add missing property ssh_url to fix linting

* fix: utils strict mode issues

* Merge branch 'main' into main

* refactor: use endpoint without api path slicing

* refactor: use different null check

* refactor: make urls optional

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: prettier fix

* test: update test

* refactor: throw error if clone_url is missing

* test: refactor empty clone_url test

* refactor: change empty clone_url logic

* refactor: change imports

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: add token tests

* refactor: replace deprecated url module

* refactor: add null checks

* test: add tests for null checks

* test: use host rule implementation instead of mock

* refactor: remove explicit typing

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: update mocking

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: change dynamic imports

* Update lib/modules/platform/gitea/utils.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-09 13:48:40 +00:00
Rhys Arkins 561c08d545 fix(github): filter vulnerability states only for >=3.5 (#15920)
Closes #14431
2022-06-07 09:12:23 +02:00
Rhys Arkins 381481ace1 fix: log GHES version 2022-06-07 07:50:46 +02:00
Gabriel-Ladzaretti 1c248e284f fix(platform/github): dryrun skip autoclosed prs reopening (#15727) 2022-05-26 07:12:30 +02:00
Dominic Seitz 292f144590 refactor(gitea): use env variable endpoint without api path appendix (#15055)
* refactor: use gitea env variable endpoint without api path appendix

* refactor: use regex for api path trimming

* refacotr: move api path constant to gitea-helper

* refactor: consider end of string for api path trimming

* refactor: use baseUrl in gitea helper tests

* test: use toEqual instead of snapshot test

* refactor: update gitea default endpoint

* test: update gitea base url

* test: update init platform test

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* test: fix linting

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-24 18:32:45 +00:00
Michael Kriese 8c20872ee2 fix(config): unicodeEmoji is a global only option (#15631) 2022-05-18 11:32:27 +02:00
Rhys Arkins 9a1d98cc1b fix(changelog): massage links case insensitive (#15570) 2022-05-13 08:07:01 +02:00
Sergei Zharinov f292e76852 feat: Cache compacted PR body structure (#15303) 2022-05-09 10:24:28 +00:00
Kenneth Jorgensen 6ea0d5d6fb feat(maven): S3 Support (#14938)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-04 05:59:14 +02:00
Sergei Zharinov add3520a30 fix(github): Use long pages for initial PR lsit fetch (#15400) 2022-05-02 18:59:17 +00:00
Michael Kriese ef470f7f92 feat(config): parse json files as json5 (#15187) 2022-04-29 08:34:55 +00:00
Michael Kriese 982cefff2b refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Sergei Zharinov 05c0c9bd4b fix(github): Drop ETag support for PR cache (#15292) 2022-04-24 18:36:06 +02:00
Sergei Zharinov ce52bda3c8 feat(github): Remove irrelevant fields from PR cache (#15283) 2022-04-23 15:23:06 +00:00
Sergei Zharinov b722489191 feat(github): Descrease PR list page size (#15280) 2022-04-23 14:28:35 +01:00
Michael Kriese 53bd90b30f refactor(platform): final strict checks (#15268) 2022-04-22 22:05:26 +02:00