1044 Commits

Author SHA1 Message Date
Atefeh Mohseni Ejiyeh
0d90bc2e30 feat: [CODE-4364] Support migrating external PR reviews and reviewers data (#4408) 2025-09-04 15:18:01 +00:00
Darko Draskovic
ceb8839d72 feat: [CODE-4402]: Enhance user group reviewer decision logic with SHA-aware prioritization (#4447)
* e5c471 Merge remote-tracking branch 'origin/main' into dd/group-reviewer-decision-sha

* c7fd06 Add userGroupReviewerDecisions helper

* 246724 Add user decisions to user group reviwer add output

* 5496f1 Enhance user group reviewer decision logic with SHA-aware prioritization
2025-09-03 18:09:58 +00:00
Deepak Bhatt
0f5d9cc221 feat: [CDE-1045]: do not update gitspace instance in db with token information (#4442)
* fix: [CDE-1045]: fix lint

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

* fix: [CDE-1045]: update formatting url logic

* feat: [CDE-1045]: do not update gitspace instance in db with token information

* feat: [CDE-1040]: add ssh field

* feat: [CDE-1040]: add ssh field
2025-09-03 10:39:27 +00:00
Marko Gaćeša
43f0026470 feat: [CODE-4383]: create fork API (#4388)
* 7c68a7 Merge remote-tracking branch 'origin/main' into mg/fork/create_api_v1

* 487358 address pr comments

* 01baac create fork API
2025-09-03 10:24:18 +00:00
Darko Draskovic
e15b4ed2df feat: [CODE-4314]: Add default user group reviewers (#4405)
* ddc523 Fix pullreq verify var name

* 50116b Merge remote-tracking branch 'origin/main' into dd/default-usergroup-reviewers

* fbdd12 Merge remote-tracking branch 'origin/main' into dd/default-usergroup-reviewers

* a38ddf Refactor usr grp store method to return int group map

* 68d5bf Add default user group reviewers
2025-09-01 11:57:00 +00:00
Ansuman Satapathy
1890b7f1cc feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer (#4428)
* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer
2025-09-01 04:57:11 +00:00
Ansuman Satapathy
c047ab0061 feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer (#4426)
* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer

* feat: [CDE-1034]: set spacepath for all gitspace entities at DB layer
2025-09-01 04:12:58 +00:00
Deepak Bhatt
489292a996 feat: [CDE-985]: add latest instance in gitspace config (#4422)
* feat: [CDE-985]: add latest instance in gitspace config

* feat: [CDE-985]: add latest instance in gitspace config

* feat: [CDE-985]: add latest instance in gitspace config
2025-08-29 11:37:25 +00:00
Sachin Kadam
4d0e04e863 feat: [CLI-50358] added jwt rotation changes for code api (#4352)
* optimised getFirst function

* lint fix

* fixing linting issue

* fixed git lint

* fixing go lint

* feat: [CLI-50358] added jwt rotation changes for code api
2025-08-29 08:07:28 +00:00
Deepak Bhatt
99d2136eca feat: [CDE-985]: return token for vscode_web from backend (#4383)
* feat: [CDE-985]: fixed registry lint

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

* feat: [CDE-985]: inject jwt token for vscode_web for get and List gitspace apis

* feat: [CDE-985]: inject jwt token for vscode_web for get and List gitspace apis

* feat: [CDE-985]: inject jwt token for vscode_web for get and List gitspace apis

* feat: [CDE-985]: inject jwt token for vscode_web for get and List gitspace apis

* feat: [CDE-985]: inject jwt token for vscode_web for get and List gitspace apis

* feat: [CDE-985]: inject jwt token for vscode_web for get and List gitspace apis

* feat: [CDE-985]: return vscode web toke from backend

* feat: [CDE-985]: fix lint

* feat: [CDE-985]: return token for vscode_web from backend
2025-08-29 06:15:01 +00:00
Atefeh Mohseni Ejiyeh
07be551389 feat: [CODE-4380] Support update parent space on repo move api (#4382) 2025-08-28 23:36:44 +00:00
Karan Saraswat
383740b0d8 feat: [CODE-4384]: Add user group activities on PR page (#4407)
* 35c720 feat: [CODE-4384]: Add user group activities on PR page
2025-08-28 12:00:14 +00:00
Ansuman Satapathy
cf6dcce66b feat: [CDE-1031]: Remove extra calls to infraprovider API , only for getting name (#4410)
* feat: [CDE-1031]: Remove extra calls to infraprovider API , only for getting name
2025-08-28 05:21:52 +00:00
Karan Saraswat
2a9463b7d3 feat: [CODE-4090]: Add users group reviewers activity with mentions (#4401)
* afe521 addressed review comments

* d5f1c7 feat: [CODE-4090]: Add users group reviewers activity with mentions (#4402)

* f61277 feat: [CODE-4090]: Add users group reviewers activity with mentions
2025-08-27 18:04:03 +00:00
Deepak Bhatt
cece58b8bc feat: [CDE-985]: Add plugin URL and ssh URL in gitspace instance (#4377)
* feat: [CDE-985]: fix lint

* feat: [CDE-985]: fix lint

* feat: [CDE-985]: Add plugin URL and ssh URL in gitspace instance
2025-08-25 17:06:39 +00:00
Vikyath Harekal
eda433e55f feat: [CDE-1012]: Enhance os info script (#4375)
* feat: [CDE-1012]: Enhance os info script
2025-08-25 15:25:28 +00:00
Deepak Bhatt
c165d01169 feat: [CDE-985]: Add support for deeplink for windsurf and cursor (#4372)
* feat: [CDE-985]: address feedback

* feat: [CDE-985]: fixed lint

* feat: [CDE-985]: fixed lint

* feat: [CDE-985]: fixed lint

* feat: [CDE-985]: Add support for deeplink for windsurf and cursor
2025-08-25 09:58:22 +00:00
Vikyath Harekal
d98c5e9b71 feat: [CDE-1026]: Handle corner case when gitspace goes to error state and we don't have one in pending_cleanup (#4370)
* feat: [CDE-1026]: Handle corner case when gitspace goes to error state and we don't have one in pending_cleanup
2025-08-25 04:25:51 +00:00
Vikyath Harekal
0f8537528a feat: [CDE-1025]: Fix 2nd time infra reset issue (#4367)
* feat: [CDE-1025]: Fix 2nd time infra reset issue
2025-08-22 11:08:19 +00:00
Darko Draskovic
a28d5edafe feat: [CODE-4369]: Add openapi spec for user group reviewers (#4363)
* dabc98 Add openapi spec for user group reviewers
2025-08-21 14:54:47 +00:00
Darko Draskovic
5c8e154e43 feat: [CODE-4315]: Add feature to add user group reviewers on pr creation (#4333)
* 44862f Remove decision from add/remove user group reviewer activity

* 421eed Merge remote-tracking branch 'origin/main' into dd/pr-create-usergroup-reviewers

* 37ef4f Merge remote-tracking branch 'origin/main' into dd/pr-create-usergroup-reviewers

* 2c5e59 Add PullRequestActivityPayloadUserGroupReviewerDelete

* aeb74f Add PullRequestActivityPayloadUserGroupReviewerAdd

* 976dcf Merge remote-tracking branch 'origin/main' into dd/pr-create-usergroup-reviewers

* 22ab2c Add added user group reviewers on pr creation
2025-08-21 11:57:59 +00:00
Marko Gaćeša
693c45e207 fix: [CODE-4344]: fix pgp signature verification (#4326)
* b42b8f address code comments

* c6ddac fix pgp signature verification
2025-08-21 10:00:34 +00:00
Sourabh Awashti
9097980a93 feat:[AH-1694]: fix migration number (#4346)
* feat:[AH-1694]: fix migration number
2025-08-19 17:00:29 +00:00
Sourabh Awashti
0a695a31bb feat:[AH-1694]: Registry security policy changes (#4259)
* feat:[AH-1694]: review changes

* feat:[AH-1694]: review changes

* feat:[AH-1694]: review changes

* Merge branch 'main' into AH-1694

* feat:[AH-1694]: review changes

* feat:[AH-1694]: Registry security policy changes

* feat:[AH-1694]: Registry security policy changes

* feat:[AH-1694]: Registry security policy changes
2025-08-19 11:17:17 +00:00
Abhinav Singh
81dbdad72a fix: [CODE-4337]: make pr branch banner not show up for non deleted pr branches (#4315)
* 7c5e60 fix: [CODE-4338]: address code comment

* 6e2d54 Merge remote-tracking branch 'origin' into abhinav/CODE-4337

* bf14da Merge remote-tracking branch 'origin' into abhinav/CODE-4337

* 78a271 fix: [CODE-4338]: address code comment

* ced409 fix: [CODE-4338]: address code comment

* 1bbe60 fix: [CODE-4338]: address code comment

* 3534de fix: [CODE-4338]: address code comment

* 8a8733 fix: [CODE-4338]: address code comment

* 7c11f3 Merge remote-tracking branch 'origin' into abhinav/CODE-4337

* 3955fd fix: [CODE-4338]: address code comment

* 683b50 fix: [CODE-4338]: fix lint errors

* 3dfacd fix: [CODE-4337]: make pr branch banner not show up for non deleted pr branches

* 4be4a6 fix: [CODE-4337]: make pr branch banner not show up for non deleted pr branches

* a368fe fix: [CODE-4337]: make pr branch banner not show up for non deleted pr branches
2025-08-18 20:23:39 +00:00
Darko Draskovic
60e1e54f5f feat: [CODE-4295]: Add proper user groups in CODEOWNERS validation (#4220)
* 739404 Merge remote-tracking branch 'origin/main' into dd/usergoup-codeowners

* 343314 Avoid if nesting on ErrNotFound

* 303cb9 Merge remote-tracking branch 'origin/main' into dd/usergoup-codeowners

* 79a906 Merge remote-tracking branch 'origin/main' into dd/usergoup-codeowners

* 614de6 Remove prepareRuleReviewers helper

* 4787ea Merge remote-tracking branch 'origin/main' into dd/usergoup-codeowners

* f0f12b Add createPullReqVerify helper to pullreq controller

* 63e2ea Streamline pr create reviewer prepare and create

* f5864f Make log and error msgs more consistent and accurate

* f1e90b Rename store.UserGroupReviewersStore to store.UserGroupReviewerStore for consistency

* 05fd57 Remove reduntant 'owner' pre/in-fix from codeowners package structs

* 73bd49 Merge remote-tracking branch 'origin/main' into dd/usergoup-codeowners

* a02a05 Merge remote-tracking branch 'origin/main' into dd/usergoup-codeowners

* aa7eb2 Merge remote-tracking branch 'origin/main' into dd/usergoup-
2025-08-18 11:14:45 +00:00
Karan Saraswat
e9453b703c feat: [CODE-4063]: Option to Include/Exclude repos in space-level rules (#4327)
* 851979 Merge branch 'CODE-4063' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-4063

* 845734 addressed review comments

* 675dc7 feat: [CODE-4063]: Option to Include/Exclude repos in space-level rules (#4328)

* 1a66aa fixed lint issues

* 994f06 update openapi to include repo target

* 8b4500 feat: [CODE-4063]: Option to Include/Exclude repos in space-level rules
2025-08-18 08:44:18 +00:00
Deepak Bhatt
7a38978ef4 feat: [CDE-984]: add support for cursor, windsurf and ssh IDE (#4281)
* fix: [CDE-923]: Fixing lint issues

* fix: [CDE-923]: Fixing lint issues

* fix: [CDE-923]: Fixing lint issues

* fix: [CDE-923]: Fixing lint issues

* fix: [CDE-923]: Fixing lint issues

* feat: [CDE-984]: address feedback

* feat: [CDE-984]: fix CI

* feat: [CDE-984]: fix comment

* feat: [CDE-984]: improve log output

* feat: [CDE-984]: remove duplicate code

* feat: [CDE-984]: fix log message

* feat: [CDE-984]: add wiregen

* feat: [CDE-984]: add support for plain ssh

* feat: [CDE-984]: add support for windsurf  IDE

* feat: [CDE-984]: add support for cursor, windsurf and ssh IDE
2025-08-18 05:25:10 +00:00
Darko Draskovic
61e8fadd72 feat: [CODE-4339]: Return target repos info on rule fetch (#4320)
* 13a4ec Dedup rule IDs and and continue on err not found

* ee51fd Return target repos info on rule fetch
2025-08-15 11:10:55 +00:00
Abhinav Singh
4cdb3e93dd fix: [CODE-4338]: fix lint errors (#4316)
* 88ba2a fix: [CODE-4338]: fix lint errors

* 9f9930 fix: [CODE-4338]: fix lint errors

* 062488 fix: [CODE-4338]: fix lint errors

* f6d53f fix: [CODE-4338]: fix lint errors

* 2ba049 fix: [CODE-4338]: fix lint errors

* 5d5d33 fix: [CODE-4338]: fix lint errors

* f5fa1b fix: [CODE-4338]: fix lint errors
2025-08-14 21:03:24 +00:00
Deepak Bhatt
48cbd83d7f feat: [CDE-1003]: add gitspace create permission and add host.docker.internal for each container (#4307)
* feat: [CDE-1003]: add use gitspace permission for contributor

* feat: [CDE-1003]: add gitspace create permission and add host.docker.internal for each container
2025-08-14 06:28:25 +00:00
Dhruv Dhruv
447bed3f94 fix: [CDE-999]: Checking infra provider type in gitspace usage limiter. (#4300)
* fix: [CDE-999]: Checking infra provider type in gitspace usage limiter.
2025-08-13 16:18:05 +00:00
Johannes Batzill
8c98031653 fix: [CODE-4304]: Ensure user facing error messages are upper case (#4287) 2025-08-12 22:09:18 +00:00
Atefeh Mohseni Ejiyeh
2b34f65a72 fix: [CODE-4320] handle violations on secret scanning (#4288) 2025-08-12 20:40:30 +00:00
Vikyath Harekal
16b3b54cb3 feat: [CDE-992]: Fetch previous infra for start/resume requests (#4274)
* feat: [CDE-992]: fix lint (#4280)

* feat: [CDE-992]: fix lint

* feat: [CDE-992]: update disallowed when in error state

* feat: [CDE-992]: refactor

* feat: [CDE-992]: fix lint

* feat: [CDE-992]: refactor

* feat: [CDE-992]: refactor

* feat: [CDE-992]: update logs

* feat: [CDE-992]: Fetch previous infra for start/resume requests
2025-08-12 08:34:36 +00:00
Vikyath Harekal
a88edbcd3e feat: [CDE-969]: filter out current resource from the list (#4272)
* feat: [CDE-969]: filter out current resource from the list
2025-08-11 15:09:23 +00:00
Vikyath Harekal
f7420cb02f feat: [CDE-982]: Move gitspace instance marked for infra reset to pending_cleanup state (#4270)
* feat: [CDE-982]: Move gitspace instance marked for infra reset to pending_cleanup state
2025-08-11 05:18:12 +00:00
Pragyesh Mishra
87734619f1 [feat]: [AH-1701]: huggingface metadata side fixes (#4255)
* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix migration

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix metadata

* [feat]: [AH-1701]: fix migration files

* [feat]: [AH-1701]: fix migration files

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

* [feat]: [AH-1701]: fix artifact files

* [feat]: [AH-1701]: fix artifact files

* [feat]: [AH-1701]: huggingface changes

* [feat]: [AH-1701]: huggingface changes

* [feat]: [AH-1701]: hugging
2025-08-11 03:18:36 +00:00
Atefeh Mohseni Ejiyeh
21688e53ff fix: [CODE-4320] scan secrets independent of push rules (#4266) 2025-08-08 21:55:09 +00:00
Darko Draskovic
fd20e8486d hotfixpreqa: [CODE-4317]: Add bypassed to push rules (#4251)
* 4bfa64 Add bypasse check to push rule backfill violations method

* 3a0f13 Merge remote-tracking branch 'origin/main' into dd/push-rules-bypass

* 17d20c Add bypassed to user rules
2025-08-08 12:34:12 +00:00
Vikyath Harekal
140577e840 feat: [CDE-958]: Check is not final state (#4261)
* feat: [CDE-958]: Check is not final state
2025-08-08 08:11:40 +00:00
Johannes Batzill
1a2b17df7d fix: [CODE-4318] Allow to bypass push rules via push (#4253) 2025-08-08 06:53:41 +00:00
Atefeh Mohseni Ejiyeh
21c5ce42ae fix: [CODE-4271] Git LFS upload vulnerability with random OID (#4235) 2025-08-08 06:40:55 +00:00
Vikyath Harekal
be0de1abd3 feat: [CDE-958]: Mark old instance error and create new one in case of markedForInfraReset (#4258)
* feat: [CDE-958]: Mark old instance error and create new one in case of markedForInfraReset

* feat: [CDE-958]: Mark old instance error and create new one in case of markedForInfraReset

* feat: [CDE-958]: Mark old instance error and create new one in case of markedForInfraReset
2025-08-08 06:35:43 +00:00
Karan Saraswat
8d0fda812b feat: [CODE-4309]: Address feedback comments for webhook audit logs changes (#4245)
* f3d933 feat: [CODE-4309]: Address feedback comments for webhook audit logs changes
2025-08-08 06:18:19 +00:00
Pragyesh Mishra
e18a396713 [feat]: [AH-1701]: fix migration file names (#4256)
* [feat]: [AH-1701]: fix migration file names
2025-08-08 03:59:11 +00:00
Deepak Bhatt
e3b6bab61a feat: [CDE-947]: add more status for list gitspace filter (#4244)
* feat: [CDE-947]: add more status for list gitspace filter
2025-08-08 03:12:01 +00:00
Pragyesh Mishra
be66596ee5 [feat]: [AH-1701]: changes to support artifact type for hugging face (#4242)
* [feat]: [AH-1701]: fixed tests

* [feat]: [AH-1701]: fixed tests

* Merge branch 'AH-1701-hugging-face-add-image-type' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-1701-hugging-face-add-image-type

* [feat]: [AH-1701]: validate artifact type

* Apply suggestion from code review

* Apply suggestion from code review

* Apply suggestion from code review

* [feat]: [AH-1701]: changes to support artifact type
2025-08-07 21:15:57 +00:00
Deepak Bhatt
20ebce6814 feat: [CDE-947]: add scope filter for list gitspace (#4228)
* feat: [CDE-947]: add scope filter for list gitspace
2025-08-07 09:52:51 +00:00
Vikyath Harekal
e2d0483617 feat: [CDE-969]: Refactor resource filtering logic (fixes current resource getting filtered out) (#4237)
* feat: [CDE-969]: Refactor resource filtering logic

* feat: [CDE-969]: refactor

* feat: [CDE-969]: return empty list

* feat: [CDE-969]: return err if current resource id is not found
2025-08-07 05:39:18 +00:00