Rhys Arkins
364163e7a0
fix: move tests into lib ( #5635 )
2020-03-05 21:57:24 +01:00
Rhys Arkins
23a820e74f
feat(constants): Pull Request Status Constants ( #5158 )
2020-03-05 07:03:47 +01:00
Michael Kriese
ecd981bf64
fix(platform): fix api differences ( #5570 )
2020-02-25 09:42:24 +01:00
Rhys Arkins
ab9361a170
logs: Comment added info
2020-02-24 13:54:11 +01:00
Rhys Arkins
f1d0b7b5fe
refactor: lower some levels from info to debug
...
Ref #5555
2020-02-24 09:26:42 +01:00
Rhys Arkins
b097fb8f0a
fix(pr): condense rebase description
2020-02-24 06:35:41 +01:00
Rhys Arkins
6c7f228347
fix(logs): log commit with Branch creates and updates ( #5560 )
2020-02-24 05:33:51 +01:00
Sourav Das
bdaa7b8e49
feat(constants): Host Types ( #5171 )
2020-02-06 12:15:54 +00:00
Rhys Arkins
99c2b38ec5
fix: import URLSearchParams in bitbucket
2020-02-06 12:17:09 +01:00
Michael Kriese
2ffad1363e
chore(eslint): stricter settings ( #5375 )
2020-02-05 18:17:20 +00:00
Rhys Arkins
4b29858768
fix(pr): better rebase/retry description in PRs ( #5203 )
2020-01-21 09:44:38 +01:00
Sourav Das
9024eda2a0
feat(constants): Branch Status ( #5166 )
...
1. Branch related statuses are moved to lib/branch-constants.ts
2. Updated all the references
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-17 10:14:58 +01:00
renovate[bot]
36a37dada8
chore(deps): update dependency prettier to v1.19.1 ( #5169 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Sourav Das
547dcd84a7
refactor(function): findPR function( #4996 ) ( #5129 )
2020-01-14 16:12:14 +01:00
Sourav Das
447b110a8c
refactor(function): Ensure Comment Function ( #4996 ) ( #5128 )
...
1. Create interface EnsureCommentConfig
2. Add config to the interface for Bitbucket
3. Refactor functions
4. Update tests
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-14 12:13:34 +01:00
Sourav Das
ee153e560e
feat: use error constants ( #5088 ) ( #5100 )
...
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Sourav Das
50c74d38c0
refactor: createPR function ( #4996 ) ( #5108 )
...
* refactor: createPR function (#4996 )
1. Interface created: createPRConfig
* refactor: Create PR function (#4996 )
Remove label parameter from bitbucket and bitbucket server function call.
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-07 15:33:19 +00:00
Sourav Das
e72bf85b1e
refactor: setBranchStatus Function ( #4996 ) ( #5112 )
2020-01-07 09:59:14 +00:00
Sourav Das
e7695bde9c
refactor: convert commitFilesToBranch function params ( #5064 )
2020-01-02 09:03:46 +00:00
Rhys Arkins
3c5cdeb3cf
fix(bitbucket-server): sanitize rebase checkbox
...
Fixes #4952
2019-12-11 09:02:44 +02:00
Rhys Arkins
c8f49e71f5
refactor: remove Object.assign
2019-12-04 10:12:01 +01:00
Kirill Romanov
f223f5e007
fix: cache-bust branch status after updating a status ( #4884 ) ( #4885 )
2019-12-03 18:21:40 +01:00
Michael Kriese
f0d4995fda
fix(eslint): '@typescript-eslint/explicit-function-return-… ( #4872 )
2019-11-26 16:13:07 +01:00
Rhys Arkins
473b7e1f4b
refactor(eslint): enable @typescript-eslint/no-use-before-define
2019-11-24 05:09:13 +01:00
Rhys Arkins
399873946a
fix(platform): encode branchName in URLs ( #4694 )
2019-10-22 10:47:59 +02:00
Michael Kriese
77a0291d4d
fix(platform): smart truncate pr body ( #4527 )
2019-09-25 12:42: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
Rhys Arkins
9ab4b5d4e9
feat: refactor pr.canRebase => !pr.isModified ( #4385 )
2019-08-29 10:30:17 +02:00
Rhys Arkins
c488a674ca
refactor: add better logging for bitbucket issue creation
2019-08-23 06:04:14 +02:00
Rhys Arkins
2590f4eb1b
logs: log comment title
2019-08-15 06:15:53 +02:00
Rhys Arkins
72404706ab
feat(platform): return PR targetBranch
2019-08-14 11:48:56 +02:00
Rhys Arkins
1864d4ebf3
refactor(platform): return baseBranch from initRepo
2019-08-14 11:38:13 +02:00
Rhys Arkins
e602c4553d
refactor(platform): use RepoConfig strictly
2019-08-14 10:51:12 +02:00
Rhys Arkins
cf42ed9674
chore: remove unused privateRepo field
2019-08-14 10:24:11 +02:00
Rakesh Tembhurne
4ee030a5ab
fix(html-sanitize): Sanitize HTML comments in PR ( #4285 )
...
Sanitizes HTML comments inside PR body for BitBucket server.
Includes snapshots for the tests.
Closes #3715
2019-08-14 10:05:02 +02:00
Rhys Arkins
f041d7d409
refactor: consolidate platform ts ( #4283 )
2019-08-14 06:04:09 +02:00
Rhys Arkins
d623cec5c8
refactor: InitRepoConfig
2019-08-09 09:25:49 +03:00
Sergio Zharinov
495e2f6217
fix: Allow for auto-merge of new PRs ( #4236 )
2019-08-02 15:10:26 +02:00
Michael Kriese
1fb79af2f1
feat: check for disabled renovate.json ( #4114 )
...
Extends option `optimizeForDisabled` to azure and bitbucket too
2019-07-22 07:16:16 +02:00
Jamie Magee
f334c568a5
feat(typescript): convert logger to typescript ( #3671 )
2019-07-15 11:04:05 +02:00
Michael Kriese
6490f1bee7
feat(bitbucket-server): fetch only own pr's ( #4044 )
2019-07-13 07:49:37 +02:00
Michael Kriese
3ef1c95a66
chore(lint): optimize linting ( #4041 )
2019-07-10 10:41:12 +02:00
Michael Kriese
1d6880b1a6
fix(bitbucket-server): store pr versions ( #3957 )
2019-06-24 19:28:24 +03:00
Michael Kriese
bc0198e047
fix(bitbucket-server): delay pr refresh ( #3950 )
...
fix(bitbucket-server): delay pr refresh
2019-06-21 10:27:37 +02:00
Michael Kriese
2c3777001f
fix(bitbucket-server): do not throw on merge failure ( #3943 )
2019-06-19 15:14:39 +02:00
renovate[bot]
dab7b1c314
chore(deps): update dependency prettier to v1.18.0 ( #3905 )
2019-06-07 06:34:57 +02:00
Rhys Arkins
6c6e584d33
fix(bitbucket): options override defaults
...
Closes #3883
2019-06-04 08:41:37 +02:00
Michael Kriese
0b063aeaa1
feat(build): use babel ( #3825 )
2019-05-28 11:21:17 +02:00
Rhys Arkins
ec301b1c48
refactor(bitbucket-server): use util/got ( #3815 )
2019-05-26 20:51:27 +02:00