Commit Graph

85 Commits

Author SHA1 Message Date
Darko Draskovic
0952d00a31 Add label scope to label activity (#2545)
* Add label scope to label activity
2024-08-20 13:54:43 +00:00
Enver Biševac
6d0db9512e feat: instrumentation, intitial work (#2475)
* requested changes
* requested changes
* feat: instrumentation, intitial work
2024-08-18 22:04:34 +00:00
Atefeh Mohseni Ejiyeh
cef6708a1e Support Repo Migration APIs (create repo, import PRs, webhooks, and branch rules) (#2158)
* update migrator mdoule
* added formatted forbidden error helper
* delete work sum
* check branch rule identifier check
* match migrator data contract for webhooks
* self review
* self review
* self review, code cleaning
* resolve conflicts
* updated import api calls
* resolve conflicts
* lint
* bypass pre-receive block ref update on push if it's migrator push
* migrate controller and apis
* pull main
* add migrate routes to terminate path prefix apis
* move apis to migrate pkg
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into atmsn/import_meta
* import branch rules API
* wip import webhooks
2024-08-07 23:40:09 +00:00
Marko Gaćeša
4b289c1232 feat: [CODE-2153]: add limits on PR text fields (#2412) 2024-08-07 10:07:41 +00:00
Darko Draskovic
497c426a01 Add list labels per pr to pr list (#2372)
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-02 11:57:09 +00:00
Darko Draskovic
bb77a835cf Add pullreq label activities (#2296)
* Add colors to label activity info
* Refactor FindValueByLabelID query
* Simplify more label activity assign logic
* Simplify label activity assign logic
* Add pullreq label activities
2024-08-01 19:20:54 +00:00
Darko Draskovic
0cb3c8a4cf Add render pagination and incremental search to labels (#2311)
* Remove unused upsert method from label value store
* Add render pagination and incremental search to labels
2024-07-30 15:43:31 +00:00
Darko Draskovic
81fcd524c8 Add label feature (#2073)
* Address PR comments
* Add list label from ancestor scopes query param
* Add label feature
2024-07-25 14:57:56 +00:00
Marko Gaćeša
7b17cc7831 add pr-updated webhook (#2247)
* add pr-updated webhook
2024-07-25 09:56:41 +00:00
Marko Gaćeša
d687080cf4 pr reviewer removal (#2269)
* add reviewer principal ID to activity payload
* pr reviewer removal
2024-07-25 09:55:41 +00:00
Marko Gaćeša
340cdd659c feat: [CODE-2086]: backfill PR stats data for list PRs API (#2234)
* backfill PR stats data for list PRs API
2024-07-18 12:18:03 +00:00
Marko Gaćeša
4ac42fc6c9 Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
Johannes Batzill
76682ad400 [FIX] update unresolved comment count when suggestions are applied (#2198) 2024-07-10 23:05:22 +00:00
Marko Gaćeša
5427130a42 pull request import (#2121)
* bypass lint
* bump golang version
* using types from migrator
* moving Importing to the RepositoryOutput
* minor changes; improved unit tests
* pr comments
* pr import
* pull request import
2024-07-06 00:46:36 +00:00
Johannes Batzill
d35db42583 Update CODEOWNERS to match github (#2069) 2024-06-06 16:58:01 +00:00
Atefeh Mohseni Ejiyeh
c365ef246a Support Public Access (#2021) 2024-05-23 04:56:26 +00:00
Marko Gaćeša
0d1e536531 feat: [CODE-1788]: code comment block must start and end on the same side (#2053) 2024-05-22 15:42:47 +00:00
Johannes Batzill
38553bca7b Lock pr number for dryrun instead of across whole repo (#2038) 2024-05-20 18:45:09 +00:00
Darko Draskovic
e31f33adde Add comment mentions metadata and return id to principal info mapping in list activity response (#2024) 2024-05-10 23:22:59 +00:00
Johannes Batzill
f6614fe151 Minor Fixes (#2028) 2024-05-09 00:01:52 +00:00
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