Commit Graph

53 Commits (abhinav-harness-patch-1)

Author SHA1 Message Date
Marko Gaćeša 1e644163d3 deprecate PR edited field (#2692)
* deprecate PR edited field
2024-09-16 15:44:17 +00:00
Johannes Batzill 77b01718bd feat: [CODE-2179]: Add error message to protection rule violation error responses (#2665) 2024-09-06 18:54:15 +00:00
Marko Gaćeša fb99bcb8d2 add mentioned_id filter to the pull request list API (#2635)
* add mentioned_id filter to the pull request list API
2024-09-04 08:21:29 +00:00
Marko Gaćeša a2d2ba07aa add user filters to the pull request list API (#2624)
* add user filters to the pull request list API
2024-09-02 09:00:50 +00:00
Marko Gaćeša 75042e9293 add pullreq list API for spaces (#2606)
* moved the service to the existing pullreq package
* add pullreq list API for spaces
2024-08-29 11:49:33 +00:00
Akhilesh Pandey 0578be8afe feat: [CODE-1941]: user group changes (#2134)
* feat: [CODE-1941]: remove usergroup filter from request
* feat: [CODE-1941]: decrement page for harness-core
* feat: [CODE-1941]: update pagination request
* feat: [CODE-1941]: change interface from find to list
* feat: [CODE-1941]: change reviewer add permissions
* feat: [CODE-1941]: comments
* feat: [CODE-1941]: comments
* fix wire issues
* feat: [CODE-1941]: remove users from the db table usergroups
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: sql style
* feat: [CODE-1941]: revert common.go change for parse limit
* feat: [CODE-1941]: move usergroup listing to space level
* feat: [CODE-1941]: update usergroup listing and update delete to push permission
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: format
* feat: [CODE-1941]: rebase
* feat: [CODE-1941]: separate db struct for usergroup.go
* feat: [CODE-1941]: change usergroup filter to default query and review comments
* feat: [CODE-1941]: change usergroup filter to default
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change
* feat: [CODE-1941]: Big change: New LOGIC for UserGroup Reviewers
* feat: [CODE-1941]: DB changes
* feat: [CODE-1941]: listing api
* feat: [CODE-1941]: mapping methods
* feat: [CODE-1941]: list method for pullreq_reviewers db
* feat: [CODE-1941]: database queries
* feat: [CODE-1941]: database queries
* feat: [CODE-2058]: dbstore changes
* feat: [CODE-1941]: Controller and Database code
* feat: [CODE-1941]: update reviewer_add.go code
* feat: [CODE-1941]: update reviewers and usergroup db migrations
* feat: [CODE-1941]: Update API ops
* feat: [CODE-1941]: Update DB ops for reviewers
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: code comments
* feat: [CODE-1941]: update migration numbering
* feat: [CODE-1941]: Add postgresql migrations
* feat: [CODE-1941]: Update DB ops for reviewers

feat: [CODE-1941]: Update API ops

feat: [CODE-1941]: update reviewers and usergroup db migrations

feat: [CODE-1941]: update reviewer_add.go code

feat: [CODE-1941]: break pr

feat: [CODE-1941]: break pr

feat: [CODE-1941]: Update migration numbering
* feat: [CODE-1941]: create table usergroups
* feat: [CODE-1941]: table migrations
* feat: [CODE-1941]: user group changes
2024-08-26 15:35:27 +00:00
Darko Draskovic b1ac141460 Add list labels per pr to pr list (#2372) (#2387)
* 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-07 15:32:30 +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
Marko Gaćeša 4ac42fc6c9 Add additions and deletions to PRs (#2196) 2024-07-11 10:01:17 +00:00
Johannes Batzill 86537b2c39 Fix merge related issues (#2012) 2024-04-25 22:00:53 +00:00
Darko Draskovic 9699ec503d Add closed timestamp to pull req (#1222) 2024-04-17 20:24:04 +00:00
Abhinav Singh aff7391e08 feat: add multi user created by filter (#1190) 2024-04-09 09:30:26 +00:00
Abhinav Singh f20189812b feat: list pr time filter (#1188) 2024-04-05 23:17:33 +00:00
Johannes Batzill c5383940bd Integrate approvals.RequireLatestcommit to merge dryrun (#1183) 2024-04-04 22:39:23 +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
Marko Gacesa 03b33aca77 store PR commit count in the DB (#842) 2023-11-30 15:01:18 +00:00
Marko Gacesa 98dc67fc71 return allowed merge methods for merge dry run (#781) 2023-11-08 18:55:25 +00:00
Marko Gacesa 3a7617a2e6 add dry_run option to the merge API (#737) 2023-11-01 19:57:28 +00:00
Marko Gacesa 6ee49f9848 API returns status 422 in case of rule violations (#718) 2023-10-26 08:35:42 +00:00
Marko Gacesa 8d82daf876 merge API: return if the branch is deleted (#701) 2023-10-20 11:27:51 +00:00
Marko Gacesa 419fe92dde add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00
Johannes Batzill a83cd21c17 [OPEN-SOURCE] Prepare Repository (#605) 2023-09-24 07:33:16 +00:00
Johannes Batzill 27de7971b9 [File Viewed] Adding Full Stack Support for `File Viewed` Feature (#516) 2023-09-18 15:59:40 +00:00
Enver Bisevac 7cce097b0f error handling on merge operation 2023-08-02 14:11:25 +02:00
Enver Bisevac 3889cb891f use enum from types 2023-05-12 19:01:29 +02:00
Enver Bisevac 74c3c856a8 squash merge option added 2023-05-12 14:33:02 +02:00
Marko Gaćeša 59b7cf5e69 comment status API 2023-05-08 16:03:23 +02:00
Marko Gaćeša be3b68e577 make merge base SHA not nullable 2023-04-27 13:12:54 +02:00
Johannes Batzill 9d894c79cc [MERGE] Enhance PR Merge (Check) Fields. (#342) 2023-02-14 20:18:10 -08:00
Enver Bisevac 82b8679d6f [fix] diff-stats api returns total commits and files changed in compare branches (#323) 2023-02-13 00:47:23 +01:00
Enver Bisevac 13a456e357 [scm-58] Add `merge-check` and Integrate with PR (#318)
Co-authored-by: Johannes Batzill <johannes.batzill@harness.io>
2023-02-11 23:22:12 -08:00
Marko Gaćeša 9dfad8b5e1 Added column comment_count to the PR entity (#280) 2023-02-02 11:31:22 +01:00
Enver Bisevac e2b350e704 [maint] pr statistic is in pr response now (#269) 2023-01-31 15:21:05 +01:00
Enver Bisevac baa3822acc [SCM-55] initial work on PR metadata (#262) 2023-01-31 02:08:23 +01:00
Johannes Batzill 085e63422b [MISC] Explicitly type PullReqActivity.Payload (#233) 2023-01-20 12:29:13 -08:00
Marko Gaćeša ec4003e331 Handling branch events for PRs (#221) 2023-01-18 13:26:20 +01:00
Marko Gaćeša 8151b4591e PR change state API; Removed rejected state (#220) 2023-01-17 16:04:30 +01:00
Marko Gaćeša ce55d3349c added merge commit sha fields to PR (#205) 2023-01-13 14:49:24 +01:00
Marko Gaćeša 8909037ec7 enum types should have Enum() method (#192) 2023-01-12 17:13:03 +01:00
Marko Gaćeša afd86bacb0 Hide PR internal fields (#169) 2023-01-10 18:22:20 +01:00
Enver Bisevac 63de576d08 [feat] initial work on merging PR (#170)
* initial work on merging PR

* code refactored based on requested changes

* requested changes
2023-01-10 02:09:43 +01:00
Marko Gaćeša 65b49a933a pull request reviewers (#167) 2023-01-06 20:29:20 +01:00
Marko Gaćeša a79e187a88 DB & API refactor: Use snake case (#144)
Update DB and API to follow Harness Standard
2022-12-29 13:53:08 -08:00
Marko Gaćeša f14731455d Add parent_id column to the pullreq_activities DB table (#143) 2022-12-28 18:51:34 +01:00
Marko Gaćeša da53331ca1 PR comment: edit and delete APIs (#138) 2022-12-27 14:55:53 +01:00
Marko Gaćeša b5bdeb8538 create comment API (#137) 2022-12-27 11:46:49 +01:00
Marko Gaćeša 7fc77396a9 Pull request timeline feature: DB and the list API (#136) 2022-12-26 12:17:38 +01:00
Marko Gaćeša 8f5e579001 rename DB table pullreq to pullreqs; added version (#130) 2022-12-22 20:21:15 +01:00
Marko Gaćeša 6bde210adf added branch params to PR list API (#119) 2022-12-09 15:45:02 +01:00
Marko Gaćeša 15163f3daa pullreq: dedicated struct for pulling data from DB (#116) 2022-12-08 12:52:31 +01:00