3212 Commits

Author SHA1 Message Date
Karan Saraswat
eef1c49da4 fix: [CODE-3285]: send full reference names in calculate-divergencies call (#3498)
* fix: [CODE-3285]: send full reference names in calculate-divergencies call
2025-02-28 17:30:12 +00:00
Marko Gaćeša
d5db990c82 techdebt: [CODE-3276]: remove direct usage of SpacePathStore (#3495)
* remove direct usage of SpacePathStore
2025-02-28 14:18:30 +00:00
Neel Khamar
16bcc1ad02 feat: [CDE-648]: Added new parameter in createGitspace payload (#3491)
* Updated the service
* Modified the index.tsx in services/cde
* feat: Added new parameter in the createGitspace payload
2025-02-28 11:20:57 +00:00
Darko Draskovic
98c18995f0 feat: [CODE-3235]: Send notifications to reviwers added on pullreq create (#3489)
* Send notifications to reviwers added on pullreq create
2025-02-27 15:53:08 +00:00
Shivanand Sonnad
149fd2ce01 feat: [AH-885]: fix issue with delete webhook modal in enterprise version (#3488)
* feat: [AH-885]: fix issue with delete webhook modal in enterprise version
2025-02-27 14:44:39 +00:00
Dhruv Dhruv
26cda57360 feat: [CDE-636]: Adding config metadata to infra provider methods parameters. (#3487)
* feat: [CDE-636]: Fixing infra provider config update logic.
* feat: [CDE-636]: Adding config metadata to infra provider methods parameters.
* feat: [CDE-636]: Adding config metadata to infra provider methods parameters.
2025-02-27 14:35:48 +00:00
Tudor Macari
11dddf1221 feat: [AH-349]: remove isLatest field (#3482)
* feat: [AH-349]: fix lint issues
* feat: [AH-349]: remove isLatest field
2025-02-27 05:18:50 +00:00
Shivanand Sonnad
563fedf028 fix: [AH-818]: fix configure upstream proxy order change is not working (#3447)
* feat: [AH-818]: fix go lint errors
* feat: [AH-818]: fix PR comments
* feat: [AH-818]: fix PR comments
* feat: [AH-818]: fix linting errors
* feat: [AH-818]: fix failing lint test
* fix: [AH-818]: fix configure upstream proxy order change is not working
2025-02-27 04:53:27 +00:00
Darko Draskovic
cad0fbdf98 feat: [CODE-3256]: Add merge verify rule info related to minimum required approvals count for default reviewers (#3483)
* Merge remote-tracking branch 'origin/main' into dd/merge-verify-rules
* Replace princiapl ids with infos in merge verify response
* Populate DefaultReviewerApprovalsResponse with principal ids and current count
* Add MergeVerifyRulesResponse type
2025-02-26 17:56:59 +00:00
Shivanand Sonnad
d226aded79 feat: [AH-972]: Implement npm version overview card tab content (#3479)
* feat: [AH-972]: support links in labelValueContent component
* feat: [AH-972]: remove name and version from version overview content
* feat: [AH-972]: Implement npm version overview card tab content
2025-02-26 16:20:14 +00:00
Arvind Choudhary
2489ff8e15 fix: [AH-865]: Updated encode logic to support multiple separators in the path (#3465)
* [AH-865]: Updated tests
* [AH-865]: Updated tests
* [AH-865]: Updated test flow
* [AH-865]: Simplying code:
* [AH-865]: Formatting fixed
* [AH-865]: Updated encode logic to support multiple separators in the path
2025-02-26 02:27:52 +00:00
Atefeh Mohseni Ejiyeh
e89e44f847 fix: [CODE-3257]: Repo path if parent space is soft deleted (#3484) 2025-02-26 02:15:53 +00:00
Karan Saraswat
97ea469c8a feat: [CODE-3253]: Remove lifecycle restriction check from /archive endpoint (#3481)
* feat: [CODE-3253]: Remove lifecycle restriction check from /archive endpoint
2025-02-25 16:57:46 +00:00
Darko Draskovic
df7ac77361 feat: [CODE-3233]: Automatically add default reviewers based on rules (#3464)
* Fix tests
* Amend on protection rules verify to include the entire rule output data
* Merge remote-tracking branch 'origin/main' into dd/rule-reviewers
* Fix protection.Branch init in mapToBranchRules
* Amend MergeVerify to include number of default reviewer approvals
* Merge remote-tracking branch 'origin/main' into dd/rule-reviewers
* Refactor add code owners as reviewers to include add default reviewers
* Automatically add default reviewers based on rules
2025-02-25 15:52:59 +00:00
Sourabh Awashti
3f22a569b4 feat: [AH-998]: fixing lint issue in registry service (#3478)
* feat: [AH-998]: fixing lint issue in registry service
2025-02-25 14:18:14 +00:00
Shivanand Sonnad
91ce92080a feat: [AH-932]: fix for docker hub images with library prefix (#3454)
* feat: [AH-932]: fix go lint errors
* feat: [AH-932]: fix go lint errors
* feat: [AH-932]: fix for docker hub images with library prefix
2025-02-25 07:37:53 +00:00
Shivanand Sonnad
6420c0b5d0 feat: [AH-971]: add support for npm artifact list, artifact details, version list (#3475)
* feat: [AH-971]: add support for npm artifact list, artifact details, version list
2025-02-25 07:10:43 +00:00
Marko Gaćeša
fb8084293e feat: [CODE-3247]: Add merge base sha to webhook payload (#3474) 2025-02-24 20:11:17 +00:00
Marko Gaćeša
9cd8e34cce techdebt: [CODE-3209]: move caches to store package (#3449)
* fix test
* Merge remote-tracking branch 'origin/main' into mg/cache/move-caches-to-store
* use pointers to types for evictor
* gob decoder requires ptr
* update pubsub namespace
* add generic evictor, clear cache on space update
* Merge remote-tracking branch 'origin/main' into mg/cache/move-caches-to-store
* added the missing MarkChanged call in spaces soft delete
* move caches to store package
2025-02-24 17:37:49 +00:00
Shivanand Sonnad
620a6cbb25 feat: [AH-969]: add new package type NPM (#3463)
* feat: [AH-969]: add new package type NPM
* feat: [AH-969]: Support NPM in create/edit registry and create/edit upstream registry
2025-02-24 07:53:45 +00:00
Karan Saraswat
3a1348893d feat: [pipe-25436]: restrict user from updating harness-filestore repo (#3472)
* feat: [pipe-25436]: restrict user from updating harness-filestore repo
2025-02-24 06:47:36 +00:00
Dhruv Dhruv
f237a1f256 feat: [CDE-600]: Adding support to generate and populate setup yaml file in the infra config response. (#3466)
* feat: [CDE-600]: Adding support to generate and populate setup yaml file in the infra config response.
2025-02-24 04:30:14 +00:00
Karan Saraswat
02fe8c076f feat: [CODE-3150]: Validate repo identifier while importing repositories (#3445)
* feat: [CODE-3150]: Validate repo identifier while importing repositories
2025-02-22 11:23:39 +00:00
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