3486 Commits

Author SHA1 Message Date
Sourabh Awashti
55dbbb3c0b feat:[AH-1492]: Fix generic artifact push api (#4152)
* feat:[AH-1492]: Fix generic artifact push api
2025-07-28 10:28:47 +00:00
Sayantan Mondal
1dedd40f0d feat: [CDE-926]: add acl_filter query param to infra provider api (#4150)
* pass acl_filter query params

* feat: [CDE-926]: add acl_filter query param to infra provider api
2025-07-28 09:56:09 +00:00
Ansuman Satapathy
160feec91d feat: [CDE-896]: change enum method to value receivers for gitspace enums (#4149)
* feat: [CDE-896]: change enum method to value receivers for gitspace enums
2025-07-28 09:27:02 +00:00
Sayantan Mondal
ad6ff99a20 feat: [CDE-896]: add cloud regions management to admin settings panel (#4136)
* refactor: remove comments and update region display names in admin settings UI

* fixes

* fix: correct import path casing for Flags.svg icon

* feat: [CDE-896]: add cloud regions management to admin settings panel
2025-07-28 08:42:28 +00:00
Ansuman Satapathy
12d9d580f0 feat: [CDE-862]: move api layer structs of gitspace settings (#4144)
* feat: [CDE-862]: move available gitspace settings

* feat: [CDE-862]: move available gitspace settings
2025-07-28 07:07:03 +00:00
Shivanand Sonnad
b35484aa01 feat: [AH-1642]: send 404 status if invalid download request (#4135)
* feat: [AH-1642]: update error message

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

* feat: [AH-1642]: send 404 status if invalid download request
2025-07-28 05:47:00 +00:00
Marko Gaćeša
27ef0ff255 fix: [CODE-2554]: fix using auth_or_sign for sig verification (#4128)
* fix using auth_or_sign for sig verification
2025-07-25 13:53:57 +00:00
Ansuman Satapathy
3aaa5097d2 feat: [CDE-862]: fix wiring issues (#4131)
* feat: [CDE-862]: fix wiring issues

* feat: [CDE-862]: fix wiring issues
2025-07-25 12:11:13 +00:00
Shivanand Sonnad
14a3ba7c11 feat: [AH-1570]: update go package metadata mapping (#4130)
* feat: [AH-1570]: update go package metadata mapping
2025-07-25 11:28:52 +00:00
Karan Saraswat
d547a06fb0 feat: [CODE-4230]: Fix and add audit logs for rules and tag (#4125)
* feat: [CODE-4230]: Fix and add audit logs for rules and tag (#4126)

* harness-auto-fix created this fix

* harness-auto-fix created this fix

* harness-auto-fix created this fix

* feat: [CODE-4230]: Fix and add audit logs for rules and tag

feat: [CODE-4230]: Fix and add audit logs for rules and tag
2025-07-25 11:22:34 +00:00
Karan Saraswat
461692d981 fix: [CODE-4233]: Fix query parameter for rules type in openapi (#4129)
* fix: [CODE-4233]: Fix query parameter for rules type in openapi
2025-07-25 10:54:39 +00:00
Karan Saraswat
c56fd8fb45 fix: [CODE-4232]: Fix label value filter width on PR listing page (#4127)
* fix: [CODE-4232]: Fix label value filter width on PR listing page
2025-07-25 10:45:19 +00:00
Shivanand Sonnad
6c2e752c2d feat: [AH-1642]: implement regenerate package index and package metadata api (#4118)
* Apply suggestion from code review

* feat: [AH-1462]: handle auth header for go package

* feat: [AH-1462]: implement regenerate package index and package metadata api
2025-07-25 09:41:24 +00:00
Shivanand Sonnad
a2bdf40011 feat: [AH-1563]: implement custom download tracker for go packages (#4112)
* feat: [AH-1563]: fix PR comments

* feat: [AH-1563]: implement custom download tracker for go packages
2025-07-25 06:53:12 +00:00
Shashank Bandaru
e4793d718e fix: [CDE-886]: modified the payload field in AWS config update request (#4123)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-886

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

* fix :[CDE-886]: modified the payload field in AWS config update request

* 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-25 06:28:59 +00:00
Ansuman Satapathy
60c6a8bf1e feat: [CDE-862]: fix gitspace settings lint issues (#4124)
* feat: [CDE-862]: fix lint issues
2025-07-25 05:41:15 +00:00
Ansuman Satapathy
e10cb4e542 feat: [CDE-862]: add gitspace settings support (#4057)
* feat: [CDE-862]: change to no-op

* feat: [CDE-862]: change to no-op

* feat: [CDE-862]: change to no-op

* feat: [CDE-862]: change to no-op

* feat: [CDE-862]: change to no-op

* feat: [CDE-862]: refactor to service

* feat: [CDE-862]: refactor to service

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource

* feat: [CDE-862]: remove associated settings during deletion of resource (#4103)

* Apply suggestion from code review

* feat: [CDE-862]: r
2025-07-25 03:13:15 +00: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