Commit Graph

740 Commits

Author SHA1 Message Date
Enver Biševac
92e39dee79 feat: [CODE-3129]: add ignore whitespace for diff (#3327)
* better parsing of query param ignore_whitespace
* replace hideWhitespace with ignoreWhitespace
* replace rest client literals with vars
* added openapi
* add ignore whitespace for diff
2025-01-31 21:48:57 +00:00
Darko Draskovic
2f9d9583e6 feat: [CODE-1805]: Add service account rule bypass list support (#3297)
* Make service account store code more consistent
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Remove principal controller interface
* Address review comments
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Add pagination to repo/space list service account
* Revert to non embedded Principal to ServiceAccount
* Merge remote-tracking branch 'origin/main' into dd/service-account-bypass
* Add query param to service account list
* Add inherited param to principal filter
* Merge remote-tracking branch 'origin/main' into akp/CODE-1805
* Merge remote-tracking branch 'origin/main' into akp/CODE-1805
* Return service account info instead of vanilla service account
* Return principal info to return id instead o
2025-01-31 17:46:24 +00:00
Atefeh Mohseni Ejiyeh
f97e72bd00 fix: [PIPE-24870]: Fix Swagger for Space Import Repositories API (#3360) 2025-01-30 21:56:36 +00:00
Marko Gaćeša
6f37eaea3f fix: [CODE-3120]: reload repo in repo summary API controller (#3356)
* reload repo in repo summary API controller
2025-01-30 16:09:55 +00:00
Marko Gaćeša
16e2ec6660 feat: [PIPE-24577]: add 200 response to artefact download API in openapi (#3336)
* add 200 response to artefact download API in openapi
2025-01-30 15:31:33 +00:00
Yogesh Chauhan
2130f7f9a4 [fix]: [ML-575]: Ai Agent Fix stage type enums (#3357)
* Fix stage enums
2025-01-30 14:55:22 +00:00
Prachi Shah
6b231495c1 fix: [ML-575]: mark required fields for spec file (#3350)
* gci write
* lint errors fix
* lint errors fix
* required:'true'
* required : true
* done
* changed
* make stage type as enum according to openapi std
* remove conflicts with main
* mark fields as required
* Merge branch 'main' into ML-575
* make conversationID optional parameter in chat
* generate conversation ID in backend
* Merge branch 'main' into ML-575
* gci run
* gci run
* gci run
* gci run
* lint error fix
* gci run
* resolve comments
* re_generate to regenerate
* gci run
* lint errors fix
* lint error fix
* update actions struct correctly
* update actions struct
* lint error fix
* chat struct and two new enums for actions
* merged
* merge with ML-562
* temp
* done
* done
* remove redundant file
* fixed lint errors in submodule
* lint error fix
* Update wire_gen.go
* Update wire_gen.go
* fix lint errors
* updated error message
* changed loc of enum definitions
* new endpoint /chat
* new type chat
* original
* to original
* made required changes
* trial
* fix lint errors-3
* fi
2025-01-30 11:43:49 +00:00
Enver Biševac
d131a4f2aa feat: [CODE-3112]: write response using pkt error format in service pack and advertise refs (#3348)
* write to response pkt error format in service pack
2025-01-30 08:33:28 +00:00
Prachi Shah
5f11b9ed2d [fix]: [ML-575]: make conversationID optional parameter in chat (#3344)
* make conversationID optional parameter in chat
* generate conversation ID in backend
* Merge branch 'main' into ML-575
* gci run
* gci run
* gci run
* gci run
* lint error fix
* gci run
* resolve comments
* re_generate to regenerate
* gci run
* lint errors fix
* lint error fix
* update actions struct correctly
* update actions struct
* lint error fix
* chat struct and two new enums for actions
* merged
* merge with ML-562
* temp
* done
* done
* remove redundant file
* fixed lint errors in submodule
* lint error fix
* Update wire_gen.go
* Update wire_gen.go
* fix lint errors
* updated error message
* changed loc of enum definitions
* new endpoint /chat
* new type chat
* original
* to original
* made required changes
* trial
* fix lint errors-3
* fix lint errors-2
* fix lint errors
* 3 new enums for stagetype, messagetype, role
* enum types for stagetype, role and messagetype
* role enum and message type enum
* ML-562: New enum
2025-01-29 11:03:05 +00:00
Sourabh Awashti
b058448e19 feat:[AH-926]: update in get artifacts query (#3332)
* feat:[AH-926]: review changes
* Revert "feat:[AH-926]: review changes"

This reverts commit d2e581f0358f54f47b2cd2702751b71b719e1e8b.
* feat:[AH-926]: review changes
* feat:[AH-926]: update in get artifacts query
2025-01-28 08:45:00 +00:00
Johannes Batzill
cbd889881b feat: [CODE-2693]: Add backend support to track time of last push. (#3320) 2025-01-27 22:03:35 +00:00
Marko Gaćeša
2fa3914fa9 feat: [CODE-3076]: create and update PR refs in the PR controller (#3319)
* update pr refs in controller
2025-01-27 13:38:55 +00:00
Karan Saraswat
d51474badc fix: [CODE-3057]: Revert "temporary fix for listing more than 30 repos in a single request" (#3324)
* Revert "fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134) (#3308)"

This reverts commit 636f6f2750.
2025-01-27 08:06:38 +00:00
Prachi Shah
c1b89607ce [feat]: [ML-575]: Shifting to generic /chat endpoint (#3313)
* gci run
* gci run
* gci run
* gci run
* lint error fix
* gci run
* resolve comments
* re_generate to regenerate
* gci run
* lint errors fix
* lint error fix
* update actions struct correctly
* update actions struct
* lint error fix
* chat struct and two new enums for actions
* merged
* merge with ML-562
* temp
* done
* done
* remove redundant file
* fixed lint errors in submodule
* lint error fix
* Update wire_gen.go
* Update wire_gen.go
* fix lint errors
* updated error message
* changed loc of enum definitions
* new endpoint /chat
* new type chat
* original
* to original
* made required changes
* trial
* fix lint errors-3
* fix lint errors-2
* fix lint errors
* 3 new enums for stagetype, messagetype, role
* enum types for stagetype, role and messagetype
* role enum and message type enum
* ML-562: New enum
2025-01-24 11:07:02 +00:00
Dhruv Dhruv
5965b1dd87 fix: [CDE-598]: Adding assertion during build with features that the image exists. (#3314)
* fix: [CDE-598]: Adding assertion during build with features that the image exists. Also logging the generated dockerfile in the user facing logs.
2025-01-24 08:04:37 +00:00
Tudor Macari
a655c2f8e9 feat: [AH-396]: webhook support (#2778)
* feat: [AH-396]: resolve PR comments
* feat: [AH-396]: adjust sql
* feat: [AH-396]: implement registry webhooks
2025-01-23 17:22:35 +00:00
Marko Gaćeša
49e52935c4 feat: [CODE-2859]: add repo cache to repo finder (#3310)
* add repo cache to repo finder
2025-01-23 15:13:06 +00:00
Karan Saraswat
636f6f2750 fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134) (#3308)
* 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
2025-01-22 13:14:43 +00:00
Karan Saraswat
63b3134a09 fix: [CODE-3057]: Revert "temporary fix for listing more than 30 repos in a single request (#3134)" (#3296)
* Revert "fix: [code-2875]: temporary fix for listing more than 30 repos in a single request (#3134)"

This reverts commit 2a5b475778.
2025-01-21 12:33:40 +00:00
Sourabh Awashti
a532c9c386 feat:[AH-628]: Add queries for node and generic blob tables (#3295)
* [fix]: [AH-629]: FIXED PR CHECK
* feat:[AH-629]: fix checks
* Merge branch 'main' into AH-629-db
* feat:[AH-629]: fix checks
* feat:[AH-628]: Add queries for node and generic blob tables
2025-01-21 11:25:54 +00:00
Enver Biševac
72c5e2b0f6 feat: [code-2912]: improved log message for usage metrics workers (#3299)
* improved log message for usage metrics workers
2025-01-20 15:39:07 +00:00
Darko Draskovic
6ed620bdc3 feat: [PIPE-24548]: Add label PR label assignment count (#3292)
* Refactor count pullreq assignments to backfill form
* Add label PR label assignment count
2025-01-17 17:37:46 +00:00
Marko Gaćeša
d6ea2b8de6 fix: [CODE-3030]: fix name of include_git_stats param in openapi (#3289)
* fix name of include_git_stats param in openapi
2025-01-17 12:33:55 +00:00
Marko Gaćeša
f016ac9ac9 feat: [CODE-3030]: introduce include_git_stats param for list PRs APIs (#3284)
* introduce include_git_stats param for list PRs APIs
2025-01-17 11:27:23 +00:00
Darko Draskovic
6554c472d1 feat: [PIPE-24548]: Add label creation to pullreq creation (#3276)
* Refactor label select base const and its use
* Add created labels to create pr response
* Merge remote-tracking branch 'origin/main' into dd/pr-creation-label-assign
* Add label creation to pullreq creation
2025-01-16 16:48:56 +00:00
Deepak Bhatt
c54b82706e feat: [CDE-577]: fix jetbrains ide issues (#3281)
* feat: [CDE-577]: fix jetbrains ide issues
2025-01-16 07:23:26 +00:00
Shivakumar Ningappa
c9d62fdc0e fix: [AH-626]: check for nil controller to prevent PANIC (#3280)
* fix: [AH-626]: check for nil controller to prevent PANIC
2025-01-16 07:04:07 +00:00
Marko Gaćeša
0006151b23 feat: [PIPE-24577]: define body for file upload api in openapi def (#3274)
* define body for file upload api in openapi def
2025-01-15 17:11:41 +00:00
Ritek Rounak
77e8ef45d1 fix: [AH-831]: Updated Error Message for Upstream Delete Fail (#3272)
* fix: [AH-831]: Updated Manifest_reference Foreign
* fix: [AH-831]: Updated Error Message for Upstream Delete Fail
2025-01-15 12:30:13 +00:00
Dhruv Dhruv
b94a78c795 feat: [CDE-572]: Using features for devcontainers. (#3260)
* feat: [CDE-572]: Using features for devcontainers. Adding changes to parse features from the devcontainer.json and build a new docker image from them. Also adding the support for new devcontainer.json properties- init, privileged, capAdd, securityOpt, mounts. Adding support for three runArgs- privileged, capAdd, mount. Also making the DownloadFeature method context aware, cancelling the goroutines when the ctx is cancelled.
2025-01-15 07:22:55 +00:00
Cameron Motevasselani
6be8fdf10a feat:[ML-546]: add error messaging capability (#3257)
* feat:[ML-546]: add error messaging capability
2025-01-15 00:46:22 +00:00
Dhruv Dhruv
b1d0c945d1 feat: [CDE-572]: Adding support for features- sorting and building. (#3248)
* Addressing review comments.
* feat: [CDE-572]: Adding support for features- sorting and building.
2025-01-14 08:21:44 +00:00
Atefeh Mohseni Ejiyeh
f78f767ae2 feat: [CODE-2818]: Add Archive Repo functionality (#3051) 2025-01-13 19:02:51 +00:00
Abhinav Singh
64d66772d4 feat: [CODE-2865]: ssh support changes (#3052) 2025-01-13 15:56:57 +00:00
Dhruv Dhruv
4d888b0719 feat: [CDE-572]: Adding changes to support features. (#3244)
* Changes to support sorting and building.
* Updating go.mod
* feat: [CDE-572]: Adding changes to support features. Changes to support the features property in the devcontainer.json, download features from OCI repos and http(s) URLs as tarballs and parse them to devcontainer-feature.json, resolve them and apply user options. Also added a change to use an OS library to remove comments from the json files.
* feat: [CDE-572]: Adding changes to support features. Changes to support the features property in the devcontainer.json, download features from OCI repos and http(s) URLs as tarballs and parse them to devcontainer-feature.json, resolve them and apply user options. Also added a change to use an OS library to remove comments from the json files.
2025-01-13 11:44:24 +00:00
Akhilesh Pandey
21bb774275 feat: [CODE-2573]: add scope in type for usergroupinfo (#3241) 2025-01-10 21:20:55 +00:00
Deepak Bhatt
816feec222 feat: [CDE-576]: add port for JetBrains IDEs (#3243)
* feat: [CDE-576]: fix func name
* feat: [CDE-576]: fix lint
* feat: [CDE-576]: add port for JetBrains IDEs
2025-01-10 03:22:32 +00:00
Johannes Batzill
db9af2018b feat: [CODE-2565]: Add development config to support alternate UI source (#2848) (#3212) 2025-01-09 18:29:12 +00:00
Yogesh Chauhan
a94be356c4 feat: [ML-531]: Introduce conversations into request DTOs for AI Devops (#3239)
* Merge branch 'main' into yogesh/ML-531-conversationsDTO
* Fixed Lint issues
* transfer fields from handler to controller
* Add to controller object
* Add conversation DTOS
2025-01-09 16:05:51 +00:00
Deepak Bhatt
19363d2b1a feat: [CDE-576]: add devcontainer config for Jetbrains (#3215)
* feat: [CDE-576]: fix hardcoding
* feat: [CDE-576]: fix lint
* feat: [CDE-576]: lint
* feat: [CDE-576]: make IDE path configurable
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-576-devcontainer-json-intellij
* feat: [CDE-576]: fix script name
* feat: [CDE-576]: configure Jetbrains IDEs
* feat: [CDE-576]: change to intellij ide type
* feat: [CDE-576]: fix comments
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-576-devcontainer-json-intellij
* feat: [CDE-576]: add devcontainer config for Jetbrains
* feat: [CDE-552]: fix lint
* feat: [CDE-552]: wait for the ide to run
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: address comments
* feat: [CDE-552}: add support for arm and amd architecture
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: fix build
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-563-intellij-support
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: add install tools, setup and run scripts for intellij
* add intellij support

# Conflicts:
#	app/gitspace/infrastructure/trigger_infra_event.go
#	app/gitspace/orchestrator/utils/script_templates/setup_intellij.sh
2025-01-07 13:10:54 +00:00
Yogesh Chauhan
e41863edb2 fix: [ML-505]: Fix JSON key name for yaml step (#3166)
* fix: [ML-505]: Fix key name for yaml step
2025-01-07 05:54:59 +00:00
Deepak Bhatt
9989a5a589 feat: [CDE-576]: intellij code improvements (#3237)
* feat: [CDE-576]: fix lint
* feat: [CDE-576]: intellij code improvements
2025-01-07 05:29:46 +00:00
Ansuman Satapathy
083a24d8eb feat: [CDE-582]: refactor gitspaces, use spaceCache (#3227)
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
* feat: [CDE-582]: refactor gitspaces seperate DB layer.
2025-01-07 05:06:39 +00:00
Pragyesh Mishra
016a0ce2f5 [feat]: [AH-724]: ECR upstream proxy support (#3181)
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: pr checks
* [fix]: [AH-724]: fix upstream proxy update
* [fix]: [AH-724]: fix upstream proxy update
* [fix]: [AH-724]: fix upstream proxy update
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into AH-724-schema-change
* [feat]: [AH-724]: ECR upstream proxy support
2025-01-06 07:59:59 +00:00
Sourabh Awashti
f270bc596a feat:[AH-628]: migration fix for file manager (#3219)
* feat:[AH-628]: review changes
* feat:[AH-628]: migration fix for file manager
2025-01-03 09:16:23 +00:00
Deepak Bhatt
a094a54ac7 feat: [CDE-576]: fix intellij support (#3222)
* feat: [CDE-576]: fix debian warning
* feat: [CDE-576]: fix intellij support
2025-01-03 05:31:22 +00:00
Ansuman Satapathy
3685efd458 feat: [CDE-573]: update swagger for gitspace search (#3213)
* feat: [CDE-573]: update swagger for gitspace search
* feat: [CDE-573]: update swagger for gitspace search
* feat: [CDE-573]: update swagger for gitspace search
2024-12-31 08:08:48 +00:00
Johannes Batzill
819597fa76 feat: [CODE-2943]: Add 'Depth' method in 'paths' package (#3211) 2024-12-30 19:55:10 +00:00
Marko Gaćeša
3d5feb0315 feat: [CODE-2862]: support integer ref for repo finder (#3205) 2024-12-30 17:24:06 +00:00
Deepak Bhatt
887379b94a feat: [CDE-563]: add intellij support (#3193)
* feat: [CDE-552]: fix lint
* feat: [CDE-552]: wait for the ide to run
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: address comments
* feat: [CDE-552}: add support for arm and amd architecture
* feat: [CDE-552}: fix lint
* feat: [CDE-552}: fix build
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-563-intellij-support
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: fix installation for intellij
* feat: [CDE-552}: add install tools, setup and run scripts for intellij
* add intellij support

# Conflicts:
#	app/gitspace/infrastructure/trigger_infra_event.go
#	app/gitspace/orchestrator/utils/script_templates/setup_intellij.sh
2024-12-30 15:19:48 +00:00