Ansuman Satapathy
7ff4fd0186
fix: [CDE-202]: use correct resource ID ( #2645 )
...
* fix: [CDE-202]: use correct resource ID
2024-09-03 19:15:30 +00:00
Ansuman Satapathy
f8f54c43c7
feat: [CDE-202]: remove extra spaceID ( #2641 )
...
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
* feat: [CDE-202]: remove extra spaceID
2024-09-03 14:07:52 +00:00
Ansuman Satapathy
ec7eca7491
feat: [CDE-202]: infra provider resource cache ( #2639 )
...
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
2024-09-03 11:58:48 +00:00
Ansuman Satapathy
5cfd41ae1a
feat: [CDE-202]: infra provider resource cache ( #2637 )
...
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
* feat: [CDE-202]: infra provider resource cache
2024-09-03 09:59:29 +00:00
Vikyath Harekal
636f6a9847
feat: [CDE-284]: Return infra by unmarshalling it from meetadata ( #2638 )
...
* feat: [CDE-284]: fix lint
* feat: [CDE-284]: Return infra by unmarshalling it from meetadata
2024-09-03 09:44:04 +00:00
Akhilesh Pandey
ae16dfc312
feat: [CODE-2232]: update conflict clause ( #2608 )
...
* feat: [CODE-2232]: lint
* feat: [CODE-2232]: remove migrations
* feat: [CODE-1941]: create table usergroups
* feat: [CODE-1941]: table migrations
* feat: [CODE-2232]: lower conflict clause
* feat: [CODE-2232]: lower conflict clause
* feat: [CODE-2232]: update create and update timestamps
* feat: [CODE-2232]: update conflict clause
2024-09-02 14:43:48 +00:00
Dhruv Dhruv
38023da2db
feat: [CDE-286]: Moving user and git mgmt to respective services. ( #2634 )
...
* feat: [CDE-286]: Moving user and git mgmt to respective services.
2024-09-02 10:27:27 +00:00
Marko Gaćeša
a2d2ba07aa
add user filters to the pull request list API ( #2624 )
...
* add user filters to the pull request list API
2024-09-02 09:00:50 +00:00
Marko Gaćeša
ccf267f1cc
update pull request edited field after successful merge ( #2625 )
...
* update pull request edited field after successful merge
2024-09-02 08:59:50 +00:00
Ansuman Satapathy
3b0c20ae53
fix: [CDE-244]: set user details automatically ( #2632 )
...
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
* fix: [CDE-244]: set user details automatically
2024-09-02 07:16:07 +00:00
Arvind Choudhary
77e93d587c
[AH-310]: temp push; need to check ( #2607 )
...
* [AH-310]: Updated secret flows
* [AH-310]: Fixed build issues
* [AH-310]: temp push; need to check
2024-08-29 19:42:22 +00:00
Karan Saraswat
57368eba55
fix: [CODE-2316]: Send empty list in case of no repos present in space ( #2613 )
...
* fix: [CODE-2316]: Send empty list in case of no repos present in space
2024-08-29 19:34:10 +00:00
Dhruv Dhruv
d50945fd60
feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs. ( #2616 )
...
* feat: [CDE-278]: Ensure infra is in provisioned state before triggering stop or delete, or before fectching logs.
2024-08-29 13:38:54 +00:00
Marko Gaćeša
75042e9293
add pullreq list API for spaces ( #2606 )
...
* moved the service to the existing pullreq package
* add pullreq list API for spaces
2024-08-29 11:49:33 +00:00
Ansuman Satapathy
74e00cbcdf
feat: [CDE-244]: API for infraprovider template ( #2609 )
...
* feat: [CDE-244]: API for infraprovider template
2024-08-29 04:45:29 +00:00
Marko Gaćeša
6b12b45950
add log entries for rejected merges ( #2604 )
...
* add log entries for rejected merges
2024-08-28 12:51:42 +00:00
Karan Saraswat
55d2b1dee3
feat: [CODE-2297]: add dry run param for delete branch API ( #2590 )
...
* Merge branch 'main' of https://git0.harness.io/l7B_kbSEQD2wjrM7PShm5w/PROD/Harness_Commons/gitness into CODE-2297
* updated comment
* worked on review comments and added to openapi spec
* return empty violations array when dry_run = true
* feat: [CODE-2297]: add dry run param for delete branch API
2024-08-28 08:39:04 +00:00
Kapil Garg
1697d15f8e
create ssh directory in manager_user ( #2598 )
...
* set user directory perm to 755
* set userpass in case of ssh
* fix ssh server script
* change access type if condition
* create ssh directory in manager_user
2024-08-27 18:06:50 +00:00
Darko Draskovic
0346a91cda
Fix label value define permissions ( #2596 )
...
* Simplify if test and keep check- prefix
* Fix label value define permissions
2024-08-27 17:12:42 +00:00
Kapil Garg
7af28da479
add credentials in getfilecontent ( #2591 )
...
* add credentials in getfilecontent
2024-08-26 19:23:28 +00:00
Akhilesh Pandey
ffd999eaff
feat: [CODE-1941]: update db migration serials ( #2588 )
...
* feat: [CODE-1941]: update db migration serials
2024-08-26 15:52:11 +00:00
Akhilesh Pandey
0578be8afe
feat: [CODE-1941]: user group changes ( #2134 )
...
* feat: [CODE-1941]: remove usergroup filter from request
* feat: [CODE-1941]: decrement page for harness-core
* feat: [CODE-1941]: update pagination request
* feat: [CODE-1941]: change interface from find to list
* feat: [CODE-1941]: change reviewer add permissions
* feat: [CODE-1941]: comments
* feat: [CODE-1941]: comments
* fix wire issues
* feat: [CODE-1941]: remove users from the db table usergroups
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: annotate errors
* feat: [CODE-1941]: sql style
* feat: [CODE-1941]: revert common.go change for parse limit
* feat: [CODE-1941]: move usergroup listing to space level
* feat: [CODE-1941]: update usergroup listing and update delete to push permission
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: Update combined listing
* feat: [CODE-1941]: format
* feat: [CODE-1941]: rebase
* feat: [CODE-1941]: separate db struct for usergroup.go
* feat: [CODE-1941]: change usergroup filter to default query and review comments
* feat: [CODE-1941]: change usergroup filter to default
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: change return type for search service interface
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search Service interface and wire changes
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change - codeformat
* feat: [CODE-1941]: Search UserGroups Handler change
* feat: [CODE-1941]: Big change: New LOGIC for UserGroup Reviewers
* feat: [CODE-1941]: DB changes
* feat: [CODE-1941]: listing api
* feat: [CODE-1941]: mapping methods
* feat: [CODE-1941]: list method for pullreq_reviewers db
* feat: [CODE-1941]: database queries
* feat: [CODE-1941]: database queries
* feat: [CODE-2058]: dbstore changes
* feat: [CODE-1941]: Controller and Database code
* feat: [CODE-1941]: update reviewer_add.go code
* feat: [CODE-1941]: update reviewers and usergroup db migrations
* feat: [CODE-1941]: Update API ops
* feat: [CODE-1941]: Update DB ops for reviewers
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: db migration update
* feat: [CODE-1941]: code comments
* feat: [CODE-1941]: update migration numbering
* feat: [CODE-1941]: Add postgresql migrations
* feat: [CODE-1941]: Update DB ops for reviewers
feat: [CODE-1941]: Update API ops
feat: [CODE-1941]: update reviewers and usergroup db migrations
feat: [CODE-1941]: update reviewer_add.go code
feat: [CODE-1941]: break pr
feat: [CODE-1941]: break pr
feat: [CODE-1941]: Update migration numbering
* feat: [CODE-1941]: create table usergroups
* feat: [CODE-1941]: table migrations
* feat: [CODE-1941]: user group changes
2024-08-26 15:35:27 +00:00
Marko Gaćeša
34292b022e
fix space path handling ( #2577 )
...
* fix space path handling
2024-08-26 13:13:25 +00:00
Ansuman Satapathy
fde5e2c93b
fix: [CDE-244]: infra status stopped added ( #2587 )
...
* Merge remote-tracking branch 'origin/main' into vm_suspend_gitness
* fix: [CDE-244]: infra status stopped added
* fix: [CDE-244]: infra status stopped added
2024-08-26 12:27:27 +00:00
Kapil Garg
b79d217d8f
add missing fields in scm types ( #2586 )
...
* add missing fields in scm types
2024-08-26 10:31:00 +00:00
Kapil Garg
e888f8c481
add methods in gitness scm ( #2540 )
...
* fix lint issue
* fix lint issue
* add credentials in methods
* add methods in gitness scm
2024-08-26 09:11:45 +00:00
Dhruv Dhruv
01e26bdb82
feat: [CDE-263]: Changes to track Gitspaces usage across installations. ( #2584 )
...
* feat: [CDE-263]: Changes to track Gitspaces usage across installations.
2024-08-26 08:24:06 +00:00
Darko Draskovic
af6e94ba2c
Use repo edit and repo view permissions for space label handling ( #2569 )
...
* Use repo edit and repo view permissions for space label handling
2024-08-23 17:03:52 +00:00
Shivakumar Ningappa
25d91247c2
feat: [AH-260]: add migration scripts for AR ( #2572 )
...
* feat: [AH-260]: add migration scripts for AR
* feat: [AH-260]: add migration scripts for AR
* feat: [AH-260]: add migration scripts for AR
* Updated drop queries
* feat: [AH-260]: add migration scripts for AR
2024-08-22 21:41:22 +00:00
Marko Gaćeša
b10a30ca8f
change the user used for the audit call in repo import ( #2566 )
...
* change the user used for the audit call in repo import
2024-08-22 14:10:48 +00:00
Karan Saraswat
4ebc0db9b3
feat: [CODE-2274]: Add repo description and UI url in the webhook emitted info ( #2555 )
...
* feat: [CODE-2274]: Add repo description and UI url in the webhook emitted info
2024-08-22 08:00:22 +00:00
Dhruv Dhruv
98e5f7c498
feat: [CDE-256]: Making gitspace delete async. ( #2563 )
...
* feat: [CDE-256]: Making gitspace delete async.
2024-08-22 07:36:05 +00:00
Tudor Macari
40ee05ca11
feat: [AH-309]: Artifact Registry integration ( #2318 )
2024-08-22 00:28:17 +00:00
Vikyath Harekal
57e7b7247c
feat: [CDE-242]: Find flow for ovh ( #2532 )
...
* feat: [CDE-242]: refactor
* feat: [CDE-242]: Find flow for ovh
2024-08-21 04:40:56 +00:00
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
Darko Draskovic
f392fb1015
Add restricted by query label count when using query and sanitize empty label (value) text ( #2335 )
...
* Add restricted by query label count when using query and sanitize empty label (value) text
2024-08-01 15:38:21 +00:00
Dhruv Dhruv
9d5071b45c
feat: [CDE-203]: Making infra processing async. ( #2325 )
...
* Cleaning the flow around gitspace instance update.
* Renaming params and param schema types.
* Correcting comments.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
* feat: [CDE-203]: Making infra processing async.
2024-08-01 10:01:31 +00:00
Shashwat Sachan
1e6330a589
feat: [CDE-195]: gitness use repo ref ( #2336 )
...
* feat: [CDE-195]: gitness use repo ref
* feat: [CDE-195]: UI changes for type and ref.
* feat: [CDE-195]: gitness use repo ref
2024-07-31 14:30:09 +00:00
Darko Draskovic
0cb3c8a4cf
Add render pagination and incremental search to labels ( #2311 )
...
* Remove unused upsert method from label value store
* Add render pagination and incremental search to labels
2024-07-30 15:43:31 +00:00
Kapil Garg
3edc1db615
feat: [CDE-195]: Add factory constructor method to create factory with providers map ( #2323 )
...
* update method name
* feat: [CDE-195]: Add factory constructor method to create factory with providers map
2024-07-30 10:49:24 +00:00
Ansuman Satapathy
a3203ef284
feat: [CDE-195]: missing repo type is treated as unknown for gitspaces ( #2317 )
...
* feat: [CDE-195]: missing repo type is treated as unknown for gitspaces
2024-07-30 08:14:49 +00:00
Ansuman Satapathy
42af216dc7
feat: [CDE-195]: use dependency-injection for scm providers for gitspaces. ( #2308 )
...
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
* feat: [CDE-195]: use dependency-injection for scm providers for gitspaces.
2024-07-30 07:02:59 +00:00
Ansuman Satapathy
f7928f1f77
feat: [CDE-195]: autoset git user config for internal repos ( #2304 )
...
* feat: [CDE-195]: autoset git user config for internal repos
2024-07-29 06:52:07 +00:00
Vistaar Juneja
722caeddf8
fix: [CI-13599]: use latest version of docker ( #2288 )
...
* fix merge conflicts
* fix pr checks
* fix go mod tidy
* fix: [CI-13599]: use latest version of docker
2024-07-26 13:04:45 +00:00
Ansuman Satapathy
b6034a25aa
feat: [CDE-195]: read devcontainer.json directly for gitness ( #2294 )
...
* feat: [CDE-195]: Run VS Code Web as non-root user.
* feat: [CDE-195]: read devcontainer.json directly for gitness
2024-07-26 12:44:36 +00:00
Dhruv Dhruv
9232029c74
WIP ( #2284 )
...
* feat: [CDE-194]: Reverting docker port range changes.
* feat: [CDE-194]: Removing extra types.
* feat: [CDE-194]: Restructuring code around port publishing and forwarding.
* WIP
* WIP
* WIP
* WIP
2024-07-26 06:26:22 +00:00
Darko Draskovic
81fcd524c8
Add label feature ( #2073 )
...
* Address PR comments
* Add list label from ancestor scopes query param
* Add label feature
2024-07-25 14:57:56 +00:00
Vistaar Juneja
d36bf54f99
fix: get pipelines working with rancher desktop ( #2286 )
...
* fix: get pipelines working with rancher desktop
2024-07-25 12:49:52 +00:00
Marko Gaćeša
c4b15ab5a9
fix build ( #2287 )
...
* fix build
2024-07-25 11:36:53 +00:00
Marko Gaćeša
7b17cc7831
add pr-updated webhook ( #2247 )
...
* add pr-updated webhook
2024-07-25 09:56:41 +00:00
Marko Gaćeša
d687080cf4
pr reviewer removal ( #2269 )
...
* add reviewer principal ID to activity payload
* pr reviewer removal
2024-07-25 09:55:41 +00:00