Commit Graph

2657 Commits

Author SHA1 Message Date
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
Ritek Rounak
e5456d663f fix: [AH-479] Fix Total Downloads Count for Summary Page (#3027)
* fix: [AH-479] include download stats in query result for tag details
2024-11-26 08:53:21 +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
Ansuman Satapathy
8043ecc0fe feat: [CDE-525]: remove unused fields during serde from devcontainer.json (#3041)
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
* feat: [CDE-525]: remove unused fields during serde from devcontainer.json
2024-11-25 10:42:11 +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
ad8f74ce71 feat: [CODE-2531]: replace os.IsNotExist(err) with error.Is(err, fs.ErrNotExist) (#3036)
* replace os.IsNotExist(err) with error.Is(err, fs.ErrNotExist)
2024-11-22 12:17:56 +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
Abhishek Bane
117cadcdcf chore: [AH-665]: add test cases for version list (#3028)
* chore: [AH-665]: add test cases for version list
2024-11-21 09:52:49 +00:00
Neel Khamar
1ec254367a feat: [CDE-498]: Error card changes in the Gitspace Detail screen (#3013)
* Resolved PR comments and made UI fixes
* Resolved PR comments and made UI fixes
* Resolved PR comments and made UI fixes
* Resolved PR comments and made UI fixes
* Resolved PR comments and made UI fixes
* The new swagger file changes
* Error card changes
2024-11-21 06:39:18 +00:00
Tudor Macari
eb6af94cbd feat: [AH-690]: log errors (#3026)
* feat: [AH-690]: log errors
* fix: [AH-597]: fix layers api for application/vnd.oci.image.manifest.v1+json manifests
2024-11-20 13:27:40 +00:00
Ritek Rounak
036f615cc0 fix: [AH-566] Fix DB Query for Image Download Stats Deletion (#3022)
* fix: [AH-566] Fix DB Query for Image Download Stats Deletion
2024-11-20 11:11:16 +00:00
Abhishek Bane
ba0f9310b1 feat: [AH-613]: add actions to generic reposiroty type (#3016)
* fix: [AH-613]: remove upstream related code from generic repository
* feat: [AH-613]: add actions to generic reposiroty type
* feat: [AH-639]: fix context usage and featureflag exports
* feat: [AH-639]: add feature flag code
2024-11-20 08:46:09 +00:00
Tudor Macari
8e4fa152bd fix: [AH-532]: fix helm client setup details (#3021)
* fix: [AH-532]: fix helm client setup details
2024-11-20 08:38:07 +00:00
Shivanand Sonnad
b15ac17033 feat: [AH-411]: Support redirect route in artifact registry for all types of registry (#3009)
* feat: [AH-411]: update conditions for redirect page view
* feat: [AH-411]: add support for change in scope(account/org/project)
* feat: [AH-411]: Support redirect route in artifact registry for all types of registry
2024-11-20 05:34:31 +00:00
Tudor Macari
8abf21b7b1 feat: [AH-597]: improve errors logging in layers api (#3019)
* feat: [AH-597]: foramt
* feat: [AH-597]: foramt
* feat: [AH-597]: improve errors logging in layers api
2024-11-19 21:02:49 +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
Ritek Rounak
7a0a0de89b fix: [AH-566] : Improve error handling for duplicate Artifact Registry | Gitness (#2990)
* fix: [AH-566] Resolved PR Comments
* fix: [AH-579] Removed GetByName Method
* fix: [AH-566] : Fix Lint
* fix: [AH-566] : removed unused code
* fix: [AH-566] : Improved Error Query Method
* fix: [AH-566] : Improve error msg with details

Signed-off-by: Ritek Rounak <ritek.rounak@harness.io>
* fix: [AH-566] : Improve error handling for duplicate Artifact Registry
* fix: [AH-566] : Improve error handling for duplicate Artifact Registry
2024-11-19 16:45:45 +00:00
Pragyesh Mishra
13e68709ee [fix]: [AH-570]: fix upstream proxy delete flow (#3017)
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-570
* [fix]: [AH-570]: fixed linting issue
* [fix]: [AH-570]: fixed linting issue
* [fix]: [AH-570]: fix upstream proxy delete flow
2024-11-19 14:33:49 +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
Shivanand Sonnad
37c7d3c626 feat: [AH-679]: support new design for version details page (#3015)
* feat: [AH-679]: fix spelling mistake
* feat: [AH-679]: support new design for version details page
2024-11-19 12:49:10 +00:00
Abhishek Bane
9ce4ea8ee5 feat: [AH-617]: add version list table for generic registry (#3011)
* feat: [AH-617]: add version list table for generic registry
* feat: [AH-639]: fix context usage and featureflag exports
* feat: [AH-639]: add feature flag code
2024-11-19 12:25:30 +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
Tudor Macari
5526086acc fix: [AH-664]: fix registry diff (#3005)
* fix: [AH-664]: fix registry diff
2024-11-18 07:42:02 +00:00
Dhruv Dhruv
e7ce1cd7b5 fix: [CDE-484]: Changing the behaviour of the inmemory stream consumer to retry the message after timeout. (#2993)
* fix: [CDE-484]: Addressing review comments.
* fix: [CDE-484]: Changing the behaviour of the inmemory stream consumer to retry the message after timeout.
2024-11-18 05:33:40 +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
Atefeh Mohseni Ejiyeh
fa05570220 fix: [CODE-2794]: Webhook Trigger PullReq Review Submitted is missing for sanitization (#3007) 2024-11-15 21:20:28 +00:00
Ritik Kapoor
8487b8c044 fix: [CODE-2734] identical batch suggestion issue on code comment (#2961)
* fix: [code-2734] identical batch suggesstion issue on code comment
2024-11-15 11:12:53 +00:00
Neel Khamar
0ce059820c feat: [CDE-494]: Changed the text for tooltip and made UI changes (#2999)
* Changed the text for tooltip
* Changed the text for tooltip
2024-11-15 06:16:49 +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
Shivanand Sonnad
f0f360d750 feat: [AH-610]: add unit tests for virtual registry details page (#2998)
* feat: [AH-610]: add unit tests for virtual registry details page
2024-11-14 15:57:44 +00:00
Neel Khamar
93ded67922 feat: [CDE-456]: Pagination changes for CDE and Gitness (#2996)
* UI fixes
* UI fixes
* Fixed the gitness issue
* Reolved lint warnings
* Pagination changes
2024-11-14 11:48:20 +00:00
Abhishek Bane
21b665b5af feat: [AH-615]: add Generic Configuration form, setup client modal and header (#2987)
* feat: [AH-615]: add Generic Configuration form, setup client modal and header
* feat: [AH-639]: fix context usage and featureflag exports
* feat: [AH-639]: add feature flag code
2024-11-14 09:57:22 +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
Neel Khamar
0ae23353c7 feat: [CDE-456]: Sorting functionality code changes (#2984)
* UI Fixes
* UI Fixes
* Reolved lint warnings
* Reolved lint warnings
* Reolved lint warnings
* Reolved lint warnings
* Reolved lint warnings
* Resolved PR comments
* Sorting functionality code changes
* Generic code changes
2024-11-13 10:59:23 +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
Deepak Bhatt
622f6d232c fix: [CDE-483]: modify remove gitspace func (#2989)
* add debug log
* capture error
* modify remove gitspace func
2024-11-13 09:11:26 +00:00
Ansuman Satapathy
94ec638b7b feat: [CDE-470]: remove redundant logging lines for post commands gitspaces (#2988)
* feat: [CDE-470]: remove redundant logging lines for post commands gitspaces
2024-11-13 08:50:08 +00:00
Neel Khamar
8c854a750a feat: [CDE-443]: Gitspace detail changes and tooltip code changes (#2940)
* Latest changes from main branch
* Resolved PR comments
* Resolved PR comments
* Gitspace detail changes and tooltip code changes
2024-11-13 08:40:44 +00:00