3470 Commits

Author SHA1 Message Date
Hitesh Aringa
a9d4a75e99
Update README.md 2025-07-24 14:39:48 -07:00
yingshanghuangqiao
8cbb74f8c1
chore: make function comment match function name (#3630)
make function comment match function name

Signed-off-by: yingshanghuangqiao <yingshanghuangqiao@foxmail.com>
2025-07-24 12:19:08 -07:00
Karan Saraswat
2a0d67db8b feat: [CODE-4220]: Add syntax highlighting support for .mjs files (#4117)
* feat: [CPDE-4220]: Add syntax highlighting support for .mjs files
2025-07-24 17:29:19 +00:00
Shivanand Sonnad
2f5639a957 feat: [AH-1565]: implement API changes required for UI for go packages (#4095)
* feat: [AH-1565]: fix PR comments

* feat: [AH-1565]: implement API changes required for UI for go packages
2025-07-24 15:43:58 +00:00
Shashank Bandaru
b02542d11c fix: [CDE-913]: Show overall unhealthy when no gateways are returned (#4107)
* Added extra test condition to handle groupHealthData being empty list

* Added extra test condition to handle overall health value being neither healthy , unhealthy or null

* fix :[CDE-913]: show overall unhealthy when no gateways are returned
2025-07-24 15:23:38 +00:00
Enver Biševac
72062ef659 feat: [code-3039]: add validation to OptimizeRepoStrategy type (#4109)
* add validation to OptimizeRepoStrategy type
2025-07-24 14:39:11 +00:00
Enver Biševac
5b86da53e8 feat: [CODE-3039]: git layer functions and methods (#4035)
* requested changes

* requested changes

* add header and nolint

* add gc args

* git layer functions and methods
2025-07-24 13:43:23 +00:00
Pragyesh Mishra
b245316d69 [feat]: [AH-1591]: add search support to nuget upstream proxy (#4100)
* [fix]: [AH-1591]: fix totalHits

* [fix]: [AH-1591]: fix totalHits

* Merge branch 'AH-1591' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-1591

* [fix]: [AH-1591]: fix pr check

* [feat]: [AH-1591]: add  search support to nuget upstream proxy (#4101)

* harness-auto-fix created this fix

* [feat]: [AH-1591]: add  search support to nuget upstream proxy

* [feat]: [AH-1591]: add  search support to nuget upstream proxy
2025-07-24 12:46:00 +00:00
Deepak Bhatt
6caf1fe58a feat: [CDE-909]: add update config method in infra provider to add vm image for gpc (#4104)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-909

* feat: [CDE-909]: add update config method in infra provider to add vm image for gpc
2025-07-24 11:49:46 +00:00
Marko Gaćeša
b219feb377 feat: [CODE-2055]: public key usage: auth or sign (#4094)
* public key usage: auth or sign
2025-07-24 08:49:16 +00:00
Karan Saraswat
7a83c43127 fix: [CODE-4213]: Handle promise based CODE branch delete API (#4093)
* moved util method to PullRequestUtils

* changed prop name

* fix: [CODE-4213]: Handle promise based CODE branch delete API
2025-07-24 08:48:37 +00:00
Vikyath Harekal
ea77c8dc66 feat: [CDE-879]: Return only those machine types that we can upgrade to from the current machine type (#4089)
* feat: [CDE-879]: fix lint

* feat: [CDE-879]: Refactor

* feat: [CDE-879]: Refactor

* feat: [CDE-879]: Refactor

* Apply suggestion from code review

* Apply suggestion from code review

* feat: [CDE-879]: Filter allowed infra resources list for update gitspace flow
2025-07-24 08:42:49 +00:00
Shivanand Sonnad
0ec7e23046 feat: [AH-1539]: implement create label flow (#4038)
* feat: [AH-1539]: resolve PR comments

* feat: [AH-1539]: fix PR comments

* feat: [AH-1539]: implement create label flow
2025-07-24 08:17:22 +00:00
Shivanand Sonnad
41358a1bd2 feat: [AH-1597]: implement async package metadata generation for go packages (#4065)
* feat: [AH-1597]: resolve PR comments

* feat: [AH-1597]: update logic to extract readme from zip

* feat: [AH-1597]: support async package metadata generation in proxy flow

* feat: [AH-1597]: resolve go lint errors

* feat: [AH-1597]: implement async package metadata generation for go packages
2025-07-24 07:54:50 +00:00
Darko Draskovic
3c3ff0dc64 feat: [CODE-4083]: Validate users in the rule user IDs bypass list (#4006)
* Use global ValidateUsers and rename Validator's ValidateUsers to Validate

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Replace noop rules validator with a useful validator logic

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Move all validation into the single helper validateUsers

* Fix tests

* Fix linter issues

* Reuse common rules getRuleUsers to ensureAllUserIDsExist

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Merge remote-tracking branch 'origin/main' into dd/validate-user-bypass

* Add ctx arg to ValidateUsers method of rules Validator

* Use rules Validator as rules service dependency
2025-07-23 14:43:00 +00:00
Karan Saraswat
694faa676d feat: [CODE-4210]: Get bearer token from SessionToken directly (#4075)
* ran prettier

* feat: [CODE-4210]: Get bearer token from SessionToken directly
2025-07-23 12:40:50 +00:00
Shashank Bandaru
a412875175 feat: [CDE-886]: Added Custom AMI and Image fields in UI (#4091)
* fixing the lint issues

* fixing the lint issues

* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-886

* feat: [CDE-886]: Added Custom AMI and Image fields
2025-07-23 12:08:36 +00:00
Sayantan Mondal
6eb5924c3c feat: [CDE-895]: implement code editor selection in admin settings UI (#4083)
* fix lint

* fix lint

* fix lint

* refactor: replace JSON.parse(JSON.stringify()) with structuredClone() for deep object copying

* feat: [CDE-895]: implement code editor selection in admin settings UI
2025-07-23 07:01:17 +00:00
Vikyath Harekal
370d8be1d0 feat: [CDE-870]: Update migration numbers (#4082)
* feat: [CDE-870]: remove spaceref json tag

* feat: [CDE-870]: Update migration numbers
2025-07-23 06:19:37 +00:00
Sayantan Mondal
1843ded1ea feat: [CDE-894]: add admin settings page with git provider configuration (#4078)
* refactor: use page spinner and page error

* chore: remove unnecessary whitespace in GitProviders component

* refactor: optimize git provider sections with useMemo and improve responsive width

* refactor: simplify git provider selection logic and remove unused provider options

* refactor: add type imports for StringsMap, TypesGitspaceSettingsResponse, and EnumGitspaceCodeRepoType

* feat: [CDE-894]: add admin settings page with git provider configuration
2025-07-23 06:06:23 +00:00
Vikyath Harekal
38f76d0757 feat: [CDE-870]: Update/Edit Gitspace: IDE, resource (non-gitness) and ssh identifier (#4060)
* feat: [CDE-870]: fix lint

* feat: [CDE-870]: add region and zone check

* feat: [CDE-870]: Address review comments

* feat: [CDE-870]: Address review comments

* Apply suggestion from code review

* feat: [CDE-870]: fix lint

* feat: [CDE-870]: Update IDE, ssh identifier and resource (non-gitness)

* feat: [CDE-870]: Update IDE, ssh identifier and resource (non-gitness)
2025-07-23 03:15:52 +00:00
Marko Gaćeša
ec4aafc73d feat: [CODE-2554]: revoke signatures of compromised keys (#4074)
* revoke signatures of compromised keys
2025-07-22 14:11:56 +00:00
Sourabh Awashti
ea0540681e feat:[AH-1492]: API for manual quarantine paths (#4073)
* feat:[AH-1492]: review changes

* feat:[AH-1492]: review changes

* feat:[AH-1492]: merge conflicts

* feat:[AH-1492]: review changes

* feat:[AH-1492]: review changes

* feat:[AH-1492]: API for manual quarantine paths

* feat:[AH-1475]: merge conflicts

* feat:[AH-1475]: Quarantine artifact action for non oci artifacts
2025-07-22 14:00:25 +00:00
Ritik Kapoor
69721f196e fix: [CODE-4211] pr candidates return type for swagger (#4076)
* fix: [CODE-4211] pr candidates return type for swagger
2025-07-22 12:31:50 +00:00
Sourabh Awashti
33df6b1860 feat:[AH-1475]: Quarantine artifact action for non oci artifacts (#3973)
* feat:[AH-1475]: review changes

* feat:[AH-1475]: review changes

* feat:[AH-1475]: review changes

* feat:[AH-1475]: review changes

* feat:[AH-1475]: review changes

* feat:[AH-1475]: review changes

* feat:[AH-1475]: merge conflicts

* feat:[AH-1475]: merge conflicts

* feat:[AH-1475]: review changes

* feat:[AH-1475]: merge conflicts

* feat:[AH-1475]: Quarantine artifact action for non oci artifacts
2025-07-22 07:31:08 +00:00
Dhruv Dhruv
3bfadf7ce5 feat: [CDE-842]: Adding changes to support routing key in infra. (#4071)
* feat: [CDE-842]: Adding changes to support routing key in infra.
2025-07-22 07:20:16 +00:00
Pragyesh Mishra
b9ba275634 [feat]: [AH-1530]: add space controller to registry api controller (#4068)
* [feat]: [AH-1530]: add space controller to registry api controller

* [feat]: [AH-1530]: add space controller to registry api controller
2025-07-22 07:04:03 +00:00
Shashank Bandaru
3f7bf31b36 feat: [CDE-848]: generate gitspace ID from user-provided gitspace name (#4059)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-848-friendly-gitspace-names

* made validation changes

* chore: [CDE-848]: removed a comment

* feat: [CDE-848]: feat: generate gitspace ID from user-provided gitspace name

* chore: [CDE-848]: addressed the requested changes

* fix: [CDE-848]: resolved the lint issues

* fix: [CDE-848]:  prevent repo name from auto-filling Gitspace name field

* chore: [CDE-848]: address requested changes

* feat: [CDE-848]: fmt changes

* feat: [CDE-848]: implemented friendly gitspaces
2025-07-22 04:24:10 +00:00
Atefeh Mohseni Ejiyeh
de0d520917 Revert Pull Request #4040 "fix: [CODE-2343] Skip Secret Scanning for PR merge" (#4069)
* Revert Pull Request #4040 "fix: [CODE-2343] Skip Secret Scanning for PR merge"
2025-07-21 19:47:25 +00:00
Shivanand Sonnad
d4b40f38b8 feat: [AH-1581]: implement upstream download flow for go packages (#4055)
* feat: [AH-1581]: update file path logic for storing in local

* feat: [AH-1581]: implement upstream download flow for go packages
2025-07-21 11:22:00 +00:00
Karan Saraswat
efcaa264b5 fix: [CODE-4201]: Fix redundant calls on Changes page (#4067)
* fix: [CODE-4201]: Fix redundant calls on Changes page
2025-07-21 10:24:25 +00:00
Sayantan Mondal
274285a3b2 feat: [CDE-902]: display machine type in infra details (#4066)
* remove console statement

* fix spaces

* feat: [CDE-902]: display machine type in infra details
2025-07-21 10:11:58 +00:00
Karan Saraswat
fad8d9f63f feat: [CODE-4142]: Send audit logs on bypassing rules for tag creation/deletion (#4061)
* fixed go lint

* ran prettier

* feat: [CODE-4142]: Send audit logs on bypassing rules for tag creation/deletion
2025-07-21 07:33:43 +00:00
Shivanand Sonnad
ee3662928f feat: [AH-1512]: remove FF for cargo packages and show as beta (#4064)
* feat: [AH-1512]: remove FF for cargo packages and show as beta
2025-07-21 06:56:34 +00:00
Sayantan Mondal
508c1825f3 feat: [CDE-893]: disable fields in edit mode (#4063)
* feat: [CDE-893]: disable fields in edit mode
2025-07-21 04:41:40 +00:00
Ansuman Satapathy
113f5af9d8 feat: [CDE-816]: show infra error instead of whole infra entity (#4062)
* feat: [CDE-816]: show infra error instead of whole infra entity
2025-07-21 04:24:30 +00:00
Enver Biševac
7fc780c8d7 fix: [code-3039]: linter issue in PR 4035, remove unused const (#4048)
* remove unused const
2025-07-18 15:27:38 +00:00
Karan Saraswat
dd4962b953 feat: [CODE-4120]: Add bypass rule violation message for delete tag modal (#4056)
* fixed openapi

* feat: [CODE-4120]: Add bypass rule violation message for delete tag modal
2025-07-18 14:40:27 +00:00
Sayantan Mondal
ab1c197b28 feat: [CDE-873]: move GCP edit to modal and remove edit buttons (#4050)
* fix lint

* style: update table cell padding and remove redundant styles in RegionTable

* feat: [CDE-873]: move GCP edit to modal and remove edit buttons
2025-07-18 13:35:04 +00:00
Shivanand Sonnad
84092dae2d feat: [AH-1570]: implement support for go packages in registry and artifact flow (#4047)
* feat: [AH-1570]: implement support for go packages in artifact flow

* feat: [AH-1569]: implement go package support in registry flow
2025-07-18 11:25:30 +00:00
Pragyesh Mishra
355f18efb0 [fix]: [AH-1590]: Fix base url in nuget v2 proxy flow (#4053)
* [fix]: [AH-1590]: pr check

* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-1590

* [fix]: [AH-1590]: Fix base url in nuget upstream proxy
2025-07-18 10:53:06 +00:00
Karan Saraswat
65fb7f9a5d feat: [CODE-4119]: Add bypass rule violation message for delete branch modal (#4051)
* ran prettier

* call onOpen prop before opening the dialog

* feat: [CODE-4119]: Add bypass rule violation message for delete branch modal
2025-07-18 10:44:05 +00:00
Karan Saraswat
b48962e182 feat: [CODE-4117]: changed filters positioning on rules listing page and removed the new rule button from the not found card (#4043)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-4117

* feat: [CODE-4117]: add utils to check if param is truthy

* feat: [CODE-4113]: Add bypass rule violation message for create tag modal (#4037)

* ran prettier

* Apply suggestion from code review

* feat: [CODE-4113]: Add bypass rule violation message for Create Tag component

feat: [CODE-4113]: Add bypass rule violation message for Create Tag component

* fix: [CODE-4084]: Reduce spacing between PR banners and refactored code (#4029)

* ran prettier

* CODE-4084]: Reduce spacing between PR banners and refactored code

* feat: [CODE-4111]: Add dry run rules param to delete tag API (#4046)

* feat: [CODE-4111]: Add dry run rules param to delete tag API

* feat: [AH-1561]: implement download package flow (#4044)

* feat: [AH-1561]: resolve PR comment

* feat: [AH-1561]: update download info for latest version

* feat: [AH-1561]: resolve PR comments

* feat: [AH-1561]: res
2025-07-18 10:35:34 +00:00
Sourabh Awashti
37dad2ebb8 feat:[AH-1525]: API to download any package type file (#4018)
* feat:[AH-1525]: review changes

* feat:[AH-1525]: review changes

* feat:[AH-1525]: API to download any package type file

* feat:[AH-1525]: API to download any package type file
2025-07-18 10:33:29 +00:00
Karan Saraswat
aaf46e16f0 feat: [CODE-4113]: Add bypass rule violation message for create tag modal (#4037)
* ran prettier

* Apply suggestion from code review

* feat: [CODE-4113]: Add bypass rule violation message for Create Tag component

feat: [CODE-4113]: Add bypass rule violation message for Create Tag component
2025-07-18 09:20:55 +00:00
Karan Saraswat
9c01a6510d fix: [CODE-4084]: Reduce spacing between PR banners and refactored code (#4029)
* ran prettier

* CODE-4084]: Reduce spacing between PR banners and refactored code
2025-07-18 09:17:38 +00:00
Karan Saraswat
b55d7d75eb feat: [CODE-4111]: Add dry run rules param to delete tag API (#4046)
* feat: [CODE-4111]: Add dry run rules param to delete tag API
2025-07-18 08:51:59 +00:00
Shivanand Sonnad
13bec3acfc feat: [AH-1561]: implement download package flow (#4044)
* feat: [AH-1561]: resolve PR comment

* feat: [AH-1561]: update download info for latest version

* feat: [AH-1561]: resolve PR comments

* feat: [AH-1561]: resolve PR comment from previous PR

* feat: [AH-1561]: implement download package flow

* feat: [AH-1561]: update routes

* feat: [AH-1561]: initial setup for go package
2025-07-18 07:53:30 +00:00
Karan Saraswat
47eed54ce8 feat: [CODE-4141]: Change from Updated date to Last updated on repo listing page (#4052)
* feat: [CODE-4141]: Change from Updated date to Last updated on repo listing page
2025-07-18 07:41:55 +00:00
Shashank Bandaru
71742be7e7 feat: [CDE-848]: implemented friendly gitspace names (#4033)
* chore: [CDE-848]: addressed the requested changes

* fix: [CDE-848]: resolved the lint issues

* fix: [CDE-848]:  prevent repo name from auto-filling Gitspace name field

* chore: [CDE-848]: address requested changes

* feat: [CDE-848]: fmt changes

* feat: [CDE-848]: implemented friendly gitspaces
2025-07-18 05:39:26 +00:00