2447 Commits

Author SHA1 Message Date
Ritik Kapoor
f65eafa4fc fix: [CODE-2475] handle error for import-progress API failure (#2801)
* feat: [CODE-2475] address comments
* 

fix: [CODE-2475] resolve comments
* 

fix: [CODE-2475] lint check
* 

fix: [CODE-2475] handle error for import-progress API failure
2024-10-11 05:32:22 +00:00
Ritik Kapoor
f6ac58f036 feat: [CODE-2411] add support for Fast-forward merge (#2803)
* feat: [CODE-2411] add support for Fast-forward merge
2024-10-10 22:36:19 +00:00
Shivanand Sonnad
bbb7bce02a fix: [AH-484]: fix breaking ui when name is too big (#2799)
* fix: [AH-484]: fix breaking ui when name is too big
2024-10-10 07:36:14 +00:00
Kapil Garg
45be4fb7cb fix: [CDE-268]: add space path in resource input for update API (#2798)
* use parent space path
* add space path in resource input for update API
2024-10-10 06:43:41 +00:00
Abhinav Singh
f4659a0c31 fix: [CODE-2478]: fix swagger of webhook execution (#2796) 2024-10-10 00:43:28 +00:00
Johannes Batzill
966cd70c4a fix: [CODE-2489]: Expand detection of repo not found cases in git error parsing (#2797) 2024-10-09 22:53:10 +00:00
Yogesh Chauhan
069a2a9198 feat: [ML-338] Change PipelineContext yaml field name (#2794)
* Change PipelineContext yaml field name
2024-10-09 20:07:04 +00:00
Yogesh Chauhan
bd76bfe896 feat: [ML-338]: Use /chat/platform instead of /chat/gitness for AI foundation (#2792)
* 

USe /chat/platform instead of /chat/gitness
2024-10-09 18:36:01 +00:00
Marko Gaćeša
c628d3307d feat: [CODE-2483]: skip permission check for space pullreq API and fix the inner loop (#2791)
* skip permission check for space pullreq API and fix the inner loop
2024-10-09 10:43:32 +00:00
Deepesh Kumar
f2e382acbf feat: [CDE-356]: Added Usage metric component (#2790)
* 



feat: [CDE-356]: Added Usage metric component
* 



feat: [CDE-356]: Added Usage metric component
2024-10-09 09:50:33 +00:00
Ansuman Satapathy
2c8e0245c1 feat: [CDE-369]: call stop container for docker gitspaces (#2789)
* 

feat: [CDE-369]: call stop container for docker gitspaces
2024-10-09 09:44:16 +00:00
Yogesh Chauhan
72472f3b27 feat: [ML-338]: Rename return_pipeline_yaml capability to display_pipeline_yaml (#2776)
* Fix lint
* feat: [ML-338]: Rename return_pipeline_yaml capability to display_pipeline_yaml
2024-10-09 09:07:51 +00:00
Shivanand Sonnad
45341cd61e feat: [AH-342]: support container scanner select in docker registry configuration section (#2781)
* feat: [AH-342]: resolve comments
* feat: [AH-342]: support container scanner select in docker registry configuration section
2024-10-09 08:10:37 +00:00
Ansuman Satapathy
160d1a28dd feat: [CDE-369]: delete stopped gitspaces gracefully (#2784)
* feat: [CDE-369]: delete stopped gitspaces
2024-10-08 16:23:31 +00:00
Akhilesh Pandey
e3b3e983fd feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch (#2686)
* feat: [CODE-2312]: address resourcename to commit.go
* feat: [CODE-2312]: address failure due to exceeding limit on resource labels
* feat: [CODE-2312]: lint
* feat: [CODE-2312]: MERGE
* feat: [CODE-2312]: Update wire
* feat: [CODE-2312]: update ui labels
* feat: [CODE-2312]: update resource and action
* feat: [CODE-2312]: Audit log new action : bypassed
* feat: [CODE-2312]: audit log object update
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: audit logging changes for commit, merge, create and delete branch
* Merge branch 'main' into akp/CODE-2312
* Merge branch 'main' into akp/CODE-2312
* feat: [CODE-2312]: introduce parser and enclosing method
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-10-08 16:20:56 +00:00
Marko Gaćeša
449435c9af feat: [CODE-1474]: fix allowed methods in merge dry run (#2783)
* fix allowed methods in merge dry run
2024-10-08 16:20:34 +00:00
Darko Draskovic
27b0d972f2 feat: [PIPE-22362]: Create openapi spec for user/tokens endpoint (#2782)
* Create openapi spec for user/tokens endpoint
2024-10-08 12:44:57 +00:00
Abhinav Singh
9e8775e1a2 techdebt: [CODE-2481]: remove ctrl k from search ui (#2779)
* Update web/src/components/CodeSearch/CodeSearch.tsx
* Update web/src/components/CodeSearch/KeywordSearch.tsx
* techdebt: [CODE-2481]: remove ctrl k from search ui
2024-10-08 05:29:34 +00:00
Deepak Bhatt
f1cb9986c2 fix: [CDE-202]:udpate query for bulk update git instance state (#2777)
* add update all
* udpate query for bulk update git instance state
2024-10-07 15:51:31 +00:00
Shivanand Sonnad
8b53e5b92a feat: [AH-341]: support download SLSA report from artifact registry (#2771)
* feat: [AH-341]: update spelling mistake
* Merge branch 'feat-AH-341' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into feat-AH-341
* feat: [AH-341]: update api schema to fix type errors
* feat: [AH-341]: support download SLSA report from artifact registry
* feat: [AH-341]: update api schema to fix type errors
* feat: [AH-341]: support download SLSA report from artifact registry
2024-10-07 12:03:26 +00:00
Deepak Bhatt
f62a6e5e68 feat: [CDE-202]: add(git instance store): add methods to get dead gitinstances and bulk update state (#2774)
* update where clause
* fix sql query
* update comment
* fix lint
* add function to find dead gitinstances
2024-10-07 11:27:09 +00:00
Atefeh Mohseni Ejiyeh
f1efecefee fix: [CODE-2474]: handle import-progress API response for importing repos via the migrator (#2772) 2024-10-04 22:02:41 +00:00
Marko Gaćeša
2892378036 feat: [CODE-1474]: add check PR rebaseability (#2763)
* update migration number
* rename UpdateConflict->UpdateMergeOutcome
* small fixes
* handle mergeability for all merge methods
* alway separate rebaseability check
* add check PR rebaseability
2024-10-04 12:36:32 +00:00
Dhruv Dhruv
4e2c9fae28 feat: [CDE-358]: Setting initial value of has_git_changes from last gitspace instance if it exists. (#2770)
* feat: [CDE-358]: Setting initial value of has_git_changes from last gitspace instance if it exists.
2024-10-04 09:39:58 +00:00
Shivanand Sonnad
f9d8b647f1 feat: [AH-424]: create a separate build command for ar module (#2765)
* feat: [AH-424]: craete a separate build command for ar module
2024-10-04 06:42:45 +00:00
Ansuman Satapathy
fd550b9555 feat: [CDE-336]: findAll gitspace query fixed (#2769)
* feat: [CDE-336]: findAll gitspace query fixed
2024-10-04 06:22:40 +00:00
Dhruv Dhruv
1560f5de97 feat: [CDE-358]: Adding has_git_changes field to gitspace instance db and API. (#2768)
* feat: [CDE-358]: Removing redundant field  tracked_changes.
* feat: [CDE-358]: Adding has_git_changes field to gitspace instance db and API.
2024-10-03 16:55:07 +00:00
Tudor Macari
138cebe6d4 feat: [AH-339]: refactor garbage collector (#2761)
* resolve comments
* fix formatting
* refactor gc
2024-10-03 11:03:33 +00:00
Ansuman Satapathy
2e2cbfa825 feat: [CDE-336]: gitspace active time, and list inactive optimize (#2766)
* feat: [CDE-336]: gitspace active time, and list inactive optimize
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: gitspace active time, and list inactive optimize
* feat: [CDE-336]: gitspace active time, and list inactive optimize
* feat: [CDE-336]: gitspace active time, and list inactive optimize
2024-10-03 10:32:22 +00:00
Dhruv Dhruv
fcc4f4b142 feat: [CDE-364]: Adding checks and logging for active time calculation during instance update. (#2767)
* feat: [CDE-364]: Adding checks and logging for active time calculation during instance update.
2024-10-03 08:53:53 +00:00
Deepesh Kumar
0e8dc4e544 feat: [CDE-367]: fixed generating repoIdentifier and repoName (#2764)
* chore: Sycn with main
* feat: [CDE-367]: fixed generating repoIdentifier and repoName
* feat: [CDE-348]: Stop showing failure notification for logs
2024-10-03 06:01:57 +00:00
Arvind Choudhary
8e4fd70ef0 feat: [AH-406]: Added Registry Metrics for OSS (#2760)
* [AH-406]: Fixes for review comments
* [AH-406]: Added Registry Metrics for OSS
2024-10-02 21:49:26 +00:00
Ansuman Satapathy
a802fc8d29 feat: [CDE-336]: call gitspaces stop only when required. (#2762)
* feat: [CDE-336]: call stop only when required.
* feat: [CDE-336]: call stop only when required.
* feat: [CDE-336]: call stop only when required.
2024-10-02 08:31:28 +00:00
Shivanand Sonnad
40a9472d4d fix: [AH-421]: fix issue with double encoding in UI for artifact name in url params (#2757)
* fix: [AH-421]: fix issue with double encoding in UI for artifact name in url params
2024-10-02 02:38:46 +00:00
Dhruv Dhruv
eeb4688b59 feat: [CDE-357]: Removing error annotation from errors coming from resource limiters. (#2755)
* feat: [CDE-357]: Removing error annotation from errors coming from resource limiters.
2024-10-01 12:05:03 +00:00
Ansuman Satapathy
fdafa16687 feat: [CDE-336]: add methods to get inactive (#2754)
* feat: [CDE-336]: move cde action to service and store method for inactive.
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
2024-10-01 10:26:27 +00:00
Shivakumar Ningappa
b761fa9de1 feat: [AH-364]: SSCA/STO integrations - global artifacts, summary card (#2752)
* feat: [AH-364]: SSCA/STO integrations - global artifacts, summary card: review comments
* feat: [AH-364]: SSCA/STO integrations - global artifacts, summary card
2024-09-30 22:11:42 +00:00
Ritik Kapoor
3e7ee33b94 fix: [CODE-2418] add routing id to labels (#2749)
* fix: [CODE-2418] add routing id to labels
2024-09-30 11:21:46 +00:00
Dhruv Dhruv
a1a4e3fe06 feat: [CDE-353]: Adding gitspace instance store method to calculate active time for all gitspaces between a given time window and filtered by a list of space IDs. (#2748)
* feat: [CDE-353]: Adding gitspace instance store method to calculate active time for all gitspaces between a given time window and filtered by a list of space IDs.
2024-09-30 08:35:14 +00:00
Dhruv Dhruv
077256b69c feat: [CDE-354]: Adding gitspace usage limiter & checking usage before creation and start. (#2745)
* feat: [CDE-354]: Adding gitspace usage limiter & checking usage before creation and start.
2024-09-26 13:50:17 +00:00
Deepesh Kumar
8ad93b78c8 feat: [CDE-348]: Stop showing failure notification for logs (#2747)
* feat: [CDE-348]: Stop showing failure notification for logs
2024-09-26 13:09:56 +00:00
Tudor Macari
4da5778f21 fix: [AH-413]: add file to FS (#2746)
* add header
* fix name
* add file to FS
2024-09-26 12:52:07 +00:00
Dhruv Dhruv
efcfd92517 feat: [CDE-350]: Adding columns for active time start and end in gitspace table. (#2744)
* feat: [CDE-350]: Adding columns for active time start and end in gitspace table.
2024-09-26 10:35:42 +00:00
Deepesh Kumar
05b4a99061 feat: [CDE-352]: show resource details in CDE list (#2743)
* feat: [CDE-352]: show resource details in CDE list
* feat: [CDE-352]: show resource details in CDE list
* feat: [CDE-352]: show resource details in CDE list
2024-09-26 09:33:08 +00:00
Ansuman Satapathy
827305afdb feat: [CDE-336]: update heartbeat for gitspace instance (#2742)
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
* feat: [CDE-336]: update heartbeat for gitspace instance
2024-09-26 08:27:34 +00:00
Ritik Kapoor
9f38e07bf3 fix: [CODE-2406] pr link in pr listing (#2740)
* fix: [CODE-2406] pr link in pr listing
v3.0.0
2024-09-25 11:58:35 +00:00
Deepesh Kumar
51020b71e7 feat: [CDE-348]: updated logs container behaviour (#2739)
* feat: [CDE-348]: updated logs container behaviour
2024-09-25 10:50:45 +00:00
Shivanand Sonnad
8f2744668c feat: [AH-370]: export create registry button from gitness to use in harness ng ui (#2737)
* feat: [AH-370]: export create registry button from gitness to use in harness ng ui
2024-09-25 09:24:00 +00:00
Pragyesh Mishra
2b3b8b3503 [feat]: [AH-363]: made few fields public in RegistryRequestParams (#2734)
* [feat]: [AH-363]: made few fields public in RegistryRequestParams
* [feat]: [AH-363]: made few fields public in RegistryRequestParams
2024-09-25 05:21:46 +00:00
Arvind Choudhary
31ec4d1069 feat: [AH-231]: Upstream features (#2733)
* [AH-231]: Updated PR comments and some artifact/image issues
* [AH-231]: Cleanup extra table
* [AH-231]: Updated versions
* [AH-231]: Lint fixed
* [AH-231]: Merge commit
* [AH-231]: Updated logic to get child manifests
* [AH-231]: Updated sleep time
* [AH-231]: Completed implementation of manifest lists
* [AH-231]: Updated manifest list flows
* [AH-231]: Temp changes
* [AH-231]: Wiring fixed
* [AH-231]: Initial commit; minor fixes
* [AH-307]: Updated lint
* fix comment
* add new method to spacestore
* feat: [AH-307]: fix after rebase with main
* [AH-307]: Removing comments
* [AH-307]: linting fixes
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events (#2657)

* feat: [AH-286]: publish artifact event - no row found is not error
* feat: [AH-286]: publish artifact event - no row found is not error
* feat: [AH-286]: publish artifact event - lint errors, move publishing event outside DB transaction
* feat: [AH-286]: publish artifact event - review comments
* feat: [AH-286]: publish artifact event - address review comments
* feat: [AH-286]: publish artifact event - keep payload generic
* feat: [AH-286]: publish artifact event - as sqlite locks DB, perform db operation outside goroutine publishing of events
* feat: [AH-286]: publish artifact event - make publishing event async
* feat: [AH-286]: publish artifact event - use api types
* feat: [AH-286]: Publish event for SSCA to trigger scans - no need to export spacePathStore
* feat: [AH-286]: Publish event for SSCA to trigger scans - send spacePath instead of parentID
* feat: [AH-286]: Publish event for SSCA to trigger scans - rename scanner as generic reporter
* feat: [AH-286]: Publish event for SSCA to trigger scans - rename scanner as generic reporter
* feat: [AH-286]: publish artifact event - reuse redis.Send()
* feat: [AH-286]: Publish event for SSCA to trigger scans - review comments
* feat: [AH-286]: Publish event for SSCA to trigger scans - remove unused interface
* feat: [AH-286]: Publish event for SSCA to trigger scans - update msg format
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-286]: Publish event for SSCA to trigger scans - extract acctID/orgID/projectID from spacepathStore
* feat: [AH-286]: publish artifact event - remove protobuf reference, fix lint errors
* feat: [AH-286]: publish artifact event - fix msg format
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-286]: define proto, interface and no-op reporter implementation to publish artifact events
* feat: [AH-321]: make repo form disabled for rbac (#2687)

* feat: [AH-321]: make repo form disabled for rbac
* fix wire-gen
* GC refactoring
* feat: [AH-340]: update UI as per the product feedbacks (#2685)

* feat: [AH-340]: update UI as per the product feedbacks
* feat: [AH-44]: add module data while redirecting to pipeline execution page
* feat: [AH-44]: add build pipeline details in overview cards
* feat: [AH-44]: update view for prod and non prod tag
* feat: [AH-44]: rearrange filters on artifact list apge
* feat: [AH-10]: add schema for overview cards, update artifact list, add ai search input, update api for registry artifact list and update mapping for deployments table
* feat: [AH-307]: add secretSpacePath in upstream password field while sending to BE (#2631)

* feat: [AH-307]: add secretSpacePath in upstream password field while sending to BE
* feat: [AH-299]: support new changes for artifact list page (#2630)

* feat: update har service api version
* feat: [AH-30]: integrate API schema for deployments list content
* feat: [AH-300]: update tag colors for prod and non prod tags
* feat: [AH-300]: Add Deployments table in artiface version details page
* feat: [AH-299]: support new changes for artifact list page
* feat: [AH-299]: support new changes for artifact list page
* feat: [AH-321]: support artifact registry rbac permission on UI (#2671)

* feat: [AH-321]: support artifact registry rbac permission on UI
* enable rbac (#2664)

* fix scope
* enable rbac
* feat: [AH-307]: hide code tab from version details page for both docker and helm
* feat: [AH-240]: add custom handling for enterprise auth type field
* Merge branch 'AH-307-plus-url-support-2_no_rbac' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2_no_rbac
* feat: [AH-307]: send space_ref in query param while creating registries
* lowercase rootRef
* [AH-307]: updated route
* [AH-307]: Added logs
* [AH-307]: Added logs
* feat: [AH-317]: add space_ref query param
* local
* Merge commit
* Merge commit
* Merge commit
* Added comments
* Revert changes
* Merge commit
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* Merge branch 'AH-306d' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* fix space path handling
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-307-plus-url-support-2
* Updated URLs to support slashes with + separator
* fix: [AH-306c]: fix anonymous flow
* fix: [AH-306c]: fix anonymous flow
* feat: [AH-307]: plus url support on UI

(cherry picked from commit 3fb6add3ce03498b6668b5f8f6d547e1acedaec4)
* [AH-307]: Added examples

(cherry picked from commit e83e41303da536f421be333be04aed09fbf75f5f)
* [AH-307]: Added Regex request rewrite support

(cherry picked from commit ed7b155256bdcd1134bc228b5705556a1233add6)
* fix: [AH-306c]: fix anonymous flow
2024-09-25 05:08:26 +00:00