Yogesh Chauhan
59614e73f4
feat: [ML-302]: Framework For Harness Intelligence APIs ( #2547 )
...
* feat: [ML-302]: Framework For Harness Intelligence APIs
2024-08-20 22:05:29 +00:00
Ritik Kapoor
2d14111677
labels support in Gitness ( #2456 )
...
* fix: lint check
* fix: page overflow
* resolve comments
* resolve comments
* fix: space label addition
* resolve comments : added enum
* update: settings -> manage repository
* update: resolved comments
* update: bugbash comments
* fix: ref exact scope for individual label values call
* fix lint
* add hook to handle current scope in HC and fix scope filter
* update space delete
* prettier check
* update labelAPIs to use getConfig in base
* support for harness-code labels
* fix no result card
* resolved comments for types
* resolved comments
* added sorting in labels and handled edge cases
* fix: replacement of any value label
* fix: spacing in value filter search input
* add: update modal on click for spaces
* added search for values in filter
* fix: UI issues and some enhancements
* handle empty labels list in space and remove tooltip for PR labels
* added getConifg and any values for label filter
* change label value color to enum
* make value-id a pionter
* update ordering
* expose value id
* handle long values
* update search in label selector
* handle edge cases
* fix lint
* added FF : CODE_PULLREQ_LABELS and standalone flag to labels
* fix popover on scrolling and added strings
* fix checks
* fix checks
* swagger update
* labels support in Gitness
2024-08-20 21:05:11 +00:00
Atefeh Mohseni Ejiyeh
d2dcc9213b
feat: [CODE-2245] (Public Access) Enforce repo-review permission ( #2522 )
...
* updated permission with review wherever is needed
2024-08-20 16:33:59 +00:00
Darko Draskovic
0952d00a31
Add label scope to label activity ( #2545 )
...
* Add label scope to label activity
2024-08-20 13:54:43 +00:00
Kapil Garg
516fd5c1ca
add scm provider in lookup repo ( #2544 )
...
* fix: [CDE-244]: added validation for missing URL ref
* fix: [CDE-244]: added validation for missing URL ref
* fix: [CDE-244]: added validation for missing URL ref
* treat empty input as unknown repo type
* add scm provider in lookup repo
2024-08-20 13:16:32 +00:00
Darko Draskovic
cd5de8fe62
Fix pullreq count when applying label/value id filter ( #2525 )
...
* Add sanitize func related to label define/update
* Fix pullreq count when applying label/value id filter
2024-08-20 10:46:20 +00:00
Ansuman Satapathy
93af2c724e
feat: [CDE-192]: show user info for gitspace listing. ( #2531 )
...
* feat: [CDE-192]: added TODO to move to user int as key
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: added created by col for gitspace config
* feat: [CDE-192]: wire principal info cache
* feat: [CDE-192]: show user info for gitspace listing.
* feat: [CDE-192]: show user info for gitspace listing.
2024-08-20 09:34:10 +00:00
Atefeh Mohseni Ejiyeh
8d487921a6
feat: [CODE-2259]: update allowed repo states list for reposettings APIs ( #2538 )
2024-08-20 01:22:55 +00:00
Ansuman Satapathy
54113d4b06
fix: [CDE-192]: correctly set resources for infraprovider config. ( #2527 )
...
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: db show ids in error
* fix: [CDE-192]: correctly set resources for infraprovider config.
2024-08-19 07:48:37 +00:00
Enver Biševac
6d0db9512e
feat: instrumentation, intitial work ( #2475 )
...
* requested changes
* requested changes
* feat: instrumentation, intitial work
2024-08-18 22:04:34 +00:00
Ansuman Satapathy
eccb57fffe
fix: [CDE-192]: correctly set resources for infraprovider config. ( #2524 )
...
* fix: [CDE-192]: correctly set resources for infraprovider config.
2024-08-16 12:02:43 +00:00
Dhruv Dhruv
0f8eb568e2
feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator. ( #2521 )
...
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Addressing review comment.
* feat: [CDE-241]: Adding protocol to the gitspace port returned by the IDE and corresponding changes. Fixing gitspace instance's reference instead of value in the orchestrator.
2024-08-16 08:31:05 +00:00
Ansuman Satapathy
2f3b6a6f85
feat: [CDE-177]: Update listing page for CDE ( #2506 )
...
* feat: [CDE-207]: Fixed typecheck (#2513 )
* feat: [CDE-207]: remove currentUserInfo app prop
* Merge branch 'CDE-207-FixTypeCheck' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CDE-207-FixTypeCheck
* feat: [CDE-207]: remove currentUserInfo app prop
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* feat: [CDE-207]: Fixed typecheck
* fix lint errors (#2520 )
* add copyright header
* add copyright header
* fix lint errors
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: mark stuck actions as error
* feat: [CDE-192]: fix gitspace instance store
* Merge remote-tracking branch 'origin/main' into CDE-New
* add secret resolver in gitness (#2493 )
* rename identifier to space identifier
* update factory method
* remove access_key from gitspace table
* add access key and type to devcontainer exec
* add migration for gitspace access key ref
* fix error message for resolver factory
* update resolver interface
* add secret resolver in gitness
* feat: [CDE-192]: correctly update date and sync update
* Merge remote-tracking branch 'origin/main' into CDE-New
# Conflicts:
# app/api/controller/gitspace/action.go
# app/api/controller/gitspace/delete.go
* feat: [CDE-192]: correctly update dates for updated
* feat: [CDE-192]: handle empty inputparams
* feat: [CDE-192]: handle empty inputparams
* Merge remote-tracking branch 'origin/main' into CDE-New
* Merge remote-tracking branch 'origin/main' into CDE-New
* feat: [CDE-207]: Use SCM api hook (#2499 )
* feat: [CDE-207]: Updated Strings
* feat: [CDE-207]: Use SCM api hook
* feat: fixed string issue (#2476 )
* feat: [CDE-211]: fixed lint issues
* feat: [CDE-211]: fixed lint issues
* feat: fixed string issue
* feat: fixed string issue (#2474 )
* feat: fixed string issue
* add ssh identifier in map functions in gitness store
* add ssh fields in types
* feat: fixed GitspaceCodeRepoType in create payload
* feat: updated common hooks
* feat: update for listing
* feat: update for listing
* feat: removed cde folder
* feat: [CDE-177]: Update listing page for CDE
2024-08-16 06:46:02 +00:00
Atefeh Mohseni Ejiyeh
aa66cca792
fix: [CODE-2192]: (Swagger) Add Update default-branch API ( #2519 )
...
* add update default branch open api
2024-08-16 00:45:45 +00:00
Vistaar Juneja
e1ef7e9609
feat: [CI-13861]: support gitness provided variables for docker configuration ( #2517 )
...
* fix lint
* feat: [CDE-192]: implement overrides and honor env variables for CDE docker client
* remove default value of host from config and Dockerfile
* feat: [CI-13861]: support gitness provided variables for docker configuration
2024-08-15 12:15:31 +00:00
Ansuman Satapathy
7a3df78d8b
feat: [CDE-192]: correctly cache login info during first checkout ( #2515 )
...
* feat: [CDE-192]: correctly cache login info during first checkout
2024-08-15 05:33:11 +00:00
Marko Gaćeša
d089d04025
add space descendants data layer fn ( #2511 )
...
* add space descendants data layer fn
2024-08-14 16:49:30 +00:00
Darko Draskovic
c3c75d47aa
Refactor router and openapi related to labels to export setup funcs and params ( #2500 )
...
* Refactor router and openapi related to labels to export setup funcs and params
2024-08-14 14:06:04 +00:00
Dhruv Dhruv
dcf2068873
feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows. ( #2505 )
...
* feat: [CDE-192]: Updating instance state synchronously when calling orchestrator's trigger flows.
2024-08-14 11:57:19 +00:00
Dhruv Dhruv
236f4dc12a
feat: [CDE-240]: Drop gitspace data in down migration. ( #2503 )
...
* feat: [CDE-240]: Drop gitspace data in down migration.
2024-08-14 07:09:38 +00:00
Johannes Batzill
313c706be7
fix 0051_create_table_public_key.down migration ( #2494 )
2024-08-13 21:03:47 +00:00
Ansuman Satapathy
99d8d2d6a3
feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose ( #2496 )
...
* feat: [CDE-192]: make hosts and ports in gitspace infrastructure more verbose
2024-08-13 11:42:01 +00:00
Dhruv Dhruv
be471c2151
fix: [CDE-232]: Dropping FK constraint and correcting order of dropping tables. ( #2490 )
...
* fix: [CDE-232]: Dropping FK constraint and correcting order of dropping tables.
2024-08-13 06:52:16 +00:00
Vikyath Harekal
7b275f29e7
feat: [CDE-217]: fix migration ( #2489 )
...
* feat: [CDE-217]: fix migration
2024-08-13 06:43:53 +00:00
Dhruv Dhruv
1e3c910c07
feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec. ( #2472 )
...
* feat: [CDE-231]: Adding logs method to orchestrator and fixing logic to catch cmd execuction errors in devcontainer.Exec.
2024-08-13 04:27:04 +00:00
Ansuman Satapathy
f247c70311
feat: [CDE-192]: ignore deleted spaces during fetching gitspaces for account ( #2465 )
...
* feat: [CDE-192]: ignore deleted spaces during fetching gitspaces for account
2024-08-11 08:30:37 +00:00
Ansuman Satapathy
65b3cabf8f
feat: [CDE-192]: validate url scheme for repos for gitspaces ( #2464 )
...
* feat: [CDE-192]: validate url scheme for repos for gitspaces
2024-08-11 07:04:10 +00:00
Vikyath Harekal
9452c7b21a
feat: [CDE-217]: auto increment id ( #2463 )
...
* feat: [CDE-217]: auto increment id
2024-08-11 06:15:37 +00:00
Dhruv Dhruv
b1b4111271
fix: [CDE-229]: Updating code-repo mgmt inside gitspace container. ( #2460 )
...
* feat: [CDE-230]: Cleaning logs from command exec inside gitspace container.
* fix: [CDE-229]: Updating code-repo mgmt inside gitspace container.
2024-08-11 05:22:58 +00:00
Vikyath Harekal
86be5e2e8d
feat: [CDE-217]: Migration: Fix column and constraint ( #2458 )
...
* feat: [CDE-217]: address comments
* feat: [CDE-217]: Migration: Fix column and constraint
* feat: [CDE-217]: Migration: Fix column and constraint
2024-08-10 07:00:07 +00:00
Johannes Batzill
68af08e69e
feat: [CODE-2212]: Improve SSH Configuration ( #2446 )
2024-08-09 16:21:41 +00:00
Dhruv Dhruv
e1979c0b24
feat: [CDE-228]: Remove raw template params from the list of final params passed to the provider. ( #2452 )
...
* feat: [CDE-228]: Remove raw template params from the list of final params passed to the provider.
2024-08-09 15:49:11 +00:00
Ansuman Satapathy
a8ea70c96d
feat: [CDE-192]: use json library to serde ( #2451 )
...
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
* feat: [CDE-192]: use json library to serde
2024-08-09 14:23:31 +00:00
Darko Draskovic
d2fe8b7da0
Refactor OR pr label filter to AND filter ( #2433 )
...
* Refactor OR pr label filter to AND filter
2024-08-09 11:23:46 +00:00
Dhruv Dhruv
008aa5c17a
feat: [CDE-227]: Change SSH port for VSCode. ( #2445 )
...
* feat: [CDE-227]: Change SSH port for VSCode.
2024-08-09 08:31:14 +00:00
Dhruv Dhruv
e400a6df44
feat: [CDE-226]: Migrations to drop iprov_opentofu_template column. ( #2444 )
...
* feat: [CDE-226]: Migrations to drop iprov_opentofu_template column.
2024-08-09 07:34:07 +00:00
Ansuman Satapathy
2146145ff9
fix: [CDE-192]: fix incorrect resource reference ( #2441 )
...
* fix: [CDE-192]: fix incorrect resource reference
* fix: [CDE-192]: fix incorrect resource reference
2024-08-09 04:18:04 +00:00
Vikyath Harekal
1748e57189
feat: [CDE-212]: Add migration for new table ovh_task_details ( #2428 )
...
* feat: [CDE-212]: remove cascade delete
* feat: [CDE-212]: update index
* feat: [CDE-212]: update constraint
* feat: [CDE-212]: rename table to delegate_provision_details
* feat: [CDE-212]: Add migration for new table ovh_task_details
2024-08-08 10:50:05 +00:00
Ansuman Satapathy
c94fd94d77
feat: [CDE-192]: updated missing swagger ( #2430 )
...
* feat: [CDE-192]: updated missing swagger
* feat: [CDE-192]: updated missing swagger
2024-08-08 06:49:37 +00:00
Atefeh Mohseni Ejiyeh
cef6708a1e
Support Repo Migration APIs (create repo, import PRs, webhooks, and branch rules) ( #2158 )
...
* update migrator mdoule
* added formatted forbidden error helper
* delete work sum
* check branch rule identifier check
* match migrator data contract for webhooks
* self review
* self review
* self review, code cleaning
* resolve conflicts
* updated import api calls
* resolve conflicts
* lint
* bypass pre-receive block ref update on push if it's migrator push
* migrate controller and apis
* pull main
* add migrate routes to terminate path prefix apis
* move apis to migrate pkg
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into atmsn/import_meta
* import branch rules API
* wip import webhooks
2024-08-07 23:40:09 +00:00
Darko Draskovic
b1ac141460
Add list labels per pr to pr list ( #2372 ) ( #2387 )
...
* Add list labels per pr to pr list (#2372 )
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-07 15:32:30 +00:00
Marko Gaćeša
4b289c1232
feat: [CODE-2153]: add limits on PR text fields ( #2412 )
2024-08-07 10:07:41 +00:00
Ansuman Satapathy
9fc9a498e2
feat: [CDE-192]: modularize gitspace services ( #2404 )
...
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: resource identifier empty
* feat: [CDE-192]: address comments
* feat: [CDE-192]: split config and resource creation
* feat: [CDE-192]: split config and res creation
* feat: [CDE-192]: modularize gitspace services
2024-08-07 08:27:29 +00:00
Dhruv Dhruv
52bfdfb3f8
feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding. ( #2411 )
...
* feat: [CDE:220]: Adding util method to get working dir from repo name.
* feat: [CDE:220]: Addressing review comments.
* feat: [CDE-220]: Adding gitspace instance identifier to infra provisioning. Adding checks to ensure infra status is always same as required. Adding infra status type error enum. Adding util method to derive gitspace container name. Cleaning parameters to use values instead of references. Refactoring fields for infra struct to make them more explicit. Adding config to read agent port and pass it on to infra provider for provisioning and finding.
2024-08-07 02:29:10 +00:00
Ansuman Satapathy
ce8b17bb93
feat: [CDE-192]: handle docker-host for non darwin internal url ( #2406 )
...
* feat: [CDE-192]: handle docker-host for non darwin internal url
* feat: [CDE-192]: handle docker-host for non darwin internal url
2024-08-06 11:10:42 +00:00
Johannes Batzill
8e7398d362
Inject X-Allow-Public-Access Header For UI ( #2300 )
2024-08-05 23:39:16 +00:00
Ansuman Satapathy
6338af6336
feat: [CDE-192]: modularize gitspace services ( #2396 )
...
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: modularize gitspace services
2024-08-05 10:00:48 +00:00
Dhruv Dhruv
34a07f4d8b
feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows. ( #2392 )
...
* Addressing review comments and fixing lint issues.
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: modularize gitspace services
* feat: [CDE-192]: Adding infra template and provisioned stores and using those in infra provisioning flows.
2024-08-05 07:48:47 +00:00
Darko Draskovic
497c426a01
Add list labels per pr to pr list ( #2372 )
...
* Refactor to pullreq(s) backfill funcs
* Add list labels per pr to pr list
2024-08-02 11:57:09 +00:00
Darko Draskovic
bb77a835cf
Add pullreq label activities ( #2296 )
...
* Add colors to label activity info
* Refactor FindValueByLabelID query
* Simplify more label activity assign logic
* Simplify label activity assign logic
* Add pullreq label activities
2024-08-01 19:20:54 +00:00