Commit Graph

115 Commits

Author SHA1 Message Date
Johannes Batzill
9e7f80ebe0 Code Suggestions - Backend Support (#2006) 2024-04-26 16:54:50 +00:00
Johannes Batzill
86537b2c39 Fix merge related issues (#2012) 2024-04-25 22:00:53 +00:00
Abhinav Singh
e528ce2370 fix: codeowner file parse error as first class error (#2003) 2024-04-24 19:53:21 +00:00
Johannes Batzill
a690fa4ebc small fixes (#1232) 2024-04-19 01:36:03 +00:00
Darko Draskovic
9699ec503d Add closed timestamp to pull req (#1222) 2024-04-17 20:24:04 +00:00
Atefeh Mohseni-Ejiyeh
fea9e46dc8 Mitigate racing condition between create repos and delete space (#1178) 2024-04-08 19:14:10 +00:00
Johannes Batzill
c5383940bd Integrate approvals.RequireLatestcommit to merge dryrun (#1183) 2024-04-04 22:39:23 +00:00
Atefeh Mohseni-Ejiyeh
b64f4c41fa Update default branch on empty repo for first commit (#1122) 2024-04-04 01:16:43 +00:00
Enver Bisevac
cecfecdb06 [code-1016] Replace gitea Usages (not wrapper) (#1063) 2024-03-26 20:31:30 +00:00
Johannes Batzill
fd2f3c1e38 [MISC] Add customized commit message support to PR (#1126) 2024-03-21 06:41:12 +00:00
Darko Draskovic
e7436eef80 Add support for mentions in comments (#1064) 2024-03-15 20:54:25 +00:00
Johannes Batzill
dc7b3bc79a [Rules] Expose extra Branch.PullReq fields on merge DryRyn as required by UI (#1117) 2024-03-13 23:37:10 +00:00
Johannes Batzill
73ffe71afe Log error translation under requestID to improve traceability (#1070) 2024-02-27 06:05:42 +00:00
Marko Gacesa
f8f1453de1 add new API: list status checks for a pullreq (#1042) 2024-02-22 10:39:25 +00:00
Marko Gacesa
e3bf017f78 Rewrite of git merge (#1023) 2024-02-07 09:40:04 +00:00
Johannes Batzill
adf2046a94 [MISC] Move UID to Identifier to match Harness Standards (#992) 2024-01-29 23:29:53 +00:00
Enver Bisevac
7f7f8bf625 [code-1288] new diff api features [paths, line expanders] (#968) 2024-01-23 12:36:04 +00:00
Johannes Batzill
123267c918 [MISC] Remove References From Diff Cut (#966) 2024-01-12 23:25:03 +00:00
Johannes Batzill
a892dda829 [CODE-1287] Improve PR Merge for canceled Request (#963) 2024-01-12 20:25:16 +00:00
Enver Bisevac
98a18210a1 [maint] in when tree entry is not found return PathNotFound error (#921) 2023-12-18 14:29:09 +00:00
Akhilesh Pandey
880f62a857 feat: Add notifications support and templates for PR reviewer decision (#881) 2023-12-15 18:02:53 +00:00
Johannes Batzill
9a4e4fa74d WIP [Permissions] Allow anyone with view permission to add reviewers (#915) 2023-12-15 15:43:27 +00:00
Marko Gacesa
528ed2252a omit deleted comment threads (#901) 2023-12-14 12:47:20 +00:00
Marko Gacesa
551a2e478c create pr comment in tx (#903) 2023-12-14 12:27:47 +00:00
Marko Gacesa
5cfb1f5679 delete pr comment in tx (#900) 2023-12-14 12:27:38 +00:00
Johannes Batzill
e6f67bb6dd [CODEOWNERS] Fix NotFound Error Translation (#909) 2023-12-14 07:44:40 +00:00
Marko Gacesa
a7f11126fa remove gogit (#887) 2023-12-11 10:15:15 +00:00
Johannes Batzill
2f64331707 [Pullreq] Allow DryRun for Draft PR (#857) 2023-12-01 17:27:56 +00:00
Johannes Batzill
d85ed52bc5 [Pullreq] Merge using PR Author Identity (#846) 2023-12-01 03:58:45 +00:00
Johannes Batzill
99c27f8fac [Pullreq] Send SSE on Merge DryRun (#850) 2023-12-01 00:54:39 +00:00
Marko Gacesa
7488512f0d remove pullreq/recheck API (#831) 2023-11-30 19:50:02 +00:00
Marko Gacesa
598599bf20 make failed dryrun DB update noncritical (#841) 2023-11-30 19:43:47 +00:00
Marko Gacesa
03b33aca77 store PR commit count in the DB (#842) 2023-11-30 15:01:18 +00:00
Enver Bisevac
5418dd77ef [code-1136] diff api for pullreq (#825) 2023-11-30 11:38:56 +00:00
Abhinav Singh
04566e1cf9 feat: support codewoners usrgrp (#826) 2023-11-30 04:02:28 +00:00
Marko Gacesa
1d06026d05 handle merge conflict not as an error (#823) 2023-11-28 11:14:51 +00:00
Marko Gacesa
3d97474dcf feat: [CODE-1132]: dryrun requires view permission (#819) 2023-11-22 22:38:44 +00:00
Enver Bisevac
67f560874d [maint] gitrpc package removed (#726) 2023-11-15 10:15:32 +00:00
Johannes Batzill
e6bba2e0ce [BugBash] Fix PR Activities, Increase merge lock timeout (#783) 2023-11-09 20:04:36 +00:00
Marko Gacesa
98dc67fc71 return allowed merge methods for merge dry run (#781) 2023-11-08 18:55:25 +00:00
Akhilesh Pandey
5ce794718c Add support for producing event whenever reviewer is created (#757) 2023-11-07 20:13:27 +00:00
Marko Gacesa
e731c0fdff require latest source sha as param for the merge API (#767) 2023-11-06 12:16:18 +00:00
Marko Gacesa
941bc7a0fd allow optional rule bypass (#764) 2023-11-03 18:31:10 +00:00
Marko Gacesa
db7655c569 return 422 in case of merge conflicts (#724) 2023-11-03 17:14:36 +00:00
Marko Gacesa
3a7617a2e6 add dry_run option to the merge API (#737) 2023-11-01 19:57:28 +00:00
Johannes Batzill
b0e519b571 [WIP] Move from space_owner to repo_admin for protection rules (#745) 2023-10-30 22:35:52 +00:00
Abhinav Singh
e0df722ce3 feat: add codeowner validate api (#733) 2023-10-30 22:16:39 +00:00
Marko Gacesa
1a727b8be1 refactor of protection package (#734) 2023-10-27 14:06:09 +00:00
Abhinav Singh
d92564258b fix: empty codeowner gives issue in merge check (#730) 2023-10-26 22:22:59 +00:00
Marko Gacesa
059e9760c8 require push permission for PR merge (#725) 2023-10-26 17:34:28 +00:00
Abhinav Singh
adbe2f6f97 feat: [CODE-967]: codeowners service e2e (#695) 2023-10-26 16:50:59 +00:00
Marko Gacesa
6ee49f9848 API returns status 422 in case of rule violations (#718) 2023-10-26 08:35:42 +00:00
Abhinav Singh
85337b9418 add logic to add author of pr in codeowners (#716) 2023-10-25 01:56:56 +00:00
Marko Gacesa
7ab52c1764 add protection to prevent direct push (#712) 2023-10-24 14:22:06 +00:00
Abhinav Singh
3b2ed1de50 feat: [CODE-580]: code comment webhook (#706) 2023-10-23 23:59:45 +00:00
Marko Gacesa
8d82daf876 merge API: return if the branch is deleted (#701) 2023-10-20 11:27:51 +00:00
Marko Gacesa
fcc8c0be73 use dedicated DB query to fetch all repo rules (#702) 2023-10-20 11:06:33 +00:00
Hitesh Aringa
a0b1c7a654 [Branch Protection] Ignore membership not found error for protection rule in merge (#705) 2023-10-19 19:58:12 +00:00
Marko Gacesa
7bbeca2750 status checks: use DB-layer list status checks results func (#692) 2023-10-19 05:43:36 +00:00
Marko Gacesa
6139a0bbb2 rule to autodelete the branch after PR merge (#681) 2023-10-17 11:09:09 +00:00
Marko Gacesa
419fe92dde add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00
Abhinav Singh
1a5c6b06ac feat: Add pr closed event (#643) 2023-10-05 01:39:33 +00:00
Marko Gaćeša
933d2d9703 remove sqlx.DB from controllers and services 2023-09-28 14:07:25 +02:00
Johannes Batzill
5b33258589 [MISC] Abstract URL Provider (#617) 2023-09-27 02:42:33 +00:00
Johannes Batzill
a8cb5dc8d2 remove internal package and move to app - might be refactored more in the coming weeks 2023-09-26 11:25:15 -07:00