Commit Graph

740 Commits

Author SHA1 Message Date
Arvind Choudhary
15f4adcbe0 feat:[AH-628]: File manager framework DB migration and objects (#3207)
* Merge commit
* [AH-628]: Updated schema
2024-12-30 11:09:06 +00:00
Ansuman Satapathy
de86d126a5 feat: [CDE-573]: refactor to reduce number of utils. (#3208)
* feat: [CDE-573]: refactor to reduce number of utils.
* feat: [CDE-573]: refactor to reduce number of utils.
2024-12-30 04:59:16 +00:00
Arvind Choudhary
5d17af97d3 feat:[AH-628]: File manager framework DB migration and objects (#2954) (#3206)
* Revert "feat:[AH-628]: File manager framework DB migration and objects (#2954)"

This reverts commit ea1d934dec.
2024-12-26 21:49:35 +00:00
Sourabh Awashti
ea1d934dec feat:[AH-628]: File manager framework DB migration and objects (#2954)
* [AH-628]: Renamed files
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-628
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: review changes
* feat:[AH-628]: fix uts
* feat:[AH-628]: fix node object
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* feat:[AH-628]: change in DB objects
* Merge branch 'main' into AH-628
* feat:[AH-628]: review changes
* feat:[AH-628]: file manager changes with some DB and swagger changes
* feat:[Ah-628]: File manager framwork migrations
2024-12-26 19:34:12 +00:00
Ansuman Satapathy
c54e09908b feat: [CDE-573]: refactor to reduce utils (#3204)
* feat: [CDE-573]: refactor to reduce number of utils.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
2024-12-26 10:50:27 +00:00
Ansuman Satapathy
cafa55b2e5 feat: [CDE-573]: refactor to reduce number of abstractions and modules. (#3203)
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
2024-12-26 08:58:41 +00:00
Ansuman Satapathy
d89825d317 feat: [CDE-573]: refactor to reduce number of abstractions and modules. (#3199)
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
* feat: [CDE-573]: refactor to reduce number of abstractions and modules.
2024-12-26 05:11:54 +00:00
Marko Gaćeša
2b959817d5 feat: [CODE-2862]: put space fetch behind a cache (#3201)
* replaced type of the inner cache to SpaceCache
* put space fetch behind a cache
2024-12-25 11:37:40 +00:00
Enver Biševac
b9de5c7217 feat: [code-2978]: show schema models in swagger ui (#3195)
* show schema models in swagger ui
2024-12-23 21:42:58 +00:00
Enver Biševac
c94a181e7e fix: [code-2912]: minor improvements, requested changes (#3197)
* minor improvements, requested changes
2024-12-23 16:20:40 +00:00
Darko Draskovic
9d4fc2c796 feat: [CODE-2975]: Add reviewers creation to pull req creation (#3182)
* Put pull req creation in tx
* Fix auth error handling and struct/json key/field name
* Merge remote-tracking branch 'origin/main' into dd/pr-create-reviewers
* Move create reviewers functionality into a helper func
* Add reviewers creation to pull req creation
2024-12-23 14:48:52 +00:00
Tudor Macari
a91783b6bc feat: [AH-744]: refactor GetUIBaseURL (#3183)
* feat: [AH-744]: refactor GetUIBaseURL
2024-12-21 14:26:18 +00:00
Enver Biševac
785c5c2942 feat: [code-2976]: replace go-chi with chi v5 (#3186)
* replace go-chi v1.5.5 with chi v5
2024-12-20 18:16:33 +00:00
Enver Biševac
a178e629ea fix: [code-2912]: issue with pq sql (#3185)
* requested changes
* fix issue with pqsql
2024-12-20 17:41:41 +00:00
Enver Biševac
db38802e83 feat: [code-2912]: usage service implementation (#3168)
* feat: [code-2912]: rest and ui changes (#3178)

* requested changes
* rest and ui changes
* requested changes
* add midleware to raw and archieve endpoints
* wire fixed
* requested changes
* Merge remote-tracking branch 'origin/main' into eb/code-2912
* added initial values from db
* minor improvements
* requested changes
* remove check for bandwidth
* wiring dep
* improved test
* limits check added
* config added, minor improvements
* usage service implementation
2024-12-20 10:28:47 +00:00
Deepak Bhatt
4f739d5127 feat: [CDE-563]: add support for intellij IDE (#3165)
* feat: [CDE-552}: add ide url scheme consts
* feat: [CDE-552}: define shell interpreter for script
* feat: [CDE-552}: add intellij port
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: add intellij integration
* feat: [CDE-552}: add intellij type
2024-12-20 04:52:13 +00:00
Abhinav Singh
4a55edad29 fix: [CODE-2954]: fix webhook query (#3175)
* fix: [CODE-2954]: fix webhook query
2024-12-19 05:02:19 +00:00
Vikyath Harekal
800947f7f1 feat: [CDE-511]: Add hybrid_vm to InfraProviderType enum values (#3174)
* feat: [CDE-511]: Add hybrid_vm to InfraProviderType enum values
* feat: [CDE-511]: Add hybrid_vm to InfraProviderType enum values
2024-12-19 05:02:06 +00:00
Darko Draskovic
265eb40f22 feat: [CODE-1353]: Add status check and merge check SSE events (#3146)
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add webhook create/update/delete event
* Add branch/tag created/updated deleted events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add new event types
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add logs directly to publisher
* Merge remote-tracking branch 'origin/main' into dd/sse-events
* Add status check and merge check SSE events
2024-12-18 16:00:58 +00:00
Akhilesh Pandey
694e790091 feat: [CODE-2679]: Comment status update changes (#2943) (#3006)
* feat: [CODE-2472]: update wire
* feat: [CODE-2472]: update wire
* feat: [CODE-2472]: update wire
* feat: [CODE-2742]: update comments
* Merge branch 'main' into akp/CODE-2472
* feat: [CODE-2472]: naming and comment
* Apply suggestion from code review
* feat: [CODE-2472]:  remove file
* feat: [CODE-2472]:  Created issue
* feat: [CODE-2472]:  Review
* feat: [CODE-2472]:  rebase
* feat: [CODE-2679]: Comment status update changes (#2943)

* rebase
* feat: [CODE-2679]: review
* feat: [CODE-2679]: wire changes
* feat: [CODE-2679]: Comment status update changes
* feat: [CODE-2679]: Comment status update changes
* feat: [CODE-2472]: fix minor issues
* feat: [CODE-2472]: Update the timestamps
* feat: [CODE-2472]: Pullreq comment updated changes
* feat: [CODE-2472]: changes
* feat: [CODE-2472]: update name to edited
* feat: [CODE-2472]: update name to edited
* feat: [CODE-2472]: status change comment changes
* feat: [CODE-2472]: Text changes only
* feat: [CODE-2472]: initial code
2024-12-18 06:27:39 +00:00
Arvind Choudhary
77ddc2a601 fix: [AH-784]: Updated URL provider to update casing for space names (#3158)
* [AH-784]: Updated URL provider to update casing for space names
2024-12-17 00:15:47 +00:00
Johannes Batzill
096b86da47 fix: [CODE-2942]: space level permission checks for status checks and webhooks (#3167) 2024-12-16 22:19:47 +00:00
Yogesh Chauhan
aed116a24b fix: [ML-505]: changes to support update-step API for Harness Intelligence (#3156)
* Fix some lint issues
* fix more lint issues
* Fix linting
* fix: [ML-505]: add step context
* fix: [ML-505]: fix interface for update step
* fix: [ML-505]: interface for update step
* fix: [ML-505]: interface for update step
* fix: [ML-505]: structs for update step
2024-12-16 11:42:40 +00:00
Ansuman Satapathy
a1c91d1aa6 fix: [CDE-555]: run lifecycle commands in paralell and allow object types for it (#3161)
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in parallel
* fix: [CDE-555]: run commands in paralell
* fix: [CDE-555]: run commands in paralell
* fix: [CDE-555]: update parsing and add discriminator
* fix: [CDE-555]: update parsing and add discriminator
2024-12-16 06:28:45 +00:00
Enver Biševac
48f07f0f0c feat: [code-2912]: db layer for usage metrics (#3159)
* db layer for usage metrics
2024-12-13 21:17:28 +00:00
Darko Draskovic
0af4f33a8b fix: [CODE-2855]: Fix list recent status check on space lavel permission (#3162)
* Fix list recent status check on space lavel permission
2024-12-13 16:34:54 +00:00
Abhinav Singh
c7f7ade6b6 feat: [CODE-2886]: jira auth support (#3119) 2024-12-12 19:36:08 +00:00
Ansuman Satapathy
1e18e289d8 fix: [CDE-555]: fix correctly iterate over list of extensions for gitspace. (#3153)
* fix: [CDE-555]: fix correctly iterate over list of extensions for gitspace.
2024-12-12 05:57:18 +00:00
Johannes Batzill
69fa8f06b3 fix: [CODE-2931]: Remove leftover webhook_internal usage - make type fixed (#3150) 2024-12-11 19:10:47 +00:00
Vikyath Harekal
e18f16e688 feat: [CDE-553]: concat skopeo stdout and stderr output (#3149)
* feat: [CDE-553]: concat output
2024-12-11 12:32:34 +00:00
Vikyath Harekal
2f83725e12 feat: [CDE-549]: print buffer logs before exiting (#3145)
* feat: [CDE-549]: print buffer logs before exiting
* feat: [CDE-549]: print buffer logs before exiting
2024-12-10 15:21:09 +00:00
Vikyath Harekal
aabc2cd60d feat: [CDE-549]: fix image name and tag split (#3144)
* feat: [CDE-549]: fix image name and tag split
* feat: [CDE-549]: fix image name and tag split
2024-12-10 12:51:23 +00:00
Darko Draskovic
c05e7057dc feat: [CODE-1353]: Add SSE events for rules and reviewer add/remove (#3141)
* Add SSE events
2024-12-10 11:24:31 +00:00
Ansuman Satapathy
57a2cb6e44 feat: [CDE-545]: add a seperate events for gitspace routing (#3142)
* feat: [CDE-545]: add a seperate events for gitspace routing
* feat: [CDE-545]: add a seperate events for gitspace routing
2024-12-10 11:23:36 +00:00
Vikyath Harekal
93c1462fec feat: [CDE-549]: Handle no tag (#3140)
* feat: [CDE-549]: use --src-tls-verify
* feat: [CDE-549]: Handle no tag
2024-12-10 09:46:48 +00:00
Vikyath Harekal
65a9253a9b feat: [CDE-549]: Fix --tls-verify=false (#3139)
* feat: [CDE-549]: Fix --tls-verify=false
2024-12-10 08:48:44 +00:00
Enver Biševac
2a5b475778 fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134)
* temporary fix for listing more than 30 repos in a single request
* max repos changed to 500
2024-12-10 07:55:33 +00:00
Vikyath Harekal
5ec36a8b74 feat: [CDE-549]: skopeo command fix and response handling (#3138)
* feat: [CDE-549]: debug
2024-12-10 06:32:08 +00:00
Vikyath Harekal
5ccbbd76a6 feat: [CDE-549]: debug (#3137)
* feat: [CDE-549]: debug
2024-12-10 05:03:27 +00:00
Vikyath Harekal
df3342aefe feat: [CDE-549]: Copy image using skopeo (#3127)
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix lint
* feat: [CDE-549]: fix
* feat: [CDE-549]: fix
* feat: [CDE-549]: update command
* feat: [CDE-549]: Copy image using skopeo
2024-12-09 13:16:13 +00:00
Johannes Batzill
5698383d44 fix: [CODE-2908]: Fix permission checks for space level rule + label operations (#3123) 2024-12-06 21:59:07 +00:00
Yogesh Chauhan
2942fbba69 fix: [ML-505]: Fix make wire (#3122) 2024-12-06 19:38:22 +00:00
Darko Draskovic
7b214b58d5 feat: [CODE-285]: Add openapi spec for space recent check list (#3115)
* Add openapi spec for space recent check list
2024-12-06 13:07:21 +00:00
Yogesh Chauhan
f82dd44d57 fix: [ML-505]: Fix generate step API input type (#3120)
* fix: [ML-505]: Fix generate step API input type
2024-12-06 10:18:29 +00:00
Ansuman Satapathy
a515a57299 feat: [CDE-545]: check during provision retry for latest instance (#3114)
* feat: [CDE-545]: check during provision retry for latest instance
* feat: [CDE-545]: check during provision retry for latest instance
2024-12-05 05:25:02 +00:00
Ansuman Satapathy
a5d442f289 feat: [CDE-544]: allow actions if stuck in starting/stopping transient state (#3113)
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
* feat: [CDE-544]: allow actions if stuck in starting/stopping transient state
2024-12-05 05:02:57 +00:00
Abhinav Singh
bd9d15500c feat: [CODE-2885]: support for webhook type (#3098) 2024-12-05 02:01:08 +00:00
Atefeh Mohseni Ejiyeh
a9fed4271a fix: [CODE-2896]: Audit logs data on create repo by the migrator (#3112) 2024-12-05 01:31:07 +00:00
Atefeh Mohseni Ejiyeh
a71e822ac9 fix: [CODE-2839]: branch rules state migration (#3039) 2024-12-04 22:37:06 +00:00
Tudor Macari
d85030ef03 fix: [AH-731]: fix build (#3109)
* fix: [AH-731]: fix build
2024-12-04 09:42:20 +00:00
Tudor Macari
7764ab2154 fix: [AH-731]: revert interface change (#3106)
* fix: [AH-731]: revert interface change
2024-12-04 08:02:57 +00:00
Dhruv Dhruv
ccf7673ee5 fix: [CDE-473]: Checking default containerUser from the image. (#3105)
* fix: [CDE-473]: Checking default containerUser from the image.
2024-12-04 07:24:22 +00:00
Karan Saraswat
423702f0c0 feat: [PIPE-23720]: add author details to the commits API (#3095)
* addressed review comment
* feat: [PIPE-23720]: add author details to the commits API
2024-12-03 17:35:07 +00:00
Darko Draskovic
18da27f968 feat: [CODE-2857]: Add checks API to spaces (#3084)
* Fix stmt reassignment
* Add get descendent ids helper to space store
* Add checks API to spaces
2024-12-03 15:31:56 +00:00
Tudor Macari
ed2597bdcc feat: [AH-713]: add method to get base UI url (#3103)
* feat: [AH-713]: add method to get base UI url
2024-12-03 13:37:48 +00:00
Ansuman Satapathy
26408533e1 feat: [CDE-472]: handle stream closing gracefully, and simplify sync cmd execution (#3102)
* feat: [CDE-472]: handle stream closing gracefully, and simplify sync cmd execution
* feat: [CDE-472]: handle stream closing gracefully, and simplify sync cmd execution
2024-12-03 13:06:59 +00:00
Dhruv Dhruv
6f7e203251 fix: [CDE-540]: Adding check for media folder path during gitspace creation. (#3100)
* fix: [CDE-540]: Adding check for media folder path during gitspace creation.
2024-12-03 08:59:31 +00:00
Ansuman Satapathy
74ff87178f feat: [CDE-472]: add status code to the channel for gitspace exec (#3096)
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
* feat: [CDE-472]: add status code to the channel
2024-12-03 04:49:05 +00:00
Dhruv Dhruv
384fb7a7d2 fix: [CDE-513]: Sorting infra provider resources. (#3093)
* Correcting import.
* fix: [CDE-513]: Sorting infra provider resources.
2024-12-02 13:49:10 +00:00
Ansuman Satapathy
04b4dab207 feat: [CDE-472]: make IDE service args typed (#3092)
* feat: [CDE-472]: reduce verbosity of internal installation steps
* feat: [CDE-472]: reduce verbosity of internal installation steps
* feat: [CDE-472]: make IDE service args typed
2024-12-02 12:04:47 +00:00
Dhruv Dhruv
a64d5631f4 feat: [CDE-473]: Unlocking and removing remoteUser password in case of SSH key. (#3090)
* feat: [CDE-473]: Unlocking and removing remoteUser password in case of SSH key.
2024-12-02 08:16:42 +00:00
Ansuman Satapathy
c65f994af9 feat: [CDE-522]: send total gitspaces without applying user filters in header (#3089)
* feat: [CDE-522]: formatting
* feat: [CDE-522]: formatting
* feat: [CDE-522]: send total gitspaces without applying user filters in header
* feat: [CDE-522]: send total gitspaces without applying filter in header
2024-12-02 07:03:22 +00:00
Ansuman Satapathy
08d9d959cc feat: [CDE-472]: install extensions only during setup, vscode impl for it. (#3088)
* feat: [CDE-522]: formatting
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
* feat: [CDE-472]: install extensions only during setup, vscode impl for it.
2024-12-02 06:49:31 +00:00
Ansuman Satapathy
293aa5ff29 feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command (#3087)
* feat: [CDE-472]: add search gitspace, user dir fixed for life-cycle command
2024-12-01 06:50:59 +00:00
Dhruv Dhruv
1086397b3f feat: [CDE-473]: Adding support for containerUser and remoteUser. (#3086)
* Adding support for root as remoteUser
* Changing logger from gitspace to application in config util.
* Changing logger from gitspace to application in config util.
* feat: [CDE-473]: Adding support for containerUser and remoteUser.
2024-12-01 05:03:48 +00:00
Ansuman Satapathy
7daa9666cc feat: [CDE-472]: customizations refactor code (#3078)
* feat: [CDE-472]: customizations refactor code
2024-11-29 08:29:38 +00:00
Darko Draskovic
bf8f1d01af fix: [CODE-2873]: Uncomment webhook localhost not allowed (#3072)
* Uncomment webhook localhost not allowed
2024-11-28 13:23:10 +00:00
Ansuman Satapathy
062ab0b3e9 fix: [CDE-525]: fix nil reference during deletion (#3067)
* fix: [CDE-525]: fix nil reference during deletion
* fix: [CDE-525]: fix nil reference during deletion
* fix: [CDE-525]: fix nil reference during deletion
2024-11-28 12:08:25 +00:00
Yogesh Chauhan
a89041e57e feat: [ML-334]: Extract interface for Intelligence service (#3066)
* Fix copyright header
* Fix lint issues wrt copyright & comment structure
* feat: [ML-334]: Extract interfae for Intelligence service
2024-11-28 10:48:23 +00:00
Deepak Bhatt
b4baf364a9 fix: [CDE-508]: use image auth map (#3058)
* use image auth map
2024-11-28 07:39:06 +00:00
Vivek Dixit
ed0e904c59 [feat]: [ML-498]: Remved RepoRef from context being sent to LLMs (#3061)
* Addressed Comments
* Fixed GoLint Issues
* [feat]: [ML-498]: Remved RepoRef from context being sent to LLMs
2024-11-28 07:28:38 +00:00
Johannes Batzill
f2d72cba46 fix: [CODE-2631] : fix issue on label unassign activity (#3062) 2024-11-27 18:16:03 +00:00
Darko Draskovic
1c0e049151 fix: [CODE-2855]: Use space permissions in labels and rules controllers (#3060)
* Use space permissions in labels and rules controllers
2024-11-27 17:22:55 +00:00
Ansuman Satapathy
843dc4df5f feat: [CDE-525]: Add support for customization IDE extensions from devcontainer.json (#3057)
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: lint fixes
* feat: [CDE-525]: setup vscode web plugins
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
2024-11-27 13:14:44 +00:00
Deepak Bhatt
3b2db60eea feat: [CDE-508]: add image auth (#3053)
* add comment
* split pull image func into smaller parts
* split pull image func into smaller parts
* use MaskSecret type
* fix lint
* add image auth
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into add-image-auth
* add image auth
2024-11-27 10:24:33 +00:00
Deepak Bhatt
7765cf0d2f fix: [CDE-530]: use value for MaskSecret type (#3054)
* fix lint
* add non nil Mask secret
* add comment
* add non nil Mask secret
2024-11-27 06:53:13 +00:00
Darko Draskovic
3a3c8e2c85 feat: [CODE-2854]: Add scope info to webhooks (#3050)
* Change space permissions to repo permissions for and add scope info to webhooks
2024-11-26 22:16:10 +00:00
Deepak Bhatt
deddbc8d68 feat: [CDE-530]:add mask secret (#3047)
* truncated sha256
* add hash value for MaskSecret
* mark secrets for smc creds
* fix nil reference
* fix lint
* fix unmarshall
* implement unmarshall json func
* add mask secret
2024-11-26 09:32:00 +00:00
Darko Draskovic
c79fe0f829 fix: [CODE-2846]: Add scope info to rule (#3045)
* Add scope info to rule
2024-11-25 17:43:21 +00:00
Darko Draskovic
d114c23f01 fix: [CODE-2845]: Change space permissions for space rules to repo permissions (#3044)
* Change space permissions for space rules to repo permissions
2024-11-25 15:11:10 +00:00
Marko Gaćeša
9adec5fd23 fix: [PIPE-22454]: use constants for names of openapi pullreq parameters (#3043)
* use constants for names of openapi pullreq parameters
2024-11-25 15:06:04 +00:00
Dhruv Dhruv
7c358528ef feat: [CDE-475]: Adding support for runArgs. (#3031)
* Rebasing
* feat: [CDE-475]: Adding support for runArgs.
* WIP
* WIP
2024-11-25 09:56:30 +00:00
Deepak Bhatt
1299db775e fix:[CDE-507]: extract user from connector struct (#3040)
* change arg name
* fix user extract
2024-11-25 08:40:18 +00:00
Ansuman Satapathy
35039b9499 feat: [CDE-525]: stream pull image o/p cde, timeline events connector (#3037)
* feat: [CDE-525]: move event before network call
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-525]: allow setting runArgs to IDE to allow proxy.
* feat: [CDE-470]: execute commands with harness user
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
* feat: [CDE-525]: stream pull image o/p cde, timeline events connector
2024-11-25 04:43:26 +00:00
Marko Gaćeša
f1eb44a30a feat: [CODE-2531]: ignore not found error in delete repo (#3023)
* remove err==NotFound check in controller layer
* ignore not found error in delete repo
2024-11-22 10:24:00 +00:00
Darko Draskovic
27becca7de fix: [CODE-2770]: Resolve mentioned user IDs in email notifications (#3033)
* resolve mentioned user IDs in email notifications
2024-11-22 08:09:17 +00:00
Vivek Dixit
3f54161997 [feat]: [ML-488]: Added New API for StepYamlGeneration for UI to call separately. (#3030)
* fixed go-lint issues
* [feat]: [ML-488]: Added New API for StepYamlGeneration for UI to call separately.
2024-11-22 07:55:26 +00:00
Ansuman Satapathy
c43d0e62a7 fix: [CDE-525]: update parsing for devcontainer.json (#3035)
* fix: [CDE-525]: fix step names
* fix: [CDE-525]: fix step names
* feat: [CDE-470]: update the parsing logic for lifecycle steps

fix: [CDE-525]: fix step names
2024-11-22 07:37:12 +00:00
Deepak Bhatt
266e7a7866 feat: [CDE-507]:add connector details to gitspace config (#3020)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into pull-image-secret
* modify resume gitspace
* unchange provision func
* change provision func
* remove unnecessary arg
* add password field
* modify platform connector type
* remove unnecessary func
* fix lint
* remove docker registry
* modify event name
* add connector details package
* separate types into different files
* fix lint
* change func name
* change func name
* change connector name
* change package name
* add git config arg
* add comment
* remove unused const
* change event name
* fix wire gen
* add wire for artifact registry
* remove fmt print
* add artifact secret resolver
2024-11-22 06:21:10 +00:00
Ansuman Satapathy
d3d1ba32ff fix: [CDE-525]: for each execution form a new list of steps to execute. (#3034)
* fix: [CDE-525]: for each execution form a new list of steps to execute.
2024-11-22 05:03:50 +00:00
Darko Draskovic
335eaa73c1 feat: [CODE-2498]: Add time and author filter params to list commits page (#3000)
* Remove redundant consts and annotate errors
* Add a Regex bool field to the api.CommitFilter
* Add use author/commiter regex bool to list commit filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add commiter IDs
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Merge branch 'main' into dd/commit-time-author-filter
* Add regex quote for author
* Add time and author filter params to list commits page
2024-11-21 10:31:32 +00:00
Darko Draskovic
2f8a02cc9d fix: [CODE-2814]: Export openapi spec rules related types and structs (#3018)
* Export openapi spec rules related types and structs
2024-11-19 19:44:09 +00:00
Darko Draskovic
fd9a1ad400 feat: [CODE-2568]: Add rules API for space level (#2865)
* Add openapi spec for space rules
* Merge branch 'main' into dd/space-branch-rules
* Fix doc comments and space permissions
* Merge branch 'main' into dd/space-branch-rules
* Add equal check to update rule
* Merge branch 'main' into dd/space-branch-rules
* Use consistently RuleParentInfo
* Add RuleParentInfo type
* Merge branch 'main' into dd/space-branch-rules
* Rename r to rule in funcs and rule to protection
* Merge remote-tracking branch 'origin/main' into dd/space-branch-rules
* Unifiy instrumentation and audit handling
* Add delete, find, list and patch svc funcs and API endpoints
* Add rules API for space level
2024-11-19 12:52:27 +00:00
Ansuman Satapathy
84dc8c2187 feat: [CDE-470]: instead of using bash [[ use posix [] operator (#3010)
* feat: [CDE-470]: instead of using bash, sh bases syntax
* feat: [CDE-470]: instead of using bash, sh bases syntax
2024-11-18 12:45:04 +00:00
Ansuman Satapathy
17dea68b57 feat: [CDE-470]: use stream logger and buffer the results for gitspaces exec (#3008)
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: set env variable for flavours
* feat: [CDE-470]: format code
* feat: [CDE-470]: format code
* feat: [CDE-470]: format code
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: use stream logger
* feat: [CDE-470]: env variables for VS Code desktop
2024-11-18 04:55:01 +00:00
Akhilesh Pandey
ab72ca9185 feat: [CODE-2472]: CODE Comment updated webhook (#2850)
* feat: [CODE-2472]: review
* feat: [CODE-2742]: review changes
* feat: [CODE-2742]: cast extractor code return
* feat: [CODE-2742]: wire changes
* feat: [CODE-2742]: wire changes
* Merge branch 'main' into akp/CODE-2472
* Apply suggestion from code review
* review changes
* Apply suggestions from code review
* feat: [CODE-2472]: remove commit info
* feat: [CODE-2472]: remove json tags
* feat: [CODE-2472]: wire changes
* feat: [CODE-2472]: fix minor issues
* Merge branch 'main' into akp/CODE-2472
* feat: [CODE-2472]: Update the timestamps
* feat: [CODE-2472]: Pullreq comment updated changes
* feat: [CODE-2472]: changes
* feat: [CODE-2472]: update name to edited
* feat: [CODE-2472]: update name to edited
* Merge branch 'main' into akp/CODE-2472
* feat: [CODE-2472]: status change comment changes
* feat: [CODE-2472]: Text changes only
* feat: [CODE-2472]: initial code
2024-11-14 22:48:04 +00:00
Ansuman Satapathy
d9d00e9e06 feat: [CDE-481]: for the plugin, only show self gitspaces (#2997)
* feat: [CDE-481]: for the plugin, only show self gitspaces
* feat: [CDE-481]: for the plugin, only show self gitspaces
2024-11-14 03:52:22 +00:00
Shivakumar Ningappa
a63e2ca2a0 feat: [AH-658]: perform various query optimizations to improve docker pull and other operations (#2994)
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
* feat: [AH-658]: perform various query optimizations to improve docker pull and other operations
2024-11-13 21:45:08 +00:00
Deepak Bhatt
f3713715c4 feat: [CDE-483]: add lastupdated filter (#2992)
* add lastupdated filter
2024-11-13 11:55:46 +00:00
Deepak Bhatt
e077918d6f feat: [CDE-483]: add cleanup action (#2991)
* fix lint
* fix logs
* add cleanup action
2024-11-13 10:52:46 +00:00