3557 Commits

Author SHA1 Message Date
Karan Saraswat
ecb89514f4 feat: [CODE-3895]: Add map operation to favorites db layer (#3815)
* added full stop in front of comment
* formatted error log line
* formatted the code
* feat: [CODE-3895]: fix favorites db layer based on the sql driver
* corrected error moessage
* fix map for foundIDs
* feat: [CODE-3895]: Add map operation to favorites db layer
v3.2.0
2025-05-22 17:37:36 +00:00
Deepesh Kumar
0fae4af92f feat: [CDE-777]: Fix logger breaking for initalise (#3820)
* feat: [CDE-777]: lint fix
* feat: [CDE-777]: Fix logger breaking for initalise
* feat: [CDE-777]: Fixed Swagger and Pass RepoSearch term in onPrem API
* feat: [CDE-777]: Fixed Swagger and Pass RepoSearch term in onPrem API
2025-05-22 16:50:18 +00:00
Deepesh Kumar
447004fd71 feat: [CDE-777]: Added Infra status connection monitoring (#3819)
* feat: [CDE-777]: Added Infra status connection monitoring
2025-05-22 13:01:55 +00:00
Tudor Macari
f1a0a24252 feat: [AH-1354]: refactor filemanager, remove unneeded redundant code (#3817)
* fix tests
* feat: [AH-1354]: refactor filemanager, remove unneeded redundant code
2025-05-22 12:54:02 +00:00
Shivanand Sonnad
d6f0aaaf8e fix: [AH-1353]: fix issue with deleting file nodes having similar prefixes (#3814)
* fix: [AH-1353]: fix issue with deleting file nodes having similar prefixes
2025-05-22 10:32:05 +00:00
Deepesh Kumar
20e6d5a98b feat: [CDE-777]: Added Infra status connection monitoring (#3816)
* feat: [CDE-777]: lint fixes
* feat: [CDE-777]: lint fixes
* feat: [CDE-777]: Added Infra status connection monitoring
* feat: [CDE-777]: Added Infra status connection monitoring
2025-05-22 10:02:33 +00:00
Karan Saraswat
814981c613 feat: [CODE-3870]: Add only_favorites query param to repo listing API (#3802)
* Apply suggestion from code review
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-3870
* formatted files
* moved onlyFavoritesFor logic to applyQueryFilter
* merge develop
* feat: [CODE-3870]: Add only_favorites query param to repo listing API
* added nolint:exhaustive
* fixed header for types/favorite.go
* formatted database/favorite.go file
* addressed review comments
* use ID in the favorite struct
* feat: [CODE-3869]: Create db layer for favorites
2025-05-22 08:08:30 +00:00
Vikyath Harekal
3fe468c81f feat: [CDE-785]: Migration to drop agent port column as we'll be using the task_details map to store it (#3813)
* feat: [CDE-785]: Migration to drop agent port column as we'll be using the task_details map to store it
2025-05-22 05:53:59 +00:00
Vikyath Harekal
9535541401 feat: [CDE-785]: Refactor providers (#3807)
* feat: [CDE-785]: Refactor providers
* feat: [CDE-785]: Refactor providers
2025-05-21 15:52:46 +00:00
Deepesh Kumar
00f51901f4 feat: [CDE-717]: Add section to show initialise logs in gitspace details page (#3811)
* feat: [CDE-717]: fix lint
* feat: [CDE-717]: fix lint
* feat: [CDE-717]: Add section to show initialise logs in gitspace details page
2025-05-21 15:52:11 +00:00
Karan Saraswat
ee8b14a12f feat: [CODE-3869]: Create db layer for favorites (#3798)
* fixed lint
* added nolint:exhaustive
* fixed header for types/favorite.go
* formatted database/favorite.go file
* addressed review comments
* use ID in the favorite struct
* feat: [CODE-3869]: Create db layer for favorites
2025-05-21 14:31:07 +00:00
Pragyesh Mishra
12164d18b9 [feat]: [AH-1044]: upstream proxy changes for nuget (#3775)
* [fix]: [AH-1044]: pr check
* [fix]: [AH-1044]: pr check
* [fix]: [AH-1044]: merge conflict
* [feat]: [AH-1045]: upstream v2 changes
* [feat]: [AH-1037]: delete package
* [AH-1044]: Remove nuget FF
* [AH-1044]: Remove nuget FF
* [AH-1044]: Remove nuget FF
* [AH-1044]: Remove nuget FF
* [AH-1044]: Remove nuget FF
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
* [feat]: [AH-1044]: upstream proxy changes for nuget
2025-05-21 11:14:14 +00:00
Pragyesh Mishra
e97b496bea [fix]: [AH-1335]: Fix maven upload flow for snapshot artifacts (#3797)
* [fix]: [AH-1335]: pr check
* [fix]: [AH-1335]: Fix maven upload flow for snapshot artifacts
2025-05-21 06:13:09 +00:00
Ansuman Satapathy
7137cea575 feat: [CDE-676]: added filter for code repo type for listing gitspaces. (#3803)
* feat: [CDE-676]: added filter for code repo type for listing gitspaces.
2025-05-21 05:00:31 +00:00
Shivanand Sonnad
fe7810a428 feat: [AH-1317]: improve performance and bugfixes (#3789)
* feat: [AH-1317]: improve performance and bugfixes
* feat: [AH-1317]: fix failing unit tests
* feat: [AH-1317]: Support virtual list and keyboard actions for directory view
2025-05-21 04:30:16 +00:00
Arvind Choudhary
54cc723c05 fix: [AH-1325]: Updated volume for filesystem storage (#3791)
* [AH-1325]: Updated volume for filesystem storage
2025-05-20 21:37:58 +00:00
Darko Draskovic
60bc0a7d79 feat: [CODE-3788]: Add tag rule type (#3761)
* Merge remote-tracking branch 'origin/main' into dd/tag-rules
* Use strings builder
* Add rule type string slice flatten for sqlite
* Merge remote-tracking branch 'origin/main' into dd/tag-rules
* Revert to force update
* Merge remote-tracking branch 'origin/main' into dd/tag-rules
* Add separate life cycle rules for tags and branches
* Merge remote-tracking branch 'origin/main' into dd/tag-rules
* Remove reflection
* Merge remote-tracking branch 'origin/main' into dd/tag-rules
* Rename GetRuleInfos to GetBranchRuleInfos
* Add update tag pre-receive violation
* Merge remote-tracking branch 'origin/main' into dd/tag-rules
* Merge remote-tracking branch 'origin/main' into dd/tag-rules
* Add unit tests for tagRuleSet
* Add pre-receive tag protection rule
* Rename funcs, export interfaces and further generalize/reuse rule set funcs
* Extract common rule set funcs in set_common.go
* Use ruleTypes ...types.RuleType in ListAllRepoRules store func
* Merge remote-tracking branch 'origin/main'
2025-05-20 15:24:30 +00:00
Enver Biševac
389fa0029d feat: [code-3827]: usage metrics enhancement (#3794)
* only count active repositories
* requested changes
* usage metrics enhancement
2025-05-20 10:14:15 +00:00
Vikyath Harekal
8900f7ff69 feat: [CDE-750]: Hybrid AWS provider (#3793)
* feat: [CDE-750]: Hybrid AWS provider
2025-05-20 06:42:26 +00:00
Johannes Batzill
72d7ea8dd4 chore: [CODE-3864]: Improve error log verbosity for better debugability (#3796) 2025-05-19 22:53:55 +00:00
Shivakumar Ningappa
b47655e823 feat: [AH-902]: implement copy functionality for replication - use s3 client (#3792)
* feat: [AH-902]: fix lint errors
* feat: [AH-902]: fix lint errors
* feat: [AH-902]: remove unwanted methods
* feat: [AH-902]: implement copy functionality for replication - move s3-manager to harness-code
* feat: [AH-902]: implement copy functionality for replication - use s3 client
* feat: [AH-902]: implement copy functionality for replication - use s3 client
2025-05-16 19:25:35 +00:00
Marko Gaćeša
90ac3677ae feat: [CODE-2548]: add PGP keys (#3781)
* add PGP keys
2025-05-16 11:13:41 +00:00
Tudor Macari
88a5e34000 feat: [AH-1245]: fix file existence check (#3788)
* fix test
* fix formatting
* fix lint issues
* feat: [AH-1245]: resolve PR comments
* feat: [AH-1245]: fix file existance check
2025-05-16 09:56:54 +00:00
Arvind Choudhary
a2647e29c4 feat:[AH-1286]: REVERT: memory optimization for generic artifacts (#3776) (#3790)
* Revert "feat:[AH-1286]: memory optimization for generic artifacts (#3776)"

This reverts commit c5061199b99fb4234bbe1925dd377471d964ccce.
2025-05-15 20:31:03 +00:00
Sourabh Awashti
c5061199b9 feat:[AH-1286]: memory optimization for generic artifacts (#3776)
* feat:[AH-1286]: review changes
* feat:[AH-1286]: memory optimization for generic artifacts
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitnes
2025-05-15 13:37:24 +00:00
Deepesh Kumar
7bd54c20ca feat: [CDE-725]: On-prem SCM UI changes (#3786)
* feat: [CDE-725]: On-prem SCM UI changes
* feat: [CDE-716]: Infra form validations and region modal
2025-05-15 12:01:06 +00:00
Shivanand Sonnad
3c35e002b8 feat: [AH-1111]: Nuget API integration changes (#3785)
* feat: [AH-1111]: add readme tab for nuget package type
* feat: [AH-1111]: Nuget API integration changes
2025-05-15 10:13:02 +00:00
Ritik Kapoor
ab9c1f7aa3 fix: [CODE-3852] ui improvements on PR action btn (#3787)
* fix: [CODE-3852] ui improvements on PR action btn
2025-05-15 09:16:10 +00:00
Ritik Kapoor
dad4f432e5 fix: [CODE-3668] empty state of rule edit - when opened via link direclty or reloaded (#3734)
* fix: [CODE-2581] address comments
* fix: [CODE-3688] empty state of rule edit - when opened via link direclty or reloaded
2025-05-14 14:12:21 +00:00
Deepak Bhatt
e02663168a Feat: [CDE-734]: add methods for fetching gitspace attributes for access check (#3774)
* Feat: [CDE-734]: return val and not pointer
* Feat: [CDE-734]: add todo
* Feat: [CDE-734]: fix issue
* Feat: [CDE-734]: add log
* Feat: [CDE-734]: fix order
* Feat: [CDE-734]: fix dst slice
* Feat: [CDE-734]: fix dst slice
* Feat: [CDE-734]: fix lint
* Feat: [CDE-734]: return ids in same order
* Feat: [CDE-734]: fix lint
* Feat: [CDE-734]: add methods for fetching gitspace attributes for access check
* Feat: [CDE-734]: add methods for fetching gitspace attributes for access check
2025-05-14 12:22:38 +00:00
Deepesh Kumar
91e7b1b842 feat: [CDE-716]: Infra form validations and region modal (#3783)
* feat: [CDE-716]: Infra form validations and region modal
* feat: [CDE-716]: Infra form validations and region modal
* feat: [CDE-716]: Infra form validations and region modal
* feat: Added validations and dropdowns for hynrid infra
2025-05-14 07:12:45 +00:00
Enver Biševac
635830eb67 feat: [code-3119]: filtering in git clone (#3777)
* filtering in git clone
2025-05-13 17:27:47 +00:00
Marko Gaćeša
397628ed2e fix: [CODE-3831]: fix revert PR with no changes (#3782)
* fix revert PR with no changes
2025-05-13 15:34:22 +00:00
Sourabh Awashti
693632ee20 feat:[AH-1260]: NPM download status code revert (#3778)
* feat:[AH-1260]: NPM download status code revert
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.har
2025-05-13 06:00:52 +00:00
Shivanand Sonnad
dab7f46621 fix: [AH-1259]: Fix not working sort in version list table (#3773)
* fix: [AH-1259]: Fix not working sort in version list table
2025-05-12 11:04:28 +00:00
Chanikya Reddy Tippireddy
8372083676 fix: [CODE-3647]: updated text in the PR information header (#3763)
* fix: [CODE-3647]: updated text in the PR information header

updated text in the PR information header
* fix: [CODE-3647]: updated text in the PR information header

updated text in the PR information header
2025-05-12 05:52:22 +00:00
Shivakumar Ningappa
85ad07a4d4 feat: [AH-902]: implement copy functionality for replication (#3739)
* feat: [AH-902]: change pointer to cloud location
* feat: [AH-902]: implement copy functionality for replication
2025-05-08 22:30:41 +00:00
Abhinav Singh
ad542f1e4e feat: [CODE-3821]: add missing params for openapi for list commits (#3769)
* feat: [CODE-3821]: add missing params for openapi for list commits
* feat: [CODE-3821]: add missing params for openapi for list commits
2025-05-08 18:37:58 +00:00
Dhruv Dhruv
ce881ad8a1 fix: [CDE-771]: Adding resource_name to resource metadata. (#3766)
* fix: [CDE-771]: Adding resource_name to resource metadata.
2025-05-08 03:11:10 +00:00
Sourabh Awashti
a2d443f030 feat:[AH-951]: fix download command for generic (#3765)
* feat:[AH-951]: fix download command for generic
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'release/registry-api_1.18.0' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* feat:[AH-1083]: url fix (#3669)

* feat:[AH-1083]: url fix
2025-05-07 11:59:30 +00:00
Deepak Bhatt
6c49605a9f Feat: [CDE-769]: fix gitspace event message (#3764)
* Feat: [CDE-727]: fix log message
2025-05-07 08:06:36 +00:00
Pragyesh Mishra
5f1e9ff0f2 [fix]: [AH-1262]: fix maven upload flow (#3760)
* [fix]: [AH-1262]: fix review comment
* [fix]: [AH-1262]: fix review comment
* [fix]: [AH-1262]: fix maven upload flow
2025-05-07 06:08:44 +00:00
Pragyesh Mishra
a0132a478b [fix]: [AH-1269]: Fixed account level upstream proxy flow for maven (#3762)
* [fix]: [AH-1269]: Fixed account level upstream proxy flow for maven
2025-05-06 18:50:00 +00:00
Pragyesh Mishra
50e56eb8f8 [feat]: [AH-1038]: nuget metadata apis (#3651)
* [fix]: [AH-1038]: fix pr check
* [fix]: [AH-1038]: fix pr check
* [fix]: [AH-1038]: Review comments
* [fix]: [AH-1038]: Review comments
* [fix]: [AH-1038]: Fixed pr check
* [fix]: [AH-1038]: Fixed pr check
* [fix]: [AH-1038]: Fixed pr check
* [fix]: [AH-1038]: Fixed review comments
* [fix]: [AH-1038]: merge conflict
* [fix]: [AH-1038]: Fixed upload logic
* [fix]: [AH-1038]: Fixed upload logic
* [fix]: [AH-1271]: fixed panic when we call this method with error or values types as input
* [fix]: [AH-1038]: add zip library
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into nuget-dev-2
* [feat]: [AH-1038]: added zipstream library
* [feat]: [AH-1038]: nuget metadata apis
* [feat]: [AH-1038]: nuget metadata apis
* [feat]: [AH-1038]: nuget metadata apis
2025-05-06 17:20:39 +00:00
Chanikya Reddy Tippireddy
d14f7f86e7 fix: [CODE-3647]: updated UI to show if PR is bypassed (#3759)
* fix: [CODE-3647]: renamed variable to prMergedInfo

renamed variable to prMergedInfo
and created const for areRulesBypassed = (payload?.payload as MergePayload)?.rules_bypassed
* fix: [CODE-3647]: fixed check for code alignment

fixed check for code alignment
* fix: [CODE-3647]: fixed check for code alignment

fixed check for code alignment
* fix: [CODE-3647]: updated UI to show if PR is bypassed

prefixed text - "branch" and added css to add right margin
* fix: [CODE-3647]: updated UI to show if PR is bypassed

updated UI to show if PR is bypassed
2025-05-06 11:29:06 +00:00
Karan Saraswat
0d67a5358f feat: [CODE-3530]: Return new file SHAs as part of commit API response (#3753)
* Apply suggestions from code review
* fixed formatting
* fixed fileRefs initialization
* Merge branch 'CODE-3530' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-3530
* addressed review comments
* Apply suggestion from code review
* addressed review comments
* Apply suggestions from code review
* feat: [CODE-3530]: Return new file SHAs as part of commit API response
2025-05-05 13:40:55 +00:00
Ritik Kapoor
0658c11bc7 fix: [CODE-2581] add SSH behind - CODE_SSH_ENABLED (#3756)
* fix: [CODE-2581] prettier
* Apply suggestion from code review
* fix: [CODE-2581] add SSH behind - CODE_SSH_ENABLED
2025-05-05 10:52:58 +00:00
Pragyesh Mishra
2ec6fb8a58 [fix]: [AH-952]: fix override of files for maven artifacts (#3692)
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: Fixed pr check
* [fix]: [AH-952]: fix override of files for maven artifacts
2025-05-02 18:54:52 +00:00
Vikyath Harekal
8d13a4beb3 feat: [CDE-753]: Fix backend handling of gitspace deletion requests (#3745)
* feat: [CDE-753]: Fix lint
* feat: [CDE-753]: Fix backend handling of gitspace deletion requests
2025-05-02 09:52:00 +00:00
Sourabh Awashti
8311ae2c2f feat:[AH-1260]: fix for yarn package install (#3747)
* feat:[AH-1260]: fix for yarn package install
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* Merge branch 'release/registry-api_1.18.0' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness
* feat:[AH-1083]: url fix (#3669)

* feat:[AH-1083]: url fix
2025-05-02 07:17:49 +00:00