Commit Graph

2989 Commits

Author SHA1 Message Date
Ritik Kapoor
f3c646190f fix: [CODE-2944] remove button removes multiple id users and sa in bypass list (#3467) 2025-02-21 18:29:51 +00:00
Marko Gaćeša
53142b18a8 techdebt: [CODE-3218]: use context.WithoutCancel in contextutil (#3457) 2025-02-20 19:20:48 +00:00
Darko Draskovic
e39ae83e78 feat: [CODE-2987]: Add codeowners as reviewers (#3439)
* Handle violations in branch CreatePullReqVerify
* Merge remote-tracking branch 'origin/main' into dd/codeowner-reviewers
* Add PullReq infix to Create rule interface and dedup reviewers in PR create
* Add create field to pullreq field in rule def
* Add codeowners as reviewers
2025-02-20 16:03:06 +00:00
Shivanand Sonnad
3fee159170 feat: [AH-979]: move filtering rule to security section in registry configuration form (#3461)
* feat: [AH-979]: fix failing unit tests
* feat: [AH-979]: move filtering rule to security section in registry configuration form
2025-02-20 13:48:21 +00:00
Ansuman Satapathy
5173a358e2 fix: [CDE-651]: handle no metadata for infraproviders (#3460)
* fix: [CDE-651]: handle no metadata for infraproviders
2025-02-20 05:24:36 +00:00
Atefeh Mohseni Ejiyeh
0f3115e604 fix: [CODE-3189]: listing deleted repos in the cleanup job (#3423) 2025-02-19 22:37:07 +00:00
Shivakumar Ningappa
5f7808a2da feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID (#3443)
* feat: [AH-925]: fix lint errors
* feat: [AH-925]: keep original context and also async flow. also keep the linter
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - fix lint errors by ignoring problematic contextcheck
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - lint errors
* feat: [AH-925]: rebase main
* feat: [AH-925]: rebase main
* feat: [AH-925]: rebase main
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - fix lint
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: rebase main
2025-02-19 21:03:21 +00:00
Enver Biševac
bab50ed39e feat: [code-3149]: golangci-lint missing --new-from-merge-base flag (#3459)
* fix: golangci-lint missing --new-from-merge-base flag
2025-02-19 18:37:59 +00:00
Enver Biševac
b1aa127cc0 feat: [code-3149]: local linting (#3458)
* fix: local linting
2025-02-19 17:28:59 +00:00
Atefeh Mohseni Ejiyeh
10a3e635b7 fix: [PIPE-25291]: Added openapi endpoint for repo "import-progress" api (#3452) 2025-02-19 16:04:07 +00:00
Shivanand Sonnad
be4291baef feat: [AH-885]: fix breaking UI because of secret input in create webhook form (#3456)
* feat: [AH-885]: fix breaking UI because of secret input in create webhook form
2025-02-19 11:45:26 +00:00
Sourabh Awashti
6f7382d9e6 feat:[AH-945]: fix query for fetching storage details (#3455)
* feat:[AH-945]: fix query for fetching storage details
* feat:[AH-945]: fix query for fetching storage details
2025-02-19 09:49:03 +00:00
Dhruv Dhruv
31d15dc8eb feat: [CDE-637]: Changes to support hybrid's infra resources. (#3453)
* Linting
* Refactoring db query in infra resource store for pq support.
* Using a default value of infra config identifier if not present in the create gitspace request.
* feat: [CDE-637]: Decoupling infra resource mgmt from config. Adding soft delete support to infra resource table.
* Making infra provider resource unique to config and space.
2025-02-19 06:45:24 +00:00
Johannes Batzill
8732b64aa8 fix: [CODE-3210]: Move error logs on translation layer to verbosity level info (#3451) 2025-02-18 19:51:52 +00:00
Shivanand Sonnad
b5e78f3300 feat: [AH-885]: fix issue with showing request and response body of webhook execution (#3448)
* feat: [AH-885]: fix issue with showing request and response body of webhook execution
2025-02-18 11:58:32 +00:00
Saranya Jena
06c48f3d3d chore: [ML-660]: moved aiAgent, genAi and capabilities codebase from gitness to harness-intelligence (#3430)
* wire gen
* remove slack messaging code
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ML-660
* chore: [ML-660]: removed execution analysis types

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
* chore: [ML-660]: removed capabilities

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
* chore: [ML-660]: updated branch

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into ML-660
* chore: [ML-660]: removed aiAgent and capabilities codebase

Signed-off-by: Saranya-jena <saranya.jena@harness.io>
2025-02-18 10:17:05 +00:00
Shivanand Sonnad
c1b3e2dda0 feat: [AH-944]: remove gradle option from create registry form (#3446)
* feat: [AH-944]: remove gradle option from create registry form
2025-02-18 06:37:58 +00:00
Sourabh Awashti
e93f30a6a5 feat:[AH-945]: API to fetch storage details per account (#3373)
* feat:[AH-945]: API to fetch storage details per account
* feat:[AH-945]: API to fetch storage details per account
2025-02-18 05:50:56 +00:00
Shivanand Sonnad
f9432e92dc feat: [AH-667]: add unit test coverage for version details page of oss (#3438)
* feat: [AH-667]: fix flaky test
* feat: [AH-667]: add unit test coverage for version details page of oss
2025-02-14 14:56:09 +00:00
Dhruv Dhruv
ff4c51b56f feat: [CDE-636]: Support hybrid gcp vm usecases (#3434)
* Fixing infra config and resources create flow.
* Changing the metadata field's type in infra config create input.
* feat: [CDE-636]: Adding validation before infra config create and update. Adding ipconf_metadata column.
2025-02-14 14:09:47 +00:00
Shivanand Sonnad
8a5137a56b feat: [AH-667]: add unit test coverage for deployment tab (#3435)
* feat: [AH-667]: add sort and pagination query params in deployment table
* feat: [AH-667]: add unit test coverage for deployment tab
2025-02-14 13:57:09 +00:00
Ritik Kapoor
13a97516be fix: [CODE-3197] use logKeys from executableResponses instead of logBaseKey to fix Blob API (#3436)
*

fix: [CODE-3197] refactor
*

fix: [CODE-3197] use logKeys from executableResponses instead of logBaseKey to fix Blob API
2025-02-14 13:49:06 +00:00
Shivanand Sonnad
ff82bd4b0d feat: [AH-667]: add unit test coverage for version details page > artifact details tab (#3433)
* feat: [AH-667]: add unit test coverage for version details page > artifact details tab
2025-02-14 11:34:08 +00:00
Enver Biševac
186751ec6c feat: [code-3149]: add --wholefile flag to lint command (#3431)
* increase linter timeout
* Merge remote-tracking branch 'origin/main' into eb/code-3149
* add --whole-files to lint target
* Merge branch 'eb/code-3149' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into eb/code-3149
* include whole file
* feat:[CODE-3149]: add ok to ignore for shadow declarations (#3394)

* feat:[CODE-3149]: add ok to ignore for shadow declarations
* requested changes
* branch linting added
* minor optimization of golangci-lint config, upgrade the linter version
2025-02-14 10:19:21 +00:00
Darko Draskovic
11a7069e3c fix: [CODE-3191]: Fix audit trail space path param (#3429)
* Fix audit trail space path param
2025-02-13 15:59:49 +00:00
Shivanand Sonnad
27d80ca9a0 feat: [AH-944]: add sticky headers to all pages headers in artifact registry (#3414)
* feat: [AH-944]: remove all fixed heights
* feat: [AH-944]: move all header heights to css variables
* feat: [AH-944]: add sticky headers to all pages headers in artifact registry
2025-02-13 14:11:00 +00:00
Shivanand Sonnad
a1a9effc6e feat: [AH-666]: add unit tests for version details header and overview content (#3428)
* feat: [AH-666]: add unit tests for version details header and overview content
* feat: [AH-666]: add unit tests for version details header and overview content
2025-02-13 14:10:43 +00:00
Enver Biševac
f11b24e08a feat: [CODE-3149]: minor optimization of golangci-lint config, upgrade the linter version (#3382)
* Merge branch 'eb/code-3149' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into eb/code-3149
* include whole file
* feat:[CODE-3149]: add ok to ignore for shadow declarations (#3394)

* feat:[CODE-3149]: add ok to ignore for shadow declarations
* requested changes
* branch linting added
* minor optimization of golangci-lint config, upgrade the linter version
2025-02-13 14:06:47 +00:00
Ansuman Satapathy
49b0763130 feat: [CDE-603]: Fetch All root level spaces (#3427)
* feat: [CDE-603]: set infraproviderconfig in the cache
2025-02-13 13:12:19 +00:00
Marc Batchelor
ca769a0a6f
feat: [BT-11220]: Detect git diff file (#3617) 2025-02-13 07:07:36 -05:00
Marko Gaćeša
682f55de71 chore: [CODE-3148]: use refcache.SpaceFinder in usage package (#3422)
* use refcache.SpaceFinder in usage package
2025-02-13 12:06:31 +00:00
Karan Saraswat
f85b6c45c3 feat: [PIPE-24894]: Restrict lifecycle operations for reserved repo identifiers (#3426)
* feat: [PIPE-24894]: Restrict lifecycle operations for reserved repo identifiers
2025-02-13 12:01:53 +00:00
Darko Draskovic
13f6558ca3 techdebt: [CODE-3169]: Move unnecessary DB calls related to reviewer creation out of the create PR tx (#3420)
* Move activity creation out of tx and reset pr act seq after pr creation
* Add storeCreateReviewerActivity
* Move unnecessary DB calls related to reviewer creation out of the create PR tx
2025-02-13 11:14:36 +00:00
Karan Saraswat
8b81b19c3d feat: [PIPE-23710]: changed signature of RepoIdentifier to start taking session argument (#3345) (#3425)
* feat: [PIPE-23710]: changed signature of RepoIdentifier to start taking session argument (#3345)

* argument changed to session
* fixed failing go lint check
*

updated method usage
*

corrected spelling mistake
*

feat: [PIPE-23710]: changed signature of RepoIdentifier to start taking internal boolean argument
2025-02-13 10:14:20 +00:00
Karan Saraswat
5018aacfb7 feat: [PIPE-24894]: Revert "changed signature of RepoIdentifier to start taking session argument (#3345)" (#3424)
* Revert "feat: [PIPE-23710]: changed signature of RepoIdentifier to start taking session argument (#3345)"

This reverts commit a5f510c4b2.
2025-02-13 09:21:16 +00:00
Marko Gaćeša
a4a05b6281 chore: [CODE-3148]: remove repo git info cache (#3421)
* remove repo git info cache
2025-02-12 17:04:11 +00:00
Deepak Bhatt
0e372cc7ec feat: [CDE-609]: add log key to gitspaceConfig (#3419)
* add log key
2025-02-12 15:20:21 +00:00
Marc Batchelor
7f5c27dd9c
feat: [BT-10437]: Jira Autotagging for CX (#3616) 2025-02-12 10:01:40 -05:00
Shivanand Sonnad
26d28e748b feat: [AH-964]: add unit test coverage for artifact details page and version list (#3418)
* feat: [AH-964]: add unit test coverage for artifact details page and version list
2025-02-12 13:42:28 +00:00
Marko Gaćeša
a906259562 feat: [CODE-3148]: refactor refcache (#3390)
* linter issues fix
* reintroduce repofinder to aiagent
* Merge remote-tracking branch 'origin/main' into mg/cache/space-and-repo-finder
* removed refcache deps from aiagent
* pr comments
* fix linter issues
* refactor refcache
2025-02-12 12:42:12 +00:00
Prachi Shah
890fe494de fix: [ML-648]: remove explanation field from chat response body (#3416)
* Merge branch 'main' into ML-648
* remove explanation field
2025-02-12 11:29:10 +00:00
Vivek Dixit
5ef704e559 [feat]: [ML-657]: Added Support For PipelineGeneration (#3417)
* Addressed Comments
* FIxed lint errors
* [feat]: [ML-657]: Added Support For PipelineGeneration
2025-02-12 09:11:47 +00:00
Yogesh Chauhan
360831edc3 fix: [ML-648]: Add a method to give all valid stage_types (#3415)
* remove code comment
* add isValid for request action
* Add a method to give all valid stage_types
2025-02-12 07:40:48 +00:00
Marko Gaćeša
722084608c feat: [CODE-3174]: improve pullreq space list API (#3409)
* improve pullreq space list API
2025-02-11 20:21:06 +00:00
Darko Draskovic
72e7a3dde9 techdebt: [CODE-3169]: Move unnecessary DB calls related to label assignment out of the create PR tx (#3402)
* Merge remote-tracking branch 'origin/main' into dd/remove-from-transaction
* Move storeLabelAssignActivity to tx
* Move pr backfill with label info and activity storing out of the tx
* Replace slices containing label/value info with an assignment map
* Move unnecessary DB calls related to label assignment out of the create PR tx
2025-02-11 18:44:17 +00:00
Shivanand Sonnad
9af8f072b5 feat: [AH-944]: redesign artifact details page header (#3411)
* feat: [AH-944]: redesign artifact details page header
2025-02-11 16:50:25 +00:00
Shivanand Sonnad
1e619e8219 feat: [AH-944]: support link to latest version in registry artifact list table (#3410)
* feat: [AH-944]: support link to latest version in registry artifact list table
2025-02-11 16:50:21 +00:00
Shivanand Sonnad
11b4bb4afc feat: [AH-944]: refactor version list page (#3396)
* feat: [AH-944]: fix table alignment
* feat: [AH-944]: refactor version list page
2025-02-11 11:54:00 +00:00
Shivanand Sonnad
cdbc3ab654 feat: [AH-944]: refactor copy button and copy checksum button (#3393)
* feat: [AH-944]: fix failing unit tests
* feat: [AH-944]: update icon for copy in copy button
* feat: [AH-944]: refactor copy button and copy checksum button
2025-02-11 11:21:45 +00:00
Shivanand Sonnad
cfa0e7c464 feat: [AH-944]: version header content refactor (#3395)
* feat: [AH-944]: version header content refactor
2025-02-11 10:51:51 +00:00