Commit Graph

3074 Commits

Author SHA1 Message Date
Marko Gaćeša
164fa4153d feat: [CODE-3309]: move shared repo root dir to the same parent dir as the repos (#3517)
* removed the not-exist error check for MkdirAll
* move shared repo root dir to the same parent dir as the repos
2025-03-05 21:16:00 +00:00
Marko Gaćeša
b347c0f347 fix: [CODE-3307]: remove invalid file from repo if copy from sharedrepo fails (#3515)
* remove invalid file from repo if copy from sharedrepo fails
2025-03-05 21:00:43 +00:00
Shivanand Sonnad
f5b49c6bab feat: [AH-979]: update view for showing vulnerability scan status in digest list table (#3509)
* feat: [AH-979]: update view for showing vulnerability scan status in digest list table
2025-03-05 14:04:56 +00:00
Shivanand Sonnad
4ff47b0c41 feat: [AH-932]: fix issue with pulling upstream artifacts when added after docker hub proxy (#3507)
* feat: [AH-932]: fix issue with pulling upstream artifacts when added after docker hub proxy
* feat: [AH-932]: fix issue with pulling upstream artifacts when added after docker hub proxy
* feat: [AH-932]: fix issue with pulling upstream artifacts when added after docker hub proxy
2025-03-05 13:52:43 +00:00
Shivanand Sonnad
285cb1b9ba feat: [AH-1020]: support delete artifact action on registry artifact list and artifact details page (#3497)
* feat: [AH-1020]: fix failing unit tests
* feat: [AH-1020]: enode artifact key before calling api
* feat: [AH-1020]: add unit test for registry artifact list tables
* feat: [AH-1020]: support delete artifact action on registry artifact list and artifact details page
2025-03-04 12:07:03 +00:00
Shivanand Sonnad
efcefd3c10 feat: [AH-973]: Support npm version artifact details (#3486)
* feat: [AH-973]: add config in webpack to support @uiw/react-markdown-preview in build
* feat: [AH-973]: add moduleNameMapper for @uiw/react-markdown-preview in jest config
* feat: [AH-973]: update package type in npmVersionType
* feat: [AH-973]: Support npm version artifact details
2025-03-04 11:58:01 +00:00
Dhruv Dhruv
4d7c6addde feat: [CDE-660]: Adding support for listing and (soft) deleting infra provider configs. (#3502)
* Fixing gitspace instance state enum.
* feat: [CDE-660]: Adding support for listing and (soft) deleting infra provider configs.
2025-03-04 06:35:19 +00:00
Arvind Choudhary
6d739f624a feat: [AH-987]: New Package Routing implementation done (#3490)
* [AH-987]: Updated lint issues
* [AH-987]: Formatting fixes
* [AH-987]: Base changes
* [AH-987]: Base changes
2025-03-03 22:07:31 +00:00
Johannes Batzill
1d73543050 chore: [CODE-3294]: Return 'id' for principal,user,service-account,service, and user group (#3501) 2025-03-03 18:13:49 +00:00
Darko Draskovic
bb82438965 feat: [CODE-3278]: Add PR activity for reviewers that were added on PR creation (#3499)
* Reuse PullRequestActivityPayloadReviewerAdd and amend it with PrinciaplIDs
* Remove unused and redundant activity (sub)type
* Merge remote-tracking branch 'origin/main' into dd/pr-reviewer-creation-activity
* Replace store individual activity per reviewer added with store batch
* Add PR activity for reviewers that were added on PR creation
2025-03-03 16:07:01 +00:00
Karan Saraswat
50caca099f feat: [CODE-3205]: restrict importing duplicate repos while importing (#3471)
* feat: [CODE-3205]: restrict importing duplicating repos while importing
2025-03-02 04:55:16 +00:00
Atefeh Mohseni Ejiyeh
2480779cdc fix: [CODE-3249]: Silent not found error on delete git repository (#3477) 2025-03-01 01:55:35 +00:00
Karan Saraswat
eef1c49da4 fix: [CODE-3285]: send full reference names in calculate-divergencies call (#3498)
* fix: [CODE-3285]: send full reference names in calculate-divergencies call
2025-02-28 17:30:12 +00:00
Marko Gaćeša
d5db990c82 techdebt: [CODE-3276]: remove direct usage of SpacePathStore (#3495)
* remove direct usage of SpacePathStore
2025-02-28 14:18:30 +00:00
Neel Khamar
16bcc1ad02 feat: [CDE-648]: Added new parameter in createGitspace payload (#3491)
* Updated the service
* Modified the index.tsx in services/cde
* feat: Added new parameter in the createGitspace payload
2025-02-28 11:20:57 +00:00
Darko Draskovic
98c18995f0 feat: [CODE-3235]: Send notifications to reviwers added on pullreq create (#3489)
* Send notifications to reviwers added on pullreq create
2025-02-27 15:53:08 +00:00
Shivanand Sonnad
149fd2ce01 feat: [AH-885]: fix issue with delete webhook modal in enterprise version (#3488)
* feat: [AH-885]: fix issue with delete webhook modal in enterprise version
2025-02-27 14:44:39 +00:00
Dhruv Dhruv
26cda57360 feat: [CDE-636]: Adding config metadata to infra provider methods parameters. (#3487)
* feat: [CDE-636]: Fixing infra provider config update logic.
* feat: [CDE-636]: Adding config metadata to infra provider methods parameters.
* feat: [CDE-636]: Adding config metadata to infra provider methods parameters.
2025-02-27 14:35:48 +00:00
Tudor Macari
11dddf1221 feat: [AH-349]: remove isLatest field (#3482)
* feat: [AH-349]: fix lint issues
* feat: [AH-349]: remove isLatest field
2025-02-27 05:18:50 +00:00
Shivanand Sonnad
563fedf028 fix: [AH-818]: fix configure upstream proxy order change is not working (#3447)
* feat: [AH-818]: fix go lint errors
* feat: [AH-818]: fix PR comments
* feat: [AH-818]: fix PR comments
* feat: [AH-818]: fix linting errors
* feat: [AH-818]: fix failing lint test
* fix: [AH-818]: fix configure upstream proxy order change is not working
2025-02-27 04:53:27 +00:00
Darko Draskovic
cad0fbdf98 feat: [CODE-3256]: Add merge verify rule info related to minimum required approvals count for default reviewers (#3483)
* Merge remote-tracking branch 'origin/main' into dd/merge-verify-rules
* Replace princiapl ids with infos in merge verify response
* Populate DefaultReviewerApprovalsResponse with principal ids and current count
* Add MergeVerifyRulesResponse type
2025-02-26 17:56:59 +00:00
Shivanand Sonnad
d226aded79 feat: [AH-972]: Implement npm version overview card tab content (#3479)
* feat: [AH-972]: support links in labelValueContent component
* feat: [AH-972]: remove name and version from version overview content
* feat: [AH-972]: Implement npm version overview card tab content
2025-02-26 16:20:14 +00:00
Arvind Choudhary
2489ff8e15 fix: [AH-865]: Updated encode logic to support multiple separators in the path (#3465)
* [AH-865]: Updated tests
* [AH-865]: Updated tests
* [AH-865]: Updated test flow
* [AH-865]: Simplying code:
* [AH-865]: Formatting fixed
* [AH-865]: Updated encode logic to support multiple separators in the path
2025-02-26 02:27:52 +00:00
Atefeh Mohseni Ejiyeh
e89e44f847 fix: [CODE-3257]: Repo path if parent space is soft deleted (#3484) 2025-02-26 02:15:53 +00:00
Karan Saraswat
97ea469c8a feat: [CODE-3253]: Remove lifecycle restriction check from /archive endpoint (#3481)
* feat: [CODE-3253]: Remove lifecycle restriction check from /archive endpoint
2025-02-25 16:57:46 +00:00
Darko Draskovic
df7ac77361 feat: [CODE-3233]: Automatically add default reviewers based on rules (#3464)
* Fix tests
* Amend on protection rules verify to include the entire rule output data
* Merge remote-tracking branch 'origin/main' into dd/rule-reviewers
* Fix protection.Branch init in mapToBranchRules
* Amend MergeVerify to include number of default reviewer approvals
* Merge remote-tracking branch 'origin/main' into dd/rule-reviewers
* Refactor add code owners as reviewers to include add default reviewers
* Automatically add default reviewers based on rules
2025-02-25 15:52:59 +00:00
Sourabh Awashti
3f22a569b4 feat: [AH-998]: fixing lint issue in registry service (#3478)
* feat: [AH-998]: fixing lint issue in registry service
2025-02-25 14:18:14 +00:00
Shivanand Sonnad
91ce92080a feat: [AH-932]: fix for docker hub images with library prefix (#3454)
* feat: [AH-932]: fix go lint errors
* feat: [AH-932]: fix go lint errors
* feat: [AH-932]: fix for docker hub images with library prefix
2025-02-25 07:37:53 +00:00
Shivanand Sonnad
6420c0b5d0 feat: [AH-971]: add support for npm artifact list, artifact details, version list (#3475)
* feat: [AH-971]: add support for npm artifact list, artifact details, version list
2025-02-25 07:10:43 +00:00
Marko Gaćeša
fb8084293e feat: [CODE-3247]: Add merge base sha to webhook payload (#3474) 2025-02-24 20:11:17 +00:00
Marko Gaćeša
9cd8e34cce techdebt: [CODE-3209]: move caches to store package (#3449)
* fix test
* Merge remote-tracking branch 'origin/main' into mg/cache/move-caches-to-store
* use pointers to types for evictor
* gob decoder requires ptr
* update pubsub namespace
* add generic evictor, clear cache on space update
* Merge remote-tracking branch 'origin/main' into mg/cache/move-caches-to-store
* added the missing MarkChanged call in spaces soft delete
* move caches to store package
2025-02-24 17:37:49 +00:00
Shivanand Sonnad
620a6cbb25 feat: [AH-969]: add new package type NPM (#3463)
* feat: [AH-969]: add new package type NPM
* feat: [AH-969]: Support NPM in create/edit registry and create/edit upstream registry
2025-02-24 07:53:45 +00:00
Karan Saraswat
3a1348893d feat: [pipe-25436]: restrict user from updating harness-filestore repo (#3472)
* feat: [pipe-25436]: restrict user from updating harness-filestore repo
2025-02-24 06:47:36 +00:00
Dhruv Dhruv
f237a1f256 feat: [CDE-600]: Adding support to generate and populate setup yaml file in the infra config response. (#3466)
* feat: [CDE-600]: Adding support to generate and populate setup yaml file in the infra config response.
2025-02-24 04:30:14 +00:00
Karan Saraswat
02fe8c076f feat: [CODE-3150]: Validate repo identifier while importing repositories (#3445)
* feat: [CODE-3150]: Validate repo identifier while importing repositories
2025-02-22 11:23:39 +00:00
Ritik Kapoor
f3c646190f fix: [CODE-2944] remove button removes multiple id users and sa in bypass list (#3467) 2025-02-21 18:29:51 +00:00
Marko Gaćeša
53142b18a8 techdebt: [CODE-3218]: use context.WithoutCancel in contextutil (#3457) 2025-02-20 19:20:48 +00:00
Darko Draskovic
e39ae83e78 feat: [CODE-2987]: Add codeowners as reviewers (#3439)
* Handle violations in branch CreatePullReqVerify
* Merge remote-tracking branch 'origin/main' into dd/codeowner-reviewers
* Add PullReq infix to Create rule interface and dedup reviewers in PR create
* Add create field to pullreq field in rule def
* Add codeowners as reviewers
2025-02-20 16:03:06 +00:00
Shivanand Sonnad
3fee159170 feat: [AH-979]: move filtering rule to security section in registry configuration form (#3461)
* feat: [AH-979]: fix failing unit tests
* feat: [AH-979]: move filtering rule to security section in registry configuration form
2025-02-20 13:48:21 +00:00
Ansuman Satapathy
5173a358e2 fix: [CDE-651]: handle no metadata for infraproviders (#3460)
* fix: [CDE-651]: handle no metadata for infraproviders
2025-02-20 05:24:36 +00:00
Atefeh Mohseni Ejiyeh
0f3115e604 fix: [CODE-3189]: listing deleted repos in the cleanup job (#3423) 2025-02-19 22:37:07 +00:00
Shivakumar Ningappa
5f7808a2da feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID (#3443)
* feat: [AH-925]: fix lint errors
* feat: [AH-925]: keep original context and also async flow. also keep the linter
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - fix lint errors by ignoring problematic contextcheck
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - lint errors
* feat: [AH-925]: rebase main
* feat: [AH-925]: rebase main
* feat: [AH-925]: rebase main
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID - fix lint
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: add cache for space_paths: replace DB calls for look up by spaceID
* feat: [AH-925]: rebase main
2025-02-19 21:03:21 +00:00
Enver Biševac
bab50ed39e feat: [code-3149]: golangci-lint missing --new-from-merge-base flag (#3459)
* fix: golangci-lint missing --new-from-merge-base flag
2025-02-19 18:37:59 +00:00
Enver Biševac
b1aa127cc0 feat: [code-3149]: local linting (#3458)
* fix: local linting
2025-02-19 17:28:59 +00:00
Atefeh Mohseni Ejiyeh
10a3e635b7 fix: [PIPE-25291]: Added openapi endpoint for repo "import-progress" api (#3452) 2025-02-19 16:04:07 +00:00
Shivanand Sonnad
be4291baef feat: [AH-885]: fix breaking UI because of secret input in create webhook form (#3456)
* feat: [AH-885]: fix breaking UI because of secret input in create webhook form
2025-02-19 11:45:26 +00:00
Sourabh Awashti
6f7382d9e6 feat:[AH-945]: fix query for fetching storage details (#3455)
* feat:[AH-945]: fix query for fetching storage details
* feat:[AH-945]: fix query for fetching storage details
2025-02-19 09:49:03 +00:00
Dhruv Dhruv
31d15dc8eb feat: [CDE-637]: Changes to support hybrid's infra resources. (#3453)
* Linting
* Refactoring db query in infra resource store for pq support.
* Using a default value of infra config identifier if not present in the create gitspace request.
* feat: [CDE-637]: Decoupling infra resource mgmt from config. Adding soft delete support to infra resource table.
* Making infra provider resource unique to config and space.
2025-02-19 06:45:24 +00:00
Johannes Batzill
8732b64aa8 fix: [CODE-3210]: Move error logs on translation layer to verbosity level info (#3451) 2025-02-18 19:51:52 +00:00
Shivanand Sonnad
b5e78f3300 feat: [AH-885]: fix issue with showing request and response body of webhook execution (#3448)
* feat: [AH-885]: fix issue with showing request and response body of webhook execution
2025-02-18 11:58:32 +00:00