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
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
Abhinav Singh
5aef4f53f8
feat: [CODE-3803]: add desc for swagger ( #3755 )
...
* Update types/repo.go
* feat: [CODE-3803]: add desc for swagger
* feat: [CODE-3803]: add desc for swagger
2025-05-01 20:17:14 +00:00
Arvind Choudhary
4f7dc32dcc
fix: [AH-1197]: Fixing table creation ( #3754 )
...
* [AH-1197]: Fixing table creation
2025-04-30 21:23:06 +00:00
Shivanand Sonnad
ebe634e5df
fix: [AH-1197]: fix failing OCI delete image and artifact ( #3741 )
...
* feat: [AH-1197]: update SQL migration queries for sqlite
* feat: [AH-1197]: fix failing tests
* feat: [AH-1197]: delete manifest on delete oci image
* feat: [AH-1197]: fix failing nodes because of foreign key constraint
* feat: [AH-1197]: remove unused functions
* feat: [AH-1197]: hard delete artifact and images for oci flow as well
* fix: [AH-1197]: fix failing OCI delete image and artifact
2025-04-30 20:31:14 +00:00
Darko Draskovic
988f6eff9b
feat: [CODE-3646]: Show if PR is bypassed ( #3725 )
...
* Add pullreq_merge_violations_bypassed to store list funcs
* Merge remote-tracking branch 'origin/main' into dd/pr-bypassed
* Rename pullreq_merge_bypassed to pullreq_merge_violations_bypassed
* Add false as state
* Merge remote-tracking branch 'origin/main' into dd/pr-bypassed
* Add merge- prefix
* Merge remote-tracking branch 'origin/main' into dd/pr-bypassed
* Add bypassed field to pullreq struct
* Show if PR is bypassed
2025-04-30 14:01:42 +00:00
Vikyath Harekal
8f7e024c9b
fix: [CDE-757]: Update instance state to error upon receiving error from resume operations ( #3751 )
...
* fix: [CDE-757]: Update instance state to error upon receiving error from resume operations
2025-04-30 09:45:56 +00:00
Tudor Macari
c62f822571
feat: [AH-1221]: Implement distributed locking for repo data ( #3731 )
...
* rebase
* feat: [AH-1221]: Implement distributed locking for repo data
2025-04-30 05:33:35 +00:00
Johannes Batzill
0d51e10332
chore: [CODE-3779]: add index for migrations table ( #3742 )
2025-04-28 21:01:06 +00:00
Ansuman Satapathy
8d0c8b2f1e
feat: [CDE-742]: add common scm auth functionality ( #3729 )
...
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
* feat: [CDE-742]: add common scm auth functionality
2025-04-24 12:15:36 +00:00
Darko Draskovic
a1969452b8
fix: [CODE-3460]: Update API path for pr update target branch ( #3662 )
...
* Revert to PUT for HTTP method
* Merge remote-tracking branch 'origin/main' into dd/target-branch-handler
* Update API path for pr update target branch
2025-04-22 11:36:26 +00:00
Ansuman Satapathy
febd3e3fc9
feat: [CDE-739]: added type github enterprise scm provider for cde ( #3708 )
...
* feat: [CDE-739]: added github enterprise scm provider for cde
* feat: [CDE-739]: added github enterprise scm provider for cde
2025-04-22 05:51:09 +00:00
Dhruv Dhruv
6c6dfdb0b9
feat: [CDE-718]: Updating sequence for cde-gateway related migration scripts. ( #3710 )
...
* feat: [CDE-718]: Updating sequence for cde-gateway related migration scripts.
2025-04-22 05:19:31 +00:00
Dhruv Dhruv
7c42a497e5
feat: [CDE-718]: Adding support for cde-gateways. ( #3696 )
...
* feat: [CDE-718]: Adding existence checks in cde-gateway related migration scripts.
* feat: [CDE-718]: Updating the report stats service.
* feat: [CDE-718]: Adding cde-gateway related tables and services.
2025-04-22 05:08:21 +00:00
Johannes Batzill
952a6d852f
feat: [CODE-3514]: make mediator public ( #3709 )
2025-04-22 01:33:04 +00:00
Johannes Batzill
dbb193e834
feat: [CODE-3514]: Track git writes per account ( #3671 )
2025-04-22 00:51:51 +00:00
Atefeh Mohseni Ejiyeh
bdfe97f77c
fix: [CODE-3545] Evict repo cache when deleting importing repositories ( #3699 )
2025-04-22 00:51:36 +00:00
Abhinav Singh
a4616af1fb
fix: [CODE-1944]: add failure ignored flag for check ( #3647 )
...
* fix: [CODE-1944]: add failure ignored flag for check
* fix: [CODE-1944]: add failure ignored flag for check
* fix: [CODE-1944]: add failure ignored flag for check
2025-04-21 21:01:58 +00:00
Atefeh Mohseni Ejiyeh
af75e56eb6
feat: [CODE-3546] update allowed states on LFS APIs for migrating repos ( #3707 )
2025-04-21 19:08:54 +00:00
Shivanand Sonnad
8b277e62d7
feat: [AH-1223]: Implement delete version for non oci package types ( #3684 )
...
* feat: [AH-1223]: fix failing go lint
* feat: [AH-1223]: fix failing go lint
* feat: [AH-1223]: file name change
* feat: [AH-1223]: file name change
* feat: [AH-1223]: fix go lint errors
* feat: [AH-1223]: add RPM package type in switch case
* feat: [AH-1223]: cascade delete download_stats and bandwidth_stats
* feat: [AH-1223]: resolve PR comments
* feat: [AH-1223]: resolve PR comments
* feat: [AH-1223]: fix failing go lint checks
* feat: [AH-1223]: add different switch case for delete based on package type
* feat: [AH-1223]: Implement delete version for non oci package types
2025-04-18 09:01:07 +00:00
Atefeh Mohseni Ejiyeh
df94dca3a7
feat: [CODE-3500] add Git LFS support to the repository setting ( #3672 )
2025-04-16 15:59:23 +00:00
Johannes Batzill
6b50985f20
fix: [CODE-3524]: Fix cache eviction for repo move operation, improve PR revert commit title ( #3686 )
2025-04-16 00:19:45 +00:00
Deepak Bhatt
691e692c21
Feat: [CDE-714]: add resource name as input parameter for infra provider validation ( #3683 )
...
* Feat: [CDE-714]: add resource name as input parameter for infra provider validation
2025-04-15 09:40:58 +00:00
Deepak Bhatt
9907c2e6bf
Feat: [CDE-580]: support jetbrains plugins installation and fix bug for provisioning existing infra ( #3676 )
...
* Feat: [CDE-580]: fix installation on multiple plugins
* Feat: [CDE-580]: fix nil pointer dereference and fix payload
* Feat: [CDE-580]: support jetbrains plugins installation
2025-04-15 04:47:17 +00:00
Atefeh Mohseni Ejiyeh
8945d977f9
fix: [CODE-3520] cast LFS object size to BIGINT for postgres compatibility ( #3681 )
2025-04-15 01:10:31 +00:00
Atefeh Mohseni Ejiyeh
af9eb2a94a
feat: [CODE-3520] update repo size calculator job to include Git LFS objects size ( #3680 )
2025-04-15 00:29:08 +00:00
Abhinav Singh
d5f1f27c34
feat: [CODE-2966]: add commit url to webhook ( #3659 )
...
* feat: [CODE-2966]: add commit url to commit ops
* Merge remote-tracking branch 'origin' into abhinav/CODE-2966
* feat: [CODE-2966]: add commit url to webhook
* feat: [CODE-2966]: add commit url to webhook
2025-04-14 21:23:12 +00:00
Ansuman Satapathy
e03b053205
feat: [CDE-651]: add gitlab and bitbucket on-prem ( #3674 )
...
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-603]: add SCM auth providers for bitbucket and gitlab
feat: [CDE-651]: add gitlab and bitbucket on-prem
* feat: [CDE-651]: add gitlab and bitbucket on-prem
2025-04-14 09:53:57 +00:00
Vikyath Harekal
46f6366728
feat: [CDE-722]: Sanitise config identifier ( #3670 )
...
* feat: [CDE-722]: Sanitize config identifier
* feat: [CDE-722]: Sanitize config identifier
2025-04-14 04:28:53 +00:00
Vikyath Harekal
31519b68d3
feat: [CDE-722]: Truncate gitspace config identifier to accommodate the unique identifier and -disk suffixes ( #3667 )
...
* feat: [CDE-722]: Truncate gitspace config name to accommodate the unique identifier and -disk suffixes
2025-04-11 12:59:41 +00:00
Darko Draskovic
da9a57f2c5
feat: [CODE-3461]: Add webhook trigger for PR target branch update ( #3661 )
...
* Add webhook trigger for PR target branch update
2025-04-10 14:58:53 +00:00
Marko Gaćeša
5e1b1b407e
feat: [CODE-3279]: revert PR API ( #3657 )
...
* pass the patch filename as a param to git
* revert doesn't return conflict
* revert PR API
2025-04-10 11:16:55 +00:00
Atefeh Mohseni Ejiyeh
414ecae70b
fix: [CODE-3501] condition check for unauthorized users in git and rest apis ( #3658 )
2025-04-09 22:02:58 +00:00
Sourabh Awashti
105afe37db
feat:[AH-1083]: Implementation of NPM registry ( #3608 )
...
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: merge conficts
* feat:[AH-1083]: merge conficts
* feat:[AH-1083]: merge conficts
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: fix checks
* feat:[AH-1083]: review changes
* feat:[AH-1083]: review changes
* feat:[AH-1083]: review changes
* feat:[AH-1083]: fix download_count
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: merge conflicst
* feat:[AH-1083]: bug fixes
* feat:[AH-1083]: bug fixes
* feat:[AH-1083]: bug fixes
* feat:[AH-1083]: review changes
* feat:[AH-1083]: review changes
* Merge branch 'main' into AH-1083
* feat:[AH-1083]: add get size and set size methods for metadata
* feat:[AH-1083]: remove remote implementation
* feat:[AH-1083]: Implementation of NPM registry
2025-04-09 21:19:49 +00:00
Darko Draskovic
8d7fc35548
fix: [CODE-3014]: Return 401 in case of unauthorized call without auth data ( #3634 )
...
* Remove IsAuthErr helper
* Merge remote-tracking branch 'origin/main' into dd/auth
* Fix registry tests
* Add IsAuthErr app api auth package
* Add hasAccess helper method
* Merge remote-tracking branch 'origin/main' into dd/auth
* Merge remote-tracking branch 'origin/main' into dd/auth
* Merge remote-tracking branch 'origin/main' into dd/auth
* Clean up controllers and handle anonymous in Check
* Return 401 in case of unauthorized call without auth data
2025-04-09 15:24:54 +00:00
Vikyath Harekal
0908924141
feat: [CDE-666]: Mark gitspace as stopped instead of deleted ( #3652 )
...
* feat: [CDE-666]: Remove debug logs
* feat: [CDE-666]: Remove debug logs
* feat: [CDE-666]: Debug
* feat: [CDE-666]: Debug
* feat: [CDE-666]: fix lint
* feat: [CDE-666]: Changes for suspend/resume flow
2025-04-09 05:32:10 +00:00
Vikyath Harekal
c0e68605f4
feat: [CDE-666]: Changes for suspend/resume flow ( #3644 )
...
* feat: [CDE-666]: fix lint
* feat: [CDE-666]: Changes for suspend/resume flow
2025-04-08 13:32:36 +00:00
Tudor Macari
c58fdbc4d0
fix: [AH-1153]: fix download count per image and per manifest ( #3609 )
...
* fix: [AH-1153]: fix query
* fix: [AH-1153]: fix download count per image and per manifest
2025-04-07 18:46:44 +00:00
Deepak Bhatt
30197968cc
fix: [CDE-712]: return original error in the error chain ( #3643 )
...
* fix: [CDE-712]: add error in the error chain
2025-04-07 08:26:18 +00:00
Darko Draskovic
cc64066d9a
fix: [CODE-1277]: Fix response pr ret val on target branch change not updated ( #3639 )
...
* Fix response pr ret val on target branch change not updated
2025-04-04 14:09:47 +00:00
Deepak Bhatt
205a25900f
feat: [CDE-693]: mv message map to enum package ( #3636 )
...
* fix: [CDE-693]: mv message map to enum package
2025-04-04 12:04:27 +00:00
Marko Gaćeša
f2245fa79c
feat: [CODE-3450]: fix openapi for pullreq count API ( #3635 )
...
* fix openapi for pullreq count API
2025-04-04 11:27:43 +00:00
Marko Gaćeša
28f012c577
feat: [CODE-3450]: add pullreq count API ( #3624 )
...
* add pullreq count API
2025-04-04 10:46:19 +00:00
Deepak Bhatt
80112d19fe
fix: [CDE-703]: use name metadata field to generate pool identifier ( #3633 )
...
* fix: [CDE-703]: use name metadata field to generate pool identifier
2025-04-04 10:12:36 +00:00
Deepak Bhatt
e7d7db57b4
feat: [CDE-693]: add gitspace events for delegate task submit and infra vm creation ( #3616 )
...
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-693
* feat: [CDE-693]: add new gitspace events
* feat: [CDE-693]: add gitspace events for delegate task submit and infra vm creation
2025-04-04 07:17:52 +00:00
Atefeh Mohseni Ejiyeh
3c22d6342a
fix: [CODE-3455] return full content on raw api for non-lfs content ( #3625 )
2025-04-03 20:03:56 +00:00
Abhinav Singh
6b521d3422
fix: [CODE-3440]: add fix for go get in cut out terminated path ( #3618 )
...
* fix: [CODE-3440]: add fix for go get in cut out terminated path
2025-04-02 21:29:22 +00:00
Atefeh Mohseni Ejiyeh
d3261ebc20
feat: [CODE-2528]: Update raw and get-content APIs to download lfs objects ( #3549 )
2025-04-02 21:28:41 +00:00
Atefeh Mohseni Ejiyeh
88d1f60157
feat: [CODE-3406] Add lfs checks to git pre-receive objects processor ( #3607 )
2025-04-02 16:55:36 +00:00
Deepak Bhatt
edcad7b744
fix: [CDE-706]: add ip-config for generating pool identifier ( #3612 )
...
* fix: [CDE-706]: lint
* fix: [CDE-706]: add ip-config for generating pool identifier
2025-04-02 12:55:00 +00:00